diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..58039a73d --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,54 @@ +version: "{build}" + +stack: node 16.8.0 + +environment: + matrix: + # For regular jobs, such as push, pr and etc. + - job_name: Linux + appveyor_build_worker_image: ubuntu1804 + GOARCH: amd64 + - job_name: MacOS + appveyor_build_worker_image: macos + GOARCH: amd64 + +for: + - # Linux and MacOS + skip_tags: true + matrix: + only: + - job_name: Linux + - job_name: MacOS + + install: + - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.42.1 + - make dep + - sh: ci_scripts/create-ip-aliases.sh + + before_build: + - make check + + build_script: + - make build + + - # Windows + skip_tags: true + matrix: + only: + - job_name: Windows + + environment: + matrix: + - GOARCH: amd64 + + install: + - choco install make + - go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0 + - make dep + + before_build: + - set GO111MODULE=on + - make check-windows-appveyor + + build_script: + - make build diff --git a/.dockerignore b/.dockerignore index e589eea63..c08552928 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -.git bin skywire ci_scripts diff --git a/.gitignore b/.gitignore index 96ef84180..808d3ffb4 100644 --- a/.gitignore +++ b/.gitignore @@ -37,10 +37,19 @@ pkg/visor/foo/ go.mod-e # goreleaser and frontend builds -dist - -# release *.deb - +/packages +/deb +/sysroot static/skywire-manager-src/dist/* -/visor/ +/visor +/dist-linux +/dist +Char +/scripts/mac_installer/IconsSkycoin.tar.gz +/scripts/mac_installer/icon_128x128.png +/scripts/mac_installer/icon_128x128@2x.png +/mac_build +/SkywireInstaller*.pkg +*.dmg +/scripts/mac_installer/icon.iconset/ diff --git a/.golangci.yml b/.golangci.yml index b1e5a2eef..f83a369b7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -151,7 +151,7 @@ linters-settings: linters: enable: - - golint + - revive - goimports - varcheck - unparam diff --git a/.goreleaser.yml b/.goreleaser.yml index 10abf3d2a..0023daa3e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -26,16 +26,15 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/skywire-visor/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} -X github.com/skycoin/skywire/pkg/visor.BuildTag=skybian + - id: skywire-cli binary: skywire-cli goos: @@ -47,16 +46,15 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/skywire-cli/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + - id: skychat binary: apps/skychat goos: @@ -68,16 +66,15 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/apps/skychat/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + - id: skysocks binary: apps/skysocks goos: @@ -89,16 +86,14 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/apps/skysocks/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} - id: skysocks-client binary: apps/skysocks-client goos: @@ -110,16 +105,14 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/apps/skysocks-client/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} - id: vpn-server binary: apps/vpn-server goos: @@ -131,16 +124,14 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/apps/vpn-server/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} - id: vpn-client binary: apps/vpn-client goos: @@ -152,16 +143,14 @@ builds: - arm64 - arm goarm: - - 7 + - 6 ignore: - goos: darwin goarch: 386 - - goos: darwin - goarch: arm64 env: - CGO_ENABLED=0 main: ./cmd/apps/vpn-client/ - ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version={{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} + ldflags: -s -w -X github.com/skycoin/dmsg/buildinfo.version=v{{.Version}} -X github.com/skycoin/dmsg/buildinfo.commit={{.ShortCommit}} -X github.com/skycoin/dmsg/buildinfo.date={{.Date}} archives: - format: tar.gz wrap_in_directory: false @@ -174,5 +163,5 @@ changelog: sort: asc filters: exclude: - - '^docs:' - - '^test:' + - '^docs:' + - '^test:' diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e041262b2..000000000 --- a/.travis.yml +++ /dev/null @@ -1,56 +0,0 @@ -sudo: required -language: go -go: - # - "1.14.x" At minimum the code should run make check on the latest two go versions in the default linux environment provided by Travis. - - "1.14.x" - -dist: xenial - -services: - - docker - -addons: - apt: - packages: - # For building MUSL static builds on Linux. - - musl-tools - -matrix: - include: - - os: linux - - os: osx - # Do not start osx build for PR - if: type != pull_request - osx_image: xcode8.3 - -before_install: - - nvm install 10.16 - -install: - - go get -u github.com/FiloSottile/vendorcheck - - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.31.0 - - make tidy - -before_script: - - ci_scripts/create-ip-aliases.sh - -script: - - make lint # TODO(evanlinjin): Temporary due to https://github.com/golangci/golangci-lint/issues/827 - - make test - - make test-no-ci - - make install-deps-ui - - make lint-ui - - make build-ui - -deploy: - - provider: script - script: bash ./ci_scripts/docker-push.sh -t "$TRAVIS_BRANCH" -p - on: - branch: master - condition: $TRAVIS_PULL_REQUEST = false - - provider: script - script: bash ./ci_scripts/docker-push.sh -t "$TRAVIS_BRANCH" -p - on: - branch: develop - condition: $TRAVIS_PULL_REQUEST = false - diff --git a/CHANGELOG.md b/CHANGELOG.md index a82107520..60cb0ce82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.5.0 + +### Changed + +- config updated to `v1.1.0` +- removed public_trusted_visor field from root section +- removed trusted_visors field from transport section +- removed authorization_file field from dmsgpty section +- changed default urls to newer shortned ones +- changed proxy_discovery_addr field to service_discovery +- updated UI +- removed `--public` flag from `skywire-cli visor add-tp` command +- removed `skywire-cli visor gen-config` and `skywire-cli visor update-config` subcommands. +- replaced stcp field to skywire-tcp in config and comments +- replaced local_address field to listening_address in config +- replaced port field to dmsg_port in config +- updated visor health status checks, no longer querying multiple external services endpoints. + + +### Added + +- added persistent_transports field to the config and UI +- added stun_servers field to the config +- added is_public field to root section +- added public_autoconnect field to transport section +- added transport_setup_nodes field to transport section +- added MinHops field to V1Routing section of config +- added `skywire-cli config` subcommand +- added connection_duration field to `/api/visor/{pk}/apps/vpn-client/connections` + ## 0.2.1 - 2020.04.07 ### Changed diff --git a/Makefile b/Makefile index 49ad172a2..3d979d23b 100644 --- a/Makefile +++ b/Makefile @@ -1,77 +1,62 @@ .DEFAULT_GOAL := help -.PHONY : check lint lint-extra install-linters dep test +.PHONY : check lint install-linters dep test .PHONY : build clean install format bin .PHONY : host-apps bin -.PHONY : run stop config .PHONY : docker-image docker-clean docker-network .PHONY : docker-apps docker-bin docker-volume .PHONY : docker-run docker-stop +SHELL := /bin/bash VERSION := $(shell git describe) #VERSION := v0.1.0 # for debugging updater RFC_3339 := "+%Y-%m-%dT%H:%M:%SZ" DATE := $(shell date -u $(RFC_3339)) COMMIT := $(shell git rev-list -1 HEAD) +BRANCH := latest PROJECT_BASE := github.com/skycoin/skywire DMSG_BASE := github.com/skycoin/dmsg OPTS?=GO111MODULE=on STATIC_OPTS?= $(OPTS) CC=musl-gcc MANAGER_UI_DIR = static/skywire-manager-src -DOCKER_IMAGE?=skywire-runner # docker image to use for running skywire-visor.`golang`, `buildpack-deps:stretch-scm` is OK too -DOCKER_NETWORK?=SKYNET -DOCKER_NODE?=SKY01 -DOCKER_OPTS?=GO111MODULE=on GOOS=linux # go options for compiling for docker container +GO_BUILDER_VERSION=v1.17 +MANAGER_UI_BUILT_DIR=cmd/skywire-visor/static -TEST_OPTS_BASE:=-cover -timeout=5m -mod=vendor +TEST_OPTS:=-cover -timeout=5m -mod=vendor -RACE_FLAG:=-race GOARCH:=$(shell go env GOARCH) ifneq (,$(findstring 64,$(GOARCH))) - TEST_OPTS_BASE:=$(TEST_OPTS_BASE) $(RACE_FLAG) + TEST_OPTS:=$(TEST_OPTS) -race endif -TEST_OPTS_NOCI:=-$(TEST_OPTS_BASE) -v -TEST_OPTS:=$(TEST_OPTS_BASE) -tags no_ci - - BUILDINFO_PATH := $(DMSG_BASE)/buildinfo BUILDINFO_VERSION := -X $(BUILDINFO_PATH).version=$(VERSION) BUILDINFO_DATE := -X $(BUILDINFO_PATH).date=$(DATE) BUILDINFO_COMMIT := -X $(BUILDINFO_PATH).commit=$(COMMIT) +BUILDTAGINFO := -X $(PROJECT_BASE)/pkg/visor.BuildTag=$(BUILDTAG) -BUILDINFO?=$(BUILDINFO_VERSION) $(BUILDINFO_DATE) $(BUILDINFO_COMMIT) +BUILDINFO?=$(BUILDINFO_VERSION) $(BUILDINFO_DATE) $(BUILDINFO_COMMIT) $(BUILDTAGINFO) -BUILD_OPTS?="-ldflags=$(BUILDINFO)" -mod=vendor +BUILD_OPTS?="-ldflags=$(BUILDINFO)" -mod=vendor $(RACE_FLAG) BUILD_OPTS_DEPLOY?="-ldflags=$(BUILDINFO) -w -s" check: lint test ## Run linters and tests -build: host-apps bin ## Build apps and binaries. `go build` with ${OPTS} - -build-static: host-apps-static bin-static ## Build apps and binaries. `go build` with ${OPTS} +build: host-apps bin ## Install dependencies, build apps and binaries. `go build` with ${OPTS} -run: stop build config ## Run skywire-visor on host - ./skywire-visor skywire.json +build-systray: host-apps-systray bin-systray ## Install dependencies, build apps and binaries `go build` with ${OPTS}, with CGO and systray -stop: ## Stop running skywire-visor on host - -bash -c "kill $$(ps aux |grep '[s]kywire-visor' |awk '{print $$2}')" +build-static: host-apps-static bin-static ## Build apps and binaries. `go build` with ${OPTS} -config: ## Generate skywire.json - -./skywire-cli visor gen-config -o ./skywire.json -r +installer: mac-installer ## Builds MacOS installer for skywire-visor install-generate: ## Installs required execs for go generate. ${OPTS} go install github.com/mjibson/esc ${OPTS} go install github.com/vektra/mockery/cmd/mockery - # If the following does not work, you may need to run: - # git config --global url.git@github.com:.insteadOf https://github.com/ - # Source: https://stackoverflow.com/questions/27500861/whats-the-proper-way-to-go-get-a-private-repository - # We are using 'go get' instead of 'go install' here, because we don't have a git tag in which 'readmegen' is already implemented. - ${OPTS} go get -u github.com/SkycoinPro/skywire-services/cmd/readmegen generate: ## Generate mocks and config README's go generate ./... @@ -83,64 +68,40 @@ clean: ## Clean project: remove created binaries and apps install: ## Install `skywire-visor`, `skywire-cli`, `setup-node` ${OPTS} go install ${BUILD_OPTS} ./cmd/skywire-visor ./cmd/skywire-cli ./cmd/setup-node - install-static: ## Install `skywire-visor`, `skywire-cli`, `setup-node` ${STATIC_OPTS} go install -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' ./cmd/skywire-visor ./cmd/skywire-cli ./cmd/setup-node -rerun: stop - ${OPTS} go build -race -o ./skywire-visor ./cmd/skywire-visor - -./skywire-cli visor gen-config -o ./skywire.json -r - perl -pi -e 's/localhost//g' ./skywire.json - ./skywire-visor skywire.json - lint: ## Run linters. Use make install-linters first ${OPTS} golangci-lint run -c .golangci.yml ./... - # The govet version in golangci-lint is out of date and has spurious warnings, run it separately - -lint-extra: ## Run linters with extra checks. - ${OPTS} golangci-lint run --no-config --enable-all ./... - # The govet version in golangci-lint is out of date and has spurious warnings, run it separately - ${OPTS} go vet -all ./... - -vendorcheck: ## Run vendorcheck - GO111MODULE=off vendorcheck ./internal/... - GO111MODULE=off vendorcheck ./pkg/... - GO111MODULE=off vendorcheck ./cmd/apps/... - GO111MODULE=off vendorcheck ./cmd/setup-node/... - GO111MODULE=off vendorcheck ./cmd/skywire-cli/... - GO111MODULE=off vendorcheck ./cmd/skywire-visor/... test: ## Run tests -go clean -testcache &>/dev/null ${OPTS} go test ${TEST_OPTS} ./internal/... ${OPTS} go test ${TEST_OPTS} ./pkg/... -test-no-ci: ## Run no_ci tests - -go clean -testcache - ${OPTS} go test ${TEST_OPTS_NOCI} ./pkg/transport/... -run "TCP|PubKeyTable" - install-linters: ## Install linters - VERSION=latest ./ci_scripts/install-golangci-lint.sh - # GO111MODULE=off go get -u github.com/FiloSottile/vendorcheck - # For some reason this install method is not recommended, see https://github.com/golangci/golangci-lint#install - # However, they suggest `curl ... | bash` which we should not do - # ${OPTS} go get -u github.com/golangci/golangci-lint/cmd/golangci-lint ${OPTS} go get -u golang.org/x/tools/cmd/goimports - ${OPTS} go get -u github.com/incu6us/goimports-reviser + ${OPTS} go get -u github.com/incu6us/goimports-reviser/v2 tidy: ## Tidies and vendors dependencies. ${OPTS} go mod tidy -v - ${OPTS} go mod vendor -v format: tidy ## Formats the code. Must have goimports and goimports-reviser installed (use make install-linters). ${OPTS} goimports -w -local ${PROJECT_BASE} ./pkg ${OPTS} goimports -w -local ${PROJECT_BASE} ./cmd ${OPTS} goimports -w -local ${PROJECT_BASE} ./internal - find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports-reviser -project-name ${PROJECT_BASE} -file-path {} \; + find . -type f -name '*.go' -not -path "./.git/*" -not -path "./vendor/*" -exec goimports-reviser -project-name ${PROJECT_BASE} -file-path {} \; -dep: ## Sorts dependencies +dep: tidy ## Sorts dependencies ${OPTS} go mod vendor -v +snapshot: + goreleaser --snapshot --skip-publish --rm-dist + +snapshot-clean: ## Cleans snapshot / release + rm -rf ./dist + host-apps: ## Build app ${OPTS} go build ${BUILD_OPTS} -o ./apps/skychat ./cmd/apps/skychat ${OPTS} go build ${BUILD_OPTS} -o ./apps/skysocks ./cmd/apps/skysocks @@ -148,6 +109,13 @@ host-apps: ## Build app ${OPTS} go build ${BUILD_OPTS} -o ./apps/vpn-server ./cmd/apps/vpn-server ${OPTS} go build ${BUILD_OPTS} -o ./apps/vpn-client ./cmd/apps/vpn-client +host-apps-systray: ## Build app + ${OPTS} go build ${BUILD_OPTS} -o ./apps/skychat ./cmd/apps/skychat + ${OPTS} go build ${BUILD_OPTS} -o ./apps/skysocks ./cmd/apps/skysocks + ${OPTS} go build ${BUILD_OPTS} -o ./apps/skysocks-client ./cmd/apps/skysocks-client + ${OPTS} go build ${BUILD_OPTS} -tags systray -o ./apps/vpn-server ./cmd/apps/vpn-server + ${OPTS} go build ${BUILD_OPTS} -tags systray -o ./apps/vpn-client ./cmd/apps/vpn-client + # Static Apps host-apps-static: ## Build app ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/skychat ./cmd/apps/skychat @@ -162,31 +130,16 @@ bin: ## Build `skywire-visor`, `skywire-cli` ${OPTS} go build ${BUILD_OPTS} -o ./skywire-cli ./cmd/skywire-cli ${OPTS} go build ${BUILD_OPTS} -o ./setup-node ./cmd/setup-node -# Static Bin -bin-static: ## Build `skywire-visor`, `skywire-cli` - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./skywire-visor ./cmd/skywire-visor - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./skywire-cli ./cmd/skywire-cli - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./setup-node ./cmd/setup-node - -release: ## Build `skywire-visor`, `skywire-cli` and apps without -race flag - ${OPTS} go build ${BUILD_OPTS} -o ./skywire-visor ./cmd/skywire-visor - ${OPTS} go build ${BUILD_OPTS} -o ./skywire-cli ./cmd/skywire-cli +bin-systray: + ${OPTS} go build ${BUILD_OPTS} -tags systray -o ./skywire-visor ./cmd/skywire-visor + ${OPTS} go build ${BUILD_OPTS} -tags systray -o ./skywire-cli ./cmd/skywire-cli ${OPTS} go build ${BUILD_OPTS} -o ./setup-node ./cmd/setup-node - ${OPTS} go build ${BUILD_OPTS} -o ./apps/skychat ./cmd/apps/skychat - ${OPTS} go build ${BUILD_OPTS} -o ./apps/skysocks ./cmd/apps/skysocks - ${OPTS} go build ${BUILD_OPTS} -o ./apps/skysocks-client ./cmd/apps/skysocks-client - ${OPTS} go build ${BUILD_OPTS} -o ./apps/vpn-server ./cmd/apps/vpn-server - ${OPTS} go build ${BUILD_OPTS} -o ./apps/vpn-client ./cmd/apps/vpn-client -release-static: ## Build `skywire-visor`, `skywire-cli` and apps without -race flag +# Static Bin +bin-static: ## Build `skywire-visor`, `skywire-cli` ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./skywire-visor ./cmd/skywire-visor ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./skywire-cli ./cmd/skywire-cli ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./setup-node ./cmd/setup-node - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/skychat ./cmd/apps/skychat - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/skysocks ./cmd/apps/skysocks - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/skysocks-client ./cmd/apps/skysocks-client - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/vpn-server ./cmd/apps/vpn-server - ${STATIC_OPTS} go build -trimpath --ldflags '-linkmode external -extldflags "-static" -buildid=' -o ./apps/vpn-client ./cmd/apps/vpn-client build-deploy: ## Build for deployment Docker images ${OPTS} go build -tags netgo ${BUILD_OPTS_DEPLOY} -o /release/skywire-visor ./cmd/skywire-visor @@ -195,83 +148,44 @@ build-deploy: ## Build for deployment Docker images ${OPTS} go build ${BUILD_OPTS_DEPLOY} -o /release/apps/skysocks ./cmd/apps/skysocks ${OPTS} go build ${BUILD_OPTS_DEPLOY} -o /release/apps/skysocks-client ./cmd/apps/skysocks-client -build-deploy-static: ## Build for deployment Docker images - ${STATIC_OPTS} go build -tags netgo -trimpath --ldflags '-w -s -linkmode external -extldflags "-static" -buildid=' -o /release/skywire-visor ./cmd/skywire-visor - ${STATIC_OPTS} go build -trimpath --ldflags '-w -s -linkmode external -extldflags "-static" -buildid=' -o /release/skywire-cli ./cmd/skywire-cli - ${STATIC_OPTS} go build -trimpath --ldflags '-w -s -linkmode external -extldflags "-static" -buildid=' -o /release/apps/skychat ./cmd/apps/skychat - ${STATIC_OPTS} go build -trimpath --ldflags '-w -s -linkmode external -extldflags "-static" -buildid=' -o /release/apps/skysocks ./cmd/apps/skysocks - ${STATIC_OPTS} go build -trimpath --ldflags '-w -s -linkmode external -extldflags "-static" -buildid=' -o /release/apps/skysocks-client ./cmd/apps/skysocks-client - -github-release: ## Create a GitHub release +github-release: goreleaser --rm-dist +build-docker: ## Build docker image + ./ci_scripts/docker-push.sh -t ${BRANCH} -b + # Manager UI install-deps-ui: ## Install the UI dependencies cd $(MANAGER_UI_DIR) && npm ci +run: ## Run skywire visor with skywire-config.json, and start a browser if running a hypervisor + ./skywire-visor -c ./skywire-config.json + lint-ui: ## Lint the UI code cd $(MANAGER_UI_DIR) && npm run lint build-ui: install-deps-ui ## Builds the UI cd $(MANAGER_UI_DIR) && npm run build mkdir -p ${PWD}/bin - ${OPTS} GOBIN=${PWD}/bin go get github.com/rakyll/statik - ${PWD}/bin/statik -src=$(MANAGER_UI_DIR)/dist -dest ./cmd/skywire-visor -f - -# Dockerized skywire-visor -docker-image: ## Build docker image `skywire` - -docker-clean: ## Clean docker system: remove container ${DOCKER_NODE} and network ${DOCKER_NETWORK} - -docker network rm ${DOCKER_NETWORK} - -docker container rm --force ${DOCKER_NODE} - -docker-network: ## Create docker network ${DOCKER_NETWORK} - -docker network create ${DOCKER_NETWORK} - -docker-apps: ## Build apps binaries for dockerized skywire-visor. `go build` with ${DOCKER_OPTS} - -${DOCKER_OPTS} go build -race -o ./visor/apps/skychat ./cmd/apps/skychat - -${DOCKER_OPTS} go build -race -o ./visor/apps/skysocks ./cmd/apps/skysocks - -${DOCKER_OPTS} go build -race -o ./visor/apps/skysocks-client ./cmd/apps/skysocks-client - -docker-bin: ## Build `skywire-visor`, `skywire-cli`. `go build` with ${DOCKER_OPTS} - ${DOCKER_OPTS} go build -race -o ./visor/skywire-visor ./cmd/skywire-visor - -docker-volume: dep docker-apps docker-bin bin ## Prepare docker volume for dockerized skywire-visor - -${DOCKER_OPTS} go build -o ./docker/skywire-services/setup-node ./cmd/setup-node - -./skywire-cli visor gen-config -o ./skywire-visor/skywire.json -r - perl -pi -e 's/localhost//g' ./visor/skywire.json # To make visor accessible from outside with skywire-cli - -docker-run: docker-clean docker-image docker-network docker-volume ## Run dockerized skywire-visor ${DOCKER_NODE} in image ${DOCKER_IMAGE} with network ${DOCKER_NETWORK} - docker run -it -v $(shell pwd)/visor:/sky --network=${DOCKER_NETWORK} \ - --name=${DOCKER_NODE} ${DOCKER_IMAGE} bash -c "cd /sky && ./skywire-visor skywire.json" - -docker-setup-node: ## Runs setup-node in detached state in ${DOCKER_NETWORK} - -docker container rm setup-node -f - docker run -d --network=${DOCKER_NETWORK} \ - --name=setup-node \ - --hostname=setup-node skywire-services \ - bash -c "./setup-node setup-node.json" - -docker-stop: ## Stop running dockerized skywire-visor ${DOCKER_NODE} - -docker container stop ${DOCKER_NODE} - -docker-rerun: docker-stop - -./skywire-cli gen-config -o ./visor/skywire.json -r - perl -pi -e 's/localhost//g' ./visor/skywire.json # To make visor accessible from outside with skywire-cli - ${DOCKER_OPTS} go build -race -o ./visor/skywire-visor ./cmd/skywire-visor - docker container start -i ${DOCKER_NODE} - -run-syslog: ## Run syslog-ng in docker. Logs are mounted under /tmp/syslog - -rm -rf /tmp/syslog - -mkdir -p /tmp/syslog - -docker container rm syslog-ng -f - docker run -d -p 514:514/udp -v /tmp/syslog:/var/log --name syslog-ng balabit/syslog-ng:latest - -mod-comm: ## Comments the 'replace' rule in go.mod - ./ci_scripts/go_mod_replace.sh comment go.mod - -mod-uncomm: ## Uncomments the 'replace' rule in go.mod - ./ci_scripts/go_mod_replace.sh uncomment go.mod + rm -rf ${MANAGER_UI_BUILT_DIR} + mkdir ${MANAGER_UI_BUILT_DIR} + cp -r ${MANAGER_UI_DIR}/dist/. ${MANAGER_UI_BUILT_DIR} + +deb-install-prequisites: ## Create unsigned application + sudo chmod +x ./scripts/deb_installer/prequisites.sh + ./scripts/deb_installer/prequisites.sh + +deb-package: deb-install-prequisites ## Create unsigned application + ./scripts/deb_installer/package_deb.sh + +deb-package-help: ## Show installer creation help + ./scripts/deb_installer/package_deb.sh -h + +mac-installer: ## Create signed and notarized application, run make mac-installer-help for more + ./scripts/mac_installer/create_installer.sh -s -n + +mac-installer-help: ## Show installer creation help + ./scripts/mac_installer/create_installer.sh -h help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/README.md b/README.md index df34fd1f6..c2dc3d910 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ## Build -Skywire requires a Golang version of `1.13` or higher. +Skywire requires a Golang version of `1.16` or higher. ```bash # Clone. @@ -25,7 +25,7 @@ $ cd skywire $ make build; make install # OR build docker image -$ ./ci_scripts/docker-push.sh -t $(git rev-parse --abbrev HEAD) -b +$ ./ci_scripts/docker-push.sh -t $(git rev-parse --abbrev-ref HEAD) -b ``` Skywire can be statically built. For instructions check [the docs](docs/static-builds.md). @@ -34,10 +34,17 @@ Skywire can be statically built. For instructions check [the docs](docs/static-b ### Expose hypervisorUI -In order to expose the hypervisor UI, generate a config file with `--is-hypervisor` flag: +In order to expose the hypervisor UI, generate a config file with `--is-hypervisor` or `-i` flag: ```bash -$ skywire-cli visor gen-config --is-hypervisor +$ skywire-cli config gen -i +``` + +Docker container will create config automatically for you, should you want to run it manually, you can do: + +```bash +$ docker run --rm -v :/opt/skywire \ + skycoin/skywire:test skywire-cli config gen -i ``` Docker container will create config automatically for you, should you want to run it manually, you can do: @@ -55,7 +62,14 @@ Every visor can be controlled by one or more hypervisors. To allow a hypervisor hypervisor needs to be specified in the configuration file. You can add a remote hypervisor to the config with: ```bash -$ skywire-cli visor update-config --hypervisor-pks +$ skywire-cli config update --hypervisor-pks +``` + +Or from docker image: + +```bash +$ docker run --rm -v :/opt/skywire \ + skycoin/skywire:test skywire-cli config update hypervisor-pks ``` Or from docker image: @@ -80,7 +94,10 @@ $ sudo skywire-visor -c skywire-config.json Or from docker image: ```bash -docker run --rm -p 8000:8000 -v :/opt/skywire --name=skywire skycoin/skywire:latest skywire-visor +# with custom config mounted on docker volume +$ docker run --rm -p 8000:8000 -v :/opt/skywire --name=skywire skycoin/skywire:test skywire-visor -c /opt/skywire/.json +# without custom config (config is automatically generated) +$ docker run --rm -p 8000:8000 --name=skywire skycoin/skywire:test skywire-visor ``` `skywire-visor` can be run on Windows. The setup requires additional setup steps that are specified diff --git a/ci_scripts/docker-push.sh b/ci_scripts/docker-push.sh index 3e1c23a31..9038b238f 100755 --- a/ci_scripts/docker-push.sh +++ b/ci_scripts/docker-push.sh @@ -31,6 +31,8 @@ while getopts ":t:pb" o; do tag="test" elif [[ $tag == "master" ]]; then tag="latest" + else + tag=$tag fi ;; p) diff --git a/ci_scripts/run-internal-tests.sh b/ci_scripts/run-internal-tests.sh deleted file mode 100755 index bd1dec41b..000000000 --- a/ci_scripts/run-internal-tests.sh +++ /dev/null @@ -1,20 +0,0 @@ -# commit a70894c8c4223424151cdff7441b1fb2e6bad309 -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/httpauth -run TestClient >> ./logs/internal/TestClient.log - -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestAckReadWriter >> ./logs/internal/TestAckReadWriter.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestAckReadWriterCRCFailure >> ./logs/internal/TestAckReadWriterCRCFailure.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestAckReadWriterFlushOnClose >> ./logs/internal/TestAckReadWriterFlushOnClose.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestAckReadWriterPartialRead >> ./logs/internal/TestAckReadWriterPartialRead.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestAckReadWriterReadError >> ./logs/internal/TestAckReadWriterReadError.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/ioutil -run TestLenReadWriter >> ./logs/internal/TestLenReadWriter.log - -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestRPCClientDialer >> ./logs/internal/TestRPCClientDialer.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestConn >> ./logs/internal/TestConn.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestListener >> ./logs/internal/TestListener.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestKKAndSecp256k1 >> ./logs/internal/TestKKAndSecp256k1.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestXKAndSecp256k1 >> ./logs/internal/TestXKAndSecp256k1.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestReadWriterKKPattern >> ./logs/internal/TestReadWriterKKPattern.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestReadWriterXKPattern >> ./logs/internal/TestReadWriterXKPattern.log -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/noise -run TestReadWriterConcurrentTCP >> ./logs/internal/TestReadWriterConcurrentTCP.log - -go clean -testcache &>/dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/internal/skysocks -run TestProxy >> ./logs/internal/TestProxy.log diff --git a/ci_scripts/run-pkg-tests.sh b/ci_scripts/run-pkg-tests.sh deleted file mode 100755 index 5482b8520..000000000 --- a/ci_scripts/run-pkg-tests.sh +++ /dev/null @@ -1,76 +0,0 @@ -# commit a70894c8c4223424151cdff7441b1fb2e6bad309 -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppDial >> ./logs/pkg/TestAppDial.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppAccept >> ./logs/pkg/TestAppAccept.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppWrite >> ./logs/pkg/TestAppWrite.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppRead >> ./logs/pkg/TestAppRead.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppSetup >> ./logs/pkg/TestAppSetup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppCloseConn >> ./logs/pkg/TestAppCloseConn.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppClose >> ./logs/pkg/TestAppClose.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestAppCommand >> ./logs/pkg/TestAppCommand.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestPipeConn >> ./logs/pkg/TestPipeConn.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestProtocol >> ./logs/pkg/TestProtocol.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/app -run TestProtocolParallel >> ./logs/pkg/TestProtocolParallel.log - -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestDmsgDiscovery >> ./logs/pkg/TestDmsgDiscovery.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestTransportDiscovery >> ./logs/pkg/TestTransportDiscovery.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestTransportLogStore >> ./logs/pkg/TestTransportLogStore.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestRoutingTable >> ./logs/pkg/TestRoutingTable.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestAppsConfig >> ./logs/pkg/TestAppsConfig.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestAppsDir >> ./logs/pkg/TestAppsDir.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestLocalDir >> ./logs/pkg/TestLocalDir.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestNewVisor >> ./logs/pkg/TestNewVisor.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestVisorStartClose >> ./logs/pkg/TestVisorStartClose.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestVisorSpawnApp >> ./logs/pkg/TestVisorSpawnApp.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestVisorSpawnAppValidations >> ./logs/pkg/TestVisorSpawnAppValidations.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestListApps >> ./logs/pkg/TestListApps.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestStartStopApp >> ./logs/pkg/TestStartStopApp.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/visor -run TestRPC >> ./logs/pkg/TestRPC.log - -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestAppManagerInit >> ./logs/pkg/TestAppManagerInit.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestAppManagerSetupRouteGroup >> ./logs/pkg/TestAppManagerSetupRouteGroup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestAppManagerCloseRouteGRoup >> ./logs/pkg/TestAppManagerCloseRouteGroup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestAppManagerForward >> ./logs/pkg/TestAppManagerForward.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestManagedRoutingTableCleanup >> ./logs/pkg/TestManagedRoutingTableCleanup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestPortManager >> ./logs/pkg/TestPortManager.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerGetRule >> ./logs/pkg/TestRouteManagerGetRule.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerRemoveRouteGroupRule >> ./logs/pkg/TestRouteManagerRemoveRouteGroupRule.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerAddRemoveRule >> ./logs/pkg/TestRouteManagerAddRemoveRule.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerDeleteRules >> ./logs/pkg/TestRouteManagerDeleteRules.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerConfirmRouteGroup >> ./logs/pkg/TestRouteManagerConfirmRouteGroup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouteManagerRouteGroupClosed >> ./logs/pkg/TestRouteManagerRouteGroupClosed.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterForwarding >> ./logs/pkg/TestRouterForwarding.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterAppInit >> ./logs/pkg/TestRouterAppInit.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterApp >> ./logs/pkg/TestRouterApp.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterLocalApp >> ./logs/pkg/TestRouterLocalApp.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterSetup >> ./logs/pkg/TestRouterSetup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterSetupRouteGroup >> ./logs/pkg/TestRouterSetupRouteGroup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterSetupRouteGroupLocal >> ./logs/pkg/TestRouterSetupRouteGroupLocal.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterCloseRouteGroup >> ./logs/pkg/TestRouterCloseRouteGroup.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterCloseRouteGroupOnAppClose >> ./logs/pkg/TestRouterCloseRouteGroupOnAppClose.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterCloseRouteGroupOnRouterClose >> ./logs/pkg/TestRouterCloseRouteGroupOnRouterClose.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/router -run TestRouterRouteExpiration >> ./logs/pkg/TestRouterRouteExpiration.log - -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/routing -run TestBoltDBRoutingTable >> ./logs/pkg/TestBoltDBRoutingTable.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/routing -run TestMakePacket >> ./logs/pkg/TestMakePacket.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/routing -run TestRoutingTable >> ./logs/pkg/TestRoutingTable.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/routing -run TestAppRule >> ./logs/pkg/TestAppRule.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/routing -run TestForwardRule >> ./logs/pkg/TestForwardRule.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/setup -run TestNewProtocol >> ./logs/pkg/TestNewProtocol.log - -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestSettlementHandshake >> ./logs/pkg/TestSettlementHandshake.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestSettlementHandshakeInvalidSig >> ./logs/pkg/TestSettlementHandshakeInvalidSig.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestSettlementHandshakePrivate >> ./logs/pkg/TestSettlementHandshakePrivate.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestSettlementHandshakeExistingTransport >> ./logs/pkg/TestSettlementHandshakeExistingTransport.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestValidateEntry >> ./logs/pkg/TestValidateEntry.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestInMemoryTransportLogStore >> ./logs/pkg/TestInMemoryTransportLogStore.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestFileTransportLogStore >> ./logs/pkg/TestFileTransportLogStore.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestTransportManager >> ./logs/pkg/TestTransportManager.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestTransportManagerReEstablishTransports >> ./logs/pkg/TestTransportManagerReEstablishTransports.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestTransportManagerLogs >> ./logs/pkg/TestTransportManagerLogs.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport -run TestTCPFactory >> ./logs/pkg/TestTCPFactory.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestClientAuth >> ./logs/pkg/TestClientAuth.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestRegisterTransportResponses >> ./logs/pkg/TestRegisterTransportResponses.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestRegisterTransports >> ./logs/pkg/TestRegisterTransports.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestGetTransportByID >> ./logs/pkg/TestGetTransportByID.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestGetTransportsByEdge >> ./logs/pkg/TestGetTransportsByEdge.log -go clean -testcache &> /dev/null || go test -race -tags no_ci -cover -timeout=5m github.com/skycoin/skywire/pkg/transport-discovery/client -run TestUpdateStatuses >> ./logs/pkg/TestUpdateStatuses.log diff --git a/cmd/apps/skychat/chat.go b/cmd/apps/skychat/chat.go index 2f1e1cd3e..4cff3a541 100644 --- a/cmd/apps/skychat/chat.go +++ b/cmd/apps/skychat/chat.go @@ -1,14 +1,14 @@ -//go:generate esc -o static.go -prefix static static - /* skychat app for skywire visor */ package main import ( + "embed" "encoding/json" "flag" "fmt" + "io/fs" "net" "net/http" "os" @@ -17,6 +17,7 @@ import ( "github.com/skycoin/dmsg/buildinfo" "github.com/skycoin/dmsg/cipher" + "github.com/skycoin/skycoin/src/util/logging" "github.com/skycoin/skywire/internal/netutil" "github.com/skycoin/skywire/pkg/app" @@ -29,8 +30,9 @@ const ( port = routing.Port(1) ) +var log = logging.MustGetLogger("chat") var addr = flag.String("addr", ":8001", "address to bind") -var r = netutil.NewRetrier(50*time.Millisecond, 5, 2) +var r = netutil.NewRetrier(50*time.Millisecond, 5, 2, log) var ( appC *app.Client @@ -39,6 +41,11 @@ var ( connsMu sync.Mutex ) +// the go embed static points to skywire/cmd/apps/skychat/static + +//go:embed static +var embededFiles embed.FS + func main() { appC = app.NewClient(nil) defer appC.Close() @@ -56,7 +63,7 @@ func main() { conns = make(map[cipher.PubKey]net.Conn) go listenLoop() - http.Handle("/", http.FileServer(FS(false))) + http.Handle("/", http.FileServer(getFileSystem())) http.HandleFunc("/message", messageHandler) http.HandleFunc("/sse", sseHandler) @@ -200,3 +207,11 @@ func sseHandler(w http.ResponseWriter, req *http.Request) { } } } + +func getFileSystem() http.FileSystem { + fsys, err := fs.Sub(embededFiles, "static") + if err != nil { + panic(err) + } + return http.FS(fsys) +} diff --git a/cmd/apps/skychat/static.go b/cmd/apps/skychat/static.go deleted file mode 100644 index 429f2111d..000000000 --- a/cmd/apps/skychat/static.go +++ /dev/null @@ -1,262 +0,0 @@ -// Code generated by "esc -o static.go -prefix static static"; DO NOT EDIT. - -package main - -import ( - "bytes" - "compress/gzip" - "encoding/base64" - "fmt" - "io" - "io/ioutil" - "net/http" - "os" - "path" - "sync" - "time" -) - -type _escLocalFS struct{} - -var _escLocal _escLocalFS - -type _escStaticFS struct{} - -var _escStatic _escStaticFS - -type _escDirectory struct { - fs http.FileSystem - name string -} - -type _escFile struct { - compressed string - size int64 - modtime int64 - local string - isDir bool - - once sync.Once - data []byte - name string -} - -func (_escLocalFS) Open(name string) (http.File, error) { - f, present := _escData[path.Clean(name)] - if !present { - return nil, os.ErrNotExist - } - return os.Open(f.local) -} - -func (_escStaticFS) prepare(name string) (*_escFile, error) { - f, present := _escData[path.Clean(name)] - if !present { - return nil, os.ErrNotExist - } - var err error - f.once.Do(func() { - f.name = path.Base(name) - if f.size == 0 { - return - } - var gr *gzip.Reader - b64 := base64.NewDecoder(base64.StdEncoding, bytes.NewBufferString(f.compressed)) - gr, err = gzip.NewReader(b64) - if err != nil { - return - } - f.data, err = ioutil.ReadAll(gr) - }) - if err != nil { - return nil, err - } - return f, nil -} - -func (fs _escStaticFS) Open(name string) (http.File, error) { - f, err := fs.prepare(name) - if err != nil { - return nil, err - } - return f.File() -} - -func (dir _escDirectory) Open(name string) (http.File, error) { - return dir.fs.Open(dir.name + name) -} - -func (f *_escFile) File() (http.File, error) { - type httpFile struct { - *bytes.Reader - *_escFile - } - return &httpFile{ - Reader: bytes.NewReader(f.data), - _escFile: f, - }, nil -} - -func (f *_escFile) Close() error { - return nil -} - -func (f *_escFile) Readdir(count int) ([]os.FileInfo, error) { - if !f.isDir { - return nil, fmt.Errorf(" escFile.Readdir: '%s' is not directory", f.name) - } - - fis, ok := _escDirs[f.local] - if !ok { - return nil, fmt.Errorf(" escFile.Readdir: '%s' is directory, but we have no info about content of this dir, local=%s", f.name, f.local) - } - limit := count - if count <= 0 || limit > len(fis) { - limit = len(fis) - } - - if len(fis) == 0 && count > 0 { - return nil, io.EOF - } - - return fis[0:limit], nil -} - -func (f *_escFile) Stat() (os.FileInfo, error) { - return f, nil -} - -func (f *_escFile) Name() string { - return f.name -} - -func (f *_escFile) Size() int64 { - return f.size -} - -func (f *_escFile) Mode() os.FileMode { - return 0 -} - -func (f *_escFile) ModTime() time.Time { - return time.Unix(f.modtime, 0) -} - -func (f *_escFile) IsDir() bool { - return f.isDir -} - -func (f *_escFile) Sys() interface{} { - return f -} - -// FS returns a http.Filesystem for the embedded assets. If useLocal is true, -// the filesystem's contents are instead used. -func FS(useLocal bool) http.FileSystem { - if useLocal { - return _escLocal - } - return _escStatic -} - -// Dir returns a http.Filesystem for the embedded assets on a given prefix dir. -// If useLocal is true, the filesystem's contents are instead used. -func Dir(useLocal bool, name string) http.FileSystem { - if useLocal { - return _escDirectory{fs: _escLocal, name: name} - } - return _escDirectory{fs: _escStatic, name: name} -} - -// FSByte returns the named file from the embedded assets. If useLocal is -// true, the filesystem's contents are instead used. -func FSByte(useLocal bool, name string) ([]byte, error) { - if useLocal { - f, err := _escLocal.Open(name) - if err != nil { - return nil, err - } - b, err := ioutil.ReadAll(f) - _ = f.Close() - return b, err - } - f, err := _escStatic.prepare(name) - if err != nil { - return nil, err - } - return f.data, nil -} - -// FSMustByte is the same as FSByte, but panics if name is not present. -func FSMustByte(useLocal bool, name string) []byte { - b, err := FSByte(useLocal, name) - if err != nil { - panic(err) - } - return b -} - -// FSString is the string version of FSByte. -func FSString(useLocal bool, name string) (string, error) { - b, err := FSByte(useLocal, name) - return string(b), err -} - -// FSMustString is the string version of FSMustByte. -func FSMustString(useLocal bool, name string) string { - return string(FSMustByte(useLocal, name)) -} - -var _escData = map[string]*_escFile{ - - "/index.html": { - name: "index.html", - local: "static/index.html", - size: 5825, - modtime: 1594811593, - compressed: ` -H4sIAAAAAAAC/7xYbW/juBH+nl8xqyxONi6WnWyS3smSi2u7xbW4vSuaA/phEVxoaWwRS5EqSSVxDf/3 -gtS7LDm+LlDngyW+DJ955uHMOMG7WER6lyEkOmWri4vAfAMjfBs6yJ3VBUCQIInNA0CQoiYQJUQq1KGT -683sO2d1Ucxpqhmu/pwQDT9kWTAv3stJpXfmxTzbo2BfPJvPRnA925CUsp0PinA1UyjpZtlboeh/0Ifr -D9lrayYSTEgfLu/v78vRQ3EirEW8a58SU5UxsvNhw7BtIaV8liDdJtqH68XiOWnPEbml3IdFa2xNoi9b -KXIe+3B5e3d3fX/bO5m0j9X4qmcxRkISTQX3gQuOxw5QnqCkumcp7/DEqNIzS+SRlYzEMeXbLtI++sqq -p2iMayLPYce8zmIqMSrQR4LlKW8teKGxTny4uVl04lIDusZ0IFzff09u1n3ePIkRzShyPTOudiTC8NWH -6yPnZlpk7TPGTDHatlbuXQutRdqHKJ5Rbph48SGhcYwdXxOqcaYyEtkIvEiSLXuRbnYjYzRTVL2BjHgk -0vQZYV+RY09ZNhuihOi1eD1Nx/8cv1ok3ocODW2ZF4hac0LGKGeSxDRXPtzUka8xp6gU2eJRHEdk0fVn -2IoJYc/N45VUYwox0dg+tJTo3d1g5ojjeOxcaw3TAVvXH26H5b6AhXf3/9BTkxarhCBTwt7wxFPIY5SN -1i6v76PonhgmhzdIjJA+d7ZsNrff3d6Pka8ywk9LteRqxnCj+0IolVVM3WSvoASjMVxu7s3fmHcbIdNz -klkTpRNiv0Qc0LrNMy1Ax6qhPMv1Z1NLQxO5x7NI8I/kUuYmWRakAXZ8uB7CcdbFbIFU+TqlXZhdUHAz -zlEnHl8Hzd6RXDPKu2VtIGHaOP8uFxbeH1q1wXYi87oVCeZFZ2MeTbdQ9jjElEeIGFEqdMpS6ZStCwQW -QznZReaA4AWi0CFZ5kUSicZ/VmsmOqFqugSJOpccNoQpXNZ2AQLrGFjHHKMgBzJGIkwEi1GGzkeuUUKW -rxmN4AvuHJiPbC5AOPBMWI6h820Dfm5w1m85Axq3vFDOsWMm9TqrYJ6zkp25padq61JCebWprFNO3355 -Sxvr7bRe2R6it329++SaRPapmP9aYv8lqUbYiVxCeeLZ1D4gjwfZDeaGmbr5jSTNdLnOOge2Td63qxFX -WuaRFnIybU/YSpBQ1VwDBSF8flyeWgIh8JyxoTVVNCCE/eGkEeVthPxIomQiIVwVk7+ROG4ULafTIQu/ -KYUP+dp4vcZJe0l1p82nb+oNp70sV8lETk/59Fk+DnETiyhPkWtvi/ojQ/P4p93f4onbWHenHuUc5Y+/ -fvoJvg27+83nKWB0FRBIJG5C57LW8vu9hDAM+/z/EdyirXPBB9c9GPlGjEZfKvUyjPRbqeH9Xh6COVkF -c0ZXTydorC5CqrZHNFphFWh/JilCCKnaehspUovbTdE1aIvGwKKtSr67HLJk5ff0fm+saGUo/VHkUk2m -nhYPWlK+nUy9jMQPmkg9ubkCd+FOD357wyfKc41vbXlaXnTPpxuY1NjfVdi/+Qbe9aVCecTyGFW9fHpE -SyPWjgzrDT3fDxdnSqqS4lmC6ic600A5q8D0r6v3e60Owdw+B5g2eqtDeTAKqQAf/GCO6Sow7Vc5bFLd -IZjbkUJCIwrqXtdhASmRy8ioh+MLfHxGrh/syMSdK4Vun69iuSd46RqEUKgzXA1FojgjJppACH9/+OVn -LyNSWUF7ZrRvvtnT2N+DVr6F9xei8QoMK761WXa9V7ajLoeqfYflCV3U96r4no6trfNP67THImGNbD2M -3OZ+z4BsJB7tVI/s8+LRsyVpeU4Ord6Hk3c3LQ+tbQPuZ7IBwEelCZnV5liW/neOcvdg7Qr5A2MTt/qN -7E7rkmR/a4QrMN+evRI/UaU9ial4xkmVfI/qE7LWYhLHzcrl11zwEFz3ZGHqcvBYu5Gqbae2tjP5OOVN -6zOqD2v4hDI2qKOk9sa9gj2kqBMR++D+45eHX92r4j9ofnEdlU3TdLOb7Bvp+b3QXlW30bfHH6ZwmB7f -GE8nyCfSdCCDuaBK9RKVJ75Mx5acnwJMmajuvsW1HLf4e67+eZE+lQW6yqxDNSSnWgiATOEpUgxvxllT -Xg3T5tlQTRhKPXn6K6EMY9DC6qiJ2Pu9rRdP0zGQh+PhwfBGxCgLmyOxIqen6I6wXyiPxYtHsqysMaZB -nkyrn2x1Ax3Mi19qwbz4h/V/AwAA//9G17pUwRYAAA== -`, - }, - - "/": { - name: "/", - local: `static`, - isDir: true, - }, -} - -var _escDirs = map[string][]os.FileInfo{ - - "static": { - _escData["/index.html"], - }, -} diff --git a/cmd/apps/skychat/static/index.html b/cmd/apps/skychat/static/index.html index 184f7aa50..df658eae0 100644 --- a/cmd/apps/skychat/static/index.html +++ b/cmd/apps/skychat/static/index.html @@ -1,215 +1,745 @@ - - - - Chat App - - - - - - - -
-
    - -
    - - -
    -
    - - - - + + + + + + + + + + +
    + +
      + + +
      + + + + + + + \ No newline at end of file diff --git a/cmd/apps/skychat/static/p.png b/cmd/apps/skychat/static/p.png new file mode 100644 index 000000000..1dd69287a Binary files /dev/null and b/cmd/apps/skychat/static/p.png differ diff --git a/cmd/apps/skysocks-client/skysocks-client.go b/cmd/apps/skysocks-client/skysocks-client.go index dc8d94be6..ac2962086 100644 --- a/cmd/apps/skysocks-client/skysocks-client.go +++ b/cmd/apps/skysocks-client/skysocks-client.go @@ -29,7 +29,7 @@ const ( var log = logrus.New() -var r = netutil.NewRetrier(time.Second, 0, 1) +var r = netutil.NewRetrier(time.Second, 0, 1, log) func dialServer(appCl *app.Client, pk cipher.PubKey) (net.Conn, error) { var conn net.Conn diff --git a/cmd/setup-node/commands/root.go b/cmd/setup-node/commands/root.go index 16cee9ebe..68af690a1 100644 --- a/cmd/setup-node/commands/root.go +++ b/cmd/setup-node/commands/root.go @@ -11,7 +11,6 @@ import ( "github.com/sirupsen/logrus" "github.com/skycoin/dmsg/buildinfo" "github.com/skycoin/dmsg/cmdutil" - "github.com/skycoin/dmsg/discord" "github.com/skycoin/dmsg/metricsutil" "github.com/skycoin/skycoin/src/util/logging" "github.com/spf13/cobra" @@ -55,19 +54,6 @@ var rootCmd = &cobra.Command{ logging.AddHook(hook) } - if discordWebhookURL := discord.GetWebhookURLFromEnv(); discordWebhookURL != "" { - discordOpts := discord.GetDefaultOpts() - hook := discord.NewHook(tag, discordWebhookURL, discordOpts...) - logging.AddHook(hook) - - // Workaround for Discord logger hook. Actually, it's Info. - log.Error(discord.StartLogMessage) - defer log.Error(discord.StopLogMessage) - } else { - log.Info(discord.StartLogMessage) - defer log.Info(discord.StopLogMessage) - } - var rdr io.Reader var err error diff --git a/cmd/skywire-cli/README.md b/cmd/skywire-cli/README.md new file mode 100644 index 000000000..27b739c36 --- /dev/null +++ b/cmd/skywire-cli/README.md @@ -0,0 +1,996 @@ +# CLI Documentation + +skywire command line interface + + + +- [Install](#install) +- [skywire-cli usage](#skywire-cli-usage) + - [mdisc usage](#mdisc-usage) + - [available servers](#available-servers) + - [entry](#entry) + - [visor usage](#visor-usage) + - [add rule](#add-rule) + - [add tp](#add-tp) + - [app logs since](#app-logs-since) + - [disc tp](#disc-tp) + - [exec](#exec) + - [ls apps](#ls-apps) + - [ls rules](#ls-rules) + - [ls tp](#ls-tp) + - [ls types](#ls-types) + - [pk](#pk) + - [rm rule](#rm-rule) + - [rm tp](#rm-tp) + - [rule](#rule) + - [set app autostart](#set-app-autostart) + - [start app](#start-app) + - [stop app](#stop-app) + - [tp](#tp) + - [version](#version) + - [rtfind usage](#rtfind-usage) + - [config usage](#config-usage) + - [gen](#gen) + - [update](#update) + + + +## Install + +```bash +$ cd $GOPATH/src/github.com/skycoin/skywire/cmd/skywire-cli +$ go install ./... +``` + +## skywire-cli usage + +After the installation, you can run `skywire-cli` to see the usage: + +``` +$ skywire-cli +Command Line Interface for skywire + +Usage: + skywire-cli [command] + +Available Commands: + config Contains sub-commands that interact with the config of local skywire-visor + help Help about any command + mdisc Contains sub-commands that interact with a remote DMSG Discovery + rtfind Queries the Route Finder for available routes between two visors + visor Contains sub-commands that interact with the local Skywire Visor + +Flags: + -h, --help help for skywire-cli + +Use "skywire-cli [command] --help" for more information about a command. +``` + +### mdisc usage + +``` +$ skywire-cli mdisc +Contains sub-commands that interact with a remote DMSG Discovery + +Usage: + skywire-cli mdisc [command] + +Available Commands: + available-servers fetch available servers from DMSG discovery + entry fetches an entry from DMSG discovery + +Flags: + --addr string address of DMSG discovery server (default "http://dmsg.discovery.skywire.skycoin.com") + -h, --help help for mdisc + +Use "skywire-cli mdisc [command] --help" for more information about a command. +``` + +#### available servers + +``` +$ skywire-cli mdisc available-servers +``` + +``` +Flags: + --addr string address of DMSG discovery server +``` + +##### Example + +``` +$ skywire-cli mdisc available-servers +[2021-06-23T12:39:14-05:00] DEBUG disc.NewHTTP [disc]: Created HTTP client. addr="http://dmsg.discovery.skywire.skycoin.com" +version registered public-key address available-sessions +0.0.1 1624470017599202949 02a49bc0aa1b5b78f638e9189be4ed095bac5d6839c828465a8350f80ac07629c0 dmsg.server02a4.skywire.skycoin.com:30080 2056 +0.0.1 1624470011287159507 03d5b55d1133b26485c664cf8b95cff6746d1e321c34e48c9fed293eff0d6d49e5 dmsg.server03d5b55d.skywire.skycoin.com:30083 2056 +0.0.1 1624470011335956138 03717576ada5b1744e395c66c2bb11cea73b0e23d0dcd54422139b1a7f12e962c4 dmsg.server03717576.skywire.skycoin.com:30082 2056 +0.0.1 1624470023350445564 02a2d4c346dabd165fd555dfdba4a7f4d18786fe7e055e562397cd5102bdd7f8dd dmsg.server02a2d4c3.skywire.skycoin.com:30081 2056 + +``` + +#### entry + +``` +$ skywire-cli mdisc entry +``` + +``` +Flags: + --addr string address of DMSG discovery server +``` + +##### Example + +``` +$ skywire-cli mdisc entry 03a5a12feb32e26fb73b85639c7e6b54f119c71ff86a6607e5f22c6f8852c8909e +[2021-06-23T12:48:18-05:00] DEBUG disc.NewHTTP [disc]: Created HTTP client. addr="http://dmsg.discovery.skywire.skycoin.com" + version: 0.0.1 + sequence: 10820 + registered at: 1624470556659947194 + static public key: 03a5a12feb32e26fb73b85639c7e6b54f119c71ff86a6607e5f22c6f8852c8909e + signature: 5b6b8a233a812b27d3d6f9d62285cf3302eb7e31f5702107cf3edb20504da3e07e0501c63245b24ca0acc7617751ac39cbbca73507b036331a03ea090fd8383601 + entry is registered as client. Related info: + delegated servers: + 02a2d4c346dabd165fd555dfdba4a7f4d18786fe7e055e562397cd5102bdd7f8dd + 03d5b55d1133b26485c664cf8b95cff6746d1e321c34e48c9fed293eff0d6d49e5 + 03717576ada5b1744e395c66c2bb11cea73b0e23d0dcd54422139b1a7f12e962c4 + +``` + +### visor usage + +``` +$ skywire-cli visor -h + +Contains sub-commands that interact with the local Skywire Visor + +Usage: + skywire-cli visor [command] + +Available Commands: + add-rule Adds a new routing rule + add-tp Adds a new transport + app-logs-since Gets logs from given app since RFC3339Nano-formated timestamp. "beginning" is a special timestamp to fetch all the logs + disc-tp Queries the Transport Discovery to find transport(s) of given transport ID or edge public key + exec Executes the given command + ls-apps Lists apps running on the local visor + ls-rules Lists the local visor's routing rules + ls-tp Lists the available transports with optional filter flags + ls-types Lists transport types used by the local visor + pk Obtains the public key of the visor + rm-rule Removes a routing rule via route ID key + rm-tp Removes transport with given id + rule Returns a routing rule via route ID key + set-app-autostart Sets the autostart flag for an app of given name + start-app Starts an app of given name + stop-app Stops an app of given name + tp Returns summary of given transport by id + version Obtains version and build info of the node + +Flags: + -h, --help help for visor + --rpc string RPC server address (default "localhost:3435") + +Use "skywire-cli visor [command] --help" for more information about a command. +``` + +#### add rule + +add rule + +``` +$ skywire-cli visor add-rule (app | fwd ) [flags] +``` + +##### Example + +``` +$ skywire-cli visor add-rule -h +Adds a new routing rule + +Usage: + skywire-cli visor add-rule (app | fwd ) [flags] + +Flags: + -h, --help help for add-rule + --keep-alive duration duration after which routing rule will expire if no activity is present (default 30s) + +``` + +#### add tp + +add transport + +``` +$ skywire-cli visor add-tp [flags] +``` + +##### Example + +``` +$ skywire-cli visor add-tp -h +Adds a new transport + +Usage: + skywire-cli visor add-tp [flags] + +Flags: + -h, --help help for add-tp + --public whether to make the transport public (deprecated) + -t, --timeout duration if specified, sets an operation timeout + --type string type of transport to add; if unspecified, cli will attempt to establish a transport in the following order: stcp, stcpr, sudph, dmsg +``` + +#### app logs since + +application logs since + +``` +$ skywire-cli visor app-logs-since +``` + +##### Example + +``` +$ skywire-cli visor app-logs-since skysocks beginning +[[2021-06-01T16:34:56Z] INFO (STDOUT) [proc:skysocks:101c6bdecf1f4b138a1f1b55b124c2a4]: Starting serving proxy server + [2021-06-01T17:17:36Z] INFO (STDOUT) [proc:skysocks:282ff61851e44ea98277ae29694b1eba]: Version "0.4.1" built on "2021-03-19T23:26:21Z" against commit "d804a8ce" + [2021-06-01T17:17:37Z] INFO (STDOUT) [proc:skysocks:282ff61851e44ea98277ae29694b1eba]: Starting serving proxy server + [2021-06-01T18:17:34Z] INFO (STDOUT) [proc:skysocks:e30aac10262f4c269a8554b1f64dcb01]: Starting serving proxy server + [2021-06-01T18:17:36Z] INFO (STDOUT) [proc:skysocks:fca4f48650514e6bb8c9f7aadfaacdfc]: Starting serving proxy server + [2021-06-01T18:17:38Z] INFO (STDOUT) [proc:skysocks:f96f05677adb48adac64370a96dadb48]: Starting serving proxy server + [2021-06-01T18:17:39Z] INFO (STDOUT) [proc:skysocks:fb4d4f9f338441c793ecf7017b99c948]: Starting serving proxy server + [2021-06-06T14:17:17Z] INFO (STDOUT) [proc:skysocks:1dcfc8241871421aaad797349a3ba1c1]: Version "0.4.1" built on "2021-03-19T23:26:21Z" against commit "d804a8ce" + [2021-06-06T14:17:18Z] INFO (STDOUT) [proc:skysocks:1dcfc8241871421aaad797349a3ba1c1]: Starting serving proxy server +] +``` + +#### disc tp + +discover transports or transport discovery + +``` +$ skywire-cli visor disc-tp (--id= | --pk=) +``` + +##### Example + +``` +$ skywire-cli visor disc-tp -h +Queries the Transport Discovery to find transport(s) of given transport ID or edge public key + +Usage: + skywire-cli visor disc-tp (--id= | --pk=) [flags] + +Flags: + -h, --help help for disc-tp + --id transportID if specified, obtains a single transport of given ID (default 00000000-0000-0000-0000-000000000000) + --pk cipher.PubKey if specified, obtains transports associated with given public key (default 000000000000000000000000000000000000000000000000000000000000000000) + +``` + +#### exec + +execute a given command + +``` +$ skywire-cli visor exec +``` + +##### Example + +ls + +``` +$ skywire-cli visor exec ls +bin +boot +dev +efi +etc +home +lib +lib64 +media +mnt +opt +proc +root +run +sbin +share +srv +sys +tmp +usr +var +``` + +echo + +``` +$ skywire-cli visor exec echo "hello world" +hello world +``` + +escape a flag + +``` +$skywire-cli visor exec echo -- "-a" +-a +``` + +#### ls apps + +list apps + +``` +$ skywire-cli visor ls-apps +``` + +##### Example + +``` +$ skywire-cli visor ls-apps +app ports auto_start status +skychat 1 true running +skysocks 3 true running +skysocks-client 13 false stopped +vpn-server 44 false stopped +vpn-client 43 false stopped +``` + +#### ls rules + +Lists the local visor's routing rules + +``` +$ skywire-cli visor ls-rules +``` + +##### Example + +``` +$ skywire-cli visor ls-rules +id type local-port remote-port remote-pk resp-id next-route-id next-transport-id expire-at +``` + +#### ls tp + +list transports + +``` +$ skywire-cli visor ls-tp +``` + +##### Example + +``` +$ skywire-cli visor ls-tp +type id remote mode is_up +``` + +#### ls types + +Lists transport types used by the local visor + +``` +$ skywire-cli visor ls-types +``` + +##### Example + +``` +$ skywire-cli visor ls-types +dmsg +stcp +stcpr +sudph +``` + +#### pk + +Obtains the public key of the visor + +``` +$ skywire-cli visor pk +``` + +##### Example + +``` +$ skywire-cli visor pk +0359f02198933550ad5b41a21470a0bbe0f73c0eb6e93d7d279133a0d5bffc645c +``` + +#### rm rule + +Removes a routing rule + +``` +$ skywire-cli visor rm-rule +``` + +##### Example + +``` +$ skywire-cli visor rm-rule -h +Removes a routing rule via route ID key + +Usage: + skywire-cli visor rm-rule [flags] + +``` + +#### rm tp + +removes a transport + +``` +$ skywire-cli visor rm-tp +``` + +##### Example + +``` +$ skywire-cli visor rm-tp -h +Removes transport with given id + +Usage: + skywire-cli visor rm-tp [flags] + +``` + +#### rule + +``` +$ skywire-cli visor rule +``` + +##### Example + +``` +$ skywire-cli visor rule -h +Returns a routing rule via route ID key + +Usage: + skywire-cli visor rule [flags] + +``` + +#### set-app-autostart + +set application autostart + +``` +$ skywire-cli visor set-app-autostart (on|off) +``` + +##### Example + +``` +$ skywire-cli visor set-app-autostart -h +Sets the autostart flag for an app of given name + +Usage: + skywire-cli visor set-app-autostart (on|off) [flags] +``` + +#### start-app + +start application + +``` +$ skywire-cli visor set-app-autostart (on|off) +``` + +##### Example + +``` +$ skywire-cli visor set-app-autostart -h +Sets the autostart flag for an app of given name + +Usage: + skywire-cli visor set-app-autostart (on|off) [flags] + +``` + +#### stop-app + +stop application + +``` +$ skywire-cli visor stop app +``` + +##### Example + +``` +$ skywire-cli visor stop-app skychat +OK +``` + +#### tp + +Returns summary of given transport by id + +``` +$ skywire-cli visor tp +``` + +##### Example + +``` +$ skywire-cli visor tp -h +Returns summary of given transport by id + +Usage: + skywire-cli visor tp [flags] +``` + +#### version + +version + +``` +$ skywire-cli visor version +``` + +##### Example + +``` +$ skywire-cli visor version +Version "0.4.1" built on "2021-03-19T23:26:21Z" against commit "d804a8ce" +``` + +### rtfind usage + +``` +skywire-cli rtfind +``` + +##### Example + +``` +$ skywire-cli rtfind -h + +Queries the Route Finder for available routes between two visors + +Usage: +skywire-cli rtfind [flags] + +Flags: +--addr string address in which to contact route finder service (default "http://routefinder.skywire.skycoin.com") +-h, --help help for rtfind +--max-hops uint16 max hops for the returning routeFinderRoutesCmd (default 1000) +--min-hops uint16 min hops for the returning routeFinderRoutesCmd (default 1) +--timeout duration timeout for remote server requests (default 10s) +``` + +### config usage + +``` +skywire-cli config -h + +Contains sub-commands that interact with the config of local skywire-visor + +Usage: + skywire-cli config [command] + +Available Commands: + gen Generates a config file + update Updates a config file + +Flags: + -h, --help help for config + +Use "skywire-cli config [command] --help" for more information about a command. +``` + +#### gen + +``` +$ skywire-cli config gen --help +Generates a config file + +Usage: + skywire-cli config gen [flags] + +Flags: + -h, --help help for gen + --hypervisor-pks string public keys of hypervisors that should be added to this visor + -i, --is-hypervisor generate a hypervisor configuration. + -o, --output string path of output config file. (default "skywire-config.json") + -p, --package use defaults for package-based installations in /opt/skywire + -r, --replace rewrite existing config (retains keys). + --sk cipher.SecKey if unspecified, a random key pair will be generated. + (default 0000000000000000000000000000000000000000000000000000000000000000) + -s, --skybian use defaults paths found in skybian + writes config to /etc/skywire-config.json + -t, --testenv use test deployment service. + +Global Flags: + --rpc string RPC server address (default "localhost:3435") +``` + +##### Example defaults + +The default visor config generation assumes the command is run from the root of the cloned repository + +``` +$ cd $GOPATH/src/github.com/skycoin/skywire +$ skywire-cli config gen +[2021-06-24T08:58:56-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="/home/user/go/src/github.com/skycoin/skywire/skywire-config.json" +[2021-06-24T08:58:56-05:00] INFO [skywire-cli]: Updated file '/home/user/go/src/github.com/skycoin/skywire/skywire-config.json' to: { + "version": "v1.0.0", + "sk": "b65d256d4a2af23e330179d95c9526a6e053479d8b5ca077ecf97dd8ec189876", + "pk": "0336d57c96b706b8560223b0fa71e55331ab3dabe34dd464002ab10bf199ada2b3", + "dmsg": { + "discovery": "http://dmsg.discovery.skywire.skycoin.com", + "sessions_count": 1 + }, + "dmsgpty": { + "port": 22, + "authorization_file": "./dmsgpty/whitelist.json", + "cli_network": "unix", + "cli_address": "/tmp/dmsgpty.sock" + }, + "stcp": { + "pk_table": null, + "local_address": ":7777" + }, + "transport": { + "discovery": "http://transport.discovery.skywire.skycoin.com", + "address_resolver": "http://address.resolver.skywire.skycoin.com", + "log_store": { + "type": "file", + "location": "./transport_logs" + }, + "trusted_visors": null + }, + "routing": { + "setup_nodes": [ + "0324579f003e6b4048bae2def4365e634d8e0e3054a20fc7af49daf2a179658557" + ], + "route_finder": "http://routefinder.skywire.skycoin.com", + "route_finder_timeout": "10s" + }, + "uptime_tracker": { + "addr": "http://uptime-tracker.skywire.skycoin.com" + }, + "launcher": { + "discovery": { + "update_interval": "30s", + "service_discovery": "http://service.discovery.skycoin.com" + }, + "apps": [ + { + "name": "skychat", + "args": [ + "-addr", + ":8001" + ], + "auto_start": true, + "port": 1 + }, + { + "name": "skysocks", + "auto_start": true, + "port": 3 + }, + { + "name": "skysocks-client", + "auto_start": false, + "port": 13 + }, + { + "name": "vpn-server", + "auto_start": false, + "port": 44 + }, + { + "name": "vpn-client", + "auto_start": false, + "port": 43 + } + ], + "server_addr": "localhost:5505", + "bin_path": "./apps", + "local_path": "./local" + }, + "hypervisors": [], + "cli_addr": "localhost:3435", + "log_level": "info", + "shutdown_timeout": "10s", + "restart_check_delay": "1s" +} +``` + +The default configuration is for a visor only. To generate a configuration which provides the hypervisor web interface, +the `-i` or `--is-hypervisor` flag should be specified. + +``` +$ skywire-cli config gen -i +``` + +##### Example hypervisor configuration for skybian + +``` +$ skywire-cli config gen -irs +``` + +##### Example visor configuration for skybian + +It is the typical arrangement to set a visor to use a remote hypervisor if a local instance is not started. + +Determine the hypervisor public key by running the following command on the machine running the hypervisor + +``` +$ skywire-cli visor pk +``` + +substitute the hypervisor public key in the following command: + +``` +$ skywire-cli config gen --hypervisor-pks -rs +``` + +##### Example hypervisor configuration for package based installation + +This assumes the skywire installation is at `/opt/skywire` with binaries and apps in their own subdirectories. + +``` +$ skywire-cli config gen -ip +[2021-06-24T09:09:39-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="/opt/skywire/skywire.json" +[2021-06-24T09:09:39-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="/opt/skywire/skywire.json" +[2021-06-24T09:09:39-05:00] INFO [skywire-cli]: Updated file '/opt/skywire/skywire.json' to: { + "version": "v1.0.0", + "sk": "b65d256d4a2af23e330179d95c9526a6e053479d8b5ca077ecf97dd8ec189876", + "pk": "0336d57c96b706b8560223b0fa71e55331ab3dabe34dd464002ab10bf199ada2b3", + "dmsg": { + "discovery": "http://dmsg.discovery.skywire.skycoin.com", + "sessions_count": 1 + }, + "dmsgpty": { + "port": 22, + "authorization_file": "/opt/skywire/dmsgpty/whitelist.json", + "cli_network": "unix", + "cli_address": "/tmp/dmsgpty.sock" + }, + "stcp": { + "pk_table": null, + "local_address": ":7777" + }, + "transport": { + "discovery": "http://transport.discovery.skywire.skycoin.com", + "address_resolver": "http://address.resolver.skywire.skycoin.com", + "log_store": { + "type": "file", + "location": "/opt/skywire/transport_logs" + }, + "trusted_visors": null + }, + "routing": { + "setup_nodes": [ + "0324579f003e6b4048bae2def4365e634d8e0e3054a20fc7af49daf2a179658557" + ], + "route_finder": "http://routefinder.skywire.skycoin.com", + "route_finder_timeout": "10s" + }, + "uptime_tracker": { + "addr": "http://uptime-tracker.skywire.skycoin.com" + }, + "launcher": { + "discovery": { + "update_interval": "30s", + "service_discovery": "http://service.discovery.skycoin.com" + }, + "apps": [ + { + "name": "skychat", + "args": [ + "-addr", + ":8001" + ], + "auto_start": true, + "port": 1 + }, + { + "name": "skysocks", + "auto_start": true, + "port": 3 + }, + { + "name": "skysocks-client", + "auto_start": false, + "port": 13 + }, + { + "name": "vpn-server", + "auto_start": false, + "port": 44 + }, + { + "name": "vpn-client", + "auto_start": false, + "port": 43 + } + ], + "server_addr": "localhost:5505", + "bin_path": "/opt/skywire/apps", + "local_path": "/opt/skywire/local" + }, + "hypervisors": [], + "cli_addr": "localhost:3435", + "log_level": "info", + "shutdown_timeout": "10s", + "restart_check_delay": "1s", + "hypervisor": { + "db_path": "/opt/skywire/users.db", + "enable_auth": true, + "cookies": { + "hash_key": "fa985b3bb729fb4feedf3c7f6329cc31dcdca4457ac27d11cdeb14b39f248f01c5b784853074be3b95b02a9edeb2a6c721e0ee5675d1d55705cbd670082a107a", + "block_key": "7d2f37467789f9bbd9f053b26a2580e03d2e36ecae0ca966ab6ae10a34b1bfbc", + "expires_duration": 43200000000000, + "path": "/", + "domain": "" + }, + "dmsg_port": 46, + "http_addr": ":8000", + "enable_tls": true, + "tls_cert_file": "/opt/skywire/ssl/cert.pem", + "tls_key_file": "/opt/skywire/ssl/key.pem" + } +} + +``` + +The configuration is written (or rewritten) + +##### Example - visor configuration for package based installation + +It is the typical arrangement to set a visor to use a remote hypervisor if a local instance is not started. + +Determine the hypervisor public key by running the following command on the machine running the hypervisor + +``` +$ skywire-cli visor pk +``` + +When running a visor with or without a hypervisor on the same machine, it's wise to keep the same keys for the other +config file. + +Copy the `skywire.json` config file from the previous example to `skywire-visor.json`; then paste the public key from +the above command output into the following command + +``` +$ skywire-cli config gen --hypervisor-pks -pr +``` + +The configuration is written (or rewritten) + +The configuration files should be specified in corresponding systemd service files or init / startup scripts to start +either a visor or hypervisor instance + +starting the hypervisor intance + +``` +skywire-visor -c /opt/skywire/skywire.json +``` + +starting visor-only or with remote hypervisor + +``` +skywire-visor -c /opt/skywire/skywire-visor.json +``` + +#### update + +``` +$ ./skywire-cli config update --help +Updates a config file + +Usage: + skywire-cli config update [flags] + +Flags: + --add-hypervisor-pks string public keys of hypervisors that should be added to this visor + -e, --environment string desired environment (values production or testing) (default "production") + -h, --help help for update + -i, --input string path of input config file. (default "skywire-config.json") + -o, --output string path of output config file. (default "skywire-config.json") + --reset-hypervisor-pks resets hypervisor`s configuration +``` + +##### Example + +``` +skywire-cli config update +[2021-06-24T10:42:33-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="skywire-config.json" +[2021-06-24T10:42:33-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="skywire-config.json" +[2021-06-24T10:42:33-05:00] INFO [skywire-cli]: Updated file '/home/d0mo/go/src/github.com/skycoin/skywire/skywire-config.json' to: { + "version": "v1.0.0", + "sk": "24db3a001c62baaa5b1a05d3f903e708f9ac0d7ed8d49bc4f1223c6fa94d91d1", + "pk": "02c8ddafcf4d88c0734b98919c4f924ddb542dbba815b0d804e2e0518fa954f096", + "dmsg": { + "discovery": "http://dmsg.discovery.skywire.skycoin.com", + "sessions_count": 1 + }, + "dmsgpty": { + "port": 22, + "authorization_file": "./dmsgpty/whitelist.json", + "cli_network": "unix", + "cli_address": "/tmp/dmsgpty.sock" + }, + "stcp": { + "pk_table": null, + "local_address": ":7777" + }, + "transport": { + "discovery": "http://transport.discovery.skywire.skycoin.com", + "address_resolver": "http://address.resolver.skywire.skycoin.com", + "log_store": { + "type": "file", + "location": "./transport_logs" + }, + "trusted_visors": null + }, + "routing": { + "setup_nodes": [ + "0324579f003e6b4048bae2def4365e634d8e0e3054a20fc7af49daf2a179658557" + ], + "route_finder": "http://routefinder.skywire.skycoin.com", + "route_finder_timeout": "10s" + }, + "uptime_tracker": { + "addr": "http://uptime-tracker.skywire.skycoin.com" + }, + "launcher": { + "discovery": { + "update_interval": "30s", + "service_discovery": "http://service.discovery.skycoin.com" + }, + "apps": [ + { + "name": "skychat", + "args": [ + "-addr", + ":8001" + ], + "auto_start": true, + "port": 1 + }, + { + "name": "skysocks", + "auto_start": true, + "port": 3 + }, + { + "name": "skysocks-client", + "auto_start": false, + "port": 13 + }, + { + "name": "vpn-server", + "auto_start": false, + "port": 44 + }, + { + "name": "vpn-client", + "auto_start": false, + "port": 43 + } + ], + "server_addr": "localhost:5505", + "bin_path": "./apps", + "local_path": "./local" + }, + "hypervisors": [], + "cli_addr": "localhost:3435", + "log_level": "info", + "shutdown_timeout": "10s", + "restart_check_delay": "1s" +} +``` diff --git a/cmd/skywire-cli/commands/visor/gen-config.go b/cmd/skywire-cli/commands/config/gen.go similarity index 75% rename from cmd/skywire-cli/commands/visor/gen-config.go rename to cmd/skywire-cli/commands/config/gen.go index 265f60eb6..e68f7bd2e 100644 --- a/cmd/skywire-cli/commands/visor/gen-config.go +++ b/cmd/skywire-cli/commands/config/gen.go @@ -1,4 +1,4 @@ -package visor +package config import ( "encoding/json" @@ -13,6 +13,7 @@ import ( "github.com/skycoin/skycoin/src/util/logging" "github.com/spf13/cobra" + "github.com/skycoin/skywire/pkg/skyenv" "github.com/skycoin/skywire/pkg/visor/visorconfig" ) @@ -26,22 +27,24 @@ var ( replace bool testEnv bool packageConfig bool + skybianConfig bool hypervisor bool hypervisorPKs string ) func init() { - genConfigCmd.Flags().Var(&sk, "sk", "if unspecified, a random key pair will be generated.") + genConfigCmd.Flags().Var(&sk, "sk", "if unspecified, a random key pair will be generated.\n") genConfigCmd.Flags().StringVarP(&output, "output", "o", "skywire-config.json", "path of output config file.") - genConfigCmd.Flags().BoolVarP(&replace, "replace", "r", false, "whether to allow rewrite of a file that already exists (this retains the keys).") - genConfigCmd.Flags().BoolVarP(&packageConfig, "package", "p", false, "use defaults for package-based installations") - genConfigCmd.Flags().BoolVarP(&testEnv, "testenv", "t", false, "whether to use production or test deployment service.") - genConfigCmd.Flags().BoolVar(&hypervisor, "is-hypervisor", false, "whether to generate config to run this visor as a hypervisor.") + genConfigCmd.Flags().BoolVarP(&replace, "replace", "r", false, "rewrite existing config (retains keys).") + genConfigCmd.Flags().BoolVarP(&packageConfig, "package", "p", false, "use defaults for package-based installations in /opt/skywire") + genConfigCmd.Flags().BoolVarP(&skybianConfig, "skybian", "s", false, "use defaults paths found in skybian\n writes config to /etc/skywire-config.json") + genConfigCmd.Flags().BoolVarP(&testEnv, "testenv", "t", false, "use test deployment service.") + genConfigCmd.Flags().BoolVarP(&hypervisor, "is-hypervisor", "i", false, "generate a hypervisor configuration.") genConfigCmd.Flags().StringVar(&hypervisorPKs, "hypervisor-pks", "", "public keys of hypervisors that should be added to this visor") } var genConfigCmd = &cobra.Command{ - Use: "gen-config", + Use: "gen", Short: "Generates a config file", PreRun: func(_ *cobra.Command, _ []string) { var err error @@ -53,6 +56,21 @@ var genConfigCmd = &cobra.Command{ mLog := logging.NewMasterLogger() mLog.SetLevel(logrus.InfoLevel) + //Fail on -pst combination + if (packageConfig && skybianConfig) || (packageConfig && testEnv) || (skybianConfig && testEnv) { + logger.Fatal("Failed to create config: use of mutually exclusive flags") + } + + //set output for package and skybian configs + if packageConfig { + configName := "skywire-config.json" + output = filepath.Join(skyenv.PackageSkywirePath(), configName) + } + + if skybianConfig { + output = "/etc/skywire-config.json" + } + // Read in old config (if any) and obtain old secret key. // Otherwise, we generate a new random secret key. var sk cipher.SecKey @@ -65,9 +83,11 @@ var genConfigCmd = &cobra.Command{ // Determine config type to generate. var genConf func(log *logging.MasterLogger, confPath string, sk *cipher.SecKey, hypervisor bool) (*visorconfig.V1, error) - // to be improved later + // default paths for different installations if packageConfig { genConf = visorconfig.MakePackageConfig + } else if skybianConfig { + genConf = visorconfig.MakeDefaultConfig } else if testEnv { genConf = visorconfig.MakeTestConfig } else { @@ -89,7 +109,6 @@ var genConfigCmd = &cobra.Command{ } conf.Hypervisors = append(conf.Hypervisors, cipher.PubKey(keyParsed)) } - } // Save config to file. @@ -116,7 +135,7 @@ func readOldConfig(log *logging.MasterLogger, confPath string, replace bool) (*v } if !replace { - logger.Fatal("Config file already exists. Specify the 'replace,r' flag to replace this.") + logger.Fatal("Config file already exists. Specify the 'replace, r' flag to replace this.") } conf, err := visorconfig.Parse(log, confPath, raw) diff --git a/cmd/skywire-cli/commands/config/root.go b/cmd/skywire-cli/commands/config/root.go new file mode 100644 index 000000000..123c81194 --- /dev/null +++ b/cmd/skywire-cli/commands/config/root.go @@ -0,0 +1,14 @@ +package config + +import ( + "github.com/skycoin/skycoin/src/util/logging" + "github.com/spf13/cobra" +) + +var logger = logging.MustGetLogger("skywire-cli") + +// RootCmd contains commands that interact with the config of local skywire-visor +var RootCmd = &cobra.Command{ + Use: "config", + Short: "Contains sub-commands that interact with the config of local skywire-visor", +} diff --git a/cmd/skywire-cli/commands/visor/update-config.go b/cmd/skywire-cli/commands/config/update.go similarity index 92% rename from cmd/skywire-cli/commands/visor/update-config.go rename to cmd/skywire-cli/commands/config/update.go index 14678776f..94b5e33af 100644 --- a/cmd/skywire-cli/commands/visor/update-config.go +++ b/cmd/skywire-cli/commands/config/update.go @@ -1,4 +1,4 @@ -package visor +package config import ( "encoding/json" @@ -37,12 +37,12 @@ func init() { } var updateConfigCmd = &cobra.Command{ - Use: "update-config", + Use: "update", Short: "Updates a config file", PreRun: func(_ *cobra.Command, _ []string) { var err error if output, err = filepath.Abs(addOutput); err != nil { - logger.WithError(err).Fatal("Invalid output provided.") + logger.WithError(err).Fatal("Invalid config output.") } }, Run: func(_ *cobra.Command, _ []string) { @@ -76,12 +76,13 @@ var updateConfigCmd = &cobra.Command{ } } - if environment == "production" { + switch environment { + case "production": visorconfig.SetDefaultProductionValues(conf) - } - - if environment == "testing" { + case "testing": visorconfig.SetDefaultTestingValues(conf) + default: + logger.Fatal("Unrecognized environment value: ", environment) } if resetHypervisor { diff --git a/cmd/skywire-cli/commands/root.go b/cmd/skywire-cli/commands/root.go index 4367812b5..c89bdc2d8 100644 --- a/cmd/skywire-cli/commands/root.go +++ b/cmd/skywire-cli/commands/root.go @@ -5,6 +5,7 @@ import ( "github.com/spf13/cobra" + "github.com/skycoin/skywire/cmd/skywire-cli/commands/config" "github.com/skycoin/skywire/cmd/skywire-cli/commands/mdisc" "github.com/skycoin/skywire/cmd/skywire-cli/commands/rtfind" "github.com/skycoin/skywire/cmd/skywire-cli/commands/visor" @@ -20,6 +21,7 @@ func init() { visor.RootCmd, mdisc.RootCmd, rtfind.RootCmd, + config.RootCmd, ) } diff --git a/cmd/skywire-cli/commands/visor/app.go b/cmd/skywire-cli/commands/visor/app.go index 567e5ccef..304d2b673 100644 --- a/cmd/skywire-cli/commands/visor/app.go +++ b/cmd/skywire-cli/commands/visor/app.go @@ -41,6 +41,9 @@ var lsAppsCmd = &cobra.Command{ if state.Status == launcher.AppStatusRunning { status = "running" } + if state.Status == launcher.AppStatusErrored { + status = "errored" + } _, err = fmt.Fprintf(w, "%s\t%s\t%t\t%s\n", state.Name, strconv.Itoa(int(state.Port)), state.AutoStart, status) internal.Catch(err) } diff --git a/cmd/skywire-cli/commands/visor/pk.go b/cmd/skywire-cli/commands/visor/pk.go index 71fe62ff1..fef9f2139 100644 --- a/cmd/skywire-cli/commands/visor/pk.go +++ b/cmd/skywire-cli/commands/visor/pk.go @@ -16,11 +16,11 @@ var pkCmd = &cobra.Command{ Run: func(_ *cobra.Command, _ []string) { client := rpcClient() - summary, err := client.Summary() + overview, err := client.Overview() if err != nil { logger.Fatal("Failed to connect:", err) } - fmt.Println(summary.PubKey) + fmt.Println(overview.PubKey) }, } diff --git a/cmd/skywire-cli/commands/visor/transport_discovery.go b/cmd/skywire-cli/commands/visor/transport_discovery.go index e16c359ae..ec3a6706b 100644 --- a/cmd/skywire-cli/commands/visor/transport_discovery.go +++ b/cmd/skywire-cli/commands/visor/transport_discovery.go @@ -58,13 +58,13 @@ var discTpCmd = &cobra.Command{ }, } -func printTransportEntries(entries ...*transport.EntryWithStatus) { +func printTransportEntries(entries ...*transport.Entry) { w := tabwriter.NewWriter(os.Stdout, 0, 0, 5, ' ', tabwriter.TabIndent) - _, err := fmt.Fprintln(w, "id\ttype\tpublic\tregistered\tup\tedge1\tedge2\topinion1\topinion2") + _, err := fmt.Fprintln(w, "id\ttype\tedge1\tedge2") internal.Catch(err) for _, e := range entries { - _, err := fmt.Fprintf(w, "%s\t%s\t%t\t%d\t%t\t%s\t%s\t%t\t%t\n", - e.Entry.ID, e.Entry.Type, e.Entry.Public, e.Registered, e.IsUp, e.Entry.Edges[0], e.Entry.Edges[1], e.Statuses[0], e.Statuses[1]) + _, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", + e.ID, e.Type, e.Edges[0], e.Edges[1]) internal.Catch(err) } internal.Catch(w.Flush()) diff --git a/cmd/skywire-cli/commands/visor/transports.go b/cmd/skywire-cli/commands/visor/transports.go index f633770ee..059cefb77 100644 --- a/cmd/skywire-cli/commands/visor/transports.go +++ b/cmd/skywire-cli/commands/visor/transports.go @@ -7,12 +7,11 @@ import ( "text/tabwriter" "time" - "github.com/skycoin/dmsg" "github.com/skycoin/dmsg/cipher" "github.com/spf13/cobra" "github.com/skycoin/skywire/cmd/skywire-cli/internal" - "github.com/skycoin/skywire/pkg/snet/directtp/tptypes" + "github.com/skycoin/skywire/pkg/transport/network" "github.com/skycoin/skywire/pkg/visor" ) @@ -81,8 +80,8 @@ var ( func init() { const ( typeFlagUsage = "type of transport to add; if unspecified, cli will attempt to establish a transport " + - "in the following order: stcp, stcpr, sudph, dmsg" - publicFlagUsage = "whether to make the transport public" + "in the following order: skywire-tcp, stcpr, sudph, dmsg" + publicFlagUsage = "whether to make the transport public (deprecated)" timeoutFlagUsage = "if specified, sets an operation timeout" ) @@ -102,26 +101,22 @@ var addTpCmd = &cobra.Command{ var err error if transportType != "" { - tp, err = rpcClient().AddTransport(pk, transportType, public, timeout) + tp, err = rpcClient().AddTransport(pk, transportType, timeout) if err != nil { logger.WithError(err).Fatalf("Failed to establish %v transport", transportType) } - if !tp.IsUp { - logger.Fatalf("Established %v transport to %v with ID %v, but it isn't up", transportType, pk, tp.ID) - } - logger.Infof("Established %v transport to %v", transportType, pk) } else { - transportTypes := []string{ - tptypes.STCP, - tptypes.STCPR, - tptypes.SUDPH, - dmsg.Type, + transportTypes := []network.Type{ + network.STCP, + network.STCPR, + network.SUDPH, + network.DMSG, } for _, transportType := range transportTypes { - tp, err = rpcClient().AddTransport(pk, transportType, public, timeout) + tp, err = rpcClient().AddTransport(pk, string(transportType), timeout) if err == nil { logger.Infof("Established %v transport to %v", transportType, pk) break @@ -149,15 +144,14 @@ var rmTpCmd = &cobra.Command{ func printTransports(tps ...*visor.TransportSummary) { sortTransports(tps...) w := tabwriter.NewWriter(os.Stdout, 0, 0, 5, ' ', tabwriter.TabIndent) - _, err := fmt.Fprintln(w, "type\tid\tremote\tmode\tis_up") + _, err := fmt.Fprintln(w, "type\tid\tremote\tmode\tlabel") internal.Catch(err) for _, tp := range tps { tpMode := "regular" if tp.IsSetup { tpMode = "setup" } - - _, err = fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%v\n", tp.Type, tp.ID, tp.Remote, tpMode, tp.IsUp) + _, err = fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%s\n", tp.Type, tp.ID, tp.Remote, tpMode, tp.Label) internal.Catch(err) } internal.Catch(w.Flush()) diff --git a/cmd/skywire-cli/commands/visor/version.go b/cmd/skywire-cli/commands/visor/version.go index 9c305543d..b8c905fe6 100644 --- a/cmd/skywire-cli/commands/visor/version.go +++ b/cmd/skywire-cli/commands/visor/version.go @@ -16,12 +16,12 @@ var buildInfoCmd = &cobra.Command{ Short: "Obtains version and build info of the node", Run: func(_ *cobra.Command, _ []string) { client := rpcClient() - summary, err := client.Summary() + overview, err := client.Overview() if err != nil { log.Fatal("Failed to connect:", err) } - if _, err := summary.BuildInfo.WriteTo(os.Stdout); err != nil { + if _, err := overview.BuildInfo.WriteTo(os.Stdout); err != nil { log.Fatal("Failed to output build info:", err) } }, diff --git a/cmd/skywire-cli/skywire-config.json b/cmd/skywire-cli/skywire-config.json new file mode 100644 index 000000000..892efb1d1 --- /dev/null +++ b/cmd/skywire-cli/skywire-config.json @@ -0,0 +1,83 @@ +{ + "version": "v1.0.0", + "sk": "24db3a001c62baaa5b1a05d3f903e708f9ac0d7ed8d49bc4f1223c6fa94d91d1", + "pk": "02c8ddafcf4d88c0734b98919c4f924ddb542dbba815b0d804e2e0518fa954f096", + "dmsg": { + "discovery": "http://dmsg.discovery.skywire.skycoin.com", + "sessions_count": 1 + }, + "dmsgpty": { + "port": 22, + "authorization_file": "./dmsgpty/whitelist.json", + "cli_network": "unix", + "cli_address": "/tmp/dmsgpty.sock" + }, + "stcp": { + "pk_table": null, + "local_address": ":7777" + }, + "transport": { + "discovery": "http://transport.discovery.skywire.skycoin.com", + "address_resolver": "http://address.resolver.skywire.skycoin.com", + "log_store": { + "type": "file", + "location": "./transport_logs" + }, + "trusted_visors": null + }, + "routing": { + "setup_nodes": [ + "0324579f003e6b4048bae2def4365e634d8e0e3054a20fc7af49daf2a179658557" + ], + "route_finder": "http://routefinder.skywire.skycoin.com", + "route_finder_timeout": "10s" + }, + "uptime_tracker": { + "addr": "http://uptime-tracker.skywire.skycoin.com" + }, + "launcher": { + "discovery": { + "update_interval": "30s", + "proxy_discovery_addr": "http://service.discovery.skycoin.com" + }, + "apps": [ + { + "name": "skychat", + "args": [ + "-addr", + ":8001" + ], + "auto_start": true, + "port": 1 + }, + { + "name": "skysocks", + "auto_start": true, + "port": 3 + }, + { + "name": "skysocks-client", + "auto_start": false, + "port": 13 + }, + { + "name": "vpn-server", + "auto_start": false, + "port": 44 + }, + { + "name": "vpn-client", + "auto_start": false, + "port": 43 + } + ], + "server_addr": "localhost:5505", + "bin_path": "./apps", + "local_path": "./local" + }, + "hypervisors": [], + "cli_addr": "localhost:3435", + "log_level": "info", + "shutdown_timeout": "10s", + "restart_check_delay": "1s" +} \ No newline at end of file diff --git a/cmd/skywire-visor/README.md b/cmd/skywire-visor/README.md new file mode 100644 index 000000000..4a1341d3d --- /dev/null +++ b/cmd/skywire-visor/README.md @@ -0,0 +1,141 @@ +# Skywire Visor Documentation + + +- [Install](#install) +- [skywire-visor usage](#skywire-visor-usage) +- [config file generation](#config-file-generation) + - [Example running from source dir](#example-running-from-source-dir) + - [Example package based installation](#example-package-based-installation) + + + + +## Install + +```bash +$ cd $GOPATH/src/github.com/skycoin/skywire/cmd/skywire-visor +$ go install ./... +``` + +## skywire-visor usage + +After the installation, you can run `skywire-visor -h` to see the usage: + +``` +$ skywire-visor -h +Skywire visor + +Usage: + skywire-visor [flags] + +Flags: + -c, --config string config file location. If the value is 'STDIN', config file will be read from stdin. + --delay string start delay (deprecated) (default "0ns") + -h, --help help for skywire-visor + --pprofaddr string pprof http port if mode is 'http' (default "localhost:6060") + -p, --pprofmode string pprof profiling mode. Valid values: cpu, mem, mutex, block, trace, http + --syslog string syslog server address. E.g. localhost:514 + --tag string logging tag (default "skywire") + -v, --version version for skywire-visor +``` + +## config file generation + +Refer to the skywire-cli documentation for more detailed information regarding additional flags and argument that may be passed to the following command: + +``` +skywire-cli config gen +``` + +With no additional flags or arguments, the configuration is written to skywire-config.json and stdout. + +##### Example running from source dir + +The default filename and paths in the skywire-config.json file are designed for the context of running skywire-visor from within the cloned source repository, wherever it may reside. A brief example of the terminal ouput when running skywire-visor where skywire-config.json exists in the current directory: + +``` +$ skywire-visor +[2021-06-24T22:08:02-05:00] INFO []: Starting +[2021-06-24T22:08:02-05:00] DEBUG []: Process info delay=0s parent_systemd=false systemd=false +Version "0.4.1" built on "2021-03-19T23:26:21Z" against commit "d804a8ce" +[2021-06-24T22:08:02-05:00] INFO [visor:config]: Reading config from file. filepath="/home/user/go/src/github.com/skycoin/skywire/skywire.json" +[2021-06-24T22:08:02-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="/home/user/go/src/github.com/skycoin/skywire/skywire.json" +[2021-06-24T22:08:02-05:00] INFO [visor:startup]: Begin startup. public_key=03e08185a0328b7cfd06b8a6f89d605396217053fa0868872e1dbe77b8bab92e1c +[2021-06-24T22:08:02-05:00] INFO [1/14] [visor:startup:updater]: Starting module... +[2021-06-24T22:08:02-05:00] INFO [1/14] [visor:startup:updater]: Module started successfully. elapsed=21.567µs +[2021-06-24T22:08:02-05:00] INFO [2/14] [visor:startup:eventbroadcaster]: Starting module... +[2021-06-24T22:08:02-05:00] INFO [2/14] [visor:startup:eventbroadcaster]: Module started successfully. elapsed=12.082µs +[2021-06-24T22:08:02-05:00] INFO [3/14] [visor:startup:addressresolver]: Starting module... +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: Remote UDP server: "address.resolver.skywire.skycoin.com:30178" +[2021-06-24T22:08:02-05:00] INFO [3/14] [visor:startup:addressresolver]: Module started successfully. elapsed=42.696µs +[2021-06-24T22:08:02-05:00] INFO [4/14] [visor:startup:discovery]: Starting module... +[2021-06-24T22:08:02-05:00] INFO [4/14] [visor:startup:discovery]: Module started successfully. elapsed=31.709µs +[2021-06-24T22:08:02-05:00] INFO [5/14] [visor:startup:snet]: Starting module... +[2021-06-24T22:08:02-05:00] INFO [snet.dmsgC]: Discovering dmsg servers... +[2021-06-24T22:08:02-05:00] INFO [snet.dmsgC]: Connecting to the dmsg network... timeout=20s +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: BindSUDPR: Address resolver is not ready yet, waiting... +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: BindSTCPR: Address resolver is not ready yet, waiting... +[2021-06-24T22:08:02-05:00] INFO [stcp]: listening on addr: [::]:7777 +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: Connected to address resolver. STCPR/SUDPH services are available. +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: BindSUDPR: Address resolver became ready, binding +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: BindSTCPR: Address resolver became ready, binding +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: SUDPH Local port: 57644 +[2021-06-24T22:08:02-05:00] INFO [address-resolver]: Performing handshake with 172.104.37.46:30178 +[2021-06-24T22:08:03-05:00] INFO [stcpr]: listening on addr: [::]:45999 +[2021-06-24T22:08:03-05:00] INFO [snet.dmsgC]: Dialing session... remote_pk=02a49bc0aa1b5b78f638e9189be4ed095bac5d6839c828465a8350f80ac07629c0 +``` + +##### Example for package based installation + +Assuming that skywire is installed to /opt/skywire; with app binaries installed at /opt/skywire/apps and the main skywire binaries directly in or symlinked to the executable path. All files generated by running skywire-visor will populate in /opt/skywire + +The configuration file is generated in the following way + +for a visor with local hypervisor: + +``` +$ skywire-cli config gen -ip +``` + +for visor with remote hypervisor; first copy the existing configuration file to keep the same keys. + +``` +# cp /opt/skywire/skywire.json /opt/skywire/skywire-visor.json +# skywire-cli config gen --hypervisor-pks -p +``` + +These two configuration files can be referenced in systemd service files or init scripts to start skywire with either a local or remote hypervisor. + +To clarify some terminology; a 'visor' is a running instance of skywire-visor. Previously, on the testnet, this was called a 'node'. This was changed for the sake of differentiating the hardware from the software when troubleshooting issues. The 'public key' in the configuration file is referred to as the 'visor key' or the visor's public key. In the context of using a visor which is running a hypervisor instance as a remote hypervisor for another visor, the public key (visor key) of the visor running the hypervisor web instance is referred to as the 'hypervisor key' or the hypervisor's public key. A hypervisor key is a visor key, these terms are used interchangeably and refer to the same thing for a visor running a hypervisor instance. + +``` +# skywire -c /opt/skywire/skywire.json +[2021-06-25T14:48:16-05:00] INFO []: Starting +[2021-06-25T14:48:16-05:00] DEBUG []: Process info delay=0s parent_systemd=false systemd=false +Version "0.4.1" built on "2021-03-19T23:26:21Z" against commit "d804a8ce" +[2021-06-25T14:48:16-05:00] INFO [visor:config]: Reading config from file. filepath="/opt/skywire/skywire.json" +[2021-06-25T14:48:16-05:00] INFO [visor:config]: Flushing config to file. config_version="v1.0.0" filepath="/opt/skywire/skywire.json" +[2021-06-25T14:48:16-05:00] INFO [visor:startup]: Begin startup. public_key=03e08185a0328b7cfd06b8a6f89d605396217053fa0868872e1dbe77b8bab92e1c +[2021-06-25T14:48:16-05:00] INFO [1/14] [visor:startup:updater]: Starting module... +[2021-06-25T14:48:16-05:00] INFO [1/14] [visor:startup:updater]: Module started successfully. elapsed=18.498µs +[2021-06-25T14:48:16-05:00] INFO [2/14] [visor:startup:eventbroadcaster]: Starting module... +[2021-06-25T14:48:16-05:00] INFO [2/14] [visor:startup:eventbroadcaster]: Module started successfully. elapsed=11.675µs +[2021-06-25T14:48:16-05:00] INFO [3/14] [visor:startup:addressresolver]: Starting module... +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: Remote UDP server: "address.resolver.skywire.skycoin.com:30178" +[2021-06-25T14:48:16-05:00] INFO [3/14] [visor:startup:addressresolver]: Module started successfully. elapsed=40.618µs +[2021-06-25T14:48:16-05:00] INFO [4/14] [visor:startup:discovery]: Starting module... +[2021-06-25T14:48:16-05:00] INFO [4/14] [visor:startup:discovery]: Module started successfully. elapsed=13.03µs +[2021-06-25T14:48:16-05:00] INFO [5/14] [visor:startup:snet]: Starting module... +[2021-06-25T14:48:16-05:00] INFO [snet.dmsgC]: Discovering dmsg servers... +[2021-06-25T14:48:16-05:00] INFO [snet.dmsgC]: Connecting to the dmsg network... timeout=20s +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: BindSUDPR: Address resolver is not ready yet, waiting... +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: BindSTCPR: Address resolver is not ready yet, waiting... +[2021-06-25T14:48:16-05:00] INFO [stcp]: listening on addr: [::]:7777 +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: Connected to address resolver. STCPR/SUDPH services are available. +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: BindSUDPR: Address resolver became ready, binding +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: BindSTCPR: Address resolver became ready, binding +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: SUDPH Local port: 40418 +[2021-06-25T14:48:16-05:00] INFO [address-resolver]: Performing handshake with 172.104.37.46:30178 +[2021-06-25T14:48:16-05:00] INFO [stcpr]: listening on addr: [::]:35001 +[2021-06-25T14:48:28-05:00] INFO [snet.dmsgC]: Dialing session... remote_pk=02a49bc0aa1b5b78f638e9189be4ed095bac5d6839c828465a8350f80ac07629c0 +``` diff --git a/cmd/skywire-visor/commands/nosystray.go b/cmd/skywire-visor/commands/nosystray.go new file mode 100644 index 000000000..242dec655 --- /dev/null +++ b/cmd/skywire-visor/commands/nosystray.go @@ -0,0 +1,36 @@ +//go:build !systray +// +build !systray + +package commands + +import ( + "context" + + "github.com/skycoin/skycoin/src/util/logging" +) + +func extraFlags() { + +} + +func runApp(args ...string) { + runVisor(args) +} + +// setStopFunction sets the stop function +func setStopFunction(log *logging.MasterLogger, cancel context.CancelFunc, fn func() error) { + stopVisorWg.Add(1) + defer stopVisorWg.Done() + + stopVisorFn = func() { + if err := fn(); err != nil { + log.WithError(err).Error("Visor closed with error.") + } + cancel() + stopVisorWg.Wait() + } +} + +// quitSystray is a stub +func quitSystray() { +} diff --git a/cmd/skywire-visor/commands/root.go b/cmd/skywire-visor/commands/root.go index 46bb39b6c..74aef765e 100644 --- a/cmd/skywire-visor/commands/root.go +++ b/cmd/skywire-visor/commands/root.go @@ -2,45 +2,66 @@ package commands import ( "context" + "embed" "fmt" "io" + "io/fs" "io/ioutil" "net/http" _ "net/http/pprof" // nolint:gosec // https://golang.org/doc/diagnostics.html#profiling "os" "os/exec" + "path/filepath" "strings" + "sync" "syscall" "time" "github.com/pkg/profile" "github.com/skycoin/dmsg/buildinfo" "github.com/skycoin/dmsg/cmdutil" - "github.com/skycoin/dmsg/discord" "github.com/skycoin/skycoin/src/util/logging" "github.com/spf13/cobra" + "github.com/toqueteos/webbrowser" "github.com/skycoin/skywire/pkg/restart" + "github.com/skycoin/skywire/pkg/skyenv" "github.com/skycoin/skywire/pkg/syslog" "github.com/skycoin/skywire/pkg/visor" + "github.com/skycoin/skywire/pkg/visor/logstore" "github.com/skycoin/skywire/pkg/visor/visorconfig" ) +var uiAssets fs.FS + var restartCtx = restart.CaptureContext() const ( - defaultConfigName = "skywire-config.json" + defaultConfigName = "skywire-config.json" + runtimeLogMaxEntries = 300 ) var ( - tag string - syslogAddr string - pprofMode string - pprofAddr string - confPath string - delay string + tag string + syslogAddr string + pprofMode string + pprofAddr string + confPath string + delay string + launchBrowser bool + stopVisorFn func() // nolint:unused + stopVisorWg sync.WaitGroup ) +var rootCmd = &cobra.Command{ + Use: "skywire-visor", + Short: "Skywire visor", + Run: func(_ *cobra.Command, args []string) { + runApp(args...) + }, + Version: buildinfo.Version(), +} + func init() { rootCmd.Flags().StringVar(&tag, "tag", "skywire", "logging tag") rootCmd.Flags().StringVar(&syslogAddr, "syslog", "", "syslog server address. E.g. localhost:514") @@ -48,94 +69,99 @@ func init() { rootCmd.Flags().StringVar(&pprofAddr, "pprofaddr", "localhost:6060", "pprof http port if mode is 'http'") rootCmd.Flags().StringVarP(&confPath, "config", "c", "", "config file location. If the value is 'STDIN', config file will be read from stdin.") rootCmd.Flags().StringVar(&delay, "delay", "0ns", "start delay (deprecated)") // deprecated + rootCmd.Flags().BoolVar(&launchBrowser, "launch-browser", false, "open hypervisor web ui (hypervisor only) with system browser") + extraFlags() } -var rootCmd = &cobra.Command{ - Use: "skywire-visor", - Short: "Skywire visor", - Run: func(_ *cobra.Command, args []string) { - log := initLogger(tag, syslogAddr) +func runVisor(args []string) { + var ok bool + log := initLogger(tag, syslogAddr) + store, hook := logstore.MakeStore(runtimeLogMaxEntries) + log.AddHook(hook) - if discordWebhookURL := discord.GetWebhookURLFromEnv(); discordWebhookURL != "" { - // Workaround for Discord logger hook. Actually, it's Info. - log.Error(discord.StartLogMessage) - defer log.Error(discord.StopLogMessage) + delayDuration, err := time.ParseDuration(delay) + if err != nil { + log.WithError(err).Error("Failed to parse delay duration.") + delayDuration = time.Duration(0) + } + log.WithField("delay", delayDuration). + WithField("systemd", restartCtx.Systemd()). + WithField("parent_systemd", restartCtx.ParentSystemd()). + WithField("skybian_build_version", os.Getenv("SKYBIAN_BUILD_VERSION")). + WithField("build_tag", visor.BuildTag). + Debugf("Process info") + + // Versions v0.2.3 and below return 0 exit-code after update and do not trigger systemd to restart a process + // and therefore do not support restart via systemd. + // If --delay flag is passed, version is v0.2.3 or below. + // Systemd has PID 1. If PPID is not 1 and PPID of parent process is 1, then + // this process is a child process that is run after updating by a skywire-visor that is run by systemd. + if delayDuration != 0 && !restartCtx.Systemd() && restartCtx.ParentSystemd() { + // As skywire-visor checks if new process is run successfully in `restart.DefaultCheckDelay` after update, + // new process should be alive after `restart.DefaultCheckDelay`. + time.Sleep(restart.DefaultCheckDelay) + + // When a parent process exits, systemd kills child processes as well, + // so a child process can ask systemd to restart service between after restart.DefaultCheckDelay + // but before (restart.DefaultCheckDelay + restart.extraWaitingTime), + // because after that time a parent process would exit and then systemd would kill its children. + // In this case, systemd would kill both parent and child processes, + // then restart service using an updated binary. + cmd := exec.Command("systemctl", "restart", "skywire-visor") // nolint:gosec + if err := cmd.Run(); err != nil { + log.WithError(err).Errorf("Failed to restart skywire-visor service") } else { - log.Info(discord.StartLogMessage) - defer log.Info(discord.StopLogMessage) + log.WithError(err).Infof("Restarted skywire-visor service") } - delayDuration, err := time.ParseDuration(delay) - if err != nil { - log.WithError(err).Error("Failed to parse delay duration.") - delayDuration = time.Duration(0) + // Detach child from parent. + if _, err := syscall.Setsid(); err != nil { + log.WithError(err).Errorf("Failed to call setsid()") } + } - log.WithField("delay", delayDuration). - WithField("systemd", restartCtx.Systemd()). - WithField("parent_systemd", restartCtx.ParentSystemd()). - Debugf("Process info") - - // Versions v0.2.3 and below return 0 exit-code after update and do not trigger systemd to restart a process - // and therefore do not support restart via systemd. - // If --delay flag is passed, version is v0.2.3 or below. - // Systemd has PID 1. If PPID is not 1 and PPID of parent process is 1, then - // this process is a child process that is run after updating by a skywire-visor that is run by systemd. - if delayDuration != 0 && !restartCtx.Systemd() && restartCtx.ParentSystemd() { - // As skywire-visor checks if new process is run successfully in `restart.DefaultCheckDelay` after update, - // new process should be alive after `restart.DefaultCheckDelay`. - time.Sleep(restart.DefaultCheckDelay) - - // When a parent process exits, systemd kills child processes as well, - // so a child process can ask systemd to restart service between after restart.DefaultCheckDelay - // but before (restart.DefaultCheckDelay + restart.extraWaitingTime), - // because after that time a parent process would exit and then systemd would kill its children. - // In this case, systemd would kill both parent and child processes, - // then restart service using an updated binary. - cmd := exec.Command("systemctl", "restart", "skywire-visor") // nolint:gosec - if err := cmd.Run(); err != nil { - log.WithError(err).Errorf("Failed to restart skywire-visor service") - } else { - log.WithError(err).Infof("Restarted skywire-visor service") - } - - // Detach child from parent. - if _, err := syscall.Setsid(); err != nil { - log.WithError(err).Errorf("Failed to call setsid()") - } - } + time.Sleep(delayDuration) - time.Sleep(delayDuration) + if _, err := buildinfo.Get().WriteTo(log.Out); err != nil { + log.WithError(err).Error("Failed to output build info.") + } - if _, err := buildinfo.Get().WriteTo(log.Out); err != nil { - log.WithError(err).Error("Failed to output build info.") - } + stopPProf := initPProf(log, tag, pprofMode, pprofAddr) + defer stopPProf() - stopPProf := initPProf(log, tag, pprofMode, pprofAddr) - defer stopPProf() + conf := initConfig(log, args, confPath) - conf := initConfig(log, args, confPath) + vis, ok := visor.NewVisor(conf, restartCtx) + if !ok { + log.Errorln("Failed to start visor.") + quitSystray() + return + } + vis.SetLogstore(store) - v, ok := visor.NewVisor(conf, restartCtx) - if !ok { - log.Fatal("Failed to start visor.") - } + if launchBrowser { + runBrowser(conf, log) + } - ctx, cancel := cmdutil.SignalContext(context.Background(), log) - defer cancel() + ctx, cancel := cmdutil.SignalContext(context.Background(), log) + setStopFunction(log, cancel, vis.Close) - // Wait. - <-ctx.Done() + // Wait. + <-ctx.Done() - if err := v.Close(); err != nil { - log.WithError(err).Error("Visor closed with error.") - } - }, - Version: buildinfo.Version(), + stopVisorFn() } // Execute executes root CLI command. -func Execute() { +func Execute(ui embed.FS) { + uiFS, err := fs.Sub(ui, "static") + if err != nil { + fmt.Println(err) + os.Exit(1) + } + + uiAssets = uiFS + if err := rootCmd.Execute(); err != nil { fmt.Println(err) } @@ -154,12 +180,6 @@ func initLogger(tag string, syslogAddr string) *logging.MasterLogger { } } - if discordWebhookURL := discord.GetWebhookURLFromEnv(); discordWebhookURL != "" { - discordOpts := discord.GetDefaultOpts() - hook := discord.NewHook(tag, discordWebhookURL, discordOpts...) - log.AddHook(hook) - } - return log } @@ -217,7 +237,7 @@ func initConfig(mLog *logging.MasterLogger, args []string, confPath string) *vis } if confPath == "" { - confPath = "/opt/skywire/" + defaultConfigName + confPath = filepath.Join(skyenv.PackageSkywirePath(), defaultConfigName) } fallthrough @@ -247,5 +267,55 @@ func initConfig(mLog *logging.MasterLogger, args []string, confPath string) *vis log.WithError(err).Fatal("Failed to parse config.") } + if conf.Hypervisor != nil { + conf.Hypervisor.UIAssets = uiAssets + } + return conf } + +func runBrowser(conf *visorconfig.V1, log *logging.MasterLogger) { + if conf.Hypervisor == nil { + log.Errorln("Cannot start browser with a regular visor") + return + } + addr := conf.Hypervisor.HTTPAddr + if addr[0] == ':' { + addr = "localhost" + addr + } + if addr[:4] != "http" { + if conf.Hypervisor.EnableTLS { + addr = "https://" + addr + } else { + addr = "http://" + addr + } + } + go func() { + if !checkHvIsRunning(addr, 5) { + log.Error("Cannot open hypervisor in browser: status check failed") + return + } + if err := webbrowser.Open(addr); err != nil { + log.WithError(err).Error("webbrowser.Open failed") + } + }() +} + +func checkHvIsRunning(addr string, retries int) bool { + url := addr + "/api/ping" + for i := 0; i < retries; i++ { + time.Sleep(500 * time.Millisecond) + resp, err := http.Get(url) // nolint: gosec + if err != nil { + continue + } + err = resp.Body.Close() + if err != nil { + continue + } + if resp.StatusCode < 400 { + return true + } + } + return false +} diff --git a/cmd/skywire-visor/commands/systray.go b/cmd/skywire-visor/commands/systray.go new file mode 100644 index 000000000..40d101ea4 --- /dev/null +++ b/cmd/skywire-visor/commands/systray.go @@ -0,0 +1,60 @@ +//go:build systray +// +build systray + +package commands + +import ( + "context" + + "github.com/getlantern/systray" + "github.com/skycoin/skycoin/src/util/logging" + + "github.com/skycoin/skywire/internal/gui" +) + +var ( + runSysTrayApp bool +) + +func extraFlags() { + rootCmd.Flags().BoolVar(&runSysTrayApp, "systray", false, "Run system tray app") +} + +func runApp(args ...string) { + l := logging.NewMasterLogger() + sysTrayIcon, err := gui.ReadSysTrayIcon() + if err != nil { + l.WithError(err).Fatalln("Failed to read system tray icon") + } + + go func() { + runVisor(args) + systray.Quit() + }() + + conf := initConfig(l, args, confPath) + + systray.Run(gui.GetOnGUIReady(sysTrayIcon, conf), gui.OnGUIQuit) + +} + +func setStopFunction(log *logging.MasterLogger, cancel context.CancelFunc, fn func() error) { + stopVisorWg.Add(1) + defer stopVisorWg.Done() + + stopVisorFn = func() { + if err := fn(); err != nil { + log.WithError(err).Error("Visor closed with error.") + } + cancel() + stopVisorWg.Wait() + } + + gui.SetStopVisorFn(func() { + stopVisorFn() + }) +} + +func quitSystray() { + systray.Quit() +} diff --git a/cmd/skywire-visor/skywire-visor.go b/cmd/skywire-visor/skywire-visor.go index d4aa990b7..8422dfa7d 100644 --- a/cmd/skywire-visor/skywire-visor.go +++ b/cmd/skywire-visor/skywire-visor.go @@ -4,9 +4,14 @@ skywire visor package main import ( + "embed" + "github.com/skycoin/skywire/cmd/skywire-visor/commands" ) +//go:embed static +var uiAssets embed.FS + func main() { - commands.Execute() + commands.Execute(uiAssets) } diff --git a/cmd/skywire-visor/static/268.98e368fd747b9c1d73c1.js b/cmd/skywire-visor/static/268.98e368fd747b9c1d73c1.js new file mode 100644 index 000000000..936dab8cf --- /dev/null +++ b/cmd/skywire-visor/static/268.98e368fd747b9c1d73c1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{84268:function(e){e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"S\xed","no":"No","unknown":"Desconocido","close":"Cerrar","window-size-error":"La ventana es demasiado estrecha para el contenido."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","info":"Etiquetas que ha introducido para identificar f\xe1cilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una m\xe1quina.","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","filter-info":"Lista de filtros.","press-to-remove":"(Presione para remover los filtros)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"Etiqueta","label":"(etiqueta)","inverted-order":"(invertido)"},"start":{"title":"Inicio"},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","connecting":"Conectando","connecting-tooltip":"El visor se encuentra online, pero todav\xeda est\xe1 conectando con el uptime tracker.","unknown":"Desconocido","unknown-tooltip":"El visor se encuentra online, pero no ha sido posible determinar si est\xe1 conectado con el uptime tracker.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online, pero desconectado del uptime tracker.","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","symmetic-nat":"NAT sim\xe9trica:","public-ip":"IP p\xfablica:","ip":"IP:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","build-type":"Tipo de build:","skybian-version":"Versi\xf3n de Skybian:","unknown-build":"Desconocido","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"transports-info":{"title":"Informaci\xf3n de Transportes","autoconnect":"Autoconectar:","autoconnect-info":"Al activarse, el visor crear\xe1 autom\xe1ticamente los transportes necesarios cuando se solicite la conexi\xf3n a un visor p\xfablico. Al desactivarse, los transportes deber\xe1n ser creados antes de poder establecer la conexi\xf3n.","enabled":"Activado","disabled":"Desactivado","enable-button":"Activar","disable-button":"Desactivar","enable-confirmation":"\xbfSeguro que desea activar la funci\xf3n de autoconectar?","disable-confirmation":"\xbfSeguro que desea desactivar la funci\xf3n de autoconectar?","enable-done":"La funci\xf3n de autoconectar ha sido activada.","disable-done":"La funci\xf3n de autoconectar ha sido desactivada."},"router-info":{"title":"Informaci\xf3n del Enrutador","min-hops":"Saltos m\xednimos:","max-hops":"Saltos m\xe1ximos:","change-config-button":"Cambiar configuraci\xf3n"},"node-health":{"title":"Informaci\xf3n de Salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"router-config":{"title":"Configuraci\xf3n del Enrutador","info":"Aqu\xed podr\xe1 configurar cuantos saltos la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectar\xe1n a las rutas ya existentes.","min-hops":"Saltos m\xednimos","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores online","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar","logs":"Ver logs"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","with-error":"No fue posible verificar los siguientes visores:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","open":"Abrir","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-stopped":"Detenida","status-failed":"Fallida","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"Algo sali\xf3 mal. Revise los mensajes de la aplicaci\xf3n para m\xe1s informaci\xf3n"},"transports":{"title":"Transportes","info":"Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.","list-title":"Lista de transportes","offline":"Offline","persistent":"Persistente","persistent-tooltip":"Transportes persistentes, los cuales son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-button-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n. Presione aqu\xed para volverlo no persistente.","non-persistent-transport-button-tooltip":"Presione aqu\xed para volver persistente el transporte. Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","make-persistent":"Volver persistente","make-non-persistent":"Volver no persistente","make-selected-persistent":"Volver persistentes los seleccionados","make-selected-non-persistent":"Volver no persistentes los seleccionados","changes-made":"Cambios hechos.","no-changes-needed":"Ning\xfan cambio fue necesario.","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","make-persistent-confirmation":"\xbfSeguro que desea volver persistente el transporte?","make-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte?","make-selected-persistent-confirmation":"\xbfSeguro que desea volver persistentes los transportes seleccionados?","make-selected-non-persistent-confirmation":"\xbfSeguro que desea volver no persistentes los transportes seleccionados?","make-offline-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte? No seguir\xe1 siendo mostrado en la lista mientras se encuentre offline.","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-persistent-confirmation":"Este transporte es persistente, as\xed que puede ser recreado poco despu\xe9s de ser borrado. \xbfSeguro que desea borrarlo?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","persistent":"Persistente:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","make-persistent":"Hacer persistente","persistent-tooltip":"Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","only-persistent-created":"El transporte persistente fue creado, pero podr\xeda no haber sido activado.","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"persistent":"El transporte debe ser","id":"El id debe contener","remote-node":"La llave remota debe contener","persistent-options":{"any":"Cualquiera","persistent":"Persistente","non-persistent":"No persistente"}}},"routes":{"title":"Rutas","info":"Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan autom\xe1ticamente seg\xfan sea necesario.","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"},"vpn":{"title":"Panel de Control de VPN","start":"Inicio","servers":"Servidores","settings":"Configuracion","unnamed":"Sin nombre","starting-blocked-server-error":"No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.","unexpedted-error":"Se produjo un error inesperado y no se pudo completar la operaci\xf3n.","remote-access-title":"Parece que est\xe1 accediendo al sistema de manera remota","remote-access-text":"Esta aplicaci\xf3n s\xf3lo permite administrar la protecci\xf3n VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectar\xe1n a dispositivos remotos como el que parece estar usando. Tambi\xe9n es posible que los datos de IP que se muestren sean incorrectos.","server-change":{"busy-error":"El sistema est\xe1 ocupado. Por favor, espere.","backend-error":"No fue posible cambiar el servidor. Por favor, aseg\xfarese de que la clave p\xfablica sea correcta y de que la aplicaci\xf3n VPN se est\xe9 ejecutando.","already-selected-warning":"El servidor seleccionado ya est\xe1 siendo utilizando.","change-server-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se cambia el servidor y algunos datos pueden transmitirse sin protecci\xf3n durante el proceso. \xbfDesea continuar?","start-same-server-confirmation":"Ya hab\xeda seleccionado ese servidor. \xbfDesea conectarte a \xe9l?"},"error-page":{"text":"La aplicaci\xf3n de cliente VPN no est\xe1 disponible.","more-info":"No fue posible conectarse a la aplicaci\xf3n cliente VPN. Esto puede deberse a un error de configuraci\xf3n, un problema inesperado con el visor o porque utiliz\xf3 una clave p\xfablica no v\xe1lida en la URL.","text-pk":"Configuraci\xf3n inv\xe1lida.","more-info-pk":"La aplicaci\xf3n no puede ser iniciada porque no ha especificado la clave p\xfablica del visor.","text-storage":"Error al guardar los datos.","more-info-storage":"Ha habido un conflicto al intentar guardar los datos y la aplicaci\xf3n se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicaci\xf3n en m\xe1s de una pesta\xf1a o ventana.","text-pk-change":"Operaci\xf3n inv\xe1lida.","more-info-pk-change":"Por favor, utilice esta aplicaci\xf3n para administrar s\xf3lo un cliente VPN."},"connection-info":{"state-title":"El estado de tu conexi\xf3n es actualmente:","state-connecting":"Conectando","state-connecting-info":"Se est\xe1 activando la protecci\xf3n VPN.","state-connected":"Conectado","state-connected-info":"La protecci\xf3n VPN est\xe1 activada.","state-disconnecting":"Desconectando","state-disconnecting-info":"Se est\xe1 desactivando la protecci\xf3n VPN.","state-reconnecting":"Reconectando","state-reconnecting-info":"Se est\xe1 restaurando la protecci\xf3n de VPN.","state-disconnected":"Desconectado","state-disconnected-info":"La protecci\xf3n VPN est\xe1 desactivada.","state-info":"Estado actual de la conexi\xf3n.","latency-info":"Latencia actual.","upload-info":"Velocidad de subida.","download-info":"Velocidad de descarga."},"connection-error":{"text":"Error de conexi\xf3n","info":"Problema conectando con la app vpn. Algunos datos mostrados podr\xedan estar desactualizados."},"status-page":{"start-title":"Iniciar VPN","no-server":"\xa1Ning\xfan servidor seleccionado!","disconnect":"Desconectar","last-error":"\xdaltimo error:","unknown-error":"Error desconocido.","disconnect-confirmation":"\xbfRealmente desea detener la protecci\xf3n VPN?","upload-info":"Estad\xedsticas de datos subidos.","download-info":"Estad\xedsticas de datos descargados.","latency-info":"Estad\xedsticas de latencia.","total-data-label":"total","problem-connecting-error":"No fue posible conectarse al servidor. El servidor puede no ser v\xe1lido o estar temporalmente inactivo.","problem-starting-error":"No fue posible iniciar la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","problem-stopping-error":"No fue posible detener la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","generic-problem-error":"No fue posible realizar la operaci\xf3n. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","select-server-warning":"Por favor, seleccione un servidor primero.","data":{"ip":"Direcci\xf3n IP:","ip-problem-info":"Hubo un problema al intentar obtener la IP. Por favor, verif\xedquela utilizando un servicio externo.","ip-country-problem-info":"Hubo un problema al intentar obtener el pa\xeds. Por favor, verif\xedquelo utilizando un servicio externo.","ip-refresh-info":"Refrescar","ip-refresh-time-warning":"Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.","ip-refresh-loading-warning":"Por favor, espere a que finalice la operaci\xf3n anterior.","country":"Pa\xeds:","server":"Servidor:","server-note":"Nota del servidor:","original-server-note":"Nota original del servidor:","local-pk":"Llave p\xfablica del visor local:","remote-pk":"Llave p\xfablica del visor remoto:","unavailable":"No disponible"}},"server-options":{"tooltip":"Opciones","connect-without-password":"Conectarse sin contrase\xf1a","connect-without-password-confirmation":"La conexi\xf3n se realizar\xe1 sin la contrase\xf1a. \xbfSeguro que desea continuar?","connect-using-password":"Conectarse usando una contrase\xf1a","connect-using-another-password":"Conectarse usando otra contrase\xf1a","edit-name":"Nombre personalizado","edit-label":"Nota personalizada","make-favorite":"Hacer favorito","make-favorite-confirmation":"\xbfRealmente desea marcar este servidor como favorito? Se eliminar\xe1 de la lista de bloqueados.","make-favorite-done":"Agregado a la lista de favoritos.","remove-from-favorites":"Quitar de favoritos","remove-from-favorites-done":"Eliminado de la lista de favoritos.","block":"Bloquear servidor","block-done":"Agregado a la lista de bloqueados.","block-confirmation":"\xbfRealmente desea bloquear este servidor? Se eliminar\xe1 de la lista de favoritos.","block-selected-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones.","block-selected-favorite-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones y se eliminar\xe1 de la lista de favoritos.","unblock":"Desbloquear servidor","unblock-done":"Eliminado de la lista de bloqueados.","remove-from-history":"Quitar del historial","remove-from-history-confirmation":"\xbfRealmente desea quitar del historial el servidor?","remove-from-history-done":"Eliminado del historial.","edit-value":{"name-title":"Nombre Personalizado","note-title":"Nota Personalizada","name-label":"Nombre personalizado","note-label":"Nota personalizada","apply-button":"Aplicar","changes-made-confirmation":"Se ha realizado el cambio."}},"server-conditions":{"selected-info":"Este es el servidor actualmente seleccionado.","blocked-info":"Este servidor est\xe1 en la lista de bloqueados.","favorite-info":"Este servidor est\xe1 en la lista de favoritos.","history-info":"Este servidor est\xe1 en el historial de servidores.","has-password-info":"Se estableci\xf3 una contrase\xf1a para conectarse con este servidor."},"server-list":{"date-small-table-label":"Fecha","date-info":"\xdaltima vez en la que us\xf3 este servidor.","country-small-table-label":"Pa\xeds","country-info":"Pa\xeds donde se encuentra el servidor.","name-small-table-label":"Nombre","location-small-table-label":"Ubicaci\xf3n","public-key-small-table-label":"Lp","public-key-info":"Llave p\xfablica del servidor.","congestion-rating-small-table-label":"Calificaci\xf3n de congesti\xf3n","congestion-rating-info":"Calificaci\xf3n del servidor relacionada con lo congestionado que suele estar.","congestion-small-table-label":"Congesti\xf3n","congestion-info":"Congesti\xf3n actual del servidor.","latency-rating-small-table-label":"Calificaci\xf3n de latencia","latency-rating-info":"Calificaci\xf3n del servidor relacionada con la latencia que suele tener.","latency-small-table-label":"Latencia","latency-info":"Latencia actual del servidor.","hops-small-table-label":"Saltos","hops-info":"Cu\xe1ntos saltos se necesitan para conectarse con el servidor.","note-small-table-label":"Nota","note-info":"Nota acerca del servidor.","gold-rating-info":"Oro","silver-rating-info":"Plata","bronze-rating-info":"Bronce","notes-info":"Nota personalizada: {{ custom }} - Nota original: {{ original }}","empty-discovery":"Actualmente no hay servidores VPN para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","empty-history":"No hay historial que mostrar.","empty-favorites":"No hay servidores favoritos para mostrar.","empty-blocked":"No hay servidores bloqueados para mostrar.","empty-with-filter":"Ning\xfan servidor VPN coincide con los criterios de filtrado seleccionados.","add-manually-info":"Agregar el servidor manualmente.","current-filters":"Filtros actuales (presione para eliminar)","none":"Ninguno","unknown":"Desconocido","tabs":{"public":"P\xfablicos","history":"Historial","favorites":"Favoritos","blocked":"Bloqueados"},"add-server-dialog":{"title":"Ingresar manualmente","pk-label":"Llave p\xfablica del servidor","password-label":"Contrase\xf1a del servidor (si tiene)","name-label":"Nombre del servidor (opcional)","note-label":"Nota personal (opcional)","pk-length-error":"La llave p\xfablica debe tener 66 caracteres.","pk-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","use-server-button":"Usar servidor"},"password-dialog":{"title":"Introducir Contrase\xf1a","password-if-any-label":"Contrase\xf1a del servidor (si tiene)","password-label":"Contrase\xf1a del servidor","continue-button":"Continuar"},"filter-dialog":{"country":"El pa\xeds debe ser","name":"El nombre debe contener","location":"La ubicaci\xf3n debe contener","public-key":"La llave p\xfablica debe contener","congestion-rating":"La calificaci\xf3n de congesti\xf3n debe ser","latency-rating":"La calificaci\xf3n de latencia debe ser","rating-options":{"any":"Cualquiera","gold":"Oro","silver":"Plata","bronze":"Bronce"},"country-options":{"any":"Cualquiera"}}},"settings-page":{"setting-small-table-label":"Ajuste","value-small-table-label":"Valor","killswitch":"Killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","get-ip":"Obtener informaci\xf3n de IP","get-ip-info":"Cuando est\xe1 activa, la aplicaci\xf3n utilizar\xe1 servicios externos para obtener informaci\xf3n sobre la IP actual.","data-units":"Unidades de datos","data-units-info":"Permite seleccionar las unidades que se utilizar\xe1n para mostrar las estad\xedsticas de transmisi\xf3n de datos.","minimum-hops":"Saltos m\xednimos","minimum-hops-info":"Permite configurar la cantidad m\xednima de saltos que la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final.","setting-on":"Encendido","setting-off":"Apagado","working-warning":"El sistema est\xe1 ocupado. Por favor, espere a que finalice la operaci\xf3n anterior.","change-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se realiza el cambio. \xbfDesea continuar?","data-units-modal":{"title":"Unidades de Datos","only-bits":"Bits para todas las estad\xedsticas","only-bytes":"Bytes para todas las estad\xedsticas","bits-speed-and-bytes-volume":"Bits para velocidad y bytes para volumen (predeterminado)"}}}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/3rdpartylicenses.txt b/cmd/skywire-visor/static/3rdpartylicenses.txt similarity index 91% rename from static/skywire-manager-src/dist/3rdpartylicenses.txt rename to cmd/skywire-visor/static/3rdpartylicenses.txt index 20a1082af..ee27fa324 100644 --- a/static/skywire-manager-src/dist/3rdpartylicenses.txt +++ b/cmd/skywire-visor/static/3rdpartylicenses.txt @@ -30,7 +30,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +Copyright (c) 2021 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -64,7 +64,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +Copyright (c) 2021 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -247,7 +247,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI core-js MIT -Copyright (c) 2014-2018 Denis Pushkarev +Copyright (c) 2014-2021 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -268,30 +268,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -css-loader -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - moment MIT Copyright (c) JS Foundation and other contributors @@ -549,35 +525,11 @@ Apache-2.0 -webpack -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. http://angular.io/license +Copyright (c) 2010-2020 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/static/skywire-manager-src/dist/9.28280a196edf9818e2b5.js b/cmd/skywire-visor/static/431.2466f78395672178a3a2.js similarity index 53% rename from static/skywire-manager-src/dist/9.28280a196edf9818e2b5.js rename to cmd/skywire-visor/static/431.2466f78395672178a3a2.js index 7c2bb57f4..91a9ea864 100644 --- a/static/skywire-manager-src/dist/9.28280a196edf9818e2b5.js +++ b/cmd/skywire-visor/static/431.2466f78395672178a3a2.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{bIFx:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","active-filters":"Active filters: ","press-to-remove":"(Press to remove)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","ascending-order":"(ascending)","descending-order":"(descending)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-offline-nodes":"No offline visors found.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[431],{3431:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js b/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js new file mode 100644 index 000000000..fb229dbeb --- /dev/null +++ b/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[48],{77048:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/502.5de3361ded7246ff3f59.js b/cmd/skywire-visor/static/502.5de3361ded7246ff3f59.js new file mode 100644 index 000000000..ac55d5cb6 --- /dev/null +++ b/cmd/skywire-visor/static/502.5de3361ded7246ff3f59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{40502:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","uptime-tracker":"Uptime tracker:","connected":"Connected","disconnected":"Disconnected"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/634.58120e5014668deb7e50.js b/cmd/skywire-visor/static/634.58120e5014668deb7e50.js new file mode 100644 index 000000000..46cc6e56d --- /dev/null +++ b/cmd/skywire-visor/static/634.58120e5014668deb7e50.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[634],{23634:function(e){e.exports=JSON.parse('{"common":{"save":"Speichern","cancel":"Abbrechen","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden.","logout-confirmation":"Wirklich abmelden?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unbekannt","close":"Schlie\xdfen"},"labeled-element":{"edit-label":"Bezeichnung \xe4ndern","remove-label":"Bezeichnung l\xf6schen","copy":"Kopieren","remove-label-confirmation":"Bezeichnung wirklich l\xf6schen?","unnamed-element":"Unbenannt","unnamed-local-visor":"Lokaler Visor","local-element":"Lokal","tooltip":"Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern","tooltip-with-text":"{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern)"},"labels":{"title":"Bezeichnung","info":"Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.","list-title":"Bezeichnunen Liste","label":"Bezeichnung","id":"Element ID","type":"Typ","delete-confirmation":"Diese Bezeichnung wirklich l\xf6schen?","delete-selected-confirmation":"Ausgew\xe4hlte Bezeichnungen wirklich l\xf6schen?","delete":"Bezeichnung l\xf6schen","deleted":"Bezeichnung gel\xf6scht.","empty":"Keine gespeicherten Bezeichnungen vorhanden.","empty-with-filter":"Keine Bezeichnung erf\xfcllt die gew\xe4hlten Filterkriterien.","filter-dialog":{"label":"Die Bezeichnung muss beinhalten","id":"Die ID muss beinhalten","type":"Der Typ muss sein","type-options":{"any":"Jeder","visor":"Visor","dmsg-server":"DMSG Server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Dr\xfccken um Filter zu l\xf6schen)","remove-confirmation":"Filter wirkliche l\xf6schen?"},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","sort-by-value":"Wert","sort-by-label":"Bezeichnung","label":"(Bezeichnung)","inverted-order":"(Umgekehrt)"},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","partially-online":"Online mit Problemen","partially-online-tooltip":"Visor ist online, aber nicht alle Dienste laufen. F\xfcr Informationen bitte die Details Seite \xf6ffnen und die \\"Zustand Info\\" \xfcberpr\xfcfen.","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","dmsg-server":"DMSG Server:","ping":"Ping:","node-version":"Visor Version:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","dmsg-title":"DMSG","update-all":"Alle Visor aktualisieren","hypervisor":"Hypervisor","state":"Status","state-tooltip":"Aktueller Status","label":"Bezeichnung","key":"Schl\xfcssel","dmsg-server":"DMSG Server","ping":"Ping","hypervisor-info":"Dieser Visor ist der aktuelle Hypervisor.","copy-key":"Schl\xfcssel kopieren","copy-dmsg":"DMSG Server Schl\xfcssel kopieren","copy-data":"Daten kopieren","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","delete-all-offline":"Alle offline Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","empty-with-filter":"Kein Visor erf\xfcllt die gew\xe4hlten Filterkriterien","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","delete-all-offline-confirmation":"Wirklich alle offline Visor von der Liste l\xf6schen?","delete-all-filtered-offline-confirmation":"Alle offline Visor, welche die Filterkriterien erf\xfcllen werden von der Liste gel\xf6scht. Wirklich fortfahren?","deleted":"Visor gel\xf6scht.","deleted-singular":"Ein offline Visor gel\xf6scht.","deleted-plural":"{{ number }} offline Visor gel\xf6scht.","no-visors-to-update":"Kein Visor zum Aktualiseren vorhanden.","filter-dialog":{"online":"Der Visor muss","label":"Der Bezeichner muss enthalten","key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","dmsg":"Der DMSG Server Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Bezeichnung","done":"Bezeichnung gespeichert.","label-removed-warning":"Die Bezeichnung wurde gel\xf6scht."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"updater-config":{"open-link":"Aktualisierungseinstellungen anzeigen","open-confirmation":"Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?","help":"Dieses Formular benutzen um Einstellungen f\xfcr die Aktualisierung zu \xfcberschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden f\xfcr alle Aktualisierungen \xfcbernommen. Dies geschieht unabh\xe4ngig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.","channel":"Kanal","version":"Version","archive-url":"Archiv-URL","checksum-url":"Pr\xfcfsummen-URL","not-saved":"Die \xc4nderungen wurden noch nicht gespeichert.","save":"\xc4nderungen speichern","remove-settings":"Einstellungen l\xf6schen","saved":"Die benutzerdefinierten Einstellungen wurden gespeichert.","removed":"Die benutzerdefinierten Einstellungen wurden gel\xf6scht.","save-confirmation":"Wirklich die benutzerdefinierten Einstellungen anwenden?","remove-confirmation":"Wirklich die benutzerdefinierten Einstellungen l\xf6schen?"},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."}},"update":{"title":"Aktualisierung","error-title":"Error","processing":"Suche nach Aktualisierungen...","no-update":"Keine Aktualisierung vorhanden.
      Installierte Version:","no-updates":"Keine neuen Aktualisierungen gefunden.","already-updating":"Einige Visor werden schon aktualisiert:","update-available":"Folgende Aktualisierungen wurden gefunden:","update-available-singular":"Folgende Aktualisierungen wurden f\xfcr einen Visor gefunden:","update-available-plural":"Folgende Aktualisierungen wurden f\xfcr {{ number }} Visor gefunden:","update-available-additional-singular":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr einen Visor wurden gefunden:","update-available-additional-plural":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr {{ number }} Visor wurden gefunden:","update-instructions":"\'Aktualisierungen installieren\' klicken um fortzufahren.","updating":"Die Aktualisierung wurde gestartet. Das Fenster kann erneut ge\xf6ffnet werden um den Fortschritt zu sehen:","version-change":"Von {{ currentVersion }} auf {{ newVersion }}","selected-channel":"Gew\xe4hlter Kanal:","downloaded-file-name-prefix":"Herunterladen: ","speed-prefix":"Geschwindigkeit: ","time-downloading-prefix":"Dauer: ","time-left-prefix":"Dauert ungef\xe4hr noch: ","starting":"Aktualisierung wird vorbereitet","finished":"Status Verbindung beendet","install":"Aktualisierungen installieren"},"apps":{"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","state":"Status","state-tooltip":"Aktueller Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","empty-with-filter":"Keine Anwendung erf\xfcllt die Filterkriterien","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein","unavailable-logs-error":"Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.","filter-dialog":{"state":"Der Status muss sein","name":"Der Name muss enthalten","port":"Der Port muss enthalten","autostart":"Autostart muss sein","state-options":{"any":"L\xe4uft oder gestoppt","running":"L\xe4uft","stopped":"Gestoppt"},"autostart-options":{"any":"An oder Aus","enabled":"An","disabled":"Aus"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Einstellungen","vpn-title":"VPN-Server Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","secure-mode-check":"Sicherheitsmodus benutzen","secure-mode-info":"Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Einstellungen","vpn-title":"VPN-Client Einstellungen","discovery-tab":"Suche","remote-visor-tab":"Manuelle Eingabe","history-tab":"Verlauf","settings-tab":"Einstellungen","use":"Diese Daten benutzen","change-note":"Notiz \xe4ndern","remove-entry":"Eintrag l\xf6schen","note":"Notiz:","note-entered-manually":"Manuell eingegeben","note-obtained":"Von Discovery-Service erhalten","key":"Schl\xfcssel:","port":"Port:","location":"Ort:","state-available":"Verf\xfcgbar","state-offline":"Offline","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","password":"Passwort","password-history-warning":"Achtung: Das Passwort wird nicht im Verlauf gespeichert.","copy-pk-info":"\xd6ffentlichen Schl\xfcssel kopieren.","copied-pk-info":"\xd6ffentlicher Schl\xfcssel wurde kopiert","copy-pk-error":"Beim Kopieren des \xf6ffentlichen Schl\xfcssels ist ein Problem aufgetreten.","no-elements":"Derzeit k\xf6nnen keine Elemente angezeigt werden. Bitte sp\xe4ter versuchen.","no-elements-for-filters":"Keine Elemente, welche die Filterkriterien erf\xfcllen.","no-filter":"Es wurde kein Filter gew\xe4hlt.","click-to-change":"Zum \xc4ndern klicken","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","remove-from-history-confirmation":"Eintrag wirklich aus dem Verlauf l\xf6schen?","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden.","default-note-warning":"Die Standardnotiz wurde nicht benutzt.","pagination-info":"{{ currentElementsRange }} von {{ totalElements }}","killswitch-check":"Killswitch aktivieren","killswitch-info":"Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung l\xe4uft aber der VPN Schutz unterbrochen wird (f\xfcr tempor\xe4re Fehler oder andere Probleme).","settings-changed-alert":"Die \xc4nderungen wurden noch nicht gespeichert.","save-settings":"Einstellungen speichern","change-note-dialog":{"title":"Notiz \xe4ndern","note":"Notiz"},"password-dialog":{"title":"Passwort eingeben","password":"Passwort","info":"Ein Passwort wird abgefragt, da bei der Erstellung des gew\xe4hlten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgr\xfcnden aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.","continue-button":"Fortfahren"},"filter-dialog":{"title":"Filter","country":"Das Land muss sein","any-country":"Jedes","location":"Der Ort muss enthalten","pub-key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","apply":"Anwenden"}},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","remove-all-offline":"Alle offline Transporte l\xf6schen","remove-all-offline-confirmation":"Wirkliche alle offline Transporte l\xf6schen?","remove-all-filtered-offline-confirmation":"Alle offline Transporte, welche die Filterkriterien erf\xfcllen werden gel\xf6scht. Wirklich fortfahren?","info":"Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.","list-title":"Transport-Liste","state":"Status","state-tooltip":"Aktueller Status","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","empty-with-filter":"Kein Transport erf\xfcllt die gew\xe4hlten Filterkriterien.","statuses":{"online":"Online","online-tooltip":"Transport ist online","offline":"Offline","offline-tooltip":"Transport ist offline"},"details":{"title":"Details","basic":{"title":"Basis Info","state":"Status:","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","label":"Bezeichnung (optional)","transport-type":"Transport-Typ","success":"Transport erstellt.","success-without-label":"Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}},"filter-dialog":{"online":"Der Transport muss sein","id":"Die ID muss enthalten","remote-node":"Der remote Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routen","info":"Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.","list-title":"Routen-Liste","key":"Schl\xfcssel","type":"Typ","source":"Quelle","destination":"Ziel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","empty-with-filter":"Keine Route erf\xfcllt die gew\xe4hlten Filterkriterien.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}},"filter-dialog":{"key":"Der Schl\xfcssel muss enthalten","type":"Der Typ muss sein","source":"Die Quelle muss enhalten","destination":"Das Ziel muss enthalten","any-type-option":"Egal"}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler","done-header-text":"Fertig"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js b/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js new file mode 100644 index 000000000..f0afc95b4 --- /dev/null +++ b/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[733],{5733:function(e){e.exports=JSON.parse('{"common":{"save":"Salvar","cancel":"Cancelar","downloaded":"Baixado","uploaded":"Enviado","loading-error":"Ocorreu um erro ao obter os dados. Tentando novamente...","operation-error":"Ocorreu um erro ao tentar concluir a opera\xe7\xe3o.","no-connection-error":"N\xe3o h\xe1 conex\xe3o com a Internet ou conex\xe3o com o Hypervisor.","error":"Erro:","refreshed":"Dados atualizados.","options":"Op\xe7\xf5es","logout":"Sair","logout-error":"Erro ao sair.","logout-confirmation":"Tem certeza que deseja sair?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Desconhecido","close":"Fechar"},"labeled-element":{"edit-label":"Editar r\xf3tulo","remove-label":"Remover r\xf3tulo","copy":"Copiar","remove-label-confirmation":"Tem certeza de que deseja remover o r\xf3tulo?","unnamed-element":"Sem nome","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Clique para copiar a entrada ou alterar o r\xf3tulo","tooltip-with-text":"{{ text }} (Clique para copiar a entrada ou alterar o r\xf3tulo)"},"labels":{"title":"R\xf3tulos","info":"R\xf3tulos que voc\xea inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por m\xe1quina.","list-title":"Lista de R\xf3tulos","label":"R\xf3tulo","id":"ID do elemento","type":"Tipo","delete-confirmation":"Tem certeza de que deseja excluir o r\xf3tulo?","delete-selected-confirmation":"Tem certeza de que deseja excluir os r\xf3tulos selecionados?","delete":"Apagar r\xf3tulo","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"N\xe3o h\xe1 r\xf3tulos salvos.","empty-with-filter":"Nenhum r\xf3tulo corresponde aos crit\xe9rios de filtragem selecionados.","filter-dialog":{"label":"O r\xf3tulo deve conter","id":"O id deve conter","type":"O tipo deve ser","type-options":{"any":"Algum","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtro","press-to-remove":"(Pressione para remover os filtros)","remove-confirmation":"Tem certeza de que deseja remover os filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"R\xf3tulo","label":"(R\xf3tulo)","inverted-order":"(invertido)"},"start":{"title":"Come\xe7ar"},"node":{"title":"Detalhes do Visor","not-found":"Visor n\xe3o encontrado.","statuses":{"online":"Online","online-tooltip":"Visor est\xe1 online.","partially-online":"Online com problemas","partially-online-tooltip":"O Visor est\xe1 online, mas nem todos os servi\xe7os est\xe3o funcionando. Para mais informa\xe7\xf5es, abra a p\xe1gina de detalhes e verifique a se\xe7\xe3o \\"Informa\xe7\xf5es de sa\xfade\\".","offline":"Offline","offline-tooltip":"Visor est\xe1 offline."},"details":{"node-info":{"title":"Informa\xe7\xe3o do Visor","label":"R\xf3tulo:","public-key":"Chave p\xfablica:","port":"Porta:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Vers\xe3o do Visor:","time":{"title":"Tempo online:","seconds":"alguns segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 dia","days":"{{ time }} dias","week":"1 semana","weeks":"{{ time }} semanas"}},"node-health":{"title":"Informa\xe7\xe3o de sa\xfade","status":"Status:","transport-discovery":"Descoberta de transporte:","route-finder":"Localizador de rota:","setup-node":"Configura\xe7\xe3o de N\xf3:","uptime-tracker":"Rastreador de tempo de atividade:","address-resolver":"Resolvedor de endere\xe7os:","element-offline":"Offline"},"node-traffic-data":"Tr\xe1fego de dados"},"tabs":{"info":"Informa\xe7\xe3o","apps":"Aplicativos","routing":"Encaminhamento"},"error-load":"Ocorreu um erro ao atualizar os dados. Tentando novamente..."},"nodes":{"title":"Lista de Visor","dmsg-title":"DMSG","update-all":"Atualizar todas as Visores","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado atual","label":"R\xf3tulo","key":"Chave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor \xe9 o hipervisor atual.","copy-key":"Copiar chave","copy-dmsg":"Copiar chave do servidor DMSG","copy-data":"Copiar dados","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos visores offline","error-load":"Ocorreu um erro ao atualizar a lista. Tentando novamente...","empty":"N\xe3o h\xe1 visores conectados a este hipervisor.","empty-with-filter":"Nenhum visor corresponde aos crit\xe9rios de filtragem selecionados.","delete-node-confirmation":"Tem certeza de que deseja remover o visor da lista?","delete-all-offline-confirmation":"Tem certeza de que deseja remover todas as visores offline da lista?","delete-all-filtered-offline-confirmation":"Todos os visores offline que satisfa\xe7am os crit\xe9rios de filtragem atuais ser\xe3o removidos da lista. Voc\xea tem certeza que quer continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"N\xe3o h\xe1 visores para atualizar.","filter-dialog":{"online":"O visor deve ser","label":"O r\xf3tulo deve conter","key":"A chave p\xfablica deve conter","dmsg":"A chave do servidor DMSG deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"R\xf3tulo","done":"R\xf3tulo salvo.","label-removed-warning":"O r\xf3tulo foi removido."},"settings":{"title":"Defini\xe7\xf5es","password":{"initial-config-help":"Use esta op\xe7\xe3o para definir a senha inicial. Depois de definir uma senha, n\xe3o \xe9 poss\xedvel usar esta op\xe7\xe3o para modific\xe1-la.","help":"Op\xe7\xf5es para alterar sua senha.","old-password":"Senha Antiga","new-password":"Nova Senha","repeat-password":"Repita a senha","password-changed":"Senha alterada.","error-changing":"Erro ao alterar a senha.","initial-config":{"title":"Definir senha inicial","password":"Senha","repeat-password":"Repita a senha","set-password":"Definir senha","done":"Senha definida. Use-a para acessar o sistema.","error":"Erro. Certifique-se de que ainda n\xe3o definiu a senha."},"errors":{"bad-old-password":"A senha antiga fornecida n\xe3o est\xe1 correta.","old-password-required":"A senha antiga \xe9 necess\xe1ria.","new-password-error":"A senha deve ter de 6 a 64 caracteres.","passwords-not-match":"As senhas n\xe3o coincidem.","default-password":"N\xe3o use a senha padr\xe3o (1234)."}},"updater-config":{"open-link":"Mostrar configura\xe7\xf5es do atualizador","open-confirmation":"As configura\xe7\xf5es do atualizador s\xe3o apenas para usu\xe1rios experientes. Voc\xea tem certeza que quer continuar?","help":"Use este formul\xe1rio para substituir as configura\xe7\xf5es que ser\xe3o usadas pelo atualizador. Todos os campos vazios ser\xe3o ignorados. As configura\xe7\xf5es ser\xe3o usadas para todas as opera\xe7\xf5es de atualiza\xe7\xe3o, independentemente de qual elemento est\xe1 sendo atualizado, portanto, tome cuidado.","channel":"Canal","version":"Vers\xe3o","archive-url":"URL do arquivo","checksum-url":"URL do Checksum ","not-saved":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save":"Salvar altera\xe7\xf5es","remove-settings":"Remover as configura\xe7\xf5es","saved":"As configura\xe7\xf5es personalizadas foram salvas.","removed":"As configura\xe7\xf5es personalizadas foram removidas.","save-confirmation":"Tem certeza de que deseja aplicar as configura\xe7\xf5es personalizadas?","remove-confirmation":"Tem certeza de que deseja remover as configura\xe7\xf5es personalizadas?"},"change-password":"Mudar senha","refresh-rate":"Taxa de atualiza\xe7\xe3o","refresh-rate-help":"Tempo que o sistema espera para atualizar os dados automaticamente.","refresh-rate-confirmation":"Taxa de atualiza\xe7\xe3o alterada.","seconds":"segundos"},"login":{"password":"Senha","incorrect-password":"Senha incorreta.","initial-config":"Configurar a inicializa\xe7\xe3o inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configura\xe7\xe3o","update":"Atualizar","reboot":"Reiniciar"},"reboot":{"confirmation":"Tem certeza de que deseja reiniciar o visor?","done":"O visor est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completo","simple":"Terminal simples"},"terminal":{"title":"Terminal","input-start":"Terminal Skywire para {{address}}","error":"Erro inesperado ao tentar executar o comando."}},"update":{"title":"Atualizar","error-title":"Erro","processing":"Procurando por atualiza\xe7\xf5es...","no-update":"N\xe3o h\xe1 atualiza\xe7\xe3o para o visor. A vers\xe3o atualmente instalada \xe9:","no-updates":"Nenhuma nova atualiza\xe7\xe3o foi encontrada.","already-updating":"Algumas visores j\xe1 est\xe3o sendo atualizadas:","update-available":"As seguintes atualiza\xe7\xf5es foram encontradas:","update-available-singular":"As seguintes atualiza\xe7\xf5es para 1 visor foram encontradas:","update-available-plural":"As seguintes atualiza\xe7\xf5es para visores {{ number }} foram encontradas:","update-available-additional-singular":"As seguintes atualiza\xe7\xf5es adicionais para 1 visor foram encontradas:","update-available-additional-plural":"As seguintes atualiza\xe7\xf5es adicionais para visores {{ number }} foram encontradas:","update-instructions":"Clique no bot\xe3o \'Instalar atualiza\xe7\xf5es\' para continuar.","updating":"A opera\xe7\xe3o de atualiza\xe7\xe3o foi iniciada, voc\xea pode abrir esta janela novamente para verificar o andamento:","version-change":"De {{ currentVersion }} para {{ newVersion }}","selected-channel":"Canal selecionado:","downloaded-file-name-prefix":"Baixando: ","speed-prefix":"Velocidade: ","time-downloading-prefix":"Tempo de download: ","time-left-prefix":"Tempo restante (aprox.): ","starting":"Preparando para atualizar","finished":"Conex\xe3o de status finalizada","install":"Instalar atualiza\xe7\xf5es"},"apps":{"log":{"title":"Registro","empty":"N\xe3o h\xe1 mensagens de registro para o intervalo de tempo selecionado.","filter-button":"Mostrando apenas os registros gerados desde:","filter":{"title":"Filtro","filter":"Mostrar apenas os registros gerados desde","7-days":"\xdaltimos 7 dias","1-month":"\xdaltimos 30 dias","3-months":"\xdaltimos 03 meses","6-months":"\xdaltimos 06 meses","1-year":"\xdaltimo ano","all":"Mostrar todos"}},"apps-list":{"title":"Aplicativos","list-title":"Lista de aplicativos","app-name":"Nome","port":"Porta","state":"Estado","state-tooltip":"Estado atual","auto-start":"Inicializa\xe7\xe3o automaticamente","empty":"Visor n\xe3o tem nenhum aplicativo.","empty-with-filter":"Nenhum aplicativo corresponde aos crit\xe9rios de filtragem selecionados.","disable-autostart":"Desativar inicializa\xe7\xe3o autom\xe1tica","enable-autostart":"Habilitar inicializa\xe7\xe3o autom\xe1tica","autostart-disabled":"Inicializa\xe7\xe3o autom\xe1tica desativada","autostart-enabled":"Inicializa\xe7\xe3o autom\xe1tica ativada","unavailable-logs-error":"N\xe3o \xe9 poss\xedvel mostrar os logs enquanto o aplicativo n\xe3o est\xe1 em execu\xe7\xe3o.","filter-dialog":{"state":"O estado deve ser","name":"O nome deve conter","port":"A porta deve conter","autostart":"A inicializa\xe7\xe3o autom\xe1tica deve ser","state-options":{"any":"Executando ou parado","running":"Executando","stopped":"Parado"},"autostart-options":{"any":"Habilitado ou desabilitado","enabled":"Habilitado","disabled":"Desabilitado"}}},"vpn-socks-server-settings":{"socks-title":"Configura\xe7\xf5es do Skysocks","vpn-title":"Configura\xe7\xf5es do servidor VPN","new-password":"Nova senha (deixe em branco para remover a senha)","repeat-password":"Repita a senha","passwords-not-match":"As senhas n\xe3o coincidem.","secure-mode-check":"Use o modo seguro","secure-mode-info":"Quando ativo, o servidor n\xe3o permite SSH cliente / servidor e n\xe3o permite nenhum tr\xe1fego de clientes VPN para a rede local do servidor.","save":"Salvar","remove-passowrd-confirmation":"Voc\xea deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?","change-passowrd-confirmation":"Tem certeza que deseja alterar a senha?","changes-made":"As mudan\xe7as foram feitas."},"vpn-socks-client-settings":{"socks-title":"Configura\xe7\xf5es do cliente Skysocks","vpn-title":"Configura\xe7\xf5es de cliente VPN","discovery-tab":"Procurar","remote-visor-tab":"Inserir manualmente","history-tab":"Hist\xf3rico","settings-tab":"Configura\xe7\xf5es","use":"Use estes dados","change-note":"Mudar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Inserida manualmente","note-obtained":"Obtida do servi\xe7o de descoberta","key":"Chave:","port":"Porta:","location":"Localiza\xe7\xe3o:","state-available":"Dispon\xedvel","state-offline":"Offline","public-key":"Chave p\xfablica do visor remoto","password":"Senha","password-history-warning":"Nota: a senha n\xe3o ser\xe1 salva no hist\xf3rico.","copy-pk-info":"Copiar chave p\xfablica.","copied-pk-info":"A chave p\xfablica foi copiada.","copy-pk-error":"Ocorreu um problema ao copiar a chave p\xfablica.","no-elements":"Atualmente n\xe3o h\xe1 elementos para mostrar. Por favor, tente novamente mais tarde.","no-elements-for-filters":"N\xe3o h\xe1 elementos que atendam aos crit\xe9rios do filtro.","no-filter":"Nenhum filtro foi selecionado","click-to-change":"Clique para mudar","remote-key-length-error":"A chave p\xfablica deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica deve conter apenas caracteres hexadecimais.","save":"Salvar","remove-from-history-confirmation":"Tem certeza de que deseja remover a entrada do hist\xf3rico?","change-key-confirmation":"Tem certeza de que deseja alterar a chave p\xfablica do visor remoto?","changes-made":"As mudan\xe7as foram feitas.","no-history":"Esta guia mostrar\xe1 as \xfaltimas {{ number }} chaves p\xfablicas usadas.","default-note-warning":"A nota padr\xe3o foi usada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Ativar killswitch","killswitch-info":"Quando ativo, todas as conex\xf5es de rede ser\xe3o desativadas se o aplicativo estiver em execu\xe7\xe3o, exceto a prote\xe7\xe3o VPN for interrompida (por erros tempor\xe1rios ou qualquer outro problema).","settings-changed-alert":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save-settings":"Salvar configura\xe7\xf5es","change-note-dialog":{"title":"Mudar nota","note":"Nota"},"password-dialog":{"title":"Digite a senha","password":"Senha","info":"Uma senha est\xe1 sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas n\xe3o foi salva por motivos de seguran\xe7a. Voc\xea pode deixar a senha em branco, se necess\xe1rio.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"O pa\xeds deve ser","any-country":"Qualquer um","location":"O local deve conter","pub-key":"A chave p\xfablica deve conter","apply":"Aplicar"}},"stop-app":"Parar","start-app":"Iniciar","view-logs":"Ver registros","settings":"Configura\xe7\xf5es","error":"Ocorreu um erro e n\xe3o foi poss\xedvel realizar a opera\xe7\xe3o.","stop-confirmation":"Tem certeza de que deseja parar o aplicativo?","stop-selected-confirmation":"Tem certeza de que deseja parar os aplicativos selecionados?","disable-autostart-confirmation":"Tem certeza de que deseja desativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","enable-autostart-confirmation":"Tem certeza de que deseja ativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","disable-autostart-selected-confirmation":"Tem certeza de que deseja desativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","enable-autostart-selected-confirmation":"Tem certeza de que deseja ativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","operation-completed":"Opera\xe7\xe3o conclu\xedda.","operation-unnecessary":"A sele\xe7\xe3o j\xe1 possui a configura\xe7\xe3o solicitada.","status-running":"Executando","status-stopped":"Parado","status-failed":"Fracassado","status-running-tooltip":"O aplicativo est\xe1 em execu\xe7\xe3o","status-stopped-tooltip":"O aplicativo est\xe1 parado no momento","status-failed-tooltip":"Algo deu errado. Verifique as mensagens do aplicativo para obter mais informa\xe7\xf5es"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos os transportes offline","remove-all-offline-confirmation":"Tem certeza de que deseja remover todos os transportes offline?","remove-all-filtered-offline-confirmation":"Todos os transportes off-line que atendem aos crit\xe9rios de filtragem atuais ser\xe3o removidos. Tem certeza de que deseja continuar?","info":"Conex\xf5es que voc\xea tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.","list-title":"Lista de transporte","state":"Estado","state-tooltip":"Estado atual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Criar transporte","delete-confirmation":"Tem certeza que deseja excluir o transporte?","delete-selected-confirmation":"Tem certeza que deseja excluir os transportes selecionados?","delete":"Excluir transporte","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem transportes.","empty-with-filter":"Nenhum transporte corresponde aos crit\xe9rios de filtragem selecionados.","statuses":{"online":"Online","online-tooltip":"Transporte est\xe1 online","offline":"Offline","offline-tooltip":"Transporte est\xe1 offline"},"details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Chave p\xfablica local:","remote-pk":"Chave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmiss\xe3o de dados","uploaded":"Dados carregados:","downloaded":"Dados baixados:"}},"dialog":{"remote-key":"Chave p\xfablica remota","label":"Nome de identifica\xe7\xe3o (opcional)","transport-type":"Tipo de transporte","success":"Transporte criado.","success-without-label":"O transporte foi criado, mas n\xe3o foi poss\xedvel salvar a etiqueta.","errors":{"remote-key-length-error":"A chave p\xfablica remota deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica remota deve conter apenas caracteres hexadecimais.","transport-type-error":"O tipo de transporte \xe9 obrigat\xf3rio."}},"filter-dialog":{"online":"O transporte deve ser","id":"O id deve conter","remote-node":"A chave remota deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rotas","info":"Caminhos usados para alcan\xe7ar os visores remotos para os quais os transportes foram estabelecidos. As rotas s\xe3o geradas automaticamente conforme necess\xe1rio.","list-title":"Lista de rotas","key":"Chave","type":"Tipo","source":"Fonte","destination":"Destino","delete-confirmation":"Tem certeza que deseja excluir a rota?","delete-selected-confirmation":"Tem certeza que deseja excluir as rotas selecionadas?","delete":"Excluir rota","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem nenhuma rota.","empty-with-filter":"Nenhuma rota corresponde aos crit\xe9rios de filtragem selecionados.","details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","key":"Chave:","rule":"Regras:"},"summary":{"title":"Resumo da regra","keep-alive":"Ativo:","type":"Tipo de regra:","key-route-id":"ID de rota chave:"},"specific-fields-titles":{"app":"Campos de aplicativos","forward":"Campos de encaminhamento","intermediary-forward":"Campos intermedi\xe1rios de encaminhamento"},"specific-fields":{"route-id":"Pr\xf3ximo ID de rota:","transport-id":"Pr\xf3ximo ID de transporte:","destination-pk":"Chave p\xfablica de destino:","source-pk":"Chave p\xfablica de origem:","destination-port":"Porta de destino:","source-port":"Porta de origem:"}},"filter-dialog":{"key":"A chave deve conter","type":"O tipo deve ser","source":"A fonte deve conter","destination":"O destino deve conter","any-type-option":"Qualquer uma"}},"copy":{"tooltip":"Clique para copiar","tooltip-with-text":"{{ text }} (Clique para copiar)","copied":"Copiado!"},"selection":{"select-all":"Selecionar tudo","unselect-all":"Desmarque todos","delete-all":"Excluir todos os elementos selecionados","start-all":"Iniciar todos os aplicativos selecionados","stop-all":"Parar todos os aplicativos selecionados","enable-autostart-all":"Habilitar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados","disable-autostart-all":"Desativar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados"},"refresh-button":{"seconds":"Atualizado alguns segundos atr\xe1s","minute":"Atualizado 1 minuto atr\xe1s","minutes":"Atualizado {{ time }} minutos atr\xe1s","hour":"Atualizado 1 hora atr\xe1s","hours":"Atualizado {{ time }} horas atr\xe1s","day":"Atualizado 1 dia atr\xe1s","days":"Atualizado {{ time }} dias atr\xe1s","week":"Atualizado 1 semana atr\xe1s","weeks":"Atualizado {{ time }} semanas atr\xe1s","error-tooltip":"Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..."},"view-all-link":{"label":"Ver todos os elementos {{ number }}"},"paginator":{"first":"Primeira","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Selecione a p\xe1gina"},"confirmation":{"header-text":"Confirma\xe7\xe3o","confirm-button":"Sim","cancel-button":"N\xe3o","close":"Fechar","error-header-text":"Erro","done-header-text":"Feito"},"language":{"title":"Selecione o idioma"},"tabs-window":{"title":"Alterar guia"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/974.787d95c75b9dc3da6a7e.js b/cmd/skywire-visor/static/974.787d95c75b9dc3da6a7e.js new file mode 100644 index 000000000..0403d7d07 --- /dev/null +++ b/cmd/skywire-visor/static/974.787d95c75b9dc3da6a7e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{43974:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","build-type":"Build type:","skybian-version":"Skybian version:","unknown-build":"Unknown","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","with-error":"It was not possible to check the following visors:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/MaterialIcons-Regular.4674f8ded773cb03e824.eot b/cmd/skywire-visor/static/MaterialIcons-Regular.4674f8ded773cb03e824.eot similarity index 100% rename from static/skywire-manager-src/dist/MaterialIcons-Regular.4674f8ded773cb03e824.eot rename to cmd/skywire-visor/static/MaterialIcons-Regular.4674f8ded773cb03e824.eot diff --git a/static/skywire-manager-src/dist/MaterialIcons-Regular.5e7382c63da0098d634a.ttf b/cmd/skywire-visor/static/MaterialIcons-Regular.5e7382c63da0098d634a.ttf similarity index 100% rename from static/skywire-manager-src/dist/MaterialIcons-Regular.5e7382c63da0098d634a.ttf rename to cmd/skywire-visor/static/MaterialIcons-Regular.5e7382c63da0098d634a.ttf diff --git a/static/skywire-manager-src/dist/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff b/cmd/skywire-visor/static/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff similarity index 100% rename from static/skywire-manager-src/dist/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff rename to cmd/skywire-visor/static/MaterialIcons-Regular.83bebaf37c09c7e1c3ee.woff diff --git a/static/skywire-manager-src/dist/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 b/cmd/skywire-visor/static/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 similarity index 100% rename from static/skywire-manager-src/dist/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 rename to cmd/skywire-visor/static/MaterialIcons-Regular.cff684e59ffb052d72cb.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.eot b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.eot similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.eot rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.eot diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.ijmap b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.ijmap similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.ijmap rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.ijmap diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.svg b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.svg similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.svg rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.svg diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.ttf b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.ttf similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.ttf rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.ttf diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.woff b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.woff rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.woff2 b/cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/MaterialIcons-Regular.woff2 rename to cmd/skywire-visor/static/assets/fonts/material-icons/MaterialIcons-Regular.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/material-icons/material-icons.css b/cmd/skywire-visor/static/assets/fonts/material-icons/material-icons.css similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/material-icons/material-icons.css rename to cmd/skywire-visor/static/assets/fonts/material-icons/material-icons.css diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Bold.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Bold.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Bold.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Bold.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Bold.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Bold.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Bold.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Bold.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Light.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Light.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Light.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Light.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Light.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Light.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Light.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Light.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Regular.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Regular.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Regular.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Regular.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Regular.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Regular.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/Skycoin-Regular.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/Skycoin-Regular.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-bold-webfont.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-bold-webfont.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-bold-webfont.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-bold-webfont.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-bold-webfont.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-bold-webfont.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-bold-webfont.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-bold-webfont.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-light-webfont.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-light-webfont.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-light-webfont.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-light-webfont.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-light-webfont.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-light-webfont.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-light-webfont.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-light-webfont.woff2 diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-regular-webfont.woff b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-regular-webfont.woff similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-regular-webfont.woff rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-regular-webfont.woff diff --git a/static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-regular-webfont.woff2 b/cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-regular-webfont.woff2 similarity index 100% rename from static/skywire-manager-src/dist/assets/fonts/skycoin/skycoin-regular-webfont.woff2 rename to cmd/skywire-visor/static/assets/fonts/skycoin/skycoin-regular-webfont.woff2 diff --git a/static/skywire-manager-src/dist/assets/i18n/README.md b/cmd/skywire-visor/static/assets/i18n/README.md similarity index 100% rename from static/skywire-manager-src/dist/assets/i18n/README.md rename to cmd/skywire-visor/static/assets/i18n/README.md diff --git a/static/skywire-manager-src/dist/assets/i18n/app1.png b/cmd/skywire-visor/static/assets/i18n/app1.png similarity index 100% rename from static/skywire-manager-src/dist/assets/i18n/app1.png rename to cmd/skywire-visor/static/assets/i18n/app1.png diff --git a/static/skywire-manager-src/dist/assets/i18n/app2.png b/cmd/skywire-visor/static/assets/i18n/app2.png similarity index 100% rename from static/skywire-manager-src/dist/assets/i18n/app2.png rename to cmd/skywire-visor/static/assets/i18n/app2.png diff --git a/static/skywire-manager-src/dist/assets/i18n/check.js b/cmd/skywire-visor/static/assets/i18n/check.js similarity index 100% rename from static/skywire-manager-src/dist/assets/i18n/check.js rename to cmd/skywire-visor/static/assets/i18n/check.js diff --git a/static/skywire-manager-src/dist/assets/i18n/de.json b/cmd/skywire-visor/static/assets/i18n/de.json similarity index 50% rename from static/skywire-manager-src/dist/assets/i18n/de.json rename to cmd/skywire-visor/static/assets/i18n/de.json index 6e066517f..63bff5370 100644 --- a/static/skywire-manager-src/dist/assets/i18n/de.json +++ b/cmd/skywire-visor/static/assets/i18n/de.json @@ -1,15 +1,9 @@ { "common": { "save": "Speichern", - "edit": "Ändern", "cancel": "Abbrechen", - "node-key": "Visor Schlüssel", - "app-key": "Anwendungs-Schlüssel", - "discovery": "Discovery", "downloaded": "Heruntergeladen", "uploaded": "Hochgeladen", - "delete": "Löschen", - "none": "Nichts", "loading-error": "Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...", "operation-error": "Beim Ausführen der Aktion ist ein Fehler aufgetreten.", "no-connection-error": "Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.", @@ -17,23 +11,68 @@ "refreshed": "Daten aktualisiert.", "options": "Optionen", "logout": "Abmelden", - "logout-error": "Fehler beim Abmelden." + "logout-error": "Fehler beim Abmelden.", + "logout-confirmation": "Wirklich abmelden?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Unbekannt", + "close": "Schließen" }, - "tables": { - "title": "Ordnen nach", - "sorting-title": "Geordnet nach:", - "ascending-order": "(aufsteigend)", - "descending-order": "(absteigend)" + "labeled-element": { + "edit-label": "Bezeichnung ändern", + "remove-label": "Bezeichnung löschen", + "copy": "Kopieren", + "remove-label-confirmation": "Bezeichnung wirklich löschen?", + "unnamed-element": "Unbenannt", + "unnamed-local-visor": "Lokaler Visor", + "local-element": "Lokal", + "tooltip": "Klicken um Eintrag zu kopieren oder Bezeichnung zu ändern", + "tooltip-with-text": "{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu ändern)" }, - "inputs": { - "errors": { - "key-required": "Schlüssel wird benötigt.", - "key-length": "Schlüssel muss 66 Zeichen lang sein." + "labels": { + "title": "Bezeichnung", + "info": "Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.", + "list-title": "Bezeichnunen Liste", + "label": "Bezeichnung", + "id": "Element ID", + "type": "Typ", + "delete-confirmation": "Diese Bezeichnung wirklich löschen?", + "delete-selected-confirmation": "Ausgewählte Bezeichnungen wirklich löschen?", + "delete": "Bezeichnung löschen", + "deleted": "Bezeichnung gelöscht.", + "empty": "Keine gespeicherten Bezeichnungen vorhanden.", + "empty-with-filter": "Keine Bezeichnung erfüllt die gewählten Filterkriterien.", + "filter-dialog": { + "label": "Die Bezeichnung muss beinhalten", + "id": "Die ID muss beinhalten", + "type": "Der Typ muss sein", + + "type-options": { + "any": "Jeder", + "visor": "Visor", + "dmsg-server": "DMSG Server", + "transport": "Transport" + } } }, + "filters": { + "filter-action": "Filter", + "press-to-remove": "(Drücken um Filter zu löschen)", + "remove-confirmation": "Filter wirkliche löschen?" + }, + + "tables": { + "title": "Ordnen nach", + "sorting-title": "Geordnet nach:", + "sort-by-value": "Wert", + "sort-by-label": "Bezeichnung", + "label": "(Bezeichnung)", + "inverted-order": "(Umgekehrt)" + }, + "start": { "title": "Start" }, @@ -44,6 +83,8 @@ "statuses": { "online": "Online", "online-tooltip": "Visor ist online", + "partially-online": "Online mit Problemen", + "partially-online-tooltip": "Visor ist online, aber nicht alle Dienste laufen. Für Informationen bitte die Details Seite öffnen und die \"Zustand Info\" überprüfen.", "offline": "Offline", "offline-tooltip": "Visor ist offline" }, @@ -52,9 +93,9 @@ "title": "Visor Info", "label": "Bezeichnung:", "public-key": "Öffentlicher Schlüssel:", - "port": "Port:", + "dmsg-server": "DMSG Server:", + "ping": "Ping:", "node-version": "Visor Version:", - "app-protocol-version": "Anwendungsprotokollversion:", "time": { "title": "Online seit:", "seconds": "ein paar Sekunden", @@ -90,22 +131,50 @@ "nodes": { "title": "Visor Liste", + "dmsg-title": "DMSG", + "update-all": "Alle Visor aktualisieren", + "hypervisor": "Hypervisor", "state": "Status", + "state-tooltip": "Aktueller Status", "label": "Bezeichnung", "key": "Schlüssel", + "dmsg-server": "DMSG Server", + "ping": "Ping", + "hypervisor-info": "Dieser Visor ist der aktuelle Hypervisor.", + "copy-key": "Schlüssel kopieren", + "copy-dmsg": "DMSG Server Schlüssel kopieren", + "copy-data": "Daten kopieren", "view-node": "Visor betrachten", "delete-node": "Visor löschen", + "delete-all-offline": "Alle offline Visor löschen", "error-load": "Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.", "empty": "Es ist kein Visor zu diesem Hypervisor verbunden.", + "empty-with-filter": "Kein Visor erfüllt die gewählten Filterkriterien", "delete-node-confirmation": "Visor wirklich von der Liste löschen?", - "deleted": "Visor gelöscht." + "delete-all-offline-confirmation": "Wirklich alle offline Visor von der Liste löschen?", + "delete-all-filtered-offline-confirmation": "Alle offline Visor, welche die Filterkriterien erfüllen werden von der Liste gelöscht. Wirklich fortfahren?", + "deleted": "Visor gelöscht.", + "deleted-singular": "Ein offline Visor gelöscht.", + "deleted-plural": "{{ number }} offline Visor gelöscht.", + "no-visors-to-update": "Kein Visor zum Aktualiseren vorhanden.", + "filter-dialog": { + "online": "Der Visor muss", + "label": "Der Bezeichner muss enthalten", + "key": "Der öffentliche Schlüssel muss enthalten", + "dmsg": "Der DMSG Server Schlüssel muss enthalten", + + "online-options": { + "any": "Online oder offline", + "online": "Online", + "offline": "Offline" + } + } }, "edit-label": { - "title": "Bezeichnung ändern", "label": "Bezeichnung", "done": "Bezeichnung gespeichert.", - "default-label-warning": "Die Standardbezeichnung wurde verwendet." + "label-removed-warning": "Die Bezeichnung wurde gelöscht." }, "settings": { @@ -134,6 +203,22 @@ "default-password": "Das Standardpasswort darf nicht verwendet werden (1234)." } }, + "updater-config" : { + "open-link": "Aktualisierungseinstellungen anzeigen", + "open-confirmation": "Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?", + "help": "Dieses Formular benutzen um Einstellungen für die Aktualisierung zu überschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden für alle Aktualisierungen übernommen. Dies geschieht unabhängig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.", + "channel": "Kanal", + "version": "Version", + "archive-url": "Archiv-URL", + "checksum-url": "Prüfsummen-URL", + "not-saved": "Die Änderungen wurden noch nicht gespeichert.", + "save": "Änderungen speichern", + "remove-settings": "Einstellungen löschen", + "saved": "Die benutzerdefinierten Einstellungen wurden gespeichert.", + "removed": "Die benutzerdefinierten Einstellungen wurden gelöscht.", + "save-confirmation": "Wirklich die benutzerdefinierten Einstellungen anwenden?", + "remove-confirmation": "Wirklich die benutzerdefinierten Einstellungen löschen?" + }, "change-password": "Passwort ändern", "refresh-rate": "Aktualisierungsintervall", "refresh-rate-help": "Zeit, bis das System die Daten automatisch aktualisiert.", @@ -158,14 +243,6 @@ "confirmation": "Den Visor wirklich neustarten?", "done": "Der Visor wird neu gestartet." }, - "config": { - "title": "Discovery Konfiguration", - "header": "Discovery Addresse", - "remove": "Addresse entfernen", - "add": "Addresse hinzufügen", - "cant-store": "Konfiguration kann nicht gespeichert werden.", - "success": "Discovery Konfiguration wird durch Neustart angewendet." - }, "terminal-options": { "full": "Terminal", "simple": "Einfaches Terminal" @@ -174,54 +251,35 @@ "title": "Terminal", "input-start": "Skywire Terminal für {{address}}", "error": "Bei der Ausführung des Befehls ist ein Fehler aufgetreten." - }, - "update": { - "title": "Update", - "processing": "Suche nach Updates...", - "processing-button": "Bitte warten", - "no-update": "Kein Update vorhanden.
      Installierte Version: {{ version }}.", - "update-available": "Es ist ein Update möglich.
      Installierte Version: {{ currentVersion }}
      Neue Version: {{ newVersion }}.", - "done": "Ein Update für den Visor wird installiert.", - "update-error": "Update konnte nicht installiert werden.", - "install": "Update installieren" } }, + + "update": { + "title": "Aktualisierung", + "error-title": "Error", + "processing": "Suche nach Aktualisierungen...", + "no-update": "Keine Aktualisierung vorhanden.
      Installierte Version:", + "no-updates": "Keine neuen Aktualisierungen gefunden.", + "already-updating": "Einige Visor werden schon aktualisiert:", + "update-available": "Folgende Aktualisierungen wurden gefunden:", + "update-available-singular": "Folgende Aktualisierungen wurden für einen Visor gefunden:", + "update-available-plural": "Folgende Aktualisierungen wurden für {{ number }} Visor gefunden:", + "update-available-additional-singular": "Folgende zusätzliche Aktualisierungen für einen Visor wurden gefunden:", + "update-available-additional-plural": "Folgende zusätzliche Aktualisierungen für {{ number }} Visor wurden gefunden:", + "update-instructions": "'Aktualisierungen installieren' klicken um fortzufahren.", + "updating": "Die Aktualisierung wurde gestartet. Das Fenster kann erneut geöffnet werden um den Fortschritt zu sehen:", + "version-change": "Von {{ currentVersion }} auf {{ newVersion }}", + "selected-channel": "Gewählter Kanal:", + "downloaded-file-name-prefix": "Herunterladen: ", + "speed-prefix": "Geschwindigkeit: ", + "time-downloading-prefix": "Dauer: ", + "time-left-prefix": "Dauert ungefähr noch: ", + "starting": "Aktualisierung wird vorbereitet", + "finished": "Status Verbindung beendet", + "install": "Aktualisierungen installieren" + }, "apps": { - "socksc": { - "title": "Mit Visor verbinden", - "connect-keypair": "Schlüsselpaar eingeben", - "connect-search": "Visor suchen", - "connect-history": "Verlauf", - "versions": "Versionen", - "location": "Standort", - "connect": "Verbinden", - "next-page": "Nächste Seite", - "prev-page": "Vorherige Seite", - "auto-startup": "Automatisch mit Visor verbinden" - }, - "sshc": { - "title": "SSH Client", - "connect": "Verbinde mit SSH Server", - "auto-startup": "Starte SSH client automatisch", - "connect-keypair": "Schlüsselpaar eingeben", - "connect-history": "Verlauf" - }, - "sshs": { - "title": "SSH-Server", - "whitelist": { - "title": "SSH-Server Whitelist", - "header": "Schlüssel", - "add": "Zu Liste hinzufügen", - "remove": "Schlüssel entfernen", - "enter-key": "Node Schlüssel eingeben", - "errors": { - "cant-save": "Änderungen an der Whitelist konnten nicht gespeichert werden." - }, - "saved-correctly": "Änderungen an der Whitelist gespeichert" - }, - "auto-startup": "Starte SSH-Server automatisch" - }, "log": { "title": "Log", "empty": "Im ausgewählten Intervall sind keine Logs vorhanden", @@ -237,48 +295,116 @@ "all": "Zeige alle" } }, - "config": { - "title": "Startup Konfiguration" - }, - "menu": { - "startup-config": "Startup Konfiguration", - "log": "Log Nachrichten", - "whitelist": "Whitelist" - }, "apps-list": { "title": "Anwendungen", "list-title": "Anwendungsliste", "app-name": "Name", "port": "Port", - "status": "Status", + "state": "Status", + "state-tooltip": "Aktueller Status", "auto-start": "Auto-Start", "empty": "Visor hat keine Anwendungen.", + "empty-with-filter": "Keine Anwendung erfüllt die Filterkriterien", "disable-autostart": "Autostart ausschalten", "enable-autostart": "Autostart einschalten", "autostart-disabled": "Autostart aus", - "autostart-enabled": "Autostart ein" + "autostart-enabled": "Autostart ein", + "unavailable-logs-error": "Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.", + + "filter-dialog": { + "state": "Der Status muss sein", + "name": "Der Name muss enthalten", + "port": "Der Port muss enthalten", + "autostart": "Autostart muss sein", + + "state-options": { + "any": "Läuft oder gestoppt", + "running": "Läuft", + "stopped": "Gestoppt" + }, + + "autostart-options": { + "any": "An oder Aus", + "enabled": "An", + "disabled": "Aus" + } + } }, - "skysocks-settings": { - "title": "Skysocks Einstellungen", + "vpn-socks-server-settings": { + "socks-title": "Skysocks Einstellungen", + "vpn-title": "VPN-Server Einstellungen", "new-password": "Neues Passwort (Um Passwort zu entfernen leer lassen)", "repeat-password": "Passwort wiederholen", "passwords-not-match": "Passwörter stimmen nicht überein.", + "secure-mode-check": "Sicherheitsmodus benutzen", + "secure-mode-info": "Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.", "save": "Speichern", "remove-passowrd-confirmation": "Kein Passwort eingegeben. Wirklich Passwort entfernen?", "change-passowrd-confirmation": "Passwort wirklich ändern?", "changes-made": "Änderungen wurden gespeichert." }, - "skysocks-client-settings": { - "title": "Skysocks-Client Einstellungen", - "remote-visor-tab": "Remote Visor", + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Einstellungen", + "vpn-title": "VPN-Client Einstellungen", + "discovery-tab": "Suche", + "remote-visor-tab": "Manuelle Eingabe", "history-tab": "Verlauf", + "settings-tab": "Einstellungen", + "use": "Diese Daten benutzen", + "change-note": "Notiz ändern", + "remove-entry": "Eintrag löschen", + "note": "Notiz:", + "note-entered-manually": "Manuell eingegeben", + "note-obtained": "Von Discovery-Service erhalten", + "key": "Schlüssel:", + "port": "Port:", + "location": "Ort:", + "state-available": "Verfügbar", + "state-offline": "Offline", "public-key": "Remote Visor öffentlicher Schlüssel", + "password": "Passwort", + "password-history-warning": "Achtung: Das Passwort wird nicht im Verlauf gespeichert.", + "copy-pk-info": "Öffentlichen Schlüssel kopieren.", + "copied-pk-info": "Öffentlicher Schlüssel wurde kopiert", + "copy-pk-error": "Beim Kopieren des öffentlichen Schlüssels ist ein Problem aufgetreten.", + "no-elements": "Derzeit können keine Elemente angezeigt werden. Bitte später versuchen.", + "no-elements-for-filters": "Keine Elemente, welche die Filterkriterien erfüllen.", + "no-filter": "Es wurde kein Filter gewählt.", + "click-to-change": "Zum Ändern klicken", "remote-key-length-error": "Der öffentliche Schlüssel muss 66 Zeichen lang sein.", "remote-key-chars-error": "Der öffentliche Schlüssel darf nur hexadezimale Zeichen enthalten.", "save": "Speichern", - "change-key-confirmation": "Wirklich den öffentlichen Schlüssel des Remote Visors ändern?", + "remove-from-history-confirmation": "Eintrag wirklich aus dem Verlauf löschen?", + "change-key-confirmation": "Wirklich den öffentlichen Schlüssel des remote Visors ändern?", "changes-made": "Änderungen wurden gespeichert.", - "no-history": "Dieser Tab zeigt die letzten {{ number }} öffentlichen Schlüssel, die benutzt wurden." + "no-history": "Dieser Tab zeigt die letzten {{ number }} öffentlichen Schlüssel, die benutzt wurden.", + "default-note-warning": "Die Standardnotiz wurde nicht benutzt.", + "pagination-info": "{{ currentElementsRange }} von {{ totalElements }}", + "killswitch-check": "Killswitch aktivieren", + "killswitch-info": "Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung läuft aber der VPN Schutz unterbrochen wird (für temporäre Fehler oder andere Probleme).", + "settings-changed-alert": "Die Änderungen wurden noch nicht gespeichert.", + "save-settings": "Einstellungen speichern", + + "change-note-dialog": { + "title": "Notiz ändern", + "note": "Notiz" + }, + + "password-dialog": { + "title": "Passwort eingeben", + "password": "Passwort", + "info": "Ein Passwort wird abgefragt, da bei der Erstellung des gewählten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgründen aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.", + "continue-button": "Fortfahren" + }, + + "filter-dialog": { + "title": "Filter", + "country": "Das Land muss sein", + "any-country": "Jedes", + "location": "Der Ort muss enthalten", + "pub-key": "Der öffentliche Schlüssel muss enthalten", + "apply": "Anwenden" + } }, "stop-app": "Stopp", "start-app": "Start", @@ -303,7 +429,13 @@ "transports": { "title": "Transporte", + "remove-all-offline": "Alle offline Transporte löschen", + "remove-all-offline-confirmation": "Wirkliche alle offline Transporte löschen?", + "remove-all-filtered-offline-confirmation": "Alle offline Transporte, welche die Filterkriterien erfüllen werden gelöscht. Wirklich fortfahren?", + "info": "Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.", "list-title": "Transport-Liste", + "state": "Status", + "state-tooltip": "Aktueller Status", "id": "ID", "remote-node": "Remote", "type": "Typ", @@ -313,10 +445,18 @@ "delete": "Transport entfernen", "deleted": "Transport erfolgreich entfernt.", "empty": "Visor hat keine Transporte.", + "empty-with-filter": "Kein Transport erfüllt die gewählten Filterkriterien.", + "statuses": { + "online": "Online", + "online-tooltip": "Transport ist online", + "offline": "Offline", + "offline-tooltip": "Transport ist offline" + }, "details": { "title": "Details", "basic": { "title": "Basis Info", + "state": "Status:", "id": "ID:", "local-pk": "Lokaler öffentlicher Schlüssel:", "remote-pk": "Remote öffentlicher Schlüssel:", @@ -330,26 +470,43 @@ }, "dialog": { "remote-key": "Remote öffentlicher Schlüssel:", + "label": "Bezeichnung (optional)", "transport-type": "Transport-Typ", "success": "Transport erstellt.", + "success-without-label": "Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.", "errors": { "remote-key-length-error": "Der remote öffentliche Schlüssel muss 66 Zeichen lang sein.", "remote-key-chars-error": "Der remote öffentliche Schlüssel darf nur hexadezimale Zeichen enthalten.", "transport-type-error": "Ein Transport-Typ wird benötigt." } + }, + "filter-dialog": { + "online": "Der Transport muss sein", + "id": "Die ID muss enthalten", + "remote-node": "Der remote Schlüssel muss enthalten", + + "online-options": { + "any": "Online oder offline", + "online": "Online", + "offline": "Offline" + } } }, "routes": { "title": "Routen", + "info": "Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.", "list-title": "Routen-Liste", "key": "Schlüssel", - "rule": "Regel", + "type": "Typ", + "source": "Quelle", + "destination": "Ziel", "delete-confirmation": "Diese Route wirklich entfernen?", "delete-selected-confirmation": "Ausgewählte Routen wirklich entfernen?", "delete": "Route entfernen", "deleted": "Route erfolgreich entfernt.", "empty": "Visor hat keine Routen.", + "empty-with-filter": "Keine Route erfüllt die gewählten Filterkriterien.", "details": { "title": "Details", "basic": { @@ -376,6 +533,13 @@ "destination-port": "Ziel Port:", "source-port": "Quelle Port:" } + }, + "filter-dialog": { + "key": "Der Schlüssel muss enthalten", + "type": "Der Typ muss sein", + "source": "Die Quelle muss enhalten", + "destination": "Das Ziel muss enthalten", + "any-type-option": "Egal" } }, @@ -424,7 +588,8 @@ "confirm-button": "Ja", "cancel-button": "Nein", "close": "Schließen", - "error-header-text": "Fehler" + "error-header-text": "Fehler", + "done-header-text": "Fertig" }, "language" : { diff --git a/static/skywire-manager-src/dist/assets/i18n/es_base.json b/cmd/skywire-visor/static/assets/i18n/de_base.json similarity index 94% rename from static/skywire-manager-src/dist/assets/i18n/es_base.json rename to cmd/skywire-visor/static/assets/i18n/de_base.json index 6a230e43d..00e9012cc 100644 --- a/static/skywire-manager-src/dist/assets/i18n/es_base.json +++ b/cmd/skywire-visor/static/assets/i18n/de_base.json @@ -1,599 +1,602 @@ -{ - "common": { - "save": "Save", - "cancel": "Cancel", - "downloaded": "Downloaded", - "uploaded": "Uploaded", - "loading-error": "There was an error getting the data. Retrying...", - "operation-error": "There was an error trying to complete the operation.", - "no-connection-error": "There is no internet connection or connection to the Hypervisor.", - "error": "Error:", - "refreshed": "Data refreshed.", - "options": "Options", - "logout": "Logout", - "logout-error": "Error logging out.", - "time-in-ms": "{{ time }}ms", - "ok": "Ok", - "unknown": "Unknown", - "close": "Close" - }, - - "labeled-element": { - "edit-label": "Edit label", - "remove-label": "Remove label", - "copy": "Copy", - "remove-label-confirmation": "Do you really want to remove the label?", - "unnamed-element": "Unnamed", - "unnamed-local-visor": "Local visor", - "local-element": "Local", - "tooltip": "Click to copy the entry or change the label", - "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" - }, - - "labels": { - "title": "Labels", - "list-title": "Label list", - "label": "Label", - "id": "Element ID", - "type": "Type", - "delete-confirmation": "Are you sure you want to delete the label?", - "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", - "delete": "Delete label", - "deleted": "Delete operation completed.", - "empty": "There aren't any saved labels.", - "empty-with-filter": "No label matches the selected filtering criteria.", - "filter-dialog": { - "label": "The label must contain", - "id": "The id must contain", - "type": "The type must be", - - "type-options": { - "any": "Any", - "visor": "Visor", - "dmsg-server": "DMSG server", - "transport": "Transport" - } - } - }, - - "filters": { - "filter-action": "Filter", - "active-filters": "Active filters: ", - "press-to-remove": "(Press to remove)", - "remove-confirmation": "Are you sure you want to remove the filters?" - }, - - "tables": { - "title": "Order by", - "sorting-title": "Ordered by:", - "ascending-order": "(ascending)", - "descending-order": "(descending)" - }, - - "start": { - "title": "Start" - }, - - "node": { - "title": "Visor details", - "not-found": "Visor not found.", - "statuses": { - "online": "Online", - "online-tooltip": "Visor is online.", - "partially-online": "Online with problems", - "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", - "offline": "Offline", - "offline-tooltip": "Visor is offline." - }, - "details": { - "node-info": { - "title": "Visor Info", - "label": "Label:", - "public-key": "Public key:", - "port": "Port:", - "dmsg-server": "DMSG server:", - "ping": "Ping:", - "node-version": "Visor version:", - "time": { - "title": "Time online:", - "seconds": "a few seconds", - "minute": "1 minute", - "minutes": "{{ time }} minutes", - "hour": "1 hour", - "hours": "{{ time }} hours", - "day": "1 day", - "days": "{{ time }} days", - "week": "1 week", - "weeks": "{{ time }} weeks" - } - }, - "node-health": { - "title": "Health info", - "status": "Status:", - "transport-discovery": "Transport discovery:", - "route-finder": "Route finder:", - "setup-node": "Setup node:", - "uptime-tracker": "Uptime tracker:", - "address-resolver": "Address resolver:", - "element-offline": "Offline" - }, - "node-traffic-data": "Traffic data" - }, - "tabs": { - "info": "Info", - "apps": "Apps", - "routing": "Routing" - }, - "error-load": "An error occurred while refreshing the data. Retrying..." - }, - - "nodes": { - "title": "Visor list", - "dmsg-title": "DMSG", - "update-all": "Update all visors", - "hypervisor": "Hypervisor", - "state": "State", - "state-tooltip": "Current state", - "label": "Label", - "key": "Key", - "dmsg-server": "DMSG server", - "ping": "Ping", - "hypervisor-info": "This visor is the current Hypervisor.", - "copy-key": "Copy key", - "copy-dmsg": "Copy DMSG server key", - "copy-data": "Copy data", - "view-node": "View visor", - "delete-node": "Remove visor", - "delete-all-offline": "Remove all offline visors", - "error-load": "An error occurred while refreshing the list. Retrying...", - "empty": "There aren't any visors connected to this hypervisor.", - "empty-with-filter": "No visor matches the selected filtering criteria.", - "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", - "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", - "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", - "deleted": "Visor removed.", - "deleted-singular": "1 offline visor removed.", - "deleted-plural": "{{ number }} offline visors removed.", - "no-offline-nodes": "No offline visors found.", - "no-visors-to-update": "There are no visors to update.", - "filter-dialog": { - "online": "The visor must be", - "label": "The label must contain", - "key": "The public key must contain", - "dmsg": "The DMSG server key must contain", - - "online-options": { - "any": "Online or offline", - "online": "Online", - "offline": "Offline" - } - } - }, - - "edit-label": { - "label": "Label", - "done": "Label saved.", - "label-removed-warning": "The label was removed." - }, - - "settings": { - "title": "Settings", - "password" : { - "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", - "help": "Options for changing your password.", - "old-password": "Old password", - "new-password": "New password", - "repeat-password": "Repeat password", - "password-changed": "Password changed.", - "error-changing": "Error changing password.", - "initial-config": { - "title": "Set initial password", - "password": "Password", - "repeat-password": "Repeat password", - "set-password": "Set password", - "done": "Password set. Please use it to access the system.", - "error": "Error. Please make sure you have not already set the password." - }, - "errors": { - "bad-old-password": "The provided old password is not correct.", - "old-password-required": "Old password is required.", - "new-password-error": "Password must be 6-64 characters long.", - "passwords-not-match": "Passwords do not match.", - "default-password": "Don't use the default password (1234)." - } - }, - "updater-config" : { - "open-link": "Show updater settings", - "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", - "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", - "channel": "Channel", - "version": "Version", - "archive-url": "Archive URL", - "checksum-url": "Checksum URL", - "not-saved": "The changes have not been saved yet.", - "save": "Save changes", - "remove-settings": "Remove the settings", - "saved": "The custom settings have been saved.", - "removed": "The custom settings have been removed.", - "save-confirmation": "Are you sure you want to apply the custom settings?", - "remove-confirmation": "Are you sure you want to remove the custom settings?" - }, - "change-password": "Change password", - "refresh-rate": "Refresh rate", - "refresh-rate-help": "Time the system waits to update the data automatically.", - "refresh-rate-confirmation": "Refresh rate changed.", - "seconds": "seconds" - }, - - "login": { - "password": "Password", - "incorrect-password": "Incorrect password.", - "initial-config": "Configure initial launch" - }, - - "actions": { - "menu": { - "terminal": "Terminal", - "config": "Configuration", - "update": "Update", - "reboot": "Reboot" - }, - "reboot": { - "confirmation": "Are you sure you want to reboot the visor?", - "done": "The visor is restarting." - }, - "terminal-options": { - "full": "Full terminal", - "simple": "Simple terminal" - }, - "terminal": { - "title": "Terminal", - "input-start": "Skywire terminal for {{address}}", - "error": "Unexpected error while trying to execute the command." - } - }, - - "update": { - "title": "Update", - "error-title": "Error", - "processing": "Looking for updates...", - "no-update": "There is no update for the visor. The currently installed version is:", - "no-updates": "No new updates were found.", - "already-updating": "Some visors are already being updated:", - "update-available": "The following updates were found:", - "update-available-singular": "The following updates for 1 visor were found:", - "update-available-plural": "The following updates for {{ number }} visors were found:", - "update-available-additional-singular": "The following additional updates for 1 visor were found:", - "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", - "update-instructions": "Click the 'Install updates' button to continue.", - "updating": "The update operation has been started, you can open this window again for checking the progress:", - "version-change": "From {{ currentVersion }} to {{ newVersion }}", - "selected-channel": "Selected channel:", - "downloaded-file-name-prefix": "Downloading: ", - "speed-prefix": "Speed: ", - "time-downloading-prefix": "Time downloading: ", - "time-left-prefix": "Aprox. time left: ", - "starting": "Preparing to update", - "finished": "Status connection finished", - "install": "Install updates" - }, - - "apps": { - "log": { - "title": "Log", - "empty": "There are no log messages for the selected time range.", - "filter-button": "Only showing logs generated since:", - "filter": { - "title": "Filter", - "filter": "Only show logs generated since", - "7-days": "The last 7 days", - "1-month": "The last 30 days", - "3-months": "The last 3 months", - "6-months": "The last 6 months", - "1-year": "The last year", - "all": "Show all" - } - }, - "apps-list": { - "title": "Applications", - "list-title": "Application list", - "app-name": "Name", - "port": "Port", - "state": "State", - "state-tooltip": "Current state", - "auto-start": "Auto start", - "empty": "Visor doesn't have any applications.", - "empty-with-filter": "No app matches the selected filtering criteria.", - "disable-autostart": "Disable autostart", - "enable-autostart": "Enable autostart", - "autostart-disabled": "Autostart disabled", - "autostart-enabled": "Autostart enabled", - "unavailable-logs-error": "Unable to show the logs while the app is not running.", - - "filter-dialog": { - "state": "The state must be", - "name": "The name must contain", - "port": "The port must contain", - "autostart": "The autostart must be", - - "state-options": { - "any": "Running or stopped", - "running": "Running", - "stopped": "Stopped" - }, - - "autostart-options": { - "any": "Enabled or disabled", - "enabled": "Enabled", - "disabled": "Disabled" - } - } - }, - "vpn-socks-server-settings": { - "socks-title": "Skysocks Settings", - "vpn-title": "VPN-Server Settings", - "new-password": "New password (Leave empty to remove the password)", - "repeat-password": "Repeat password", - "passwords-not-match": "Passwords do not match.", - "secure-mode-check": "Use secure mode", - "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", - "save": "Save", - "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", - "change-passowrd-confirmation": "Are you sure you want to change the password?", - "changes-made": "The changes have been made." - }, - "vpn-socks-client-settings": { - "socks-title": "Skysocks-Client Settings", - "vpn-title": "VPN-Client Settings", - "discovery-tab": "Search", - "remote-visor-tab": "Enter manually", - "history-tab": "History", - "settings-tab": "Settings", - "use": "Use this data", - "change-note": "Change note", - "remove-entry": "Remove entry", - "note": "Note:", - "note-entered-manually": "Entered manually", - "note-obtained": "Obtained from the discovery service", - "key": "Key:", - "port": "Port:", - "location": "Location:", - "state-available": "Available", - "state-offline": "Offline", - "public-key": "Remote visor public key", - "password": "Password", - "password-history-warning": "Note: the password will not be saved in the history.", - "copy-pk-info": "Copy public key.", - "copied-pk-info": "The public key has been copied.", - "copy-pk-error": "There was a problem copying the public key.", - "no-elements": "Currently there are no elements to show. Please try again later.", - "no-elements-for-filters": "There are no elements that meet the filter criteria.", - "no-filter": "No filter has been selected", - "click-to-change": "Click to change", - "remote-key-length-error": "The public key must be 66 characters long.", - "remote-key-chars-error": "The public key must only contain hexadecimal characters.", - "save": "Save", - "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", - "change-key-confirmation": "Are you sure you want to change the remote visor public key?", - "changes-made": "The changes have been made.", - "no-history": "This tab will show the last {{ number }} public keys used.", - "default-note-warning": "The default note has been used.", - "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", - "killswitch-check": "Activate killswitch", - "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).", - "settings-changed-alert": " The changes have not been saved yet.", - "save-settings": "Save settings", - - "change-note-dialog": { - "title": "Change Note", - "note": "Note" - }, - - "password-dialog": { - "title": "Enter Password", - "password": "Password", - "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", - "continue-button": "Continue" - }, - - "filter-dialog": { - "title": "Filters", - "country": "The country must be", - "any-country": "Any", - "location": "The location must contain", - "pub-key": "The public key must contain", - "apply": "Apply" - } - }, - "stop-app": "Stop", - "start-app": "Start", - "view-logs": "View logs", - "settings": "Settings", - "error": "An error has occured and it was not possible to perform the operation.", - "stop-confirmation": "Are you sure you want to stop the app?", - "stop-selected-confirmation": "Are you sure you want to stop the selected apps?", - "disable-autostart-confirmation": "Are you sure you want to disable autostart for the app?", - "enable-autostart-confirmation": "Are you sure you want to enable autostart for the app?", - "disable-autostart-selected-confirmation": "Are you sure you want to disable autostart for the selected apps?", - "enable-autostart-selected-confirmation": "Are you sure you want to enable autostart for the selected apps?", - "operation-completed": "Operation completed.", - "operation-unnecessary": "The selection already has the requested setting.", - "status-running": "Running", - "status-stopped": "Stopped", - "status-failed": "Failed", - "status-running-tooltip": "App is currently running", - "status-stopped-tooltip": "App is currently stopped", - "status-failed-tooltip": "Something went wrong. Check the app's messages for more information" - }, - - "transports": { - "title": "Transports", - "remove-all-offline": "Remove all offline transports", - "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", - "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", - "list-title": "Transport list", - "state": "State", - "state-tooltip": "Current state", - "id": "ID", - "remote-node": "Remote", - "type": "Type", - "create": "Create transport", - "delete-confirmation": "Are you sure you want to delete the transport?", - "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", - "delete": "Delete transport", - "deleted": "Delete operation completed.", - "empty": "Visor doesn't have any transports.", - "empty-with-filter": "No transport matches the selected filtering criteria.", - "statuses": { - "online": "Online", - "online-tooltip": "Transport is online", - "offline": "Offline", - "offline-tooltip": "Transport is offline" - }, - "details": { - "title": "Details", - "basic": { - "title": "Basic info", - "state": "State:", - "id": "ID:", - "local-pk": "Local public key:", - "remote-pk": "Remote public key:", - "type": "Type:" - }, - "data": { - "title": "Data transmission", - "uploaded": "Uploaded data:", - "downloaded": "Downloaded data:" - } - }, - "dialog": { - "remote-key": "Remote public key", - "label": "Identification name (optional)", - "transport-type": "Transport type", - "success": "Transport created.", - "success-without-label": "The transport was created, but it was not possible to save the label.", - "errors": { - "remote-key-length-error": "The remote public key must be 66 characters long.", - "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", - "transport-type-error": "The transport type is required." - } - }, - "filter-dialog": { - "online": "The transport must be", - "id": "The id must contain", - "remote-node": "The remote key must contain", - - "online-options": { - "any": "Online or offline", - "online": "Online", - "offline": "Offline" - } - } - }, - - "routes": { - "title": "Routes", - "list-title": "Route list", - "key": "Key", - "type": "Type", - "source": "Source", - "destination": "Destination", - "delete-confirmation": "Are you sure you want to delete the route?", - "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", - "delete": "Delete route", - "deleted": "Delete operation completed.", - "empty": "Visor doesn't have any routes.", - "empty-with-filter": "No route matches the selected filtering criteria.", - "details": { - "title": "Details", - "basic": { - "title": "Basic info", - "key": "Key:", - "rule": "Rule:" - }, - "summary": { - "title": "Rule summary", - "keep-alive": "Keep alive:", - "type": "Rule type:", - "key-route-id": "Key route ID:" - }, - "specific-fields-titles": { - "app": "App fields", - "forward": "Forward fields", - "intermediary-forward": "Intermediary forward fields" - }, - "specific-fields": { - "route-id": "Next route ID:", - "transport-id": "Next transport ID:", - "destination-pk": "Destination public key:", - "source-pk": "Source public key:", - "destination-port": "Destination port:", - "source-port": "Source port:" - } - }, - "filter-dialog": { - "key": "The key must contain", - "type": "The type must be", - "source": "The source must contain", - "destination": "The destination must contain", - "any-type-option": "Any" - } - }, - - "copy": { - "tooltip": "Click to copy", - "tooltip-with-text": "{{ text }} (Click to copy)", - "copied": "Copied!" - }, - - "selection": { - "select-all": "Select all", - "unselect-all": "Unselect all", - "delete-all": "Delete all selected elements", - "start-all": "Start all selected apps", - "stop-all": "Stop all selected apps", - "enable-autostart-all": "Enable autostart for all selected apps", - "disable-autostart-all": "Disable autostart for all selected apps" - }, - - "refresh-button": { - "seconds": "Updated a few seconds ago", - "minute": "Updated 1 minute ago", - "minutes": "Updated {{ time }} minutes ago", - "hour": "Updated 1 hour ago", - "hours": "Updated {{ time }} hours ago", - "day": "Updated 1 day ago", - "days": "Updated {{ time }} days ago", - "week": "Updated 1 week ago", - "weeks": "Updated {{ time }} weeks ago", - "error-tooltip": "There was an error updating the data. Retrying automatically every {{ time }} seconds..." - }, - - "view-all-link": { - "label": "View all {{ number }} elements" - }, - - "paginator": { - "first": "First", - "last": "Last", - "total": "Total: {{ number }} pages", - "select-page-title": "Select page" - }, - - "confirmation" : { - "header-text": "Confirmation", - "confirm-button": "Yes", - "cancel-button": "No", - "close": "Close", - "error-header-text": "Error", - "done-header-text": "Done" - }, - - "language" : { - "title": "Select language" - }, - - "tabs-window" : { - "title" : "Change tab" - } -} +{ + "common": { + "save": "Save", + "cancel": "Cancel", + "downloaded": "Downloaded", + "uploaded": "Uploaded", + "loading-error": "There was an error getting the data. Retrying...", + "operation-error": "There was an error trying to complete the operation.", + "no-connection-error": "There is no internet connection or connection to the Hypervisor.", + "error": "Error:", + "refreshed": "Data refreshed.", + "options": "Options", + "logout": "Logout", + "logout-error": "Error logging out.", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Unknown", + "close": "Close" + }, + + "labeled-element": { + "edit-label": "Edit label", + "remove-label": "Remove label", + "copy": "Copy", + "remove-label-confirmation": "Do you really want to remove the label?", + "unnamed-element": "Unnamed", + "unnamed-local-visor": "Local visor", + "local-element": "Local", + "tooltip": "Click to copy the entry or change the label", + "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" + }, + + "labels": { + "title": "Labels", + "info": "Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.", + "list-title": "Label list", + "label": "Label", + "id": "Element ID", + "type": "Type", + "delete-confirmation": "Are you sure you want to delete the label?", + "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", + "delete": "Delete label", + "deleted": "Delete operation completed.", + "empty": "There aren't any saved labels.", + "empty-with-filter": "No label matches the selected filtering criteria.", + "filter-dialog": { + "label": "The label must contain", + "id": "The id must contain", + "type": "The type must be", + + "type-options": { + "any": "Any", + "visor": "Visor", + "dmsg-server": "DMSG server", + "transport": "Transport" + } + } + }, + + "filters": { + "filter-action": "Filter", + "press-to-remove": "(Press to remove the filters)", + "remove-confirmation": "Are you sure you want to remove the filters?" + }, + + "tables": { + "title": "Order by", + "sorting-title": "Ordered by:", + "sort-by-value": "Value", + "sort-by-label": "Label", + "label": "(label)", + "inverted-order": "(inverted)" + }, + + "start": { + "title": "Start" + }, + + "node": { + "title": "Visor details", + "not-found": "Visor not found.", + "statuses": { + "online": "Online", + "online-tooltip": "Visor is online.", + "partially-online": "Online with problems", + "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", + "offline": "Offline", + "offline-tooltip": "Visor is offline." + }, + "details": { + "node-info": { + "title": "Visor Info", + "label": "Label:", + "public-key": "Public key:", + "dmsg-server": "DMSG server:", + "ping": "Ping:", + "node-version": "Visor version:", + "time": { + "title": "Time online:", + "seconds": "a few seconds", + "minute": "1 minute", + "minutes": "{{ time }} minutes", + "hour": "1 hour", + "hours": "{{ time }} hours", + "day": "1 day", + "days": "{{ time }} days", + "week": "1 week", + "weeks": "{{ time }} weeks" + } + }, + "node-health": { + "title": "Health info", + "status": "Status:", + "transport-discovery": "Transport discovery:", + "route-finder": "Route finder:", + "setup-node": "Setup node:", + "uptime-tracker": "Uptime tracker:", + "address-resolver": "Address resolver:", + "element-offline": "Offline" + }, + "node-traffic-data": "Traffic data" + }, + "tabs": { + "info": "Info", + "apps": "Apps", + "routing": "Routing" + }, + "error-load": "An error occurred while refreshing the data. Retrying..." + }, + + "nodes": { + "title": "Visor list", + "dmsg-title": "DMSG", + "update-all": "Update all visors", + "hypervisor": "Hypervisor", + "state": "State", + "state-tooltip": "Current state", + "label": "Label", + "key": "Key", + "dmsg-server": "DMSG server", + "ping": "Ping", + "hypervisor-info": "This visor is the current Hypervisor.", + "copy-key": "Copy key", + "copy-dmsg": "Copy DMSG server key", + "copy-data": "Copy data", + "view-node": "View visor", + "delete-node": "Remove visor", + "delete-all-offline": "Remove all offline visors", + "error-load": "An error occurred while refreshing the list. Retrying...", + "empty": "There aren't any visors connected to this hypervisor.", + "empty-with-filter": "No visor matches the selected filtering criteria.", + "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", + "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", + "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", + "deleted": "Visor removed.", + "deleted-singular": "1 offline visor removed.", + "deleted-plural": "{{ number }} offline visors removed.", + "no-visors-to-update": "There are no visors to update.", + "filter-dialog": { + "online": "The visor must be", + "label": "The label must contain", + "key": "The public key must contain", + "dmsg": "The DMSG server key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "edit-label": { + "label": "Label", + "done": "Label saved.", + "label-removed-warning": "The label was removed." + }, + + "settings": { + "title": "Settings", + "password" : { + "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", + "help": "Options for changing your password.", + "old-password": "Old password", + "new-password": "New password", + "repeat-password": "Repeat password", + "password-changed": "Password changed.", + "error-changing": "Error changing password.", + "initial-config": { + "title": "Set initial password", + "password": "Password", + "repeat-password": "Repeat password", + "set-password": "Set password", + "done": "Password set. Please use it to access the system.", + "error": "Error. Please make sure you have not already set the password." + }, + "errors": { + "bad-old-password": "The provided old password is not correct.", + "old-password-required": "Old password is required.", + "new-password-error": "Password must be 6-64 characters long.", + "passwords-not-match": "Passwords do not match.", + "default-password": "Don't use the default password (1234)." + } + }, + "updater-config" : { + "open-link": "Show updater settings", + "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", + "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", + "channel": "Channel", + "version": "Version", + "archive-url": "Archive URL", + "checksum-url": "Checksum URL", + "not-saved": "The changes have not been saved yet.", + "save": "Save changes", + "remove-settings": "Remove the settings", + "saved": "The custom settings have been saved.", + "removed": "The custom settings have been removed.", + "save-confirmation": "Are you sure you want to apply the custom settings?", + "remove-confirmation": "Are you sure you want to remove the custom settings?" + }, + "change-password": "Change password", + "refresh-rate": "Refresh rate", + "refresh-rate-help": "Time the system waits to update the data automatically.", + "refresh-rate-confirmation": "Refresh rate changed.", + "seconds": "seconds" + }, + + "login": { + "password": "Password", + "incorrect-password": "Incorrect password.", + "initial-config": "Configure initial launch" + }, + + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuration", + "update": "Update", + "reboot": "Reboot" + }, + "reboot": { + "confirmation": "Are you sure you want to reboot the visor?", + "done": "The visor is restarting." + }, + "terminal-options": { + "full": "Full terminal", + "simple": "Simple terminal" + }, + "terminal": { + "title": "Terminal", + "input-start": "Skywire terminal for {{address}}", + "error": "Unexpected error while trying to execute the command." + } + }, + + "update": { + "title": "Update", + "error-title": "Error", + "processing": "Looking for updates...", + "no-update": "There is no update for the visor. The currently installed version is:", + "no-updates": "No new updates were found.", + "already-updating": "Some visors are already being updated:", + "update-available": "The following updates were found:", + "update-available-singular": "The following updates for 1 visor were found:", + "update-available-plural": "The following updates for {{ number }} visors were found:", + "update-available-additional-singular": "The following additional updates for 1 visor were found:", + "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", + "update-instructions": "Click the 'Install updates' button to continue.", + "updating": "The update operation has been started, you can open this window again for checking the progress:", + "version-change": "From {{ currentVersion }} to {{ newVersion }}", + "selected-channel": "Selected channel:", + "downloaded-file-name-prefix": "Downloading: ", + "speed-prefix": "Speed: ", + "time-downloading-prefix": "Time downloading: ", + "time-left-prefix": "Aprox. time left: ", + "starting": "Preparing to update", + "finished": "Status connection finished", + "install": "Install updates" + }, + + "apps": { + "log": { + "title": "Log", + "empty": "There are no log messages for the selected time range.", + "filter-button": "Only showing logs generated since:", + "filter": { + "title": "Filter", + "filter": "Only show logs generated since", + "7-days": "The last 7 days", + "1-month": "The last 30 days", + "3-months": "The last 3 months", + "6-months": "The last 6 months", + "1-year": "The last year", + "all": "Show all" + } + }, + "apps-list": { + "title": "Applications", + "list-title": "Application list", + "app-name": "Name", + "port": "Port", + "state": "State", + "state-tooltip": "Current state", + "auto-start": "Auto start", + "empty": "Visor doesn't have any applications.", + "empty-with-filter": "No app matches the selected filtering criteria.", + "disable-autostart": "Disable autostart", + "enable-autostart": "Enable autostart", + "autostart-disabled": "Autostart disabled", + "autostart-enabled": "Autostart enabled", + "unavailable-logs-error": "Unable to show the logs while the app is not running.", + + "filter-dialog": { + "state": "The state must be", + "name": "The name must contain", + "port": "The port must contain", + "autostart": "The autostart must be", + + "state-options": { + "any": "Running or stopped", + "running": "Running", + "stopped": "Stopped" + }, + + "autostart-options": { + "any": "Enabled or disabled", + "enabled": "Enabled", + "disabled": "Disabled" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Skysocks Settings", + "vpn-title": "VPN-Server Settings", + "new-password": "New password (Leave empty to remove the password)", + "repeat-password": "Repeat password", + "passwords-not-match": "Passwords do not match.", + "secure-mode-check": "Use secure mode", + "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", + "save": "Save", + "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", + "change-passowrd-confirmation": "Are you sure you want to change the password?", + "changes-made": "The changes have been made." + }, + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Settings", + "vpn-title": "VPN-Client Settings", + "discovery-tab": "Search", + "remote-visor-tab": "Enter manually", + "history-tab": "History", + "settings-tab": "Settings", + "use": "Use this data", + "change-note": "Change note", + "remove-entry": "Remove entry", + "note": "Note:", + "note-entered-manually": "Entered manually", + "note-obtained": "Obtained from the discovery service", + "key": "Key:", + "port": "Port:", + "location": "Location:", + "state-available": "Available", + "state-offline": "Offline", + "public-key": "Remote visor public key", + "password": "Password", + "password-history-warning": "Note: the password will not be saved in the history.", + "copy-pk-info": "Copy public key.", + "copied-pk-info": "The public key has been copied.", + "copy-pk-error": "There was a problem copying the public key.", + "no-elements": "Currently there are no elements to show. Please try again later.", + "no-elements-for-filters": "There are no elements that meet the filter criteria.", + "no-filter": "No filter has been selected", + "click-to-change": "Click to change", + "remote-key-length-error": "The public key must be 66 characters long.", + "remote-key-chars-error": "The public key must only contain hexadecimal characters.", + "save": "Save", + "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", + "change-key-confirmation": "Are you sure you want to change the remote visor public key?", + "changes-made": "The changes have been made.", + "no-history": "This tab will show the last {{ number }} public keys used.", + "default-note-warning": "The default note has been used.", + "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", + "killswitch-check": "Activate killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).", + "settings-changed-alert": " The changes have not been saved yet.", + "save-settings": "Save settings", + + "change-note-dialog": { + "title": "Change Note", + "note": "Note" + }, + + "password-dialog": { + "title": "Enter Password", + "password": "Password", + "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", + "continue-button": "Continue" + }, + + "filter-dialog": { + "title": "Filters", + "country": "The country must be", + "any-country": "Any", + "location": "The location must contain", + "pub-key": "The public key must contain", + "apply": "Apply" + } + }, + "stop-app": "Stop", + "start-app": "Start", + "view-logs": "View logs", + "settings": "Settings", + "error": "An error has occured and it was not possible to perform the operation.", + "stop-confirmation": "Are you sure you want to stop the app?", + "stop-selected-confirmation": "Are you sure you want to stop the selected apps?", + "disable-autostart-confirmation": "Are you sure you want to disable autostart for the app?", + "enable-autostart-confirmation": "Are you sure you want to enable autostart for the app?", + "disable-autostart-selected-confirmation": "Are you sure you want to disable autostart for the selected apps?", + "enable-autostart-selected-confirmation": "Are you sure you want to enable autostart for the selected apps?", + "operation-completed": "Operation completed.", + "operation-unnecessary": "The selection already has the requested setting.", + "status-running": "Running", + "status-stopped": "Stopped", + "status-failed": "Failed", + "status-running-tooltip": "App is currently running", + "status-stopped-tooltip": "App is currently stopped", + "status-failed-tooltip": "Something went wrong. Check the app's messages for more information" + }, + + "transports": { + "title": "Transports", + "remove-all-offline": "Remove all offline transports", + "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", + "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", + "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", + "list-title": "Transport list", + "state": "State", + "state-tooltip": "Current state", + "id": "ID", + "remote-node": "Remote", + "type": "Type", + "create": "Create transport", + "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", + "delete": "Delete transport", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any transports.", + "empty-with-filter": "No transport matches the selected filtering criteria.", + "statuses": { + "online": "Online", + "online-tooltip": "Transport is online", + "offline": "Offline", + "offline-tooltip": "Transport is offline" + }, + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "state": "State:", + "id": "ID:", + "local-pk": "Local public key:", + "remote-pk": "Remote public key:", + "type": "Type:" + }, + "data": { + "title": "Data transmission", + "uploaded": "Uploaded data:", + "downloaded": "Downloaded data:" + } + }, + "dialog": { + "remote-key": "Remote public key", + "label": "Identification name (optional)", + "transport-type": "Transport type", + "success": "Transport created.", + "success-without-label": "The transport was created, but it was not possible to save the label.", + "errors": { + "remote-key-length-error": "The remote public key must be 66 characters long.", + "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", + "transport-type-error": "The transport type is required." + } + }, + "filter-dialog": { + "online": "The transport must be", + "id": "The id must contain", + "remote-node": "The remote key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "routes": { + "title": "Routes", + "info": "Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.", + "list-title": "Route list", + "key": "Key", + "type": "Type", + "source": "Source", + "destination": "Destination", + "delete-confirmation": "Are you sure you want to delete the route?", + "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", + "delete": "Delete route", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any routes.", + "empty-with-filter": "No route matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "key": "Key:", + "rule": "Rule:" + }, + "summary": { + "title": "Rule summary", + "keep-alive": "Keep alive:", + "type": "Rule type:", + "key-route-id": "Key route ID:" + }, + "specific-fields-titles": { + "app": "App fields", + "forward": "Forward fields", + "intermediary-forward": "Intermediary forward fields" + }, + "specific-fields": { + "route-id": "Next route ID:", + "transport-id": "Next transport ID:", + "destination-pk": "Destination public key:", + "source-pk": "Source public key:", + "destination-port": "Destination port:", + "source-port": "Source port:" + } + }, + "filter-dialog": { + "key": "The key must contain", + "type": "The type must be", + "source": "The source must contain", + "destination": "The destination must contain", + "any-type-option": "Any" + } + }, + + "copy": { + "tooltip": "Click to copy", + "tooltip-with-text": "{{ text }} (Click to copy)", + "copied": "Copied!" + }, + + "selection": { + "select-all": "Select all", + "unselect-all": "Unselect all", + "delete-all": "Delete all selected elements", + "start-all": "Start all selected apps", + "stop-all": "Stop all selected apps", + "enable-autostart-all": "Enable autostart for all selected apps", + "disable-autostart-all": "Disable autostart for all selected apps" + }, + + "refresh-button": { + "seconds": "Updated a few seconds ago", + "minute": "Updated 1 minute ago", + "minutes": "Updated {{ time }} minutes ago", + "hour": "Updated 1 hour ago", + "hours": "Updated {{ time }} hours ago", + "day": "Updated 1 day ago", + "days": "Updated {{ time }} days ago", + "week": "Updated 1 week ago", + "weeks": "Updated {{ time }} weeks ago", + "error-tooltip": "There was an error updating the data. Retrying automatically every {{ time }} seconds..." + }, + + "view-all-link": { + "label": "View all {{ number }} elements" + }, + + "paginator": { + "first": "First", + "last": "Last", + "total": "Total: {{ number }} pages", + "select-page-title": "Select page" + }, + + "confirmation" : { + "header-text": "Confirmation", + "confirm-button": "Yes", + "cancel-button": "No", + "close": "Close", + "error-header-text": "Error", + "done-header-text": "Done" + }, + + "language" : { + "title": "Select language" + }, + + "tabs-window" : { + "title" : "Change tab" + } +} diff --git a/cmd/skywire-visor/static/assets/i18n/en.json b/cmd/skywire-visor/static/assets/i18n/en.json new file mode 100644 index 000000000..0716773ec --- /dev/null +++ b/cmd/skywire-visor/static/assets/i18n/en.json @@ -0,0 +1,891 @@ +{ + "common": { + "save": "Save", + "cancel": "Cancel", + "downloaded": "Downloaded", + "uploaded": "Uploaded", + "loading-error": "There was an error getting the data. Retrying...", + "operation-error": "There was an error trying to complete the operation.", + "no-connection-error": "There is no internet connection or connection to the Hypervisor.", + "error": "Error:", + "refreshed": "Data refreshed.", + "options": "Options", + "logout": "Logout", + "logout-error": "Error logging out.", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms.", + "time-in-segs": "{{ time }}s.", + "ok": "Ok", + "yes": "Yes", + "no": "No", + "unknown": "Unknown", + "close": "Close", + "window-size-error": "The window is too narrow for the content." + }, + + "labeled-element": { + "edit-label": "Edit label", + "remove-label": "Remove label", + "copy": "Copy", + "remove-label-confirmation": "Do you really want to remove the label?", + "unnamed-element": "Unnamed", + "unnamed-local-visor": "Local visor", + "local-element": "Local", + "tooltip": "Click to copy the entry or change the label", + "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" + }, + + "labels": { + "title": "Labels", + "info": "Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.", + "list-title": "Label list", + "label": "Label", + "id": "Element ID", + "type": "Type", + "delete-confirmation": "Are you sure you want to delete the label?", + "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", + "delete": "Delete label", + "deleted": "Delete operation completed.", + "empty": "There aren't any saved labels.", + "empty-with-filter": "No label matches the selected filtering criteria.", + "filter-dialog": { + "label": "The label must contain", + "id": "The id must contain", + "type": "The type must be", + + "type-options": { + "any": "Any", + "visor": "Visor", + "dmsg-server": "DMSG server", + "transport": "Transport" + } + } + }, + + "filters": { + "filter-action": "Filter", + "filter-info": "Filter list.", + "press-to-remove": "(Press to remove the filters)", + "remove-confirmation": "Are you sure you want to remove the filters?" + }, + + "tables": { + "title": "Order by", + "sorting-title": "Ordered by:", + "sort-by-value": "Value", + "sort-by-label": "Label", + "label": "(label)", + "inverted-order": "(inverted)" + }, + + "start": { + "title": "Start" + }, + + "node": { + "title": "Visor details", + "not-found": "Visor not found.", + "statuses": { + "online": "Online", + "online-tooltip": "The visor is online.", + "connecting": "Connecting", + "connecting-tooltip": "The visor is online, but still connecting to the uptime tracker.", + "unknown": "Unknown", + "unknown-tooltip": "The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.", + "partially-online": "Online with problems", + "partially-online-tooltip": "The visor is online, but disconnected from the uptime tracker.", + "offline": "Offline", + "offline-tooltip": "The visor is offline." + }, + "details": { + "node-info": { + "title": "Visor Info", + "label": "Label:", + "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", + "ip": "IP:", + "dmsg-server": "DMSG server:", + "ping": "Ping:", + "node-version": "Visor version:", + "build-type": "Build type:", + "skybian-version": "Skybian version:", + "unknown-build": "Unknown", + "time": { + "title": "Time online:", + "seconds": "a few seconds", + "minute": "1 minute", + "minutes": "{{ time }} minutes", + "hour": "1 hour", + "hours": "{{ time }} hours", + "day": "1 day", + "days": "{{ time }} days", + "week": "1 week", + "weeks": "{{ time }} weeks" + } + }, + "transports-info": { + "title": "Transports Info", + "autoconnect": "Autoconnect:", + "autoconnect-info": "When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.", + "enabled": "Enabled", + "disabled": "Disabled", + "enable-button": "Enable", + "disable-button": "Disable", + "enable-confirmation": "Are you sure you want to enable the autoconnect feature?", + "disable-confirmation": "Are you sure you want to disable the autoconnect feature?", + "enable-done": "The autoconnect feature has been enabled.", + "disable-done": "The autoconnect feature has been disabled." + }, + "router-info": { + "title": "Router Info", + "min-hops": "Min hops:", + "max-hops": "Max hops:", + "change-config-button": "Change configuration" + }, + "node-health": { + "title": "Health Info", + "uptime-tracker": "Uptime tracker:", + "connected": "Connected", + "disconnected": "Disconnected" + }, + "node-traffic-data": "Traffic data" + }, + "tabs": { + "info": "Info", + "apps": "Apps", + "routing": "Routing" + }, + "error-load": "An error occurred while refreshing the data. Retrying..." + }, + + "router-config": { + "title": "Router Configuration", + "info": "Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.", + "min-hops": "Min hops", + "save-config-button": "Save configuration", + "done": "Changes saved." + }, + + "nodes": { + "title": "Visor list", + "dmsg-title": "DMSG", + "update-all": "Update all online visors", + "hypervisor": "Hypervisor", + "state": "State", + "state-tooltip": "Current state", + "label": "Label", + "key": "Key", + "dmsg-server": "DMSG server", + "ping": "Ping", + "hypervisor-info": "This visor is the current Hypervisor.", + "copy-key": "Copy key", + "copy-dmsg": "Copy DMSG server key", + "copy-data": "Copy data", + "view-node": "View visor", + "delete-node": "Remove visor", + "delete-all-offline": "Remove all offline visors", + "error-load": "An error occurred while refreshing the list. Retrying...", + "empty": "There aren't any visors connected to this hypervisor.", + "empty-with-filter": "No visor matches the selected filtering criteria.", + "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", + "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", + "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", + "deleted": "Visor removed.", + "deleted-singular": "1 offline visor removed.", + "deleted-plural": "{{ number }} offline visors removed.", + "no-visors-to-update": "There are no visors to update.", + "filter-dialog": { + "online": "The visor must be", + "label": "The label must contain", + "key": "The public key must contain", + "dmsg": "The DMSG server key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "edit-label": { + "label": "Label", + "done": "Label saved.", + "label-removed-warning": "The label was removed." + }, + + "settings": { + "title": "Settings", + "password" : { + "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", + "help": "Options for changing your password.", + "old-password": "Old password", + "new-password": "New password", + "repeat-password": "Repeat password", + "password-changed": "Password changed.", + "error-changing": "Error changing password.", + "initial-config": { + "title": "Set initial password", + "password": "Password", + "repeat-password": "Repeat password", + "set-password": "Set password", + "done": "Password set. Please use it to access the system.", + "error": "Error. Please make sure you have not already set the password." + }, + "errors": { + "bad-old-password": "The provided old password is not correct.", + "old-password-required": "Old password is required.", + "new-password-error": "Password must be 6-64 characters long.", + "passwords-not-match": "Passwords do not match.", + "default-password": "Don't use the default password (1234)." + } + }, + "updater-config" : { + "open-link": "Show updater settings", + "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", + "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", + "channel": "Channel", + "version": "Version", + "archive-url": "Archive URL", + "checksum-url": "Checksum URL", + "not-saved": "The changes have not been saved yet.", + "save": "Save changes", + "remove-settings": "Remove the settings", + "saved": "The custom settings have been saved.", + "removed": "The custom settings have been removed.", + "save-confirmation": "Are you sure you want to apply the custom settings?", + "remove-confirmation": "Are you sure you want to remove the custom settings?" + }, + "change-password": "Change password", + "refresh-rate": "Refresh rate", + "refresh-rate-help": "Time the system waits to update the data automatically.", + "refresh-rate-confirmation": "Refresh rate changed.", + "seconds": "seconds" + }, + + "login": { + "password": "Password", + "incorrect-password": "Incorrect password.", + "initial-config": "Configure initial launch" + }, + + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuration", + "update": "Update", + "reboot": "Reboot", + "logs": "View logs" + }, + "reboot": { + "confirmation": "Are you sure you want to reboot the visor?", + "done": "The visor is restarting." + }, + "terminal-options": { + "full": "Full terminal", + "simple": "Simple terminal" + }, + "terminal": { + "title": "Terminal", + "input-start": "Skywire terminal for {{address}}", + "error": "Unexpected error while trying to execute the command." + } + }, + + "update": { + "title": "Update", + "error-title": "Error", + "processing": "Looking for updates...", + "no-update": "There is no update for the visor. The currently installed version is:", + "no-updates": "No new updates were found.", + "already-updating": "Some visors are already being updated:", + "with-error": "It was not possible to check the following visors:", + "update-available": "The following updates were found:", + "update-available-singular": "The following updates for 1 visor were found:", + "update-available-plural": "The following updates for {{ number }} visors were found:", + "update-available-additional-singular": "The following additional updates for 1 visor were found:", + "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", + "update-instructions": "Click the 'Install updates' button to continue.", + "updating": "The update operation has been started, you can open this window again for checking the progress:", + "version-change": "From {{ currentVersion }} to {{ newVersion }}", + "selected-channel": "Selected channel:", + "downloaded-file-name-prefix": "Downloading: ", + "speed-prefix": "Speed: ", + "time-downloading-prefix": "Time downloading: ", + "time-left-prefix": "Aprox. time left: ", + "starting": "Preparing to update", + "finished": "Status connection finished", + "install": "Install updates" + }, + + "apps": { + "log": { + "title": "Log", + "empty": "There are no log messages for the selected time range.", + "filter-button": "Only showing logs generated since:", + "filter": { + "title": "Filter", + "filter": "Only show logs generated since", + "7-days": "The last 7 days", + "1-month": "The last 30 days", + "3-months": "The last 3 months", + "6-months": "The last 6 months", + "1-year": "The last year", + "all": "Show all" + } + }, + "apps-list": { + "title": "Applications", + "list-title": "Application list", + "app-name": "Name", + "port": "Port", + "state": "State", + "state-tooltip": "Current state", + "auto-start": "Auto start", + "empty": "Visor doesn't have any applications.", + "empty-with-filter": "No app matches the selected filtering criteria.", + "disable-autostart": "Disable autostart", + "enable-autostart": "Enable autostart", + "autostart-disabled": "Autostart disabled", + "autostart-enabled": "Autostart enabled", + "unavailable-logs-error": "Unable to show the logs while the app is not running.", + + "filter-dialog": { + "state": "The state must be", + "name": "The name must contain", + "port": "The port must contain", + "autostart": "The autostart must be", + + "state-options": { + "any": "Running or stopped", + "running": "Running", + "stopped": "Stopped" + }, + + "autostart-options": { + "any": "Enabled or disabled", + "enabled": "Enabled", + "disabled": "Disabled" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Skysocks Settings", + "vpn-title": "VPN-Server Settings", + "new-password": "New password (Leave empty to remove the password)", + "repeat-password": "Repeat password", + "passwords-not-match": "Passwords do not match.", + "secure-mode-check": "Use secure mode", + "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", + "save": "Save", + "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", + "change-passowrd-confirmation": "Are you sure you want to change the password?", + "changes-made": "The changes have been made." + }, + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Settings", + "vpn-title": "VPN-Client Settings", + "discovery-tab": "Search", + "remote-visor-tab": "Enter manually", + "history-tab": "History", + "settings-tab": "Settings", + "use": "Use this data", + "change-note": "Change note", + "remove-entry": "Remove entry", + "note": "Note:", + "note-entered-manually": "Entered manually", + "note-obtained": "Obtained from the discovery service", + "key": "Key:", + "port": "Port:", + "location": "Location:", + "state-available": "Available", + "state-offline": "Offline", + "public-key": "Remote visor public key", + "password": "Password", + "password-history-warning": "Note: the password will not be saved in the history.", + "copy-pk-info": "Copy public key.", + "copied-pk-info": "The public key has been copied.", + "copy-pk-error": "There was a problem copying the public key.", + "no-elements": "Currently there are no elements to show. Please try again later.", + "no-elements-for-filters": "There are no elements that meet the filter criteria.", + "no-filter": "No filter has been selected", + "click-to-change": "Click to change", + "remote-key-length-error": "The public key must be 66 characters long.", + "remote-key-chars-error": "The public key must only contain hexadecimal characters.", + "save": "Save", + "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", + "change-key-confirmation": "Are you sure you want to change the remote visor public key?", + "changes-made": "The changes have been made.", + "no-history": "This tab will show the last {{ number }} public keys used.", + "default-note-warning": "The default note has been used.", + "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", + "killswitch-check": "Activate killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.", + "settings-changed-alert": " The changes have not been saved yet.", + "save-settings": "Save settings", + + "change-note-dialog": { + "title": "Change Note", + "note": "Note" + }, + + "password-dialog": { + "title": "Enter Password", + "password": "Password", + "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", + "continue-button": "Continue" + }, + + "filter-dialog": { + "title": "Filters", + "country": "The country must be", + "any-country": "Any", + "location": "The location must contain", + "pub-key": "The public key must contain", + "apply": "Apply" + } + }, + "stop-app": "Stop", + "start-app": "Start", + "view-logs": "View logs", + "settings": "Settings", + "open": "Open", + "error": "An error has occured and it was not possible to perform the operation.", + "stop-confirmation": "Are you sure you want to stop the app?", + "stop-selected-confirmation": "Are you sure you want to stop the selected apps?", + "disable-autostart-confirmation": "Are you sure you want to disable autostart for the app?", + "enable-autostart-confirmation": "Are you sure you want to enable autostart for the app?", + "disable-autostart-selected-confirmation": "Are you sure you want to disable autostart for the selected apps?", + "enable-autostart-selected-confirmation": "Are you sure you want to enable autostart for the selected apps?", + "operation-completed": "Operation completed.", + "operation-unnecessary": "The selection already has the requested setting.", + "status-running": "Running", + "status-stopped": "Stopped", + "status-failed": "Failed", + "status-running-tooltip": "App is currently running", + "status-stopped-tooltip": "App is currently stopped", + "status-failed-tooltip": "Something went wrong. Check the app's messages for more information" + }, + + "transports": { + "title": "Transports", + "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", + "list-title": "Transport list", + "offline": "Offline", + "persistent": "Persistent", + "persistent-tooltip": "Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.", + "persistent-transport-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "persistent-transport-button-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.", + "non-persistent-transport-button-tooltip": "Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "make-persistent": "Make persistent", + "make-non-persistent": "Make non-persistent", + "make-selected-persistent": "Make all selected persistent", + "make-selected-non-persistent": "Make all selected non-persistent", + "changes-made": "Changes made.", + "no-changes-needed": "No changes were needed.", + "id": "ID", + "remote-node": "Remote", + "type": "Type", + "create": "Create transport", + "make-persistent-confirmation": "Are you sure you want to make the transport persistent?", + "make-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent?", + "make-selected-persistent-confirmation": "Are you sure you want to make the selected transports persistent?", + "make-selected-non-persistent-confirmation": "Are you sure you want to make the selected transports non-persistent?", + "make-offline-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.", + "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-persistent-confirmation": "This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?", + "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", + "delete": "Delete transport", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any transports.", + "empty-with-filter": "No transport matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "persistent": "Persistent:", + "id": "ID:", + "local-pk": "Local public key:", + "remote-pk": "Remote public key:", + "type": "Type:" + }, + "data": { + "title": "Data transmission", + "uploaded": "Uploaded data:", + "downloaded": "Downloaded data:" + } + }, + "dialog": { + "remote-key": "Remote public key", + "label": "Identification name (optional)", + "transport-type": "Transport type", + "make-persistent": "Make persistent", + "persistent-tooltip": "Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "only-persistent-created": "The persistent transport was created, but it may have not been activated.", + "success": "Transport created.", + "success-without-label": "The transport was created, but it was not possible to save the label.", + "errors": { + "remote-key-length-error": "The remote public key must be 66 characters long.", + "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", + "transport-type-error": "The transport type is required." + } + }, + "filter-dialog": { + "persistent": "The transport must be", + "id": "The id must contain", + "remote-node": "The remote key must contain", + + "persistent-options": { + "any": "Any", + "persistent": "Persistent", + "non-persistent": "Non-persistent" + } + } + }, + + "routes": { + "title": "Routes", + "info": "Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.", + "list-title": "Route list", + "key": "Key", + "type": "Type", + "source": "Source", + "destination": "Destination", + "delete-confirmation": "Are you sure you want to delete the route?", + "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", + "delete": "Delete route", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any routes.", + "empty-with-filter": "No route matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "key": "Key:", + "rule": "Rule:" + }, + "summary": { + "title": "Rule summary", + "keep-alive": "Keep alive:", + "type": "Rule type:", + "key-route-id": "Key route ID:" + }, + "specific-fields-titles": { + "app": "App fields", + "forward": "Forward fields", + "intermediary-forward": "Intermediary forward fields" + }, + "specific-fields": { + "route-id": "Next route ID:", + "transport-id": "Next transport ID:", + "destination-pk": "Destination public key:", + "source-pk": "Source public key:", + "destination-port": "Destination port:", + "source-port": "Source port:" + } + }, + "filter-dialog": { + "key": "The key must contain", + "type": "The type must be", + "source": "The source must contain", + "destination": "The destination must contain", + "any-type-option": "Any" + } + }, + + "copy": { + "tooltip": "Click to copy", + "tooltip-with-text": "{{ text }} (Click to copy)", + "copied": "Copied!" + }, + + "selection": { + "select-all": "Select all", + "unselect-all": "Unselect all", + "delete-all": "Delete all selected elements", + "start-all": "Start all selected apps", + "stop-all": "Stop all selected apps", + "enable-autostart-all": "Enable autostart for all selected apps", + "disable-autostart-all": "Disable autostart for all selected apps" + }, + + "refresh-button": { + "seconds": "Updated a few seconds ago", + "minute": "Updated 1 minute ago", + "minutes": "Updated {{ time }} minutes ago", + "hour": "Updated 1 hour ago", + "hours": "Updated {{ time }} hours ago", + "day": "Updated 1 day ago", + "days": "Updated {{ time }} days ago", + "week": "Updated 1 week ago", + "weeks": "Updated {{ time }} weeks ago", + "error-tooltip": "There was an error updating the data. Retrying automatically every {{ time }} seconds..." + }, + + "view-all-link": { + "label": "View all {{ number }} elements" + }, + + "paginator": { + "first": "First", + "last": "Last", + "total": "Total: {{ number }} pages", + "select-page-title": "Select page" + }, + + "confirmation" : { + "header-text": "Confirmation", + "confirm-button": "Yes", + "cancel-button": "No", + "close": "Close", + "error-header-text": "Error", + "done-header-text": "Done" + }, + + "language" : { + "title": "Select language" + }, + + "tabs-window" : { + "title" : "Change tab" + }, + + "vpn" : { + "title": "VPN Control Panel", + "start": "Start", + "servers": "Servers", + "settings": "Settings", + + "unnamed": "Unnamed", + + "starting-blocked-server-error": "Unable to connect to the selected server because it has been added to the blocked servers list.", + "unexpedted-error": "An unexpected error occurred and the operation could not be completed.", + + "remote-access-title": "It appears that you are accessing the system remotely", + "remote-access-text": "This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.", + + "server-change": { + "busy-error": "The system is busy. Please wait.", + "backend-error": "It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.", + "already-selected-warning": "The selected server is already being used.", + "change-server-while-connected-confirmation": "The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?", + "start-same-server-confirmation": "You had already selected that server. Do you want to connect to it?" + }, + + "error-page": { + "text": "The VPN client app is not available.", + "more-info": "It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.", + "text-pk": "Invalid configuration.", + "more-info-pk": "The application cannot be started because you have not specified the visor public key.", + "text-storage": "Error saving data.", + "more-info-storage": "There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.", + "text-pk-change": "Invalid operation.", + "more-info-pk-change": "Please use this application to manage only one VPN client." + }, + + "connection-info" : { + "state-title": "Your connection is currently:", + "state-connecting": "Connecting", + "state-connecting-info": "The VPN protection is being activated.", + "state-connected": "Connected", + "state-connected-info": "The VPN protection is on.", + "state-disconnecting": "Disconnecting", + "state-disconnecting-info": "The VPN protection is being deactivated.", + "state-reconnecting": "Reconnecting", + "state-reconnecting-info": "The VPN protection is being restored.", + "state-disconnected": "Disconnected", + "state-disconnected-info": "The VPN protection is off.", + "state-info": "Current connection status.", + "latency-info": "Current latency.", + "upload-info": "Upload speed.", + "download-info": "Download speed." + }, + + "connection-error" : { + "text": "Connection error", + "info": "Problem connecting with the vpn app. Some data being displayed could be outdated." + }, + + "status-page": { + "start-title": "Start VPN", + "no-server": "No server selected!", + "disconnect": "Disconnect", + "last-error": "Last error:", + "unknown-error": "Unknown error.", + "disconnect-confirmation": "Are you sure you want to stop the VPN protection?", + "upload-info": "Uploaded data stats.", + "download-info": "Downloaded data stats.", + "latency-info": "Latency stats.", + "total-data-label": "total", + "problem-connecting-error": "It was not possible to connect to the server. The server may be invalid or temporarily down.", + "problem-starting-error": "It was not possible to start the VPN. Please make sure the base VPN client app is running.", + "problem-stopping-error": "It was not possible to stop the VPN. Please make sure the base VPN client app is running.", + "generic-problem-error": "It was not possible to perform the operation. Please make sure the base VPN client app is running.", + "select-server-warning": "Please select a server first.", + + "data": { + "ip": "IP address:", + "ip-problem-info": "There was a problem trying to get the IP. Please verify it using an external service.", + "ip-country-problem-info": "There was a problem trying to get the country. Please verify it using an external service.", + "ip-refresh-info": "Refresh", + "ip-refresh-time-warning": "Please wait {{ seconds }} second(s) before refreshing the data.", + "ip-refresh-loading-warning": "Please wait for the previous operation to finish.", + "country": "Country:", + "server": "Server:", + "server-note": "Server note:", + "original-server-note": "Original server note:", + "local-pk": "Local visor public key:", + "remote-pk": "Remote visor public key:", + "unavailable": "Unavailable" + } + }, + + "server-options": { + "tooltip": "Options", + "connect-without-password": "Connect without password", + "connect-without-password-confirmation": "The connection will be made without the password. Are you sure you want to continue?", + "connect-using-password": "Connect using a password", + "connect-using-another-password": "Connect using another password", + "edit-name": "Custom name", + "edit-label": "Custom note", + "make-favorite": "Make favorite", + "make-favorite-confirmation": "Are you sure you want to mark this server as favorite? It will be removed from the blocked list.", + "make-favorite-done": "Added to the favorites list.", + "remove-from-favorites": "Remove from favorites", + "remove-from-favorites-done": "Removed from the favorites list.", + "block": "Block server", + "block-done": "Added to the blocked list.", + "block-confirmation": "Are you sure you want to block this server? It will be removed from the favorites list.", + "block-selected-confirmation": "Are you sure you want to block the currently selected server? All connections will be closed.", + "block-selected-favorite-confirmation": "Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.", + "unblock": "Unblock server", + "unblock-done": "Removed from the blocked list.", + "remove-from-history": "Remove from history", + "remove-from-history-confirmation": "Are you sure you want to remove this server from the history?", + "remove-from-history-done": "Removed from history.", + + "edit-value": { + "name-title": "Custom Name", + "note-title": "Custom Note", + "name-label": "Custom name", + "note-label": "Custom note", + "apply-button": "Apply", + "changes-made-confirmation": "The change has been made." + } + }, + + "server-conditions": { + "selected-info": "This is the currently selected server.", + "blocked-info": "This server is in the blocked list.", + "favorite-info": "This server is in the favorites list.", + "history-info": "This server is in the server history.", + "has-password-info": "A password was set for connecting with this server." + }, + + "server-list" : { + "date-small-table-label": "Date", + "date-info": "Last time you used this server.", + "country-small-table-label": "Country", + "country-info": "Country where the server is located.", + "name-small-table-label": "Name", + "location-small-table-label": "Location", + "public-key-small-table-label": "Pk", + "public-key-info": "Server public key.", + "congestion-rating-small-table-label": "Congestion rating", + "congestion-rating-info": "Rating of the server related to how congested it tends to be.", + "congestion-small-table-label": "Congestion", + "congestion-info": "Current server congestion.", + "latency-rating-small-table-label": "Latency rating", + "latency-rating-info": "Rating of the server related to how much latency it tends to have.", + "latency-small-table-label": "Latency", + "latency-info": "Current server latency.", + "hops-small-table-label": "Hops", + "hops-info": "How many hops are needed for connecting with the server.", + "note-small-table-label": "Note", + "note-info": "Note about the server.", + "gold-rating-info": "Gold", + "silver-rating-info": "Silver", + "bronze-rating-info": "Bronze", + "notes-info": "Custom note: {{ custom }} - Original note: {{ original }}", + "empty-discovery": "Currently there are no VPN servers to show. Please try again later.", + "empty-history": "There is no history to show.", + "empty-favorites": "There are no favorite servers to show.", + "empty-blocked": "There are no blocked servers to show.", + "empty-with-filter": "No VPN server matches the selected filtering criteria.", + "add-manually-info": "Add server manually.", + "current-filters": "Current filters (press to remove)", + "none": "None", + "unknown": "Unknown", + + "tabs": { + "public": "Public", + "history": "History", + "favorites": "Favorites", + "blocked": "Blocked" + }, + + "add-server-dialog": { + "title": "Enter manually", + "pk-label": "Server public key", + "password-label": "Server password (if any)", + "name-label": "Server name (optional)", + "note-label": "Personal note (optional)", + "pk-length-error": "The public key must be 66 characters long.", + "pk-chars-error": "The public key must only contain hexadecimal characters.", + "use-server-button": "Use server" + }, + + "password-dialog": { + "title": "Enter Password", + "password-if-any-label": "Server password (if any)", + "password-label": "Server password", + "continue-button": "Continue" + }, + + "filter-dialog": { + "country": "The country must be", + "name": "The name must contain", + "location": "The location must contain", + "public-key": "The public key must contain", + "congestion-rating": "The congestion rating must be", + "latency-rating": "The latency rating must be", + + "rating-options": { + "any": "Any", + "gold": "Gold", + "silver": "Silver", + "bronze": "Bronze" + }, + + "country-options": { + "any": "Any" + } + } + }, + + "settings-page": { + "setting-small-table-label": "Setting", + "value-small-table-label": "Value", + "killswitch": "Killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.", + "get-ip": "Get IP info", + "get-ip-info": "When active, the application will use external services to obtain information about the current IP.", + "data-units": "Data units", + "data-units-info": "Allows to select the units that will be used to display the data transmission statistics.", + "minimum-hops": "Minimum hops", + "minimum-hops-info": "Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.", + "setting-on": "On", + "setting-off": "Off", + "working-warning": "The system is busy. Please wait for the previous operation to finish.", + "change-while-connected-confirmation": "The VPN protection will be interrupted while changing the setting. Do you want to continue?", + + "data-units-modal": { + "title": "Data Units", + "only-bits": "Bits for all stats", + "only-bytes": "Bytes for all stats", + "bits-speed-and-bytes-volume": "Bits for speed and bytes for volume (default)" + } + } + } +} diff --git a/static/skywire-manager-src/dist/assets/i18n/es.json b/cmd/skywire-visor/static/assets/i18n/es.json similarity index 54% rename from static/skywire-manager-src/dist/assets/i18n/es.json rename to cmd/skywire-visor/static/assets/i18n/es.json index 41e1b3774..ed0dce50c 100644 --- a/static/skywire-manager-src/dist/assets/i18n/es.json +++ b/cmd/skywire-visor/static/assets/i18n/es.json @@ -12,10 +12,15 @@ "options": "Opciones", "logout": "Cerrar sesión", "logout-error": "Error cerrando la sesión.", - "time-in-ms": "{{ time }}ms", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms.", + "time-in-segs": "{{ time }}s.", "ok": "Ok", + "yes": "Sí", + "no": "No", "unknown": "Desconocido", - "close": "Cerrar" + "close": "Cerrar", + "window-size-error": "La ventana es demasiado estrecha para el contenido." }, "labeled-element": { @@ -32,6 +37,7 @@ "labels": { "title": "Etiquetas", + "info": "Etiquetas que ha introducido para identificar fácilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una máquina.", "list-title": "Lista de etiquetas", "label": "Etiqueta", "id": "ID del elemento", @@ -58,16 +64,18 @@ "filters": { "filter-action": "Filtrar", - "active-filters": "Filtros activos: ", - "press-to-remove": "(Presione para remover)", + "filter-info": "Lista de filtros.", + "press-to-remove": "(Presione para remover los filtros)", "remove-confirmation": "¿Seguro que desea remover los filtros?" }, "tables": { "title": "Ordenar por", "sorting-title": "Ordenado por:", - "ascending-order": "(ascendente)", - "descending-order": "(descendente)" + "sort-by-value": "Valor", + "sort-by-label": "Etiqueta", + "label": "(etiqueta)", + "inverted-order": "(invertido)" }, "start": { @@ -80,8 +88,12 @@ "statuses": { "online": "Online", "online-tooltip": "El visor se encuentra online.", + "connecting": "Conectando", + "connecting-tooltip": "El visor se encuentra online, pero todavía está conectando con el uptime tracker.", + "unknown": "Desconocido", + "unknown-tooltip": "El visor se encuentra online, pero no ha sido posible determinar si está conectado con el uptime tracker.", "partially-online": "Online con problemas", - "partially-online-tooltip": "El visor se encuentra online pero no todos los servicios están funcionando. Para más información, abra la página de detalles y consulte la sección \"Información de salud\".", + "partially-online-tooltip": "El visor se encuentra online, pero desconectado del uptime tracker.", "offline": "Offline", "offline-tooltip": "El visor se encuentra offline." }, @@ -90,10 +102,15 @@ "title": "Información del visor", "label": "Etiqueta:", "public-key": "Llave pública:", - "port": "Puerto:", + "symmetic-nat": "NAT simétrica:", + "public-ip": "IP pública:", + "ip": "IP:", "dmsg-server": "Servidor DMSG:", "ping": "Ping:", "node-version": "Versión del visor:", + "build-type": "Tipo de build:", + "skybian-version": "Versión de Skybian:", + "unknown-build": "Desconocido", "time": { "title": "Tiempo online:", "seconds": "unos segundos", @@ -107,8 +124,27 @@ "weeks": "{{ time }} semanas" } }, + "transports-info": { + "title": "Información de Transportes", + "autoconnect": "Autoconectar:", + "autoconnect-info": "Al activarse, el visor creará automáticamente los transportes necesarios cuando se solicite la conexión a un visor público. Al desactivarse, los transportes deberán ser creados antes de poder establecer la conexión.", + "enabled": "Activado", + "disabled": "Desactivado", + "enable-button": "Activar", + "disable-button": "Desactivar", + "enable-confirmation": "¿Seguro que desea activar la función de autoconectar?", + "disable-confirmation": "¿Seguro que desea desactivar la función de autoconectar?", + "enable-done": "La función de autoconectar ha sido activada.", + "disable-done": "La función de autoconectar ha sido desactivada." + }, + "router-info": { + "title": "Información del Enrutador", + "min-hops": "Saltos mínimos:", + "max-hops": "Saltos máximos:", + "change-config-button": "Cambiar configuración" + }, "node-health": { - "title": "Información de salud", + "title": "Información de Salud", "status": "Estatus:", "transport-discovery": "Transport discovery:", "route-finder": "Route finder:", @@ -127,10 +163,18 @@ "error-load": "Hubo un error al intentar refrescar los datos. Reintentando..." }, + "router-config": { + "title": "Configuración del Enrutador", + "info": "Aquí podrá configurar cuantos saltos la conexión deberá realizar a través de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectarán a las rutas ya existentes.", + "min-hops": "Saltos mínimos", + "save-config-button": "Guardar configuración", + "done": "Cambios guardados." + }, + "nodes": { "title": "Lista de visores", "dmsg-title": "DMSG", - "update-all": "Actualizar todos los visores", + "update-all": "Actualizar todos los visores online", "hypervisor": "Hypervisor", "state": "Estado", "state-tooltip": "Estado actual", @@ -154,7 +198,6 @@ "deleted": "Visor removido.", "deleted-singular": "1 visor offline removido.", "deleted-plural": "{{ number }} visores offline removidos.", - "no-offline-nodes": "No se encontraron visores offline.", "no-visors-to-update": "No hay visores para actualizar.", "filter-dialog": { "online": "El visor debe estar", @@ -236,7 +279,8 @@ "terminal": "Terminal", "config": "Configuración", "update": "Actualizar", - "reboot": "Reiniciar" + "reboot": "Reiniciar", + "logs": "Ver logs" }, "reboot": { "confirmation": "¿Seguro que desea reiniciar el visor?", @@ -260,6 +304,7 @@ "no-update": "No hay ninguna actualización para el visor. La versión instalada actualmente es:", "no-updates": "No se encontraron nuevas actualizaciones.", "already-updating": "Algunos visores ya están siendo actualizandos:", + "with-error": "No fue posible verificar los siguientes visores:", "update-available": "Las siguientes actualizaciones fueron encontradas:", "update-available-singular": "Las siguientes actualizaciones para 1 visor fueron encontradas:", "update-available-plural": "Las siguientes actualizaciones para {{ number }} visores fueron encontradas:", @@ -380,7 +425,7 @@ "default-note-warning": "La nota por defecto ha sido utilizada.", "pagination-info": "{{ currentElementsRange }} de {{ totalElements }}", "killswitch-check": "Activar killswitch", - "killswitch-info": "Cuando está activo, todas las conexiones de red se desactivarán si la aplicación se está ejecutando pero la protección VPN está interrumpida (por errores temporales o cualquier otro problema).", + "killswitch-info": "Cuando está activo, todas las conexiones de red se desactivarán si la aplicación se está ejecutando pero la protección VPN está interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.", "settings-changed-alert": "Los cambios aún no se han guardado.", "save-settings": "Guardar configuracion", @@ -409,6 +454,7 @@ "start-app": "Iniciar", "view-logs": "Ver logs", "settings": "Configuración", + "open": "Abrir", "error": "Se produjo un error y no fue posible realizar la operación.", "stop-confirmation": "¿Seguro que desea detener la aplicación?", "stop-selected-confirmation": "¿Seguro que desea detener las aplicaciones seleccionadas?", @@ -428,33 +474,41 @@ "transports": { "title": "Transportes", - "remove-all-offline": "Remover todos los transportes offline", - "remove-all-offline-confirmation": "¿Seguro que desea remover todos los transportes offline?", - "remove-all-filtered-offline-confirmation": "Todos los transportes offline que satisfagan los criterios de filtrado actuales serán removidos. ¿Seguro que desea continuar?", + "info": "Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.", "list-title": "Lista de transportes", - "state": "Estado", - "state-tooltip": "Estado actual", + "offline": "Offline", + "persistent": "Persistente", + "persistent-tooltip": "Transportes persistentes, los cuales son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "persistent-transport-tooltip": "Este transporte es persistente, así que es creado automáticamente al iniciar el visor y es recreado automáticamente en caso de desconexión.", + "persistent-transport-button-tooltip": "Este transporte es persistente, así que es creado automáticamente al iniciar el visor y es recreado automáticamente en caso de desconexión. Presione aquí para volverlo no persistente.", + "non-persistent-transport-button-tooltip": "Presione aquí para volver persistente el transporte. Los transportes persistentes son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "make-persistent": "Volver persistente", + "make-non-persistent": "Volver no persistente", + "make-selected-persistent": "Volver persistentes los seleccionados", + "make-selected-non-persistent": "Volver no persistentes los seleccionados", + "changes-made": "Cambios hechos.", + "no-changes-needed": "Ningún cambio fue necesario.", "id": "ID", "remote-node": "Remoto", "type": "Tipo", "create": "Crear transporte", + "make-persistent-confirmation": "¿Seguro que desea volver persistente el transporte?", + "make-non-persistent-confirmation": "¿Seguro que desea volver no persistente el transporte?", + "make-selected-persistent-confirmation": "¿Seguro que desea volver persistentes los transportes seleccionados?", + "make-selected-non-persistent-confirmation": "¿Seguro que desea volver no persistentes los transportes seleccionados?", + "make-offline-non-persistent-confirmation": "¿Seguro que desea volver no persistente el transporte? No seguirá siendo mostrado en la lista mientras se encuentre offline.", "delete-confirmation": "¿Seguro que desea borrar el transporte?", + "delete-persistent-confirmation": "Este transporte es persistente, así que puede ser recreado poco después de ser borrado. ¿Seguro que desea borrarlo?", "delete-selected-confirmation": "¿Seguro que desea borrar los transportes seleccionados?", "delete": "Borrar transporte", "deleted": "Operación de borrado completada.", "empty": "El visor no tiene ningún transporte.", "empty-with-filter": "Ningun transporte coincide con los criterios de filtrado seleccionados.", - "statuses": { - "online": "Online", - "online-tooltip": "El transporte está online", - "offline": "Offline", - "offline-tooltip": "El transporte está offline" - }, "details": { "title": "Detalles", "basic": { "title": "Información básica", - "state": "Estado:", + "persistent": "Persistente:", "id": "ID:", "local-pk": "Llave pública local:", "remote-pk": "Llave pública remota:", @@ -470,6 +524,9 @@ "remote-key": "Llave pública remota", "label": "Nombre del transporte (opcional)", "transport-type": "Tipo de transporte", + "make-persistent": "Hacer persistente", + "persistent-tooltip": "Los transportes persistentes son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "only-persistent-created": "El transporte persistente fue creado, pero podría no haber sido activado.", "success": "Transporte creado.", "success-without-label": "El transporte fue creado, pero no fue posible guardar la etiqueta.", "errors": { @@ -479,20 +536,21 @@ } }, "filter-dialog": { - "online": "El transporte debe estar", + "persistent": "El transporte debe ser", "id": "El id debe contener", "remote-node": "La llave remota debe contener", - "online-options": { - "any": "Online u offline", - "online": "Online", - "offline": "Offline" + "persistent-options": { + "any": "Cualquiera", + "persistent": "Persistente", + "non-persistent": "No persistente" } } }, "routes": { "title": "Rutas", + "info": "Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan automáticamente según sea necesario.", "list-title": "Lista de rutas", "key": "Llave", "type": "Tipo", @@ -595,5 +653,243 @@ "tabs-window" : { "title" : "Cambiar pestaña" + }, + + "vpn" : { + "title": "Panel de Control de VPN", + "start": "Inicio", + "servers": "Servidores", + "settings": "Configuracion", + + "unnamed": "Sin nombre", + + "starting-blocked-server-error": "No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.", + "unexpedted-error": "Se produjo un error inesperado y no se pudo completar la operación.", + + "remote-access-title": "Parece que está accediendo al sistema de manera remota", + "remote-access-text": "Esta aplicación sólo permite administrar la protección VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectarán a dispositivos remotos como el que parece estar usando. También es posible que los datos de IP que se muestren sean incorrectos.", + + "server-change": { + "busy-error": "El sistema está ocupado. Por favor, espere.", + "backend-error": "No fue posible cambiar el servidor. Por favor, asegúrese de que la clave pública sea correcta y de que la aplicación VPN se esté ejecutando.", + "already-selected-warning": "El servidor seleccionado ya está siendo utilizando.", + "change-server-while-connected-confirmation": "La protección VPN se interrumpirá mientras se cambia el servidor y algunos datos pueden transmitirse sin protección durante el proceso. ¿Desea continuar?", + "start-same-server-confirmation": "Ya había seleccionado ese servidor. ¿Desea conectarte a él?" + }, + + "error-page": { + "text": "La aplicación de cliente VPN no está disponible.", + "more-info": "No fue posible conectarse a la aplicación cliente VPN. Esto puede deberse a un error de configuración, un problema inesperado con el visor o porque utilizó una clave pública no válida en la URL.", + "text-pk": "Configuración inválida.", + "more-info-pk": "La aplicación no puede ser iniciada porque no ha especificado la clave pública del visor.", + "text-storage": "Error al guardar los datos.", + "more-info-storage": "Ha habido un conflicto al intentar guardar los datos y la aplicación se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicación en más de una pestaña o ventana.", + "text-pk-change": "Operación inválida.", + "more-info-pk-change": "Por favor, utilice esta aplicación para administrar sólo un cliente VPN." + }, + + "connection-info" : { + "state-title": "El estado de tu conexión es actualmente:", + "state-connecting": "Conectando", + "state-connecting-info": "Se está activando la protección VPN.", + "state-connected": "Conectado", + "state-connected-info": "La protección VPN está activada.", + "state-disconnecting": "Desconectando", + "state-disconnecting-info": "Se está desactivando la protección VPN.", + "state-reconnecting": "Reconectando", + "state-reconnecting-info": "Se está restaurando la protección de VPN.", + "state-disconnected": "Desconectado", + "state-disconnected-info": "La protección VPN está desactivada.", + "state-info": "Estado actual de la conexión.", + "latency-info": "Latencia actual.", + "upload-info": "Velocidad de subida.", + "download-info": "Velocidad de descarga." + }, + + "connection-error" : { + "text": "Error de conexión", + "info": "Problema conectando con la app vpn. Algunos datos mostrados podrían estar desactualizados." + }, + + "status-page": { + "start-title": "Iniciar VPN", + "no-server": "¡Ningún servidor seleccionado!", + "disconnect": "Desconectar", + "last-error": "Último error:", + "unknown-error": "Error desconocido.", + "disconnect-confirmation": "¿Realmente desea detener la protección VPN?", + "upload-info": "Estadísticas de datos subidos.", + "download-info": "Estadísticas de datos descargados.", + "latency-info": "Estadísticas de latencia.", + "total-data-label": "total", + "problem-connecting-error": "No fue posible conectarse al servidor. El servidor puede no ser válido o estar temporalmente inactivo.", + "problem-starting-error": "No fue posible iniciar la VPN. Por favor, asegúrese de que la aplicación base de cliente VPN esté ejecutandose.", + "problem-stopping-error": "No fue posible detener la VPN. Por favor, asegúrese de que la aplicación base de cliente VPN esté ejecutandose.", + "generic-problem-error": "No fue posible realizar la operación. Por favor, asegúrese de que la aplicación base de cliente VPN esté ejecutandose.", + "select-server-warning": "Por favor, seleccione un servidor primero.", + + "data": { + "ip": "Dirección IP:", + "ip-problem-info": "Hubo un problema al intentar obtener la IP. Por favor, verifíquela utilizando un servicio externo.", + "ip-country-problem-info": "Hubo un problema al intentar obtener el país. Por favor, verifíquelo utilizando un servicio externo.", + "ip-refresh-info": "Refrescar", + "ip-refresh-time-warning": "Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.", + "ip-refresh-loading-warning": "Por favor, espere a que finalice la operación anterior.", + "country": "País:", + "server": "Servidor:", + "server-note": "Nota del servidor:", + "original-server-note": "Nota original del servidor:", + "local-pk": "Llave pública del visor local:", + "remote-pk": "Llave pública del visor remoto:", + "unavailable": "No disponible" + } + }, + + "server-options": { + "tooltip": "Opciones", + "connect-without-password": "Conectarse sin contraseña", + "connect-without-password-confirmation": "La conexión se realizará sin la contraseña. ¿Seguro que desea continuar?", + "connect-using-password": "Conectarse usando una contraseña", + "connect-using-another-password": "Conectarse usando otra contraseña", + "edit-name": "Nombre personalizado", + "edit-label": "Nota personalizada", + "make-favorite": "Hacer favorito", + "make-favorite-confirmation": "¿Realmente desea marcar este servidor como favorito? Se eliminará de la lista de bloqueados.", + "make-favorite-done": "Agregado a la lista de favoritos.", + "remove-from-favorites": "Quitar de favoritos", + "remove-from-favorites-done": "Eliminado de la lista de favoritos.", + "block": "Bloquear servidor", + "block-done": "Agregado a la lista de bloqueados.", + "block-confirmation": "¿Realmente desea bloquear este servidor? Se eliminará de la lista de favoritos.", + "block-selected-confirmation": "¿Realmente desea bloquear el servidor actualmente seleccionado? Se cerrarán todas las conexiones.", + "block-selected-favorite-confirmation": "¿Realmente desea bloquear el servidor actualmente seleccionado? Se cerrarán todas las conexiones y se eliminará de la lista de favoritos.", + "unblock": "Desbloquear servidor", + "unblock-done": "Eliminado de la lista de bloqueados.", + "remove-from-history": "Quitar del historial", + "remove-from-history-confirmation": "¿Realmente desea quitar del historial el servidor?", + "remove-from-history-done": "Eliminado del historial.", + + "edit-value": { + "name-title": "Nombre Personalizado", + "note-title": "Nota Personalizada", + "name-label": "Nombre personalizado", + "note-label": "Nota personalizada", + "apply-button": "Aplicar", + "changes-made-confirmation": "Se ha realizado el cambio." + } + }, + + "server-conditions": { + "selected-info": "Este es el servidor actualmente seleccionado.", + "blocked-info": "Este servidor está en la lista de bloqueados.", + "favorite-info": "Este servidor está en la lista de favoritos.", + "history-info": "Este servidor está en el historial de servidores.", + "has-password-info": "Se estableció una contraseña para conectarse con este servidor." + }, + + "server-list" : { + "date-small-table-label": "Fecha", + "date-info": "Última vez en la que usó este servidor.", + "country-small-table-label": "País", + "country-info": "País donde se encuentra el servidor.", + "name-small-table-label": "Nombre", + "location-small-table-label": "Ubicación", + "public-key-small-table-label": "Lp", + "public-key-info": "Llave pública del servidor.", + "congestion-rating-small-table-label": "Calificación de congestión", + "congestion-rating-info": "Calificación del servidor relacionada con lo congestionado que suele estar.", + "congestion-small-table-label": "Congestión", + "congestion-info": "Congestión actual del servidor.", + "latency-rating-small-table-label": "Calificación de latencia", + "latency-rating-info": "Calificación del servidor relacionada con la latencia que suele tener.", + "latency-small-table-label": "Latencia", + "latency-info": "Latencia actual del servidor.", + "hops-small-table-label": "Saltos", + "hops-info": "Cuántos saltos se necesitan para conectarse con el servidor.", + "note-small-table-label": "Nota", + "note-info": "Nota acerca del servidor.", + "gold-rating-info": "Oro", + "silver-rating-info": "Plata", + "bronze-rating-info": "Bronce", + "notes-info": "Nota personalizada: {{ custom }} - Nota original: {{ original }}", + "empty-discovery": "Actualmente no hay servidores VPN para mostrar. Por favor, inténtelo de nuevo más tarde.", + "empty-history": "No hay historial que mostrar.", + "empty-favorites": "No hay servidores favoritos para mostrar.", + "empty-blocked": "No hay servidores bloqueados para mostrar.", + "empty-with-filter": "Ningún servidor VPN coincide con los criterios de filtrado seleccionados.", + "add-manually-info": "Agregar el servidor manualmente.", + "current-filters": "Filtros actuales (presione para eliminar)", + "none": "Ninguno", + "unknown": "Desconocido", + + "tabs": { + "public": "Públicos", + "history": "Historial", + "favorites": "Favoritos", + "blocked": "Bloqueados" + }, + + "add-server-dialog": { + "title": "Ingresar manualmente", + "pk-label": "Llave pública del servidor", + "password-label": "Contraseña del servidor (si tiene)", + "name-label": "Nombre del servidor (opcional)", + "note-label": "Nota personal (opcional)", + "pk-length-error": "La llave pública debe tener 66 caracteres.", + "pk-chars-error": "La llave pública sólo debe contener caracteres hexadecimales.", + "use-server-button": "Usar servidor" + }, + + "password-dialog": { + "title": "Introducir Contraseña", + "password-if-any-label": "Contraseña del servidor (si tiene)", + "password-label": "Contraseña del servidor", + "continue-button": "Continuar" + }, + + "filter-dialog": { + "country": "El país debe ser", + "name": "El nombre debe contener", + "location": "La ubicación debe contener", + "public-key": "La llave pública debe contener", + "congestion-rating": "La calificación de congestión debe ser", + "latency-rating": "La calificación de latencia debe ser", + + "rating-options": { + "any": "Cualquiera", + "gold": "Oro", + "silver": "Plata", + "bronze": "Bronce" + }, + + "country-options": { + "any": "Cualquiera" + } + } + }, + + "settings-page": { + "setting-small-table-label": "Ajuste", + "value-small-table-label": "Valor", + "killswitch": "Killswitch", + "killswitch-info": "Cuando está activo, todas las conexiones de red se desactivarán si la aplicación se está ejecutando pero la protección VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.", + "get-ip": "Obtener información de IP", + "get-ip-info": "Cuando está activa, la aplicación utilizará servicios externos para obtener información sobre la IP actual.", + "data-units": "Unidades de datos", + "data-units-info": "Permite seleccionar las unidades que se utilizarán para mostrar las estadísticas de transmisión de datos.", + "minimum-hops": "Saltos mínimos", + "minimum-hops-info": "Permite configurar la cantidad mínima de saltos que la conexión deberá realizar a través de otros visores de Skywire antes de alcanzar el destino final.", + "setting-on": "Encendido", + "setting-off": "Apagado", + "working-warning": "El sistema está ocupado. Por favor, espere a que finalice la operación anterior.", + "change-while-connected-confirmation": "La protección VPN se interrumpirá mientras se realiza el cambio. ¿Desea continuar?", + + "data-units-modal": { + "title": "Unidades de Datos", + "only-bits": "Bits para todas las estadísticas", + "only-bytes": "Bytes para todas las estadísticas", + "bits-speed-and-bytes-volume": "Bits para velocidad y bytes para volumen (predeterminado)" + } + } } } diff --git a/cmd/skywire-visor/static/assets/i18n/es_base.json b/cmd/skywire-visor/static/assets/i18n/es_base.json new file mode 100644 index 000000000..b17d749d6 --- /dev/null +++ b/cmd/skywire-visor/static/assets/i18n/es_base.json @@ -0,0 +1,895 @@ +{ + "common": { + "save": "Save", + "cancel": "Cancel", + "downloaded": "Downloaded", + "uploaded": "Uploaded", + "loading-error": "There was an error getting the data. Retrying...", + "operation-error": "There was an error trying to complete the operation.", + "no-connection-error": "There is no internet connection or connection to the Hypervisor.", + "error": "Error:", + "refreshed": "Data refreshed.", + "options": "Options", + "logout": "Logout", + "logout-error": "Error logging out.", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms.", + "time-in-segs": "{{ time }}s.", + "ok": "Ok", + "yes": "Yes", + "no": "No", + "unknown": "Unknown", + "close": "Close", + "window-size-error": "The window is too narrow for the content." + }, + + "labeled-element": { + "edit-label": "Edit label", + "remove-label": "Remove label", + "copy": "Copy", + "remove-label-confirmation": "Do you really want to remove the label?", + "unnamed-element": "Unnamed", + "unnamed-local-visor": "Local visor", + "local-element": "Local", + "tooltip": "Click to copy the entry or change the label", + "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" + }, + + "labels": { + "title": "Labels", + "info": "Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.", + "list-title": "Label list", + "label": "Label", + "id": "Element ID", + "type": "Type", + "delete-confirmation": "Are you sure you want to delete the label?", + "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", + "delete": "Delete label", + "deleted": "Delete operation completed.", + "empty": "There aren't any saved labels.", + "empty-with-filter": "No label matches the selected filtering criteria.", + "filter-dialog": { + "label": "The label must contain", + "id": "The id must contain", + "type": "The type must be", + + "type-options": { + "any": "Any", + "visor": "Visor", + "dmsg-server": "DMSG server", + "transport": "Transport" + } + } + }, + + "filters": { + "filter-action": "Filter", + "filter-info": "Filter list.", + "press-to-remove": "(Press to remove the filters)", + "remove-confirmation": "Are you sure you want to remove the filters?" + }, + + "tables": { + "title": "Order by", + "sorting-title": "Ordered by:", + "sort-by-value": "Value", + "sort-by-label": "Label", + "label": "(label)", + "inverted-order": "(inverted)" + }, + + "start": { + "title": "Start" + }, + + "node": { + "title": "Visor details", + "not-found": "Visor not found.", + "statuses": { + "online": "Online", + "online-tooltip": "The visor is online.", + "connecting": "Connecting", + "connecting-tooltip": "The visor is online, but still connecting to the uptime tracker.", + "unknown": "Unknown", + "unknown-tooltip": "The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.", + "partially-online": "Online with problems", + "partially-online-tooltip": "The visor is online, but disconnected from the uptime tracker.", + "offline": "Offline", + "offline-tooltip": "The visor is offline." + }, + "details": { + "node-info": { + "title": "Visor Info", + "label": "Label:", + "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", + "ip": "IP:", + "dmsg-server": "DMSG server:", + "ping": "Ping:", + "node-version": "Visor version:", + "build-type": "Build type:", + "skybian-version": "Skybian version:", + "unknown-build": "Unknown", + "time": { + "title": "Time online:", + "seconds": "a few seconds", + "minute": "1 minute", + "minutes": "{{ time }} minutes", + "hour": "1 hour", + "hours": "{{ time }} hours", + "day": "1 day", + "days": "{{ time }} days", + "week": "1 week", + "weeks": "{{ time }} weeks" + } + }, + "transports-info": { + "title": "Transports Info", + "autoconnect": "Autoconnect:", + "autoconnect-info": "When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.", + "enabled": "Enabled", + "disabled": "Disabled", + "enable-button": "Enable", + "disable-button": "Disable", + "enable-confirmation": "Are you sure you want to enable the autoconnect feature?", + "disable-confirmation": "Are you sure you want to disable the autoconnect feature?", + "enable-done": "The autoconnect feature has been enabled.", + "disable-done": "The autoconnect feature has been disabled." + }, + "router-info": { + "title": "Router Info", + "min-hops": "Min hops:", + "max-hops": "Max hops:", + "change-config-button": "Change configuration" + }, + "node-health": { + "title": "Health Info", + "status": "Status:", + "transport-discovery": "Transport discovery:", + "route-finder": "Route finder:", + "setup-node": "Setup node:", + "uptime-tracker": "Uptime tracker:", + "address-resolver": "Address resolver:", + "element-offline": "Offline" + }, + "node-traffic-data": "Traffic data" + }, + "tabs": { + "info": "Info", + "apps": "Apps", + "routing": "Routing" + }, + "error-load": "An error occurred while refreshing the data. Retrying..." + }, + + "router-config": { + "title": "Router Configuration", + "info": "Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.", + "min-hops": "Min hops", + "save-config-button": "Save configuration", + "done": "Changes saved." + }, + + "nodes": { + "title": "Visor list", + "dmsg-title": "DMSG", + "update-all": "Update all online visors", + "hypervisor": "Hypervisor", + "state": "State", + "state-tooltip": "Current state", + "label": "Label", + "key": "Key", + "dmsg-server": "DMSG server", + "ping": "Ping", + "hypervisor-info": "This visor is the current Hypervisor.", + "copy-key": "Copy key", + "copy-dmsg": "Copy DMSG server key", + "copy-data": "Copy data", + "view-node": "View visor", + "delete-node": "Remove visor", + "delete-all-offline": "Remove all offline visors", + "error-load": "An error occurred while refreshing the list. Retrying...", + "empty": "There aren't any visors connected to this hypervisor.", + "empty-with-filter": "No visor matches the selected filtering criteria.", + "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", + "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", + "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", + "deleted": "Visor removed.", + "deleted-singular": "1 offline visor removed.", + "deleted-plural": "{{ number }} offline visors removed.", + "no-visors-to-update": "There are no visors to update.", + "filter-dialog": { + "online": "The visor must be", + "label": "The label must contain", + "key": "The public key must contain", + "dmsg": "The DMSG server key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "edit-label": { + "label": "Label", + "done": "Label saved.", + "label-removed-warning": "The label was removed." + }, + + "settings": { + "title": "Settings", + "password" : { + "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", + "help": "Options for changing your password.", + "old-password": "Old password", + "new-password": "New password", + "repeat-password": "Repeat password", + "password-changed": "Password changed.", + "error-changing": "Error changing password.", + "initial-config": { + "title": "Set initial password", + "password": "Password", + "repeat-password": "Repeat password", + "set-password": "Set password", + "done": "Password set. Please use it to access the system.", + "error": "Error. Please make sure you have not already set the password." + }, + "errors": { + "bad-old-password": "The provided old password is not correct.", + "old-password-required": "Old password is required.", + "new-password-error": "Password must be 6-64 characters long.", + "passwords-not-match": "Passwords do not match.", + "default-password": "Don't use the default password (1234)." + } + }, + "updater-config" : { + "open-link": "Show updater settings", + "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", + "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", + "channel": "Channel", + "version": "Version", + "archive-url": "Archive URL", + "checksum-url": "Checksum URL", + "not-saved": "The changes have not been saved yet.", + "save": "Save changes", + "remove-settings": "Remove the settings", + "saved": "The custom settings have been saved.", + "removed": "The custom settings have been removed.", + "save-confirmation": "Are you sure you want to apply the custom settings?", + "remove-confirmation": "Are you sure you want to remove the custom settings?" + }, + "change-password": "Change password", + "refresh-rate": "Refresh rate", + "refresh-rate-help": "Time the system waits to update the data automatically.", + "refresh-rate-confirmation": "Refresh rate changed.", + "seconds": "seconds" + }, + + "login": { + "password": "Password", + "incorrect-password": "Incorrect password.", + "initial-config": "Configure initial launch" + }, + + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuration", + "update": "Update", + "reboot": "Reboot", + "logs": "View logs" + }, + "reboot": { + "confirmation": "Are you sure you want to reboot the visor?", + "done": "The visor is restarting." + }, + "terminal-options": { + "full": "Full terminal", + "simple": "Simple terminal" + }, + "terminal": { + "title": "Terminal", + "input-start": "Skywire terminal for {{address}}", + "error": "Unexpected error while trying to execute the command." + } + }, + + "update": { + "title": "Update", + "error-title": "Error", + "processing": "Looking for updates...", + "no-update": "There is no update for the visor. The currently installed version is:", + "no-updates": "No new updates were found.", + "already-updating": "Some visors are already being updated:", + "with-error": "It was not possible to check the following visors:", + "update-available": "The following updates were found:", + "update-available-singular": "The following updates for 1 visor were found:", + "update-available-plural": "The following updates for {{ number }} visors were found:", + "update-available-additional-singular": "The following additional updates for 1 visor were found:", + "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", + "update-instructions": "Click the 'Install updates' button to continue.", + "updating": "The update operation has been started, you can open this window again for checking the progress:", + "version-change": "From {{ currentVersion }} to {{ newVersion }}", + "selected-channel": "Selected channel:", + "downloaded-file-name-prefix": "Downloading: ", + "speed-prefix": "Speed: ", + "time-downloading-prefix": "Time downloading: ", + "time-left-prefix": "Aprox. time left: ", + "starting": "Preparing to update", + "finished": "Status connection finished", + "install": "Install updates" + }, + + "apps": { + "log": { + "title": "Log", + "empty": "There are no log messages for the selected time range.", + "filter-button": "Only showing logs generated since:", + "filter": { + "title": "Filter", + "filter": "Only show logs generated since", + "7-days": "The last 7 days", + "1-month": "The last 30 days", + "3-months": "The last 3 months", + "6-months": "The last 6 months", + "1-year": "The last year", + "all": "Show all" + } + }, + "apps-list": { + "title": "Applications", + "list-title": "Application list", + "app-name": "Name", + "port": "Port", + "state": "State", + "state-tooltip": "Current state", + "auto-start": "Auto start", + "empty": "Visor doesn't have any applications.", + "empty-with-filter": "No app matches the selected filtering criteria.", + "disable-autostart": "Disable autostart", + "enable-autostart": "Enable autostart", + "autostart-disabled": "Autostart disabled", + "autostart-enabled": "Autostart enabled", + "unavailable-logs-error": "Unable to show the logs while the app is not running.", + + "filter-dialog": { + "state": "The state must be", + "name": "The name must contain", + "port": "The port must contain", + "autostart": "The autostart must be", + + "state-options": { + "any": "Running or stopped", + "running": "Running", + "stopped": "Stopped" + }, + + "autostart-options": { + "any": "Enabled or disabled", + "enabled": "Enabled", + "disabled": "Disabled" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Skysocks Settings", + "vpn-title": "VPN-Server Settings", + "new-password": "New password (Leave empty to remove the password)", + "repeat-password": "Repeat password", + "passwords-not-match": "Passwords do not match.", + "secure-mode-check": "Use secure mode", + "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", + "save": "Save", + "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", + "change-passowrd-confirmation": "Are you sure you want to change the password?", + "changes-made": "The changes have been made." + }, + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Settings", + "vpn-title": "VPN-Client Settings", + "discovery-tab": "Search", + "remote-visor-tab": "Enter manually", + "history-tab": "History", + "settings-tab": "Settings", + "use": "Use this data", + "change-note": "Change note", + "remove-entry": "Remove entry", + "note": "Note:", + "note-entered-manually": "Entered manually", + "note-obtained": "Obtained from the discovery service", + "key": "Key:", + "port": "Port:", + "location": "Location:", + "state-available": "Available", + "state-offline": "Offline", + "public-key": "Remote visor public key", + "password": "Password", + "password-history-warning": "Note: the password will not be saved in the history.", + "copy-pk-info": "Copy public key.", + "copied-pk-info": "The public key has been copied.", + "copy-pk-error": "There was a problem copying the public key.", + "no-elements": "Currently there are no elements to show. Please try again later.", + "no-elements-for-filters": "There are no elements that meet the filter criteria.", + "no-filter": "No filter has been selected", + "click-to-change": "Click to change", + "remote-key-length-error": "The public key must be 66 characters long.", + "remote-key-chars-error": "The public key must only contain hexadecimal characters.", + "save": "Save", + "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", + "change-key-confirmation": "Are you sure you want to change the remote visor public key?", + "changes-made": "The changes have been made.", + "no-history": "This tab will show the last {{ number }} public keys used.", + "default-note-warning": "The default note has been used.", + "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", + "killswitch-check": "Activate killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.", + "settings-changed-alert": " The changes have not been saved yet.", + "save-settings": "Save settings", + + "change-note-dialog": { + "title": "Change Note", + "note": "Note" + }, + + "password-dialog": { + "title": "Enter Password", + "password": "Password", + "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", + "continue-button": "Continue" + }, + + "filter-dialog": { + "title": "Filters", + "country": "The country must be", + "any-country": "Any", + "location": "The location must contain", + "pub-key": "The public key must contain", + "apply": "Apply" + } + }, + "stop-app": "Stop", + "start-app": "Start", + "view-logs": "View logs", + "settings": "Settings", + "open": "Open", + "error": "An error has occured and it was not possible to perform the operation.", + "stop-confirmation": "Are you sure you want to stop the app?", + "stop-selected-confirmation": "Are you sure you want to stop the selected apps?", + "disable-autostart-confirmation": "Are you sure you want to disable autostart for the app?", + "enable-autostart-confirmation": "Are you sure you want to enable autostart for the app?", + "disable-autostart-selected-confirmation": "Are you sure you want to disable autostart for the selected apps?", + "enable-autostart-selected-confirmation": "Are you sure you want to enable autostart for the selected apps?", + "operation-completed": "Operation completed.", + "operation-unnecessary": "The selection already has the requested setting.", + "status-running": "Running", + "status-stopped": "Stopped", + "status-failed": "Failed", + "status-running-tooltip": "App is currently running", + "status-stopped-tooltip": "App is currently stopped", + "status-failed-tooltip": "Something went wrong. Check the app's messages for more information" + }, + + "transports": { + "title": "Transports", + "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", + "list-title": "Transport list", + "offline": "Offline", + "persistent": "Persistent", + "persistent-tooltip": "Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.", + "persistent-transport-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "persistent-transport-button-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.", + "non-persistent-transport-button-tooltip": "Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "make-persistent": "Make persistent", + "make-non-persistent": "Make non-persistent", + "make-selected-persistent": "Make all selected persistent", + "make-selected-non-persistent": "Make all selected non-persistent", + "changes-made": "Changes made.", + "no-changes-needed": "No changes were needed.", + "id": "ID", + "remote-node": "Remote", + "type": "Type", + "create": "Create transport", + "make-persistent-confirmation": "Are you sure you want to make the transport persistent?", + "make-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent?", + "make-selected-persistent-confirmation": "Are you sure you want to make the selected transports persistent?", + "make-selected-non-persistent-confirmation": "Are you sure you want to make the selected transports non-persistent?", + "make-offline-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.", + "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-persistent-confirmation": "This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?", + "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", + "delete": "Delete transport", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any transports.", + "empty-with-filter": "No transport matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "persistent": "Persistent:", + "id": "ID:", + "local-pk": "Local public key:", + "remote-pk": "Remote public key:", + "type": "Type:" + }, + "data": { + "title": "Data transmission", + "uploaded": "Uploaded data:", + "downloaded": "Downloaded data:" + } + }, + "dialog": { + "remote-key": "Remote public key", + "label": "Identification name (optional)", + "transport-type": "Transport type", + "make-persistent": "Make persistent", + "persistent-tooltip": "Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "only-persistent-created": "The persistent transport was created, but it may have not been activated.", + "success": "Transport created.", + "success-without-label": "The transport was created, but it was not possible to save the label.", + "errors": { + "remote-key-length-error": "The remote public key must be 66 characters long.", + "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", + "transport-type-error": "The transport type is required." + } + }, + "filter-dialog": { + "persistent": "The transport must be", + "id": "The id must contain", + "remote-node": "The remote key must contain", + + "persistent-options": { + "any": "Any", + "persistent": "Persistent", + "non-persistent": "Non-persistent" + } + } + }, + + "routes": { + "title": "Routes", + "info": "Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.", + "list-title": "Route list", + "key": "Key", + "type": "Type", + "source": "Source", + "destination": "Destination", + "delete-confirmation": "Are you sure you want to delete the route?", + "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", + "delete": "Delete route", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any routes.", + "empty-with-filter": "No route matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "key": "Key:", + "rule": "Rule:" + }, + "summary": { + "title": "Rule summary", + "keep-alive": "Keep alive:", + "type": "Rule type:", + "key-route-id": "Key route ID:" + }, + "specific-fields-titles": { + "app": "App fields", + "forward": "Forward fields", + "intermediary-forward": "Intermediary forward fields" + }, + "specific-fields": { + "route-id": "Next route ID:", + "transport-id": "Next transport ID:", + "destination-pk": "Destination public key:", + "source-pk": "Source public key:", + "destination-port": "Destination port:", + "source-port": "Source port:" + } + }, + "filter-dialog": { + "key": "The key must contain", + "type": "The type must be", + "source": "The source must contain", + "destination": "The destination must contain", + "any-type-option": "Any" + } + }, + + "copy": { + "tooltip": "Click to copy", + "tooltip-with-text": "{{ text }} (Click to copy)", + "copied": "Copied!" + }, + + "selection": { + "select-all": "Select all", + "unselect-all": "Unselect all", + "delete-all": "Delete all selected elements", + "start-all": "Start all selected apps", + "stop-all": "Stop all selected apps", + "enable-autostart-all": "Enable autostart for all selected apps", + "disable-autostart-all": "Disable autostart for all selected apps" + }, + + "refresh-button": { + "seconds": "Updated a few seconds ago", + "minute": "Updated 1 minute ago", + "minutes": "Updated {{ time }} minutes ago", + "hour": "Updated 1 hour ago", + "hours": "Updated {{ time }} hours ago", + "day": "Updated 1 day ago", + "days": "Updated {{ time }} days ago", + "week": "Updated 1 week ago", + "weeks": "Updated {{ time }} weeks ago", + "error-tooltip": "There was an error updating the data. Retrying automatically every {{ time }} seconds..." + }, + + "view-all-link": { + "label": "View all {{ number }} elements" + }, + + "paginator": { + "first": "First", + "last": "Last", + "total": "Total: {{ number }} pages", + "select-page-title": "Select page" + }, + + "confirmation" : { + "header-text": "Confirmation", + "confirm-button": "Yes", + "cancel-button": "No", + "close": "Close", + "error-header-text": "Error", + "done-header-text": "Done" + }, + + "language" : { + "title": "Select language" + }, + + "tabs-window" : { + "title" : "Change tab" + }, + + "vpn" : { + "title": "VPN Control Panel", + "start": "Start", + "servers": "Servers", + "settings": "Settings", + + "unnamed": "Unnamed", + + "starting-blocked-server-error": "Unable to connect to the selected server because it has been added to the blocked servers list.", + "unexpedted-error": "An unexpected error occurred and the operation could not be completed.", + + "remote-access-title": "It appears that you are accessing the system remotely", + "remote-access-text": "This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.", + + "server-change": { + "busy-error": "The system is busy. Please wait.", + "backend-error": "It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.", + "already-selected-warning": "The selected server is already being used.", + "change-server-while-connected-confirmation": "The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?", + "start-same-server-confirmation": "You had already selected that server. Do you want to connect to it?" + }, + + "error-page": { + "text": "The VPN client app is not available.", + "more-info": "It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.", + "text-pk": "Invalid configuration.", + "more-info-pk": "The application cannot be started because you have not specified the visor public key.", + "text-storage": "Error saving data.", + "more-info-storage": "There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.", + "text-pk-change": "Invalid operation.", + "more-info-pk-change": "Please use this application to manage only one VPN client." + }, + + "connection-info" : { + "state-title": "Your connection is currently:", + "state-connecting": "Connecting", + "state-connecting-info": "The VPN protection is being activated.", + "state-connected": "Connected", + "state-connected-info": "The VPN protection is on.", + "state-disconnecting": "Disconnecting", + "state-disconnecting-info": "The VPN protection is being deactivated.", + "state-reconnecting": "Reconnecting", + "state-reconnecting-info": "The VPN protection is being restored.", + "state-disconnected": "Disconnected", + "state-disconnected-info": "The VPN protection is off.", + "state-info": "Current connection status.", + "latency-info": "Current latency.", + "upload-info": "Upload speed.", + "download-info": "Download speed." + }, + + "connection-error" : { + "text": "Connection error", + "info": "Problem connecting with the vpn app. Some data being displayed could be outdated." + }, + + "status-page": { + "start-title": "Start VPN", + "no-server": "No server selected!", + "disconnect": "Disconnect", + "last-error": "Last error:", + "unknown-error": "Unknown error.", + "disconnect-confirmation": "Are you sure you want to stop the VPN protection?", + "upload-info": "Uploaded data stats.", + "download-info": "Downloaded data stats.", + "latency-info": "Latency stats.", + "total-data-label": "total", + "problem-connecting-error": "It was not possible to connect to the server. The server may be invalid or temporarily down.", + "problem-starting-error": "It was not possible to start the VPN. Please make sure the base VPN client app is running.", + "problem-stopping-error": "It was not possible to stop the VPN. Please make sure the base VPN client app is running.", + "generic-problem-error": "It was not possible to perform the operation. Please make sure the base VPN client app is running.", + "select-server-warning": "Please select a server first.", + + "data": { + "ip": "IP address:", + "ip-problem-info": "There was a problem trying to get the IP. Please verify it using an external service.", + "ip-country-problem-info": "There was a problem trying to get the country. Please verify it using an external service.", + "ip-refresh-info": "Refresh", + "ip-refresh-time-warning": "Please wait {{ seconds }} second(s) before refreshing the data.", + "ip-refresh-loading-warning": "Please wait for the previous operation to finish.", + "country": "Country:", + "server": "Server:", + "server-note": "Server note:", + "original-server-note": "Original server note:", + "local-pk": "Local visor public key:", + "remote-pk": "Remote visor public key:", + "unavailable": "Unavailable" + } + }, + + "server-options": { + "tooltip": "Options", + "connect-without-password": "Connect without password", + "connect-without-password-confirmation": "The connection will be made without the password. Are you sure you want to continue?", + "connect-using-password": "Connect using a password", + "connect-using-another-password": "Connect using another password", + "edit-name": "Custom name", + "edit-label": "Custom note", + "make-favorite": "Make favorite", + "make-favorite-confirmation": "Are you sure you want to mark this server as favorite? It will be removed from the blocked list.", + "make-favorite-done": "Added to the favorites list.", + "remove-from-favorites": "Remove from favorites", + "remove-from-favorites-done": "Removed from the favorites list.", + "block": "Block server", + "block-done": "Added to the blocked list.", + "block-confirmation": "Are you sure you want to block this server? It will be removed from the favorites list.", + "block-selected-confirmation": "Are you sure you want to block the currently selected server? All connections will be closed.", + "block-selected-favorite-confirmation": "Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.", + "unblock": "Unblock server", + "unblock-done": "Removed from the blocked list.", + "remove-from-history": "Remove from history", + "remove-from-history-confirmation": "Are you sure you want to remove this server from the history?", + "remove-from-history-done": "Removed from history.", + + "edit-value": { + "name-title": "Custom Name", + "note-title": "Custom Note", + "name-label": "Custom name", + "note-label": "Custom note", + "apply-button": "Apply", + "changes-made-confirmation": "The change has been made." + } + }, + + "server-conditions": { + "selected-info": "This is the currently selected server.", + "blocked-info": "This server is in the blocked list.", + "favorite-info": "This server is in the favorites list.", + "history-info": "This server is in the server history.", + "has-password-info": "A password was set for connecting with this server." + }, + + "server-list" : { + "date-small-table-label": "Date", + "date-info": "Last time you used this server.", + "country-small-table-label": "Country", + "country-info": "Country where the server is located.", + "name-small-table-label": "Name", + "location-small-table-label": "Location", + "public-key-small-table-label": "Pk", + "public-key-info": "Server public key.", + "congestion-rating-small-table-label": "Congestion rating", + "congestion-rating-info": "Rating of the server related to how congested it tends to be.", + "congestion-small-table-label": "Congestion", + "congestion-info": "Current server congestion.", + "latency-rating-small-table-label": "Latency rating", + "latency-rating-info": "Rating of the server related to how much latency it tends to have.", + "latency-small-table-label": "Latency", + "latency-info": "Current server latency.", + "hops-small-table-label": "Hops", + "hops-info": "How many hops are needed for connecting with the server.", + "note-small-table-label": "Note", + "note-info": "Note about the server.", + "gold-rating-info": "Gold", + "silver-rating-info": "Silver", + "bronze-rating-info": "Bronze", + "notes-info": "Custom note: {{ custom }} - Original note: {{ original }}", + "empty-discovery": "Currently there are no VPN servers to show. Please try again later.", + "empty-history": "There is no history to show.", + "empty-favorites": "There are no favorite servers to show.", + "empty-blocked": "There are no blocked servers to show.", + "empty-with-filter": "No VPN server matches the selected filtering criteria.", + "add-manually-info": "Add server manually.", + "current-filters": "Current filters (press to remove)", + "none": "None", + "unknown": "Unknown", + + "tabs": { + "public": "Public", + "history": "History", + "favorites": "Favorites", + "blocked": "Blocked" + }, + + "add-server-dialog": { + "title": "Enter manually", + "pk-label": "Server public key", + "password-label": "Server password (if any)", + "name-label": "Server name (optional)", + "note-label": "Personal note (optional)", + "pk-length-error": "The public key must be 66 characters long.", + "pk-chars-error": "The public key must only contain hexadecimal characters.", + "use-server-button": "Use server" + }, + + "password-dialog": { + "title": "Enter Password", + "password-if-any-label": "Server password (if any)", + "password-label": "Server password", + "continue-button": "Continue" + }, + + "filter-dialog": { + "country": "The country must be", + "name": "The name must contain", + "location": "The location must contain", + "public-key": "The public key must contain", + "congestion-rating": "The congestion rating must be", + "latency-rating": "The latency rating must be", + + "rating-options": { + "any": "Any", + "gold": "Gold", + "silver": "Silver", + "bronze": "Bronze" + }, + + "country-options": { + "any": "Any" + } + } + }, + + "settings-page": { + "setting-small-table-label": "Setting", + "value-small-table-label": "Value", + "killswitch": "Killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.", + "get-ip": "Get IP info", + "get-ip-info": "When active, the application will use external services to obtain information about the current IP.", + "data-units": "Data units", + "data-units-info": "Allows to select the units that will be used to display the data transmission statistics.", + "minimum-hops": "Minimum hops", + "minimum-hops-info": "Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.", + "setting-on": "On", + "setting-off": "Off", + "working-warning": "The system is busy. Please wait for the previous operation to finish.", + "change-while-connected-confirmation": "The VPN protection will be interrupted while changing the setting. Do you want to continue?", + + "data-units-modal": { + "title": "Data Units", + "only-bits": "Bits for all stats", + "only-bytes": "Bytes for all stats", + "bits-speed-and-bytes-volume": "Bits for speed and bytes for volume (default)" + } + } + } +} diff --git a/cmd/skywire-visor/static/assets/i18n/pt.json b/cmd/skywire-visor/static/assets/i18n/pt.json new file mode 100644 index 000000000..599e931a8 --- /dev/null +++ b/cmd/skywire-visor/static/assets/i18n/pt.json @@ -0,0 +1,571 @@ +{ + "common": { + "save": "Salvar", + "cancel": "Cancelar", + "downloaded": "Baixado", + "uploaded": "Enviado", + "loading-error": "Ocorreu um erro ao obter os dados. Tentando novamente...", + "operation-error": "Ocorreu um erro ao tentar concluir a operação.", + "no-connection-error": "Não há conexão com a Internet ou conexão com o Hypervisor.", + "error": "Erro:", + "refreshed": "Dados atualizados.", + "options": "Opções", + "logout": "Sair", + "logout-error": "Erro ao sair.", + "logout-confirmation": "Tem certeza que deseja sair?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Desconhecido", + "close": "Fechar" + }, + "labeled-element": { + "edit-label": "Editar rótulo", + "remove-label": "Remover rótulo", + "copy": "Copiar", + "remove-label-confirmation": "Tem certeza de que deseja remover o rótulo?", + "unnamed-element": "Sem nome", + "unnamed-local-visor": "Visor local", + "local-element": "Local", + "tooltip": "Clique para copiar a entrada ou alterar o rótulo", + "tooltip-with-text": "{{ text }} (Clique para copiar a entrada ou alterar o rótulo)" + }, + "labels": { + "title": "Rótulos", + "info": "Rótulos que você inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por máquina.", + "list-title": "Lista de Rótulos", + "label": "Rótulo", + "id": "ID do elemento", + "type": "Tipo", + "delete-confirmation": "Tem certeza de que deseja excluir o rótulo?", + "delete-selected-confirmation": "Tem certeza de que deseja excluir os rótulos selecionados?", + "delete": "Apagar rótulo", + "deleted": "Operação de exclusão concluída.", + "empty": "Não há rótulos salvos.", + "empty-with-filter": "Nenhum rótulo corresponde aos critérios de filtragem selecionados.", + "filter-dialog": { + "label": "O rótulo deve conter", + "id": "O id deve conter", + "type": "O tipo deve ser", + "type-options": { + "any": "Algum", + "visor": "Visor", + "dmsg-server": "Servidor DMSG", + "transport": "Transporte" + } + } + }, + "filters": { + "filter-action": "Filtro", + "press-to-remove": "(Pressione para remover os filtros)", + "remove-confirmation": "Tem certeza de que deseja remover os filtros?" + }, + "tables": { + "title": "Ordenar por", + "sorting-title": "Ordenado por:", + "sort-by-value": "Valor", + "sort-by-label": "Rótulo", + "label": "(Rótulo)", + "inverted-order": "(invertido)" + }, + "start": { + "title": "Começar" + }, + "node": { + "title": "Detalhes do Visor", + "not-found": "Visor não encontrado.", + "statuses": { + "online": "Online", + "online-tooltip": "Visor está online.", + "partially-online": "Online com problemas", + "partially-online-tooltip": "O Visor está online, mas nem todos os serviços estão funcionando. Para mais informações, abra a página de detalhes e verifique a seção \"Informações de saúde\".", + "offline": "Offline", + "offline-tooltip": "Visor está offline." + }, + "details": { + "node-info": { + "title": "Informação do Visor", + "label": "Rótulo:", + "public-key": "Chave pública:", + "port": "Porta:", + "dmsg-server": "Servidor DMSG:", + "ping": "Ping:", + "node-version": "Versão do Visor:", + "time": { + "title": "Tempo online:", + "seconds": "alguns segundos", + "minute": "1 minuto", + "minutes": "{{ time }} minutos", + "hour": "1 hora", + "hours": "{{ time }} horas", + "day": "1 dia", + "days": "{{ time }} dias", + "week": "1 semana", + "weeks": "{{ time }} semanas" + } + }, + "node-health": { + "title": "Informação de saúde", + "status": "Status:", + "transport-discovery": "Descoberta de transporte:", + "route-finder": "Localizador de rota:", + "setup-node": "Configuração de Nó:", + "uptime-tracker": "Rastreador de tempo de atividade:", + "address-resolver": "Resolvedor de endereços:", + "element-offline": "Offline" + }, + "node-traffic-data": "Tráfego de dados" + }, + "tabs": { + "info": "Informação", + "apps": "Aplicativos", + "routing": "Encaminhamento" + }, + "error-load": "Ocorreu um erro ao atualizar os dados. Tentando novamente..." + }, + "nodes": { + "title": "Lista de Visor", + "dmsg-title": "DMSG", + "update-all": "Atualizar todas as Visores", + "hypervisor": "Hypervisor", + "state": "Estado", + "state-tooltip": "Estado atual", + "label": "Rótulo", + "key": "Chave", + "dmsg-server": "Servidor DMSG", + "ping": "Ping", + "hypervisor-info": "Este visor é o hipervisor atual.", + "copy-key": "Copiar chave", + "copy-dmsg": "Copiar chave do servidor DMSG", + "copy-data": "Copiar dados", + "view-node": "Ver visor", + "delete-node": "Remover visor", + "delete-all-offline": "Remover todos visores offline", + "error-load": "Ocorreu um erro ao atualizar a lista. Tentando novamente...", + "empty": "Não há visores conectados a este hipervisor.", + "empty-with-filter": "Nenhum visor corresponde aos critérios de filtragem selecionados.", + "delete-node-confirmation": "Tem certeza de que deseja remover o visor da lista?", + "delete-all-offline-confirmation": "Tem certeza de que deseja remover todas as visores offline da lista?", + "delete-all-filtered-offline-confirmation": "Todos os visores offline que satisfaçam os critérios de filtragem atuais serão removidos da lista. Você tem certeza que quer continuar?", + "deleted": "Visor removido.", + "deleted-singular": "1 visor offline removido.", + "deleted-plural": "{{ number }} visores offline removidos.", + "no-visors-to-update": "Não há visores para atualizar.", + "filter-dialog": { + "online": "O visor deve ser", + "label": "O rótulo deve conter", + "key": "A chave pública deve conter", + "dmsg": "A chave do servidor DMSG deve conter", + "online-options": { + "any": "Online ou offline", + "online": "Online", + "offline": "Offline" + } + } + }, + "edit-label": { + "label": "Rótulo", + "done": "Rótulo salvo.", + "label-removed-warning": "O rótulo foi removido." + }, + "settings": { + "title": "Definições", + "password": { + "initial-config-help": "Use esta opção para definir a senha inicial. Depois de definir uma senha, não é possível usar esta opção para modificá-la.", + "help": "Opções para alterar sua senha.", + "old-password": "Senha Antiga", + "new-password": "Nova Senha", + "repeat-password": "Repita a senha", + "password-changed": "Senha alterada.", + "error-changing": "Erro ao alterar a senha.", + "initial-config": { + "title": "Definir senha inicial", + "password": "Senha", + "repeat-password": "Repita a senha", + "set-password": "Definir senha", + "done": "Senha definida. Use-a para acessar o sistema.", + "error": "Erro. Certifique-se de que ainda não definiu a senha." + }, + "errors": { + "bad-old-password": "A senha antiga fornecida não está correta.", + "old-password-required": "A senha antiga é necessária.", + "new-password-error": "A senha deve ter de 6 a 64 caracteres.", + "passwords-not-match": "As senhas não coincidem.", + "default-password": "Não use a senha padrão (1234)." + } + }, + "updater-config": { + "open-link": "Mostrar configurações do atualizador", + "open-confirmation": "As configurações do atualizador são apenas para usuários experientes. Você tem certeza que quer continuar?", + "help": "Use este formulário para substituir as configurações que serão usadas pelo atualizador. Todos os campos vazios serão ignorados. As configurações serão usadas para todas as operações de atualização, independentemente de qual elemento está sendo atualizado, portanto, tome cuidado.", + "channel": "Canal", + "version": "Versão", + "archive-url": "URL do arquivo", + "checksum-url": "URL do Checksum ", + "not-saved": "As alterações ainda não foram salvas.", + "save": "Salvar alterações", + "remove-settings": "Remover as configurações", + "saved": "As configurações personalizadas foram salvas.", + "removed": "As configurações personalizadas foram removidas.", + "save-confirmation": "Tem certeza de que deseja aplicar as configurações personalizadas?", + "remove-confirmation": "Tem certeza de que deseja remover as configurações personalizadas?" + }, + "change-password": "Mudar senha", + "refresh-rate": "Taxa de atualização", + "refresh-rate-help": "Tempo que o sistema espera para atualizar os dados automaticamente.", + "refresh-rate-confirmation": "Taxa de atualização alterada.", + "seconds": "segundos" + }, + "login": { + "password": "Senha", + "incorrect-password": "Senha incorreta.", + "initial-config": "Configurar a inicialização inicial" + }, + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuração", + "update": "Atualizar", + "reboot": "Reiniciar" + }, + "reboot": { + "confirmation": "Tem certeza de que deseja reiniciar o visor?", + "done": "O visor está reiniciando." + }, + "terminal-options": { + "full": "Terminal completo", + "simple": "Terminal simples" + }, + "terminal": { + "title": "Terminal", + "input-start": "Terminal Skywire para {{address}}", + "error": "Erro inesperado ao tentar executar o comando." + } + }, + "update": { + "title": "Atualizar", + "error-title": "Erro", + "processing": "Procurando por atualizações...", + "no-update": "Não há atualização para o visor. A versão atualmente instalada é:", + "no-updates": "Nenhuma nova atualização foi encontrada.", + "already-updating": "Algumas visores já estão sendo atualizadas:", + "update-available": "As seguintes atualizações foram encontradas:", + "update-available-singular": "As seguintes atualizações para 1 visor foram encontradas:", + "update-available-plural": "As seguintes atualizações para visores {{ number }} foram encontradas:", + "update-available-additional-singular": "As seguintes atualizações adicionais para 1 visor foram encontradas:", + "update-available-additional-plural": "As seguintes atualizações adicionais para visores {{ number }} foram encontradas:", + "update-instructions": "Clique no botão 'Instalar atualizações' para continuar.", + "updating": "A operação de atualização foi iniciada, você pode abrir esta janela novamente para verificar o andamento:", + "version-change": "De {{ currentVersion }} para {{ newVersion }}", + "selected-channel": "Canal selecionado:", + "downloaded-file-name-prefix": "Baixando: ", + "speed-prefix": "Velocidade: ", + "time-downloading-prefix": "Tempo de download: ", + "time-left-prefix": "Tempo restante (aprox.): ", + "starting": "Preparando para atualizar", + "finished": "Conexão de status finalizada", + "install": "Instalar atualizações" + }, + "apps": { + "log": { + "title": "Registro", + "empty": "Não há mensagens de registro para o intervalo de tempo selecionado.", + "filter-button": "Mostrando apenas os registros gerados desde:", + "filter": { + "title": "Filtro", + "filter": "Mostrar apenas os registros gerados desde", + "7-days": "Últimos 7 dias", + "1-month": "Últimos 30 dias", + "3-months": "Últimos 03 meses", + "6-months": "Últimos 06 meses", + "1-year": "Último ano", + "all": "Mostrar todos" + } + }, + "apps-list": { + "title": "Aplicativos", + "list-title": "Lista de aplicativos", + "app-name": "Nome", + "port": "Porta", + "state": "Estado", + "state-tooltip": "Estado atual", + "auto-start": "Inicialização automaticamente", + "empty": "Visor não tem nenhum aplicativo.", + "empty-with-filter": "Nenhum aplicativo corresponde aos critérios de filtragem selecionados.", + "disable-autostart": "Desativar inicialização automática", + "enable-autostart": "Habilitar inicialização automática", + "autostart-disabled": "Inicialização automática desativada", + "autostart-enabled": "Inicialização automática ativada", + "unavailable-logs-error": "Não é possível mostrar os logs enquanto o aplicativo não está em execução.", + "filter-dialog": { + "state": "O estado deve ser", + "name": "O nome deve conter", + "port": "A porta deve conter", + "autostart": "A inicialização automática deve ser", + "state-options": { + "any": "Executando ou parado", + "running": "Executando", + "stopped": "Parado" + }, + "autostart-options": { + "any": "Habilitado ou desabilitado", + "enabled": "Habilitado", + "disabled": "Desabilitado" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Configurações do Skysocks", + "vpn-title": "Configurações do servidor VPN", + "new-password": "Nova senha (deixe em branco para remover a senha)", + "repeat-password": "Repita a senha", + "passwords-not-match": "As senhas não coincidem.", + "secure-mode-check": "Use o modo seguro", + "secure-mode-info": "Quando ativo, o servidor não permite SSH cliente / servidor e não permite nenhum tráfego de clientes VPN para a rede local do servidor.", + "save": "Salvar", + "remove-passowrd-confirmation": "Você deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?", + "change-passowrd-confirmation": "Tem certeza que deseja alterar a senha?", + "changes-made": "As mudanças foram feitas." + }, + "vpn-socks-client-settings": { + "socks-title": "Configurações do cliente Skysocks", + "vpn-title": "Configurações de cliente VPN", + "discovery-tab": "Procurar", + "remote-visor-tab": "Inserir manualmente", + "history-tab": "Histórico", + "settings-tab": "Configurações", + "use": "Use estes dados", + "change-note": "Mudar nota", + "remove-entry": "Remover entrada", + "note": "Nota:", + "note-entered-manually": "Inserida manualmente", + "note-obtained": "Obtida do serviço de descoberta", + "key": "Chave:", + "port": "Porta:", + "location": "Localização:", + "state-available": "Disponível", + "state-offline": "Offline", + "public-key": "Chave pública do visor remoto", + "password": "Senha", + "password-history-warning": "Nota: a senha não será salva no histórico.", + "copy-pk-info": "Copiar chave pública.", + "copied-pk-info": "A chave pública foi copiada.", + "copy-pk-error": "Ocorreu um problema ao copiar a chave pública.", + "no-elements": "Atualmente não há elementos para mostrar. Por favor, tente novamente mais tarde.", + "no-elements-for-filters": "Não há elementos que atendam aos critérios do filtro.", + "no-filter": "Nenhum filtro foi selecionado", + "click-to-change": "Clique para mudar", + "remote-key-length-error": "A chave pública deve ter 66 caracteres.", + "remote-key-chars-error": "A chave pública deve conter apenas caracteres hexadecimais.", + "save": "Salvar", + "remove-from-history-confirmation": "Tem certeza de que deseja remover a entrada do histórico?", + "change-key-confirmation": "Tem certeza de que deseja alterar a chave pública do visor remoto?", + "changes-made": "As mudanças foram feitas.", + "no-history": "Esta guia mostrará as últimas {{ number }} chaves públicas usadas.", + "default-note-warning": "A nota padrão foi usada.", + "pagination-info": "{{ currentElementsRange }} de {{ totalElements }}", + "killswitch-check": "Ativar killswitch", + "killswitch-info": "Quando ativo, todas as conexões de rede serão desativadas se o aplicativo estiver em execução, exceto a proteção VPN for interrompida (por erros temporários ou qualquer outro problema).", + "settings-changed-alert": "As alterações ainda não foram salvas.", + "save-settings": "Salvar configurações", + "change-note-dialog": { + "title": "Mudar nota", + "note": "Nota" + }, + "password-dialog": { + "title": "Digite a senha", + "password": "Senha", + "info": "Uma senha está sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas não foi salva por motivos de segurança. Você pode deixar a senha em branco, se necessário.", + "continue-button": "Continuar" + }, + "filter-dialog": { + "title": "Filtros", + "country": "O país deve ser", + "any-country": "Qualquer um", + "location": "O local deve conter", + "pub-key": "A chave pública deve conter", + "apply": "Aplicar" + } + }, + "stop-app": "Parar", + "start-app": "Iniciar", + "view-logs": "Ver registros", + "settings": "Configurações", + "error": "Ocorreu um erro e não foi possível realizar a operação.", + "stop-confirmation": "Tem certeza de que deseja parar o aplicativo?", + "stop-selected-confirmation": "Tem certeza de que deseja parar os aplicativos selecionados?", + "disable-autostart-confirmation": "Tem certeza de que deseja desativar a inicialização automática do aplicativo?", + "enable-autostart-confirmation": "Tem certeza de que deseja ativar a inicialização automática do aplicativo?", + "disable-autostart-selected-confirmation": "Tem certeza de que deseja desativar o início automático para os aplicativos selecionados?", + "enable-autostart-selected-confirmation": "Tem certeza de que deseja ativar o início automático para os aplicativos selecionados?", + "operation-completed": "Operação concluída.", + "operation-unnecessary": "A seleção já possui a configuração solicitada.", + "status-running": "Executando", + "status-stopped": "Parado", + "status-failed": "Fracassado", + "status-running-tooltip": "O aplicativo está em execução", + "status-stopped-tooltip": "O aplicativo está parado no momento", + "status-failed-tooltip": "Algo deu errado. Verifique as mensagens do aplicativo para obter mais informações" + }, + "transports": { + "title": "Transportes", + "remove-all-offline": "Remover todos os transportes offline", + "remove-all-offline-confirmation": "Tem certeza de que deseja remover todos os transportes offline?", + "remove-all-filtered-offline-confirmation": "Todos os transportes off-line que atendem aos critérios de filtragem atuais serão removidos. Tem certeza de que deseja continuar?", + "info": "Conexões que você tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.", + "list-title": "Lista de transporte", + "state": "Estado", + "state-tooltip": "Estado atual", + "id": "ID", + "remote-node": "Remoto", + "type": "Tipo", + "create": "Criar transporte", + "delete-confirmation": "Tem certeza que deseja excluir o transporte?", + "delete-selected-confirmation": "Tem certeza que deseja excluir os transportes selecionados?", + "delete": "Excluir transporte", + "deleted": "Operação de exclusão concluída.", + "empty": "Visor não tem transportes.", + "empty-with-filter": "Nenhum transporte corresponde aos critérios de filtragem selecionados.", + "statuses": { + "online": "Online", + "online-tooltip": "Transporte está online", + "offline": "Offline", + "offline-tooltip": "Transporte está offline" + }, + "details": { + "title": "Detalhes", + "basic": { + "title": "Informação básica", + "state": "Estado:", + "id": "ID:", + "local-pk": "Chave pública local:", + "remote-pk": "Chave pública remota:", + "type": "Tipo:" + }, + "data": { + "title": "Transmissão de dados", + "uploaded": "Dados carregados:", + "downloaded": "Dados baixados:" + } + }, + "dialog": { + "remote-key": "Chave pública remota", + "label": "Nome de identificação (opcional)", + "transport-type": "Tipo de transporte", + "success": "Transporte criado.", + "success-without-label": "O transporte foi criado, mas não foi possível salvar a etiqueta.", + "errors": { + "remote-key-length-error": "A chave pública remota deve ter 66 caracteres.", + "remote-key-chars-error": "A chave pública remota deve conter apenas caracteres hexadecimais.", + "transport-type-error": "O tipo de transporte é obrigatório." + } + }, + "filter-dialog": { + "online": "O transporte deve ser", + "id": "O id deve conter", + "remote-node": "A chave remota deve conter", + "online-options": { + "any": "Online ou offline", + "online": "Online", + "offline": "Offline" + } + } + }, + "routes": { + "title": "Rotas", + "info": "Caminhos usados para alcançar os visores remotos para os quais os transportes foram estabelecidos. As rotas são geradas automaticamente conforme necessário.", + "list-title": "Lista de rotas", + "key": "Chave", + "type": "Tipo", + "source": "Fonte", + "destination": "Destino", + "delete-confirmation": "Tem certeza que deseja excluir a rota?", + "delete-selected-confirmation": "Tem certeza que deseja excluir as rotas selecionadas?", + "delete": "Excluir rota", + "deleted": "Operação de exclusão concluída.", + "empty": "Visor não tem nenhuma rota.", + "empty-with-filter": "Nenhuma rota corresponde aos critérios de filtragem selecionados.", + "details": { + "title": "Detalhes", + "basic": { + "title": "Informação básica", + "key": "Chave:", + "rule": "Regras:" + }, + "summary": { + "title": "Resumo da regra", + "keep-alive": "Ativo:", + "type": "Tipo de regra:", + "key-route-id": "ID de rota chave:" + }, + "specific-fields-titles": { + "app": "Campos de aplicativos", + "forward": "Campos de encaminhamento", + "intermediary-forward": "Campos intermediários de encaminhamento" + }, + "specific-fields": { + "route-id": "Próximo ID de rota:", + "transport-id": "Próximo ID de transporte:", + "destination-pk": "Chave pública de destino:", + "source-pk": "Chave pública de origem:", + "destination-port": "Porta de destino:", + "source-port": "Porta de origem:" + } + }, + "filter-dialog": { + "key": "A chave deve conter", + "type": "O tipo deve ser", + "source": "A fonte deve conter", + "destination": "O destino deve conter", + "any-type-option": "Qualquer uma" + } + }, + "copy": { + "tooltip": "Clique para copiar", + "tooltip-with-text": "{{ text }} (Clique para copiar)", + "copied": "Copiado!" + }, + "selection": { + "select-all": "Selecionar tudo", + "unselect-all": "Desmarque todos", + "delete-all": "Excluir todos os elementos selecionados", + "start-all": "Iniciar todos os aplicativos selecionados", + "stop-all": "Parar todos os aplicativos selecionados", + "enable-autostart-all": "Habilitar inicialização automática para todos os aplicativos selecionados", + "disable-autostart-all": "Desativar inicialização automática para todos os aplicativos selecionados" + }, + "refresh-button": { + "seconds": "Atualizado alguns segundos atrás", + "minute": "Atualizado 1 minuto atrás", + "minutes": "Atualizado {{ time }} minutos atrás", + "hour": "Atualizado 1 hora atrás", + "hours": "Atualizado {{ time }} horas atrás", + "day": "Atualizado 1 dia atrás", + "days": "Atualizado {{ time }} dias atrás", + "week": "Atualizado 1 semana atrás", + "weeks": "Atualizado {{ time }} semanas atrás", + "error-tooltip": "Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..." + }, + "view-all-link": { + "label": "Ver todos os elementos {{ number }}" + }, + "paginator": { + "first": "Primeira", + "last": "Última", + "total": "Total: {{ number }} páginas", + "select-page-title": "Selecione a página" + }, + "confirmation": { + "header-text": "Confirmação", + "confirm-button": "Sim", + "cancel-button": "Não", + "close": "Fechar", + "error-header-text": "Erro", + "done-header-text": "Feito" + }, + "language": { + "title": "Selecione o idioma" + }, + "tabs-window": { + "title": "Alterar guia" + } +} \ No newline at end of file diff --git a/static/skywire-manager-src/dist/assets/i18n/en.json b/cmd/skywire-visor/static/assets/i18n/pt_base.json similarity index 100% rename from static/skywire-manager-src/dist/assets/i18n/en.json rename to cmd/skywire-visor/static/assets/i18n/pt_base.json diff --git a/static/skywire-manager-src/dist/assets/img/background-pattern.png b/cmd/skywire-visor/static/assets/img/background-pattern.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/background-pattern.png rename to cmd/skywire-visor/static/assets/img/background-pattern.png diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ab.png b/cmd/skywire-visor/static/assets/img/big-flags/ab.png new file mode 100644 index 000000000..a873bb34c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ab.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ad.png b/cmd/skywire-visor/static/assets/img/big-flags/ad.png new file mode 100644 index 000000000..c866ebdc6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ad.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ae.png b/cmd/skywire-visor/static/assets/img/big-flags/ae.png new file mode 100644 index 000000000..115fdd2df Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ae.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/af.png b/cmd/skywire-visor/static/assets/img/big-flags/af.png new file mode 100644 index 000000000..16715473c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/af.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ag.png b/cmd/skywire-visor/static/assets/img/big-flags/ag.png new file mode 100644 index 000000000..24848a065 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ag.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ai.png b/cmd/skywire-visor/static/assets/img/big-flags/ai.png new file mode 100644 index 000000000..740091d73 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ai.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/al.png b/cmd/skywire-visor/static/assets/img/big-flags/al.png new file mode 100644 index 000000000..e380cb1d0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/al.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/am.png b/cmd/skywire-visor/static/assets/img/big-flags/am.png new file mode 100644 index 000000000..d415d1a14 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/am.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ao.png b/cmd/skywire-visor/static/assets/img/big-flags/ao.png new file mode 100644 index 000000000..adcaa3a21 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ao.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/aq.png b/cmd/skywire-visor/static/assets/img/big-flags/aq.png new file mode 100644 index 000000000..72b403256 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/aq.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ar.png b/cmd/skywire-visor/static/assets/img/big-flags/ar.png new file mode 100644 index 000000000..aca9957e0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ar.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/as.png b/cmd/skywire-visor/static/assets/img/big-flags/as.png new file mode 100644 index 000000000..4750e09ab Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/as.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/at.png b/cmd/skywire-visor/static/assets/img/big-flags/at.png new file mode 100644 index 000000000..7987b336f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/at.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/au.png b/cmd/skywire-visor/static/assets/img/big-flags/au.png new file mode 100644 index 000000000..19080472b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/au.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/aw.png b/cmd/skywire-visor/static/assets/img/big-flags/aw.png new file mode 100644 index 000000000..db889bed5 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/aw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ax.png b/cmd/skywire-visor/static/assets/img/big-flags/ax.png new file mode 100644 index 000000000..bddb2f02d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ax.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/az.png b/cmd/skywire-visor/static/assets/img/big-flags/az.png new file mode 100644 index 000000000..65a1c0634 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/az.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ba.png b/cmd/skywire-visor/static/assets/img/big-flags/ba.png new file mode 100644 index 000000000..b0580bde3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ba.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bb.png b/cmd/skywire-visor/static/assets/img/big-flags/bb.png new file mode 100644 index 000000000..648b77ca7 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bb.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bd.png b/cmd/skywire-visor/static/assets/img/big-flags/bd.png new file mode 100644 index 000000000..af372f14e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bd.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/be.png b/cmd/skywire-visor/static/assets/img/big-flags/be.png new file mode 100644 index 000000000..ce6b3a6bb Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/be.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bf.png b/cmd/skywire-visor/static/assets/img/big-flags/bf.png new file mode 100644 index 000000000..f6f203cd8 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bg.png b/cmd/skywire-visor/static/assets/img/big-flags/bg.png new file mode 100644 index 000000000..b380ef977 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bh.png b/cmd/skywire-visor/static/assets/img/big-flags/bh.png new file mode 100644 index 000000000..a61dc7034 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bi.png b/cmd/skywire-visor/static/assets/img/big-flags/bi.png new file mode 100644 index 000000000..48b965a13 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bi.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bj.png b/cmd/skywire-visor/static/assets/img/big-flags/bj.png new file mode 100644 index 000000000..2700b43a9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bj.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bl.png b/cmd/skywire-visor/static/assets/img/big-flags/bl.png new file mode 100644 index 000000000..7b00a9808 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bm.png b/cmd/skywire-visor/static/assets/img/big-flags/bm.png new file mode 100644 index 000000000..608c6e740 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bn.png b/cmd/skywire-visor/static/assets/img/big-flags/bn.png new file mode 100644 index 000000000..cbdc6a18b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bo.png b/cmd/skywire-visor/static/assets/img/big-flags/bo.png new file mode 100644 index 000000000..11abff59f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bo.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bq.png b/cmd/skywire-visor/static/assets/img/big-flags/bq.png new file mode 100644 index 000000000..80f03b7d4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bq.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/br.png b/cmd/skywire-visor/static/assets/img/big-flags/br.png new file mode 100644 index 000000000..25b4c0bfd Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/br.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bs.png b/cmd/skywire-visor/static/assets/img/big-flags/bs.png new file mode 100644 index 000000000..e6956edda Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bs.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bt.png b/cmd/skywire-visor/static/assets/img/big-flags/bt.png new file mode 100644 index 000000000..a2a437261 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bv.png b/cmd/skywire-visor/static/assets/img/big-flags/bv.png new file mode 100644 index 000000000..613ffabf8 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bw.png b/cmd/skywire-visor/static/assets/img/big-flags/bw.png new file mode 100644 index 000000000..b59462e10 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/by.png b/cmd/skywire-visor/static/assets/img/big-flags/by.png new file mode 100644 index 000000000..b14681214 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/by.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/bz.png b/cmd/skywire-visor/static/assets/img/big-flags/bz.png new file mode 100644 index 000000000..95c32e815 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/bz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ca.png b/cmd/skywire-visor/static/assets/img/big-flags/ca.png new file mode 100644 index 000000000..8290d274e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ca.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cc.png b/cmd/skywire-visor/static/assets/img/big-flags/cc.png new file mode 100644 index 000000000..028ab1107 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cd.png b/cmd/skywire-visor/static/assets/img/big-flags/cd.png new file mode 100644 index 000000000..c10f1a4b8 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cd.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cf.png b/cmd/skywire-visor/static/assets/img/big-flags/cf.png new file mode 100644 index 000000000..952b36e86 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cg.png b/cmd/skywire-visor/static/assets/img/big-flags/cg.png new file mode 100644 index 000000000..2c37b8708 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ch.png b/cmd/skywire-visor/static/assets/img/big-flags/ch.png new file mode 100644 index 000000000..c5930cb3b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ch.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ci.png b/cmd/skywire-visor/static/assets/img/big-flags/ci.png new file mode 100644 index 000000000..1465759ae Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ci.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ck.png b/cmd/skywire-visor/static/assets/img/big-flags/ck.png new file mode 100644 index 000000000..1d3ef12c0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ck.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cl.png b/cmd/skywire-visor/static/assets/img/big-flags/cl.png new file mode 100644 index 000000000..2ae0afd67 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cm.png b/cmd/skywire-visor/static/assets/img/big-flags/cm.png new file mode 100644 index 000000000..fa47d8f5b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cn.png b/cmd/skywire-visor/static/assets/img/big-flags/cn.png new file mode 100644 index 000000000..092a781bf Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/co.png b/cmd/skywire-visor/static/assets/img/big-flags/co.png new file mode 100644 index 000000000..e36064b7f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/co.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cr.png b/cmd/skywire-visor/static/assets/img/big-flags/cr.png new file mode 100644 index 000000000..dbfb8da62 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cu.png b/cmd/skywire-visor/static/assets/img/big-flags/cu.png new file mode 100644 index 000000000..d570c55f2 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cv.png b/cmd/skywire-visor/static/assets/img/big-flags/cv.png new file mode 100644 index 000000000..8f2ff8432 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cw.png b/cmd/skywire-visor/static/assets/img/big-flags/cw.png new file mode 100644 index 000000000..adc08b7f1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cx.png b/cmd/skywire-visor/static/assets/img/big-flags/cx.png new file mode 100644 index 000000000..a5bae219e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cx.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cy.png b/cmd/skywire-visor/static/assets/img/big-flags/cy.png new file mode 100644 index 000000000..2e9ebb6b0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cy.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/cz.png b/cmd/skywire-visor/static/assets/img/big-flags/cz.png new file mode 100644 index 000000000..fc25af8df Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/cz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/de.png b/cmd/skywire-visor/static/assets/img/big-flags/de.png new file mode 100644 index 000000000..78279117b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/de.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/dj.png b/cmd/skywire-visor/static/assets/img/big-flags/dj.png new file mode 100644 index 000000000..76bca585e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/dj.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/dk.png b/cmd/skywire-visor/static/assets/img/big-flags/dk.png new file mode 100644 index 000000000..365c16d77 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/dk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/dm.png b/cmd/skywire-visor/static/assets/img/big-flags/dm.png new file mode 100644 index 000000000..076c97aa1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/dm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/do.png b/cmd/skywire-visor/static/assets/img/big-flags/do.png new file mode 100644 index 000000000..4d78c5678 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/do.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/dz.png b/cmd/skywire-visor/static/assets/img/big-flags/dz.png new file mode 100644 index 000000000..ec42172f6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/dz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ec.png b/cmd/skywire-visor/static/assets/img/big-flags/ec.png new file mode 100644 index 000000000..71f8350d5 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ec.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ee.png b/cmd/skywire-visor/static/assets/img/big-flags/ee.png new file mode 100644 index 000000000..6ddaf9e75 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ee.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/eg.png b/cmd/skywire-visor/static/assets/img/big-flags/eg.png new file mode 100644 index 000000000..1972894f9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/eg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/eh.png b/cmd/skywire-visor/static/assets/img/big-flags/eh.png new file mode 100644 index 000000000..03e256f07 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/eh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/er.png b/cmd/skywire-visor/static/assets/img/big-flags/er.png new file mode 100644 index 000000000..e86cfb8e4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/er.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/es.png b/cmd/skywire-visor/static/assets/img/big-flags/es.png new file mode 100644 index 000000000..ddfe09cee Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/es.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/et.png b/cmd/skywire-visor/static/assets/img/big-flags/et.png new file mode 100644 index 000000000..8153dd8a2 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/et.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fi.png b/cmd/skywire-visor/static/assets/img/big-flags/fi.png new file mode 100644 index 000000000..ccad92b17 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fi.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fj.png b/cmd/skywire-visor/static/assets/img/big-flags/fj.png new file mode 100644 index 000000000..cf7bbbd7a Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fj.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fk.png b/cmd/skywire-visor/static/assets/img/big-flags/fk.png new file mode 100644 index 000000000..dd3f785eb Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fm.png b/cmd/skywire-visor/static/assets/img/big-flags/fm.png new file mode 100644 index 000000000..861b30676 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fo.png b/cmd/skywire-visor/static/assets/img/big-flags/fo.png new file mode 100644 index 000000000..2187ddc1b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fo.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/fr.png b/cmd/skywire-visor/static/assets/img/big-flags/fr.png new file mode 100644 index 000000000..6ec1382f7 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/fr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ga.png b/cmd/skywire-visor/static/assets/img/big-flags/ga.png new file mode 100644 index 000000000..ea66ce361 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ga.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gb.png b/cmd/skywire-visor/static/assets/img/big-flags/gb.png new file mode 100644 index 000000000..ff5fc1a23 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gb.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gd.png b/cmd/skywire-visor/static/assets/img/big-flags/gd.png new file mode 100644 index 000000000..f56121afe Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gd.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ge.png b/cmd/skywire-visor/static/assets/img/big-flags/ge.png new file mode 100644 index 000000000..28ee7a48b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ge.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gf.png b/cmd/skywire-visor/static/assets/img/big-flags/gf.png new file mode 100644 index 000000000..9aab43e70 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gg.png b/cmd/skywire-visor/static/assets/img/big-flags/gg.png new file mode 100644 index 000000000..9f1482018 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gh.png b/cmd/skywire-visor/static/assets/img/big-flags/gh.png new file mode 100644 index 000000000..fe5cfa0d4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gi.png b/cmd/skywire-visor/static/assets/img/big-flags/gi.png new file mode 100644 index 000000000..017aa13c9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gi.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gl.png b/cmd/skywire-visor/static/assets/img/big-flags/gl.png new file mode 100644 index 000000000..f5fb1a995 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gm.png b/cmd/skywire-visor/static/assets/img/big-flags/gm.png new file mode 100644 index 000000000..0d9e8e517 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gn.png b/cmd/skywire-visor/static/assets/img/big-flags/gn.png new file mode 100644 index 000000000..90dfab4c3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gp.png b/cmd/skywire-visor/static/assets/img/big-flags/gp.png new file mode 100644 index 000000000..50ad28c43 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gp.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gq.png b/cmd/skywire-visor/static/assets/img/big-flags/gq.png new file mode 100644 index 000000000..44e44353b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gq.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gr.png b/cmd/skywire-visor/static/assets/img/big-flags/gr.png new file mode 100644 index 000000000..647ccad60 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gs.png b/cmd/skywire-visor/static/assets/img/big-flags/gs.png new file mode 100644 index 000000000..c001df69d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gs.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gt.png b/cmd/skywire-visor/static/assets/img/big-flags/gt.png new file mode 100644 index 000000000..178c39ff4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gu.png b/cmd/skywire-visor/static/assets/img/big-flags/gu.png new file mode 100644 index 000000000..40cfd76ab Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gw.png b/cmd/skywire-visor/static/assets/img/big-flags/gw.png new file mode 100644 index 000000000..b288802be Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/gy.png b/cmd/skywire-visor/static/assets/img/big-flags/gy.png new file mode 100644 index 000000000..dfa08cf15 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/gy.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/hk.png b/cmd/skywire-visor/static/assets/img/big-flags/hk.png new file mode 100644 index 000000000..94e3ae175 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/hk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/hm.png b/cmd/skywire-visor/static/assets/img/big-flags/hm.png new file mode 100644 index 000000000..7b1a1304b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/hm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/hn.png b/cmd/skywire-visor/static/assets/img/big-flags/hn.png new file mode 100644 index 000000000..9724fe6fe Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/hn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/hr.png b/cmd/skywire-visor/static/assets/img/big-flags/hr.png new file mode 100644 index 000000000..1de343140 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/hr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ht.png b/cmd/skywire-visor/static/assets/img/big-flags/ht.png new file mode 100644 index 000000000..5a15bd3c6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ht.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/hu.png b/cmd/skywire-visor/static/assets/img/big-flags/hu.png new file mode 100644 index 000000000..5dad47746 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/hu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/id.png b/cmd/skywire-visor/static/assets/img/big-flags/id.png new file mode 100644 index 000000000..d99c3c25d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/id.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ie.png b/cmd/skywire-visor/static/assets/img/big-flags/ie.png new file mode 100644 index 000000000..b4186c96b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ie.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/il.png b/cmd/skywire-visor/static/assets/img/big-flags/il.png new file mode 100644 index 000000000..0a9686ea9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/il.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/im.png b/cmd/skywire-visor/static/assets/img/big-flags/im.png new file mode 100644 index 000000000..13700ac1a Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/im.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/in.png b/cmd/skywire-visor/static/assets/img/big-flags/in.png new file mode 100644 index 000000000..bd438a114 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/in.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/io.png b/cmd/skywire-visor/static/assets/img/big-flags/io.png new file mode 100644 index 000000000..832de2843 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/io.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/iq.png b/cmd/skywire-visor/static/assets/img/big-flags/iq.png new file mode 100644 index 000000000..b2c1d3035 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/iq.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ir.png b/cmd/skywire-visor/static/assets/img/big-flags/ir.png new file mode 100644 index 000000000..e1721ebea Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ir.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/is.png b/cmd/skywire-visor/static/assets/img/big-flags/is.png new file mode 100644 index 000000000..389977171 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/is.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/it.png b/cmd/skywire-visor/static/assets/img/big-flags/it.png new file mode 100644 index 000000000..2ae1d25ac Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/it.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/je.png b/cmd/skywire-visor/static/assets/img/big-flags/je.png new file mode 100644 index 000000000..bb801c040 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/je.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/jm.png b/cmd/skywire-visor/static/assets/img/big-flags/jm.png new file mode 100644 index 000000000..e5a391587 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/jm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/jo.png b/cmd/skywire-visor/static/assets/img/big-flags/jo.png new file mode 100644 index 000000000..2505dafa4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/jo.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/jp.png b/cmd/skywire-visor/static/assets/img/big-flags/jp.png new file mode 100644 index 000000000..b27465595 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/jp.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ke.png b/cmd/skywire-visor/static/assets/img/big-flags/ke.png new file mode 100644 index 000000000..0e9fe33c0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ke.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kg.png b/cmd/skywire-visor/static/assets/img/big-flags/kg.png new file mode 100644 index 000000000..03f8a6698 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kh.png b/cmd/skywire-visor/static/assets/img/big-flags/kh.png new file mode 100644 index 000000000..3454d266c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ki.png b/cmd/skywire-visor/static/assets/img/big-flags/ki.png new file mode 100644 index 000000000..ad468de99 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ki.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/km.png b/cmd/skywire-visor/static/assets/img/big-flags/km.png new file mode 100644 index 000000000..926cdbfe7 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/km.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kn.png b/cmd/skywire-visor/static/assets/img/big-flags/kn.png new file mode 100644 index 000000000..ae9c238a3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kp.png b/cmd/skywire-visor/static/assets/img/big-flags/kp.png new file mode 100644 index 000000000..b0c072442 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kp.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kr.png b/cmd/skywire-visor/static/assets/img/big-flags/kr.png new file mode 100644 index 000000000..885c0e674 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kw.png b/cmd/skywire-visor/static/assets/img/big-flags/kw.png new file mode 100644 index 000000000..2bef28855 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ky.png b/cmd/skywire-visor/static/assets/img/big-flags/ky.png new file mode 100644 index 000000000..8327c1389 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ky.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/kz.png b/cmd/skywire-visor/static/assets/img/big-flags/kz.png new file mode 100644 index 000000000..40baf3e9b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/kz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/la.png b/cmd/skywire-visor/static/assets/img/big-flags/la.png new file mode 100644 index 000000000..6cc31b5f0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/la.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lb.png b/cmd/skywire-visor/static/assets/img/big-flags/lb.png new file mode 100644 index 000000000..841e6a629 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lb.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lc.png b/cmd/skywire-visor/static/assets/img/big-flags/lc.png new file mode 100644 index 000000000..973634032 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/li.png b/cmd/skywire-visor/static/assets/img/big-flags/li.png new file mode 100644 index 000000000..e79a29898 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/li.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lk.png b/cmd/skywire-visor/static/assets/img/big-flags/lk.png new file mode 100644 index 000000000..5968fbdeb Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lr.png b/cmd/skywire-visor/static/assets/img/big-flags/lr.png new file mode 100644 index 000000000..90ea011f6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ls.png b/cmd/skywire-visor/static/assets/img/big-flags/ls.png new file mode 100644 index 000000000..de3657af8 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ls.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lt.png b/cmd/skywire-visor/static/assets/img/big-flags/lt.png new file mode 100644 index 000000000..c69035320 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lu.png b/cmd/skywire-visor/static/assets/img/big-flags/lu.png new file mode 100644 index 000000000..55c3e5e5c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/lv.png b/cmd/skywire-visor/static/assets/img/big-flags/lv.png new file mode 100644 index 000000000..86cf3cff5 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/lv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ly.png b/cmd/skywire-visor/static/assets/img/big-flags/ly.png new file mode 100644 index 000000000..1a04f5f27 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ly.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ma.png b/cmd/skywire-visor/static/assets/img/big-flags/ma.png new file mode 100644 index 000000000..8878444cc Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ma.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mc.png b/cmd/skywire-visor/static/assets/img/big-flags/mc.png new file mode 100644 index 000000000..586fe9def Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/md.png b/cmd/skywire-visor/static/assets/img/big-flags/md.png new file mode 100644 index 000000000..1d0985de0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/md.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/me.png b/cmd/skywire-visor/static/assets/img/big-flags/me.png new file mode 100644 index 000000000..0b8c560ba Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/me.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mf.png b/cmd/skywire-visor/static/assets/img/big-flags/mf.png new file mode 100644 index 000000000..e139e0fde Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mg.png b/cmd/skywire-visor/static/assets/img/big-flags/mg.png new file mode 100644 index 000000000..65a1c3c64 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mh.png b/cmd/skywire-visor/static/assets/img/big-flags/mh.png new file mode 100644 index 000000000..fe0fec671 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mk.png b/cmd/skywire-visor/static/assets/img/big-flags/mk.png new file mode 100644 index 000000000..365e8c82e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ml.png b/cmd/skywire-visor/static/assets/img/big-flags/ml.png new file mode 100644 index 000000000..8f2285764 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ml.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mm.png b/cmd/skywire-visor/static/assets/img/big-flags/mm.png new file mode 100644 index 000000000..36d7628a3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mn.png b/cmd/skywire-visor/static/assets/img/big-flags/mn.png new file mode 100644 index 000000000..8f9dd35e3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mo.png b/cmd/skywire-visor/static/assets/img/big-flags/mo.png new file mode 100644 index 000000000..f5470e254 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mo.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mp.png b/cmd/skywire-visor/static/assets/img/big-flags/mp.png new file mode 100644 index 000000000..abac0dd0b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mp.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mq.png b/cmd/skywire-visor/static/assets/img/big-flags/mq.png new file mode 100644 index 000000000..6bf8aaaa7 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mq.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mr.png b/cmd/skywire-visor/static/assets/img/big-flags/mr.png new file mode 100644 index 000000000..b8ede3eec Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ms.png b/cmd/skywire-visor/static/assets/img/big-flags/ms.png new file mode 100644 index 000000000..09d5941cc Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ms.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mt.png b/cmd/skywire-visor/static/assets/img/big-flags/mt.png new file mode 100644 index 000000000..f01658ac6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mu.png b/cmd/skywire-visor/static/assets/img/big-flags/mu.png new file mode 100644 index 000000000..ea3983e89 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mv.png b/cmd/skywire-visor/static/assets/img/big-flags/mv.png new file mode 100644 index 000000000..9d59b3aaa Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mw.png b/cmd/skywire-visor/static/assets/img/big-flags/mw.png new file mode 100644 index 000000000..64dc94feb Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mx.png b/cmd/skywire-visor/static/assets/img/big-flags/mx.png new file mode 100644 index 000000000..fa53bc0be Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mx.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/my.png b/cmd/skywire-visor/static/assets/img/big-flags/my.png new file mode 100644 index 000000000..53d08f8f0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/my.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/mz.png b/cmd/skywire-visor/static/assets/img/big-flags/mz.png new file mode 100644 index 000000000..8251ac51b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/mz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/na.png b/cmd/skywire-visor/static/assets/img/big-flags/na.png new file mode 100644 index 000000000..223e44c30 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/na.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nc.png b/cmd/skywire-visor/static/assets/img/big-flags/nc.png new file mode 100644 index 000000000..681493e43 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ne.png b/cmd/skywire-visor/static/assets/img/big-flags/ne.png new file mode 100644 index 000000000..d331209e1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ne.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nf.png b/cmd/skywire-visor/static/assets/img/big-flags/nf.png new file mode 100644 index 000000000..1c4716793 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ng.png b/cmd/skywire-visor/static/assets/img/big-flags/ng.png new file mode 100644 index 000000000..371f76dc5 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ng.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ni.png b/cmd/skywire-visor/static/assets/img/big-flags/ni.png new file mode 100644 index 000000000..e5bdb0b66 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ni.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nl.png b/cmd/skywire-visor/static/assets/img/big-flags/nl.png new file mode 100644 index 000000000..6ba414d79 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/no.png b/cmd/skywire-visor/static/assets/img/big-flags/no.png new file mode 100644 index 000000000..cebf634a0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/no.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/np.png b/cmd/skywire-visor/static/assets/img/big-flags/np.png new file mode 100644 index 000000000..264d1de4d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/np.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nr.png b/cmd/skywire-visor/static/assets/img/big-flags/nr.png new file mode 100644 index 000000000..29f0f25e3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nu.png b/cmd/skywire-visor/static/assets/img/big-flags/nu.png new file mode 100644 index 000000000..e51bcda91 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/nz.png b/cmd/skywire-visor/static/assets/img/big-flags/nz.png new file mode 100644 index 000000000..c3115432d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/nz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/om.png b/cmd/skywire-visor/static/assets/img/big-flags/om.png new file mode 100644 index 000000000..417f48aa0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/om.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pa.png b/cmd/skywire-visor/static/assets/img/big-flags/pa.png new file mode 100644 index 000000000..7f8ad1a13 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pa.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pe.png b/cmd/skywire-visor/static/assets/img/big-flags/pe.png new file mode 100644 index 000000000..df598a8dd Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pe.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pf.png b/cmd/skywire-visor/static/assets/img/big-flags/pf.png new file mode 100644 index 000000000..c754fc132 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pg.png b/cmd/skywire-visor/static/assets/img/big-flags/pg.png new file mode 100644 index 000000000..99fb42050 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ph.png b/cmd/skywire-visor/static/assets/img/big-flags/ph.png new file mode 100644 index 000000000..1d708012c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ph.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pk.png b/cmd/skywire-visor/static/assets/img/big-flags/pk.png new file mode 100644 index 000000000..271458214 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pl.png b/cmd/skywire-visor/static/assets/img/big-flags/pl.png new file mode 100644 index 000000000..b1ab7c6d1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pm.png b/cmd/skywire-visor/static/assets/img/big-flags/pm.png new file mode 100644 index 000000000..4d562f36b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pn.png b/cmd/skywire-visor/static/assets/img/big-flags/pn.png new file mode 100644 index 000000000..9e351bdc4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pr.png b/cmd/skywire-visor/static/assets/img/big-flags/pr.png new file mode 100644 index 000000000..b08b36b18 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ps.png b/cmd/skywire-visor/static/assets/img/big-flags/ps.png new file mode 100644 index 000000000..610967a8e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ps.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pt.png b/cmd/skywire-visor/static/assets/img/big-flags/pt.png new file mode 100644 index 000000000..e7f0ea10d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/pw.png b/cmd/skywire-visor/static/assets/img/big-flags/pw.png new file mode 100644 index 000000000..22d1b4e03 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/pw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/py.png b/cmd/skywire-visor/static/assets/img/big-flags/py.png new file mode 100644 index 000000000..8a71312da Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/py.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/qa.png b/cmd/skywire-visor/static/assets/img/big-flags/qa.png new file mode 100644 index 000000000..713007deb Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/qa.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/re.png b/cmd/skywire-visor/static/assets/img/big-flags/re.png new file mode 100644 index 000000000..724f50f0e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/re.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ro.png b/cmd/skywire-visor/static/assets/img/big-flags/ro.png new file mode 100644 index 000000000..b53769f13 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ro.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/rs.png b/cmd/skywire-visor/static/assets/img/big-flags/rs.png new file mode 100644 index 000000000..c990b2362 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/rs.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ru.png b/cmd/skywire-visor/static/assets/img/big-flags/ru.png new file mode 100644 index 000000000..0f645fc07 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ru.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/rw.png b/cmd/skywire-visor/static/assets/img/big-flags/rw.png new file mode 100644 index 000000000..4775d0d66 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/rw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sa.png b/cmd/skywire-visor/static/assets/img/big-flags/sa.png new file mode 100644 index 000000000..998a658e9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sa.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sb.png b/cmd/skywire-visor/static/assets/img/big-flags/sb.png new file mode 100644 index 000000000..ee8409d91 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sb.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sc.png b/cmd/skywire-visor/static/assets/img/big-flags/sc.png new file mode 100644 index 000000000..c5f954321 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sd.png b/cmd/skywire-visor/static/assets/img/big-flags/sd.png new file mode 100644 index 000000000..4b175fad5 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sd.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/se.png b/cmd/skywire-visor/static/assets/img/big-flags/se.png new file mode 100644 index 000000000..8982677f2 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/se.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sg.png b/cmd/skywire-visor/static/assets/img/big-flags/sg.png new file mode 100644 index 000000000..b10e9ed97 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sh.png b/cmd/skywire-visor/static/assets/img/big-flags/sh.png new file mode 100644 index 000000000..a9b4eb1b6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sh.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/si.png b/cmd/skywire-visor/static/assets/img/big-flags/si.png new file mode 100644 index 000000000..e47fb392b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/si.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sj.png b/cmd/skywire-visor/static/assets/img/big-flags/sj.png new file mode 100644 index 000000000..28b8aa323 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sj.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sk.png b/cmd/skywire-visor/static/assets/img/big-flags/sk.png new file mode 100644 index 000000000..3a2f9cd31 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sl.png b/cmd/skywire-visor/static/assets/img/big-flags/sl.png new file mode 100644 index 000000000..2a4289ce9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sm.png b/cmd/skywire-visor/static/assets/img/big-flags/sm.png new file mode 100644 index 000000000..192611433 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sn.png b/cmd/skywire-visor/static/assets/img/big-flags/sn.png new file mode 100644 index 000000000..46153f7b3 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/so.png b/cmd/skywire-visor/static/assets/img/big-flags/so.png new file mode 100644 index 000000000..23aec2f85 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/so.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sr.png b/cmd/skywire-visor/static/assets/img/big-flags/sr.png new file mode 100644 index 000000000..4194b35e6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ss.png b/cmd/skywire-visor/static/assets/img/big-flags/ss.png new file mode 100644 index 000000000..8abec4393 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ss.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/st.png b/cmd/skywire-visor/static/assets/img/big-flags/st.png new file mode 100644 index 000000000..c21db243c Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/st.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sv.png b/cmd/skywire-visor/static/assets/img/big-flags/sv.png new file mode 100644 index 000000000..6b1211c18 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sx.png b/cmd/skywire-visor/static/assets/img/big-flags/sx.png new file mode 100644 index 000000000..e1e4eaa2b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sx.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sy.png b/cmd/skywire-visor/static/assets/img/big-flags/sy.png new file mode 100644 index 000000000..8a490965f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sy.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/sz.png b/cmd/skywire-visor/static/assets/img/big-flags/sz.png new file mode 100644 index 000000000..8f5f846c1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/sz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tc.png b/cmd/skywire-visor/static/assets/img/big-flags/tc.png new file mode 100644 index 000000000..ddcc2429d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/td.png b/cmd/skywire-visor/static/assets/img/big-flags/td.png new file mode 100644 index 000000000..8bbf4d36e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/td.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tf.png b/cmd/skywire-visor/static/assets/img/big-flags/tf.png new file mode 100644 index 000000000..3c9ef12c0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tg.png b/cmd/skywire-visor/static/assets/img/big-flags/tg.png new file mode 100644 index 000000000..9c5276ea6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/th.png b/cmd/skywire-visor/static/assets/img/big-flags/th.png new file mode 100644 index 000000000..088b9e3df Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/th.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tj.png b/cmd/skywire-visor/static/assets/img/big-flags/tj.png new file mode 100644 index 000000000..2d608ce84 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tj.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tk.png b/cmd/skywire-visor/static/assets/img/big-flags/tk.png new file mode 100644 index 000000000..c7e5739f0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tl.png b/cmd/skywire-visor/static/assets/img/big-flags/tl.png new file mode 100644 index 000000000..68ffb1ddc Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tl.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tm.png b/cmd/skywire-visor/static/assets/img/big-flags/tm.png new file mode 100644 index 000000000..89d1f8134 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tn.png b/cmd/skywire-visor/static/assets/img/big-flags/tn.png new file mode 100644 index 000000000..73ee71a06 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/to.png b/cmd/skywire-visor/static/assets/img/big-flags/to.png new file mode 100644 index 000000000..28507eae6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/to.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tr.png b/cmd/skywire-visor/static/assets/img/big-flags/tr.png new file mode 100644 index 000000000..ef6da58d0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tr.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tt.png b/cmd/skywire-visor/static/assets/img/big-flags/tt.png new file mode 100644 index 000000000..646a519d9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tv.png b/cmd/skywire-visor/static/assets/img/big-flags/tv.png new file mode 100644 index 000000000..67e8a1e0e Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tv.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tw.png b/cmd/skywire-visor/static/assets/img/big-flags/tw.png new file mode 100644 index 000000000..93cca8b4f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/tz.png b/cmd/skywire-visor/static/assets/img/big-flags/tz.png new file mode 100644 index 000000000..6b40c4115 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/tz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ua.png b/cmd/skywire-visor/static/assets/img/big-flags/ua.png new file mode 100644 index 000000000..3e20e1618 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ua.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ug.png b/cmd/skywire-visor/static/assets/img/big-flags/ug.png new file mode 100644 index 000000000..aa762fa1d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ug.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/um.png b/cmd/skywire-visor/static/assets/img/big-flags/um.png new file mode 100644 index 000000000..f30f21f85 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/um.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/unknown.png b/cmd/skywire-visor/static/assets/img/big-flags/unknown.png new file mode 100644 index 000000000..1193a86d4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/unknown.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/us.png b/cmd/skywire-visor/static/assets/img/big-flags/us.png new file mode 100644 index 000000000..f30f21f85 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/us.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/uy.png b/cmd/skywire-visor/static/assets/img/big-flags/uy.png new file mode 100644 index 000000000..6df7fdeb1 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/uy.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/uz.png b/cmd/skywire-visor/static/assets/img/big-flags/uz.png new file mode 100644 index 000000000..9f6608689 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/uz.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/va.png b/cmd/skywire-visor/static/assets/img/big-flags/va.png new file mode 100644 index 000000000..3bebcefbc Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/va.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/vc.png b/cmd/skywire-visor/static/assets/img/big-flags/vc.png new file mode 100644 index 000000000..595487a77 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/vc.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ve.png b/cmd/skywire-visor/static/assets/img/big-flags/ve.png new file mode 100644 index 000000000..6ab6c460f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ve.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/vg.png b/cmd/skywire-visor/static/assets/img/big-flags/vg.png new file mode 100644 index 000000000..377471b8b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/vg.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/vi.png b/cmd/skywire-visor/static/assets/img/big-flags/vi.png new file mode 100644 index 000000000..442c0a41a Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/vi.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/vn.png b/cmd/skywire-visor/static/assets/img/big-flags/vn.png new file mode 100644 index 000000000..62c8b1f99 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/vn.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/vu.png b/cmd/skywire-visor/static/assets/img/big-flags/vu.png new file mode 100644 index 000000000..76d9d78ff Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/vu.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/wf.png b/cmd/skywire-visor/static/assets/img/big-flags/wf.png new file mode 100644 index 000000000..213cab058 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/wf.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ws.png b/cmd/skywire-visor/static/assets/img/big-flags/ws.png new file mode 100644 index 000000000..d3e31c387 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ws.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/xk.png b/cmd/skywire-visor/static/assets/img/big-flags/xk.png new file mode 100644 index 000000000..12fc8ae05 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/xk.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/ye.png b/cmd/skywire-visor/static/assets/img/big-flags/ye.png new file mode 100644 index 000000000..ca8b3c26f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/ye.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/yt.png b/cmd/skywire-visor/static/assets/img/big-flags/yt.png new file mode 100644 index 000000000..ece0857d0 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/yt.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/za.png b/cmd/skywire-visor/static/assets/img/big-flags/za.png new file mode 100644 index 000000000..8a5ee61d6 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/za.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/zm.png b/cmd/skywire-visor/static/assets/img/big-flags/zm.png new file mode 100644 index 000000000..6733beaef Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/zm.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/zw.png b/cmd/skywire-visor/static/assets/img/big-flags/zw.png new file mode 100644 index 000000000..d12c8660b Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/zw.png differ diff --git a/cmd/skywire-visor/static/assets/img/big-flags/zz.png b/cmd/skywire-visor/static/assets/img/big-flags/zz.png new file mode 100644 index 000000000..1193a86d4 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/big-flags/zz.png differ diff --git a/cmd/skywire-visor/static/assets/img/bronze-rating.png b/cmd/skywire-visor/static/assets/img/bronze-rating.png new file mode 100644 index 000000000..69db4edda Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/bronze-rating.png differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/ab.png b/cmd/skywire-visor/static/assets/img/flags/ab.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ab.png rename to cmd/skywire-visor/static/assets/img/flags/ab.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ad.png b/cmd/skywire-visor/static/assets/img/flags/ad.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ad.png rename to cmd/skywire-visor/static/assets/img/flags/ad.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ae.png b/cmd/skywire-visor/static/assets/img/flags/ae.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ae.png rename to cmd/skywire-visor/static/assets/img/flags/ae.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/af.png b/cmd/skywire-visor/static/assets/img/flags/af.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/af.png rename to cmd/skywire-visor/static/assets/img/flags/af.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ag.png b/cmd/skywire-visor/static/assets/img/flags/ag.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ag.png rename to cmd/skywire-visor/static/assets/img/flags/ag.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ai.png b/cmd/skywire-visor/static/assets/img/flags/ai.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ai.png rename to cmd/skywire-visor/static/assets/img/flags/ai.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/al.png b/cmd/skywire-visor/static/assets/img/flags/al.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/al.png rename to cmd/skywire-visor/static/assets/img/flags/al.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/am.png b/cmd/skywire-visor/static/assets/img/flags/am.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/am.png rename to cmd/skywire-visor/static/assets/img/flags/am.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/an.png b/cmd/skywire-visor/static/assets/img/flags/an.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/an.png rename to cmd/skywire-visor/static/assets/img/flags/an.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ao.png b/cmd/skywire-visor/static/assets/img/flags/ao.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ao.png rename to cmd/skywire-visor/static/assets/img/flags/ao.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/aq.png b/cmd/skywire-visor/static/assets/img/flags/aq.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/aq.png rename to cmd/skywire-visor/static/assets/img/flags/aq.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ar.png b/cmd/skywire-visor/static/assets/img/flags/ar.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ar.png rename to cmd/skywire-visor/static/assets/img/flags/ar.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/as.png b/cmd/skywire-visor/static/assets/img/flags/as.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/as.png rename to cmd/skywire-visor/static/assets/img/flags/as.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/at.png b/cmd/skywire-visor/static/assets/img/flags/at.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/at.png rename to cmd/skywire-visor/static/assets/img/flags/at.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/au.png b/cmd/skywire-visor/static/assets/img/flags/au.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/au.png rename to cmd/skywire-visor/static/assets/img/flags/au.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/aw.png b/cmd/skywire-visor/static/assets/img/flags/aw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/aw.png rename to cmd/skywire-visor/static/assets/img/flags/aw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ax.png b/cmd/skywire-visor/static/assets/img/flags/ax.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ax.png rename to cmd/skywire-visor/static/assets/img/flags/ax.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/az.png b/cmd/skywire-visor/static/assets/img/flags/az.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/az.png rename to cmd/skywire-visor/static/assets/img/flags/az.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ba.png b/cmd/skywire-visor/static/assets/img/flags/ba.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ba.png rename to cmd/skywire-visor/static/assets/img/flags/ba.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bb.png b/cmd/skywire-visor/static/assets/img/flags/bb.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bb.png rename to cmd/skywire-visor/static/assets/img/flags/bb.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bd.png b/cmd/skywire-visor/static/assets/img/flags/bd.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bd.png rename to cmd/skywire-visor/static/assets/img/flags/bd.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/be.png b/cmd/skywire-visor/static/assets/img/flags/be.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/be.png rename to cmd/skywire-visor/static/assets/img/flags/be.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bf.png b/cmd/skywire-visor/static/assets/img/flags/bf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bf.png rename to cmd/skywire-visor/static/assets/img/flags/bf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bg.png b/cmd/skywire-visor/static/assets/img/flags/bg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bg.png rename to cmd/skywire-visor/static/assets/img/flags/bg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bh.png b/cmd/skywire-visor/static/assets/img/flags/bh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bh.png rename to cmd/skywire-visor/static/assets/img/flags/bh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bi.png b/cmd/skywire-visor/static/assets/img/flags/bi.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bi.png rename to cmd/skywire-visor/static/assets/img/flags/bi.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bj.png b/cmd/skywire-visor/static/assets/img/flags/bj.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bj.png rename to cmd/skywire-visor/static/assets/img/flags/bj.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bl.png b/cmd/skywire-visor/static/assets/img/flags/bl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bl.png rename to cmd/skywire-visor/static/assets/img/flags/bl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bm.png b/cmd/skywire-visor/static/assets/img/flags/bm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bm.png rename to cmd/skywire-visor/static/assets/img/flags/bm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bn.png b/cmd/skywire-visor/static/assets/img/flags/bn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bn.png rename to cmd/skywire-visor/static/assets/img/flags/bn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bo.png b/cmd/skywire-visor/static/assets/img/flags/bo.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bo.png rename to cmd/skywire-visor/static/assets/img/flags/bo.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bq.png b/cmd/skywire-visor/static/assets/img/flags/bq.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bq.png rename to cmd/skywire-visor/static/assets/img/flags/bq.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/br.png b/cmd/skywire-visor/static/assets/img/flags/br.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/br.png rename to cmd/skywire-visor/static/assets/img/flags/br.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bs.png b/cmd/skywire-visor/static/assets/img/flags/bs.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bs.png rename to cmd/skywire-visor/static/assets/img/flags/bs.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bt.png b/cmd/skywire-visor/static/assets/img/flags/bt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bt.png rename to cmd/skywire-visor/static/assets/img/flags/bt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bv.png b/cmd/skywire-visor/static/assets/img/flags/bv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bv.png rename to cmd/skywire-visor/static/assets/img/flags/bv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bw.png b/cmd/skywire-visor/static/assets/img/flags/bw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bw.png rename to cmd/skywire-visor/static/assets/img/flags/bw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/by.png b/cmd/skywire-visor/static/assets/img/flags/by.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/by.png rename to cmd/skywire-visor/static/assets/img/flags/by.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/bz.png b/cmd/skywire-visor/static/assets/img/flags/bz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/bz.png rename to cmd/skywire-visor/static/assets/img/flags/bz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ca.png b/cmd/skywire-visor/static/assets/img/flags/ca.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ca.png rename to cmd/skywire-visor/static/assets/img/flags/ca.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cc.png b/cmd/skywire-visor/static/assets/img/flags/cc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cc.png rename to cmd/skywire-visor/static/assets/img/flags/cc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cd.png b/cmd/skywire-visor/static/assets/img/flags/cd.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cd.png rename to cmd/skywire-visor/static/assets/img/flags/cd.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cf.png b/cmd/skywire-visor/static/assets/img/flags/cf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cf.png rename to cmd/skywire-visor/static/assets/img/flags/cf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cg.png b/cmd/skywire-visor/static/assets/img/flags/cg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cg.png rename to cmd/skywire-visor/static/assets/img/flags/cg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ch.png b/cmd/skywire-visor/static/assets/img/flags/ch.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ch.png rename to cmd/skywire-visor/static/assets/img/flags/ch.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ci.png b/cmd/skywire-visor/static/assets/img/flags/ci.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ci.png rename to cmd/skywire-visor/static/assets/img/flags/ci.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ck.png b/cmd/skywire-visor/static/assets/img/flags/ck.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ck.png rename to cmd/skywire-visor/static/assets/img/flags/ck.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cl.png b/cmd/skywire-visor/static/assets/img/flags/cl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cl.png rename to cmd/skywire-visor/static/assets/img/flags/cl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cm.png b/cmd/skywire-visor/static/assets/img/flags/cm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cm.png rename to cmd/skywire-visor/static/assets/img/flags/cm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cn.png b/cmd/skywire-visor/static/assets/img/flags/cn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cn.png rename to cmd/skywire-visor/static/assets/img/flags/cn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/co.png b/cmd/skywire-visor/static/assets/img/flags/co.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/co.png rename to cmd/skywire-visor/static/assets/img/flags/co.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cr.png b/cmd/skywire-visor/static/assets/img/flags/cr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cr.png rename to cmd/skywire-visor/static/assets/img/flags/cr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cs.png b/cmd/skywire-visor/static/assets/img/flags/cs.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cs.png rename to cmd/skywire-visor/static/assets/img/flags/cs.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cu.png b/cmd/skywire-visor/static/assets/img/flags/cu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cu.png rename to cmd/skywire-visor/static/assets/img/flags/cu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cv.png b/cmd/skywire-visor/static/assets/img/flags/cv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cv.png rename to cmd/skywire-visor/static/assets/img/flags/cv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cw.png b/cmd/skywire-visor/static/assets/img/flags/cw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cw.png rename to cmd/skywire-visor/static/assets/img/flags/cw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cx.png b/cmd/skywire-visor/static/assets/img/flags/cx.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cx.png rename to cmd/skywire-visor/static/assets/img/flags/cx.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cy.png b/cmd/skywire-visor/static/assets/img/flags/cy.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cy.png rename to cmd/skywire-visor/static/assets/img/flags/cy.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/cz.png b/cmd/skywire-visor/static/assets/img/flags/cz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/cz.png rename to cmd/skywire-visor/static/assets/img/flags/cz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/de.png b/cmd/skywire-visor/static/assets/img/flags/de.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/de.png rename to cmd/skywire-visor/static/assets/img/flags/de.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/dj.png b/cmd/skywire-visor/static/assets/img/flags/dj.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/dj.png rename to cmd/skywire-visor/static/assets/img/flags/dj.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/dk.png b/cmd/skywire-visor/static/assets/img/flags/dk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/dk.png rename to cmd/skywire-visor/static/assets/img/flags/dk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/dm.png b/cmd/skywire-visor/static/assets/img/flags/dm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/dm.png rename to cmd/skywire-visor/static/assets/img/flags/dm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/do.png b/cmd/skywire-visor/static/assets/img/flags/do.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/do.png rename to cmd/skywire-visor/static/assets/img/flags/do.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/dz.png b/cmd/skywire-visor/static/assets/img/flags/dz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/dz.png rename to cmd/skywire-visor/static/assets/img/flags/dz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ec.png b/cmd/skywire-visor/static/assets/img/flags/ec.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ec.png rename to cmd/skywire-visor/static/assets/img/flags/ec.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ee.png b/cmd/skywire-visor/static/assets/img/flags/ee.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ee.png rename to cmd/skywire-visor/static/assets/img/flags/ee.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/eg.png b/cmd/skywire-visor/static/assets/img/flags/eg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/eg.png rename to cmd/skywire-visor/static/assets/img/flags/eg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/eh.png b/cmd/skywire-visor/static/assets/img/flags/eh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/eh.png rename to cmd/skywire-visor/static/assets/img/flags/eh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/er.png b/cmd/skywire-visor/static/assets/img/flags/er.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/er.png rename to cmd/skywire-visor/static/assets/img/flags/er.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/es.png b/cmd/skywire-visor/static/assets/img/flags/es.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/es.png rename to cmd/skywire-visor/static/assets/img/flags/es.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/et.png b/cmd/skywire-visor/static/assets/img/flags/et.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/et.png rename to cmd/skywire-visor/static/assets/img/flags/et.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fam.png b/cmd/skywire-visor/static/assets/img/flags/fam.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fam.png rename to cmd/skywire-visor/static/assets/img/flags/fam.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fi.png b/cmd/skywire-visor/static/assets/img/flags/fi.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fi.png rename to cmd/skywire-visor/static/assets/img/flags/fi.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fj.png b/cmd/skywire-visor/static/assets/img/flags/fj.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fj.png rename to cmd/skywire-visor/static/assets/img/flags/fj.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fk.png b/cmd/skywire-visor/static/assets/img/flags/fk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fk.png rename to cmd/skywire-visor/static/assets/img/flags/fk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fm.png b/cmd/skywire-visor/static/assets/img/flags/fm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fm.png rename to cmd/skywire-visor/static/assets/img/flags/fm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fo.png b/cmd/skywire-visor/static/assets/img/flags/fo.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fo.png rename to cmd/skywire-visor/static/assets/img/flags/fo.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/fr.png b/cmd/skywire-visor/static/assets/img/flags/fr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/fr.png rename to cmd/skywire-visor/static/assets/img/flags/fr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ga.png b/cmd/skywire-visor/static/assets/img/flags/ga.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ga.png rename to cmd/skywire-visor/static/assets/img/flags/ga.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gb.png b/cmd/skywire-visor/static/assets/img/flags/gb.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gb.png rename to cmd/skywire-visor/static/assets/img/flags/gb.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gd.png b/cmd/skywire-visor/static/assets/img/flags/gd.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gd.png rename to cmd/skywire-visor/static/assets/img/flags/gd.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ge.png b/cmd/skywire-visor/static/assets/img/flags/ge.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ge.png rename to cmd/skywire-visor/static/assets/img/flags/ge.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gf.png b/cmd/skywire-visor/static/assets/img/flags/gf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gf.png rename to cmd/skywire-visor/static/assets/img/flags/gf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gg.png b/cmd/skywire-visor/static/assets/img/flags/gg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gg.png rename to cmd/skywire-visor/static/assets/img/flags/gg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gh.png b/cmd/skywire-visor/static/assets/img/flags/gh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gh.png rename to cmd/skywire-visor/static/assets/img/flags/gh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gi.png b/cmd/skywire-visor/static/assets/img/flags/gi.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gi.png rename to cmd/skywire-visor/static/assets/img/flags/gi.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gl.png b/cmd/skywire-visor/static/assets/img/flags/gl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gl.png rename to cmd/skywire-visor/static/assets/img/flags/gl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gm.png b/cmd/skywire-visor/static/assets/img/flags/gm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gm.png rename to cmd/skywire-visor/static/assets/img/flags/gm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gn.png b/cmd/skywire-visor/static/assets/img/flags/gn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gn.png rename to cmd/skywire-visor/static/assets/img/flags/gn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gp.png b/cmd/skywire-visor/static/assets/img/flags/gp.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gp.png rename to cmd/skywire-visor/static/assets/img/flags/gp.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gq.png b/cmd/skywire-visor/static/assets/img/flags/gq.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gq.png rename to cmd/skywire-visor/static/assets/img/flags/gq.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gr.png b/cmd/skywire-visor/static/assets/img/flags/gr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gr.png rename to cmd/skywire-visor/static/assets/img/flags/gr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gs.png b/cmd/skywire-visor/static/assets/img/flags/gs.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gs.png rename to cmd/skywire-visor/static/assets/img/flags/gs.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gt.png b/cmd/skywire-visor/static/assets/img/flags/gt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gt.png rename to cmd/skywire-visor/static/assets/img/flags/gt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gu.png b/cmd/skywire-visor/static/assets/img/flags/gu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gu.png rename to cmd/skywire-visor/static/assets/img/flags/gu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gw.png b/cmd/skywire-visor/static/assets/img/flags/gw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gw.png rename to cmd/skywire-visor/static/assets/img/flags/gw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/gy.png b/cmd/skywire-visor/static/assets/img/flags/gy.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/gy.png rename to cmd/skywire-visor/static/assets/img/flags/gy.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/hk.png b/cmd/skywire-visor/static/assets/img/flags/hk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/hk.png rename to cmd/skywire-visor/static/assets/img/flags/hk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/hm.png b/cmd/skywire-visor/static/assets/img/flags/hm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/hm.png rename to cmd/skywire-visor/static/assets/img/flags/hm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/hn.png b/cmd/skywire-visor/static/assets/img/flags/hn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/hn.png rename to cmd/skywire-visor/static/assets/img/flags/hn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/hr.png b/cmd/skywire-visor/static/assets/img/flags/hr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/hr.png rename to cmd/skywire-visor/static/assets/img/flags/hr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ht.png b/cmd/skywire-visor/static/assets/img/flags/ht.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ht.png rename to cmd/skywire-visor/static/assets/img/flags/ht.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/hu.png b/cmd/skywire-visor/static/assets/img/flags/hu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/hu.png rename to cmd/skywire-visor/static/assets/img/flags/hu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/id.png b/cmd/skywire-visor/static/assets/img/flags/id.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/id.png rename to cmd/skywire-visor/static/assets/img/flags/id.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ie.png b/cmd/skywire-visor/static/assets/img/flags/ie.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ie.png rename to cmd/skywire-visor/static/assets/img/flags/ie.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/il.png b/cmd/skywire-visor/static/assets/img/flags/il.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/il.png rename to cmd/skywire-visor/static/assets/img/flags/il.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/im.png b/cmd/skywire-visor/static/assets/img/flags/im.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/im.png rename to cmd/skywire-visor/static/assets/img/flags/im.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/in.png b/cmd/skywire-visor/static/assets/img/flags/in.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/in.png rename to cmd/skywire-visor/static/assets/img/flags/in.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/io.png b/cmd/skywire-visor/static/assets/img/flags/io.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/io.png rename to cmd/skywire-visor/static/assets/img/flags/io.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/iq.png b/cmd/skywire-visor/static/assets/img/flags/iq.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/iq.png rename to cmd/skywire-visor/static/assets/img/flags/iq.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ir.png b/cmd/skywire-visor/static/assets/img/flags/ir.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ir.png rename to cmd/skywire-visor/static/assets/img/flags/ir.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/is.png b/cmd/skywire-visor/static/assets/img/flags/is.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/is.png rename to cmd/skywire-visor/static/assets/img/flags/is.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/it.png b/cmd/skywire-visor/static/assets/img/flags/it.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/it.png rename to cmd/skywire-visor/static/assets/img/flags/it.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/je.png b/cmd/skywire-visor/static/assets/img/flags/je.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/je.png rename to cmd/skywire-visor/static/assets/img/flags/je.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/jm.png b/cmd/skywire-visor/static/assets/img/flags/jm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/jm.png rename to cmd/skywire-visor/static/assets/img/flags/jm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/jo.png b/cmd/skywire-visor/static/assets/img/flags/jo.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/jo.png rename to cmd/skywire-visor/static/assets/img/flags/jo.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/jp.png b/cmd/skywire-visor/static/assets/img/flags/jp.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/jp.png rename to cmd/skywire-visor/static/assets/img/flags/jp.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ke.png b/cmd/skywire-visor/static/assets/img/flags/ke.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ke.png rename to cmd/skywire-visor/static/assets/img/flags/ke.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kg.png b/cmd/skywire-visor/static/assets/img/flags/kg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kg.png rename to cmd/skywire-visor/static/assets/img/flags/kg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kh.png b/cmd/skywire-visor/static/assets/img/flags/kh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kh.png rename to cmd/skywire-visor/static/assets/img/flags/kh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ki.png b/cmd/skywire-visor/static/assets/img/flags/ki.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ki.png rename to cmd/skywire-visor/static/assets/img/flags/ki.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/km.png b/cmd/skywire-visor/static/assets/img/flags/km.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/km.png rename to cmd/skywire-visor/static/assets/img/flags/km.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kn.png b/cmd/skywire-visor/static/assets/img/flags/kn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kn.png rename to cmd/skywire-visor/static/assets/img/flags/kn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kp.png b/cmd/skywire-visor/static/assets/img/flags/kp.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kp.png rename to cmd/skywire-visor/static/assets/img/flags/kp.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kr.png b/cmd/skywire-visor/static/assets/img/flags/kr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kr.png rename to cmd/skywire-visor/static/assets/img/flags/kr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kw.png b/cmd/skywire-visor/static/assets/img/flags/kw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kw.png rename to cmd/skywire-visor/static/assets/img/flags/kw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ky.png b/cmd/skywire-visor/static/assets/img/flags/ky.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ky.png rename to cmd/skywire-visor/static/assets/img/flags/ky.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/kz.png b/cmd/skywire-visor/static/assets/img/flags/kz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/kz.png rename to cmd/skywire-visor/static/assets/img/flags/kz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/la.png b/cmd/skywire-visor/static/assets/img/flags/la.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/la.png rename to cmd/skywire-visor/static/assets/img/flags/la.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lb.png b/cmd/skywire-visor/static/assets/img/flags/lb.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lb.png rename to cmd/skywire-visor/static/assets/img/flags/lb.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lc.png b/cmd/skywire-visor/static/assets/img/flags/lc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lc.png rename to cmd/skywire-visor/static/assets/img/flags/lc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/li.png b/cmd/skywire-visor/static/assets/img/flags/li.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/li.png rename to cmd/skywire-visor/static/assets/img/flags/li.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lk.png b/cmd/skywire-visor/static/assets/img/flags/lk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lk.png rename to cmd/skywire-visor/static/assets/img/flags/lk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lr.png b/cmd/skywire-visor/static/assets/img/flags/lr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lr.png rename to cmd/skywire-visor/static/assets/img/flags/lr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ls.png b/cmd/skywire-visor/static/assets/img/flags/ls.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ls.png rename to cmd/skywire-visor/static/assets/img/flags/ls.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lt.png b/cmd/skywire-visor/static/assets/img/flags/lt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lt.png rename to cmd/skywire-visor/static/assets/img/flags/lt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lu.png b/cmd/skywire-visor/static/assets/img/flags/lu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lu.png rename to cmd/skywire-visor/static/assets/img/flags/lu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/lv.png b/cmd/skywire-visor/static/assets/img/flags/lv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/lv.png rename to cmd/skywire-visor/static/assets/img/flags/lv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ly.png b/cmd/skywire-visor/static/assets/img/flags/ly.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ly.png rename to cmd/skywire-visor/static/assets/img/flags/ly.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ma.png b/cmd/skywire-visor/static/assets/img/flags/ma.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ma.png rename to cmd/skywire-visor/static/assets/img/flags/ma.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mc.png b/cmd/skywire-visor/static/assets/img/flags/mc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mc.png rename to cmd/skywire-visor/static/assets/img/flags/mc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/md.png b/cmd/skywire-visor/static/assets/img/flags/md.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/md.png rename to cmd/skywire-visor/static/assets/img/flags/md.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/me.png b/cmd/skywire-visor/static/assets/img/flags/me.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/me.png rename to cmd/skywire-visor/static/assets/img/flags/me.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mf.png b/cmd/skywire-visor/static/assets/img/flags/mf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mf.png rename to cmd/skywire-visor/static/assets/img/flags/mf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mg.png b/cmd/skywire-visor/static/assets/img/flags/mg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mg.png rename to cmd/skywire-visor/static/assets/img/flags/mg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mh.png b/cmd/skywire-visor/static/assets/img/flags/mh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mh.png rename to cmd/skywire-visor/static/assets/img/flags/mh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mk.png b/cmd/skywire-visor/static/assets/img/flags/mk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mk.png rename to cmd/skywire-visor/static/assets/img/flags/mk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ml.png b/cmd/skywire-visor/static/assets/img/flags/ml.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ml.png rename to cmd/skywire-visor/static/assets/img/flags/ml.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mm.png b/cmd/skywire-visor/static/assets/img/flags/mm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mm.png rename to cmd/skywire-visor/static/assets/img/flags/mm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mn.png b/cmd/skywire-visor/static/assets/img/flags/mn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mn.png rename to cmd/skywire-visor/static/assets/img/flags/mn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mo.png b/cmd/skywire-visor/static/assets/img/flags/mo.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mo.png rename to cmd/skywire-visor/static/assets/img/flags/mo.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mp.png b/cmd/skywire-visor/static/assets/img/flags/mp.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mp.png rename to cmd/skywire-visor/static/assets/img/flags/mp.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mq.png b/cmd/skywire-visor/static/assets/img/flags/mq.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mq.png rename to cmd/skywire-visor/static/assets/img/flags/mq.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mr.png b/cmd/skywire-visor/static/assets/img/flags/mr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mr.png rename to cmd/skywire-visor/static/assets/img/flags/mr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ms.png b/cmd/skywire-visor/static/assets/img/flags/ms.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ms.png rename to cmd/skywire-visor/static/assets/img/flags/ms.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mt.png b/cmd/skywire-visor/static/assets/img/flags/mt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mt.png rename to cmd/skywire-visor/static/assets/img/flags/mt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mu.png b/cmd/skywire-visor/static/assets/img/flags/mu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mu.png rename to cmd/skywire-visor/static/assets/img/flags/mu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mv.png b/cmd/skywire-visor/static/assets/img/flags/mv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mv.png rename to cmd/skywire-visor/static/assets/img/flags/mv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mw.png b/cmd/skywire-visor/static/assets/img/flags/mw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mw.png rename to cmd/skywire-visor/static/assets/img/flags/mw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mx.png b/cmd/skywire-visor/static/assets/img/flags/mx.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mx.png rename to cmd/skywire-visor/static/assets/img/flags/mx.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/my.png b/cmd/skywire-visor/static/assets/img/flags/my.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/my.png rename to cmd/skywire-visor/static/assets/img/flags/my.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/mz.png b/cmd/skywire-visor/static/assets/img/flags/mz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/mz.png rename to cmd/skywire-visor/static/assets/img/flags/mz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/na.png b/cmd/skywire-visor/static/assets/img/flags/na.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/na.png rename to cmd/skywire-visor/static/assets/img/flags/na.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nc.png b/cmd/skywire-visor/static/assets/img/flags/nc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nc.png rename to cmd/skywire-visor/static/assets/img/flags/nc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ne.png b/cmd/skywire-visor/static/assets/img/flags/ne.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ne.png rename to cmd/skywire-visor/static/assets/img/flags/ne.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nf.png b/cmd/skywire-visor/static/assets/img/flags/nf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nf.png rename to cmd/skywire-visor/static/assets/img/flags/nf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ng.png b/cmd/skywire-visor/static/assets/img/flags/ng.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ng.png rename to cmd/skywire-visor/static/assets/img/flags/ng.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ni.png b/cmd/skywire-visor/static/assets/img/flags/ni.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ni.png rename to cmd/skywire-visor/static/assets/img/flags/ni.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nl.png b/cmd/skywire-visor/static/assets/img/flags/nl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nl.png rename to cmd/skywire-visor/static/assets/img/flags/nl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/no.png b/cmd/skywire-visor/static/assets/img/flags/no.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/no.png rename to cmd/skywire-visor/static/assets/img/flags/no.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/np.png b/cmd/skywire-visor/static/assets/img/flags/np.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/np.png rename to cmd/skywire-visor/static/assets/img/flags/np.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nr.png b/cmd/skywire-visor/static/assets/img/flags/nr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nr.png rename to cmd/skywire-visor/static/assets/img/flags/nr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nu.png b/cmd/skywire-visor/static/assets/img/flags/nu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nu.png rename to cmd/skywire-visor/static/assets/img/flags/nu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/nz.png b/cmd/skywire-visor/static/assets/img/flags/nz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/nz.png rename to cmd/skywire-visor/static/assets/img/flags/nz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/om.png b/cmd/skywire-visor/static/assets/img/flags/om.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/om.png rename to cmd/skywire-visor/static/assets/img/flags/om.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pa.png b/cmd/skywire-visor/static/assets/img/flags/pa.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pa.png rename to cmd/skywire-visor/static/assets/img/flags/pa.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pe.png b/cmd/skywire-visor/static/assets/img/flags/pe.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pe.png rename to cmd/skywire-visor/static/assets/img/flags/pe.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pf.png b/cmd/skywire-visor/static/assets/img/flags/pf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pf.png rename to cmd/skywire-visor/static/assets/img/flags/pf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pg.png b/cmd/skywire-visor/static/assets/img/flags/pg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pg.png rename to cmd/skywire-visor/static/assets/img/flags/pg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ph.png b/cmd/skywire-visor/static/assets/img/flags/ph.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ph.png rename to cmd/skywire-visor/static/assets/img/flags/ph.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pk.png b/cmd/skywire-visor/static/assets/img/flags/pk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pk.png rename to cmd/skywire-visor/static/assets/img/flags/pk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pl.png b/cmd/skywire-visor/static/assets/img/flags/pl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pl.png rename to cmd/skywire-visor/static/assets/img/flags/pl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pm.png b/cmd/skywire-visor/static/assets/img/flags/pm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pm.png rename to cmd/skywire-visor/static/assets/img/flags/pm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pn.png b/cmd/skywire-visor/static/assets/img/flags/pn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pn.png rename to cmd/skywire-visor/static/assets/img/flags/pn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pr.png b/cmd/skywire-visor/static/assets/img/flags/pr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pr.png rename to cmd/skywire-visor/static/assets/img/flags/pr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ps.png b/cmd/skywire-visor/static/assets/img/flags/ps.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ps.png rename to cmd/skywire-visor/static/assets/img/flags/ps.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pt.png b/cmd/skywire-visor/static/assets/img/flags/pt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pt.png rename to cmd/skywire-visor/static/assets/img/flags/pt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/pw.png b/cmd/skywire-visor/static/assets/img/flags/pw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/pw.png rename to cmd/skywire-visor/static/assets/img/flags/pw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/py.png b/cmd/skywire-visor/static/assets/img/flags/py.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/py.png rename to cmd/skywire-visor/static/assets/img/flags/py.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/qa.png b/cmd/skywire-visor/static/assets/img/flags/qa.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/qa.png rename to cmd/skywire-visor/static/assets/img/flags/qa.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/re.png b/cmd/skywire-visor/static/assets/img/flags/re.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/re.png rename to cmd/skywire-visor/static/assets/img/flags/re.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ro.png b/cmd/skywire-visor/static/assets/img/flags/ro.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ro.png rename to cmd/skywire-visor/static/assets/img/flags/ro.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/rs.png b/cmd/skywire-visor/static/assets/img/flags/rs.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/rs.png rename to cmd/skywire-visor/static/assets/img/flags/rs.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ru.png b/cmd/skywire-visor/static/assets/img/flags/ru.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ru.png rename to cmd/skywire-visor/static/assets/img/flags/ru.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/rw.png b/cmd/skywire-visor/static/assets/img/flags/rw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/rw.png rename to cmd/skywire-visor/static/assets/img/flags/rw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sa.png b/cmd/skywire-visor/static/assets/img/flags/sa.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sa.png rename to cmd/skywire-visor/static/assets/img/flags/sa.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sb.png b/cmd/skywire-visor/static/assets/img/flags/sb.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sb.png rename to cmd/skywire-visor/static/assets/img/flags/sb.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sc.png b/cmd/skywire-visor/static/assets/img/flags/sc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sc.png rename to cmd/skywire-visor/static/assets/img/flags/sc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sd.png b/cmd/skywire-visor/static/assets/img/flags/sd.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sd.png rename to cmd/skywire-visor/static/assets/img/flags/sd.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/se.png b/cmd/skywire-visor/static/assets/img/flags/se.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/se.png rename to cmd/skywire-visor/static/assets/img/flags/se.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sg.png b/cmd/skywire-visor/static/assets/img/flags/sg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sg.png rename to cmd/skywire-visor/static/assets/img/flags/sg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sh.png b/cmd/skywire-visor/static/assets/img/flags/sh.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sh.png rename to cmd/skywire-visor/static/assets/img/flags/sh.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/si.png b/cmd/skywire-visor/static/assets/img/flags/si.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/si.png rename to cmd/skywire-visor/static/assets/img/flags/si.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sj.png b/cmd/skywire-visor/static/assets/img/flags/sj.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sj.png rename to cmd/skywire-visor/static/assets/img/flags/sj.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sk.png b/cmd/skywire-visor/static/assets/img/flags/sk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sk.png rename to cmd/skywire-visor/static/assets/img/flags/sk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sl.png b/cmd/skywire-visor/static/assets/img/flags/sl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sl.png rename to cmd/skywire-visor/static/assets/img/flags/sl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sm.png b/cmd/skywire-visor/static/assets/img/flags/sm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sm.png rename to cmd/skywire-visor/static/assets/img/flags/sm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sn.png b/cmd/skywire-visor/static/assets/img/flags/sn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sn.png rename to cmd/skywire-visor/static/assets/img/flags/sn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/so.png b/cmd/skywire-visor/static/assets/img/flags/so.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/so.png rename to cmd/skywire-visor/static/assets/img/flags/so.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sr.png b/cmd/skywire-visor/static/assets/img/flags/sr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sr.png rename to cmd/skywire-visor/static/assets/img/flags/sr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ss.png b/cmd/skywire-visor/static/assets/img/flags/ss.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ss.png rename to cmd/skywire-visor/static/assets/img/flags/ss.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/st.png b/cmd/skywire-visor/static/assets/img/flags/st.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/st.png rename to cmd/skywire-visor/static/assets/img/flags/st.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sv.png b/cmd/skywire-visor/static/assets/img/flags/sv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sv.png rename to cmd/skywire-visor/static/assets/img/flags/sv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sx.png b/cmd/skywire-visor/static/assets/img/flags/sx.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sx.png rename to cmd/skywire-visor/static/assets/img/flags/sx.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sy.png b/cmd/skywire-visor/static/assets/img/flags/sy.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sy.png rename to cmd/skywire-visor/static/assets/img/flags/sy.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/sz.png b/cmd/skywire-visor/static/assets/img/flags/sz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/sz.png rename to cmd/skywire-visor/static/assets/img/flags/sz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tc.png b/cmd/skywire-visor/static/assets/img/flags/tc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tc.png rename to cmd/skywire-visor/static/assets/img/flags/tc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/td.png b/cmd/skywire-visor/static/assets/img/flags/td.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/td.png rename to cmd/skywire-visor/static/assets/img/flags/td.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tf.png b/cmd/skywire-visor/static/assets/img/flags/tf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tf.png rename to cmd/skywire-visor/static/assets/img/flags/tf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tg.png b/cmd/skywire-visor/static/assets/img/flags/tg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tg.png rename to cmd/skywire-visor/static/assets/img/flags/tg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/th.png b/cmd/skywire-visor/static/assets/img/flags/th.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/th.png rename to cmd/skywire-visor/static/assets/img/flags/th.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tj.png b/cmd/skywire-visor/static/assets/img/flags/tj.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tj.png rename to cmd/skywire-visor/static/assets/img/flags/tj.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tk.png b/cmd/skywire-visor/static/assets/img/flags/tk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tk.png rename to cmd/skywire-visor/static/assets/img/flags/tk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tl.png b/cmd/skywire-visor/static/assets/img/flags/tl.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tl.png rename to cmd/skywire-visor/static/assets/img/flags/tl.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tm.png b/cmd/skywire-visor/static/assets/img/flags/tm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tm.png rename to cmd/skywire-visor/static/assets/img/flags/tm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tn.png b/cmd/skywire-visor/static/assets/img/flags/tn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tn.png rename to cmd/skywire-visor/static/assets/img/flags/tn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/to.png b/cmd/skywire-visor/static/assets/img/flags/to.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/to.png rename to cmd/skywire-visor/static/assets/img/flags/to.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tr.png b/cmd/skywire-visor/static/assets/img/flags/tr.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tr.png rename to cmd/skywire-visor/static/assets/img/flags/tr.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tt.png b/cmd/skywire-visor/static/assets/img/flags/tt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tt.png rename to cmd/skywire-visor/static/assets/img/flags/tt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tv.png b/cmd/skywire-visor/static/assets/img/flags/tv.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tv.png rename to cmd/skywire-visor/static/assets/img/flags/tv.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tw.png b/cmd/skywire-visor/static/assets/img/flags/tw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tw.png rename to cmd/skywire-visor/static/assets/img/flags/tw.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/tz.png b/cmd/skywire-visor/static/assets/img/flags/tz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/tz.png rename to cmd/skywire-visor/static/assets/img/flags/tz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ua.png b/cmd/skywire-visor/static/assets/img/flags/ua.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ua.png rename to cmd/skywire-visor/static/assets/img/flags/ua.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ug.png b/cmd/skywire-visor/static/assets/img/flags/ug.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ug.png rename to cmd/skywire-visor/static/assets/img/flags/ug.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/um.png b/cmd/skywire-visor/static/assets/img/flags/um.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/um.png rename to cmd/skywire-visor/static/assets/img/flags/um.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/unknown.png b/cmd/skywire-visor/static/assets/img/flags/unknown.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/unknown.png rename to cmd/skywire-visor/static/assets/img/flags/unknown.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/us.png b/cmd/skywire-visor/static/assets/img/flags/us.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/us.png rename to cmd/skywire-visor/static/assets/img/flags/us.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/uy.png b/cmd/skywire-visor/static/assets/img/flags/uy.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/uy.png rename to cmd/skywire-visor/static/assets/img/flags/uy.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/uz.png b/cmd/skywire-visor/static/assets/img/flags/uz.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/uz.png rename to cmd/skywire-visor/static/assets/img/flags/uz.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/va.png b/cmd/skywire-visor/static/assets/img/flags/va.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/va.png rename to cmd/skywire-visor/static/assets/img/flags/va.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/vc.png b/cmd/skywire-visor/static/assets/img/flags/vc.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/vc.png rename to cmd/skywire-visor/static/assets/img/flags/vc.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ve.png b/cmd/skywire-visor/static/assets/img/flags/ve.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ve.png rename to cmd/skywire-visor/static/assets/img/flags/ve.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/vg.png b/cmd/skywire-visor/static/assets/img/flags/vg.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/vg.png rename to cmd/skywire-visor/static/assets/img/flags/vg.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/vi.png b/cmd/skywire-visor/static/assets/img/flags/vi.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/vi.png rename to cmd/skywire-visor/static/assets/img/flags/vi.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/vn.png b/cmd/skywire-visor/static/assets/img/flags/vn.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/vn.png rename to cmd/skywire-visor/static/assets/img/flags/vn.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/vu.png b/cmd/skywire-visor/static/assets/img/flags/vu.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/vu.png rename to cmd/skywire-visor/static/assets/img/flags/vu.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/wf.png b/cmd/skywire-visor/static/assets/img/flags/wf.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/wf.png rename to cmd/skywire-visor/static/assets/img/flags/wf.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ws.png b/cmd/skywire-visor/static/assets/img/flags/ws.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ws.png rename to cmd/skywire-visor/static/assets/img/flags/ws.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/xk.png b/cmd/skywire-visor/static/assets/img/flags/xk.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/xk.png rename to cmd/skywire-visor/static/assets/img/flags/xk.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/ye.png b/cmd/skywire-visor/static/assets/img/flags/ye.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/ye.png rename to cmd/skywire-visor/static/assets/img/flags/ye.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/yt.png b/cmd/skywire-visor/static/assets/img/flags/yt.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/yt.png rename to cmd/skywire-visor/static/assets/img/flags/yt.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/za.png b/cmd/skywire-visor/static/assets/img/flags/za.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/za.png rename to cmd/skywire-visor/static/assets/img/flags/za.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/zm.png b/cmd/skywire-visor/static/assets/img/flags/zm.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/zm.png rename to cmd/skywire-visor/static/assets/img/flags/zm.png diff --git a/static/skywire-manager-src/dist/assets/img/flags/zw.png b/cmd/skywire-visor/static/assets/img/flags/zw.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/flags/zw.png rename to cmd/skywire-visor/static/assets/img/flags/zw.png diff --git a/cmd/skywire-visor/static/assets/img/gold-rating.png b/cmd/skywire-visor/static/assets/img/gold-rating.png new file mode 100644 index 000000000..59c43cd71 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/gold-rating.png differ diff --git a/static/skywire-manager-src/dist/assets/img/lang/de.png b/cmd/skywire-visor/static/assets/img/lang/de.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/lang/de.png rename to cmd/skywire-visor/static/assets/img/lang/de.png diff --git a/static/skywire-manager-src/dist/assets/img/lang/en.png b/cmd/skywire-visor/static/assets/img/lang/en.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/lang/en.png rename to cmd/skywire-visor/static/assets/img/lang/en.png diff --git a/static/skywire-manager-src/dist/assets/img/lang/es.png b/cmd/skywire-visor/static/assets/img/lang/es.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/lang/es.png rename to cmd/skywire-visor/static/assets/img/lang/es.png diff --git a/cmd/skywire-visor/static/assets/img/lang/pt.png b/cmd/skywire-visor/static/assets/img/lang/pt.png new file mode 100644 index 000000000..fef9c359d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/lang/pt.png differ diff --git a/static/skywire-manager-src/dist/assets/img/logo-s.png b/cmd/skywire-visor/static/assets/img/logo-s.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/logo-s.png rename to cmd/skywire-visor/static/assets/img/logo-s.png diff --git a/static/skywire-manager-src/dist/assets/img/logo-v.png b/cmd/skywire-visor/static/assets/img/logo-v.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/logo-v.png rename to cmd/skywire-visor/static/assets/img/logo-v.png diff --git a/cmd/skywire-visor/static/assets/img/logo-vpn.png b/cmd/skywire-visor/static/assets/img/logo-vpn.png new file mode 100644 index 000000000..9ed9c33ba Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/logo-vpn.png differ diff --git a/cmd/skywire-visor/static/assets/img/map.png b/cmd/skywire-visor/static/assets/img/map.png new file mode 100644 index 000000000..1218ddbc9 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/map.png differ diff --git a/static/skywire-manager-src/dist/assets/img/modal-background-pattern.png b/cmd/skywire-visor/static/assets/img/modal-background-pattern.png similarity index 100% rename from static/skywire-manager-src/dist/assets/img/modal-background-pattern.png rename to cmd/skywire-visor/static/assets/img/modal-background-pattern.png diff --git a/cmd/skywire-visor/static/assets/img/silver-rating.png b/cmd/skywire-visor/static/assets/img/silver-rating.png new file mode 100644 index 000000000..89a0a368f Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/silver-rating.png differ diff --git a/cmd/skywire-visor/static/assets/img/size-alert.png b/cmd/skywire-visor/static/assets/img/size-alert.png new file mode 100644 index 000000000..49b639c0d Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/size-alert.png differ diff --git a/cmd/skywire-visor/static/assets/img/start-button.png b/cmd/skywire-visor/static/assets/img/start-button.png new file mode 100644 index 000000000..066cdb704 Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/start-button.png differ diff --git a/static/skywire-manager-src/dist/assets/scripts/terminal.js b/cmd/skywire-visor/static/assets/scripts/terminal.js similarity index 100% rename from static/skywire-manager-src/dist/assets/scripts/terminal.js rename to cmd/skywire-visor/static/assets/scripts/terminal.js diff --git a/static/skywire-manager-src/dist/assets/scss/_backgrounds.scss b/cmd/skywire-visor/static/assets/scss/_backgrounds.scss similarity index 90% rename from static/skywire-manager-src/dist/assets/scss/_backgrounds.scss rename to cmd/skywire-visor/static/assets/scss/_backgrounds.scss index d824c249f..037b03457 100644 --- a/static/skywire-manager-src/dist/assets/scss/_backgrounds.scss +++ b/cmd/skywire-visor/static/assets/scss/_backgrounds.scss @@ -7,6 +7,7 @@ position: fixed; background: linear-gradient($blue-dark-Background1, $blue-dark-Background2) no-repeat fixed !important; box-shadow: inset 0 0 200px 0 rgba(96, 141, 205, 0.25); + z-index: -1; } .no-gradient-for-elevated-box { @@ -24,11 +25,11 @@ @extend .elevated-box; border-radius: $mat-dialog-radius; overflow: hidden; - padding: 3px; + padding: $internal-blue-box-margin; .box-internal-container { border-radius: $mat-dialog-radius; - padding: $containers-padding - 3px; + padding: $containers-padding - $internal-blue-box-margin; border: scale-color($box-border, $alpha: -65%) solid 1px; overflow: hidden; } diff --git a/static/skywire-manager-src/dist/assets/scss/_bootstrap_overrides.scss b/cmd/skywire-visor/static/assets/scss/_bootstrap_overrides.scss similarity index 100% rename from static/skywire-manager-src/dist/assets/scss/_bootstrap_overrides.scss rename to cmd/skywire-visor/static/assets/scss/_bootstrap_overrides.scss diff --git a/static/skywire-manager-src/dist/assets/scss/_dialogs.scss b/cmd/skywire-visor/static/assets/scss/_dialogs.scss similarity index 100% rename from static/skywire-manager-src/dist/assets/scss/_dialogs.scss rename to cmd/skywire-visor/static/assets/scss/_dialogs.scss diff --git a/cmd/skywire-visor/static/assets/scss/_fonts.scss b/cmd/skywire-visor/static/assets/scss/_fonts.scss new file mode 100644 index 000000000..b31829338 --- /dev/null +++ b/cmd/skywire-visor/static/assets/scss/_fonts.scss @@ -0,0 +1,25 @@ +@import "assets/fonts/material-icons/material-icons.css"; + +@font-face { + font-family: 'Skycoin'; + font-style: normal; + font-weight: 300; + src: url('/assets/fonts/skycoin/skycoin-light-webfont.woff2') format('woff2'), + url('/assets/fonts/skycoin/skycoin-light-webfont.woff') format('woff'); +} + +@font-face { + font-family: 'Skycoin'; + font-style: normal; + font-weight: 400; + src: url('/assets/fonts/skycoin/skycoin-regular-webfont.woff2') format('woff2'), + url('/assets/fonts/skycoin/skycoin-regular-webfont.woff') format('woff'); +} + +@font-face { + font-family: 'Skycoin'; + font-style: normal; + font-weight: 700; + src: url('/assets/fonts/skycoin/skycoin-bold-webfont.woff2') format('woff2'), + url('/assets/fonts/skycoin/skycoin-bold-webfont.woff') format('woff'); +} diff --git a/static/skywire-manager-src/dist/assets/scss/_forms.scss b/cmd/skywire-visor/static/assets/scss/_forms.scss similarity index 100% rename from static/skywire-manager-src/dist/assets/scss/_forms.scss rename to cmd/skywire-visor/static/assets/scss/_forms.scss diff --git a/static/skywire-manager-src/dist/assets/scss/_icons.scss b/cmd/skywire-visor/static/assets/scss/_icons.scss similarity index 92% rename from static/skywire-manager-src/dist/assets/scss/_icons.scss rename to cmd/skywire-visor/static/assets/scss/_icons.scss index 42dfa3245..b1d824aae 100644 --- a/static/skywire-manager-src/dist/assets/scss/_icons.scss +++ b/cmd/skywire-visor/static/assets/scss/_icons.scss @@ -10,7 +10,7 @@ $dot-size-sm: 7px; @each $color-name, $color-value in $dot-icons { - .dot-#{$color-name} + .dot-#{"" + $color-name} { height: $dot-size; width: $dot-size; @@ -34,7 +34,7 @@ $outlines: ( @each $color-name, $color-value in $outlines { - .dot-outline-#{$color-name} + .dot-outline-#{"" + $color-name} { height: $dot-size; width: $dot-size; diff --git a/static/skywire-manager-src/dist/assets/scss/_menu.scss b/cmd/skywire-visor/static/assets/scss/_menu.scss similarity index 100% rename from static/skywire-manager-src/dist/assets/scss/_menu.scss rename to cmd/skywire-visor/static/assets/scss/_menu.scss diff --git a/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss b/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss similarity index 96% rename from static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss rename to cmd/skywire-visor/static/assets/scss/_responsive_tables.scss index c6f944fd2..cf382edad 100644 --- a/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss +++ b/cmd/skywire-visor/static/assets/scss/_responsive_tables.scss @@ -1,7 +1,7 @@ // Backgrounds for the tables used in the app. $responsive-table-colors: ( // Background, background:hover, font color - translucid: (transparent, theme-color(translucid-hover), theme-color(white)), + translucid: (transparent, theme-color(translucid-hover), theme-color(white), theme-color(translucid-hover-hard)), ); // Create styles for the tables. One per background color. @@ -78,7 +78,13 @@ $responsive-table-colors: ( &:hover { - background: nth($colors, 2) !important; + background: nth($colors, 2); + } + } + + .click-effect { + &:active { + background: nth($colors, 4) !important; } } diff --git a/static/skywire-manager-src/dist/assets/scss/_text.scss b/cmd/skywire-visor/static/assets/scss/_text.scss similarity index 72% rename from static/skywire-manager-src/dist/assets/scss/_text.scss rename to cmd/skywire-visor/static/assets/scss/_text.scss index 8e653f146..fe2c883c0 100644 --- a/static/skywire-manager-src/dist/assets/scss/_text.scss +++ b/cmd/skywire-visor/static/assets/scss/_text.scss @@ -26,10 +26,26 @@ span { color: $green; } +.green-clear-text { + color: $green-clear; +} + .yellow-text { color: $yellow; } +.yellow-clear-text { + color: $yellow-clear; +} + .red-text { color: $red; } + +.red-clear-text { + color: $red-clear; +} + +.grey-text { + color: $light-gray !important; +} diff --git a/static/skywire-manager-src/dist/assets/scss/_variables.scss b/cmd/skywire-visor/static/assets/scss/_variables.scss similarity index 70% rename from static/skywire-manager-src/dist/assets/scss/_variables.scss rename to cmd/skywire-visor/static/assets/scss/_variables.scss index 5b13f3b8d..3b8235031 100644 --- a/static/skywire-manager-src/dist/assets/scss/_variables.scss +++ b/cmd/skywire-visor/static/assets/scss/_variables.scss @@ -4,6 +4,7 @@ $white: #F8F9F9; $black: #202226; +$grey: #bbbbbb; $blue-medium: #215f9e; $blue-dark: #154B6C; @@ -11,11 +12,17 @@ $blue-dark-Background1: #060a10; $blue-dark-Background2: #0a1421; $red: #DA3439; +$red-clear: #ff393f; $green: #2ECC54; +$green-clear: #84c826; $yellow: #d48b05; +$yellow-clear: #ffa500; $light-gray: #777; $lighter-gray: #999; +$dark-background: rgba(0, 0, 0, 0.7); +$clear-background: #3d67a226; + $modal-background: #e0e5ec; $modal-separator: scale-color($blue-medium, $alpha: -80%); @@ -24,12 +31,13 @@ $separator: rgba(255, 255, 255, 0.15); $grey-separator: rgba(0, 0, 0, 0.12); $theme-colors: ( - green: $green, - red: $red, - yellow: $yellow, - translucid-hover: rgba(0, 0, 0, 0.2), - white: $white, - light-gray: $light-gray + green: $green, + red: $red, + yellow: $yellow, + translucid-hover: rgba(0, 0, 0, 0.2), + translucid-hover-hard: rgba(0, 0, 0, 0.4), + white: $white, + light-gray: $light-gray ); // @@ -42,6 +50,7 @@ $font-size-sm: ($font-size-base * .875); $font-size-smaller: ($font-size-base * .8); $font-size-mini: ($font-size-base * .70); $font-size-mini-plus: ($font-size-base * .60); +$font-size-vpn-list: 12px; $font-weight-light: lighter; $font-weight-bold: 700; @@ -62,6 +71,7 @@ $mat-dialog-radius: 10px; // Container // $containers-padding: 15px; +$internal-blue-box-margin: 3px; // // Sizes diff --git a/cmd/skywire-visor/static/assets/scss/_vpn_client.scss b/cmd/skywire-visor/static/assets/scss/_vpn_client.scss new file mode 100644 index 000000000..8c2e991bb --- /dev/null +++ b/cmd/skywire-visor/static/assets/scss/_vpn_client.scss @@ -0,0 +1,23 @@ +.vpn-small-button { + cursor: pointer; + user-select: none; + + &:active { + transform: scale(0.9); + } +} + +.vpn-dark-box-radius { + border-radius: 10px; +} + +.vpn-table-container { + text-align: center; + + .width-limiter { + width: inherit; + max-width: 1250px; + display: inline-block; + text-align: initial; + } +} diff --git a/static/skywire-manager-src/dist/assets/scss/utilities/_utilities.scss b/cmd/skywire-visor/static/assets/scss/utilities/_utilities.scss similarity index 100% rename from static/skywire-manager-src/dist/assets/scss/utilities/_utilities.scss rename to cmd/skywire-visor/static/assets/scss/utilities/_utilities.scss diff --git a/static/skywire-manager-src/dist/favicon.ico b/cmd/skywire-visor/static/favicon.ico similarity index 100% rename from static/skywire-manager-src/dist/favicon.ico rename to cmd/skywire-visor/static/favicon.ico diff --git a/cmd/skywire-visor/static/index.html b/cmd/skywire-visor/static/index.html new file mode 100644 index 000000000..6621f83a1 --- /dev/null +++ b/cmd/skywire-visor/static/index.html @@ -0,0 +1,14 @@ + + + Skywire + + + + + + +
      + + + + \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.be499562f20d430be414.js b/cmd/skywire-visor/static/main.be499562f20d430be414.js new file mode 100644 index 000000000..0aa4d71ba --- /dev/null +++ b/cmd/skywire-visor/static/main.be499562f20d430be414.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{98255:function(ge){function ke(B){return Promise.resolve().then(function(){var x=new Error("Cannot find module '"+B+"'");throw x.code="MODULE_NOT_FOUND",x})}ke.keys=function(){return[]},ke.resolve=ke,ke.id=98255,ge.exports=ke},61287:function(ge,ke,B){var x;!function(w){"use strict";var E,_=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,f=Math.ceil,c=Math.floor,k="[BigNumber Error] ",h=k+"Number primitive has more than 15 significant digits: ",P=1e14,S=14,O=9007199254740991,L=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],C=1e7,R=1e9;function W(Z){var re=0|Z;return Z>0||Z===re?re:re-1}function G(Z){for(var re,se,ue=1,ee=Z.length,Ee=Z[0]+"";ueJe^se?1:-1;for(Fe=(Be=ee.length)<(Je=Ee.length)?Be:Je,Pe=0;PeEe[Pe]^se?1:-1;return Be==Je?0:Be>Je^se?1:-1}function fe(Z,re,se,ue){if(Zse||Z!==(Z<0?f(Z):c(Z)))throw Error(k+(ue||"Argument")+("number"==typeof Z?Zse?" out of range: ":" not an integer: ":" not a primitive number: ")+Z)}function te(Z){return"[object Array]"==Object.prototype.toString.call(Z)}function Q(Z){var re=Z.c.length-1;return W(Z.e/S)==re&&Z.c[re]%2!=0}function ce(Z,re){return(Z.length>1?Z.charAt(0)+"."+Z.slice(1):Z)+(re<0?"e":"e+")+re}function ne(Z,re,se){var ue,ee;if(re<0){for(ee=se+".";++re;ee+=se);Z=ee+Z}else if(++re>(ue=Z.length)){for(ee=se,re-=ue;--re;ee+=se);Z+=ee}else re=10;Me/=10,me++);return xe.e=me,void(xe.c=[j])}Le=j+""}else{if(!_.test(Le=j+""))return ue(xe,Le,be);xe.s=45==Le.charCodeAt(0)?(Le=Le.slice(1),-1):1}(me=Le.indexOf("."))>-1&&(Le=Le.replace(".","")),(Me=Le.search(/e/i))>0?(me<0&&(me=Me),me+=+Le.slice(Me+1),Le=Le.substring(0,Me)):me<0&&(me=Le.length)}else{if(fe(ie,2,vn.length,"Base"),Le=j+"",10==ie)return Hn(xe=new Ue(j instanceof Ue?j:Le),Pe+xe.e+1,Fe);if(be="number"==typeof j){if(0*j!=0)return ue(xe,Le,be,ie);if(xe.s=1/j<0?(Le=Le.slice(1),-1):1,Ue.DEBUG&&Le.replace(/^0\.0*|\./,"").length>15)throw Error(h+j);be=!1}else xe.s=45===Le.charCodeAt(0)?(Le=Le.slice(1),-1):1;for(oe=vn.slice(0,ie),me=Me=0,De=Le.length;Meme){me=De;continue}}else if(!ve&&(Le==Le.toUpperCase()&&(Le=Le.toLowerCase())||Le==Le.toLowerCase()&&(Le=Le.toUpperCase()))){ve=!0,Me=-1,me=0;continue}return ue(xe,j+"",be,ie)}(me=(Le=se(Le,ie,10,xe.s)).indexOf("."))>-1?Le=Le.replace(".",""):me=Le.length}for(Me=0;48===Le.charCodeAt(Me);Me++);for(De=Le.length;48===Le.charCodeAt(--De););if(Le=Le.slice(Me,++De)){if(De-=Me,be&&Ue.DEBUG&&De>15&&(j>O||j!==c(j)))throw Error(h+xe.s*j);if((me=me-Me-1)>He)xe.c=xe.e=null;else if(mebe){if(--ie>0)for(De+=".";ie--;De+="0");}else if((ie+=me-be)>0)for(me+1==be&&(De+=".");ie--;De+="0");return j.s<0&&ve?"-"+De:De}function St(j,ie){var oe,de,ve=0;for(te(j[0])&&(j=j[0]),oe=new Ue(j[0]);++ve=10;ve/=10,de++);return(oe=de+oe*S-1)>He?j.c=j.e=null:oe=10;be/=10,ve++);if((me=ie-ve)<0)me+=S,xe=(De=Ie[Le=0])/ct[ve-(Me=ie)-1]%10|0;else if((Le=f((me+1)/S))>=Ie.length){if(!de)break e;for(;Ie.length<=Le;Ie.push(0));De=xe=0,ve=1,Me=(me%=S)-S+1}else{for(De=be=Ie[Le],ve=1;be>=10;be/=10,ve++);xe=(Me=(me%=S)-S+ve)<0?0:De/ct[ve-Me-1]%10|0}if(de=de||ie<0||null!=Ie[Le+1]||(Me<0?De:De%ct[ve-Me-1]),de=oe<4?(xe||de)&&(0==oe||oe==(j.s<0?3:2)):xe>5||5==xe&&(4==oe||de||6==oe&&(me>0?Me>0?De/ct[ve-Me]:0:Ie[Le-1])%10&1||oe==(j.s<0?8:7)),ie<1||!Ie[0])return Ie.length=0,de?(Ie[0]=ct[(S-(ie-=j.e+1)%S)%S],j.e=-ie||0):Ie[0]=j.e=0,j;if(0==me?(Ie.length=Le,be=1,Le--):(Ie.length=Le+1,be=ct[S-me],Ie[Le]=Me>0?c(De/ct[ve-Me]%ct[Me])*be:0),de)for(;;){if(0==Le){for(me=1,Me=Ie[0];Me>=10;Me/=10,me++);for(Me=Ie[0]+=be,be=1;Me>=10;Me/=10,be++);me!=be&&(j.e++,Ie[0]==P&&(Ie[0]=1));break}if(Ie[Le]+=be,Ie[Le]!=P)break;Ie[Le--]=0,be=1}for(me=Ie.length;0===Ie[--me];Ie.pop());}j.e>He?j.c=j.e=null:j.e>>11))>=9e15?(ve=crypto.getRandomValues(new Uint32Array(2)),de[De]=ve[0],de[De+1]=ve[1]):(Le.push(be%1e14),De+=2);De=Me/2}else{if(!crypto.randomBytes)throw lt=!1,Error(k+"crypto unavailable");for(de=crypto.randomBytes(Me*=7);De=9e15?crypto.randomBytes(7).copy(de,De):(Le.push(be%1e14),De+=7);De=Me/7}if(!lt)for(;De=10;be/=10,De++);Deve-1&&(null==be[Me+1]&&(be[Me+1]=0),be[Me+1]+=be[Me]/ve|0,be[Me]%=ve)}return be.reverse()}return function(oe,de,ve,me,Me){var be,De,Le,xe,Ie,ct,ft,rt,gn=oe.indexOf("."),In=Pe,Rt=Fe;for(gn>=0&&(xe=jt,jt=0,oe=oe.replace(".",""),ct=(rt=new Ue(de)).pow(oe.length-gn),jt=xe,rt.c=ie(ne(G(ct.c),ct.e,"0"),10,ve,j),rt.e=rt.c.length),Le=xe=(ft=ie(oe,de,ve,Me?(be=vn,j):(be=j,vn))).length;0==ft[--xe];ft.pop());if(!ft[0])return be.charAt(0);if(gn<0?--Le:(ct.c=ft,ct.e=Le,ct.s=me,ft=(ct=re(ct,rt,In,Rt,ve)).c,Ie=ct.r,Le=ct.e),gn=ft[De=Le+In+1],xe=ve/2,Ie=Ie||De<0||null!=ft[De+1],Ie=Rt<4?(null!=gn||Ie)&&(0==Rt||Rt==(ct.s<0?3:2)):gn>xe||gn==xe&&(4==Rt||Ie||6==Rt&&1&ft[De-1]||Rt==(ct.s<0?8:7)),De<1||!ft[0])oe=Ie?ne(be.charAt(1),-In,be.charAt(0)):be.charAt(0);else{if(ft.length=De,Ie)for(--ve;++ft[--De]>ve;)ft[De]=0,De||(++Le,ft=[1].concat(ft));for(xe=ft.length;!ft[--xe];);for(gn=0,oe="";gn<=xe;oe+=be.charAt(ft[gn++]));oe=ne(oe,Le,be.charAt(0))}return oe}}(),re=function(){function j(de,ve,me){var Me,be,De,Le,xe=0,Ie=de.length,ct=ve%C,ft=ve/C|0;for(de=de.slice();Ie--;)xe=((be=ct*(De=de[Ie]%C)+(Me=ft*De+(Le=de[Ie]/C|0)*ct)%C*C+xe)/me|0)+(Me/C|0)+ft*Le,de[Ie]=be%me;return xe&&(de=[xe].concat(de)),de}function ie(de,ve,me,Me){var be,De;if(me!=Me)De=me>Me?1:-1;else for(be=De=0;beve[be]?1:-1;break}return De}function oe(de,ve,me,Me){for(var be=0;me--;)de[me]-=be,de[me]=(be=de[me]1;de.splice(0,1));}return function(de,ve,me,Me,be){var De,Le,xe,Ie,ct,ft,rt,gn,In,Rt,Ut,Kn,Vn,ya,Ui,yr,qt,An=de.s==ve.s?1:-1,_n=de.c,$e=ve.c;if(!(_n&&_n[0]&&$e&&$e[0]))return new Ue(de.s&&ve.s&&(_n?!$e||_n[0]!=$e[0]:$e)?_n&&0==_n[0]||!$e?0*An:An/0:NaN);for(In=(gn=new Ue(An)).c=[],An=me+(Le=de.e-ve.e)+1,be||(be=P,Le=W(de.e/S)-W(ve.e/S),An=An/S|0),xe=0;$e[xe]==(_n[xe]||0);xe++);if($e[xe]>(_n[xe]||0)&&Le--,An<0)In.push(1),Ie=!0;else{for(ya=_n.length,yr=$e.length,xe=0,An+=2,(ct=c(be/($e[0]+1)))>1&&($e=j($e,ct,be),_n=j(_n,ct,be),yr=$e.length,ya=_n.length),Vn=yr,Ut=(Rt=_n.slice(0,yr)).length;Ut=be/2&&Ui++;do{if(ct=0,(De=ie($e,Rt,yr,Ut))<0){if(Kn=Rt[0],yr!=Ut&&(Kn=Kn*be+(Rt[1]||0)),(ct=c(Kn/Ui))>1)for(ct>=be&&(ct=be-1),rt=(ft=j($e,ct,be)).length,Ut=Rt.length;1==ie(ft,Rt,rt,Ut);)ct--,oe(ft,yr=10;An/=10,xe++);Hn(gn,me+(gn.e=xe+Le*S-1)+1,Me,Ie)}else gn.e=Le,gn.r=+Ie;return gn}}(),ue=function(){var j=/^(-?)0([xbo])(?=\w[\w.]*$)/i,ie=/^([^.]+)\.$/,oe=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,ve=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(me,Me,be,De){var Le,xe=be?Me:Me.replace(ve,"");if(de.test(xe))me.s=isNaN(xe)?null:xe<0?-1:1,me.c=me.e=null;else{if(!be&&(xe=xe.replace(j,function(Ie,ct,ft){return Le="x"==(ft=ft.toLowerCase())?16:"b"==ft?2:8,De&&De!=Le?Ie:ct}),De&&(Le=De,xe=xe.replace(ie,"$1").replace(oe,"0.$1")),Me!=xe))return new Ue(xe,Le);if(Ue.DEBUG)throw Error(k+"Not a"+(De?" base "+De:"")+" number: "+Me);me.c=me.e=me.s=null}}}(),ee.absoluteValue=ee.abs=function(){var j=new Ue(this);return j.s<0&&(j.s=1),j},ee.comparedTo=function(j,ie){return ae(this,new Ue(j,ie))},ee.decimalPlaces=ee.dp=function(j,ie){var oe,de,ve;if(null!=j)return fe(j,0,R),null==ie?ie=Fe:fe(ie,0,8),Hn(new Ue(this),j+this.e+1,ie);if(!(oe=this.c))return null;if(de=((ve=oe.length-1)-W(this.e/S))*S,ve=oe[ve])for(;ve%10==0;ve/=10,de--);return de<0&&(de=0),de},ee.dividedBy=ee.div=function(j,ie){return re(this,new Ue(j,ie),Pe,Fe)},ee.dividedToIntegerBy=ee.idiv=function(j,ie){return re(this,new Ue(j,ie),0,1)},ee.exponentiatedBy=ee.pow=function(j,ie){var oe,de,ve,Me,be,De,Le,xe=this;if((j=new Ue(j)).c&&!j.isInteger())throw Error(k+"Exponent not an integer: "+j);if(null!=ie&&(ie=new Ue(ie)),Me=j.e>14,!xe.c||!xe.c[0]||1==xe.c[0]&&!xe.e&&1==xe.c.length||!j.c||!j.c[0])return Le=new Ue(Math.pow(+xe.valueOf(),Me?2-Q(j):+j)),ie?Le.mod(ie):Le;if(be=j.s<0,ie){if(ie.c?!ie.c[0]:!ie.s)return new Ue(NaN);(de=!be&&xe.isInteger()&&ie.isInteger())&&(xe=xe.mod(ie))}else{if(j.e>9&&(xe.e>0||xe.e<-1||(0==xe.e?xe.c[0]>1||Me&&xe.c[1]>=24e7:xe.c[0]<8e13||Me&&xe.c[0]<=9999975e7)))return ve=xe.s<0&&Q(j)?-0:0,xe.e>-1&&(ve=1/ve),new Ue(be?1/ve:ve);jt&&(ve=f(jt/S+2))}for(Me?(oe=new Ue(.5),De=Q(j)):De=j%2,be&&(j.s=1),Le=new Ue(Ee);;){if(De){if(!(Le=Le.times(xe)).c)break;ve?Le.c.length>ve&&(Le.c.length=ve):de&&(Le=Le.mod(ie))}if(Me){if(Hn(j=j.times(oe),j.e+1,1),!j.c[0])break;Me=j.e>14,De=Q(j)}else{if(!(j=c(j/2)))break;De=j%2}xe=xe.times(xe),ve?xe.c&&xe.c.length>ve&&(xe.c.length=ve):de&&(xe=xe.mod(ie))}return de?Le:(be&&(Le=Ee.div(Le)),ie?Le.mod(ie):ve?Hn(Le,jt,Fe,void 0):Le)},ee.integerValue=function(j){var ie=new Ue(this);return null==j?j=Fe:fe(j,0,8),Hn(ie,ie.e+1,j)},ee.isEqualTo=ee.eq=function(j,ie){return 0===ae(this,new Ue(j,ie))},ee.isFinite=function(){return!!this.c},ee.isGreaterThan=ee.gt=function(j,ie){return ae(this,new Ue(j,ie))>0},ee.isGreaterThanOrEqualTo=ee.gte=function(j,ie){return 1===(ie=ae(this,new Ue(j,ie)))||0===ie},ee.isInteger=function(){return!!this.c&&W(this.e/S)>this.c.length-2},ee.isLessThan=ee.lt=function(j,ie){return ae(this,new Ue(j,ie))<0},ee.isLessThanOrEqualTo=ee.lte=function(j,ie){return-1===(ie=ae(this,new Ue(j,ie)))||0===ie},ee.isNaN=function(){return!this.s},ee.isNegative=function(){return this.s<0},ee.isPositive=function(){return this.s>0},ee.isZero=function(){return!!this.c&&0==this.c[0]},ee.minus=function(j,ie){var oe,de,ve,me,Me=this,be=Me.s;if(ie=(j=new Ue(j,ie)).s,!be||!ie)return new Ue(NaN);if(be!=ie)return j.s=-ie,Me.plus(j);var De=Me.e/S,Le=j.e/S,xe=Me.c,Ie=j.c;if(!De||!Le){if(!xe||!Ie)return xe?(j.s=-ie,j):new Ue(Ie?Me:NaN);if(!xe[0]||!Ie[0])return Ie[0]?(j.s=-ie,j):new Ue(xe[0]?Me:3==Fe?-0:0)}if(De=W(De),Le=W(Le),xe=xe.slice(),be=De-Le){for((me=be<0)?(be=-be,ve=xe):(Le=De,ve=Ie),ve.reverse(),ie=be;ie--;ve.push(0));ve.reverse()}else for(de=(me=(be=xe.length)<(ie=Ie.length))?be:ie,be=ie=0;ie0)for(;ie--;xe[oe++]=0);for(ie=P-1;de>be;){if(xe[--de]=0;){for(oe=0,ct=Kn[ve]%In,ft=Kn[ve]/In|0,me=ve+(Me=De);me>ve;)oe=((Le=ct*(Le=Ut[--Me]%In)+(be=ft*Le+(xe=Ut[Me]/In|0)*ct)%In*In+rt[me]+oe)/gn|0)+(be/In|0)+ft*xe,rt[me--]=Le%gn;rt[me]=oe}return oe?++de:rt.splice(0,1),Sr(j,rt,de)},ee.negated=function(){var j=new Ue(this);return j.s=-j.s||null,j},ee.plus=function(j,ie){var oe,de=this,ve=de.s;if(ie=(j=new Ue(j,ie)).s,!ve||!ie)return new Ue(NaN);if(ve!=ie)return j.s=-ie,de.minus(j);var me=de.e/S,Me=j.e/S,be=de.c,De=j.c;if(!me||!Me){if(!be||!De)return new Ue(ve/0);if(!be[0]||!De[0])return De[0]?j:new Ue(be[0]?de:0*ve)}if(me=W(me),Me=W(Me),be=be.slice(),ve=me-Me){for(ve>0?(Me=me,oe=De):(ve=-ve,oe=be),oe.reverse();ve--;oe.push(0));oe.reverse()}for((ve=be.length)-(ie=De.length)<0&&(oe=De,De=be,be=oe,ie=ve),ve=0;ie;)ve=(be[--ie]=be[ie]+De[ie]+ve)/P|0,be[ie]=P===be[ie]?0:be[ie]%P;return ve&&(be=[ve].concat(be),++Me),Sr(j,be,Me)},ee.precision=ee.sd=function(j,ie){var oe,de,ve;if(null!=j&&j!==!!j)return fe(j,1,R),null==ie?ie=Fe:fe(ie,0,8),Hn(new Ue(this),j,ie);if(!(oe=this.c))return null;if(de=(ve=oe.length-1)*S+1,ve=oe[ve]){for(;ve%10==0;ve/=10,de--);for(ve=oe[0];ve>=10;ve/=10,de++);}return j&&this.e+1>de&&(de=this.e+1),de},ee.shiftedBy=function(j){return fe(j,-O,O),this.times("1e"+j)},ee.squareRoot=ee.sqrt=function(){var j,ie,oe,de,ve,me=this,Me=me.c,be=me.s,De=me.e,Le=Pe+4,xe=new Ue("0.5");if(1!==be||!Me||!Me[0])return new Ue(!be||be<0&&(!Me||Me[0])?NaN:Me?me:1/0);if(0==(be=Math.sqrt(+me))||be==1/0?(((ie=G(Me)).length+De)%2==0&&(ie+="0"),be=Math.sqrt(ie),De=W((De+1)/2)-(De<0||De%2),oe=new Ue(ie=be==1/0?"1e"+De:(ie=be.toExponential()).slice(0,ie.indexOf("e")+1)+De)):oe=new Ue(be+""),oe.c[0])for((be=(De=oe.e)+Le)<3&&(be=0);;)if(oe=xe.times((ve=oe).plus(re(me,ve,Le,1))),G(ve.c).slice(0,be)===(ie=G(oe.c)).slice(0,be)){if(oe.e0&&ct>0){for(De=Ie.substr(0,de=ct%me||me);de0&&(De+=be+Ie.slice(de)),xe&&(De="-"+De)}oe=Le?De+an.decimalSeparator+((Me=+an.fractionGroupSize)?Le.replace(new RegExp("\\d{"+Me+"}\\B","g"),"$&"+an.fractionGroupSeparator):Le):De}return oe},ee.toFraction=function(j){var ie,oe,de,ve,me,Me,be,De,Le,xe,Ie,ct,ft=this,rt=ft.c;if(null!=j&&(!(De=new Ue(j)).isInteger()&&(De.c||1!==De.s)||De.lt(Ee)))throw Error(k+"Argument "+(De.isInteger()?"out of range: ":"not an integer: ")+j);if(!rt)return ft.toString();for(oe=new Ue(Ee),xe=de=new Ue(Ee),ve=Le=new Ue(Ee),ct=G(rt),Me=oe.e=ct.length-ft.e-1,oe.c[0]=L[(be=Me%S)<0?S+be:be],j=!j||De.comparedTo(oe)>0?Me>0?oe:xe:De,be=He,He=1/0,De=new Ue(ct),Le.c[0]=0;Ie=re(De,oe,0,1),1!=(me=de.plus(Ie.times(ve))).comparedTo(j);)de=ve,ve=me,xe=Le.plus(Ie.times(me=xe)),Le=me,oe=De.minus(Ie.times(me=oe)),De=me;return me=re(j.minus(de),ve,0,1),Le=Le.plus(me.times(xe)),de=de.plus(me.times(ve)),Le.s=xe.s=ft.s,ie=re(xe,ve,Me*=2,Fe).minus(ft).abs().comparedTo(re(Le,de,Me,Fe).minus(ft).abs())<1?[xe.toString(),ve.toString()]:[Le.toString(),de.toString()],He=be,ie},ee.toNumber=function(){return+this},ee.toPrecision=function(j,ie){return null!=j&&fe(j,1,R),_r(this,j,ie,2)},ee.toString=function(j){var ie,de=this.s,ve=this.e;return null===ve?de?(ie="Infinity",de<0&&(ie="-"+ie)):ie="NaN":(ie=G(this.c),null==j?ie=ve<=Be||ve>=Je?ce(ie,ve):ne(ie,ve,"0"):(fe(j,2,vn.length,"Base"),ie=se(ne(ie,ve,"0"),10,j,de,!0)),de<0&&this.c[0]&&(ie="-"+ie)),ie},ee.valueOf=ee.toJSON=function(){var j,oe=this.e;return null===oe?this.toString():(j=G(this.c),j=oe<=Be||oe>=Je?ce(j,oe):ne(j,oe,"0"),this.s<0?"-"+j:j)},ee._isBigNumber=!0,null!=Z&&Ue.set(Z),Ue}()).default=E.BigNumber=E,void 0!==(x=function(){return E}.call(ke,B,ke,ge))&&(ge.exports=x)}()},55494:function(ge,ke,B){var x=B(47753)();x.helpers=B(74060),B(14583)(x),x.defaults=B(46566),x.Element=B(33399),x.elements=B(82561),x.Interaction=B(5781),x.layouts=B(71382),x.platform=B(28341),x.plugins=B(8598),x.Ticks=B(64941),B(78723)(x),B(88034)(x),B(46155)(x),B(72737)(x),B(82462)(x),B(42267)(x),B(47705)(x),B(98978)(x),B(4620)(x),B(6341)(x),B(16467)(x),B(38669)(x),B(35009)(x),B(13048)(x),B(39871)(x),B(99983)(x),B(61358)(x),B(41088)(x),B(11396)(x),B(74234)(x),B(52329)(x),B(11234)(x),B(18261)(x),B(83303)(x),B(94632)(x),B(76775)(x);var w=B(76657);for(var E in w)w.hasOwnProperty(E)&&x.plugins.register(w[E]);x.platform.initialize(),ge.exports=x,"undefined"!=typeof window&&(window.Chart=x),x.Legend=w.legend._element,x.Title=w.title._element,x.pluginService=x.plugins,x.PluginBase=x.Element.extend({}),x.canvasHelpers=x.helpers.canvas,x.layoutService=x.layouts},74234:function(ge){"use strict";ge.exports=function(ke){ke.Bar=function(B,x){return x.type="bar",new ke(B,x)}}},52329:function(ge){"use strict";ge.exports=function(ke){ke.Bubble=function(B,x){return x.type="bubble",new ke(B,x)}}},11234:function(ge){"use strict";ge.exports=function(ke){ke.Doughnut=function(B,x){return x.type="doughnut",new ke(B,x)}}},18261:function(ge){"use strict";ge.exports=function(ke){ke.Line=function(B,x){return x.type="line",new ke(B,x)}}},83303:function(ge){"use strict";ge.exports=function(ke){ke.PolarArea=function(B,x){return x.type="polarArea",new ke(B,x)}}},94632:function(ge){"use strict";ge.exports=function(ke){ke.Radar=function(B,x){return x.type="radar",new ke(B,x)}}},76775:function(ge){"use strict";ge.exports=function(ke){ke.Scatter=function(B,x){return x.type="scatter",new ke(B,x)}}},35009:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),E=B(74060);x._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),x._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(h,P){var S="";return h.length>0&&(h[0].yLabel?S=h[0].yLabel:P.labels.length>0&&h[0].index0?Math.min(P,L-O):P,O=L;return P}(S,W):-1,pixels:W,start:R,end:Y,stackCount:O,scale:S}},calculateBarValuePixels:function(P,S){var te,Q,ce,ne,Z,re,O=this,L=O.chart,C=O.getMeta(),R=O.getValueScale(),Y=L.data.datasets,W=R.getRightValue(Y[P].data[S]),G=R.options.stacked,ae=C.stack,fe=0;if(G||void 0===G&&void 0!==ae)for(te=0;te=0&&ce>0)&&(fe+=ce));return ne=R.getPixelForValue(fe),{size:re=((Z=R.getPixelForValue(fe+W))-ne)/2,base:ne,head:Z,center:Z+re/2}},calculateBarIndexPixels:function(P,S,O){var C=O.scale.options,R="flex"===C.barThickness?function(k,h,P){var S=h.pixels,O=S[k],L=k>0?S[k-1]:null,C=k');var k=f.data,h=k.datasets,P=k.labels;if(h.length)for(var S=0;S'),P[S]&&c.push(P[S]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(f){var c=f.data;return c.labels.length&&c.datasets.length?c.labels.map(function(k,h){var P=f.getDatasetMeta(0),S=c.datasets[0],O=P.data[h],L=O&&O.custom||{},C=E.valueAtIndexOrDefault,R=f.options.elements.arc;return{text:k,fillStyle:L.backgroundColor?L.backgroundColor:C(S.backgroundColor,h,R.backgroundColor),strokeStyle:L.borderColor?L.borderColor:C(S.borderColor,h,R.borderColor),lineWidth:L.borderWidth?L.borderWidth:C(S.borderWidth,h,R.borderWidth),hidden:isNaN(S.data[h])||P.data[h].hidden,index:h}}):[]}},onClick:function(f,c){var P,S,O,k=c.index,h=this.chart;for(P=0,S=(h.data.datasets||[]).length;P=Math.PI?-1:fe<-Math.PI?1:0))+ae,Q={x:Math.cos(fe),y:Math.sin(fe)},ce={x:Math.cos(te),y:Math.sin(te)},ne=fe<=0&&te>=0||fe<=2*Math.PI&&2*Math.PI<=te,Z=fe<=.5*Math.PI&&.5*Math.PI<=te||fe<=2.5*Math.PI&&2.5*Math.PI<=te,re=fe<=-Math.PI&&-Math.PI<=te||fe<=Math.PI&&Math.PI<=te,se=fe<=.5*-Math.PI&&.5*-Math.PI<=te||fe<=1.5*Math.PI&&1.5*Math.PI<=te,ue=G/100,ee={x:re?-1:Math.min(Q.x*(Q.x<0?1:ue),ce.x*(ce.x<0?1:ue)),y:se?-1:Math.min(Q.y*(Q.y<0?1:ue),ce.y*(ce.y<0?1:ue))},Ee={x:ne?1:Math.max(Q.x*(Q.x>0?1:ue),ce.x*(ce.x>0?1:ue)),y:Z?1:Math.max(Q.y*(Q.y>0?1:ue),ce.y*(ce.y>0?1:ue))},Pe={width:.5*(Ee.x-ee.x),height:.5*(Ee.y-ee.y)};R=Math.min(L/Pe.width,C/Pe.height),Y={x:-.5*(Ee.x+ee.x),y:-.5*(Ee.y+ee.y)}}h.borderWidth=k.getMaxBorderWidth(W.data),h.outerRadius=Math.max((R-h.borderWidth)/2,0),h.innerRadius=Math.max(G?h.outerRadius/100*G:0,0),h.radiusLength=(h.outerRadius-h.innerRadius)/h.getVisibleDatasetCount(),h.offsetX=Y.x*h.outerRadius,h.offsetY=Y.y*h.outerRadius,W.total=k.calculateTotal(),k.outerRadius=h.outerRadius-h.radiusLength*k.getRingIndex(k.index),k.innerRadius=Math.max(k.outerRadius-h.radiusLength,0),E.each(W.data,function(Fe,Be){k.updateElement(Fe,Be,c)})},updateElement:function(c,k,h){var P=this,S=P.chart,O=S.chartArea,L=S.options,C=L.animation,R=(O.left+O.right)/2,Y=(O.top+O.bottom)/2,W=L.rotation,G=L.rotation,ae=P.getDataset(),fe=h&&C.animateRotate||c.hidden?0:P.calculateCircumference(ae.data[k])*(L.circumference/(2*Math.PI));E.extend(c,{_datasetIndex:P.index,_index:k,_model:{x:R+S.offsetX,y:Y+S.offsetY,startAngle:W,endAngle:G,circumference:fe,outerRadius:h&&C.animateScale?0:P.outerRadius,innerRadius:h&&C.animateScale?0:P.innerRadius,label:(0,E.valueAtIndexOrDefault)(ae.label,k,S.data.labels[k])}});var ne=c._model;this.removeHoverStyle(c),(!h||!C.animateRotate)&&(ne.startAngle=0===k?L.rotation:P.getMeta().data[k-1]._model.endAngle,ne.endAngle=ne.startAngle+ne.circumference),c.pivot()},removeHoverStyle:function(c){_.DatasetController.prototype.removeHoverStyle.call(this,c,this.chart.options.elements.arc)},calculateTotal:function(){var P,c=this.getDataset(),k=this.getMeta(),h=0;return E.each(k.data,function(S,O){P=c.data[O],!isNaN(P)&&!S.hidden&&(h+=Math.abs(P))}),h},calculateCircumference:function(c){var k=this.getMeta().total;return k>0&&!isNaN(c)?2*Math.PI*(Math.abs(c)/k):0},getMaxBorderWidth:function(c){for(var S,O,k=0,h=this.index,P=c.length,L=0;L(k=(S=c[L]._model?c[L]._model.borderWidth:0)>k?S:k)?O:k;return k}})}},99983:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),E=B(74060);x._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),ge.exports=function(_){function f(c,k){return E.valueOrDefault(c.showLine,k.showLines)}_.controllers.line=_.DatasetController.extend({datasetElementType:w.Line,dataElementType:w.Point,update:function(k){var Y,W,G,h=this,P=h.getMeta(),S=P.dataset,O=P.data||[],L=h.chart.options,C=L.elements.line,R=h.getScaleForId(P.yAxisID),ae=h.getDataset(),fe=f(ae,L);for(fe&&(G=S.custom||{},void 0!==ae.tension&&void 0===ae.lineTension&&(ae.lineTension=ae.tension),S._scale=R,S._datasetIndex=h.index,S._children=O,S._model={spanGaps:ae.spanGaps?ae.spanGaps:L.spanGaps,tension:G.tension?G.tension:E.valueOrDefault(ae.lineTension,C.tension),backgroundColor:G.backgroundColor?G.backgroundColor:ae.backgroundColor||C.backgroundColor,borderWidth:G.borderWidth?G.borderWidth:ae.borderWidth||C.borderWidth,borderColor:G.borderColor?G.borderColor:ae.borderColor||C.borderColor,borderCapStyle:G.borderCapStyle?G.borderCapStyle:ae.borderCapStyle||C.borderCapStyle,borderDash:G.borderDash?G.borderDash:ae.borderDash||C.borderDash,borderDashOffset:G.borderDashOffset?G.borderDashOffset:ae.borderDashOffset||C.borderDashOffset,borderJoinStyle:G.borderJoinStyle?G.borderJoinStyle:ae.borderJoinStyle||C.borderJoinStyle,fill:G.fill?G.fill:void 0!==ae.fill?ae.fill:C.fill,steppedLine:G.steppedLine?G.steppedLine:E.valueOrDefault(ae.steppedLine,C.stepped),cubicInterpolationMode:G.cubicInterpolationMode?G.cubicInterpolationMode:E.valueOrDefault(ae.cubicInterpolationMode,C.cubicInterpolationMode)},S.pivot()),Y=0,W=O.length;Y');var k=f.data,h=k.datasets,P=k.labels;if(h.length)for(var S=0;S'),P[S]&&c.push(P[S]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(f){var c=f.data;return c.labels.length&&c.datasets.length?c.labels.map(function(k,h){var P=f.getDatasetMeta(0),S=c.datasets[0],L=P.data[h].custom||{},C=E.valueAtIndexOrDefault,R=f.options.elements.arc;return{text:k,fillStyle:L.backgroundColor?L.backgroundColor:C(S.backgroundColor,h,R.backgroundColor),strokeStyle:L.borderColor?L.borderColor:C(S.borderColor,h,R.borderColor),lineWidth:L.borderWidth?L.borderWidth:C(S.borderWidth,h,R.borderWidth),hidden:isNaN(S.data[h])||P.data[h].hidden,index:h}}):[]}},onClick:function(f,c){var P,S,O,k=c.index,h=this.chart;for(P=0,S=(h.data.datasets||[]).length;P0&&!isNaN(c)?2*Math.PI/k:0}})}},41088:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),E=B(74060);x._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),ge.exports=function(_){_.controllers.radar=_.DatasetController.extend({datasetElementType:w.Line,dataElementType:w.Point,linkScales:E.noop,update:function(c){var k=this,h=k.getMeta(),S=h.data,O=h.dataset.custom||{},L=k.getDataset(),C=k.chart.options.elements.line,R=k.chart.scale;void 0!==L.tension&&void 0===L.lineTension&&(L.lineTension=L.tension),E.extend(h.dataset,{_datasetIndex:k.index,_scale:R,_children:S,_loop:!0,_model:{tension:O.tension?O.tension:E.valueOrDefault(L.lineTension,C.tension),backgroundColor:O.backgroundColor?O.backgroundColor:L.backgroundColor||C.backgroundColor,borderWidth:O.borderWidth?O.borderWidth:L.borderWidth||C.borderWidth,borderColor:O.borderColor?O.borderColor:L.borderColor||C.borderColor,fill:O.fill?O.fill:void 0!==L.fill?L.fill:C.fill,borderCapStyle:O.borderCapStyle?O.borderCapStyle:L.borderCapStyle||C.borderCapStyle,borderDash:O.borderDash?O.borderDash:L.borderDash||C.borderDash,borderDashOffset:O.borderDashOffset?O.borderDashOffset:L.borderDashOffset||C.borderDashOffset,borderJoinStyle:O.borderJoinStyle?O.borderJoinStyle:L.borderJoinStyle||C.borderJoinStyle}}),h.dataset.pivot(),E.each(S,function(Y,W){k.updateElement(Y,W,c)},k),k.updateBezierControlPoints()},updateElement:function(c,k,h){var P=this,S=c.custom||{},O=P.getDataset(),L=P.chart.scale,C=P.chart.options.elements.point,R=L.getPointPositionForValue(k,O.data[k]);void 0!==O.radius&&void 0===O.pointRadius&&(O.pointRadius=O.radius),void 0!==O.hitRadius&&void 0===O.pointHitRadius&&(O.pointHitRadius=O.hitRadius),E.extend(c,{_datasetIndex:P.index,_index:k,_scale:L,_model:{x:h?L.xCenter:R.x,y:h?L.yCenter:R.y,tension:S.tension?S.tension:E.valueOrDefault(O.lineTension,P.chart.options.elements.line.tension),radius:S.radius?S.radius:E.valueAtIndexOrDefault(O.pointRadius,k,C.radius),backgroundColor:S.backgroundColor?S.backgroundColor:E.valueAtIndexOrDefault(O.pointBackgroundColor,k,C.backgroundColor),borderColor:S.borderColor?S.borderColor:E.valueAtIndexOrDefault(O.pointBorderColor,k,C.borderColor),borderWidth:S.borderWidth?S.borderWidth:E.valueAtIndexOrDefault(O.pointBorderWidth,k,C.borderWidth),pointStyle:S.pointStyle?S.pointStyle:E.valueAtIndexOrDefault(O.pointStyle,k,C.pointStyle),hitRadius:S.hitRadius?S.hitRadius:E.valueAtIndexOrDefault(O.pointHitRadius,k,C.hitRadius)}}),c._model.skip=S.skip?S.skip:isNaN(c._model.x)||isNaN(c._model.y)},updateBezierControlPoints:function(){var c=this.chart.chartArea,k=this.getMeta();E.each(k.data,function(h,P){var S=h._model,O=E.splineCurve(E.previousItem(k.data,P,!0)._model,S,E.nextItem(k.data,P,!0)._model,S.tension);S.controlPointPreviousX=Math.max(Math.min(O.previous.x,c.right),c.left),S.controlPointPreviousY=Math.max(Math.min(O.previous.y,c.bottom),c.top),S.controlPointNextX=Math.max(Math.min(O.next.x,c.right),c.left),S.controlPointNextY=Math.max(Math.min(O.next.y,c.bottom),c.top),h.pivot()})},setHoverStyle:function(c){var k=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},P=c._index,S=c._model;S.radius=h.hoverRadius?h.hoverRadius:E.valueAtIndexOrDefault(k.pointHoverRadius,P,this.chart.options.elements.point.hoverRadius),S.backgroundColor=h.hoverBackgroundColor?h.hoverBackgroundColor:E.valueAtIndexOrDefault(k.pointHoverBackgroundColor,P,E.getHoverColor(S.backgroundColor)),S.borderColor=h.hoverBorderColor?h.hoverBorderColor:E.valueAtIndexOrDefault(k.pointHoverBorderColor,P,E.getHoverColor(S.borderColor)),S.borderWidth=h.hoverBorderWidth?h.hoverBorderWidth:E.valueAtIndexOrDefault(k.pointHoverBorderWidth,P,S.borderWidth)},removeHoverStyle:function(c){var k=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},P=c._index,S=c._model,O=this.chart.options.elements.point;S.radius=h.radius?h.radius:E.valueAtIndexOrDefault(k.pointRadius,P,O.radius),S.backgroundColor=h.backgroundColor?h.backgroundColor:E.valueAtIndexOrDefault(k.pointBackgroundColor,P,O.backgroundColor),S.borderColor=h.borderColor?h.borderColor:E.valueAtIndexOrDefault(k.pointBorderColor,P,O.borderColor),S.borderWidth=h.borderWidth?h.borderWidth:E.valueAtIndexOrDefault(k.pointBorderWidth,P,O.borderWidth)}})}},11396:function(ge,ke,B){"use strict";B(46566)._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(E){return"("+E.xLabel+", "+E.yLabel+")"}}}}),ge.exports=function(w){w.controllers.scatter=w.controllers.line}},78723:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),E=B(74060);x._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:E.noop,onComplete:E.noop}}),ge.exports=function(_){_.Animation=w.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),_.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(c,k,h,P){var O,L,S=this.animations;for(k.chart=c,P||(c.animating=!0),O=0,L=S.length;O1&&(h=Math.floor(c.dropFrames),c.dropFrames=c.dropFrames%1),c.advance(1+h);var P=Date.now();c.dropFrames+=(P-k)/c.frameDuration,c.animations.length>0&&c.requestAnimationFrame()},advance:function(c){for(var h,P,k=this.animations,S=0;S=h.numSteps?(E.callback(h.onAnimationComplete,[h],P),P.animating=!1,k.splice(S,1)):++S}},Object.defineProperty(_.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(_.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(c){this.chart=c}})}},88034:function(ge,ke,B){"use strict";var x=B(46566),w=B(74060),E=B(5781),_=B(71382),f=B(28341),c=B(8598);ge.exports=function(k){function P(O){var L=O.options;w.each(O.scales,function(C){_.removeBox(O,C)}),L=w.configMerge(k.defaults.global,k.defaults[O.config.type],L),O.options=O.config.options=L,O.ensureScalesHaveIDs(),O.buildOrUpdateScales(),O.tooltip._options=L.tooltips,O.tooltip.initialize()}function S(O){return"top"===O||"bottom"===O}k.types={},k.instances={},k.controllers={},w.extend(k.prototype,{construct:function(L,C){var R=this;C=function(O){var L=(O=O||{}).data=O.data||{};return L.datasets=L.datasets||[],L.labels=L.labels||[],O.options=w.configMerge(x.global,x[O.type],O.options||{}),O}(C);var Y=f.acquireContext(L,C),W=Y&&Y.canvas,G=W&&W.height,ae=W&&W.width;R.id=w.uid(),R.ctx=Y,R.canvas=W,R.config=C,R.width=ae,R.height=G,R.aspectRatio=G?ae/G:null,R.options=C.options,R._bufferedRender=!1,R.chart=R,R.controller=R,k.instances[R.id]=R,Object.defineProperty(R,"data",{get:function(){return R.config.data},set:function(te){R.config.data=te}}),Y&&W?(R.initialize(),R.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var L=this;return c.notify(L,"beforeInit"),w.retinaScale(L,L.options.devicePixelRatio),L.bindEvents(),L.options.responsive&&L.resize(!0),L.ensureScalesHaveIDs(),L.buildOrUpdateScales(),L.initToolTip(),c.notify(L,"afterInit"),L},clear:function(){return w.canvas.clear(this),this},stop:function(){return k.animationService.cancelAnimation(this),this},resize:function(L){var C=this,R=C.options,Y=C.canvas,W=R.maintainAspectRatio&&C.aspectRatio||null,G=Math.max(0,Math.floor(w.getMaximumWidth(Y))),ae=Math.max(0,Math.floor(W?G/W:w.getMaximumHeight(Y)));if((C.width!==G||C.height!==ae)&&(Y.width=C.width=G,Y.height=C.height=ae,Y.style.width=G+"px",Y.style.height=ae+"px",w.retinaScale(C,R.devicePixelRatio),!L)){var fe={width:G,height:ae};c.notify(C,"resize",[fe]),C.options.onResize&&C.options.onResize(C,fe),C.stop(),C.update(C.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var L=this.options,C=L.scales||{},R=L.scale;w.each(C.xAxes,function(Y,W){Y.id=Y.id||"x-axis-"+W}),w.each(C.yAxes,function(Y,W){Y.id=Y.id||"y-axis-"+W}),R&&(R.id=R.id||"scale")},buildOrUpdateScales:function(){var L=this,C=L.options,R=L.scales||{},Y=[],W=Object.keys(R).reduce(function(G,ae){return G[ae]=!1,G},{});C.scales&&(Y=Y.concat((C.scales.xAxes||[]).map(function(G){return{options:G,dtype:"category",dposition:"bottom"}}),(C.scales.yAxes||[]).map(function(G){return{options:G,dtype:"linear",dposition:"left"}}))),C.scale&&Y.push({options:C.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),w.each(Y,function(G){var ae=G.options,fe=ae.id,te=w.valueOrDefault(ae.type,G.dtype);S(ae.position)!==S(G.dposition)&&(ae.position=G.dposition),W[fe]=!0;var Q=null;if(fe in R&&R[fe].type===te)(Q=R[fe]).options=ae,Q.ctx=L.ctx,Q.chart=L;else{var ce=k.scaleService.getScaleConstructor(te);if(!ce)return;Q=new ce({id:fe,type:te,options:ae,ctx:L.ctx,chart:L}),R[Q.id]=Q}Q.mergeTicksOptions(),G.isDefault&&(L.scale=Q)}),w.each(W,function(G,ae){G||delete R[ae]}),L.scales=R,k.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var L=this,C=[],R=[];return w.each(L.data.datasets,function(Y,W){var G=L.getDatasetMeta(W),ae=Y.type||L.config.type;if(G.type&&G.type!==ae&&(L.destroyDatasetMeta(W),G=L.getDatasetMeta(W)),G.type=ae,C.push(G.type),G.controller)G.controller.updateIndex(W),G.controller.linkScales();else{var fe=k.controllers[G.type];if(void 0===fe)throw new Error('"'+G.type+'" is not a chart type.');G.controller=new fe(L,W),R.push(G.controller)}},L),R},resetElements:function(){var L=this;w.each(L.data.datasets,function(C,R){L.getDatasetMeta(R).controller.reset()},L)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(L){var C=this;if((!L||"object"!=typeof L)&&(L={duration:L,lazy:arguments[1]}),P(C),c._invalidate(C),!1!==c.notify(C,"beforeUpdate")){C.tooltip._data=C.data;var R=C.buildOrUpdateControllers();w.each(C.data.datasets,function(Y,W){C.getDatasetMeta(W).controller.buildOrUpdateElements()},C),C.updateLayout(),C.options.animation&&C.options.animation.duration&&w.each(R,function(Y){Y.reset()}),C.updateDatasets(),C.tooltip.initialize(),C.lastActive=[],c.notify(C,"afterUpdate"),C._bufferedRender?C._bufferedRequest={duration:L.duration,easing:L.easing,lazy:L.lazy}:C.render(L)}},updateLayout:function(){var L=this;!1!==c.notify(L,"beforeLayout")&&(_.update(this,this.width,this.height),c.notify(L,"afterScaleUpdate"),c.notify(L,"afterLayout"))},updateDatasets:function(){var L=this;if(!1!==c.notify(L,"beforeDatasetsUpdate")){for(var C=0,R=L.data.datasets.length;C=0;--R)C.isDatasetVisible(R)&&C.drawDataset(R,L);c.notify(C,"afterDatasetsDraw",[L])}},drawDataset:function(L,C){var R=this,Y=R.getDatasetMeta(L),W={meta:Y,index:L,easingValue:C};!1!==c.notify(R,"beforeDatasetDraw",[W])&&(Y.controller.draw(C),c.notify(R,"afterDatasetDraw",[W]))},_drawTooltip:function(L){var C=this,R=C.tooltip,Y={tooltip:R,easingValue:L};!1!==c.notify(C,"beforeTooltipDraw",[Y])&&(R.draw(),c.notify(C,"afterTooltipDraw",[Y]))},getElementAtEvent:function(L){return E.modes.single(this,L)},getElementsAtEvent:function(L){return E.modes.label(this,L,{intersect:!0})},getElementsAtXAxis:function(L){return E.modes["x-axis"](this,L,{intersect:!0})},getElementsAtEventForMode:function(L,C,R){var Y=E.modes[C];return"function"==typeof Y?Y(this,L,R):[]},getDatasetAtEvent:function(L){return E.modes.dataset(this,L,{intersect:!0})},getDatasetMeta:function(L){var C=this,R=C.data.datasets[L];R._meta||(R._meta={});var Y=R._meta[C.id];return Y||(Y=R._meta[C.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),Y},getVisibleDatasetCount:function(){for(var L=0,C=0,R=this.data.datasets.length;C0)&&(E.forEach(function(O){delete c[O]}),delete c._chartjs)}}w.DatasetController=function(c,k){this.initialize(c,k)},x.extend(w.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(k,h){var P=this;P.chart=k,P.index=h,P.linkScales(),P.addElements()},updateIndex:function(k){this.index=k},linkScales:function(){var k=this,h=k.getMeta(),P=k.getDataset();(null===h.xAxisID||!(h.xAxisID in k.chart.scales))&&(h.xAxisID=P.xAxisID||k.chart.options.scales.xAxes[0].id),(null===h.yAxisID||!(h.yAxisID in k.chart.scales))&&(h.yAxisID=P.yAxisID||k.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(k){return this.chart.scales[k]},reset:function(){this.update(!0)},destroy:function(){this._data&&f(this._data,this)},createMetaDataset:function(){var k=this,h=k.datasetElementType;return h&&new h({_chart:k.chart,_datasetIndex:k.index})},createMetaData:function(k){var h=this,P=h.dataElementType;return P&&new P({_chart:h.chart,_datasetIndex:h.index,_index:k})},addElements:function(){var O,L,k=this,h=k.getMeta(),P=k.getDataset().data||[],S=h.data;for(O=0,L=P.length;OS&&k.insertElements(S,O-S)},insertElements:function(k,h){for(var P=0;P=S[P].length&&S[P].push({}),E.merge(S[P][R],!S[P][R].type||W.type&&W.type!==S[P][R].type?[_.scaleService.getScaleDefaults(Y),W]:W)}else E._merger(P,S,O,L)}})},E.where=function(h,P){if(E.isArray(h)&&Array.prototype.filter)return h.filter(P);var S=[];return E.each(h,function(O){P(O)&&S.push(O)}),S},E.findIndex=Array.prototype.findIndex?function(h,P,S){return h.findIndex(P,S)}:function(h,P,S){S=void 0===S?h:S;for(var O=0,L=h.length;O=0;O--){var L=h[O];if(P(L))return L}},E.isNumber=function(h){return!isNaN(parseFloat(h))&&isFinite(h)},E.almostEquals=function(h,P,S){return Math.abs(h-P)h},E.max=function(h){return h.reduce(function(P,S){return isNaN(S)?P:Math.max(P,S)},Number.NEGATIVE_INFINITY)},E.min=function(h){return h.reduce(function(P,S){return isNaN(S)?P:Math.min(P,S)},Number.POSITIVE_INFINITY)},E.sign=Math.sign?function(h){return Math.sign(h)}:function(h){return 0==(h=+h)||isNaN(h)?h:h>0?1:-1},E.log10=Math.log10?function(h){return Math.log10(h)}:function(h){var P=Math.log(h)*Math.LOG10E,S=Math.round(P);return h===Math.pow(10,S)?S:P},E.toRadians=function(h){return h*(Math.PI/180)},E.toDegrees=function(h){return h*(180/Math.PI)},E.getAngleFromPoint=function(h,P){var S=P.x-h.x,O=P.y-h.y,L=Math.sqrt(S*S+O*O),C=Math.atan2(O,S);return C<-.5*Math.PI&&(C+=2*Math.PI),{angle:C,distance:L}},E.distanceBetweenPoints=function(h,P){return Math.sqrt(Math.pow(P.x-h.x,2)+Math.pow(P.y-h.y,2))},E.aliasPixel=function(h){return h%2==0?0:.5},E.splineCurve=function(h,P,S,O){var L=h.skip?P:h,C=P,R=S.skip?P:S,Y=Math.sqrt(Math.pow(C.x-L.x,2)+Math.pow(C.y-L.y,2)),W=Math.sqrt(Math.pow(R.x-C.x,2)+Math.pow(R.y-C.y,2)),G=Y/(Y+W),ae=W/(Y+W),fe=O*(G=isNaN(G)?0:G),te=O*(ae=isNaN(ae)?0:ae);return{previous:{x:C.x-fe*(R.x-L.x),y:C.y-fe*(R.y-L.y)},next:{x:C.x+te*(R.x-L.x),y:C.y+te*(R.y-L.y)}}},E.EPSILON=Number.EPSILON||1e-14,E.splineCurveMonotone=function(h){var O,L,C,R,W,G,ae,fe,te,P=(h||[]).map(function(Q){return{model:Q._model,deltaK:0,mK:0}}),S=P.length;for(O=0;O0?P[O-1]:null,(R=O0?P[O-1]:null)&&!L.model.skip&&(C.model.controlPointPreviousX=C.model.x-(te=(C.model.x-L.model.x)/3),C.model.controlPointPreviousY=C.model.y-te*C.mK),R&&!R.model.skip&&(C.model.controlPointNextX=C.model.x+(te=(R.model.x-C.model.x)/3),C.model.controlPointNextY=C.model.y+te*C.mK))},E.nextItem=function(h,P,S){return S?P>=h.length-1?h[0]:h[P+1]:P>=h.length-1?h[h.length-1]:h[P+1]},E.previousItem=function(h,P,S){return S?P<=0?h[h.length-1]:h[P-1]:P<=0?h[0]:h[P-1]},E.niceNum=function(h,P){var S=Math.floor(E.log10(h)),O=h/Math.pow(10,S);return(P?O<1.5?1:O<3?2:O<7?5:10:O<=1?1:O<=2?2:O<=5?5:10)*Math.pow(10,S)},E.requestAnimFrame="undefined"==typeof window?function(h){h()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return window.setTimeout(h,1e3/60)},E.getRelativePosition=function(h,P){var S,O,L=h.originalEvent||h,C=h.currentTarget||h.srcElement,R=C.getBoundingClientRect(),Y=L.touches;Y&&Y.length>0?(S=Y[0].clientX,O=Y[0].clientY):(S=L.clientX,O=L.clientY);var W=parseFloat(E.getStyle(C,"padding-left")),G=parseFloat(E.getStyle(C,"padding-top")),ae=parseFloat(E.getStyle(C,"padding-right")),fe=parseFloat(E.getStyle(C,"padding-bottom")),Q=R.bottom-R.top-G-fe;return{x:S=Math.round((S-R.left-W)/(R.right-R.left-W-ae)*C.width/P.currentDevicePixelRatio),y:O=Math.round((O-R.top-G)/Q*C.height/P.currentDevicePixelRatio)}},E.getConstraintWidth=function(h){return k(h,"max-width","clientWidth")},E.getConstraintHeight=function(h){return k(h,"max-height","clientHeight")},E.getMaximumWidth=function(h){var P=h.parentNode;if(!P)return h.clientWidth;var S=parseInt(E.getStyle(P,"padding-left"),10),O=parseInt(E.getStyle(P,"padding-right"),10),L=P.clientWidth-S-O,C=E.getConstraintWidth(h);return isNaN(C)?L:Math.min(L,C)},E.getMaximumHeight=function(h){var P=h.parentNode;if(!P)return h.clientHeight;var S=parseInt(E.getStyle(P,"padding-top"),10),O=parseInt(E.getStyle(P,"padding-bottom"),10),L=P.clientHeight-S-O,C=E.getConstraintHeight(h);return isNaN(C)?L:Math.min(L,C)},E.getStyle=function(h,P){return h.currentStyle?h.currentStyle[P]:document.defaultView.getComputedStyle(h,null).getPropertyValue(P)},E.retinaScale=function(h,P){var S=h.currentDevicePixelRatio=P||window.devicePixelRatio||1;if(1!==S){var O=h.canvas,L=h.height,C=h.width;O.height=L*S,O.width=C*S,h.ctx.scale(S,S),!O.style.height&&!O.style.width&&(O.style.height=L+"px",O.style.width=C+"px")}},E.fontString=function(h,P,S){return P+" "+h+"px "+S},E.longestText=function(h,P,S,O){var L=(O=O||{}).data=O.data||{},C=O.garbageCollect=O.garbageCollect||[];O.font!==P&&(L=O.data={},C=O.garbageCollect=[],O.font=P),h.font=P;var R=0;E.each(S,function(G){null!=G&&!0!==E.isArray(G)?R=E.measureText(h,L,C,R,G):E.isArray(G)&&E.each(G,function(ae){null!=ae&&!E.isArray(ae)&&(R=E.measureText(h,L,C,R,ae))})});var Y=C.length/2;if(Y>S.length){for(var W=0;WO&&(O=C),O},E.numberOfLabelLines=function(h){var P=1;return E.each(h,function(S){E.isArray(S)&&S.length>P&&(P=S.length)}),P},E.color=x?function(h){return h instanceof CanvasGradient&&(h=w.global.defaultColor),x(h)}:function(h){return console.error("Color.js not found!"),h},E.getHoverColor=function(h){return h instanceof CanvasPattern?h:E.color(h).saturate(.5).darken(.1).rgbString()}}},5781:function(ge,ke,B){"use strict";var x=B(74060);function w(h,P){return h.native?{x:h.x,y:h.y}:x.getRelativePosition(h,P)}function E(h,P){var O,L,C,R,Y;for(L=0,R=h.data.datasets.length;L0&&(R=P.getDatasetMeta(R[0]._datasetIndex).data),R},"x-axis":function(P,S){return k(P,S,{intersect:!1})},point:function(P,S){return _(P,w(S,P))},nearest:function(P,S,O){var L=w(S,P);O.axis=O.axis||"xy";var C=c(O.axis),R=f(P,L,O.intersect,C);return R.length>1&&R.sort(function(Y,W){var fe=Y.getArea()-W.getArea();return 0===fe&&(fe=Y._datasetIndex-W._datasetIndex),fe}),R.slice(0,1)},x:function(P,S,O){var L=w(S,P),C=[],R=!1;return E(P,function(Y){Y.inXRange(L.x)&&C.push(Y),Y.inRange(L.x,L.y)&&(R=!0)}),O.intersect&&!R&&(C=[]),C},y:function(P,S,O){var L=w(S,P),C=[],R=!1;return E(P,function(Y){Y.inYRange(L.y)&&C.push(Y),Y.inRange(L.x,L.y)&&(R=!0)}),O.intersect&&!R&&(C=[]),C}}}},47753:function(ge,ke,B){"use strict";B(46566)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),ge.exports=function(){var w=function(_,f){return this.construct(_,f),this};return w.Chart=w,w}},71382:function(ge,ke,B){"use strict";var x=B(74060);function w(_,f){return x.where(_,function(c){return c.position===f})}function E(_,f){_.forEach(function(c,k){return c._tmpIndex_=k,c}),_.sort(function(c,k){var h=f?k:c,P=f?c:k;return h.weight===P.weight?h._tmpIndex_-P._tmpIndex_:h.weight-P.weight}),_.forEach(function(c){delete c._tmpIndex_})}ge.exports={defaults:{},addBox:function(f,c){f.boxes||(f.boxes=[]),c.fullWidth=c.fullWidth||!1,c.position=c.position||"top",c.weight=c.weight||0,f.boxes.push(c)},removeBox:function(f,c){var k=f.boxes?f.boxes.indexOf(c):-1;-1!==k&&f.boxes.splice(k,1)},configure:function(f,c,k){for(var O,h=["fullWidth","position","weight"],P=h.length,S=0;Sce&&GL.maxHeight){G--;break}G++,fe=te*ae}L.labelRotation=G},afterCalculateTickRotation:function(){E.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){E.callback(this.options.beforeFit,[this])},fit:function(){var L=this,C=L.minSize={width:0,height:0},R=f(L._ticks),Y=L.options,W=Y.ticks,G=Y.scaleLabel,ae=Y.gridLines,fe=Y.display,te=L.isHorizontal(),Q=P(W),ce=Y.gridLines.tickMarkLength;if(C.width=te?L.isFullWidth()?L.maxWidth-L.margins.left-L.margins.right:L.maxWidth:fe&&ae.drawTicks?ce:0,C.height=te?fe&&ae.drawTicks?ce:0:L.maxHeight,G.display&&fe){var re=S(G)+E.options.toPadding(G.padding).height;te?C.height+=re:C.width+=re}if(W.display&&fe){var se=E.longestText(L.ctx,Q.font,R,L.longestTextCache),ue=E.numberOfLabelLines(R),ee=.5*Q.size,Ee=L.options.ticks.padding;if(te){L.longestLabelWidth=se;var Pe=E.toRadians(L.labelRotation),Fe=Math.cos(Pe),Be=Math.sin(Pe);C.height=Math.min(L.maxHeight,C.height+(Be*se+Q.size*ue+ee*(ue-1)+ee)+Ee),L.ctx.font=Q.font;var tt=h(L.ctx,R[0],Q.font),He=h(L.ctx,R[R.length-1],Q.font);0!==L.labelRotation?(L.paddingLeft="bottom"===Y.position?Fe*tt+3:Fe*ee+3,L.paddingRight="bottom"===Y.position?Fe*ee+3:Fe*He+3):(L.paddingLeft=tt/2+3,L.paddingRight=He/2+3)}else W.mirror?se=0:se+=Ee+ee,C.width=Math.min(L.maxWidth,C.width+se),L.paddingTop=Q.size/2,L.paddingBottom=Q.size/2}L.handleMargins(),L.width=C.width,L.height=C.height},handleMargins:function(){var L=this;L.margins&&(L.paddingLeft=Math.max(L.paddingLeft-L.margins.left,0),L.paddingTop=Math.max(L.paddingTop-L.margins.top,0),L.paddingRight=Math.max(L.paddingRight-L.margins.right,0),L.paddingBottom=Math.max(L.paddingBottom-L.margins.bottom,0))},afterFit:function(){E.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(L){if(E.isNullOrUndef(L))return NaN;if("number"==typeof L&&!isFinite(L))return NaN;if(L)if(this.isHorizontal()){if(void 0!==L.x)return this.getRightValue(L.x)}else if(void 0!==L.y)return this.getRightValue(L.y);return L},getLabelForIndex:E.noop,getPixelForValue:E.noop,getValueForPixel:E.noop,getPixelForTick:function(L){var C=this,R=C.options.offset;if(C.isHorizontal()){var W=(C.width-(C.paddingLeft+C.paddingRight))/Math.max(C._ticks.length-(R?0:1),1),G=W*L+C.paddingLeft;return R&&(G+=W/2),C.left+Math.round(G)+(C.isFullWidth()?C.margins.left:0)}return C.top+L*((C.height-(C.paddingTop+C.paddingBottom))/(C._ticks.length-1))},getPixelForDecimal:function(L){var C=this;return C.isHorizontal()?C.left+Math.round((C.width-(C.paddingLeft+C.paddingRight))*L+C.paddingLeft)+(C.isFullWidth()?C.margins.left:0):C.top+L*C.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var L=this,C=L.min,R=L.max;return L.beginAtZero?0:C<0&&R<0?R:C>0&&R>0?C:0},_autoSkip:function(L){var C,ce,ne,re,R=this,Y=R.isHorizontal(),W=R.options.ticks.minor,G=L.length,ae=E.toRadians(R.labelRotation),fe=Math.cos(ae),te=R.longestLabelWidth*fe,Q=[];for(W.maxTicksLimit&&(re=W.maxTicksLimit),Y&&(C=!1,(te+W.autoSkipPadding)*G>R.width-(R.paddingLeft+R.paddingRight)&&(C=1+Math.floor((te+W.autoSkipPadding)*G/(R.width-(R.paddingLeft+R.paddingRight)))),re&&G>re&&(C=Math.max(C,Math.floor(G/re)))),ce=0;ce1&&ce%C>0||ce%C==0&&ce+C>=G)&&ce!==G-1&&delete ne.label,Q.push(ne);return Q},draw:function(L){var C=this,R=C.options;if(R.display){var Y=C.ctx,W=x.global,G=R.ticks.minor,ae=R.ticks.major||G,fe=R.gridLines,te=R.scaleLabel,Q=0!==C.labelRotation,ce=C.isHorizontal(),ne=G.autoSkip?C._autoSkip(C.getTicks()):C.getTicks(),Z=E.valueOrDefault(G.fontColor,W.defaultFontColor),re=P(G),se=E.valueOrDefault(ae.fontColor,W.defaultFontColor),ue=P(ae),ee=fe.drawTicks?fe.tickMarkLength:0,Ee=E.valueOrDefault(te.fontColor,W.defaultFontColor),Pe=P(te),Fe=E.options.toPadding(te.padding),Be=E.toRadians(C.labelRotation),Je=[],tt=C.options.gridLines.lineWidth,He="right"===R.position?C.right:C.right-tt-ee,lt="right"===R.position?C.right+ee:C.right,Nt="bottom"===R.position?C.top+tt:C.bottom-ee-tt,jt="bottom"===R.position?C.top+tt+ee:C.bottom+tt;if(E.each(ne,function(de,ve){if(!E.isNullOrUndef(de.label)){var Me,be,De,Le,me=de.label;ve===C.zeroLineIndex&&R.offset===fe.offsetGridLines?(Me=fe.zeroLineWidth,be=fe.zeroLineColor,De=fe.zeroLineBorderDash,Le=fe.zeroLineBorderDashOffset):(Me=E.valueAtIndexOrDefault(fe.lineWidth,ve),be=E.valueAtIndexOrDefault(fe.color,ve),De=E.valueOrDefault(fe.borderDash,W.borderDash),Le=E.valueOrDefault(fe.borderDashOffset,W.borderDashOffset));var xe,Ie,ct,ft,rt,gn,In,Rt,Ut,Kn,Vn="middle",ya="middle",Ui=G.padding;if(ce){var yr=ee+Ui;"bottom"===R.position?(ya=Q?"middle":"top",Vn=Q?"right":"center",Kn=C.top+yr):(ya=Q?"middle":"bottom",Vn=Q?"left":"center",Kn=C.bottom-yr);var qt=c(C,ve,fe.offsetGridLines&&ne.length>1);qt1);$e3?f[2]-f[1]:f[1]-f[0];Math.abs(c)>1&&E!==Math.floor(E)&&(c=E-Math.floor(E));var k=x.log10(Math.abs(c)),h="";if(0!==E){var P=-1*Math.floor(k);P=Math.max(Math.min(P,20),0),h=E.toFixed(P)}else h="0";return h},logarithmic:function(E,_,f){var c=E/Math.pow(10,Math.floor(x.log10(E)));return 0===E?"0":1===c||2===c||5===c||0===_||_===f.length-1?E.toExponential():""}}}},42267:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),E=B(74060);x._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:E.noop,title:function(f,c){var k="",h=c.labels,P=h?h.length:0;if(f.length>0){var S=f[0];S.xLabel?k=S.xLabel:P>0&&S.indexY.height-C.height&&(ae="bottom");var fe,te,Q,ce,ne,Z=(W.left+W.right)/2,re=(W.top+W.bottom)/2;"center"===ae?(fe=function(ee){return ee<=Z},te=function(ee){return ee>Z}):(fe=function(ee){return ee<=C.width/2},te=function(ee){return ee>=Y.width-C.width/2}),Q=function(ee){return ee+C.width+R.caretSize+R.caretPadding>Y.width},ce=function(ee){return ee-C.width-R.caretSize-R.caretPadding<0},ne=function(ee){return ee<=re?"top":"bottom"},fe(R.x)?(G="left",Q(R.x)&&(G="center",ae=ne(R.y))):te(R.x)&&(G="right",ce(R.x)&&(G="center",ae=ne(R.y)));var se=L._options;return{xAlign:se.xAlign?se.xAlign:G,yAlign:se.yAlign?se.yAlign:ae}}(this,ce=function(L,C){var R=L._chart.ctx,Y=2*C.yPadding,W=0,G=C.body,ae=G.reduce(function(se,ue){return se+ue.before.length+ue.lines.length+ue.after.length},0),fe=C.title.length,te=C.footer.length,Q=C.titleFontSize,ce=C.bodyFontSize,ne=C.footerFontSize;Y+=fe*Q,Y+=fe?(fe-1)*C.titleSpacing:0,Y+=fe?C.titleMarginBottom:0,Y+=(ae+=C.beforeBody.length+C.afterBody.length)*ce,Y+=ae?(ae-1)*C.bodySpacing:0,Y+=te?C.footerMarginTop:0,Y+=te*ne,Y+=te?(te-1)*C.footerSpacing:0;var Z=0,re=function(ue){W=Math.max(W,R.measureText(ue).width+Z)};return R.font=E.fontString(Q,C._titleFontStyle,C._titleFontFamily),E.each(C.title,re),R.font=E.fontString(ce,C._bodyFontStyle,C._bodyFontFamily),E.each(C.beforeBody.concat(C.afterBody),re),Z=C.displayColors?ce+2:0,E.each(G,function(se){E.each(se.before,re),E.each(se.lines,re),E.each(se.after,re)}),Z=0,R.font=E.fontString(ne,C._footerFontStyle,C._footerFontFamily),E.each(C.footer,re),{width:W+=2*C.xPadding,height:Y}}(this,G)),Q=function(L,C,R,Y){var W=L.x,G=L.y,fe=L.caretPadding,Q=R.xAlign,ce=R.yAlign,ne=L.caretSize+fe,Z=L.cornerRadius+fe;return"right"===Q?W-=C.width:"center"===Q&&((W-=C.width/2)+C.width>Y.width&&(W=Y.width-C.width),W<0&&(W=0)),"top"===ce?G+=ne:G-="bottom"===ce?C.height+ne:C.height/2,"center"===ce?"left"===Q?W+=ne:"right"===Q&&(W-=ne):"left"===Q?W-=Z:"right"===Q&&(W+=Z),{x:W,y:G}}(G,ce,te,R._chart)}else G.opacity=0;return G.xAlign=te.xAlign,G.yAlign=te.yAlign,G.x=Q.x,G.y=Q.y,G.width=ce.width,G.height=ce.height,G.caretX=ne.x,G.caretY=ne.y,R._model=G,C&&Y.custom&&Y.custom.call(R,G),R},drawCaret:function(C,R){var Y=this._chart.ctx,G=this.getCaretPosition(C,R,this._view);Y.lineTo(G.x1,G.y1),Y.lineTo(G.x2,G.y2),Y.lineTo(G.x3,G.y3)},getCaretPosition:function(C,R,Y){var W,G,ae,fe,te,Q,ce=Y.caretSize,ne=Y.cornerRadius,Z=Y.xAlign,re=Y.yAlign,se=C.x,ue=C.y,ee=R.width,Ee=R.height;if("center"===re)te=ue+Ee/2,"left"===Z?(G=(W=se)-ce,ae=W,fe=te+ce,Q=te-ce):(G=(W=se+ee)+ce,ae=W,fe=te-ce,Q=te+ce);else if("left"===Z?(W=(G=se+ne+ce)-ce,ae=G+ce):"right"===Z?(W=(G=se+ee-ne-ce)-ce,ae=G+ce):(W=(G=Y.caretX)-ce,ae=G+ce),"top"===re)te=(fe=ue)-ce,Q=fe;else{te=(fe=ue+Ee)+ce,Q=fe;var Pe=ae;ae=W,W=Pe}return{x1:W,x2:G,x3:ae,y1:fe,y2:te,y3:Q}},drawTitle:function(C,R,Y,W){var G=R.title;if(G.length){Y.textAlign=R._titleAlign,Y.textBaseline="top";var te,Q,ae=R.titleFontSize,fe=R.titleSpacing;for(Y.fillStyle=f(R.titleFontColor,W),Y.font=E.fontString(ae,R._titleFontStyle,R._titleFontFamily),te=0,Q=G.length;te0&&Y.stroke()},draw:function(){var C=this._chart.ctx,R=this._view;if(0!==R.opacity){var Y={width:R.width,height:R.height},W={x:R.x,y:R.y},G=Math.abs(R.opacity<.001)?0:R.opacity;this._options.enabled&&(R.title.length||R.beforeBody.length||R.body.length||R.afterBody.length||R.footer.length)&&(this.drawBackground(W,R,C,Y,G),W.x+=R.xPadding,W.y+=R.yPadding,this.drawTitle(W,R,C,G),this.drawBody(W,R,C,G),this.drawFooter(W,R,C,G))}},handleEvent:function(C){var W,R=this,Y=R._options;return R._lastActive=R._lastActive||[],R._active="mouseout"===C.type?[]:R._chart.getElementsAtEventForMode(C,Y.mode,Y),(W=!E.arrayEquals(R._active,R._lastActive))&&(R._lastActive=R._active,(Y.enabled||Y.custom)&&(R._eventPosition={x:C.x,y:C.y},R.update(!0),R.pivot())),W}}),_.Tooltip.positioners={average:function(C){if(!C.length)return!1;var R,Y,W=0,G=0,ae=0;for(R=0,Y=C.length;RL;)P-=2*Math.PI;for(;P=O&&P<=L&&S>=k.innerRadius&&S<=k.outerRadius}return!1},getCenterPoint:function(){var f=this._view,c=(f.startAngle+f.endAngle)/2,k=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(c)*k,y:f.y+Math.sin(c)*k}},getArea:function(){var f=this._view;return Math.PI*((f.endAngle-f.startAngle)/(2*Math.PI))*(Math.pow(f.outerRadius,2)-Math.pow(f.innerRadius,2))},tooltipPosition:function(){var f=this._view,c=f.startAngle+(f.endAngle-f.startAngle)/2,k=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(c)*k,y:f.y+Math.sin(c)*k}},draw:function(){var f=this._chart.ctx,c=this._view,k=c.startAngle,h=c.endAngle;f.beginPath(),f.arc(c.x,c.y,c.outerRadius,k,h),f.arc(c.x,c.y,c.innerRadius,h,k,!0),f.closePath(),f.strokeStyle=c.borderColor,f.lineWidth=c.borderWidth,f.fillStyle=c.backgroundColor,f.fill(),f.lineJoin="bevel",c.borderWidth&&f.stroke()}})},65314:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),E=B(74060),_=x.global;x._set("global",{elements:{line:{tension:.4,backgroundColor:_.defaultColor,borderWidth:3,borderColor:_.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),ge.exports=w.extend({draw:function(){var C,R,Y,W,c=this,k=c._view,h=c._chart.ctx,P=k.spanGaps,S=c._children.slice(),O=_.elements.line,L=-1;for(c._loop&&S.length&&S.push(S[0]),h.save(),h.lineCap=k.borderCapStyle||O.borderCapStyle,h.setLineDash&&h.setLineDash(k.borderDash||O.borderDash),h.lineDashOffset=k.borderDashOffset||O.borderDashOffset,h.lineJoin=k.borderJoinStyle||O.borderJoinStyle,h.lineWidth=k.borderWidth||O.borderWidth,h.strokeStyle=k.borderColor||_.defaultColor,h.beginPath(),L=-1,C=0;C(h=k.base)?1:-1,C=1,R=k.borderSkipped||"left"):(h=k.x-k.width/2,P=k.x+k.width/2,L=1,C=(O=k.base)>(S=k.y)?1:-1,R=k.borderSkipped||"bottom"),Y){var W=Math.min(Math.abs(h-P),Math.abs(S-O)),G=(Y=Y>W?W:Y)/2,ae=h+("left"!==R?G*L:0),fe=P+("right"!==R?-G*L:0),te=S+("top"!==R?G*C:0),Q=O+("bottom"!==R?-G*C:0);ae!==fe&&(S=te,O=Q),te!==Q&&(h=ae,P=fe)}c.beginPath(),c.fillStyle=k.backgroundColor,c.strokeStyle=k.borderColor,c.lineWidth=Y;var ce=[[h,O],[h,S],[P,S],[P,O]],Z=["bottom","left","top","right"].indexOf(R,0);function re(ee){return ce[(Z+ee)%4]}-1===Z&&(Z=0);var se=re(0);c.moveTo(se[0],se[1]);for(var ue=1;ue<4;ue++)se=re(ue),c.lineTo(se[0],se[1]);c.fill(),Y&&c.stroke()},height:function(){var c=this._view;return c.base-c.y},inRange:function(c,k){var h=!1;if(this._view){var P=_(this);h=c>=P.left&&c<=P.right&&k>=P.top&&k<=P.bottom}return h},inLabelRange:function(c,k){var h=this;if(!h._view)return!1;var S=_(h);return E(h)?c>=S.left&&c<=S.right:k>=S.top&&k<=S.bottom},inXRange:function(c){var k=_(this);return c>=k.left&&c<=k.right},inYRange:function(c){var k=_(this);return c>=k.top&&c<=k.bottom},getCenterPoint:function(){var k,h,c=this._view;return E(this)?(k=c.x,h=(c.y+c.base)/2):(k=(c.x+c.base)/2,h=c.y),{x:k,y:h}},getArea:function(){var c=this._view;return c.width*Math.abs(c.y-c.base)},tooltipPosition:function(){var c=this._view;return{x:c.x,y:c.y}}})},82561:function(ge,ke,B){"use strict";ge.exports={},ge.exports.Arc=B(1245),ge.exports.Line=B(65314),ge.exports.Point=B(9800),ge.exports.Rectangle=B(19837)},72039:function(ge,ke,B){"use strict";var x=B(72853),w=ge.exports={clear:function(_){_.ctx.clearRect(0,0,_.width,_.height)},roundedRect:function(_,f,c,k,h,P){if(P){var S=Math.min(P,k/2),O=Math.min(P,h/2);_.moveTo(f+S,c),_.lineTo(f+k-S,c),_.quadraticCurveTo(f+k,c,f+k,c+O),_.lineTo(f+k,c+h-O),_.quadraticCurveTo(f+k,c+h,f+k-S,c+h),_.lineTo(f+S,c+h),_.quadraticCurveTo(f,c+h,f,c+h-O),_.lineTo(f,c+O),_.quadraticCurveTo(f,c,f+S,c)}else _.rect(f,c,k,h)},drawPoint:function(_,f,c,k,h){var P,S,O,L,C,R;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(P=f.toString())&&"[object HTMLCanvasElement]"!==P){if(!(isNaN(c)||c<=0)){switch(f){default:_.beginPath(),_.arc(k,h,c,0,2*Math.PI),_.closePath(),_.fill();break;case"triangle":_.beginPath(),C=(S=3*c/Math.sqrt(3))*Math.sqrt(3)/2,_.moveTo(k-S/2,h+C/3),_.lineTo(k+S/2,h+C/3),_.lineTo(k,h-2*C/3),_.closePath(),_.fill();break;case"rect":R=1/Math.SQRT2*c,_.beginPath(),_.fillRect(k-R,h-R,2*R,2*R),_.strokeRect(k-R,h-R,2*R,2*R);break;case"rectRounded":var Y=c/Math.SQRT2,W=k-Y,G=h-Y,ae=Math.SQRT2*c;_.beginPath(),this.roundedRect(_,W,G,ae,ae,c/2),_.closePath(),_.fill();break;case"rectRot":R=1/Math.SQRT2*c,_.beginPath(),_.moveTo(k-R,h),_.lineTo(k,h+R),_.lineTo(k+R,h),_.lineTo(k,h-R),_.closePath(),_.fill();break;case"cross":_.beginPath(),_.moveTo(k,h+c),_.lineTo(k,h-c),_.moveTo(k-c,h),_.lineTo(k+c,h),_.closePath();break;case"crossRot":_.beginPath(),O=Math.cos(Math.PI/4)*c,L=Math.sin(Math.PI/4)*c,_.moveTo(k-O,h-L),_.lineTo(k+O,h+L),_.moveTo(k-O,h+L),_.lineTo(k+O,h-L),_.closePath();break;case"star":_.beginPath(),_.moveTo(k,h+c),_.lineTo(k,h-c),_.moveTo(k-c,h),_.lineTo(k+c,h),O=Math.cos(Math.PI/4)*c,L=Math.sin(Math.PI/4)*c,_.moveTo(k-O,h-L),_.lineTo(k+O,h+L),_.moveTo(k-O,h+L),_.lineTo(k+O,h-L),_.closePath();break;case"line":_.beginPath(),_.moveTo(k-c,h),_.lineTo(k+c,h),_.closePath();break;case"dash":_.beginPath(),_.moveTo(k,h),_.lineTo(k+c,h),_.closePath()}_.stroke()}}else _.drawImage(f,k-f.width/2,h-f.height/2,f.width,f.height)},clipArea:function(_,f){_.save(),_.beginPath(),_.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),_.clip()},unclipArea:function(_){_.restore()},lineTo:function(_,f,c,k){if(c.steppedLine)return"after"===c.steppedLine&&!k||"after"!==c.steppedLine&&k?_.lineTo(f.x,c.y):_.lineTo(c.x,f.y),void _.lineTo(c.x,c.y);c.tension?_.bezierCurveTo(k?f.controlPointPreviousX:f.controlPointNextX,k?f.controlPointPreviousY:f.controlPointNextY,k?c.controlPointNextX:c.controlPointPreviousX,k?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):_.lineTo(c.x,c.y)}};x.clear=w.clear,x.drawRoundedRectangle=function(E){E.beginPath(),w.roundedRect.apply(w,arguments),E.closePath()}},72853:function(ge){"use strict";var B,ke={noop:function(){},uid:(B=0,function(){return B++}),isNullOrUndef:function(x){return null==x},isArray:Array.isArray?Array.isArray:function(B){return"[object Array]"===Object.prototype.toString.call(B)},isObject:function(x){return null!==x&&"[object Object]"===Object.prototype.toString.call(x)},valueOrDefault:function(x,w){return void 0===x?w:x},valueAtIndexOrDefault:function(x,w,E){return ke.valueOrDefault(ke.isArray(x)?x[w]:x,E)},callback:function(x,w,E){if(x&&"function"==typeof x.call)return x.apply(E,w)},each:function(x,w,E,_){var f,c,k;if(ke.isArray(x))if(c=x.length,_)for(f=c-1;f>=0;f--)w.call(E,x[f],f);else for(f=0;f=1?_:-(Math.sqrt(1-_*_)-1)},easeOutCirc:function(_){return Math.sqrt(1-(_-=1)*_)},easeInOutCirc:function(_){return(_/=.5)<1?-.5*(Math.sqrt(1-_*_)-1):.5*(Math.sqrt(1-(_-=2)*_)+1)},easeInElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:1===_?1:(c||(c=.3),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),-k*Math.pow(2,10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c))},easeOutElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:1===_?1:(c||(c=.3),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),k*Math.pow(2,-10*_)*Math.sin((_-f)*(2*Math.PI)/c)+1)},easeInOutElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:2==(_/=.5)?1:(c||(c=.45),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),_<1?k*Math.pow(2,10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c)*-.5:k*Math.pow(2,-10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c)*.5+1)},easeInBack:function(_){var f=1.70158;return _*_*((f+1)*_-f)},easeOutBack:function(_){var f=1.70158;return(_-=1)*_*((f+1)*_+f)+1},easeInOutBack:function(_){var f=1.70158;return(_/=.5)<1?_*_*((1+(f*=1.525))*_-f)*.5:.5*((_-=2)*_*((1+(f*=1.525))*_+f)+2)},easeInBounce:function(_){return 1-w.easeOutBounce(1-_)},easeOutBounce:function(_){return _<1/2.75?7.5625*_*_:_<2/2.75?7.5625*(_-=1.5/2.75)*_+.75:_<2.5/2.75?7.5625*(_-=2.25/2.75)*_+.9375:7.5625*(_-=2.625/2.75)*_+.984375},easeInOutBounce:function(_){return _<.5?.5*w.easeInBounce(2*_):.5*w.easeOutBounce(2*_-1)+.5}};ge.exports={effects:w},x.easingEffects=w},30616:function(ge,ke,B){"use strict";var x=B(72853);ge.exports={toLineHeight:function(E,_){var f=(""+E).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*_;switch(E=+f[2],f[3]){case"px":return E;case"%":E/=100}return _*E},toPadding:function(E){var _,f,c,k;return x.isObject(E)?(_=+E.top||0,f=+E.right||0,c=+E.bottom||0,k=+E.left||0):_=f=c=k=+E||0,{top:_,right:f,bottom:c,left:k,height:_+c,width:k+f}},resolve:function(E,_,f){var c,k,h;for(c=0,k=E.length;c
      ';var ee=Z.childNodes[0],Ee=Z.childNodes[1];Z._reset=function(){ee.scrollLeft=se,ee.scrollTop=se,Ee.scrollLeft=se,Ee.scrollTop=se};var Pe=function(){Z._reset(),ne()};return L(ee,"scroll",Pe.bind(ee,"expand")),L(Ee,"scroll",Pe.bind(Ee,"shrink")),Z}(function(ne,Z){var re=!1,se=[];return function(){se=Array.prototype.slice.call(arguments),Z=Z||this,re||(re=!0,x.requestAnimFrame.call(window,function(){re=!1,ne.apply(Z,se)}))}}(function(){if(se.resizer)return Z(R("resize",re))}));!function(ne,Z){var re=ne[w]||(ne[w]={}),se=re.renderProxy=function(ue){ue.animationName===f&&Z()};x.each(c,function(ue){L(ne,ue,se)}),re.reflow=!!ne.offsetParent,ne.classList.add(_)}(ne,function(){if(se.resizer){var ee=ne.parentNode;ee&&ee!==ue.parentNode&&ee.insertBefore(ue,ee.firstChild),ue._reset()}})}(ue,se,Z)},removeEventListener:function(Z,re,se){var ue=Z.canvas;if("resize"!==re){var Pe=((se[w]||{}).proxies||{})[Z.id+"_"+re];!Pe||C(ue,re,Pe)}else!function(ne){var Z=ne[w]||{},re=Z.resizer;delete Z.resizer,function(ne){var Z=ne[w]||{},re=Z.renderProxy;re&&(x.each(c,function(se){C(ne,se,re)}),delete Z.renderProxy),ne.classList.remove(_)}(ne),re&&re.parentNode&&re.parentNode.removeChild(re)}(ue)}},x.addEvent=L,x.removeEvent=C},28341:function(ge,ke,B){"use strict";var x=B(74060),w=B(33833),E=B(89958);ge.exports=x.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},E._enabled?E:w)},76657:function(ge,ke,B){"use strict";ge.exports={},ge.exports.filler=B(79410),ge.exports.legend=B(54641),ge.exports.title=B(95910)},79410:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),E=B(74060);x._set("global",{plugins:{filler:{propagate:!0}}});var _={dataset:function(C){var R=C.fill,Y=C.chart,W=Y.getDatasetMeta(R),ae=W&&Y.isDatasetVisible(R)&&W.dataset._children||[],fe=ae.length||0;return fe?function(te,Q){return Q=R)&&G;switch(W){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return W;default:return!1}}function c(L){var G,C=L.el._model||{},R=L.el._scale||{},Y=L.fill,W=null;if(isFinite(Y))return null;if("start"===Y?W=void 0===C.scaleBottom?R.bottom:C.scaleBottom:"end"===Y?W=void 0===C.scaleTop?R.top:C.scaleTop:void 0!==C.scaleZero?W=C.scaleZero:R.getBasePosition?W=R.getBasePosition():R.getBasePixel&&(W=R.getBasePixel()),null!=W){if(void 0!==W.x&&void 0!==W.y)return W;if("number"==typeof W&&isFinite(W))return{x:(G=R.isHorizontal())?W:null,y:G?null:W}}return null}function k(L,C,R){var ae,W=L[C].fill,G=[C];if(!R)return W;for(;!1!==W&&-1===G.indexOf(W);){if(!isFinite(W))return W;if(!(ae=L[W]))return!1;if(ae.visible)return W;G.push(W),W=ae.fill}return!1}function h(L){var C=L.fill,R="dataset";return!1===C?null:(isFinite(C)||(R="boundary"),_[R](L))}function P(L){return L&&!L.skip}function S(L,C,R,Y,W){var G;if(Y&&W){for(L.moveTo(C[0].x,C[0].y),G=1;G0;--G)E.canvas.lineTo(L,R[G],R[G-1],!0)}}ge.exports={id:"filler",afterDatasetsUpdate:function(C,R){var ae,fe,te,Q,Y=(C.data.datasets||[]).length,W=R.propagate,G=[];for(fe=0;fe');for(var L=0;L'),S.data.datasets[L].label&&O.push(S.data.datasets[L].label),O.push("");return O.push(""),O.join("")}});var k=w.extend({initialize:function(S){E.extend(this,S),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:f,update:function(S,O,L){var C=this;return C.beforeUpdate(),C.maxWidth=S,C.maxHeight=O,C.margins=L,C.beforeSetDimensions(),C.setDimensions(),C.afterSetDimensions(),C.beforeBuildLabels(),C.buildLabels(),C.afterBuildLabels(),C.beforeFit(),C.fit(),C.afterFit(),C.afterUpdate(),C.minSize},afterUpdate:f,beforeSetDimensions:f,setDimensions:function(){var S=this;S.isHorizontal()?(S.width=S.maxWidth,S.left=0,S.right=S.width):(S.height=S.maxHeight,S.top=0,S.bottom=S.height),S.paddingLeft=0,S.paddingTop=0,S.paddingRight=0,S.paddingBottom=0,S.minSize={width:0,height:0}},afterSetDimensions:f,beforeBuildLabels:f,buildLabels:function(){var S=this,O=S.options.labels||{},L=E.callback(O.generateLabels,[S.chart],S)||[];O.filter&&(L=L.filter(function(C){return O.filter(C,S.chart.data)})),S.options.reverse&&L.reverse(),S.legendItems=L},afterBuildLabels:f,beforeFit:f,fit:function(){var S=this,O=S.options,L=O.labels,C=O.display,R=S.ctx,Y=x.global,W=E.valueOrDefault,G=W(L.fontSize,Y.defaultFontSize),ae=W(L.fontStyle,Y.defaultFontStyle),fe=W(L.fontFamily,Y.defaultFontFamily),te=E.fontString(G,ae,fe),Q=S.legendHitBoxes=[],ce=S.minSize,ne=S.isHorizontal();if(ne?(ce.width=S.maxWidth,ce.height=C?10:0):(ce.width=C?10:0,ce.height=S.maxHeight),C)if(R.font=te,ne){var Z=S.lineWidths=[0],re=S.legendItems.length?G+L.padding:0;R.textAlign="left",R.textBaseline="top",E.each(S.legendItems,function(Be,Je){var He=c(L,G)+G/2+R.measureText(Be.text).width;Z[Z.length-1]+He+L.padding>=S.width&&(re+=G+L.padding,Z[Z.length]=S.left),Q[Je]={left:0,top:0,width:He,height:G},Z[Z.length-1]+=He+L.padding}),ce.height+=re}else{var se=L.padding,ue=S.columnWidths=[],ee=L.padding,Ee=0,Pe=0,Fe=G+se;E.each(S.legendItems,function(Be,Je){var He=c(L,G)+G/2+R.measureText(Be.text).width;Pe+Fe>ce.height&&(ee+=Ee+L.padding,ue.push(Ee),Ee=0,Pe=0),Ee=Math.max(Ee,He),Pe+=Fe,Q[Je]={left:0,top:0,width:He,height:G}}),ee+=Ee,ue.push(Ee),ce.width+=ee}S.width=ce.width,S.height=ce.height},afterFit:f,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var S=this,O=S.options,L=O.labels,C=x.global,R=C.elements.line,Y=S.width,W=S.lineWidths;if(O.display){var Z,G=S.ctx,ae=E.valueOrDefault,fe=ae(L.fontColor,C.defaultFontColor),te=ae(L.fontSize,C.defaultFontSize),Q=ae(L.fontStyle,C.defaultFontStyle),ce=ae(L.fontFamily,C.defaultFontFamily),ne=E.fontString(te,Q,ce);G.textAlign="left",G.textBaseline="middle",G.lineWidth=.5,G.strokeStyle=fe,G.fillStyle=fe,G.font=ne;var re=c(L,te),se=S.legendHitBoxes,Ee=S.isHorizontal();Z=Ee?{x:S.left+(Y-W[0])/2,y:S.top+L.padding,line:0}:{x:S.left+L.padding,y:S.top+L.padding,line:0};var Pe=te+L.padding;E.each(S.legendItems,function(Fe,Be){var Je=G.measureText(Fe.text).width,tt=re+te/2+Je,He=Z.x,lt=Z.y;Ee?He+tt>=Y&&(lt=Z.y+=Pe,Z.line++,He=Z.x=S.left+(Y-W[Z.line])/2):lt+Pe>S.bottom&&(He=Z.x=He+S.columnWidths[Z.line]+L.padding,lt=Z.y=S.top+L.padding,Z.line++),function(Be,Je,tt){if(!(isNaN(re)||re<=0)){G.save(),G.fillStyle=ae(tt.fillStyle,C.defaultColor),G.lineCap=ae(tt.lineCap,R.borderCapStyle),G.lineDashOffset=ae(tt.lineDashOffset,R.borderDashOffset),G.lineJoin=ae(tt.lineJoin,R.borderJoinStyle),G.lineWidth=ae(tt.lineWidth,R.borderWidth),G.strokeStyle=ae(tt.strokeStyle,C.defaultColor);var He=0===ae(tt.lineWidth,R.borderWidth);if(G.setLineDash&&G.setLineDash(ae(tt.lineDash,R.borderDash)),O.labels&&O.labels.usePointStyle){var lt=te*Math.SQRT2/2,Nt=lt/Math.SQRT2;E.canvas.drawPoint(G,tt.pointStyle,lt,Be+Nt,Je+Nt)}else He||G.strokeRect(Be,Je,re,te),G.fillRect(Be,Je,re,te);G.restore()}}(He,lt,Fe),se[Be].left=He,se[Be].top=lt,function(Be,Je,tt,He){var lt=te/2,Nt=re+lt+Be,jt=Je+lt;G.fillText(tt.text,Nt,jt),tt.hidden&&(G.beginPath(),G.lineWidth=2,G.moveTo(Nt,jt),G.lineTo(Nt+He,jt),G.stroke())}(He,lt,Fe,Je),Ee?Z.x+=tt+L.padding:Z.y+=Pe})}},handleEvent:function(S){var O=this,L=O.options,C="mouseup"===S.type?"click":S.type,R=!1;if("mousemove"===C){if(!L.onHover)return}else{if("click"!==C)return;if(!L.onClick)return}var Y=S.x,W=S.y;if(Y>=O.left&&Y<=O.right&&W>=O.top&&W<=O.bottom)for(var G=O.legendHitBoxes,ae=0;ae=fe.left&&Y<=fe.left+fe.width&&W>=fe.top&&W<=fe.top+fe.height){if("click"===C){L.onClick.call(O,S.native,O.legendItems[ae]),R=!0;break}if("mousemove"===C){L.onHover.call(O,S.native,O.legendItems[ae]),R=!0;break}}}return R}});function h(P,S){var O=new k({ctx:P.ctx,options:S,chart:P});_.configure(P,O,S),_.addBox(P,O),P.legend=O}ge.exports={id:"legend",_element:k,beforeInit:function(S){var O=S.options.legend;O&&h(S,O)},beforeUpdate:function(S){var O=S.options.legend,L=S.legend;O?(E.mergeIf(O,x.global.legend),L?(_.configure(S,L,O),L.options=O):h(S,O)):L&&(_.removeBox(S,L),delete S.legend)},afterEvent:function(S,O){var L=S.legend;L&&L.handleEvent(O)}}},95910:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),E=B(74060),_=B(71382),f=E.noop;x._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=w.extend({initialize:function(P){E.extend(this,P),this.legendHitBoxes=[]},beforeUpdate:f,update:function(P,S,O){var L=this;return L.beforeUpdate(),L.maxWidth=P,L.maxHeight=S,L.margins=O,L.beforeSetDimensions(),L.setDimensions(),L.afterSetDimensions(),L.beforeBuildLabels(),L.buildLabels(),L.afterBuildLabels(),L.beforeFit(),L.fit(),L.afterFit(),L.afterUpdate(),L.minSize},afterUpdate:f,beforeSetDimensions:f,setDimensions:function(){var P=this;P.isHorizontal()?(P.width=P.maxWidth,P.left=0,P.right=P.width):(P.height=P.maxHeight,P.top=0,P.bottom=P.height),P.paddingLeft=0,P.paddingTop=0,P.paddingRight=0,P.paddingBottom=0,P.minSize={width:0,height:0}},afterSetDimensions:f,beforeBuildLabels:f,buildLabels:f,afterBuildLabels:f,beforeFit:f,fit:function(){var P=this,O=P.options,L=O.display,C=(0,E.valueOrDefault)(O.fontSize,x.global.defaultFontSize),R=P.minSize,Y=E.isArray(O.text)?O.text.length:1,W=E.options.toLineHeight(O.lineHeight,C),G=L?Y*W+2*O.padding:0;P.isHorizontal()?(R.width=P.maxWidth,R.height=G):(R.width=G,R.height=P.maxHeight),P.width=R.width,P.height=R.height},afterFit:f,isHorizontal:function(){var P=this.options.position;return"top"===P||"bottom"===P},draw:function(){var P=this,S=P.ctx,O=E.valueOrDefault,L=P.options,C=x.global;if(L.display){var re,se,ue,R=O(L.fontSize,C.defaultFontSize),Y=O(L.fontStyle,C.defaultFontStyle),W=O(L.fontFamily,C.defaultFontFamily),G=E.fontString(R,Y,W),ae=E.options.toLineHeight(L.lineHeight,R),fe=ae/2+L.padding,te=0,Q=P.top,ce=P.left,ne=P.bottom,Z=P.right;S.fillStyle=O(L.fontColor,C.defaultFontColor),S.font=G,P.isHorizontal()?(se=ce+(Z-ce)/2,ue=Q+fe,re=Z-ce):(se="left"===L.position?ce+fe:Z-fe,ue=Q+(ne-Q)/2,re=ne-Q,te=Math.PI*("left"===L.position?-.5:.5)),S.save(),S.translate(se,ue),S.rotate(te),S.textAlign="center",S.textBaseline="middle";var ee=L.text;if(E.isArray(ee))for(var Ee=0,Pe=0;Peh.max)&&(h.max=Z))})});h.min=isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=isFinite(h.max)&&!isNaN(h.max)?h.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var h,P=this,S=P.options.ticks;if(P.isHorizontal())h=Math.min(S.maxTicksLimit?S.maxTicksLimit:11,Math.ceil(P.width/50));else{var O=w.valueOrDefault(S.fontSize,x.global.defaultFontSize);h=Math.min(S.maxTicksLimit?S.maxTicksLimit:11,Math.ceil(P.height/(2*O)))}return h},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,P){return+this.getRightValue(this.chart.data.datasets[P].data[h])},getPixelForValue:function(h){var P=this,S=P.start,O=+P.getRightValue(h),C=P.end-S;return P.isHorizontal()?P.left+P.width/C*(O-S):P.bottom-P.height/C*(O-S)},getValueForPixel:function(h){var P=this,S=P.isHorizontal();return P.start+(S?h-P.left:P.bottom-h)/(S?P.width:P.height)*(P.end-P.start)},getPixelForTick:function(h){return this.getPixelForValue(this.ticksAsNumbers[h])}});_.scaleService.registerScaleType("linear",c,f)}},47705:function(ge,ke,B){"use strict";var x=B(74060);ge.exports=function(E){var _=x.noop;E.LinearScaleBase=E.Scale.extend({getRightValue:function(c){return"string"==typeof c?+c:E.Scale.prototype.getRightValue.call(this,c)},handleTickRangeOptions:function(){var c=this,h=c.options.ticks;if(h.beginAtZero){var P=x.sign(c.min),S=x.sign(c.max);P<0&&S<0?c.max=0:P>0&&S>0&&(c.min=0)}var O=void 0!==h.min||void 0!==h.suggestedMin,L=void 0!==h.max||void 0!==h.suggestedMax;void 0!==h.min?c.min=h.min:void 0!==h.suggestedMin&&(c.min=null===c.min?h.suggestedMin:Math.min(c.min,h.suggestedMin)),void 0!==h.max?c.max=h.max:void 0!==h.suggestedMax&&(c.max=null===c.max?h.suggestedMax:Math.max(c.max,h.suggestedMax)),O!==L&&c.min>=c.max&&(O?c.max=c.min+1:c.min=c.max-1),c.min===c.max&&(c.max++,h.beginAtZero||c.min--)},getTickLimit:_,handleDirectionalChanges:_,buildTicks:function(){var c=this,h=c.options.ticks,P=c.getTickLimit(),S={maxTicks:P=Math.max(2,P),min:h.min,max:h.max,stepSize:x.valueOrDefault(h.fixedStepSize,h.stepSize)},O=c.ticks=function(E,_){var c,f=[];if(E.stepSize&&E.stepSize>0)c=E.stepSize;else{var k=x.niceNum(_.max-_.min,!1);c=x.niceNum(k/(E.maxTicks-1),!0)}var h=Math.floor(_.min/c)*c,P=Math.ceil(_.max/c)*c;E.min&&E.max&&E.stepSize&&x.almostWhole((E.max-E.min)/E.stepSize,c/1e3)&&(h=E.min,P=E.max);var S=(P-h)/c;S=x.almostEquals(S,Math.round(S),c/1e3)?Math.round(S):Math.ceil(S);var O=1;c<1&&(O=Math.pow(10,c.toString().length-2),h=Math.round(h*O)/O,P=Math.round(P*O)/O),f.push(void 0!==E.min?E.min:h);for(var L=1;L0){var ae=x.min(G),fe=x.max(G);h.min=null===h.min?ae:Math.min(h.min,ae),h.max=null===h.max?fe:Math.max(h.max,fe)}})}else x.each(L,function(G,ae){var fe=S.getDatasetMeta(ae);S.isDatasetVisible(ae)&&R(fe)&&x.each(G.data,function(te,Q){var ce=+h.getRightValue(te);isNaN(ce)||fe.data[Q].hidden||ce<0||((null===h.min||ceh.max)&&(h.max=ce),0!==ce&&(null===h.minNotZero||ce0?h.min:h.max<1?Math.pow(10,Math.floor(x.log10(h.max))):1)},buildTicks:function(){var h=this,S=h.options.ticks,O=!h.isHorizontal(),C=h.ticks=function(_,f){var O,L,c=[],k=x.valueOrDefault,h=k(_.min,Math.pow(10,Math.floor(x.log10(f.min)))),P=Math.floor(x.log10(f.max)),S=Math.ceil(f.max/Math.pow(10,P));0===h?(O=Math.floor(x.log10(f.minNotZero)),L=Math.floor(f.minNotZero/Math.pow(10,O)),c.push(h),h=L*Math.pow(10,O)):(O=Math.floor(x.log10(h)),L=Math.floor(h/Math.pow(10,O)));var C=O<0?Math.pow(10,Math.abs(O)):1;do{c.push(h),10==++L&&(L=1,C=++O>=0?1:C),h=Math.round(L*Math.pow(10,O)*C)/C}while(OZ?{start:Q-ce-5,end:Q}:{start:Q,end:Q+ce+5}}function C(te){return 0===te||180===te?"center":te<180?"left":"right"}function R(te,Q,ce,ne){if(w.isArray(Q))for(var Z=ce.y,re=1.5*ne,se=0;se270||te<90)&&(ce.y-=Q.h)}function ae(te){return w.isNumber(te)?te:0}var fe=_.LinearScaleBase.extend({setDimensions:function(){var Q=this,ce=Q.options,ne=ce.ticks;Q.width=Q.maxWidth,Q.height=Q.maxHeight,Q.xCenter=Math.round(Q.width/2),Q.yCenter=Math.round(Q.height/2);var Z=w.min([Q.height,Q.width]),re=w.valueOrDefault(ne.fontSize,f.defaultFontSize);Q.drawingArea=ce.display?Z/2-(re/2+ne.backdropPaddingY):Z/2},determineDataLimits:function(){var Q=this,ce=Q.chart,ne=Number.POSITIVE_INFINITY,Z=Number.NEGATIVE_INFINITY;w.each(ce.data.datasets,function(re,se){if(ce.isDatasetVisible(se)){var ue=ce.getDatasetMeta(se);w.each(re.data,function(ee,Ee){var Pe=+Q.getRightValue(ee);isNaN(Pe)||ue.data[Ee].hidden||(ne=Math.min(Pe,ne),Z=Math.max(Pe,Z))})}}),Q.min=ne===Number.POSITIVE_INFINITY?0:ne,Q.max=Z===Number.NEGATIVE_INFINITY?0:Z,Q.handleTickRangeOptions()},getTickLimit:function(){var Q=this.options.ticks,ce=w.valueOrDefault(Q.fontSize,f.defaultFontSize);return Math.min(Q.maxTicksLimit?Q.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*ce)))},convertTicksToLabels:function(){var Q=this;_.LinearScaleBase.prototype.convertTicksToLabels.call(Q),Q.pointLabels=Q.chart.data.labels.map(Q.options.pointLabels.callback,Q)},getLabelForIndex:function(Q,ce){return+this.getRightValue(this.chart.data.datasets[ce].data[Q])},fit:function(){var Q;this.options.pointLabels.display?function(te){var re,se,ue,Q=h(te),ce=Math.min(te.height/2,te.width/2),ne={r:te.width,l:0,t:te.height,b:0},Z={};te.ctx.font=Q.font,te._pointLabelSizes=[];var ee=k(te);for(re=0;rene.r&&(ne.r=Fe.end,Z.r=Ee),Be.startne.b&&(ne.b=Be.end,Z.b=Ee)}te.setReductions(ce,ne,Z)}(this):(this,Q=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(Q),this.setCenterPoint(0,0,0,0))},setReductions:function(Q,ce,ne){var Z=this,re=ce.l/Math.sin(ne.l),se=Math.max(ce.r-Z.width,0)/Math.sin(ne.r),ue=-ce.t/Math.cos(ne.t),ee=-Math.max(ce.b-Z.height,0)/Math.cos(ne.b);re=ae(re),se=ae(se),ue=ae(ue),ee=ae(ee),Z.drawingArea=Math.min(Math.round(Q-(re+se)/2),Math.round(Q-(ue+ee)/2)),Z.setCenterPoint(re,se,ue,ee)},setCenterPoint:function(Q,ce,ne,Z){var re=this,ee=ne+re.drawingArea,Ee=re.height-Z-re.drawingArea;re.xCenter=Math.round((Q+re.drawingArea+(re.width-ce-re.drawingArea))/2+re.left),re.yCenter=Math.round((ee+Ee)/2+re.top)},getIndexAngle:function(Q){return Q*(2*Math.PI/k(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Q){var ce=this;if(null===Q)return 0;var ne=ce.drawingArea/(ce.max-ce.min);return ce.options.ticks.reverse?(ce.max-Q)*ne:(Q-ce.min)*ne},getPointPosition:function(Q,ce){var Z=this.getIndexAngle(Q)-Math.PI/2;return{x:Math.round(Math.cos(Z)*ce)+this.xCenter,y:Math.round(Math.sin(Z)*ce)+this.yCenter}},getPointPositionForValue:function(Q,ce){return this.getPointPosition(Q,this.getDistanceFromCenterForValue(ce))},getBasePosition:function(){var Q=this,ce=Q.min,ne=Q.max;return Q.getPointPositionForValue(0,Q.beginAtZero?0:ce<0&&ne<0?ne:ce>0&&ne>0?ce:0)},draw:function(){var Q=this,ce=Q.options,ne=ce.gridLines,Z=ce.ticks,re=w.valueOrDefault;if(ce.display){var se=Q.ctx,ue=this.getIndexAngle(0),ee=re(Z.fontSize,f.defaultFontSize),Ee=re(Z.fontStyle,f.defaultFontStyle),Pe=re(Z.fontFamily,f.defaultFontFamily),Fe=w.fontString(ee,Ee,Pe);w.each(Q.ticks,function(Be,Je){if(Je>0||Z.reverse){var tt=Q.getDistanceFromCenterForValue(Q.ticksAsNumbers[Je]);if(ne.display&&0!==Je&&function(te,Q,ce,ne){var Z=te.ctx;if(Z.strokeStyle=w.valueAtIndexOrDefault(Q.color,ne-1),Z.lineWidth=w.valueAtIndexOrDefault(Q.lineWidth,ne-1),te.options.gridLines.circular)Z.beginPath(),Z.arc(te.xCenter,te.yCenter,ce,0,2*Math.PI),Z.closePath(),Z.stroke();else{var re=k(te);if(0===re)return;Z.beginPath();var se=te.getPointPosition(0,ce);Z.moveTo(se.x,se.y);for(var ue=1;ue=0;ue--){if(ne.display){var ee=te.getPointPosition(ue,re);Q.beginPath(),Q.moveTo(te.xCenter,te.yCenter),Q.lineTo(ee.x,ee.y),Q.stroke(),Q.closePath()}if(Z.display){var Ee=te.getPointPosition(ue,re+5),Pe=w.valueAtIndexOrDefault(Z.fontColor,ue,f.defaultFontColor);Q.font=se.font,Q.fillStyle=Pe;var Fe=te.getIndexAngle(ue),Be=w.toDegrees(Fe);Q.textAlign=C(Be),Y(Be,te._pointLabelSizes[ue],Ee),R(Q,te.pointLabels[ue]||"",Ee,se.size)}}}(Q)}}});_.scaleService.registerScaleType("radialLinear",fe,c)}},38669:function(ge,ke,B){"use strict";var x=B(29609);x="function"==typeof x?x:window.moment;var w=B(46566),E=B(74060),_=Number.MIN_SAFE_INTEGER||-9007199254740991,f=Number.MAX_SAFE_INTEGER||9007199254740991,c={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}},k=Object.keys(c);function h(ne,Z){return ne-Z}function P(ne){var se,ue,ee,Z={},re=[];for(se=0,ue=ne.length;se=0&&se<=ue;){if(Pe=ne[ee=se+ue>>1],!(Ee=ne[ee-1]||null))return{lo:null,hi:Pe};if(Pe[Z]re))return{lo:Ee,hi:Pe};ue=ee-1}}return{lo:Pe,hi:null}}(ne,Z,re),ee=ue.lo?ue.hi?ue.lo:ne[ne.length-2]:ne[0],Ee=ue.lo?ue.hi?ue.hi:ne[ne.length-1]:ne[1],Pe=Ee[Z]-ee[Z];return ee[se]+(Ee[se]-ee[se])*(Pe?(re-ee[Z])/Pe:0)}function C(ne,Z){var re=Z.parser,se=Z.parser||Z.format;return"function"==typeof re?re(ne):"string"==typeof ne&&"string"==typeof se?x(ne,se):(ne instanceof x||(ne=x(ne)),ne.isValid()?ne:"function"==typeof se?se(ne):ne)}function R(ne,Z){if(E.isNullOrUndef(ne))return null;var re=Z.options.time,se=C(Z.getRightValue(ne),re);return se.isValid()?(re.round&&se.startOf(re.round),se.valueOf()):null}function ae(ne){for(var Z=k.indexOf(ne)+1,re=k.length;Z=ee&<<=Ee&&Je.push(lt);return ue.min=ee,ue.max=Ee,ue._unit=Fe.unit||function(ne,Z,re,se){var Ee,Pe,ue=x.duration(x(se).diff(x(re)));for(Ee=k.length-1;Ee>=k.indexOf(Z);Ee--)if(c[Pe=k[Ee]].common&&ue.as(Pe)>=ne.length)return Pe;return k[Z?k.indexOf(Z):0]}(Je,Fe.minUnit,ue.min,ue.max),ue._majorUnit=ae(ue._unit),ue._table=function(ne,Z,re,se){if("linear"===se||!ne.length)return[{time:Z,pos:0},{time:re,pos:1}];var Ee,Pe,Fe,Be,Je,ue=[],ee=[Z];for(Ee=0,Pe=ne.length;EeZ&&Be1?Z[1]:se,"pos")-L(ne,"time",Fe,"pos"))/2),ue.time.max||(Fe=Z.length>1?Z[Z.length-2]:re,Ee=(L(ne,"time",Z[Z.length-1],"pos")-L(ne,"time",Fe,"pos"))/2)),{left:ee,right:Ee}}(ue._table,Je,ee,Ee,Pe),ue._labelFormat=function(ne,Z){var re,se,ue,ee=ne.length;for(re=0;re=0&&ue0?Je:1}});ne.scaleService.registerScaleType("time",re,{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}}})}},35963:function(ge,ke,B){var x=B(66365);function w(Q){if(Q){var ue=[0,0,0],ee=1,Ee=Q.match(/^#([a-fA-F0-9]{3})$/i);if(Ee){Ee=Ee[1];for(var Pe=0;Pek?(c+.05)/(k+.05):(k+.05)/(c+.05)},level:function(f){var c=this.contrast(f);return c>=7.1?"AAA":c>=4.5?"AA":""},dark:function(){var f=this.values.rgb;return(299*f[0]+587*f[1]+114*f[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var f=[],c=0;c<3;c++)f[c]=255-this.values.rgb[c];return this.setValues("rgb",f),this},lighten:function(f){var c=this.values.hsl;return c[2]+=c[2]*f,this.setValues("hsl",c),this},darken:function(f){var c=this.values.hsl;return c[2]-=c[2]*f,this.setValues("hsl",c),this},saturate:function(f){var c=this.values.hsl;return c[1]+=c[1]*f,this.setValues("hsl",c),this},desaturate:function(f){var c=this.values.hsl;return c[1]-=c[1]*f,this.setValues("hsl",c),this},whiten:function(f){var c=this.values.hwb;return c[1]+=c[1]*f,this.setValues("hwb",c),this},blacken:function(f){var c=this.values.hwb;return c[2]+=c[2]*f,this.setValues("hwb",c),this},greyscale:function(){var f=this.values.rgb,c=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[c,c,c]),this},clearer:function(f){var c=this.values.alpha;return this.setValues("alpha",c-c*f),this},opaquer:function(f){var c=this.values.alpha;return this.setValues("alpha",c+c*f),this},rotate:function(f){var c=this.values.hsl,k=(c[0]+f)%360;return c[0]=k<0?360+k:k,this.setValues("hsl",c),this},mix:function(f,c){var k=this,h=f,P=void 0===c?.5:c,S=2*P-1,O=k.alpha()-h.alpha(),L=((S*O==-1?S:(S+O)/(1+S*O))+1)/2,C=1-L;return this.rgb(L*k.red()+C*h.red(),L*k.green()+C*h.green(),L*k.blue()+C*h.blue()).alpha(k.alpha()*P+h.alpha()*(1-P))},toJSON:function(){return this.rgb()},clone:function(){var h,P,f=new E,c=this.values,k=f.values;for(var S in c)c.hasOwnProperty(S)&&("[object Array]"===(P={}.toString.call(h=c[S]))?k[S]=h.slice(0):"[object Number]"===P?k[S]=h:console.error("unexpected color value:",h));return f}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},E.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},E.prototype.getValues=function(_){for(var f=this.values,c={},k=0;k<_.length;k++)c[_.charAt(k)]=f[_][k];return 1!==f.alpha&&(c.a=f.alpha),c},E.prototype.setValues=function(_,f){var S,L,c=this.values,k=this.spaces,h=this.maxes,P=1;if(this.valid=!0,"alpha"===_)P=f;else if(f.length)c[_]=f.slice(0,_.length),P=f[_.length];else if(void 0!==f[_.charAt(0)]){for(S=0;S<_.length;S++)c[_][S]=f[_.charAt(S)];P=f.a}else if(void 0!==f[k[_][0]]){var O=k[_];for(S=0;S<_.length;S++)c[_][S]=f[O[S]];P=f.alpha}if(c.alpha=Math.max(0,Math.min(1,void 0===P?c.alpha:P)),"alpha"===_)return!1;for(S=0;S<_.length;S++)L=Math.max(0,Math.min(h[_][S],c[_][S])),c[_][S]=Math.round(L);for(var C in k)C!==_&&(c[C]=x[_][C](c[_]));return!0},E.prototype.setSpace=function(_,f){var c=f[0];return void 0===c?this.getValues(_):("number"==typeof c&&(c=Array.prototype.slice.call(f)),this.setValues(_,c),this)},E.prototype.setChannel=function(_,f,c){var k=this.values[_];return void 0===c?k[f]:(c===k[f]||(k[f]=c,this.setValues(_,k)),this)},"undefined"!=typeof window&&(window.Color=E),ge.exports=E},94027:function(ge){function ke(j){var be,Le,ie=j[0]/255,oe=j[1]/255,de=j[2]/255,ve=Math.min(ie,oe,de),me=Math.max(ie,oe,de),Me=me-ve;return me==ve?be=0:ie==me?be=(oe-de)/Me:oe==me?be=2+(de-ie)/Me:de==me&&(be=4+(ie-oe)/Me),(be=Math.min(60*be,360))<0&&(be+=360),Le=(ve+me)/2,[be,100*(me==ve?0:Le<=.5?Me/(me+ve):Me/(2-me-ve)),100*Le]}function B(j){var be,De,ie=j[0],oe=j[1],de=j[2],ve=Math.min(ie,oe,de),me=Math.max(ie,oe,de),Me=me-ve;return De=0==me?0:Me/me*1e3/10,me==ve?be=0:ie==me?be=(oe-de)/Me:oe==me?be=2+(de-ie)/Me:de==me&&(be=4+(ie-oe)/Me),(be=Math.min(60*be,360))<0&&(be+=360),[be,De,me/255*1e3/10]}function x(j){var ie=j[0],oe=j[1],de=j[2];return[ke(j)[0],1/255*Math.min(ie,Math.min(oe,de))*100,100*(de=1-1/255*Math.max(ie,Math.max(oe,de)))]}function w(j){var be,ie=j[0]/255,oe=j[1]/255,de=j[2]/255;return[100*((1-ie-(be=Math.min(1-ie,1-oe,1-de)))/(1-be)||0),100*((1-oe-be)/(1-be)||0),100*((1-de-be)/(1-be)||0),100*be]}function E(j){return Sr[JSON.stringify(j)]}function _(j){var ie=j[0]/255,oe=j[1]/255,de=j[2]/255;return[100*(.4124*(ie=ie>.04045?Math.pow((ie+.055)/1.055,2.4):ie/12.92)+.3576*(oe=oe>.04045?Math.pow((oe+.055)/1.055,2.4):oe/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*ie+.7152*oe+.0722*de),100*(.0193*ie+.1192*oe+.9505*de)]}function f(j){var ie=_(j),oe=ie[0],de=ie[1],ve=ie[2];return de/=100,ve/=108.883,oe=(oe/=95.047)>.008856?Math.pow(oe,1/3):7.787*oe+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(oe-de),200*(de-(ve=ve>.008856?Math.pow(ve,1/3):7.787*ve+16/116))]}function k(j){var ve,me,Me,be,De,ie=j[0]/360,oe=j[1]/100,de=j[2]/100;if(0==oe)return[De=255*de,De,De];ve=2*de-(me=de<.5?de*(1+oe):de+oe-de*oe),be=[0,0,0];for(var Le=0;Le<3;Le++)(Me=ie+1/3*-(Le-1))<0&&Me++,Me>1&&Me--,be[Le]=255*(De=6*Me<1?ve+6*(me-ve)*Me:2*Me<1?me:3*Me<2?ve+(me-ve)*(2/3-Me)*6:ve);return be}function L(j){var ie=j[0]/60,oe=j[1]/100,de=j[2]/100,ve=Math.floor(ie)%6,me=ie-Math.floor(ie),Me=255*de*(1-oe),be=255*de*(1-oe*me),De=255*de*(1-oe*(1-me));switch(de*=255,ve){case 0:return[de,De,Me];case 1:return[be,de,Me];case 2:return[Me,de,De];case 3:return[Me,be,de];case 4:return[De,Me,de];case 5:return[de,Me,be]}}function G(j){var me,Me,be,De,ie=j[0]/360,oe=j[1]/100,de=j[2]/100,ve=oe+de;switch(ve>1&&(oe/=ve,de/=ve),be=6*ie-(me=Math.floor(6*ie)),0!=(1&me)&&(be=1-be),De=oe+be*((Me=1-de)-oe),me){default:case 6:case 0:r=Me,g=De,b=oe;break;case 1:r=De,g=Me,b=oe;break;case 2:r=oe,g=Me,b=De;break;case 3:r=oe,g=De,b=Me;break;case 4:r=De,g=oe,b=Me;break;case 5:r=Me,g=oe,b=De}return[255*r,255*g,255*b]}function ce(j){var oe=j[1]/100,de=j[2]/100,ve=j[3]/100;return[255*(1-Math.min(1,j[0]/100*(1-ve)+ve)),255*(1-Math.min(1,oe*(1-ve)+ve)),255*(1-Math.min(1,de*(1-ve)+ve))]}function ue(j){var ve,me,Me,ie=j[0]/100,oe=j[1]/100,de=j[2]/100;return me=-.9689*ie+1.8758*oe+.0415*de,Me=.0557*ie+-.204*oe+1.057*de,ve=(ve=3.2406*ie+-1.5372*oe+-.4986*de)>.0031308?1.055*Math.pow(ve,1/2.4)-.055:ve*=12.92,me=me>.0031308?1.055*Math.pow(me,1/2.4)-.055:me*=12.92,Me=Me>.0031308?1.055*Math.pow(Me,1/2.4)-.055:Me*=12.92,[255*(ve=Math.min(Math.max(0,ve),1)),255*(me=Math.min(Math.max(0,me),1)),255*(Me=Math.min(Math.max(0,Me),1))]}function ee(j){var ie=j[0],oe=j[1],de=j[2];return oe/=100,de/=108.883,ie=(ie/=95.047)>.008856?Math.pow(ie,1/3):7.787*ie+16/116,[116*(oe=oe>.008856?Math.pow(oe,1/3):7.787*oe+16/116)-16,500*(ie-oe),200*(oe-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function Pe(j){var ve,me,Me,be,ie=j[0],oe=j[1],de=j[2];return ie<=8?be=(me=100*ie/903.3)/100*7.787+16/116:(me=100*Math.pow((ie+16)/116,3),be=Math.pow(me/100,1/3)),[ve=ve/95.047<=.008856?ve=95.047*(oe/500+be-16/116)/7.787:95.047*Math.pow(oe/500+be,3),me,Me=Me/108.883<=.008859?Me=108.883*(be-de/200-16/116)/7.787:108.883*Math.pow(be-de/200,3)]}function Fe(j){var me,ie=j[0],oe=j[1],de=j[2];return(me=360*Math.atan2(de,oe)/2/Math.PI)<0&&(me+=360),[ie,Math.sqrt(oe*oe+de*de),me]}function Be(j){return ue(Pe(j))}function Je(j){var Me,oe=j[1];return Me=j[2]/360*2*Math.PI,[j[0],oe*Math.cos(Me),oe*Math.sin(Me)]}function lt(j){return St[j]}ge.exports={rgb2hsl:ke,rgb2hsv:B,rgb2hwb:x,rgb2cmyk:w,rgb2keyword:E,rgb2xyz:_,rgb2lab:f,rgb2lch:function(j){return Fe(f(j))},hsl2rgb:k,hsl2hsv:function(j){var oe=j[1]/100,de=j[2]/100;return 0===de?[0,0,0]:[j[0],2*(oe*=(de*=2)<=1?de:2-de)/(de+oe)*100,(de+oe)/2*100]},hsl2hwb:function(j){return x(k(j))},hsl2cmyk:function(j){return w(k(j))},hsl2keyword:function(j){return E(k(j))},hsv2rgb:L,hsv2hsl:function(j){var ve,me,oe=j[1]/100,de=j[2]/100;return ve=oe*de,[j[0],100*(ve=(ve/=(me=(2-oe)*de)<=1?me:2-me)||0),100*(me/=2)]},hsv2hwb:function(j){return x(L(j))},hsv2cmyk:function(j){return w(L(j))},hsv2keyword:function(j){return E(L(j))},hwb2rgb:G,hwb2hsl:function(j){return ke(G(j))},hwb2hsv:function(j){return B(G(j))},hwb2cmyk:function(j){return w(G(j))},hwb2keyword:function(j){return E(G(j))},cmyk2rgb:ce,cmyk2hsl:function(j){return ke(ce(j))},cmyk2hsv:function(j){return B(ce(j))},cmyk2hwb:function(j){return x(ce(j))},cmyk2keyword:function(j){return E(ce(j))},keyword2rgb:lt,keyword2hsl:function(j){return ke(lt(j))},keyword2hsv:function(j){return B(lt(j))},keyword2hwb:function(j){return x(lt(j))},keyword2cmyk:function(j){return w(lt(j))},keyword2lab:function(j){return f(lt(j))},keyword2xyz:function(j){return _(lt(j))},xyz2rgb:ue,xyz2lab:ee,xyz2lch:function(j){return Fe(ee(j))},lab2xyz:Pe,lab2rgb:Be,lab2lch:Fe,lch2lab:Je,lch2xyz:function(j){return Pe(Je(j))},lch2rgb:function(j){return Be(Je(j))}};var St={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]},Sr={};for(var Hn in St)Sr[JSON.stringify(St[Hn])]=Hn},65530:function(ge,ke,B){var x=B(94027),w=function(){return new k};for(var E in x){w[E+"Raw"]=function(h){return function(P){return"number"==typeof P&&(P=Array.prototype.slice.call(arguments)),x[h](P)}}(E);var _=/(\w+)2(\w+)/.exec(E),f=_[1],c=_[2];(w[f]=w[f]||{})[c]=w[E]=function(h){return function(P){"number"==typeof P&&(P=Array.prototype.slice.call(arguments));var S=x[h](P);if("string"==typeof S||void 0===S)return S;for(var O=0;O=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},42758:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(B(29609))},64980:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(B(29609))},9602:function(ge,ke,B){!function(x){"use strict";var w={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},E=function(P){return 0===P?0:1===P?1:2===P?2:P%100>=3&&P%100<=10?3:P%100>=11?4:5},_={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},f=function(P){return function(S,O,L,C){var R=E(S),Y=_[P][E(S)];return 2===R&&(Y=Y[O?0:1]),Y.replace(/%d/i,S)}},c=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];x.defineLocale("ar-ly",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(P){return"\u0645"===P},meridiem:function(P,S,O){return P<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:f("s"),ss:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(P){return P.replace(/\u060c/g,",")},postformat:function(P){return P.replace(/\d/g,function(S){return w[S]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(29609))},52500:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(B(29609))},36909:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},E={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};x.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return E[k]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(B(29609))},92735:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(B(29609))},67634:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},E={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=function(S){return 0===S?0:1===S?1:2===S?2:S%100>=3&&S%100<=10?3:S%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(S){return function(O,L,C,R){var Y=_(O),W=f[S][_(O)];return 2===Y&&(W=W[L?0:1]),W.replace(/%d/i,O)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];x.defineLocale("ar",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(S){return"\u0645"===S},meridiem:function(S,O,L){return S<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(S){return S.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(O){return E[O]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(O){return w[O]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(29609))},27798:function(ge,ke,B){!function(x){"use strict";var w={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};x.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\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".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\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(f){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(f)},meridiem:function(f,c,k){return f<4?"gec\u0259":f<12?"s\u0259h\u0259r":f<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(f){if(0===f)return f+"-\u0131nc\u0131";var c=f%10;return f+(w[c]||w[f%100-c]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},29949:function(ge,ke,B){!function(x){"use strict";function E(f,c,k){return"m"===k?c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===k?c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":f+" "+function(f,c){var k=f.split("_");return c%10==1&&c%100!=11?k[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?k[1]:k[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[k],+f)}x.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:E,mm:E,h:E,hh:E,d:"\u0434\u0437\u0435\u043d\u044c",dd:E,M:"\u043c\u0435\u0441\u044f\u0446",MM:E,y:"\u0433\u043e\u0434",yy:E},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,k,h){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(B(29609))},44590:function(ge,ke,B){!function(x){"use strict";x.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".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:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(_){var f=_%10,c=_%100;return 0===_?_+"-\u0435\u0432":0===c?_+"-\u0435\u043d":c>10&&c<20?_+"-\u0442\u0438":1===f?_+"-\u0432\u0438":2===f?_+"-\u0440\u0438":7===f||8===f?_+"-\u043c\u0438":_+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(29609))},15938:function(ge,ke,B){!function(x){"use strict";x.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_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\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(B(29609))},60595:function(ge,ke,B){!function(x){"use strict";var w={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},E={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};x.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===k&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?c+12:c},meridiem:function(c,k,h){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(B(29609))},4756:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},E={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};x.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".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:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?c+12:c},meridiem:function(c,k,h){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(B(29609))},17277:function(ge,ke,B){!function(x){"use strict";function w(h,P,S){return h+" "+function(h,P){return 2===P?function(h){var P={m:"v",b:"v",d:"z"};return void 0===P[h.charAt(0)]?h:P[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[S],h)}function _(h){return h>9?_(h%10):h}x.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\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:w,h:"un eur",hh:"%d eur",d:"un devezh",dd:w,M:"ur miz",MM:w,y:"ur bloaz",yy:function(h){switch(_(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(P){return P+(1===P?"a\xf1":"vet")},week:{dow:1,doy:4}})}(B(29609))},4166:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var k=_+" ";switch(c){case"ss":return k+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return f?"jedna minuta":"jedne minute";case"mm":return k+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return f?"jedan sat":"jednog sata";case"hh":return k+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return k+(1===_?"dan":"dana");case"MM":return k+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return k+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}x.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},13943:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(_,f){var c=1===_?"r":2===_?"n":3===_?"r":4===_?"t":"\xe8";return("w"===f||"W"===f)&&(c="a"),_+c},week:{dow:1,doy:4}})}(B(29609))},53474:function(ge,ke,B){!function(x){"use strict";var w="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),E="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function _(k){return k>1&&k<5&&1!=~~(k/10)}function f(k,h,P,S){var O=k+" ";switch(P){case"s":return h||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return h||S?O+(_(k)?"sekundy":"sekund"):O+"sekundami";case"m":return h?"minuta":S?"minutu":"minutou";case"mm":return h||S?O+(_(k)?"minuty":"minut"):O+"minutami";case"h":return h?"hodina":S?"hodinu":"hodinou";case"hh":return h||S?O+(_(k)?"hodiny":"hodin"):O+"hodinami";case"d":return h||S?"den":"dnem";case"dd":return h||S?O+(_(k)?"dny":"dn\xed"):O+"dny";case"M":return h||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return h||S?O+(_(k)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):O+"m\u011bs\xedci";case"y":return h||S?"rok":"rokem";case"yy":return h||S?O+(_(k)?"roky":"let"):O+"lety"}}x.defineLocale("cs",{months:w,monthsShort:E,monthsParse:function(k,h){var P,S=[];for(P=0;P<12;P++)S[P]=new RegExp("^"+k[P]+"$|^"+h[P]+"$","i");return S}(w,E),shortMonthsParse:function(k){var h,P=[];for(h=0;h<12;h++)P[h]=new RegExp("^"+k[h]+"$","i");return P}(E),longMonthsParse:function(k){var h,P=[];for(h=0;h<12;h++)P[h]=new RegExp("^"+k[h]+"$","i");return P}(w),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},92218:function(ge,ke,B){!function(x){"use strict";x.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(_){return _+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(_)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(_)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(B(29609))},21061:function(ge,ke,B){!function(x){"use strict";x.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 \xf4l",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(_){var c="";return _>20?c=40===_||50===_||60===_||80===_||100===_?"fed":"ain":_>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][_]),_+c},week:{dow:1,doy:4}})}(B(29609))},82743:function(ge,ke,B){!function(x){"use strict";x.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\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 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\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},28580:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},3264:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},31899:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},98784:function(ge,ke,B){!function(x){"use strict";var w=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],E=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];x.defineLocale("dv",{months:w,monthsShort:w,weekdays:E,weekdaysShort:E,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),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:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,k,h){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(B(29609))},54654:function(ge,ke,B){!function(x){"use strict";x.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(f,c){return f?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[f.month()]:this._monthsNominativeEl[f.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(f,c,k){return f>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(f){return"\u03bc"===(f+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(f,c){var _,k=this._calendarEl[f],h=c&&c.hours();return((_=k)instanceof Function||"[object Function]"===Object.prototype.toString.call(_))&&(k=k.apply(c)),k.replace("{}",h%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(B(29609))},56277:function(ge,ke,B){!function(x){"use strict";x.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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},76896:function(ge,ke,B){!function(x){"use strict";x.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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(B(29609))},71609:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-gb",{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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},24557:function(ge,ke,B){!function(x){"use strict";x.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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},15836:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-il",{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",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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(B(29609))},43586:function(ge,ke,B){!function(x){"use strict";x.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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},62777:function(ge,ke,B){!function(x){"use strict";x.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(_){return"p"===_.charAt(0).toLowerCase()},meridiem:function(_,f,c){return _>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %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}})}(B(29609))},3128:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),E="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],f=/^(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;x.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?E[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,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:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},83256:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),E="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");x.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,k){return c?/-MMM-/.test(k)?E[c.month()]:w[c.month()]:w},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(B(29609))},63357:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),E="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],f=/^(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;x.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?E[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,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:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},2654:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[_+"sekundi",_+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[_+" minuti",_+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[_+" tunni",_+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[_+" kuu",_+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[_+" aasta",_+" aastat"]};return f?h[c][2]?h[c][2]:h[c][1]:k?h[c][0]:h[c][1]}x.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".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:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:"%d p\xe4eva",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},57287:function(ge,ke,B){!function(x){"use strict";x.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},73875:function(ge,ke,B){!function(x){"use strict";var w={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},E={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};x.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,k,h){return c<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/[\u06f0-\u06f9]/g,function(k){return E[k]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(B(29609))},73431:function(ge,ke,B){!function(x){"use strict";var w="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),E=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",w[7],w[8],w[9]];function _(k,h,P,S){var O="";switch(P){case"s":return S?"muutaman sekunnin":"muutama sekunti";case"ss":return S?"sekunnin":"sekuntia";case"m":return S?"minuutin":"minuutti";case"mm":O=S?"minuutin":"minuuttia";break;case"h":return S?"tunnin":"tunti";case"hh":O=S?"tunnin":"tuntia";break;case"d":return S?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":O=S?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return S?"kuukauden":"kuukausi";case"MM":O=S?"kuukauden":"kuukautta";break;case"y":return S?"vuoden":"vuosi";case"yy":O=S?"vuoden":"vuotta"}return function(k,h){return k<10?h?E[k]:w[k]:k}(k,S)+" "+O}x.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_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\xe4n\xe4\xe4n] [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\xe4\xe4st\xe4",past:"%s sitten",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},41781:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".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:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},11539:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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(_,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}}})}(B(29609))},19847:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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(_,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}},week:{dow:1,doy:4}})}(B(29609))},61717:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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(_,f){switch(f){case"D":return _+(1===_?"er":"");default:case"M":case"Q":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}},week:{dow:1,doy:4}})}(B(29609))},42250:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),E="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");x.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,k){return c?/-MMM-/.test(k)?E[c.month()]:w[c.month()]:w},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".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:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},85214:function(ge,ke,B){!function(x){"use strict";x.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(P){return P+(1===P?"d":P%10==2?"na":"mh")},week:{dow:1,doy:4}})}(B(29609))},36154:function(ge,ke,B){!function(x){"use strict";x.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".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()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(_){return 0===_.indexOf("un")?"n"+_:"en "+_},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},18518:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={s:["thodde secondanim","thodde second"],ss:[_+" secondanim",_+" second"],m:["eka mintan","ek minute"],mm:[_+" mintanim",_+" mintam"],h:["eka horan","ek hor"],hh:[_+" horanim",_+" horam"],d:["eka disan","ek dis"],dd:[_+" disanim",_+" dis"],M:["eka mhoinean","ek mhoino"],MM:[_+" mhoineanim",_+" mhoine"],y:["eka vorsan","ek voros"],yy:[_+" vorsanim",_+" vorsam"]};return f?h[c][0]:h[c][1]}x.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,c){switch(c){case"D":return f+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return f}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,c){return 12===f&&(f=0),"rati"===c?f<4?f:f+12:"sokalli"===c?f:"donparam"===c?f>12?f:f+12:"sanje"===c?f+12:void 0},meridiem:function(f,c,k){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(B(29609))},89221:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},E={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};x.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===k?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?c:"\u0aac\u0aaa\u0acb\u0ab0"===k?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(B(29609))},64743:function(ge,ke,B){!function(x){"use strict";x.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(_){return 2===_?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":_+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(_){return 2===_?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":_+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(_){return 2===_?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":_+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(_){return 2===_?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":_%10==0&&10!==_?_+" \u05e9\u05e0\u05d4":_+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(_){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(_)},meridiem:function(_,f,c){return _<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":_<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":_<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":_<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(B(29609))},77339:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},E={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};x.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0930\u093e\u0924"===k?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===k?c:"\u0926\u094b\u092a\u0939\u0930"===k?c>=10?c:c+12:"\u0936\u093e\u092e"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(B(29609))},13224:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var k=_+" ";switch(c){case"ss":return k+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return f?"jedna minuta":"jedne minute";case"mm":return k+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return f?"jedan sat":"jednog sata";case"hh":return k+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return k+(1===_?"dan":"dana");case"MM":return k+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return k+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}x.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},50856:function(ge,ke,B){!function(x){"use strict";var w="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function E(c,k,h,P){var S=c;switch(h){case"s":return P||k?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return S+(P||k)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(P||k?" perc":" perce");case"mm":return S+(P||k?" perc":" perce");case"h":return"egy"+(P||k?" \xf3ra":" \xf3r\xe1ja");case"hh":return S+(P||k?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(P||k?" nap":" napja");case"dd":return S+(P||k?" nap":" napja");case"M":return"egy"+(P||k?" h\xf3nap":" h\xf3napja");case"MM":return S+(P||k?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(P||k?" \xe9v":" \xe9ve");case"yy":return S+(P||k?" \xe9v":" \xe9ve")}return""}function _(c){return(c?"":"[m\xfalt] ")+"["+w[this.day()]+"] LT[-kor]"}x.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,h,P){return k<12?!0===P?"de":"DE":!0===P?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return _.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return _.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",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:"%d.",week:{dow:1,doy:4}})}(B(29609))},76855:function(ge,ke,B){!function(x){"use strict";x.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(_){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(_)},meridiem:function(_){return _<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":_<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":_<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(_,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===_?_+"-\u056b\u0576":_+"-\u0580\u0564";default:return _}},week:{dow:1,doy:7}})}(B(29609))},2190:function(ge,ke,B){!function(x){"use strict";x.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_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|siang|sore|malam/,meridiemHour:function(_,f){return 12===_&&(_=0),"pagi"===f?_:"siang"===f?_>=11?_:_+12:"sore"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"siang":_<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}})}(B(29609))},53887:function(ge,ke,B){!function(x){"use strict";function w(f){return f%100==11||f%10!=1}function E(f,c,k,h){var P=f+" ";switch(k){case"s":return c||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return w(f)?P+(c||h?"sek\xfandur":"sek\xfandum"):P+"sek\xfanda";case"m":return c?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return w(f)?P+(c||h?"m\xedn\xfatur":"m\xedn\xfatum"):c?P+"m\xedn\xfata":P+"m\xedn\xfatu";case"hh":return w(f)?P+(c||h?"klukkustundir":"klukkustundum"):P+"klukkustund";case"d":return c?"dagur":h?"dag":"degi";case"dd":return w(f)?c?P+"dagar":P+(h?"daga":"d\xf6gum"):c?P+"dagur":P+(h?"dag":"degi");case"M":return c?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return w(f)?c?P+"m\xe1nu\xf0ir":P+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):c?P+"m\xe1nu\xf0ur":P+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return c||h?"\xe1r":"\xe1ri";case"yy":return w(f)?P+(c||h?"\xe1r":"\xe1rum"):P+(c||h?"\xe1r":"\xe1ri")}}x.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:E,ss:E,m:E,mm:E,h:"klukkustund",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}})}(B(29609))},19270:function(ge,ke,B){!function(x){"use strict";x.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_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:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(_){return(/^[0-9].+$/.test(_)?"tra":"in")+" "+_},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},46595:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(_){return"\u5348\u5f8c"===_},meridiem:function(_,f,c){return _<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(_){return _.week()=11?_:_+12:"sonten"===f||"ndalu"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"enjing":_<15?"siyang":_<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}})}(B(29609))},27477:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(_){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(_)?_.replace(/\u10d8$/,"\u10e8\u10d8"):_+"\u10e8\u10d8"},past:function(_){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(_)?_.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(_)?_.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(_){return 0===_?_:1===_?_+"-\u10da\u10d8":_<20||_<=100&&_%20==0||_%100==0?"\u10db\u10d4-"+_:_+"-\u10d4"},week:{dow:1,doy:7}})}(B(29609))},13978:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};x.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".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:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},19205:function(ge,ke,B){!function(x){"use strict";var w={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},E={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};x.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,k,h){return c<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},week:{dow:1,doy:4}})}(B(29609))},60025:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},E={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};x.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(B(29609))},50427:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\uc77c";case"M":return _+"\uc6d4";case"w":case"W":return _+"\uc8fc";default:return _}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(_){return"\uc624\ud6c4"===_},meridiem:function(_,f,c){return _<12?"\uc624\uc804":"\uc624\ud6c4"}})}(B(29609))},19314:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};x.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".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:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},23136:function(ge,ke,B){!function(x){"use strict";function w(k,h,P,S){var O={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 h?O[P][0]:O[P][1]}function f(k){if(k=parseInt(k,10),isNaN(k))return!1;if(k<0)return!0;if(k<10)return 4<=k&&k<=7;if(k<100){var h=k%10;return f(0===h?k/10:h)}if(k<1e4){for(;k>=10;)k/=10;return f(k)}return f(k/=1e3)}x.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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(k){return f(k.substr(0,k.indexOf(" ")))?"a "+k:"an "+k},past:function(k){return f(k.substr(0,k.indexOf(" ")))?"viru "+k:"virun "+k},s:"e puer Sekonnen",ss:"%d Sekonnen",m:w,mm:"%d Minutten",h:w,hh:"%d Stonnen",d:w,dd:"%d Deeg",M:w,MM:"%d M\xe9int",y:w,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},29115:function(ge,ke,B){!function(x){"use strict";x.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".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:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(_){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===_},meridiem:function(_,f,c){return _<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(_){return"\u0e97\u0eb5\u0ec8"+_}})}(B(29609))},27087:function(ge,ke,B){!function(x){"use strict";var w={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function _(P,S,O,L){return S?c(O)[0]:L?c(O)[1]:c(O)[2]}function f(P){return P%10==0||P>10&&P<20}function c(P){return w[P].split("_")}function k(P,S,O,L){var C=P+" ";return 1===P?C+_(0,S,O[0],L):S?C+(f(P)?c(O)[1]:c(O)[0]):L?C+c(O)[1]:C+(f(P)?c(O)[1]:c(O)[2])}x.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(P,S,O,L){return S?"kelios sekund\u0117s":L?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:k,m:_,mm:k,h:_,hh:k,d:_,dd:k,M:_,MM:k,y:_,yy:k},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(S){return S+"-oji"},week:{dow:1,doy:4}})}(B(29609))},95683:function(ge,ke,B){!function(x){"use strict";var w={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function E(h,P,S){return S?P%10==1&&P%100!=11?h[2]:h[3]:P%10==1&&P%100!=11?h[0]:h[1]}function _(h,P,S){return h+" "+E(w[S],h,P)}function f(h,P,S){return E(w[S],h,P)}x.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(h,P){return P?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:_,m:f,mm:_,h:f,hh:_,d:f,dd:_,M:f,MM:_,y:f,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},79454:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"dan",dd:w.translate,M:"mjesec",MM:w.translate,y:"godinu",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},35507:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_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\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".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\u0113kona ruarua",ss:"%d h\u0113kona",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}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},98466:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(_){var f=_%10,c=_%100;return 0===_?_+"-\u0435\u0432":0===c?_+"-\u0435\u043d":c>10&&c<20?_+"-\u0442\u0438":1===f?_+"-\u0432\u0438":2===f?_+"-\u0440\u0438":7===f||8===f?_+"-\u043c\u0438":_+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(29609))},82933:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(_,f){return 12===_&&(_=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&_>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?_+12:_},meridiem:function(_,f,c){return _<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":_<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":_<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":_<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(B(29609))},19477:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){switch(c){case"s":return f?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return _+(f?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return _+(f?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return _+(f?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return _+(f?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return _+(f?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return _+(f?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return _}}x.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(f){return"\u04ae\u0425"===f},meridiem:function(f,c,k){return f<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,c){switch(c){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(B(29609))},43597:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},E={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function _(c,k,h,P){var S="";if(k)switch(h){case"s":S="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":S="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":S="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":S="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":S="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":S="%d \u0924\u093e\u0938";break;case"d":S="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":S="%d \u0926\u093f\u0935\u0938";break;case"M":S="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":S="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":S="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":S="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":S="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":S="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":S="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":S="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":S="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":S="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":S="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":S="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":S="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":S="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":S="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":S="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return S.replace(/%d/i,c)}x.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return E[h]})},postformat:function(k){return k.replace(/\d/g,function(h){return w[h]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(k,h){return 12===k&&(k=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===h?k<4?k:k+12:"\u0938\u0915\u093e\u0933\u0940"===h?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===h?k>=10?k:k+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h?k+12:void 0},meridiem:function(k,h,P){return k<4?"\u0930\u093e\u0924\u094d\u0930\u0940":k<10?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(B(29609))},99965:function(ge,ke,B){!function(x){"use strict";x.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(_,f){return 12===_&&(_=0),"pagi"===f?_:"tengahari"===f?_>=11?_:_+12:"petang"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"tengahari":_<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}})}(B(29609))},85529:function(ge,ke,B){!function(x){"use strict";x.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(_,f){return 12===_&&(_=0),"pagi"===f?_:"tengahari"===f?_>=11?_:_+12:"petang"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"tengahari":_<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}})}(B(29609))},30259:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".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:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},88061:function(ge,ke,B){!function(x){"use strict";var w={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},E={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};x.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".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:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},week:{dow:1,doy:4}})}(B(29609))},72618:function(ge,ke,B){!function(x){"use strict";x.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\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5r 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\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},28452:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},E={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};x.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===k?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===k?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===k?c+12:void 0},meridiem:function(c,k,h){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(B(29609))},60413:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),E="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^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],f=/^(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;x.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?E[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,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:_,longMonthsParse:_,shortMonthsParse:_,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:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},1885:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),E="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^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],f=/^(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;x.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?E[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,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:_,longMonthsParse:_,shortMonthsParse:_,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:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},45107:function(ge,ke,B){!function(x){"use strict";x.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\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},702:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},E={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};x.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===k?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===k?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(B(29609))},31711:function(ge,ke,B){!function(x){"use strict";var w="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),E="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function _(k){return k%10<5&&k%10>1&&~~(k/10)%10!=1}function f(k,h,P){var S=k+" ";switch(P){case"ss":return S+(_(k)?"sekundy":"sekund");case"m":return h?"minuta":"minut\u0119";case"mm":return S+(_(k)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return S+(_(k)?"godziny":"godzin");case"MM":return S+(_(k)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return S+(_(k)?"lata":"lat")}}x.defineLocale("pl",{months:function(h,P){return h?""===P?"("+E[h.month()]+"|"+w[h.month()]+")":/D MMMM/.test(P)?E[h.month()]:w[h.month()]:w},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:f,m:f,mm:f,h:f,hh:f,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:f,y:"rok",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},58238:function(ge,ke,B){!function(x){"use strict";x.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %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\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(B(29609))},10594:function(ge,ke,B){!function(x){"use strict";x.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %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\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},74681:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var h=" ";return(_%100>=20||_>=100&&_%100==0)&&(h=" de "),_+h+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}x.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\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:w,m:"un minut",mm:w,h:"o or\u0103",hh:w,d:"o zi",dd:w,M:"o lun\u0103",MM:w,y:"un an",yy:w},week:{dow:1,doy:7}})}(B(29609))},16201:function(ge,ke,B){!function(x){"use strict";function E(c,k,h){return"m"===h?k?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":c+" "+function(c,k){var h=c.split("_");return k%10==1&&k%100!=11?h[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?h[1]:h[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[h],+c)}var _=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];x.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:E,m:E,mm:E,h:"\u0447\u0430\u0441",hh:E,d:"\u0434\u0435\u043d\u044c",dd:E,M:"\u043c\u0435\u0441\u044f\u0446",MM:E,y:"\u0433\u043e\u0434",yy:E},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,h,P){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,h){switch(h){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(B(29609))},62912:function(ge,ke,B){!function(x){"use strict";var w=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],E=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];x.defineLocale("sd",{months:w,monthsShort:w,weekdays:E,weekdaysShort:E,weekdaysMin:E,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(29609))},6002:function(ge,ke,B){!function(x){"use strict";x.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},67942:function(ge,ke,B){!function(x){"use strict";x.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,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 [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(_){return _+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(_){return"\u0db4.\u0dc0."===_||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===_},meridiem:function(_,f,c){return _>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(B(29609))},25577:function(ge,ke,B){!function(x){"use strict";var w="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),E="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function _(k){return k>1&&k<5}function f(k,h,P,S){var O=k+" ";switch(P){case"s":return h||S?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||S?O+(_(k)?"sekundy":"sek\xfand"):O+"sekundami";case"m":return h?"min\xfata":S?"min\xfatu":"min\xfatou";case"mm":return h||S?O+(_(k)?"min\xfaty":"min\xfat"):O+"min\xfatami";case"h":return h?"hodina":S?"hodinu":"hodinou";case"hh":return h||S?O+(_(k)?"hodiny":"hod\xedn"):O+"hodinami";case"d":return h||S?"de\u0148":"d\u0148om";case"dd":return h||S?O+(_(k)?"dni":"dn\xed"):O+"d\u0148ami";case"M":return h||S?"mesiac":"mesiacom";case"MM":return h||S?O+(_(k)?"mesiace":"mesiacov"):O+"mesiacmi";case"y":return h||S?"rok":"rokom";case"yy":return h||S?O+(_(k)?"roky":"rokov"):O+"rokmi"}}x.defineLocale("sk",{months:w,monthsShort:E,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},41775:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h=_+" ";switch(c){case"s":return f||k?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===_?f?"sekundo":"sekundi":2===_?f||k?"sekundi":"sekundah":_<5?f||k?"sekunde":"sekundah":"sekund");case"m":return f?"ena minuta":"eno minuto";case"mm":return h+(1===_?f?"minuta":"minuto":2===_?f||k?"minuti":"minutama":_<5?f||k?"minute":"minutami":f||k?"minut":"minutami");case"h":return f?"ena ura":"eno uro";case"hh":return h+(1===_?f?"ura":"uro":2===_?f||k?"uri":"urama":_<5?f||k?"ure":"urami":f||k?"ur":"urami");case"d":return f||k?"en dan":"enim dnem";case"dd":return h+(1===_?f||k?"dan":"dnem":2===_?f||k?"dni":"dnevoma":f||k?"dni":"dnevi");case"M":return f||k?"en mesec":"enim mesecem";case"MM":return h+(1===_?f||k?"mesec":"mesecem":2===_?f||k?"meseca":"mesecema":_<5?f||k?"mesece":"meseci":f||k?"mesecev":"meseci");case"y":return f||k?"eno leto":"enim letom";case"yy":return h+(1===_?f||k?"leto":"letom":2===_?f||k?"leti":"letoma":_<5?f||k?"leta":"leti":f||k?"let":"leti")}}x.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_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_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\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},36823:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(_){return"M"===_.charAt(0)},meridiem:function(_,f,c){return _<12?"PD":"MD"},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:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},83848:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"\u0434\u0430\u043d",dd:w.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:w.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},59038:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"dan",dd:w.translate,M:"mesec",MM:w.translate,y:"godinu",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},96173:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,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:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(_,f,c){return _<11?"ekuseni":_<15?"emini":_<19?"entsambama":"ebusuku"},meridiemHour:function(_,f){return 12===_&&(_=0),"ekuseni"===f?_:"emini"===f?_>=11?_:_+12:"entsambama"===f||"ebusuku"===f?0===_?0:_+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(B(29609))},5788:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(B(29609))},76882:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".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:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(B(29609))},82678:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},E={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};x.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return E[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(c,k,h){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,k){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&c>=10?c:c+12},week:{dow:0,doy:6}})}(B(29609))},82797:function(ge,ke,B){!function(x){"use strict";x.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?_<4?_:_+12:"\u0c09\u0c26\u0c2f\u0c02"===f?_:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?_>=10?_:_+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?_+12:void 0},meridiem:function(_,f,c){return _<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":_<10?"\u0c09\u0c26\u0c2f\u0c02":_<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":_<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(B(29609))},52447:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_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(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},31335:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};x.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(f,c){return 12===f&&(f=0),"\u0448\u0430\u0431"===c?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===c?f:"\u0440\u04ef\u0437"===c?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===c?f+12:void 0},meridiem:function(f,c,k){return f<4?"\u0448\u0430\u0431":f<11?"\u0441\u0443\u0431\u04b3":f<16?"\u0440\u04ef\u0437":f<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},68667:function(ge,ke,B){!function(x){"use strict";x.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(_){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===_},meridiem:function(_,f,c){return _<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(B(29609))},99914:function(ge,ke,B){!function(x){"use strict";x.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(_){return _},week:{dow:1,doy:4}})}(B(29609))},71389:function(ge,ke,B){!function(x){"use strict";var w="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function f(h,P,S,O){var L=function(h){var P=Math.floor(h%1e3/100),S=Math.floor(h%100/10),O=h%10,L="";return P>0&&(L+=w[P]+"vatlh"),S>0&&(L+=(""!==L?" ":"")+w[S]+"maH"),O>0&&(L+=(""!==L?" ":"")+w[O]),""===L?"pagh":L}(h);switch(S){case"ss":return L+" lup";case"mm":return L+" tup";case"hh":return L+" rep";case"dd":return L+" jaj";case"MM":return L+" jar";case"yy":return L+" DIS"}}x.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(h){var P=h;return-1!==h.indexOf("jaj")?P.slice(0,-3)+"leS":-1!==h.indexOf("jar")?P.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?P.slice(0,-3)+"nem":P+" pIq"},past:function(h){var P=h;return-1!==h.indexOf("jaj")?P.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?P.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?P.slice(0,-3)+"ben":P+" ret"},s:"puS lup",ss:f,m:"wa\u2019 tup",mm:f,h:"wa\u2019 rep",hh:f,d:"wa\u2019 jaj",dd:f,M:"wa\u2019 jar",MM:f,y:"wa\u2019 DIS",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},3578:function(ge,ke,B){!function(x){"use strict";var w={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};x.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_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\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(f,c){switch(c){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var k=f%10;return f+(w[k]||w[f%100-k]||w[f>=100?100:null])}},week:{dow:1,doy:7}})}(B(29609))},36969:function(ge,ke,B){!function(x){"use strict";function E(_,f,c,k){var h={s:["viensas secunds","'iensas secunds"],ss:[_+" secunds",_+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[_+" m\xeduts",_+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[_+" \xfeoras",_+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[_+" ziuas",_+" ziuas"],M:["'n mes","'iens mes"],MM:[_+" mesen",_+" mesen"],y:["'n ar","'iens ar"],yy:[_+" ars",_+" ars"]};return k||f?h[c][0]:h[c][1]}x.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(f){return"d'o"===f.toLowerCase()},meridiem:function(f,c,k){return f>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] 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}})}(B(29609))},690:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".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\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(B(29609))},76509:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".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:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(B(29609))},20055:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===f||"\u0633\u06d5\u06be\u06d5\u0631"===f||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===f?_:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?_+12:_>=11?_:_+12},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return _+"-\u06be\u06d5\u067e\u062a\u06d5";default:return _}},preparse:function(_){return _.replace(/\u060c/g,",")},postformat:function(_){return _.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(B(29609))},22452:function(ge,ke,B){!function(x){"use strict";function E(k,h,P){return"m"===P?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===P?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":k+" "+function(k,h){var P=k.split("_");return h%10==1&&h%100!=11?P[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?P[1]:P[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:h?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[P],+k)}function f(k){return function(){return k+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}x.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(k,h){var P={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return k?P[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][k.day()]:P.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:f("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:f("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:f("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:f("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return f("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return f("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:E,m:E,mm:E,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:E,d:"\u0434\u0435\u043d\u044c",dd:E,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:E,y:"\u0440\u0456\u043a",yy:E},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,P,S){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,P){switch(P){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(B(29609))},91151:function(ge,ke,B){!function(x){"use strict";var w=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],E=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];x.defineLocale("ur",{months:w,monthsShort:w,weekdays:E,weekdaysShort:E,weekdaysMin:E,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(29609))},46547:function(ge,ke,B){!function(x){"use strict";x.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}})}(B(29609))},31555:function(ge,ke,B){!function(x){"use strict";x.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(B(29609))},16541:function(ge,ke,B){!function(x){"use strict";x.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(_){return/^ch$/i.test(_)},meridiem:function(_,f,c){return _<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(_){return _},week:{dow:1,doy:4}})}(B(29609))},42401:function(ge,ke,B){!function(x){"use strict";x.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".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~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},2341:function(ge,ke,B){!function(x){"use strict";x.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".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:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(B(29609))},80619:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:_>=11?_:_+12},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u5468";default:return _}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(B(29609))},67058:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e2d\u5348"===f?_>=11?_:_+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:void 0},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u9031";default:return _}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(B(29609))},22782:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e2d\u5348"===f?_>=11?_:_+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:void 0},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u9031";default:return _}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(B(29609))},29609:function(ge,ke,B){(ge=B.nmd(ge)).exports=function(){"use strict";var x,W;function w(){return x.apply(null,arguments)}function _(M){return M instanceof Array||"[object Array]"===Object.prototype.toString.call(M)}function f(M){return null!=M&&"[object Object]"===Object.prototype.toString.call(M)}function k(M){return void 0===M}function h(M){return"number"==typeof M||"[object Number]"===Object.prototype.toString.call(M)}function P(M){return M instanceof Date||"[object Date]"===Object.prototype.toString.call(M)}function S(M,A){var $,z=[];for($=0;$>>0,le=0;le<$;le++)if(le in z&&A.call(this,z[le],le,z))return!0;return!1};var fe=w.momentProperties=[];function te(M,A){var z,$,le;if(k(A._isAMomentObject)||(M._isAMomentObject=A._isAMomentObject),k(A._i)||(M._i=A._i),k(A._f)||(M._f=A._f),k(A._l)||(M._l=A._l),k(A._strict)||(M._strict=A._strict),k(A._tzm)||(M._tzm=A._tzm),k(A._isUTC)||(M._isUTC=A._isUTC),k(A._offset)||(M._offset=A._offset),k(A._pf)||(M._pf=Y(A)),k(A._locale)||(M._locale=A._locale),fe.length>0)for(z=0;z=0?z?"+":"":"-")+Math.pow(10,Math.max(0,A-$.length)).toString().substr(1)+$}var xe=/(\[[^\[]*\])|(\\)?([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,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ct={},ft={};function rt(M,A,z,$){var le=$;"string"==typeof $&&(le=function(){return this[$]()}),M&&(ft[M]=le),A&&(ft[A[0]]=function(){return Le(le.apply(this,arguments),A[1],A[2])}),z&&(ft[z]=function(){return this.localeData().ordinal(le.apply(this,arguments),M)})}function gn(M){return M.match(/\[[\s\S]/)?M.replace(/^\[|\]$/g,""):M.replace(/\\/g,"")}function Rt(M,A){return M.isValid()?(A=Ut(A,M.localeData()),ct[A]=ct[A]||function(M){var z,$,A=M.match(xe);for(z=0,$=A.length;z<$;z++)A[z]=ft[A[z]]?ft[A[z]]:gn(A[z]);return function(le){var je,Oe="";for(je=0;je<$;je++)Oe+=Fe(A[je])?A[je].call(le,M):A[je];return Oe}}(A),ct[A](M)):M.localeData().invalidDate()}function Ut(M,A){var z=5;function $(le){return A.longDateFormat(le)||le}for(Ie.lastIndex=0;z>=0&&Ie.test(M);)M=M.replace(Ie,$),Ie.lastIndex=0,z-=1;return M}var Kn=/\d/,Vn=/\d\d/,ya=/\d{3}/,Ui=/\d{4}/,yr=/[+-]?\d{6}/,qt=/\d\d?/,An=/\d\d\d\d?/,_n=/\d\d\d\d\d\d?/,$e=/\d{1,3}/,pd=/\d{1,4}/,mu=/[+-]?\d{1,6}/,dg=/\d+/,vu=/[+-]?\d+/,md=/Z|[+-]\d\d:?\d\d/gi,gu=/Z|[+-]\d\d(?::?\d\d)?/gi,ul=/[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,vd={};function ot(M,A,z){vd[M]=Fe(A)?A:function($,le){return $&&z?z:A}}function Sn(M,A){return O(vd,M)?vd[M](A._strict,A._locale):new RegExp(function(M){return Jo(M.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(A,z,$,le,Oe){return z||$||le||Oe}))}(M))}function Jo(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var cl={};function yn(M,A){var z,$=A;for("string"==typeof M&&(M=[M]),h(A)&&($=function(Oe,je){je[A]=re(Oe)}),z=0;z68?1900:2e3)};var Xn,yu=bo("FullYear",!0);function bo(M,A){return function(z){return null!=z?(bu(this,M,z),w.updateOffset(this,A),this):Yt(this,M)}}function Yt(M,A){return M.isValid()?M._d["get"+(M._isUTC?"UTC":"")+A]():NaN}function bu(M,A,z){M.isValid()&&!isNaN(z)&&("FullYear"===A&&_u(M.year())&&1===M.month()&&29===M.date()?M._d["set"+(M._isUTC?"UTC":"")+A](z,M.month(),gd(z,M.month())):M._d["set"+(M._isUTC?"UTC":"")+A](z))}function gd(M,A){if(isNaN(M)||isNaN(A))return NaN;var z=function(M,A){return(M%A+A)%A}(A,12);return M+=(A-z)/12,1===z?_u(M)?29:28:31-z%7%2}Xn=Array.prototype.indexOf?Array.prototype.indexOf:function(A){var z;for(z=0;z=0&&isFinite(xt.getFullYear())&&xt.setFullYear(M),xt}function ku(M){var A=new Date(Date.UTC.apply(null,arguments));return M<100&&M>=0&&isFinite(A.getUTCFullYear())&&A.setUTCFullYear(M),A}function yd(M,A,z){var $=7+A-z;return-(7+ku(M,0,$).getUTCDay()-A)%7+$-1}function Ih(M,A,z,$,le){var Jt,or,xt=1+7*(A-1)+(7+z-$)%7+yd(M,$,le);return xt<=0?or=dl(Jt=M-1)+xt:xt>dl(M)?(Jt=M+1,or=xt-dl(M)):(Jt=M,or=xt),{year:Jt,dayOfYear:or}}function Cu(M,A,z){var Oe,je,$=yd(M.year(),A,z),le=Math.floor((M.dayOfYear()-$-1)/7)+1;return le<1?Oe=le+Qo(je=M.year()-1,A,z):le>Qo(M.year(),A,z)?(Oe=le-Qo(M.year(),A,z),je=M.year()+1):(je=M.year(),Oe=le),{week:Oe,year:je}}function Qo(M,A,z){var $=yd(M,A,z),le=yd(M+1,A,z);return(dl(M)-$+le)/7}rt("w",["ww",2],"wo","week"),rt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),be("week",5),be("isoWeek",5),ot("w",qt),ot("ww",qt,Vn),ot("W",qt),ot("WW",qt,Vn),$o(["w","ww","W","WW"],function(M,A,z,$){A[$.substr(0,1)]=re(M)});rt("d",0,"do","day"),rt("dd",0,0,function(M){return this.localeData().weekdaysMin(this,M)}),rt("ddd",0,0,function(M){return this.localeData().weekdaysShort(this,M)}),rt("dddd",0,0,function(M){return this.localeData().weekdays(this,M)}),rt("e",0,0,"weekday"),rt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),be("day",11),be("weekday",11),be("isoWeekday",11),ot("d",qt),ot("e",qt),ot("E",qt),ot("dd",function(M,A){return A.weekdaysMinRegex(M)}),ot("ddd",function(M,A){return A.weekdaysShortRegex(M)}),ot("dddd",function(M,A){return A.weekdaysRegex(M)}),$o(["dd","ddd","dddd"],function(M,A,z,$){var le=z._locale.weekdaysParse(M,$,z._strict);null!=le?A.d=le:Y(z).invalidWeekday=M}),$o(["d","e","E"],function(M,A,z,$){A[$]=re(M)});var kt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var bd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var kg="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Mu(M,A,z){var $,le,Oe,je=M.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Oe=C([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Oe,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Oe,"").toLocaleLowerCase();return z?"dddd"===A?-1!==(le=Xn.call(this._weekdaysParse,je))?le:null:"ddd"===A?-1!==(le=Xn.call(this._shortWeekdaysParse,je))?le:null:-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:"dddd"===A?-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._shortWeekdaysParse,je))||-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:"ddd"===A?-1!==(le=Xn.call(this._shortWeekdaysParse,je))||-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:-1!==(le=Xn.call(this._minWeekdaysParse,je))||-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._shortWeekdaysParse,je))?le:null}var Cd=ul;var Mo=ul;var M0=ul;function Zo(){function M(xi,Sa){return Sa.length-xi.length}var Oe,je,xt,Jt,or,A=[],z=[],$=[],le=[];for(Oe=0;Oe<7;Oe++)je=C([2e3,1]).day(Oe),xt=this.weekdaysMin(je,""),Jt=this.weekdaysShort(je,""),or=this.weekdays(je,""),A.push(xt),z.push(Jt),$.push(or),le.push(xt),le.push(Jt),le.push(or);for(A.sort(M),z.sort(M),$.sort(M),le.sort(M),Oe=0;Oe<7;Oe++)z[Oe]=Jo(z[Oe]),$[Oe]=Jo($[Oe]),le[Oe]=Jo(le[Oe]);this._weekdaysRegex=new RegExp("^("+le.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+A.join("|")+")","i")}function Nh(){return this.hours()%12||12}function zi(M,A){rt(M,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),A)})}function Yh(M,A){return A._meridiemParse}rt("H",["HH",2],0,"hour"),rt("h",["hh",2],0,Nh),rt("k",["kk",2],0,function(){return this.hours()||24}),rt("hmm",0,0,function(){return""+Nh.apply(this)+Le(this.minutes(),2)}),rt("hmmss",0,0,function(){return""+Nh.apply(this)+Le(this.minutes(),2)+Le(this.seconds(),2)}),rt("Hmm",0,0,function(){return""+this.hours()+Le(this.minutes(),2)}),rt("Hmmss",0,0,function(){return""+this.hours()+Le(this.minutes(),2)+Le(this.seconds(),2)}),zi("a",!0),zi("A",!1),de("hour","h"),be("hour",13),ot("a",Yh),ot("A",Yh),ot("H",qt),ot("h",qt),ot("k",qt),ot("HH",qt,Vn),ot("hh",qt,Vn),ot("kk",qt,Vn),ot("hmm",An),ot("hmmss",_n),ot("Hmm",An),ot("Hmmss",_n),yn(["H","HH"],3),yn(["k","kk"],function(M,A,z){var $=re(M);A[3]=24===$?0:$}),yn(["a","A"],function(M,A,z){z._isPm=z._locale.isPM(M),z._meridiem=M}),yn(["h","hh"],function(M,A,z){A[3]=re(M),Y(z).bigHour=!0}),yn("hmm",function(M,A,z){var $=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($)),Y(z).bigHour=!0}),yn("hmmss",function(M,A,z){var $=M.length-4,le=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($,2)),A[5]=re(M.substr(le)),Y(z).bigHour=!0}),yn("Hmm",function(M,A,z){var $=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($))}),yn("Hmmss",function(M,A,z){var $=M.length-4,le=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($,2)),A[5]=re(M.substr(le))});var on,hn=bo("Hours",!0),Dg={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:h0,monthsShort:Tt,week:{dow:0,doy:6},weekdays:kt,weekdaysMin:kg,weekdaysShort:bd,meridiemParse:/[ap]\.?m?\.?/i},Tr={},ka={};function hl(M){return M&&M.toLowerCase().replace("_","-")}function Ls(M){var A=null;if(!Tr[M]&&ge&&ge.exports)try{A=on._abbr,B(46700)("./"+M),Xo(A)}catch($){}return Tr[M]}function Xo(M,A){var z;return M&&((z=k(A)?Wi(M):wd(M,A))?on=z:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+M+" not found. Did you forget to load it?")),on._abbr}function wd(M,A){if(null!==A){var z,$=Dg;if(A.abbr=M,null!=Tr[M])Pe("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."),$=Tr[M]._config;else if(null!=A.parentLocale)if(null!=Tr[A.parentLocale])$=Tr[A.parentLocale]._config;else{if(null==(z=Ls(A.parentLocale)))return ka[A.parentLocale]||(ka[A.parentLocale]=[]),ka[A.parentLocale].push({name:M,config:A}),null;$=z._config}return Tr[M]=new tt(Je($,A)),ka[M]&&ka[M].forEach(function(le){wd(le.name,le.config)}),Xo(M),Tr[M]}return delete Tr[M],null}function Wi(M){var A;if(M&&M._locale&&M._locale._abbr&&(M=M._locale._abbr),!M)return on;if(!_(M)){if(A=Ls(M))return A;M=[M]}return function(M){for(var z,$,le,Oe,A=0;A0;){if(le=Ls(Oe.slice(0,z).join("-")))return le;if($&&$.length>=z&&se(Oe,$,!0)>=z-1)break;z--}A++}return on}(M)}function Ke(M){var A,z=M._a;return z&&-2===Y(M).overflow&&(A=z[1]<0||z[1]>11?1:z[2]<1||z[2]>gd(z[0],z[1])?2:z[3]<0||z[3]>24||24===z[3]&&(0!==z[4]||0!==z[5]||0!==z[6])?3:z[4]<0||z[4]>59?4:z[5]<0||z[5]>59?5:z[6]<0||z[6]>999?6:-1,Y(M)._overflowDayOfYear&&(A<0||A>2)&&(A=2),Y(M)._overflowWeeks&&-1===A&&(A=7),Y(M)._overflowWeekday&&-1===A&&(A=8),Y(M).overflow=A),M}function So(M,A,z){return null!=M?M:null!=A?A:z}function wu(M){var A,z,le,Oe,je,$=[];if(!M._d){for(le=function(M){var A=new Date(w.now());return M._useUTC?[A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()]:[A.getFullYear(),A.getMonth(),A.getDate()]}(M),M._w&&null==M._a[2]&&null==M._a[1]&&function(M){var A,z,$,le,Oe,je,xt,Jt;if(null!=(A=M._w).GG||null!=A.W||null!=A.E)Oe=1,je=4,z=So(A.GG,M._a[0],Cu(Fn(),1,4).year),$=So(A.W,1),((le=So(A.E,1))<1||le>7)&&(Jt=!0);else{Oe=M._locale._week.dow,je=M._locale._week.doy;var or=Cu(Fn(),Oe,je);z=So(A.gg,M._a[0],or.year),$=So(A.w,or.week),null!=A.d?((le=A.d)<0||le>6)&&(Jt=!0):null!=A.e?(le=A.e+Oe,(A.e<0||A.e>6)&&(Jt=!0)):le=Oe}$<1||$>Qo(z,Oe,je)?Y(M)._overflowWeeks=!0:null!=Jt?Y(M)._overflowWeekday=!0:(xt=Ih(z,$,le,Oe,je),M._a[0]=xt.year,M._dayOfYear=xt.dayOfYear)}(M),null!=M._dayOfYear&&(je=So(M._a[0],le[0]),(M._dayOfYear>dl(je)||0===M._dayOfYear)&&(Y(M)._overflowDayOfYear=!0),z=ku(je,0,M._dayOfYear),M._a[1]=z.getUTCMonth(),M._a[2]=z.getUTCDate()),A=0;A<3&&null==M._a[A];++A)M._a[A]=$[A]=le[A];for(;A<7;A++)M._a[A]=$[A]=null==M._a[A]?2===A?1:0:M._a[A];24===M._a[3]&&0===M._a[4]&&0===M._a[5]&&0===M._a[6]&&(M._nextDay=!0,M._a[3]=0),M._d=(M._useUTC?ku:g0).apply(null,$),Oe=M._useUTC?M._d.getUTCDay():M._d.getDay(),null!=M._tzm&&M._d.setUTCMinutes(M._d.getUTCMinutes()-M._tzm),M._nextDay&&(M._a[3]=24),M._w&&void 0!==M._w.d&&M._w.d!==Oe&&(Y(M).weekdayMismatch=!0)}}var Ct=/^\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)?)?$/,Lg=/^\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)?)?$/,Bh=/Z|[+-]\d\d(?::?\d\d)?/,Ve=[["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}/]],Dr=[["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/]],Xr=/^\/?Date\((\-?\d+)/i;function Wa(M){var A,z,Oe,je,xt,Jt,$=M._i,le=Ct.exec($)||Lg.exec($);if(le){for(Y(M).iso=!0,A=0,z=Ve.length;A0&&Y(M).unusedInput.push(je),A=A.slice(A.indexOf($)+$.length),Jt+=$.length),ft[Oe]?($?Y(M).empty=!1:Y(M).unusedTokens.push(Oe),wi(Oe,$,M)):M._strict&&!$&&Y(M).unusedTokens.push(Oe);Y(M).charsLeftOver=xt-Jt,A.length>0&&Y(M).unusedInput.push(A),M._a[3]<=12&&!0===Y(M).bigHour&&M._a[3]>0&&(Y(M).bigHour=void 0),Y(M).parsedDateParts=M._a.slice(0),Y(M).meridiem=M._meridiem,M._a[3]=function(M,A,z){var $;return null==z?A:null!=M.meridiemHour?M.meridiemHour(A,z):(null!=M.isPM&&(($=M.isPM(z))&&A<12&&(A+=12),!$&&12===A&&(A=0)),A)}(M._locale,M._a[3],M._meridiem),wu(M),Ke(M)}else fi(M);else Wa(M)}function Ft(M){var A=M._i,z=M._f;return M._locale=M._locale||Wi(M._l),null===A||void 0===z&&""===A?ae({nullInput:!0}):("string"==typeof A&&(M._i=A=M._locale.preparse(A)),ne(A)?new ce(Ke(A)):(P(A)?M._d=A:_(z)?function(M){var A,z,$,le,Oe;if(0===M._f.length)return Y(M).invalidFormat=!0,void(M._d=new Date(NaN));for(le=0;lethis?this:M:ae()});function xs(M,A){var z,$;if(1===A.length&&_(A[0])&&(A=A[0]),!A.length)return Fn();for(z=A[0],$=1;$(Oe=Qo(M,$,le))&&(A=Oe),Zh.call(this,M,A,z,$,le))}function Zh(M,A,z,$,le){var Oe=Ih(M,A,z,$,le),je=ku(Oe.year,0,Oe.dayOfYear);return this.year(je.getUTCFullYear()),this.month(je.getUTCMonth()),this.date(je.getUTCDate()),this}rt(0,["gg",2],0,function(){return this.weekYear()%100}),rt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qa("gggg","weekYear"),qa("ggggg","weekYear"),qa("GGGG","isoWeekYear"),qa("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),be("weekYear",1),be("isoWeekYear",1),ot("G",vu),ot("g",vu),ot("GG",qt,Vn),ot("gg",qt,Vn),ot("GGGG",pd,Ui),ot("gggg",pd,Ui),ot("GGGGG",mu,yr),ot("ggggg",mu,yr),$o(["gggg","ggggg","GGGG","GGGGG"],function(M,A,z,$){A[$.substr(0,2)]=re(M)}),$o(["gg","GG"],function(M,A,z,$){A[$]=w.parseTwoDigitYear(M)}),rt("Q",0,"Qo","quarter"),de("quarter","Q"),be("quarter",7),ot("Q",Kn),yn("Q",function(M,A){A[1]=3*(re(M)-1)}),rt("D",["DD",2],"Do","date"),de("date","D"),be("date",9),ot("D",qt),ot("DD",qt,Vn),ot("Do",function(M,A){return M?A._dayOfMonthOrdinalParse||A._ordinalParse:A._dayOfMonthOrdinalParseLenient}),yn(["D","DD"],2),yn("Do",function(M,A){A[2]=re(M.match(qt)[0])});var Mt=bo("Date",!0);rt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),be("dayOfYear",4),ot("DDD",$e),ot("DDDD",ya),yn(["DDD","DDDD"],function(M,A,z){z._dayOfYear=re(M)}),rt("m",["mm",2],0,"minute"),de("minute","m"),be("minute",14),ot("m",qt),ot("mm",qt,Vn),yn(["m","mm"],4);var Kg=bo("Minutes",!1);rt("s",["ss",2],0,"second"),de("second","s"),be("second",15),ot("s",qt),ot("ss",qt,Vn),yn(["s","ss"],5);var Do,Jg=bo("Seconds",!1);for(rt("S",0,0,function(){return~~(this.millisecond()/100)}),rt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),rt(0,["SSS",3],0,"millisecond"),rt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),rt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),rt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),rt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),rt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),rt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),be("millisecond",16),ot("S",$e,Kn),ot("SS",$e,Vn),ot("SSS",$e,ya),Do="SSSS";Do.length<=9;Do+="S")ot(Do,dg);function Xh(M,A){A[6]=re(1e3*("0."+M))}for(Do="S";Do.length<=9;Do+="S")yn(Do,Xh);var $g=bo("Milliseconds",!1);rt("z",0,0,"zoneAbbr"),rt("zz",0,0,"zoneName");var Ye=ce.prototype;function xd(M){return M}Ye.add=x0,Ye.calendar=function(M,A){var z=M||Fn(),$=Ei(z,this).startOf("day"),le=w.calendarFormat(this,$)||"sameElse",Oe=A&&(Fe(A[le])?A[le].call(this,z):A[le]);return this.format(Oe||this.localeData().calendar(le,this,Fn(z)))},Ye.clone=function(){return new ce(this)},Ye.diff=function(M,A,z){var $,le,Oe;if(!this.isValid())return NaN;if(!($=Ei(M,this)).isValid())return NaN;switch(le=6e4*($.utcOffset()-this.utcOffset()),A=ve(A)){case"year":Oe=Dd(this,$)/12;break;case"month":Oe=Dd(this,$);break;case"quarter":Oe=Dd(this,$)/3;break;case"second":Oe=(this-$)/1e3;break;case"minute":Oe=(this-$)/6e4;break;case"hour":Oe=(this-$)/36e5;break;case"day":Oe=(this-$-le)/864e5;break;case"week":Oe=(this-$-le)/6048e5;break;default:Oe=this-$}return z?Oe:Z(Oe)},Ye.endOf=function(M){return void 0===(M=ve(M))||"millisecond"===M?this:("date"===M&&(M="day"),this.startOf(M).add(1,"isoWeek"===M?"week":M).subtract(1,"ms"))},Ye.format=function(M){M||(M=this.isUtc()?w.defaultFormatUtc:w.defaultFormat);var A=Rt(this,M);return this.localeData().postformat(A)},Ye.from=function(M,A){return this.isValid()&&(ne(M)&&M.isValid()||Fn(M).isValid())?Ca({to:this,from:M}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},Ye.fromNow=function(M){return this.from(Fn(),M)},Ye.to=function(M,A){return this.isValid()&&(ne(M)&&M.isValid()||Fn(M).isValid())?Ca({from:this,to:M}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},Ye.toNow=function(M){return this.to(Fn(),M)},Ye.get=function(M){return Fe(this[M=ve(M)])?this[M]():this},Ye.invalidAt=function(){return Y(this).overflow},Ye.isAfter=function(M,A){var z=ne(M)?M:Fn(M);return!(!this.isValid()||!z.isValid())&&("millisecond"===(A=ve(k(A)?"millisecond":A))?this.valueOf()>z.valueOf():z.valueOf()9999?Rt(z,A?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Fe(Date.prototype.toISOString)?A?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Rt(z,"Z")):Rt(z,A?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ye.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var M="moment",A="";this.isLocal()||(M=0===this.utcOffset()?"moment.utc":"moment.parseZone",A="Z");var z="["+M+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(z+$+"-MM-DD[T]HH:mm:ss.SSS"+A+'[")]')},Ye.toJSON=function(){return this.isValid()?this.toISOString():null},Ye.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ye.unix=function(){return Math.floor(this.valueOf()/1e3)},Ye.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ye.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ye.year=yu,Ye.isLeapYear=function(){return _u(this.year())},Ye.weekYear=function(M){return Ka.call(this,M,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ye.isoWeekYear=function(M){return Ka.call(this,M,this.isoWeek(),this.isoWeekday(),1,4)},Ye.quarter=Ye.quarters=function(M){return null==M?Math.ceil((this.month()+1)/3):this.month(3*(M-1)+this.month()%3)},Ye.month=fl,Ye.daysInMonth=function(){return gd(this.year(),this.month())},Ye.week=Ye.weeks=function(M){var A=this.localeData().week(this);return null==M?A:this.add(7*(M-A),"d")},Ye.isoWeek=Ye.isoWeeks=function(M){var A=Cu(this,1,4).week;return null==M?A:this.add(7*(M-A),"d")},Ye.weeksInYear=function(){var M=this.localeData()._week;return Qo(this.year(),M.dow,M.doy)},Ye.isoWeeksInYear=function(){return Qo(this.year(),1,4)},Ye.date=Mt,Ye.day=Ye.days=function(M){if(!this.isValid())return null!=M?this:NaN;var A=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=M?(M=function(M,A){return"string"!=typeof M?M:isNaN(M)?"number"==typeof(M=A.weekdaysParse(M))?M:null:parseInt(M,10)}(M,this.localeData()),this.add(M-A,"d")):A},Ye.weekday=function(M){if(!this.isValid())return null!=M?this:NaN;var A=(this.day()+7-this.localeData()._week.dow)%7;return null==M?A:this.add(M-A,"d")},Ye.isoWeekday=function(M){if(!this.isValid())return null!=M?this:NaN;if(null!=M){var A=function(M,A){return"string"==typeof M?A.weekdaysParse(M)%7||7:isNaN(M)?null:M}(M,this.localeData());return this.day(this.day()%7?A:A-7)}return this.day()||7},Ye.dayOfYear=function(M){var A=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==M?A:this.add(M-A,"d")},Ye.hour=Ye.hours=hn,Ye.minute=Ye.minutes=Kg,Ye.second=Ye.seconds=Jg,Ye.millisecond=Ye.milliseconds=$g,Ye.utcOffset=function(M,A,z){var le,$=this._offset||0;if(!this.isValid())return null!=M?this:NaN;if(null!=M){if("string"==typeof M){if(null===(M=Ki(gu,M)))return this}else Math.abs(M)<16&&!z&&(M*=60);return!this._isUTC&&A&&(le=vl(this)),this._offset=M,this._isUTC=!0,null!=le&&this.add(le,"m"),$!==M&&(!A||this._changeInProgress?Hg(this,Ca(M-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,w.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:vl(this)},Ye.utc=function(M){return this.utcOffset(0,M)},Ye.local=function(M){return this._isUTC&&(this.utcOffset(0,M),this._isUTC=!1,M&&this.subtract(vl(this),"m")),this},Ye.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var M=Ki(md,this._i);null!=M?this.utcOffset(M):this.utcOffset(0,!0)}return this},Ye.hasAlignedHourOffset=function(M){return!!this.isValid()&&(M=M?Fn(M).utcOffset():0,(this.utcOffset()-M)%60==0)},Ye.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ye.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ye.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ye.isUtc=Fg,Ye.isUTC=Fg,Ye.zoneAbbr=function(){return this._isUTC?"UTC":""},Ye.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ye.dates=ee("dates accessor is deprecated. Use date instead.",Mt),Ye.months=ee("months accessor is deprecated. Use month instead",fl),Ye.years=ee("years accessor is deprecated. Use year instead",yu),Ye.zone=ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(M,A){return null!=M?("string"!=typeof M&&(M=-M),this.utcOffset(M,A),this):-this.utcOffset()}),Ye.isDSTShifted=ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!k(this._isDSTShifted))return this._isDSTShifted;var M={};if(te(M,this),(M=Ft(M))._a){var A=M._isUTC?C(M._a):Fn(M._a);this._isDSTShifted=this.isValid()&&se(M._a,A.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=tt.prototype;function Pi(M,A,z,$){var le=Wi(),Oe=C().set($,A);return le[z](Oe,M)}function xu(M,A,z){if(h(M)&&(A=M,M=void 0),M=M||"",null!=A)return Pi(M,A,z,"month");var $,le=[];for($=0;$<12;$++)le[$]=Pi(M,$,z,"month");return le}function gl(M,A,z,$){"boolean"==typeof M?(h(A)&&(z=A,A=void 0),A=A||""):(z=A=M,M=!1,h(A)&&(z=A,A=void 0),A=A||"");var le=Wi(),Oe=M?le._week.dow:0;if(null!=z)return Pi(A,(z+Oe)%7,$,"day");var je,xt=[];for(je=0;je<7;je++)xt[je]=Pi(A,(je+Oe)%7,$,"day");return xt}pn.calendar=function(M,A,z){var $=this._calendar[M]||this._calendar.sameElse;return Fe($)?$.call(A,z):$},pn.longDateFormat=function(M){var A=this._longDateFormat[M],z=this._longDateFormat[M.toUpperCase()];return A||!z?A:(this._longDateFormat[M]=z.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[M])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(M){return this._ordinal.replace("%d",M)},pn.preparse=xd,pn.postformat=xd,pn.relativeTime=function(M,A,z,$){var le=this._relativeTime[z];return Fe(le)?le(M,A,z,$):le.replace(/%d/i,M)},pn.pastFuture=function(M,A){var z=this._relativeTime[M>0?"future":"past"];return Fe(z)?z(A):z.replace(/%s/i,A)},pn.set=function(M){var A,z;for(z in M)Fe(A=M[z])?this[z]=A:this["_"+z]=A;this._config=M,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},pn.months=function(M,A){return M?_(this._months)?this._months[M.month()]:this._months[(this._months.isFormat||ko).test(A)?"format":"standalone"][M.month()]:_(this._months)?this._months:this._months.standalone},pn.monthsShort=function(M,A){return M?_(this._monthsShort)?this._monthsShort[M.month()]:this._monthsShort[ko.test(A)?"format":"standalone"][M.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(M,A,z){var $,le,Oe;if(this._monthsParseExact)return vg.call(this,M,A,z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(le=C([2e3,$]),z&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(le,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(le,"").replace(".","")+"$","i")),!z&&!this._monthsParse[$]&&(Oe="^"+this.months(le,"")+"|^"+this.monthsShort(le,""),this._monthsParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"MMMM"===A&&this._longMonthsParse[$].test(M))return $;if(z&&"MMM"===A&&this._shortMonthsParse[$].test(M))return $;if(!z&&this._monthsParse[$].test(M))return $}},pn.monthsRegex=function(M){return this._monthsParseExact?(O(this,"_monthsRegex")||yg.call(this),M?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=v0),this._monthsStrictRegex&&M?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(M){return this._monthsParseExact?(O(this,"_monthsRegex")||yg.call(this),M?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=m0),this._monthsShortStrictRegex&&M?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(M){return Cu(M,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(M,A){return M?_(this._weekdays)?this._weekdays[M.day()]:this._weekdays[this._weekdays.isFormat.test(A)?"format":"standalone"][M.day()]:_(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(M){return M?this._weekdaysMin[M.day()]:this._weekdaysMin},pn.weekdaysShort=function(M){return M?this._weekdaysShort[M.day()]:this._weekdaysShort},pn.weekdaysParse=function(M,A,z){var $,le,Oe;if(this._weekdaysParseExact)return Mu.call(this,M,A,z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(le=C([2e3,1]).day($),z&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(le,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(le,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(le,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Oe="^"+this.weekdays(le,"")+"|^"+this.weekdaysShort(le,"")+"|^"+this.weekdaysMin(le,""),this._weekdaysParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"dddd"===A&&this._fullWeekdaysParse[$].test(M))return $;if(z&&"ddd"===A&&this._shortWeekdaysParse[$].test(M))return $;if(z&&"dd"===A&&this._minWeekdaysParse[$].test(M))return $;if(!z&&this._weekdaysParse[$].test(M))return $}},pn.weekdaysRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=Cd),this._weekdaysStrictRegex&&M?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Mo),this._weekdaysShortStrictRegex&&M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=M0),this._weekdaysMinStrictRegex&&M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(M){return"p"===(M+"").toLowerCase().charAt(0)},pn.meridiem=function(M,A,z){return M>11?z?"pm":"PM":z?"am":"AM"},Xo("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var z=A%10;return A+(1===re(A%100/10)?"th":1===z?"st":2===z?"nd":3===z?"rd":"th")}}),w.lang=ee("moment.lang is deprecated. Use moment.locale instead.",Xo),w.langData=ee("moment.langData is deprecated. Use moment.localeData instead.",Wi);var Er=Math.abs;function as(M,A,z,$){var le=Ca(A,z);return M._milliseconds+=$*le._milliseconds,M._days+=$*le._days,M._months+=$*le._months,M._bubble()}function Id(M){return M<0?Math.floor(M):Math.ceil(M)}function tp(M){return 4800*M/146097}function _l(M){return 146097*M/4800}function Ma(M){return function(){return this.as(M)}}var t_=Ma("ms"),rp=Ma("s"),Ru=Ma("m"),ip=Ma("h"),ap=Ma("d"),op=Ma("w"),sp=Ma("M"),Fu=Ma("y");function ar(M){return function(){return this.isValid()?this._data[M]:NaN}}var Eo=ar("milliseconds"),tr=ar("seconds"),wa=ar("minutes"),i_=ar("hours"),Rd=ar("days"),a_=ar("months"),o_=ar("years");var ua=Math.round,Oi={ss:44,s:45,m:45,h:22,d:26,M:11};function Nu(M,A,z,$,le){return le.relativeTime(A||1,!!z,M,$)}var os=Math.abs;function Fs(M){return(M>0)-(M<0)||+M}function Yu(){if(!this.isValid())return this.localeData().invalidDate();var $,le,M=os(this._milliseconds)/1e3,A=os(this._days),z=os(this._months);$=Z(M/60),le=Z($/60),M%=60,$%=60;var je=Z(z/12),xt=z%=12,Jt=A,or=le,xi=$,Sa=M?M.toFixed(3).replace(/\.?0+$/,""):"",yl=this.asSeconds();if(!yl)return"P0D";var Ns=yl<0?"-":"",Hu=Fs(this._months)!==Fs(yl)?"-":"",Vu=Fs(this._days)!==Fs(yl)?"-":"",Nd=Fs(this._milliseconds)!==Fs(yl)?"-":"";return Ns+"P"+(je?Hu+je+"Y":"")+(xt?Hu+xt+"M":"")+(Jt?Vu+Jt+"D":"")+(or||xi||Sa?"T":"")+(or?Nd+or+"H":"")+(xi?Nd+xi+"M":"")+(Sa?Nd+Sa+"S":"")}var Wt=To.prototype;return Wt.isValid=function(){return this._isValid},Wt.abs=function(){var M=this._data;return this._milliseconds=Er(this._milliseconds),this._days=Er(this._days),this._months=Er(this._months),M.milliseconds=Er(M.milliseconds),M.seconds=Er(M.seconds),M.minutes=Er(M.minutes),M.hours=Er(M.hours),M.months=Er(M.months),M.years=Er(M.years),this},Wt.add=function(M,A){return as(this,M,A,1)},Wt.subtract=function(M,A){return as(this,M,A,-1)},Wt.as=function(M){if(!this.isValid())return NaN;var A,z,$=this._milliseconds;if("month"===(M=ve(M))||"year"===M)return z=this._months+tp(A=this._days+$/864e5),"month"===M?z:z/12;switch(A=this._days+Math.round(_l(this._months)),M){case"week":return A/7+$/6048e5;case"day":return A+$/864e5;case"hour":return 24*A+$/36e5;case"minute":return 1440*A+$/6e4;case"second":return 86400*A+$/1e3;case"millisecond":return Math.floor(864e5*A)+$;default:throw new Error("Unknown unit "+M)}},Wt.asMilliseconds=t_,Wt.asSeconds=rp,Wt.asMinutes=Ru,Wt.asHours=ip,Wt.asDays=ap,Wt.asWeeks=op,Wt.asMonths=sp,Wt.asYears=Fu,Wt.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*re(this._months/12):NaN},Wt._bubble=function(){var le,Oe,je,xt,Jt,M=this._milliseconds,A=this._days,z=this._months,$=this._data;return M>=0&&A>=0&&z>=0||M<=0&&A<=0&&z<=0||(M+=864e5*Id(_l(z)+A),A=0,z=0),$.milliseconds=M%1e3,le=Z(M/1e3),$.seconds=le%60,Oe=Z(le/60),$.minutes=Oe%60,je=Z(Oe/60),$.hours=je%24,A+=Z(je/24),z+=Jt=Z(tp(A)),A-=Id(_l(Jt)),xt=Z(z/12),z%=12,$.days=A,$.months=z,$.years=xt,this},Wt.clone=function(){return Ca(this)},Wt.get=function(M){return M=ve(M),this.isValid()?this[M+"s"]():NaN},Wt.milliseconds=Eo,Wt.seconds=tr,Wt.minutes=wa,Wt.hours=i_,Wt.days=Rd,Wt.weeks=function(){return Z(this.days()/7)},Wt.months=a_,Wt.years=o_,Wt.humanize=function(M){if(!this.isValid())return this.localeData().invalidDate();var A=this.localeData(),z=function(M,A,z){var $=Ca(M).abs(),le=ua($.as("s")),Oe=ua($.as("m")),je=ua($.as("h")),xt=ua($.as("d")),Jt=ua($.as("M")),or=ua($.as("y")),xi=le<=Oi.ss&&["s",le]||le0,xi[4]=z,Nu.apply(null,xi)}(this,!M,A);return M&&(z=A.pastFuture(+this,z)),A.postformat(z)},Wt.toISOString=Yu,Wt.toString=Yu,Wt.toJSON=Yu,Wt.locale=Lu,Wt.localeData=Pu,Wt.toIsoString=ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yu),Wt.lang=Jh,rt("X",0,0,"unix"),rt("x",0,0,"valueOf"),ot("x",vu),ot("X",/[+-]?\d+(\.\d{1,3})?/),yn("X",function(M,A,z){z._d=new Date(1e3*parseFloat(M,10))}),yn("x",function(M,A,z){z._d=new Date(re(M))}),w.version="2.22.2",x=Fn,w.fn=Ye,w.min=function(){return xs("isBefore",[].slice.call(arguments,0))},w.max=function(){return xs("isAfter",[].slice.call(arguments,0))},w.now=function(){return Date.now?Date.now():+new Date},w.utc=C,w.unix=function(M){return Fn(1e3*M)},w.months=function(M,A){return xu(M,A,"months")},w.isDate=P,w.locale=Xo,w.invalid=ae,w.duration=Ca,w.isMoment=ne,w.weekdays=function(M,A,z){return gl(M,A,z,"weekdays")},w.parseZone=function(){return Fn.apply(null,arguments).parseZone()},w.localeData=Wi,w.isDuration=As,w.monthsShort=function(M,A){return xu(M,A,"monthsShort")},w.weekdaysMin=function(M,A,z){return gl(M,A,z,"weekdaysMin")},w.defineLocale=wd,w.updateLocale=function(M,A){if(null!=A){var z,$,le=Dg;null!=($=Ls(M))&&(le=$._config),(z=new tt(A=Je(le,A))).parentLocale=Tr[M],Tr[M]=z,Xo(M)}else null!=Tr[M]&&(null!=Tr[M].parentLocale?Tr[M]=Tr[M].parentLocale:null!=Tr[M]&&delete Tr[M]);return Tr[M]},w.locales=function(){return He(Tr)},w.weekdaysShort=function(M,A,z){return gl(M,A,z,"weekdaysShort")},w.normalizeUnits=ve,w.relativeTimeRounding=function(M){return void 0===M?ua:"function"==typeof M&&(ua=M,!0)},w.relativeTimeThreshold=function(M,A){return void 0!==Oi[M]&&(void 0===A?Oi[M]:(Oi[M]=A,"s"===M&&(Oi.ss=A-1),!0))},w.calendarFormat=function(M,A){var z=M.diff(A,"days",!0);return z<-6?"sameElse":z<-1?"lastWeek":z<0?"lastDay":z<1?"sameDay":z<2?"nextDay":z<7?"nextWeek":"sameElse"},w.prototype=Ye,w.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"},w}()},50329:function(ge,ke,B){"use strict";function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function E(e,i,t){return(E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(a,o,s){var l=function(e,i){for(;!Object.prototype.hasOwnProperty.call(e,i)&&null!==(e=x(e)););return e}(a,o);if(l){var u=Object.getOwnPropertyDescriptor(l,o);return u.get?u.get.call(s):u.value}})(e,i,t||e)}function _(e,i){for(var t=0;te.length)&&(i=e.length);for(var t=0,n=new Array(i);t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(d){throw d},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var d=t.next();return o=d.done,d},e:function(d){s=!0,l=d},f:function(){try{!o&&null!=t.return&&t.return()}finally{if(s)throw l}}}}function te(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var s,l,n=[],a=!0,o=!1;try{for(t=t.call(e);!(a=(s=t.next()).done)&&(n.push(s.value),!i||n.length!==i);a=!0);}catch(u){o=!0,l=u}finally{try{!a&&null!=t.return&&t.return()}finally{if(o)throw l}}return n}}(e,i)||Y(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function se(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(e,i,t){return(ue=P()?Reflect.construct:function(a,o,s){var l=[null];l.push.apply(l,o);var d=new(Function.bind.apply(a,l));return s&&k(d,s.prototype),d}).apply(null,arguments)}function Ee(e){var i="function"==typeof Map?new Map:void 0;return(Ee=function(n){if(null===n||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(n))return i.get(n);i.set(n,a)}function a(){return ue(n,arguments,x(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),k(a,n)})(e)}var Pe=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function Fe(e){return null!==e&&"object"==typeof e}function Be(e){return"function"==typeof e}var tt=function(){function e(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(t,n){return"".concat(n+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=i,this}return e.prototype=Object.create(Error.prototype),e}(),He=function(){var i,e=function(){function i(t){c(this,i),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return f(i,[{key:"unsubscribe",value:function(){var n;if(!this.closed){var a=this._parentOrParents,o=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof i)a.remove(this);else if(null!==a)for(var l=0;l4&&void 0!==arguments[4]?arguments[4]:new rt(e,t,n);if(!a.closed)return i instanceof me?i.subscribe(a):qt(i)(a)}var _n=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"notifyNext",value:function(a,o,s,l,u){this.destination.next(o)}},{key:"notifyError",value:function(a,o){this.destination.error(a)}},{key:"notifyComplete",value:function(a){this.destination.complete()}}]),t}(St);function $e(e,i){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new pd(e,i))}}var pd=function(){function e(i,t){c(this,e),this.project=i,this.thisArg=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new mu(t,this.project,this.thisArg))}}]),e}(),mu=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).project=a,s.count=0,s.thisArg=o||O(s),s}return f(t,[{key:"_next",value:function(a){var o;try{o=this.project.call(this.thisArg,a,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(o)}}]),t}(St);function md(e,i){return new me(function(t){var n=new He,a=0;return n.add(i.schedule(function(){a!==e.length?(t.next(e[a++]),t.closed||n.add(this.schedule())):t.complete()})),n})}function ot(e,i){return i?function(e,i){if(null!=e){if(function(e){return e&&"function"==typeof e[ie]}(e))return function(e,i){return new me(function(t){var n=new He;return n.add(i.schedule(function(){var a=e[ie]();n.add(a.subscribe({next:function(s){n.add(i.schedule(function(){return t.next(s)}))},error:function(s){n.add(i.schedule(function(){return t.error(s)}))},complete:function(){n.add(i.schedule(function(){return t.complete()}))}}))})),n})}(e,i);if(yr(e))return function(e,i){return new me(function(t){var n=new He;return n.add(i.schedule(function(){return e.then(function(a){n.add(i.schedule(function(){t.next(a),n.add(i.schedule(function(){return t.complete()}))}))},function(a){n.add(i.schedule(function(){return t.error(a)}))})})),n})}(e,i);if(Ui(e))return md(e,i);if(function(e){return e&&"function"==typeof e[Ut]}(e)||"string"==typeof e)return function(e,i){if(!e)throw new Error("Iterable cannot be null");return new me(function(t){var a,n=new He;return n.add(function(){a&&"function"==typeof a.return&&a.return()}),n.add(i.schedule(function(){a=e[Ut](),n.add(i.schedule(function(){if(!t.closed){var o,s;try{var l=a.next();o=l.value,s=l.done}catch(u){return void t.error(u)}s?t.complete():(t.next(o),this.schedule())}}))})),n})}(e,i)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,i):e instanceof me?e:new me(qt(e))}function Sn(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(n){return n.pipe(Sn(function(a,o){return ot(e(a,o)).pipe($e(function(s,l){return i(a,s,o,l)}))},t))}:("number"==typeof i&&(t=i),function(n){return n.lift(new hg(e,t))})}var hg=function(){function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;c(this,e),this.project=i,this.concurrent=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Jo(t,this.project,this.concurrent))}}]),e}(),Jo=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return c(this,t),(o=i.call(this,n)).project=a,o.concurrent=s,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return f(t,[{key:"_next",value:function(a){this.active0?this._next(o.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(_n);function cl(e){return e}function yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Sn(cl,e)}function $o(e,i){return i?md(e,i):new me(gn(e))}function wi(){for(var e=Number.POSITIVE_INFINITY,i=null,t=arguments.length,n=new Array(t),a=0;a1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof o&&(e=n.pop()),null===i&&1===n.length&&n[0]instanceof me?n[0]:yn(e)($o(n,i))}function Si(){return function(i){return i.lift(new Ba(i))}}var Ba=function(){function e(i){c(this,e),this.connectable=i}return f(e,[{key:"call",value:function(t,n){var a=this.connectable;a._refCount++;var o=new ba(t,a),s=n.subscribe(o);return o.closed||(o.connection=a.connect()),s}}]),e}(),ba=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).connectable=a,o}return f(t,[{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._refCount;if(o<=0)this.connection=null;else if(a._refCount=o-1,o>1)this.connection=null;else{var s=this.connection,l=a._connection;this.connection=null,l&&(!s||l===s)&&l.unsubscribe()}}else this.connection=null}}]),t}(St),fr=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).source=n,o.subjectFactory=a,o._refCount=0,o._isComplete=!1,o}return f(t,[{key:"_subscribe",value:function(a){return this.getSubject().subscribe(a)}},{key:"getSubject",value:function(){var a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var a=this._connection;return a||(this._isComplete=!1,(a=this._connection=new He).add(this.source.subscribe(new ja(this.getSubject(),this))),a.closed&&(this._connection=null,a=He.EMPTY)),a}},{key:"refCount",value:function(){return Si()(this)}}]),t}(me),oa=function(){var e=fr.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),ja=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).connectable=a,o}return f(t,[{key:"_error",value:function(a){this._unsubscribe(),E(x(t.prototype),"_error",this).call(this,a)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),E(x(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._connection;a._refCount=0,a._subject=null,a._connection=null,o&&o.unsubscribe()}}}]),t}(xe);function _u(){return new Ie}function yu(){return function(e){return Si()(function(e,i){return function(n){var a;a="function"==typeof e?e:function(){return e};var o=Object.create(n,oa);return o.source=n,o.subjectFactory=a,o}}(_u)(e))}}function cn(e){for(var i in e)if(e[i]===cn)return i;throw Error("Could not find renamed property on target object.")}function bo(e,i){for(var t in i)i.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=i[t])}function Yt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Yt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var i=e.toString();if(null==i)return""+i;var t=i.indexOf("\n");return-1===t?i:i.substring(0,t)}function bu(e,i){return null==e||""===e?null===i?"":i:null==i||""===i?e:e+" "+i}var mg=cn({__forward_ref__:cn});function fn(e){return e.__forward_ref__=fn,e.toString=function(){return Yt(this())},e}function yt(e){return Xn(e)?e():e}function Xn(e){return"function"==typeof e&&e.hasOwnProperty(mg)&&e.__forward_ref__===fn}var ko=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,function(e,i){var t=e?"NG0".concat(e,": "):"";return"".concat(t).concat(i)}(n,a))).code=n,o}return t}(Ee(Error));function Tt(e){return"string"==typeof e?e:null==e?"":String(e)}function Zr(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Tt(e)}function fl(e,i){var t=i?" in ".concat(i):"";throw new ko("201","No provider for ".concat(Zr(e)," found").concat(t))}function Di(e,i){null==e&&function(e,i,t,n){throw new Error("ASSERTION ERROR: ".concat(e)+(null==n?"":" [Expected=> ".concat(t," ").concat(n," ").concat(i," <=Actual]")))}(i,e,null,"!=")}function We(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Co(e){return bd(e,Mu)||bd(e,Rh)}function bd(e,i){return e.hasOwnProperty(i)?e[i]:null}function Ah(e){return e&&(e.hasOwnProperty(kd)||e.hasOwnProperty(Cg))?e[kd]:null}var Cd,Mu=cn({"\u0275prov":cn}),kd=cn({"\u0275inj":cn}),Rh=cn({ngInjectableDef:cn}),Cg=cn({ngInjectorDef:cn}),Kt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function Mg(){return Cd}function Mo(e){var i=Cd;return Cd=e,i}function Fh(e,i,t){var n=Co(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:t&Kt.Optional?null:void 0!==i?i:void fl(Yt(e),"Injector")}function wo(e){return{toString:e}.toString()}var Zo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),zi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Yh="undefined"!=typeof globalThis&&globalThis,wg="undefined"!=typeof window&&window,Sg="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Tg="undefined"!=typeof global&&global,hn=Yh||Tg||wg||Sg,ka={},on=[],hl=cn({"\u0275cmp":cn}),Md=cn({"\u0275dir":cn}),Ls=cn({"\u0275pipe":cn}),Xo=cn({"\u0275mod":cn}),wd=cn({"\u0275loc":cn}),za=cn({"\u0275fac":cn}),Wi=cn({__NG_ELEMENT_ID__:cn}),Eg=0;function Ke(e){return wo(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Zo.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||on,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||zi.Emulated,id:"c",styles:e.styles||on,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,o=e.features,s=e.pipes;return n.id+=Eg++,n.inputs=Bh(e.inputs,t),n.outputs=Bh(e.outputs),o&&o.forEach(function(l){return l(n)}),n.directiveDefs=a?function(){return("function"==typeof a?a():a).map(Hh)}:null,n.pipeDefs=s?function(){return("function"==typeof s?s():s).map(wu)}:null,n})}function So(e,i,t){var n=e.\u0275cmp;n.directiveDefs=function(){return i.map(Hh)},n.pipeDefs=function(){return t.map(wu)}}function Hh(e){return Xr(e)||function(e){return e[Md]||null}(e)}function wu(e){return function(e){return e[Ls]||null}(e)}var Vh={};function Ct(e){return wo(function(){var i={type:e.type,bootstrap:e.bootstrap||on,declarations:e.declarations||on,imports:e.imports||on,exports:e.exports||on,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Vh[e.id]=e.type),i})}function Bh(e,i){if(null==e)return ka;var t={};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n],o=a;Array.isArray(a)&&(o=a[1],a=a[0]),t[a]=n,i&&(i[a]=o)}return t}var Ve=Ke;function Dr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xr(e){return e[hl]||null}function Gi(e,i){var t=e[Xo]||null;if(!t&&!0===i)throw new Error("Type ".concat(Yt(e)," does not have '\u0275mod' property."));return t}function Ki(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ei(e){return Array.isArray(e)&&!0===e[1]}function vl(e){return 0!=(8&e.flags)}function Du(e){return 2==(2&e.flags)}function Eu(e){return 1==(1&e.flags)}function la(e){return null!==e.template}function Ig(e){return 0!=(512&e[2])}function is(e,i){return e.hasOwnProperty(za)?e[za]:null}var Uh=function(){function e(i,t,n){c(this,e),this.previousValue=i,this.currentValue=t,this.firstChange=n}return f(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Jn(){return zh}function zh(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dd),Vg}function Vg(){var e=Gh(this),i=null==e?void 0:e.current;if(i){var t=e.previous;if(t===ka)e.previous=i;else for(var n in i)t[n]=i[n];e.current=null,this.ngOnChanges(i)}}function Dd(e,i,t,n){var a=Gh(e)||function(e,i){return e[Wh]=i}(e,{previous:ka,current:null}),o=a.current||(a.current={}),s=a.previous,l=this.declaredInputs[t],u=s[l];o[l]=new Uh(u&&u.currentValue,i,s===ka),e[n]=i}Jn.ngInherit=!0;var Wh="__ngSimpleChanges__";function Gh(e){return e[Wh]||null}var qh="http://www.w3.org/2000/svg",Lu=void 0;function er(e){return!!e.listen}var $h={createRenderer:function(i,t){return void 0!==Lu?Lu:"undefined"!=typeof document?document:void 0}};function pr(e){for(;Array.isArray(e);)e=e[0];return e}function Ou(e,i){return pr(i[e])}function $i(e,i){return pr(i[e.index])}function Ld(e,i){return e.data[i]}function qa(e,i){return e[i]}function Li(e,i){var t=i[e];return Ki(t)?t:t[0]}function Qh(e){return 4==(4&e[2])}function Pd(e){return 128==(128&e[2])}function Ka(e,i){return null==i?null:e[i]}function Zh(e){e[18]=0}function Od(e,i){e[5]+=i;for(var t=e,n=e[3];null!==n&&(1===i&&1===t[5]||-1===i&&0===t[5]);)n[5]+=i,t=n,n=n[3]}var Mt={lFrame:ap(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Xh(){return Mt.bindingsEnabled}function ze(){return Mt.lFrame.lView}function Ye(){return Mt.lFrame.tView}function Ae(e){return Mt.lFrame.contextLView=e,e[8]}function br(){for(var e=xd();null!==e&&64===e.type;)e=e.parent;return e}function xd(){return Mt.lFrame.currentTNode}function Pi(e,i){var t=Mt.lFrame;t.currentTNode=e,t.isParent=i}function xu(){return Mt.lFrame.isParent}function gl(){Mt.lFrame.isParent=!1}function Iu(){return Mt.isInCheckNoChangesMode}function Au(e){Mt.isInCheckNoChangesMode=e}function ei(){var e=Mt.lFrame,i=e.bindingRootIndex;return-1===i&&(i=e.bindingRootIndex=e.tView.bindingStartIndex),i}function Er(){return Mt.lFrame.bindingIndex}function as(){return Mt.lFrame.bindingIndex++}function Ja(e){var i=Mt.lFrame,t=i.bindingIndex;return i.bindingIndex=i.bindingIndex+e,t}function e_(e,i){var t=Mt.lFrame;t.bindingIndex=t.bindingRootIndex=e,_l(i)}function _l(e){Mt.lFrame.currentDirectiveIndex=e}function Ad(e){var i=Mt.lFrame.currentDirectiveIndex;return-1===i?null:e[i]}function np(){return Mt.lFrame.currentQueryIndex}function Ma(e){Mt.lFrame.currentQueryIndex=e}function t_(e){var i=e[1];return 2===i.type?i.declTNode:1===i.type?e[6]:null}function rp(e,i,t){if(t&Kt.SkipSelf){for(var n=i,a=e;!(null!==(n=n.parent)||t&Kt.Host||null===(n=t_(a))||(a=a[15],10&n.type)););if(null===n)return!1;i=n,e=a}var o=Mt.lFrame=ip();return o.currentTNode=i,o.lView=e,!0}function Ru(e){var i=ip(),t=e[1];Mt.lFrame=i,i.currentTNode=t.firstChild,i.lView=e,i.tView=t,i.contextLView=e,i.bindingIndex=t.bindingStartIndex,i.inI18n=!1}function ip(){var e=Mt.lFrame,i=null===e?null:e.child;return null===i?ap(e):i}function ap(e){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=i),i}function op(){var e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var sp=op;function Fu(){var e=op();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function n_(e){return(Mt.lFrame.contextLView=function(e,i){for(;e>0;)i=i[15],e--;return i}(e,Mt.lFrame.contextLView))[8]}function ar(){return Mt.lFrame.selectedIndex}function Eo(e){Mt.lFrame.selectedIndex=e}function tr(){var e=Mt.lFrame;return Ld(e.tView,e.selectedIndex)}function wa(){Mt.lFrame.currentNamespace=qh}function Rd(){Mt.lFrame.currentNamespace=null}function ua(e,i){for(var t=i.directiveStart,n=i.directiveEnd;t=n)break}else i[u]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===i){e[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}var os=function e(i,t,n){c(this,e),this.factory=i,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};function Oe(e,i,t){for(var n=er(e),a=0;ai){s=o-1;break}}}for(;o>16}(e),n=i;t>0;)n=n[15],t--;return n}var Hu=!0;function Vu(e){var i=Hu;return Hu=e,i}var VI=0;function Yd(e,i){var t=c_(e,i);if(-1!==t)return t;var n=i[1];n.firstCreatePass&&(e.injectorIndex=i.length,u_(n.data,e),u_(i,null),u_(n.blueprint,null));var a=up(e,i),o=e.injectorIndex;if(xi(a))for(var s=Sa(a),l=Ns(a,i),u=l[1].data,d=0;d<8;d++)i[o+d]=l[s+d]|u[s+d];return i[o+8]=a,o}function u_(e,i){e.push(0,0,0,0,0,0,0,0,i)}function c_(e,i){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===i[e.injectorIndex+8]?-1:e.injectorIndex}function up(e,i){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=0,n=null,a=i;null!==a;){var o=a[1],s=o.type;if(null===(n=2===s?o.declTNode:1===s?a[6]:null))return-1;if(t++,a=a[15],-1!==n.injectorIndex)return n.injectorIndex|t<<16}return-1}function cp(e,i,t){!function(e,i,t){var n;"string"==typeof t?n=t.charCodeAt(0)||0:t.hasOwnProperty(Wi)&&(n=t[Wi]),null==n&&(n=t[Wi]=VI++);var a=255&n;i.data[e+(a>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Kt.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=WI(t);if("function"==typeof o){if(!rp(i,e,n))return n&Kt.Host?U0(a,t,n):z0(i,t,n,a);try{var s=o(n);if(null!=s||n&Kt.Optional)return s;fl(t)}finally{sp()}}else if("number"==typeof o){var l=null,u=c_(e,i),d=-1,y=n&Kt.Host?i[16][6]:null;for((-1===u||n&Kt.SkipSelf)&&(-1!==(d=-1===u?up(e,i):i[u+8])&&K0(n,!1)?(l=i[1],u=Sa(d),i=Ns(d,i)):u=-1);-1!==u;){var T=i[1];if(q0(o,u,T.data)){var I=zI(u,i,t,l,n,y);if(I!==G0)return I}-1!==(d=i[u+8])&&K0(n,i[1].data[u+8]===y)&&q0(o,u,i)?(l=T,u=Sa(d),i=Ns(d,i)):u=-1}}}return z0(i,t,n,a)}var G0={};function UI(){return new Bu(br(),ze())}function zI(e,i,t,n,a,o){var s=i[1],l=s.data[e+8],y=dp(l,s,t,null==n?Du(l)&&Hu:n!=s&&0!=(3&l.type),a&Kt.Host&&o===l);return null!==y?Hd(i,s,y,l):G0}function dp(e,i,t,n,a){for(var o=e.providerIndexes,s=i.data,l=1048575&o,u=e.directiveStart,y=o>>20,I=a?l+y:e.directiveEnd,V=n?l:l+y;V=u&&q.type===t)return V}if(a){var X=s[u];if(X&&la(X)&&X.type===t)return u}return null}function Hd(e,i,t,n){var a=e[t],o=i.data;if(function(e){return e instanceof os}(a)){var s=a;s.resolving&&function(e,i){throw new ko("200","Circular dependency in DI detected for ".concat(e).concat(""))}(Zr(o[t]));var l=Vu(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?Mo(s.injectImpl):null;rp(e,n,Kt.Default);try{a=e[t]=s.factory(void 0,o,e,n),i.firstCreatePass&&t>=n.directiveStart&&function(e,i,t){var n=i.type.prototype,o=n.ngOnInit,s=n.ngDoCheck;if(n.ngOnChanges){var l=zh(i);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,l),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,l)}o&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,o),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s))}(t,o[t],i)}finally{null!==u&&Mo(u),Vu(l),s.resolving=!1,sp()}}return a}function WI(e){if("string"==typeof e)return e.charCodeAt(0)||0;var i=e.hasOwnProperty(Wi)?e[Wi]:void 0;return"number"==typeof i?i>=0?255&i:UI:i}function q0(e,i,t){return!!(t[i+(e>>5)]&1<=e.length?e.push(t):e.splice(i,0,t)}function kl(e,i){return i>=e.length-1?e.pop():e.splice(i,1)[0]}function Ys(e,i){for(var t=[],n=0;n=0?e[1|n]=t:function(e,i,t,n){var a=e.length;if(a==i)e.push(t,n);else if(1===a)e.push(n,e[0]),e[0]=t;else{for(a--,e.push(e[a-1],e[a]);a>i;)e[a]=e[a-2],a--;e[i]=t,e[i+1]=n}}(e,n=~n,i,t),n}function h_(e,i){var t=Gu(e,i);if(t>=0)return e[1|t]}function Gu(e,i){return function(e,i,t){for(var n=0,a=e.length>>t;a!==n;){var o=n+(a-n>>1),s=e[o<i?a=o:n=o+1}return~(a<1&&void 0!==arguments[1]?arguments[1]:Kt.Default;if(void 0===zd)throw new Error("inject() must be called from an injection context");return null===zd?Fh(e,void 0,i):zd.get(e,i&Kt.Optional?null:void 0,i)}function _e(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kt.Default;return(Mg()||uA)(yt(e),i)}var vp=_e;function Cl(e){for(var i=[],t=0;t3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var a=Yt(i);if(Array.isArray(i))a=i.map(Yt).join(" -> ");else if("object"==typeof i){var o=[];for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];o.push(s+":"+("string"==typeof l?JSON.stringify(l):Yt(l)))}a="{".concat(o.join(", "),"}")}return"".concat(t).concat(n?"("+n+")":"","[").concat(a,"]: ").concat(e.replace(oA,"\n "))}("\n"+e.message,a,t,n),e.ngTokenPath=a,e[qu]=null,e}var yp,Ku=Wd(bl("Inject",function(i){return{token:i}}),-1),ti=Wd(bl("Optional"),8),ss=Wd(bl("SkipSelf"),4);function $u(e){var i;return(null===(i=function(){if(void 0===yp&&(yp=null,hn.trustedTypes))try{yp=hn.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(e){}return yp}())||void 0===i?void 0:i.createHTML(e))||e}var Ml=function(){function e(i){c(this,e),this.changingThisBreaksApplicationSecurity=i}return f(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}(),MA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"HTML"}}]),t}(Ml),wA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"Style"}}]),t}(Ml),SA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"Script"}}]),t}(Ml),TA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"URL"}}]),t}(Ml),DA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),t}(Ml);function da(e){return e instanceof Ml?e.changingThisBreaksApplicationSecurity:e}function Oo(e,i){var t=sC(e);if(null!=t&&t!==i){if("ResourceURL"===t&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(t," (see https://g.co/ng/security#xss)"))}return t===i}function sC(e){return e instanceof Ml&&e.getTypeName()||null}var IA=function(){function e(i){c(this,e),this.inertDocumentHelper=i}return f(e,[{key:"getInertBodyElement",value:function(t){t=""+t;try{var n=(new window.DOMParser).parseFromString($u(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(a){return null}}}]),e}(),AA=function(){function e(i){if(c(this,e),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);var n=this.inertDocument.createElement("body");t.appendChild(n)}}return f(e,[{key:"getInertBodyElement",value:function(t){var n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=$u(t),n;var a=this.inertDocument.createElement("body");return a.innerHTML=$u(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}},{key:"stripCustomNsAttrs",value:function(t){for(var n=t.attributes,a=n.length-1;0"),!0}},{key:"endElement",value:function(t){var n=t.nodeName.toLowerCase();k_.hasOwnProperty(n)&&!cC.hasOwnProperty(n)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(pC(t))}},{key:"checkClobberedElement",value:function(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return n}}]),e}(),WA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GA=/([^\#-~ |!])/g;function pC(e){return e.replace(/&/g,"&").replace(WA,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(GA,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}function mC(e,i){var t=null;try{kp=kp||function(e){var i=new AA(e);return function(){try{return!!(new window.DOMParser).parseFromString($u(""),"text/html")}catch(e){return!1}}()?new IA(i):i}(e);var n=i?String(i):"";t=kp.getInertBodyElement(n);var a=5,o=n;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,n=o,o=t.innerHTML,t=kp.getInertBodyElement(n)}while(n!==o);return $u((new zA).sanitizeChildren(w_(t)||t))}finally{if(t)for(var u=w_(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}function w_(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ni=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Io(e){var i=function(){var e=ze();return e&&e[12]}();return i?i.sanitize(ni.URL,e)||"":Oo(e,"URL")?da(e):qd(Tt(e))}var _C="__ngContext__";function pi(e,i){e[_C]=i}function T_(e){var i=function(e){return e[_C]||null}(e);return i?Array.isArray(i)?i:i.lView:null}function Cp(e){return e.ngOriginalError}function cR(e){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n0&&(e[t-1][4]=n[4]);var o=kl(e,10+i);!function(e,i){Zd(e,i,i[11],2,null,null),i[0]=null,i[6]=null}(n[1],n);var s=o[19];null!==s&&s.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}}function FC(e,i){if(!(256&i[2])){var t=i[11];er(t)&&t.destroyNode&&Zd(e,i,t,3,null,null),function(e){var i=e[13];if(!i)return F_(e[1],e);for(;i;){var t=null;if(Ki(i))t=i[13];else{var n=i[10];n&&(t=n)}if(!t){for(;i&&!i[4]&&i!==e;)Ki(i)&&F_(i[1],i),i=i[3];null===i&&(i=e),Ki(i)&&F_(i[1],i),t=i&&i[4]}i=t}}(i)}}function F_(e,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function(e,i){var t;if(null!=e&&null!=(t=e.destroyHooks))for(var n=0;n=0?n[a=d]():n[a=-d].unsubscribe(),o+=2}else{var y=n[a=t[o+1]];t[o].call(y)}if(null!==n){for(var T=a+1;To?"":a[T+1].toLowerCase();var V=8&n?I:null;if(V&&-1!==JC(V,d,0)||2&n&&d!==I){if(Za(n))return!1;s=!0}}}}else{if(!s&&!Za(n)&&!Za(u))return!1;if(s&&Za(u))continue;s=!1,n=u|1&n}}return Za(n)||s}function Za(e){return 0==(1&e)}function HR(e,i,t,n){if(null===i)return-1;var a=0;if(n||!t){for(var o=!1;a-1)for(t++;t2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+l+'"':"")+"]"}else 8&n?a+="."+s:4&n&&(a+=" "+s);else""!==a&&!Za(s)&&(i+=XC(o,a),a=""),n=s,o=o||!Za(n);t++}return""!==a&&(i+=XC(o,a)),i}var It={};function v(e){eM(Ye(),ze(),ar()+e,Iu())}function eM(e,i,t,n){if(!n)if(3==(3&i[2])){var o=e.preOrderCheckHooks;null!==o&&Oi(i,o,t)}else{var s=e.preOrderHooks;null!==s&&Nu(i,s,0,t)}Eo(t)}function Tp(e,i){return e<<17|i<<2}function Xa(e){return e>>17&32767}function B_(e){return 2|e}function ls(e){return(131068&e)>>2}function j_(e,i){return-131069&e|i<<2}function U_(e){return 1|e}function cM(e,i){var t=e.contentQueries;if(null!==t)for(var n=0;n20&&eM(e,i,20,Iu()),t(n,a)}finally{Eo(o)}}function fM(e,i,t){if(vl(i))for(var a=i.directiveEnd,o=i.directiveStart;o2&&void 0!==arguments[2]?arguments[2]:$i,n=i.localNames;if(null!==n)for(var a=i.index+1,o=0;o0;){var t=e[--i];if("number"==typeof t&&t<0)return t}return 0})(l)!=u&&l.push(u),l.push(n,a,s)}}function bM(e,i){null!==e.hostBindings&&e.hostBindings(1,i)}function kM(e,i){i.flags|=2,(e.components||(e.components=[])).push(i.index)}function gF(e,i,t){if(t){if(i.exportAs)for(var n=0;n0&&ty(t)}}function ty(e){for(var i=O_(e);null!==i;i=x_(i))for(var t=10;t0&&ty(n)}var s=e[1].components;if(null!==s)for(var l=0;l0&&ty(u)}}function wF(e,i){var t=Li(i,e),n=t[1];(function(e,i){for(var t=i.length;t1&&void 0!==arguments[1]?arguments[1]:Ud;if(n===Ud){var a=new Error("NullInjectorError: No provider for ".concat(Yt(t),"!"));throw a.name="NullInjectorError",a}return n}}]),e}(),nf=new Ze("Set Injector scope."),rf={},xF={},oy=void 0;function xM(){return void 0===oy&&(oy=new OM),oy}function IM(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new AF(e,t,i||xM(),n)}var AF=function(){function e(i,t,n){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c(this,e),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];t&&Po(t,function(u){return a.processProvider(u,i,t)}),Po([i],function(u){return a.processInjectorType(u,[],s)}),this.records.set(tf,rc(void 0,this));var l=this.records.get(nf);this.scope=null!=l?l.value:null,this.source=o||("object"==typeof i?null:Yt(i))}return f(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ud,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt.Default;this.assertNotDestroyed();var o=mp(this),s=Mo(void 0);try{if(!(a&Kt.SkipSelf)){var l=this.records.get(t);if(void 0===l){var u=jF(t)&&Co(t);l=u&&this.injectableDefInScope(u)?rc(sy(t),rf):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}var d=a&Kt.Self?xM():this.parent;return d.get(t,n=a&Kt.Optional&&n===Ud?null:n)}catch(T){if("NullInjectorError"===T.name){var y=T[qu]=T[qu]||[];if(y.unshift(Yt(t)),o)throw T;return dA(T,t,"R3InjectorError",this.source)}throw T}finally{Mo(s),mp(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(n){return t.get(n)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(a,o){return t.push(Yt(o))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,n,a){var o=this;if(!(t=yt(t)))return!1;var s=Ah(t),l=null==s&&t.ngModule||void 0,u=void 0===l?t:l,T=-1!==a.indexOf(u);if(void 0!==l&&(s=Ah(l)),null==s)return!1;if(null!=s.imports&&!T){var I;a.push(u);try{Po(s.imports,function(pe){o.processInjectorType(pe,n,a)&&(void 0===I&&(I=[]),I.push(pe))})}finally{}if(void 0!==I)for(var V=function(Re){var Ne=I[Re],Xe=Ne.ngModule,st=Ne.providers;Po(st,function(bt){return o.processProvider(bt,Xe,st||on)})},q=0;q0){var t=Ys(i,"?");throw new Error("Can't resolve all parameters for ".concat(Yt(e),": (").concat(t.join(", "),")."))}var n=function(e){var i=e&&(e[Mu]||e[Rh]);if(i){var t=function(e){if(e.hasOwnProperty("name"))return e.name;var i=(""+e).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(t,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(t,'" class.')),i}return null}(e);return null!==n?function(){return n.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function AM(e,i,t){var n=void 0;if(ic(e)){var a=yt(e);return is(a)||sy(a)}if(RM(e))n=function(){return yt(e.useValue)};else if(function(e){return!(!e||!e.useFactory)}(e))n=function(){return e.useFactory.apply(e,se(Cl(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))n=function(){return _e(yt(e.useExisting))};else{var o=yt(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return is(o)||sy(o);n=function(){return ue(o,se(Cl(e.deps)))}}return n}function rc(e,i){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:i,multi:t?[]:void 0}}function RM(e){return null!==e&&"object"==typeof e&&g_ in e}function ic(e){return"function"==typeof e}function jF(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ze}var FM=function(e,i,t){return function(e){var a=IM(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return a._resolveInjectorDefTypes(),a}({name:t},i,e,t)},sn=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"create",value:function(n,a){return Array.isArray(n)?FM(n,a,""):FM(n.providers,n.parent,n.name||"")}}]),i}();return e.THROW_IF_NOT_FOUND=Ud,e.NULL=new OM,e.\u0275prov=We({token:e,providedIn:"any",factory:function(){return _e(tf)}}),e.__NG_ELEMENT_ID__=-1,e}();function u3(e,i){ua(T_(e)[1],br())}function ht(e){for(var i=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0,n=[e];i;){var a=void 0;if(la(e))a=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Error("Directives cannot inherit Components");a=i.\u0275dir}if(a){if(t){n.push(a);var o=e;o.inputs=dy(e.inputs),o.declaredInputs=dy(e.declaredInputs),o.outputs=dy(e.outputs);var s=a.hostBindings;s&&h3(e,s);var l=a.viewQuery,u=a.contentQueries;if(l&&d3(e,l),u&&f3(e,u),bo(e.inputs,a.inputs),bo(e.declaredInputs,a.declaredInputs),bo(e.outputs,a.outputs),la(a)&&a.data.animation){var d=e.data;d.animation=(d.animation||[]).concat(a.data.animation)}}var y=a.features;if(y)for(var T=0;T=0;n--){var a=e[n];a.hostVars=i+=a.hostVars,a.hostAttrs=Jt(a.hostAttrs,t=Jt(t,a.hostAttrs))}}(n)}function dy(e){return e===ka?{}:e===on?[]:e}function d3(e,i){var t=e.viewQuery;e.viewQuery=t?function(n,a){i(n,a),t(n,a)}:i}function f3(e,i){var t=e.contentQueries;e.contentQueries=t?function(n,a,o){i(n,a,o),t(n,a,o)}:i}function h3(e,i){var t=e.hostBindings;e.hostBindings=t?function(n,a){i(n,a),t(n,a)}:i}var xp=null;function oc(){if(!xp){var e=hn.Symbol;if(e&&e.iterator)xp=e.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),t=0;t1&&void 0!==arguments[1]?arguments[1]:Kt.Default,t=ze();if(null===t)return _e(e,i);var n=br();return W0(n,t,yt(e),i)}function D(e,i,t){var n=ze();return mi(n,as(),i)&&fa(Ye(),tr(),n,e,i,n[11],t,!1),D}function vy(e,i,t,n,a){var s=a?"class":"style";PM(e,t,i.inputs[s],s,n)}function p(e,i,t,n){var a=ze(),o=Ye(),s=20+e,l=a[11],u=a[s]=A_(l,i,Mt.lFrame.currentNamespace),d=o.firstCreatePass?function(e,i,t,n,a,o,s){var l=i.consts,d=ec(i,e,2,a,Ka(l,o));return X_(i,t,d,Ka(l,s)),null!==d.attrs&&Op(d,d.attrs,!1),null!==d.mergedAttrs&&Op(d,d.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,d),d}(s,o,a,0,i,t,n):o.data[s];Pi(d,!0);var y=d.mergedAttrs;null!==y&&Oe(l,u,y);var T=d.classes;null!==T&&V_(l,u,T);var I=d.styles;null!==I&&KC(l,u,I),64!=(64&d.flags)&&wp(o,a,u,d),0===Mt.lFrame.elementDepthCount&&pi(u,a),Mt.lFrame.elementDepthCount++,Eu(d)&&(Q_(o,a,d),fM(o,d,a)),null!==n&&Z_(a,d)}function m(){var e=br();xu()?gl():Pi(e=e.parent,!1);var i=e;Mt.lFrame.elementDepthCount--;var t=Ye();t.firstCreatePass&&(ua(t,e),vl(e)&&t.queries.elementEnd(e)),null!=i.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(i)&&vy(t,i,ze(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(i)&&vy(t,i,ze(),i.stylesWithoutHost,!1)}function Te(e,i,t,n){p(e,i,t,n),m()}function Ge(e,i,t){var n=ze(),a=Ye(),o=e+20,s=a.firstCreatePass?function(e,i,t,n,a){var o=i.consts,s=Ka(o,n),l=ec(i,e,8,"ng-container",s);return null!==s&&Op(l,s,!0),X_(i,t,l,Ka(o,a)),null!==i.queries&&i.queries.elementStart(i,l),l}(o,a,n,i,t):a.data[o];Pi(s,!0);var l=n[o]=n[11].createComment("");wp(a,n,l,s),pi(l,n),Eu(s)&&(Q_(a,n,s),fM(a,s,n)),null!=t&&Z_(n,s)}function qe(){var e=br(),i=Ye();xu()?gl():Pi(e=e.parent,!1),i.firstCreatePass&&(ua(i,e),vl(e)&&i.queries.elementEnd(e))}function Dl(e,i,t){Ge(e,i,t),qe()}function nt(){return ze()}function lf(e){return!!e&&"function"==typeof e.then}function pw(e){return!!e&&"function"==typeof e.subscribe}var Ap=pw;function we(e,i,t,n){var a=ze(),o=Ye(),s=br();return mw(o,a,a[11],s,e,i,!!t,n),we}function Rp(e,i){var t=br(),n=ze(),a=Ye();return mw(a,n,EM(Ad(a.data),t,n),t,e,i,!1),Rp}function mw(e,i,t,n,a,o,s,l){var u=Eu(n),y=e.firstCreatePass&&DM(e),T=i[8],I=TM(i),V=!0;if(3&n.type||l){var q=$i(n,i),X=l?l(q):q,he=I.length,Se=l?function(Va){return l(pr(Va[n.index]))}:n.index;if(er(t)){var pe=null;if(!l&&u&&(pe=function(e,i,t,n){var a=e.cleanup;if(null!=a)for(var o=0;ou?l[u]:null}"string"==typeof s&&(o+=2)}return null}(e,i,a,n.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=o,pe.__ngLastListenerFn__=o,V=!1;else{o=gy(n,i,T,o,!1);var Ne=t.listen(X,a,o);I.push(o,Ne),y&&y.push(a,Se,he,he+1)}}else o=gy(n,i,T,o,!0),X.addEventListener(a,o,s),I.push(o),y&&y.push(a,Se,he,s)}else o=gy(n,i,T,o,!1);var st,Xe=n.outputs;if(V&&null!==Xe&&(st=Xe[a])){var bt=st.length;if(bt)for(var Xt=0;Xt0&&void 0!==arguments[0]?arguments[0]:1;return n_(e)}function K3(e,i){for(var t=null,n=function(e){var i=e.attrs;if(null!=i){var t=i.indexOf(5);if(0==(1&t))return i[t+1]}return null}(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0,n=ze(),a=Ye(),o=ec(a,20+e,16,null,t||null);null===o.projection&&(o.projection=i),gl(),64!=(64&o.flags)&&IR(a,n,o)}function Tn(e,i,t){return _y(e,"",i,"",t),Tn}function _y(e,i,t,n,a){var o=ze(),s=lc(o,i,t,n);return s!==It&&fa(Ye(),tr(),o,e,s,o[11],a,!1),_y}function Sw(e,i,t,n,a){for(var o=e[t+1],s=null===i,l=n?Xa(o):ls(o),u=!1;0!==l&&(!1===u||s);){var y=e[l+1];Q3(e[l],i)&&(u=!0,e[l+1]=n?U_(y):B_(y)),l=n?Xa(y):ls(y)}u&&(e[t+1]=n?B_(o):U_(o))}function Q3(e,i){return null===e||null==i||(Array.isArray(e)?e[1]:e)===i||!(!Array.isArray(e)||"string"!=typeof i)&&Gu(e,i)>=0}var Hr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tw(e){return e.substring(Hr.key,Hr.keyEnd)}function Z3(e){return e.substring(Hr.value,Hr.valueEnd)}function Dw(e,i){var t=Hr.textEnd;return t===i?-1:(i=Hr.keyEnd=function(e,i,t){for(;i32;)i++;return i}(e,Hr.key=i,t),gc(e,i,t))}function Ew(e,i){var t=Hr.textEnd,n=Hr.key=gc(e,i,t);return t===n?-1:(n=Hr.keyEnd=function(e,i,t){for(var n;i=65&&(-33&n)<=90||n>=48&&n<=57);)i++;return i}(e,n,t),n=Pw(e,n,t),n=Hr.value=gc(e,n,t),n=Hr.valueEnd=function(e,i,t){for(var n=-1,a=-1,o=-1,s=i,l=s;s32&&(l=s),o=a,a=n,n=-33&u}return l}(e,n,t),Pw(e,n,t))}function Lw(e){Hr.key=0,Hr.keyEnd=0,Hr.value=0,Hr.valueEnd=0,Hr.textEnd=e.length}function gc(e,i,t){for(;i=0;t=Ew(i,t))Aw(e,Tw(i),Z3(i))}function pa(e){no(ca,No,e,!0)}function No(e,i){for(var t=function(e){return Lw(e),Dw(e,gc(e,0,Hr.textEnd))}(i);t>=0;t=Dw(i,t))ca(e,Tw(i),!0)}function to(e,i,t,n){var a=ze(),o=Ye(),s=Ja(2);o.firstUpdatePass&&Iw(o,e,s,n),i!==It&&mi(a,s,i)&&Rw(o,o.data[ar()],a,a[11],e,a[s+1]=function(e,i){return null==e||("string"==typeof i?e+=i:"object"==typeof e&&(e=Yt(da(e)))),e}(i,t),n,s)}function no(e,i,t,n){var a=Ye(),o=Ja(2);a.firstUpdatePass&&Iw(a,null,o,n);var s=ze();if(t!==It&&mi(s,o,t)){var l=a.data[ar()];if(Nw(l,n)&&!xw(a,o)){var d=n?l.classesWithoutHost:l.stylesWithoutHost;null!==d&&(t=bu(d,t||"")),vy(a,l,s,t,n)}else!function(e,i,t,n,a,o,s,l){a===It&&(a=on);for(var u=0,d=0,y=0=e.expandoStartIndex}function Iw(e,i,t,n){var a=e.data;if(null===a[t+1]){var o=a[ar()],s=xw(e,t);Nw(o,n)&&null===i&&!s&&(i=!1),i=function(e,i,t,n){var a=Ad(e),o=n?i.residualClasses:i.residualStyles;if(null===a)0===(n?i.classBindings:i.styleBindings)&&(t=uf(t=yy(null,e,i,t,n),i.attrs,n),o=null);else{var l=i.directiveStylingLast;if(-1===l||e[l]!==a)if(t=yy(a,e,i,t,n),null===o){var d=function(e,i,t){var n=t?i.classBindings:i.styleBindings;if(0!==ls(n))return e[Xa(n)]}(e,i,n);void 0!==d&&Array.isArray(d)&&function(e,i,t,n){e[Xa(t?i.classBindings:i.styleBindings)]=n}(e,i,n,d=uf(d=yy(null,e,i,d[1],n),i.attrs,n))}else o=function(e,i,t){for(var n=void 0,a=i.directiveEnd,o=1+i.directiveStylingLast;o0)&&(d=!0):y=t,a)if(0!==u){var V=Xa(e[l+1]);e[n+1]=Tp(V,l),0!==V&&(e[V+1]=j_(e[V+1],n)),e[l+1]=function(e,i){return 131071&e|i<<17}(e[l+1],n)}else e[n+1]=Tp(l,0),0!==l&&(e[l+1]=j_(e[l+1],n)),l=n;else e[n+1]=Tp(u,0),0===l?l=n:e[u+1]=j_(e[u+1],n),u=n;d&&(e[n+1]=B_(e[n+1])),Sw(e,y,n,!0),Sw(e,y,n,!1),function(e,i,t,n,a){var o=a?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof i&&Gu(o,i)>=0&&(t[n+1]=U_(t[n+1]))}(i,y,e,n,o),s=Tp(l,u),o?i.classBindings=s:i.styleBindings=s}(a,o,i,t,s,n)}}function yy(e,i,t,n,a){var o=null,s=t.directiveEnd,l=t.directiveStylingLast;for(-1===l?l=t.directiveStart:l++;l0;){var u=e[a],d=Array.isArray(u),y=d?u[1]:u,T=null===y,I=t[a+1];I===It&&(I=T?on:void 0);var V=T?h_(I,n):y===n?I:void 0;if(d&&!Fp(V)&&(V=h_(u,n)),Fp(V)&&(l=V,s))return l;var q=e[a+1];a=s?Xa(q):ls(q)}if(null!==i){var X=o?i.residualClasses:i.residualStyles;null!=X&&(l=h_(X,n))}return l}function Fp(e){return void 0!==e}function Nw(e,i){return 0!=(e.flags&(i?16:32))}function F(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=ze(),n=Ye(),a=e+20,o=n.firstCreatePass?ec(n,a,1,i,null):n.data[a],s=t[a]=I_(t[11],i);wp(n,t,s,o),Pi(o,!1)}function ye(e){return Ce("",e,""),ye}function Ce(e,i,t){var n=ze(),a=lc(n,e,i,t);return a!==It&&cs(n,ar(),a),Ce}function Ii(e,i,t,n,a){var o=ze(),s=function(e,i,t,n,a,o){var l=Tl(e,Er(),t,a);return Ja(2),l?i+Tt(t)+n+Tt(a)+o:It}(o,e,i,t,n,a);return s!==It&&cs(o,ar(),s),Ii}function by(e,i,t,n,a,o,s){var l=ze(),u=cc(l,e,i,t,n,a,o,s);return u!==It&&cs(l,ar(),u),by}function ky(e,i,t,n,a,o,s,l,u){var d=ze(),y=dc(d,e,i,t,n,a,o,s,l,u);return y!==It&&cs(d,ar(),y),ky}function Bs(e,i,t){var n=ze();return mi(n,as(),i)&&fa(Ye(),tr(),n,e,i,n[11],t,!0),Bs}function Np(e,i,t){var n=ze();if(mi(n,as(),i)){var o=Ye(),s=tr();fa(o,s,n,e,i,EM(Ad(o.data),s,n),t,!0)}return Np}var El=void 0,PN=["en",[["a","p"],["AM","PM"],El],[["AM","PM"],El,El],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],El,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],El,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",El,"{1} 'at' {0}",El],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var i=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===t?1:5}],_c={};function Ai(e){var i=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=eS(i);if(t)return t;var n=i.split("-")[0];if(t=eS(n))return t;if("en"===n)return PN;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function eS(e){return e in _c||(_c[e]=hn.ng&&hn.ng.common&&hn.ng.common.locales&&hn.ng.common.locales[e]),_c[e]}var $n=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Yp="en-US";function Cy(e){Di(e,"Expected localeId to be defined"),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function S4(e,i,t){var n=Ye();if(n.firstCreatePass){var a=la(e);Sy(t,n.data,n.blueprint,a,!0),Sy(i,n.data,n.blueprint,a,!1)}}function Sy(e,i,t,n,a){if(e=yt(e),Array.isArray(e))for(var o=0;o>20;if(ic(e)||!e.multi){var q=new os(d,a,N),X=Dy(u,i,a?T:T+V,I);-1===X?(cp(Yd(y,l),s,u),Ty(s,e,i.length),i.push(u),y.directiveStart++,y.directiveEnd++,a&&(y.providerIndexes+=1048576),t.push(q),l.push(q)):(t[X]=q,l[X]=q)}else{var he=Dy(u,i,T+V,I),Se=Dy(u,i,T,T+V),Re=Se>=0&&t[Se];if(a&&!Re||!a&&!(he>=0&&t[he])){cp(Yd(y,l),s,u);var Ne=function(e,i,t,n,a){var o=new os(e,t,N);return o.multi=[],o.index=i,o.componentProviders=0,SS(o,a,n&&!t),o}(a?D4:T4,t.length,a,n,d);!a&&Re&&(t[Se].providerFactory=Ne),Ty(s,e,i.length,0),i.push(u),y.directiveStart++,y.directiveEnd++,a&&(y.providerIndexes+=1048576),t.push(Ne),l.push(Ne)}else Ty(s,e,he>-1?he:Se,SS(t[a?Se:he],d,!a&&n));!a&&n&&Re&&t[Se].componentProviders++}}}function Ty(e,i,t,n){var a=ic(i);if(a||function(e){return!!e.useClass}(i)){var s=(i.useClass||i).prototype.ngOnDestroy;if(s){var l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&i.multi){var u=l.indexOf(t);-1===u?l.push(t,[n,s]):l[u+1].push(n,s)}else l.push(t,s)}}}function SS(e,i,t){return t&&e.componentProviders++,e.multi.push(i)-1}function Dy(e,i,t,n){for(var a=t;a1&&void 0!==arguments[1]?arguments[1]:[];return function(t){t.providersResolver=function(n,a){return S4(n,a?a(e):e,i)}}}var L4=function e(){c(this,e)},TS=function e(){c(this,e)},O4=function(){function e(){c(this,e)}return f(e,[{key:"resolveComponentFactory",value:function(t){throw function(e){var i=Error("No component factory found for ".concat(Yt(e),". Did you add it to @NgModule.entryComponents?"));return i.ngComponent=e,i}(t)}}]),e}(),Yo=function(){var e=function i(){c(this,i)};return e.NULL=new O4,e}();function Up(){}function bc(e,i){return new pt($i(e,i))}var R4=function(){return bc(br(),ze())},pt=function(){var e=function i(t){c(this,i),this.nativeElement=t};return e.__NG_ELEMENT_ID__=R4,e}();function ES(e){return e instanceof pt?e.nativeElement:e}var Ll=function e(){c(this,e)},Ho=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=function(){return N4()},e}(),N4=function(){var e=ze(),t=Li(br().index,e);return function(e){return e[11]}(Ki(t)?t:e)},Ly=function(){var e=function i(){c(this,i)};return e.\u0275prov=We({token:e,providedIn:"root",factory:function(){return null}}),e}(),js=function e(i){c(this,e),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")},V4=new js("12.2.5"),LS=function(){function e(){c(this,e)}return f(e,[{key:"supports",value:function(t){return of(t)}},{key:"create",value:function(t){return new j4(t)}}]),e}(),B4=function(i,t){return t},j4=function(){function e(i){c(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||B4}return f(e,[{key:"forEachItem",value:function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)}},{key:"forEachOperation",value:function(t){for(var n=this._itHead,a=this._removalsHead,o=0,s=null;n||a;){var l=!a||n&&n.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==t;){var o=i[t.index];if(null!==o&&n.push(pr(o)),Ei(o))for(var s=10;s-1&&(R_(t,a),kl(n,a))}this._attachedToViewContainer=!1}FC(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){vM(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){ny(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){iy(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,i,t){Au(!0);try{iy(e,i,t)}finally{Au(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(e,i){Zd(e,i,i[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),e}(),K4=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n))._view=n,a}return f(t,[{key:"detectChanges",value:function(){SM(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Au(!0);try{SM(e)}finally{Au(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),t}(pf),$4=function(e){return function(e,i,t){if(Du(e)&&!t){var n=Li(e.index,i);return new pf(n,n)}return 47&e.type?new pf(i[16],i):null}(br(),ze(),16==(16&e))},Nn=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=$4,e}(),X4=[new xS],t5=new Pl([new LS]),n5=new kc(X4),i5=function(){return Wp(br(),ze())},Vr=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=i5,e}(),o5=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this))._declarationLView=n,s._declarationTContainer=a,s.elementRef=o,s}return f(t,[{key:"createEmbeddedView",value:function(a){var o=this._declarationTContainer.tViews,s=Xd(this._declarationLView,o,a,16,null,o.declTNode,null,null,null,null);s[17]=this._declarationLView[this._declarationTContainer.index];var u=this._declarationLView[19];return null!==u&&(s[19]=u.createEmbeddedView(o)),ef(o,s,a),new pf(s)}}]),t}(Vr);function Wp(e,i){return 4&e.type?new o5(i,e,bc(e,i)):null}var ds=function e(){c(this,e)},RS=function e(){c(this,e)},u5=function(){return YS(br(),ze())},kr=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=u5,e}(),FS=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this))._lContainer=n,s._hostTNode=a,s._hostLView=o,s}return f(t,[{key:"element",get:function(){return bc(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Bu(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var a=up(this._hostTNode,this._hostLView);if(xi(a)){var o=Ns(a,this._hostLView),s=Sa(a);return new Bu(o[1].data[s+8],o)}return new Bu(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(a){var o=NS(this._lContainer);return null!==o&&o[a]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(a,o,s){var l=a.createEmbeddedView(o||{});return this.insert(l,s),l}},{key:"createComponent",value:function(a,o,s,l,u){var d=s||this.parentInjector;if(!u&&null==a.ngModule&&d){var y=d.get(ds,null);y&&(u=y)}var T=a.create(d,l,void 0,u);return this.insert(T.hostView,o),T}},{key:"insert",value:function(a,o){var s=a._lView,l=s[1];if(function(e){return Ei(e[3])}(s)){var u=this.indexOf(a);if(-1!==u)this.detach(u);else{var d=s[3],y=new FS(d,d[6],d[3]);y.detach(y.indexOf(a))}}var T=this._adjustIndex(o),I=this._lContainer;!function(e,i,t,n){var a=10+n,o=t.length;n>0&&(t[a-1][4]=i),n1&&void 0!==arguments[1]?arguments[1]:0;return null==a?this.length+o:a}}]),t}(kr);function NS(e){return e[8]}function Py(e){return e[8]||(e[8]=[])}function YS(e,i){var t,n=i[e.index];if(Ei(n))t=n;else{var a;if(8&e.type)a=pr(n);else{var o=i[11];a=o.createComment("");var s=$i(e,i);wl(o,Mp(o,s),a,function(e,i){return er(e)?e.nextSibling(i):i.nextSibling}(o,s),!1)}i[e.index]=t=wM(n,i,a,e),Pp(i,t)}return new FS(t,e,i)}var Mc={},rT=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).ngModule=n,a}return f(t,[{key:"resolveComponentFactory",value:function(a){var o=Xr(a);return new aT(o,this.ngModule)}}]),t}(Yo);function iT(e){var i=[];for(var t in e)e.hasOwnProperty(t)&&i.push({propName:e[t],templateName:t});return i}var iY=new Ze("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return DC}}),aT=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).componentDef=n,o.ngModule=a,o.componentType=n.type,o.selector=function(e){return e.map(zR).join(",")}(n.selectors),o.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],o.isBoundToModule=!!a,o}return f(t,[{key:"inputs",get:function(){return iT(this.componentDef.inputs)}},{key:"outputs",get:function(){return iT(this.componentDef.outputs)}},{key:"create",value:function(a,o,s,l){var pe,Re,u=(l=l||this.ngModule)?function(e,i){return{get:function(n,a,o){var s=e.get(n,Mc,o);return s!==Mc||a===Mc?s:i.get(n,a,o)}}}(a,l.injector):a,d=u.get(Ll,$h),y=u.get(Ly,null),T=d.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",V=s?function(e,i,t){if(er(e))return e.selectRootElement(i,t===zi.ShadowDom);var a="string"==typeof i?e.querySelector(i):i;return a.textContent="",a}(T,s,this.componentDef.encapsulation):A_(d.createRenderer(null,this.componentDef),I,function(e){var i=e.toLowerCase();return"svg"===i?qh:"math"===i?"http://www.w3.org/1998/MathML/":null}(I)),q=this.componentDef.onPush?576:528,X=function(e,i){return{components:[],scheduler:e||DC,clean:LF,playerHandler:i||null,flags:0}}(),he=Lp(0,null,null,1,0,null,null,null,null,null),Se=Xd(null,he,X,q,null,null,d,T,y,u);Ru(Se);try{var Ne=function(e,i,t,n,a,o){var s=t[1];t[20]=e;var u=ec(s,20,2,"#host",null),d=u.mergedAttrs=i.hostAttrs;null!==d&&(Op(u,d,!0),null!==e&&(Oe(a,e,d),null!==u.classes&&V_(a,e,u.classes),null!==u.styles&&KC(a,e,u.styles)));var y=n.createRenderer(e,i),T=Xd(t,hM(i),null,i.onPush?64:16,t[20],u,n,y,o||null,null);return s.firstCreatePass&&(cp(Yd(u,t),s,i.type),kM(s,u),CM(u,t.length,1)),Pp(t,T),t[20]=T}(V,this.componentDef,Se,d,T);if(V)if(s)Oe(T,V,["ng-version",V4.full]);else{var Xe=function(e){for(var i=[],t=[],n=1,a=2;n0&&V_(T,V,bt.join(" "))}if(Re=Ld(he,20),void 0!==o)for(var Xt=Re.projection=[],dn=0;dn1&&void 0!==arguments[1]?arguments[1]:sn.THROW_IF_NOT_FOUND,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt.Default;return a===sn||a===ds||a===tf?this:this._r3Injector.get(a,o,s)}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(o){return o()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),t}(ds),jy=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).moduleType=n,null!==Gi(n)&&function(e){var i=new Set;!function t(n){var a=Gi(n,!0),o=a.id;null!==o&&(function(e,i,t){if(i&&i!==t)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Yt(i)," vs ").concat(Yt(i.name)))}(o,wc.get(o),n),wc.set(o,n));var d,u=W(Ao(a.imports));try{for(u.s();!(d=u.n()).done;){var y=d.value;i.has(y)||(i.add(y),t(y))}}catch(T){u.e(T)}finally{u.f()}}(e)}(n),a}return f(t,[{key:"create",value:function(a){return new cY(this.moduleType,a)}}]),t}(RS);function Yn(e,i,t){var n=ei()+e,a=ze();return a[n]===It?Fo(a,n,t?i.call(t):i()):function(e,i){return e[i]}(a,n)}function et(e,i,t,n){return lT(ze(),ei(),e,i,t,n)}function Dn(e,i,t,n,a){return uT(ze(),ei(),e,i,t,n,a)}function bf(e,i){var t=e[i];return t===It?void 0:t}function lT(e,i,t,n,a,o){var s=i+t;return mi(e,s,a)?Fo(e,s+1,o?n.call(o,a):n(a)):bf(e,s+1)}function uT(e,i,t,n,a,o,s){var l=i+t;return Tl(e,l,a,o)?Fo(e,l+2,s?n.call(s,a,o):n(a,o)):bf(e,l+2)}function H(e,i){var n,t=Ye(),a=e+20;t.firstCreatePass?(n=function(e,i){if(i)for(var t=i.length-1;t>=0;t--){var n=i[t];if(e===n.name)return n}throw new ko("302","The pipe '".concat(e,"' could not be found!"))}(i,t.pipeRegistry),t.data[a]=n,n.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(a,n.onDestroy)):n=t.data[a];var o=n.factory||(n.factory=is(n.type)),s=Mo(N);try{var l=Vu(!1),u=o();return Vu(l),function(e,i,t,n){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),i[t]=n}(t,ze(),a,u),u}finally{Mo(s)}}function U(e,i,t){var n=e+20,a=ze(),o=qa(a,n);return Cf(a,kf(a,n)?lT(a,ei(),i,o.transform,t,o):o.transform(t))}function Ht(e,i,t,n){var a=e+20,o=ze(),s=qa(o,a);return Cf(o,kf(o,a)?uT(o,ei(),i,s.transform,t,n,s):s.transform(t,n))}function kf(e,i){return e[1].data[i].pure}function Cf(e,i){return Sl.isWrapped(i)&&(i=Sl.unwrap(i),e[Er()]=It),i}function Uy(e){return function(i){setTimeout(e,void 0,i)}}var mt=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c(this,t),(n=i.call(this)).__isAsync=a,n}return f(t,[{key:"emit",value:function(a){E(x(t.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,o,s){var l,u,d,y=a,T=o||function(){return null},I=s;if(a&&"object"==typeof a){var V=a;y=null===(l=V.next)||void 0===l?void 0:l.bind(V),T=null===(u=V.error)||void 0===u?void 0:u.bind(V),I=null===(d=V.complete)||void 0===d?void 0:d.bind(V)}this.__isAsync&&(T=Uy(T),y&&(y=Uy(y)),I&&(I=Uy(I)));var q=E(x(t.prototype),"subscribe",this).call(this,{next:y,error:T,complete:I});return a instanceof He&&a.add(q),q}}]),t}(Ie);function MY(){return this._results[oc()]()}var Sc=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(this,e),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var t=oc(),n=e.prototype;n[t]||(n[t]=MY)}return f(e,[{key:"changes",get:function(){return this._changes||(this._changes=new mt)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,n){return this._results.reduce(t,n)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,n){var a=this;a.dirty=!1;var o=Ta(t);(this._changesDetected=!function(e,i,t){if(e.length!==i.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];c(this,e),this.queries=i}return f(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var a=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:null;c(this,e),this.predicate=i,this.flags=t,this.read=n},EY=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,e),this.queries=i}return f(e,[{key:"elementStart",value:function(t,n){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:-1;c(this,e),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}return f(e,[{key:"elementStart",value:function(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,n){this.elementStart(t,n)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var n=this._declarationNodeIndex,a=t.parent;null!==a&&8&a.type&&a.index!==n;)a=a.parent;return n===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,n){var a=this.metadata.predicate;if(Array.isArray(a))for(var o=0;o0)n.push(s[l/2]);else{for(var d=o[l+1],y=i[-u],T=10;T0&&(l=setTimeout(function(){s._callbacks=s._callbacks.filter(function(u){return u.timeoutId!==l}),n(s._didWork,s.getPendingTasks())},a)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}},{key:"whenStable",value:function(n,a,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,a,o),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(n,a,o){return[]}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),BT=function(){var e=function(){function i(){c(this,i),this._applications=new Map,nb.addToWindow(this)}return f(i,[{key:"registerApplication",value:function(n,a){this._applications.set(n,a)}},{key:"unregisterApplication",value:function(n){this._applications.delete(n)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(n){return this._applications.get(n)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(n){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return nb.findTestabilityInTree(this,n,a)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),nb=new(function(){function e(){c(this,e)}return f(e,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,n,a){return null}}]),e}()),jT=!0,UT=!1;function rb(){return UT=!0,jT}var oo,YH=function(e,i,t){var n=new jy(t);return Promise.resolve(n)},zT=new Ze("AllowMultipleToken"),ib=function e(i,t){c(this,e),this.name=i,this.token=t};function zH(e){if(oo&&!oo.destroyed&&!oo.injector.get(zT,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");oo=e.get(qT);var i=e.get(RT,null);return i&&i.forEach(function(t){return t()}),oo}function WT(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(i),a=new Ze(n);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=GT();if(!s||s.injector.get(zT,!1))if(e)e(t.concat(o).concat({provide:a,useValue:!0}));else{var l=t.concat(o).concat({provide:a,useValue:!0},{provide:nf,useValue:"platform"});zH(sn.create({providers:l,name:n}))}return WH(a)}}function WH(e){var i=GT();if(!i)throw new Error("No platform exists!");if(!i.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return i}function GT(){return oo&&!oo.destroyed?oo:null}var qT=function(){var e=function(){function i(t){c(this,i),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return f(i,[{key:"bootstrapModuleFactory",value:function(n,a){var o=this,d=function(e,i){return"noop"===e?new AH:("zone.js"===e?void 0:e)||new vt({enableLongStackTrace:rb(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),y=[{provide:vt,useValue:d}];return d.run(function(){var T=sn.create({providers:y,parent:o.injector,name:n.moduleType.name}),I=n.create(T),V=I.injector.get(Qa,null);if(!V)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return d.runOutsideAngular(function(){var q=d.onError.subscribe({next:function(he){V.handleError(he)}});I.onDestroy(function(){ab(o._modules,I),q.unsubscribe()})}),function(e,i,t){try{var n=((q=I.injector.get(Dc)).runInitializers(),q.donePromise.then(function(){return Cy(I.injector.get(fs,Yp)||Yp),o._moduleDoBootstrap(I),I}));return lf(n)?n.catch(function(a){throw i.runOutsideAngular(function(){return e.handleError(a)}),a}):n}catch(a){throw i.runOutsideAngular(function(){return e.handleError(a)}),a}var q}(V,d)})}},{key:"bootstrapModule",value:function(n){var a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=KT({},o);return YH(0,0,n).then(function(l){return a.bootstrapModuleFactory(l,s)})}},{key:"_moduleDoBootstrap",value:function(n){var a=n.injector.get(Us);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(o){return a.bootstrap(o)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module ".concat(Yt(n.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");n.instance.ngDoBootstrap(a)}this._modules.push(n)}},{key:"onDestroy",value:function(n){this._destroyListeners.push(n)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function KT(e,i){return Array.isArray(i)?i.reduce(KT,e):Object.assign(Object.assign({},e),i)}var Us=function(){var e=function(){function i(t,n,a,o,s){var l=this;c(this,i),this._zone=t,this._injector=n,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new me(function(y){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){y.next(l._stable),y.complete()})}),d=new me(function(y){var T;l._zone.runOutsideAngular(function(){T=l._zone.onStable.subscribe(function(){vt.assertNotInAngularZone(),Zy(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,y.next(!0))})})});var I=l._zone.onUnstable.subscribe(function(){vt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){y.next(!1)}))});return function(){T.unsubscribe(),I.unsubscribe()}});this.isStable=wi(u,d.pipe(yu()))}return f(i,[{key:"bootstrap",value:function(n,a){var s,o=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.");s=n instanceof TS?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);var l=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ds),d=s.create(sn.NULL,[],a||s.selector,l),y=d.location.nativeElement,T=d.injector.get(tb,null),I=T&&d.injector.get(BT);return T&&I&&I.registerApplication(y,T),d.onDestroy(function(){o.detachView(d.hostView),ab(o.components,d),I&&I.unregisterApplication(y)}),this._loadComponent(d),d}},{key:"tick",value:function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var o,a=W(this._views);try{for(a.s();!(o=a.n()).done;)o.value.detectChanges()}catch(y){a.e(y)}finally{a.f()}}catch(y){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(y)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(n){var a=n;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(n){var a=n;ab(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(FT,[]).concat(this._bootstrapListeners).forEach(function(o){return o(n)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(n){return n.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(sn),_e(Qa),_e(Yo),_e(Dc))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function ab(e,i){var t=e.indexOf(i);t>-1&&e.splice(t,1)}var nm=function e(){c(this,e)},$H=function e(){c(this,e)},QH={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ZH=function(){var e=function(){function i(t,n){c(this,i),this._compiler=t,this._config=n||QH}return f(i,[{key:"load",value:function(n){return this.loadAndCompile(n)}},{key:"loadAndCompile",value:function(n){var a=this,s=te(n.split("#"),2),l=s[0],u=s[1];return void 0===u&&(u="default"),B(98255)(l).then(function(d){return d[u]}).then(function(d){return ZT(d,l,u)}).then(function(d){return a._compiler.compileModuleAsync(d)})}},{key:"loadFactory",value:function(n){var o=te(n.split("#"),2),s=o[0],l=o[1],u="NgFactory";return void 0===l&&(l="default",u=""),B(98255)(this._config.factoryPathPrefix+s+this._config.factoryPathSuffix).then(function(d){return d[l+u]}).then(function(d){return ZT(d,s,l)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Al),_e($H,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function ZT(e,i,t){if(!e)throw new Error("Cannot find '".concat(t,"' in '").concat(i,"'"));return e}var sV=WT(null,"core",[{provide:Ec,useValue:"unknown"},{provide:qT,deps:[sn]},{provide:BT,deps:[]},{provide:em,deps:[]}]),hV=[{provide:Us,useClass:Us,deps:[vt,sn,Qa,Yo,Dc]},{provide:iY,deps:[vt],useFactory:function(e){var i=[];return e.onStable.subscribe(function(){for(;i.length;)i.pop()()}),function(t){i.push(t)}}},{provide:Dc,useClass:Dc,deps:[[new ti,wf]]},{provide:Al,useClass:Al,deps:[]},_H,{provide:Pl,useFactory:function(){return t5},deps:[]},{provide:kc,useFactory:function(){return n5},deps:[]},{provide:fs,useFactory:function(e){return Cy(e=e||"undefined"!=typeof $localize&&$localize.locale||Yp),e},deps:[[new Ku(fs),new ti,new ss]]},{provide:NT,useValue:"USD"}],mV=function(){var e=function i(t){c(this,i)};return e.\u0275fac=function(t){return new(t||e)(_e(Us))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:hV}),e}(),um=null;function Vo(){return um}var cB=function e(){c(this,e)},dt=new Ze("DocumentToken"),Nl=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:dB,token:e,providedIn:"platform"}),e}();function dB(){return _e(_D)}var fB=new Ze("Location Initialized"),_D=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this))._doc=a,o._init(),o}return f(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return Vo().getBaseHref(this._doc)}},{key:"onPopState",value:function(o){var s=Vo().getGlobalEventTarget(this._doc,"window");return s.addEventListener("popstate",o,!1),function(){return s.removeEventListener("popstate",o)}}},{key:"onHashChange",value:function(o){var s=Vo().getGlobalEventTarget(this._doc,"window");return s.addEventListener("hashchange",o,!1),function(){return s.removeEventListener("hashchange",o)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(o){this.location.pathname=o}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(o,s,l){yD()?this._history.pushState(o,s,l):this.location.hash=l}},{key:"replaceState",value:function(o,s,l){yD()?this._history.replaceState(o,s,l):this.location.hash=l}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(o)}},{key:"getState",value:function(){return this._history.state}}]),n}(Nl);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:hB,token:e,providedIn:"platform"}),e}();function yD(){return!!window.history.pushState}function hB(){return new _D(_e(dt))}function kb(e,i){if(0==e.length)return i;if(0==i.length)return e;var t=0;return e.endsWith("/")&&t++,i.startsWith("/")&&t++,2==t?e+i.substring(1):1==t?e+i:e+"/"+i}function bD(e){var i=e.match(/#|\?|$/),t=i&&i.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function ps(e){return e&&"?"!==e[0]?"?"+e:e}var Oc=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:pB,token:e,providedIn:"root"}),e}();function pB(e){var i=_e(dt).location;return new kD(_e(Nl),i&&i.origin||"")}var Cb=new Ze("appBaseHref"),kD=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;if(c(this,n),(s=t.call(this))._platformLocation=a,s._removeListenerFns=[],null==o&&(o=s._platformLocation.getBaseHrefFromDOM()),null==o)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 s._baseHref=o,s}return f(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(o){return kb(this._baseHref,o)}},{key:"path",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this._platformLocation.pathname+ps(this._platformLocation.search),l=this._platformLocation.hash;return l&&o?"".concat(s).concat(l):s}},{key:"pushState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));this._platformLocation.pushState(o,s,d)}},{key:"replaceState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));this._platformLocation.replaceState(o,s,d)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),n}(Oc);return e.\u0275fac=function(t){return new(t||e)(_e(Nl),_e(Cb,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),mB=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._platformLocation=a,s._baseHref="",s._removeListenerFns=[],null!=o&&(s._baseHref=o),s}return f(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}},{key:"prepareExternalUrl",value:function(o){var s=kb(this._baseHref,o);return s.length>0?"#"+s:s}},{key:"pushState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.pushState(o,s,d)}},{key:"replaceState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.replaceState(o,s,d)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),n}(Oc);return e.\u0275fac=function(t){return new(t||e)(_e(Nl),_e(Cb,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Yl=function(){var e=function(){function i(t,n){var a=this;c(this,i),this._subject=new mt,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=bD(CD(o)),this._platformStrategy.onPopState(function(s){a._subject.emit({url:a.path(!0),pop:!0,state:s.state,type:s.type})})}return f(i,[{key:"path",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(n))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(n+ps(a))}},{key:"normalize",value:function(n){return i.stripTrailingSlash(function(e,i){return e&&i.startsWith(e)?i.substring(e.length):i}(this._baseHref,CD(n)))}},{key:"prepareExternalUrl",value:function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}},{key:"go",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(o,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ps(a)),o)}},{key:"replaceState",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(o,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ps(a)),o)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var a,o,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformStrategy).historyGo)||void 0===o||o.call(a,n)}},{key:"onUrlChange",value:function(n){var a=this;this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(o){a._notifyUrlChangeListeners(o.url,o.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(o){return o(n,a)})}},{key:"subscribe",value:function(n,a,o){return this._subject.subscribe({next:n,error:a,complete:o})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Oc),_e(Nl))},e.normalizeQueryParams=ps,e.joinWithSlash=kb,e.stripTrailingSlash=bD,e.\u0275prov=We({factory:vB,token:e,providedIn:"root"}),e}();function vB(){return new Yl(_e(Oc),_e(Nl))}function CD(e){return e.replace(/\/index.html$/,"")}var Pf=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Qi=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),zn=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Oa=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Pr=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function cm(e,i){return Ia(Ai(e)[$n.DateFormat],i)}function dm(e,i){return Ia(Ai(e)[$n.TimeFormat],i)}function fm(e,i){return Ia(Ai(e)[$n.DateTimeFormat],i)}function xa(e,i){var t=Ai(e),n=t[$n.NumberSymbols][i];if(void 0===n){if(i===Pr.CurrencyDecimal)return t[$n.NumberSymbols][Pr.Decimal];if(i===Pr.CurrencyGroup)return t[$n.NumberSymbols][Pr.Group]}return n}var wB=function(e){return Ai(e)[$n.PluralCase]};function wD(e){if(!e[$n.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[$n.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Ia(e,i){for(var t=i;t>-1;t--)if(void 0!==e[t])return e[t];throw new Error("Locale data API: locale data undefined")}function Sb(e){var t=te(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var PB=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Of={},OB=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Ws=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Mn=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),wn=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function SD(e,i,t,n){var a=function(e){if(ED(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=te(e.split("-").map(function(T){return+T}),3),a=t[1],s=t[2];return hm(t[0],(void 0===a?1:a)-1,void 0===s?1:s)}var d,u=parseFloat(e);if(!isNaN(e-u))return new Date(u);if(d=e.match(PB))return function(e){var i=new Date(0),t=0,n=0,a=e[8]?i.setUTCFullYear:i.setFullYear,o=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));var s=Number(e[4]||0)-t,l=Number(e[5]||0)-n,u=Number(e[6]||0),d=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(i,s,l,u,d),i}(d)}var y=new Date(e);if(!ED(y))throw new Error('Unable to convert "'.concat(e,'" into a date'));return y}(e);i=ms(t,i)||i;for(var l,s=[];i;){if(!(l=OB.exec(i))){s.push(i);break}var u=(s=s.concat(l.slice(1))).pop();if(!u)break;i=u}var d=a.getTimezoneOffset();n&&(d=DD(n,d),a=function(e,i,t){var a=e.getTimezoneOffset();return function(e,i){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+i),e}(e,-1*(DD(i,a)-a))}(a,n));var y="";return s.forEach(function(T){var I=function(e){if(Db[e])return Db[e];var i;switch(e){case"G":case"GG":case"GGG":i=Wn(wn.Eras,zn.Abbreviated);break;case"GGGG":i=Wn(wn.Eras,zn.Wide);break;case"GGGGG":i=Wn(wn.Eras,zn.Narrow);break;case"y":i=Or(Mn.FullYear,1,0,!1,!0);break;case"yy":i=Or(Mn.FullYear,2,0,!0,!0);break;case"yyy":i=Or(Mn.FullYear,3,0,!1,!0);break;case"yyyy":i=Or(Mn.FullYear,4,0,!1,!0);break;case"Y":i=gm(1);break;case"YY":i=gm(2,!0);break;case"YYY":i=gm(3);break;case"YYYY":i=gm(4);break;case"M":case"L":i=Or(Mn.Month,1,1);break;case"MM":case"LL":i=Or(Mn.Month,2,1);break;case"MMM":i=Wn(wn.Months,zn.Abbreviated);break;case"MMMM":i=Wn(wn.Months,zn.Wide);break;case"MMMMM":i=Wn(wn.Months,zn.Narrow);break;case"LLL":i=Wn(wn.Months,zn.Abbreviated,Qi.Standalone);break;case"LLLL":i=Wn(wn.Months,zn.Wide,Qi.Standalone);break;case"LLLLL":i=Wn(wn.Months,zn.Narrow,Qi.Standalone);break;case"w":i=Tb(1);break;case"ww":i=Tb(2);break;case"W":i=Tb(1,!0);break;case"d":i=Or(Mn.Date,1);break;case"dd":i=Or(Mn.Date,2);break;case"c":case"cc":i=Or(Mn.Day,1);break;case"ccc":i=Wn(wn.Days,zn.Abbreviated,Qi.Standalone);break;case"cccc":i=Wn(wn.Days,zn.Wide,Qi.Standalone);break;case"ccccc":i=Wn(wn.Days,zn.Narrow,Qi.Standalone);break;case"cccccc":i=Wn(wn.Days,zn.Short,Qi.Standalone);break;case"E":case"EE":case"EEE":i=Wn(wn.Days,zn.Abbreviated);break;case"EEEE":i=Wn(wn.Days,zn.Wide);break;case"EEEEE":i=Wn(wn.Days,zn.Narrow);break;case"EEEEEE":i=Wn(wn.Days,zn.Short);break;case"a":case"aa":case"aaa":i=Wn(wn.DayPeriods,zn.Abbreviated);break;case"aaaa":i=Wn(wn.DayPeriods,zn.Wide);break;case"aaaaa":i=Wn(wn.DayPeriods,zn.Narrow);break;case"b":case"bb":case"bbb":i=Wn(wn.DayPeriods,zn.Abbreviated,Qi.Standalone,!0);break;case"bbbb":i=Wn(wn.DayPeriods,zn.Wide,Qi.Standalone,!0);break;case"bbbbb":i=Wn(wn.DayPeriods,zn.Narrow,Qi.Standalone,!0);break;case"B":case"BB":case"BBB":i=Wn(wn.DayPeriods,zn.Abbreviated,Qi.Format,!0);break;case"BBBB":i=Wn(wn.DayPeriods,zn.Wide,Qi.Format,!0);break;case"BBBBB":i=Wn(wn.DayPeriods,zn.Narrow,Qi.Format,!0);break;case"h":i=Or(Mn.Hours,1,-12);break;case"hh":i=Or(Mn.Hours,2,-12);break;case"H":i=Or(Mn.Hours,1);break;case"HH":i=Or(Mn.Hours,2);break;case"m":i=Or(Mn.Minutes,1);break;case"mm":i=Or(Mn.Minutes,2);break;case"s":i=Or(Mn.Seconds,1);break;case"ss":i=Or(Mn.Seconds,2);break;case"S":i=Or(Mn.FractionalSeconds,1);break;case"SS":i=Or(Mn.FractionalSeconds,2);break;case"SSS":i=Or(Mn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=mm(Ws.Short);break;case"ZZZZZ":i=mm(Ws.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=mm(Ws.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=mm(Ws.Long);break;default:return null}return Db[e]=i,i}(T);y+=I?I(a,t,d):"''"===T?"'":T.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),y}function hm(e,i,t){var n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function ms(e,i){var t=function(e){return Ai(e)[$n.LocaleId]}(e);if(Of[t]=Of[t]||{},Of[t][i])return Of[t][i];var n="";switch(i){case"shortDate":n=cm(e,Oa.Short);break;case"mediumDate":n=cm(e,Oa.Medium);break;case"longDate":n=cm(e,Oa.Long);break;case"fullDate":n=cm(e,Oa.Full);break;case"shortTime":n=dm(e,Oa.Short);break;case"mediumTime":n=dm(e,Oa.Medium);break;case"longTime":n=dm(e,Oa.Long);break;case"fullTime":n=dm(e,Oa.Full);break;case"short":var a=ms(e,"shortTime"),o=ms(e,"shortDate");n=pm(fm(e,Oa.Short),[a,o]);break;case"medium":var s=ms(e,"mediumTime"),l=ms(e,"mediumDate");n=pm(fm(e,Oa.Medium),[s,l]);break;case"long":var u=ms(e,"longTime"),d=ms(e,"longDate");n=pm(fm(e,Oa.Long),[u,d]);break;case"full":var y=ms(e,"fullTime"),T=ms(e,"fullDate");n=pm(fm(e,Oa.Full),[y,T])}return n&&(Of[t][i]=n),n}function pm(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return null!=i&&n in i?i[n]:t})),e}function uo(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o="";(e<0||a&&e<=0)&&(a?e=1-e:(e=-e,o=t));for(var s=String(e);s.length2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,s){var l=IB(e,o);if((t>0||l>-t)&&(l+=t),e===Mn.Hours)0===l&&-12===t&&(l=12);else if(e===Mn.FractionalSeconds)return xB(l,i);var u=xa(s,Pr.MinusSign);return uo(l,i,u,n,a)}}function IB(e,i){switch(e){case Mn.FullYear:return i.getFullYear();case Mn.Month:return i.getMonth();case Mn.Date:return i.getDate();case Mn.Hours:return i.getHours();case Mn.Minutes:return i.getMinutes();case Mn.Seconds:return i.getSeconds();case Mn.FractionalSeconds:return i.getMilliseconds();case Mn.Day:return i.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}function Wn(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Qi.Format,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return AB(a,o,e,i,t,n)}}function AB(e,i,t,n,a,o){switch(t){case wn.Months:return function(e,i,t){var n=Ai(e),o=Ia([n[$n.MonthsFormat],n[$n.MonthsStandalone]],i);return Ia(o,t)}(i,a,n)[e.getMonth()];case wn.Days:return function(e,i,t){var n=Ai(e),o=Ia([n[$n.DaysFormat],n[$n.DaysStandalone]],i);return Ia(o,t)}(i,a,n)[e.getDay()];case wn.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(o){var u=function(e){var i=Ai(e);return wD(i),(i[$n.ExtraData][2]||[]).map(function(n){return"string"==typeof n?Sb(n):[Sb(n[0]),Sb(n[1])]})}(i),d=function(e,i,t){var n=Ai(e);wD(n);var o=Ia([n[$n.ExtraData][0],n[$n.ExtraData][1]],i)||[];return Ia(o,t)||[]}(i,a,n),y=u.findIndex(function(I){if(Array.isArray(I)){var V=te(I,2),q=V[0],X=V[1],he=s>=q.hours&&l>=q.minutes,Se=s0?Math.floor(a/60):Math.ceil(a/60);switch(e){case Ws.Short:return(a>=0?"+":"")+uo(s,2,o)+uo(Math.abs(a%60),2,o);case Ws.ShortGMT:return"GMT"+(a>=0?"+":"")+uo(s,1,o);case Ws.Long:return"GMT"+(a>=0?"+":"")+uo(s,2,o)+":"+uo(Math.abs(a%60),2,o);case Ws.Extended:return 0===n?"Z":(a>=0?"+":"")+uo(s,2,o)+":"+uo(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function FB(e){var i=hm(e,0,1).getDay();return hm(e,0,1+(i<=4?4:11)-i)}function TD(e){return hm(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Tb(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,n){var a;if(i){var o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();a=1+Math.floor((s+o)/7)}else{var l=TD(t),u=FB(l.getFullYear()),d=l.getTime()-u.getTime();a=1+Math.round(d/6048e5)}return uo(a,e,xa(n,Pr.MinusSign))}}function gm(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,n){return uo(TD(t).getFullYear(),e,xa(n,Pr.MinusSign),i)}}var Db={};function DD(e,i){e=e.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function ED(e){return e instanceof Date&&!isNaN(e.valueOf())}var ym=function e(){c(this,e)},ZB=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this)).locale=a,o}return f(n,[{key:"getPluralCategory",value:function(o,s){switch(wB(s||this.locale)(o)){case Pf.Zero:return"zero";case Pf.One:return"one";case Pf.Two:return"two";case Pf.Few:return"few";case Pf.Many:return"many";default:return"other"}}}]),n}(ym);return e.\u0275fac=function(t){return new(t||e)(_e(fs))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function xD(e,i){i=encodeURIComponent(i);var n,t=W(e.split(";"));try{for(t.s();!(n=t.n()).done;){var a=n.value,o=a.indexOf("="),l=te(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),d=l[1];if(l[0].trim()===i)return decodeURIComponent(d)}}catch(y){t.e(y)}finally{t.f()}return null}var Cr=function(){var e=function(){function i(t,n,a,o){c(this,i),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=a,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return f(i,[{key:"klass",set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(of(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var a=this._keyValueDiffer.diff(this._rawClass);a&&this._applyKeyValueChanges(a)}}},{key:"_applyKeyValueChanges",value:function(n){var a=this;n.forEachAddedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),n.forEachChangedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),n.forEachRemovedItem(function(o){o.previousValue&&a._toggleClass(o.key,!1)})}},{key:"_applyIterableChanges",value:function(n){var a=this;n.forEachAddedItem(function(o){if("string"!=typeof o.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Yt(o.item)));a._toggleClass(o.item,!0)}),n.forEachRemovedItem(function(o){return a._toggleClass(o.item,!1)})}},{key:"_applyClasses",value:function(n){var a=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(o){return a._toggleClass(o,!0)}):Object.keys(n).forEach(function(o){return a._toggleClass(o,!!n[o])}))}},{key:"_removeClasses",value:function(n){var a=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(o){return a._toggleClass(o,!1)}):Object.keys(n).forEach(function(o){return a._toggleClass(o,!1)}))}},{key:"_toggleClass",value:function(n,a){var o=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(s){a?o._renderer.addClass(o._ngEl.nativeElement,s):o._renderer.removeClass(o._ngEl.nativeElement,s)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Pl),N(kc),N(pt),N(Ho))},e.\u0275dir=Ve({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),e6=function(){function e(i,t,n,a){c(this,e),this.$implicit=i,this.ngForOf=t,this.index=n,this.count=a}return f(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),xr=function(){var e=function(){function i(t,n,a){c(this,i),this._viewContainer=t,this._template=n,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return f(i,[{key:"ngForOf",set:function(n){this._ngForOf=n,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"ngForTemplate",set:function(n){n&&(this._template=n)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(o){throw new Error("Cannot find a differ supporting object '".concat(n,"' of type '").concat(function(e){return e.name||typeof e}(n),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(n){var a=this,o=[];n.forEachOperation(function(y,T,I){if(null==y.previousIndex){var V=a._viewContainer.createEmbeddedView(a._template,new e6(null,a._ngForOf,-1,-1),null===I?void 0:I),q=new ID(y,V);o.push(q)}else if(null==I)a._viewContainer.remove(null===T?void 0:T);else if(null!==T){var X=a._viewContainer.get(T);a._viewContainer.move(X,I);var he=new ID(y,X);o.push(he)}});for(var s=0;s1&&void 0!==arguments[1]?arguments[1]:"mediumDate",o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(null==n||""===n||n!=n)return null;try{return SD(n,a,s||this.locale,o)}catch(l){throw co(i,l.message)}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(fs,16))},e.\u0275pipe=Dr({name:"date",type:e,pure:!0}),e}(),Bo=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[{provide:ym,useClass:ZB}]}),e}(),jD=function(){var e=function i(){c(this,i)};return e.\u0275prov=We({token:e,providedIn:"root",factory:function(){return new T6(_e(dt),window)}}),e}(),T6=function(){function e(i,t){c(this,e),this.document=i,this.window=t,this.offset=function(){return[0,0]}}return f(e,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var n=function(e,i){var t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),a=n.currentNode;a;){var o=a.shadowRoot;if(o){var s=o.getElementById(i)||o.querySelector('[name="'.concat(i,'"]'));if(s)return s}a=n.nextNode()}return null}(this.document,t);n&&(this.scrollToElement(n),this.attemptFocus(n))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var n=t.getBoundingClientRect(),a=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(a-s[0],o-s[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=UD(this.window.history)||UD(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(n){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),e}();function UD(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var km,Rb=function e(){c(this,e)},L6=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"onAndCancel",value:function(a,o,s){return a.addEventListener(o,s,!1),function(){a.removeEventListener(o,s,!1)}}},{key:"dispatchEvent",value:function(a,o){a.dispatchEvent(o)}},{key:"remove",value:function(a){a.parentNode&&a.parentNode.removeChild(a)}},{key:"createElement",value:function(a,o){return(o=o||this.getDefaultDocument()).createElement(a)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(a){return a.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(a){return a instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(a,o){return"window"===o?window:"document"===o?a:"body"===o?a.body:null}},{key:"getBaseHref",value:function(a){var o=(Af=Af||document.querySelector("base"))?Af.getAttribute("href"):null;return null==o?null:function(e){(km=km||document.createElement("a")).setAttribute("href",e);var i=km.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(o)}},{key:"resetBaseElement",value:function(){Af=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(a){return xD(document.cookie,a)}}],[{key:"makeCurrent",value:function(){!function(e){um||(um=e)}(new t)}}]),t}(function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments)).supportsDOMEvents=!0,n}return t}(cB)),Af=null,zD=new Ze("TRANSITION_ID"),I6=[{provide:wf,useFactory:function(e,i,t){return function(){t.get(Dc).donePromise.then(function(){for(var n=Vo(),a=i.querySelectorAll('style[ng-transition="'.concat(e,'"]')),o=0;o1&&void 0!==arguments[1])||arguments[1],s=t.findTestabilityInTree(a,o);if(null==s)throw new Error("Could not find testability for element.");return s},hn.getAllAngularTestabilities=function(){return t.getAllTestabilities()},hn.getAllAngularRootElements=function(){return t.getAllRootElements()},hn.frameworkStabilizers||(hn.frameworkStabilizers=[]),hn.frameworkStabilizers.push(function(o){var s=hn.getAllAngularTestabilities(),l=s.length,u=!1,d=function(T){u=u||T,0==--l&&o(u)};s.forEach(function(y){y.whenStable(d)})})}},{key:"findTestabilityInTree",value:function(t,n,a){if(null==n)return null;var o=t.getTestability(n);return null!=o?o:a?Vo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}],[{key:"init",value:function(){!function(e){nb=e}(new e)}}]),e}(),R6=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Rf=new Ze("EventManagerPlugins"),Mm=function(){var e=function(){function i(t,n){var a=this;c(this,i),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(o){return o.manager=a}),this._plugins=t.slice().reverse()}return f(i,[{key:"addEventListener",value:function(n,a,o){return this._findPluginFor(a).addEventListener(n,a,o)}},{key:"addGlobalEventListener",value:function(n,a,o){return this._findPluginFor(a).addGlobalEventListener(n,a,o)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(n){var a=this._eventNameToPlugin.get(n);if(a)return a;for(var o=this._plugins,s=0;s-1&&(s.splice(I,1),d+=T+".")}),d+=u,0!=s.length||0===u.length)return null;var y={};return y.domEventName=l,y.fullKey=d,y}},{key:"getEventFullKey",value:function(o){var s="",l=function(e){var i=e.key;if(null==i){if(null==(i=e.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===e.location&&e2.hasOwnProperty(i)&&(i=e2[i]))}return sj[i]||i}(o);return" "===(l=l.toLowerCase())?l="space":"."===l&&(l="dot"),XD.forEach(function(u){u!=l&&(0,fj[u])(o)&&(s+=u+".")}),s+=l}},{key:"eventCallback",value:function(o,s,l){return function(u){n.getEventFullKey(u)===o&&l.runGuarded(function(){return s(u)})}}},{key:"_normalizeKey",value:function(o){switch(o){case"esc":return"escape";default:return o}}}]),n}(Fb);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),xc=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return _e(Bb)},token:e,providedIn:"root"}),e}(),Bb=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this))._doc=a,o}return f(n,[{key:"sanitize",value:function(o,s){if(null==s)return null;switch(o){case ni.NONE:return s;case ni.HTML:return Oo(s,"HTML")?da(s):mC(this._doc,String(s)).toString();case ni.STYLE:return Oo(s,"Style")?da(s):s;case ni.SCRIPT:if(Oo(s,"Script"))return da(s);throw new Error("unsafe value used in a script context");case ni.URL:return sC(s),Oo(s,"URL")?da(s):qd(String(s));case ni.RESOURCE_URL:if(Oo(s,"ResourceURL"))return da(s);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(o," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(o){return function(e){return new MA(e)}(o)}},{key:"bypassSecurityTrustStyle",value:function(o){return function(e){return new wA(e)}(o)}},{key:"bypassSecurityTrustScript",value:function(o){return function(e){return new SA(e)}(o)}},{key:"bypassSecurityTrustUrl",value:function(o){return function(e){return new TA(e)}(o)}},{key:"bypassSecurityTrustResourceUrl",value:function(o){return function(e){return new DA(e)}(o)}}]),n}(xc);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return function(e){return new Bb(e.get(dt))}(_e(tf))},token:e,providedIn:"root"}),e}(),Mj=WT(sV,"browser",[{provide:Ec,useValue:"browser"},{provide:RT,useValue:function(){L6.makeCurrent(),A6.init()},multi:!0},{provide:dt,useFactory:function(){return e=document,Lu=e,document;var e},deps:[]}]),wj=[[],{provide:nf,useValue:"root"},{provide:Qa,useFactory:function(){return new Qa},deps:[]},{provide:Rf,useClass:ej,multi:!0,deps:[dt,vt,Ec]},{provide:Rf,useClass:hj,multi:!0,deps:[dt]},[],{provide:Sm,useClass:Sm,deps:[Mm,Ff,Sf]},{provide:Ll,useExisting:Sm},{provide:GD,useExisting:Ff},{provide:Ff,useClass:Ff,deps:[dt]},{provide:tb,useClass:tb,deps:[vt]},{provide:Mm,useClass:Mm,deps:[Rf,vt]},{provide:Rb,useClass:R6,deps:[]},[]],jb=function(){var e=function(){function i(t){if(c(this,i),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return f(i,null,[{key:"withServerTransition",value:function(n){return{ngModule:i,providers:[{provide:Sf,useValue:n.appId},{provide:zD,useExisting:Sf},I6]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(e,12))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:wj,imports:[Bo,mV]}),e}();"undefined"!=typeof window&&window;var n2=function e(){c(this,e)},Pj=function e(){c(this,e)},vs="*";function gs(e,i){return{type:7,name:e,definitions:i,options:{}}}function Yi(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:e}}function r2(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:i}}function bn(e){return{type:6,styles:e,offset:null}}function Hi(e,i,t){return{type:0,name:e,styles:i,options:t}}function Oj(e){return{type:5,steps:e}}function gi(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:i,options:t}}function xj(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function Ij(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:i,options:t}}function a2(e){Promise.resolve(null).then(e)}var Ic=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+t}return f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;a2(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}(),o2=function(){function e(i){var t=this;c(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var n=0,a=0,o=0,s=this.players.length;0==s?a2(function(){return t._onFinish()}):this.players.forEach(function(l){l.onDone(function(){++n==s&&t._onFinish()}),l.onDestroy(function(){++a==s&&t._onDestroy()}),l.onStart(function(){++o==s&&t._onStart()})}),this.totalTime=this.players.reduce(function(l,u){return Math.max(l,u.totalTime)},0)}return f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var n=t*this.totalTime;this.players.forEach(function(a){var o=a.totalTime?Math.min(1,n/a.totalTime):1;a.setPosition(o)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(n,a){return null===n||a.totalTime>n.totalTime?a:n},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}();function s2(){return"undefined"!=typeof window&&void 0!==window.document}function Wb(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gs(e){switch(e.length){case 0:return new Ic;case 1:return e[0];default:return new o2(e)}}function l2(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,d=null;if(n.forEach(function(T){var I=T.offset,V=I==u,q=V&&d||{};Object.keys(T).forEach(function(X){var he=X,Se=T[X];if("offset"!==X)switch(he=i.normalizePropertyName(he,s),Se){case"!":Se=a[X];break;case vs:Se=o[X];break;default:Se=i.normalizeStyleValue(X,he,Se,s)}q[he]=Se}),V||l.push(q),d=q,u=I}),s.length){var y="\n - ";throw new Error("Unable to animate due to the following errors:".concat(y).concat(s.join(y)))}return l}function Gb(e,i,t,n){switch(i){case"start":e.onStart(function(){return n(t&&qb(t,"start",e))});break;case"done":e.onDone(function(){return n(t&&qb(t,"done",e))});break;case"destroy":e.onDestroy(function(){return n(t&&qb(t,"destroy",e))})}}function qb(e,i,t){var n=t.totalTime,o=Kb(e.element,e.triggerName,e.fromState,e.toState,i||e.phaseName,null==n?e.totalTime:n,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Kb(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:i,fromState:t,toState:n,phaseName:a,totalTime:o,disabled:!!s}}function va(e,i,t){var n;return e instanceof Map?(n=e.get(i))||e.set(i,n=t):(n=e[i])||(n=e[i]=t),n}function u2(e){var i=e.indexOf(":");return[e.substring(1,i),e.substr(i+1)]}var Jb=function(i,t){return!1},$b=function(i,t){return!1},c2=function(i,t,n){return[]},d2=Wb();(d2||"undefined"!=typeof Element)&&(Jb=s2()?function(i,t){for(;t&&t!==document.documentElement;){if(t===i)return!0;t=t.parentNode||t.host}return!1}:function(i,t){return i.contains(t)},$b=function(){if(d2||Element.prototype.matches)return function(t,n){return t.matches(n)};var e=Element.prototype,i=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return i?function(t,n){return i.apply(t,[n])}:$b}(),c2=function(i,t,n){var a=[];if(n)for(var o=i.querySelectorAll(t),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(t){i[t]=e[t]}),i}function qs(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var n in e)t[n]=e[n];else Ac(e,t);return t}function _2(e,i,t){return t?i+":"+t+";":""}function y2(e){for(var i="",t=0;t *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(e,t);if("function"==typeof n)return void i.push(n);e=n}var a=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return t.push('The provided transition expression "'.concat(e,'" is not supported')),i;var o=a[1],s=a[2],l=a[3];i.push(M2(o,l)),"<"==s[0]&&!("*"==o&&"*"==l)&&i.push(M2(l,o))}(n,t,i)}):t.push(e),t}var xm=new Set(["true","1"]),Im=new Set(["false","0"]);function M2(e,i){var t=xm.has(e)||Im.has(e),n=xm.has(i)||Im.has(i);return function(a,o){var s="*"==e||e==a,l="*"==i||i==o;return!s&&t&&"boolean"==typeof a&&(s=a?xm.has(e):Im.has(e)),!l&&n&&"boolean"==typeof o&&(l=o?xm.has(i):Im.has(i)),s&&l}}var Wj=new RegExp("s*".concat(":self","s*,?"),"g");function S2(e,i,t){return new Gj(e).build(i,t)}var Gj=function(){function e(i){c(this,e),this._driver=i}return f(e,[{key:"build",value:function(t,n){var a=new Jj(n);return this._resetContextStyleTimingState(a),ga(this,Nf(t),a)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,n){var a=this,o=n.queryCount=0,s=n.depCount=0,l=[],u=[];return"@"==t.name.charAt(0)&&n.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(d){if(a._resetContextStyleTimingState(n),0==d.type){var y=d,T=y.name;T.toString().split(/\s*,\s*/).forEach(function(V){y.name=V,l.push(a.visitState(y,n))}),y.name=T}else if(1==d.type){var I=a.visitTransition(d,n);o+=I.queryCount,s+=I.depCount,u.push(I)}else n.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:l,transitions:u,queryCount:o,depCount:s,options:null}}},{key:"visitState",value:function(t,n){var a=this.visitStyle(t.styles,n),o=t.options&&t.options.params||null;if(a.containsDynamicStyles){var s=new Set,l=o||{};if(a.styles.forEach(function(d){if(Am(d)){var y=d;Object.keys(y).forEach(function(T){b2(y[T]).forEach(function(I){l.hasOwnProperty(I)||s.add(I)})})}}),s.size){var u=Pm(s.values());n.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(u.join(", ")))}}return{type:0,name:t.name,style:a,options:o?{params:o}:null}}},{key:"visitTransition",value:function(t,n){n.queryCount=0,n.depCount=0;var a=ga(this,Nf(t.animation),n);return{type:1,matchers:jj(t.expr,n.errors),animation:a,queryCount:n.queryCount,depCount:n.depCount,options:Ul(t.options)}}},{key:"visitSequence",value:function(t,n){var a=this;return{type:2,steps:t.steps.map(function(o){return ga(a,o,n)}),options:Ul(t.options)}}},{key:"visitGroup",value:function(t,n){var a=this,o=n.currentTime,s=0,l=t.steps.map(function(u){n.currentTime=o;var d=ga(a,u,n);return s=Math.max(s,n.currentTime),d});return n.currentTime=s,{type:3,steps:l,options:Ul(t.options)}}},{key:"visitAnimate",value:function(t,n){var a=function(e,i){var t=null;if(e.hasOwnProperty("duration"))t=e;else if("number"==typeof e)return lk(Em(e,i).duration,0,"");var a=e;if(a.split(/\s+/).some(function(l){return"{"==l.charAt(0)&&"{"==l.charAt(1)})){var s=lk(0,0,"");return s.dynamic=!0,s.strValue=a,s}return lk((t=t||Em(a,i)).duration,t.delay,t.easing)}(t.timings,n.errors);n.currentAnimateTimings=a;var o,s=t.styles?t.styles:bn({});if(5==s.type)o=this.visitKeyframes(s,n);else{var l=t.styles,u=!1;if(!l){u=!0;var d={};a.easing&&(d.easing=a.easing),l=bn(d)}n.currentTime+=a.duration+a.delay;var y=this.visitStyle(l,n);y.isEmptyStep=u,o=y}return n.currentAnimateTimings=null,{type:4,timings:a,style:o,options:null}}},{key:"visitStyle",value:function(t,n){var a=this._makeStyleAst(t,n);return this._validateStyleAst(a,n),a}},{key:"_makeStyleAst",value:function(t,n){var a=[];Array.isArray(t.styles)?t.styles.forEach(function(l){"string"==typeof l?l==vs?a.push(l):n.errors.push("The provided style string value ".concat(l," is not allowed.")):a.push(l)}):a.push(t.styles);var o=!1,s=null;return a.forEach(function(l){if(Am(l)){var u=l,d=u.easing;if(d&&(s=d,delete u.easing),!o)for(var y in u)if(u[y].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:a,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}},{key:"_validateStyleAst",value:function(t,n){var a=this,o=n.currentAnimateTimings,s=n.currentTime,l=n.currentTime;o&&l>0&&(l-=o.duration+o.delay),t.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(d){if(a._driver.validateStyleProperty(d)){var y=n.collectedStyles[n.currentQuerySelector],T=y[d],I=!0;T&&(l!=s&&l>=T.startTime&&s<=T.endTime&&(n.errors.push('The CSS property "'.concat(d,'" that exists between the times of "').concat(T.startTime,'ms" and "').concat(T.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(l,'ms" and "').concat(s,'ms"')),I=!1),l=T.startTime),I&&(y[d]={startTime:l,endTime:s}),n.options&&function(e,i,t){var n=i.params||{},a=b2(e);a.length&&a.forEach(function(o){n.hasOwnProperty(o)||t.push("Unable to resolve the local animation param ".concat(o," in the given list of values"))})}(u[d],n.options,n.errors)}else n.errors.push('The provided animation property "'.concat(d,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,n){var a=this,o={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),o;var l=0,u=[],d=!1,y=!1,T=0,I=t.steps.map(function(Re){var Ne=a._makeStyleAst(Re,n),Xe=null!=Ne.offset?Ne.offset:function(e){if("string"==typeof e)return null;var i=null;if(Array.isArray(e))e.forEach(function(n){if(Am(n)&&n.hasOwnProperty("offset")){var a=n;i=parseFloat(a.offset),delete a.offset}});else if(Am(e)&&e.hasOwnProperty("offset")){var t=e;i=parseFloat(t.offset),delete t.offset}return i}(Ne.styles),st=0;return null!=Xe&&(l++,st=Ne.offset=Xe),y=y||st<0||st>1,d=d||st0&&l0?Ne==X?1:q*Ne:u[Ne],st=Xe*pe;n.currentTime=he+Se.delay+st,Se.duration=st,a._validateStyleAst(Re,n),Re.offset=Xe,o.styles.push(Re)}),o}},{key:"visitReference",value:function(t,n){return{type:8,animation:ga(this,Nf(t.animation),n),options:Ul(t.options)}}},{key:"visitAnimateChild",value:function(t,n){return n.depCount++,{type:9,options:Ul(t.options)}}},{key:"visitAnimateRef",value:function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:Ul(t.options)}}},{key:"visitQuery",value:function(t,n){var a=n.currentQuerySelector,o=t.options||{};n.queryCount++,n.currentQuery=t;var l=te(function(e){var i=!!e.split(/\s*,\s*/).find(function(t){return":self"==t});return i&&(e=e.replace(Wj,"")),[e=e.replace(/@\*/g,Dm).replace(/@\w+/g,function(t){return Dm+"-"+t.substr(1)}).replace(/:animating/g,rk),i]}(t.selector),2),u=l[0],d=l[1];n.currentQuerySelector=a.length?a+" "+u:u,va(n.collectedStyles,n.currentQuerySelector,{});var y=ga(this,Nf(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=a,{type:11,selector:u,limit:o.limit||0,optional:!!o.optional,includeSelf:d,animation:y,originalSelector:t.selector,options:Ul(t.options)}}},{key:"visitStagger",value:function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var a="full"===t.timings?{duration:0,delay:0,easing:"full"}:Em(t.timings,n.errors,!0);return{type:12,animation:ga(this,Nf(t.animation),n),timings:a,options:null}}}]),e}(),Jj=function e(i){c(this,e),this.errors=i,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 Am(e){return!Array.isArray(e)&&"object"==typeof e}function Ul(e){return e?(e=Ac(e)).params&&(e.params=function(e){return e?Ac(e):null}(e.params)):e={},e}function lk(e,i,t){return{duration:e,delay:i,easing:t}}function uk(e,i,t,n,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:i,preStyleProps:t,postStyleProps:n,duration:a,delay:o,totalTime:a+o,easing:s,subTimeline:l}}var ck=function(){function e(){c(this,e),this._map=new Map}return f(e,[{key:"consume",value:function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n}},{key:"append",value:function(t,n){var a,o=this._map.get(t);o||this._map.set(t,o=[]),(a=o).push.apply(a,se(n))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),e8=new RegExp(":enter","g"),n8=new RegExp(":leave","g");function D2(e,i,t,n,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new r8).buildKeyframes(e,i,t,n,a,o,s,l,u,d)}var r8=function(){function e(){c(this,e)}return f(e,[{key:"buildKeyframes",value:function(t,n,a,o,s,l,u,d,y){var T=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];y=y||new ck;var I=new i8(t,n,y,o,s,T,[]);I.options=d,I.currentTimeline.setStyles([l],null,I.errors,d),ga(this,a,I);var V=I.timelines.filter(function(X){return X.containsAnimation()});if(V.length&&Object.keys(u).length){var q=V[V.length-1];q.allowOnlyTimelineStyles()||q.setStyles([u],null,I.errors,d)}return V.length?V.map(function(X){return X.buildKeyframes()}):[uk(n,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,n){}},{key:"visitState",value:function(t,n){}},{key:"visitTransition",value:function(t,n){}},{key:"visitAnimateChild",value:function(t,n){var a=n.subInstructions.consume(n.element);if(a){var o=n.createSubContext(t.options),s=n.currentTimeline.currentTime,l=this._visitSubInstructions(a,o,o.options);s!=l&&n.transformIntoNewTimeline(l)}n.previousNode=t}},{key:"visitAnimateRef",value:function(t,n){var a=n.createSubContext(t.options);a.transformIntoNewTimeline(),this.visitReference(t.animation,a),n.transformIntoNewTimeline(a.currentTimeline.currentTime),n.previousNode=t}},{key:"_visitSubInstructions",value:function(t,n,a){var s=n.currentTimeline.currentTime,l=null!=a.duration?Bl(a.duration):null,u=null!=a.delay?Bl(a.delay):null;return 0!==l&&t.forEach(function(d){var y=n.appendInstructionToTimeline(d,l,u);s=Math.max(s,y.duration+y.delay)}),s}},{key:"visitReference",value:function(t,n){n.updateOptions(t.options,!0),ga(this,t.animation,n),n.previousNode=t}},{key:"visitSequence",value:function(t,n){var a=this,o=n.subContextCount,s=n,l=t.options;if(l&&(l.params||l.delay)&&((s=n.createSubContext(l)).transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Rm);var u=Bl(l.delay);s.delayNextStep(u)}t.steps.length&&(t.steps.forEach(function(d){return ga(a,d,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>o&&s.transformIntoNewTimeline()),n.previousNode=t}},{key:"visitGroup",value:function(t,n){var a=this,o=[],s=n.currentTimeline.currentTime,l=t.options&&t.options.delay?Bl(t.options.delay):0;t.steps.forEach(function(u){var d=n.createSubContext(t.options);l&&d.delayNextStep(l),ga(a,u,d),s=Math.max(s,d.currentTimeline.currentTime),o.push(d.currentTimeline)}),o.forEach(function(u){return n.currentTimeline.mergeTimelineCollectedStyles(u)}),n.transformIntoNewTimeline(s),n.previousNode=t}},{key:"_visitTiming",value:function(t,n){if(t.dynamic){var a=t.strValue;return Em(n.params?Lm(a,n.params,n.errors):a,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,n){var a=n.currentAnimateTimings=this._visitTiming(t.timings,n),o=n.currentTimeline;a.delay&&(n.incrementTime(a.delay),o.snapshotCurrentStyles());var s=t.style;5==s.type?this.visitKeyframes(s,n):(n.incrementTime(a.duration),this.visitStyle(s,n),o.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}},{key:"visitStyle",value:function(t,n){var a=n.currentTimeline,o=n.currentAnimateTimings;!o&&a.getCurrentStyleProperties().length&&a.forwardFrame();var s=o&&o.easing||t.easing;t.isEmptyStep?a.applyEmptyStep(s):a.setStyles(t.styles,s,n.errors,n.options),n.previousNode=t}},{key:"visitKeyframes",value:function(t,n){var a=n.currentAnimateTimings,o=n.currentTimeline.duration,s=a.duration,u=n.createSubContext().currentTimeline;u.easing=a.easing,t.styles.forEach(function(d){u.forwardTime((d.offset||0)*s),u.setStyles(d.styles,d.easing,n.errors,n.options),u.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(u),n.transformIntoNewTimeline(o+s),n.previousNode=t}},{key:"visitQuery",value:function(t,n){var a=this,o=n.currentTimeline.currentTime,s=t.options||{},l=s.delay?Bl(s.delay):0;l&&(6===n.previousNode.type||0==o&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Rm);var u=o,d=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,n.errors);n.currentQueryTotal=d.length;var y=null;d.forEach(function(T,I){n.currentQueryIndex=I;var V=n.createSubContext(t.options,T);l&&V.delayNextStep(l),T===n.element&&(y=V.currentTimeline),ga(a,t.animation,V),V.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,V.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(u),y&&(n.currentTimeline.mergeTimelineCollectedStyles(y),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}},{key:"visitStagger",value:function(t,n){var a=n.parentContext,o=n.currentTimeline,s=t.timings,l=Math.abs(s.duration),u=l*(n.currentQueryTotal-1),d=l*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=u-d;break;case"full":d=a.currentStaggerTime}var T=n.currentTimeline;d&&T.delayNextStep(d);var I=T.currentTime;ga(this,t.animation,n),n.previousNode=t,a.currentStaggerTime=o.currentTime-I+(o.startTime-a.currentTimeline.startTime)}}]),e}(),Rm={},i8=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Rm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new E2(this._driver,t,0),l.push(this.currentTimeline)}return f(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,n){var a=this;if(t){var o=t,s=this.options;null!=o.duration&&(s.duration=Bl(o.duration)),null!=o.delay&&(s.delay=Bl(o.delay));var l=o.params;if(l){var u=s.params;u||(u=this.options.params={}),Object.keys(l).forEach(function(d){(!n||!u.hasOwnProperty(d))&&(u[d]=Lm(l[d],u,a.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var n=this.options.params;if(n){var a=t.params={};Object.keys(n).forEach(function(o){a[o]=n[o]})}}return t}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=n||this.element,s=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,a||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=Rm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,n,a){var o={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=a?a:0)+t.delay,easing:""},s=new a8(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(s),o}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,n,a,o,s,l){var u=[];if(o&&u.push(this.element),t.length>0){t=(t=t.replace(e8,"."+this._enterClassName)).replace(n8,"."+this._leaveClassName);var y=this._driver.query(this.element,t,1!=a);0!==a&&(y=a<0?y.slice(y.length+a,y.length):y.slice(0,a)),u.push.apply(u,se(y))}return!s&&0==u.length&&l.push('`query("'.concat(n,'")` returned zero elements. (Use `query("').concat(n,'", { optional: true })` if you wish to allow this.)')),u}}]),e}(),E2=function(){function e(i,t,n,a){c(this,e),this._driver=i,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=a,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return f(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value: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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(a){n._backFill[a]=n._globalTimelineStyles[a]||vs,n._currentKeyframe[a]=vs}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,n,a,o){var s=this;n&&(this._previousKeyframe.easing=n);var l=o&&o.params||{},u=function(e,i){var n,t={};return e.forEach(function(a){"*"===a?(n=n||Object.keys(i)).forEach(function(o){t[o]=vs}):qs(a,!1,t)}),t}(t,this._globalTimelineStyles);Object.keys(u).forEach(function(d){var y=Lm(u[d],l,a);s._pendingStyles[d]=y,s._localTimelineStyles.hasOwnProperty(d)||(s._backFill[d]=s._globalTimelineStyles.hasOwnProperty(d)?s._globalTimelineStyles[d]:vs),s._updateStyle(d,y)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,n=this._pendingStyles,a=Object.keys(n);0!=a.length&&(this._pendingStyles={},a.forEach(function(o){t._currentKeyframe[o]=n[o]}),Object.keys(this._localTimelineStyles).forEach(function(o){t._currentKeyframe.hasOwnProperty(o)||(t._currentKeyframe[o]=t._localTimelineStyles[o])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var a=t._localTimelineStyles[n];t._pendingStyles[n]=a,t._updateStyle(n,a)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var n=this;Object.keys(t._styleSummary).forEach(function(a){var o=n._styleSummary[a],s=t._styleSummary[a];(!o||s.time>o.time)&&n._updateStyle(a,s.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var n=new Set,a=new Set,o=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(T,I){var V=qs(T,!0);Object.keys(V).forEach(function(q){var X=V[q];"!"==X?n.add(q):X==vs&&a.add(q)}),o||(V.offset=I/t.duration),s.push(V)});var l=n.size?Pm(n.values()):[],u=a.size?Pm(a.values()):[];if(o){var d=s[0],y=Ac(d);d.offset=0,y.offset=1,s=[d,y]}return uk(this.element,s,l,u,this.duration,this.startTime,this.easing,!1)}}]),e}(),a8=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l,u){var d,y=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c(this,t),(d=i.call(this,n,a,u.delay)).keyframes=o,d.preStyleProps=s,d.postStyleProps=l,d._stretchStartingKeyframe=y,d.timings={duration:u.duration,delay:u.delay,easing:u.easing},d}return f(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var a=this.keyframes,o=this.timings,s=o.delay,l=o.duration,u=o.easing;if(this._stretchStartingKeyframe&&s){var d=[],y=l+s,T=s/y,I=qs(a[0],!1);I.offset=0,d.push(I);var V=qs(a[0],!1);V.offset=L2(T),d.push(V);for(var q=a.length-1,X=1;X<=q;X++){var he=qs(a[X],!1);he.offset=L2((s+he.offset*l)/y),d.push(he)}l=y,s=0,u="",a=d}return uk(this.element,a,this.preStyleProps,this.postStyleProps,l,s,u,!0)}}]),t}(E2);function L2(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,t=Math.pow(10,i-1);return Math.round(e*t)/t}var dk=function e(){c(this,e)},s8=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"normalizePropertyName",value:function(a,o){return ok(a)}},{key:"normalizeStyleValue",value:function(a,o,s,l){var u="",d=s.toString().trim();if(u8[o]&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var y=s.match(/^[+-]?[\d\.]+([a-z]*)$/);y&&0==y[1].length&&l.push("Please provide a CSS unit value for ".concat(a,":").concat(s))}return d+u}}]),t}(dk),u8=function(){return e="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(","),i={},e.forEach(function(t){return i[t]=!0}),i;var e,i}();function P2(e,i,t,n,a,o,s,l,u,d,y,T,I){return{type:0,element:e,triggerName:i,isRemovalTransition:a,fromState:t,fromStyles:o,toState:n,toStyles:s,timelines:l,queriedElements:u,preStyleProps:d,postStyleProps:y,totalTime:T,errors:I}}var fk={},O2=function(){function e(i,t,n){c(this,e),this._triggerName=i,this.ast=t,this._stateStyles=n}return f(e,[{key:"match",value:function(t,n,a,o){return function(e,i,t,n,a){return e.some(function(o){return o(i,t,n,a)})}(this.ast.matchers,t,n,a,o)}},{key:"buildStyles",value:function(t,n,a){var o=this._stateStyles["*"],s=this._stateStyles[t],l=o?o.buildStyles(n,a):{};return s?s.buildStyles(n,a):l}},{key:"build",value:function(t,n,a,o,s,l,u,d,y,T){var I=[],V=this.ast.options&&this.ast.options.params||fk,X=this.buildStyles(a,u&&u.params||fk,I),he=d&&d.params||fk,Se=this.buildStyles(o,he,I),pe=new Set,Re=new Map,Ne=new Map,Xe="void"===o,st={params:Object.assign(Object.assign({},V),he)},bt=T?[]:D2(t,n,this.ast.animation,s,l,X,Se,st,y,I),Xt=0;if(bt.forEach(function(qn){Xt=Math.max(qn.duration+qn.delay,Xt)}),I.length)return P2(n,this._triggerName,a,o,Xe,X,Se,[],[],Re,Ne,Xt,I);bt.forEach(function(qn){var Fr=qn.element,_a=va(Re,Fr,{});qn.preStyleProps.forEach(function(di){return _a[di]=!0});var Ha=va(Ne,Fr,{});qn.postStyleProps.forEach(function(di){return Ha[di]=!0}),Fr!==n&&pe.add(Fr)});var dn=Pm(pe.values());return P2(n,this._triggerName,a,o,Xe,X,Se,bt,dn,Re,Ne,Xt)}}]),e}(),f8=function(){function e(i,t,n){c(this,e),this.styles=i,this.defaultParams=t,this.normalizer=n}return f(e,[{key:"buildStyles",value:function(t,n){var a=this,o={},s=Ac(this.defaultParams);return Object.keys(t).forEach(function(l){var u=t[l];null!=u&&(s[l]=u)}),this.styles.styles.forEach(function(l){if("string"!=typeof l){var u=l;Object.keys(u).forEach(function(d){var y=u[d];y.length>1&&(y=Lm(y,s,n));var T=a.normalizer.normalizePropertyName(d,n);y=a.normalizer.normalizeStyleValue(d,T,y,n),o[T]=y})}}),o}}]),e}(),p8=function(){function e(i,t,n){var a=this;c(this,e),this.name=i,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states={},t.states.forEach(function(o){a.states[o.name]=new f8(o.style,o.options&&o.options.params||{},n)}),x2(this.states,"true","1"),x2(this.states,"false","0"),t.transitions.forEach(function(o){a.transitionFactories.push(new O2(i,o,a.states))}),this.fallbackTransition=function(e,i,t){return new O2(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,l){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)}return f(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,n,a,o){return this.transitionFactories.find(function(l){return l.match(t,n,a,o)})||null}},{key:"matchStyles",value:function(t,n,a){return this.fallbackTransition.buildStyles(t,n,a)}}]),e}();function x2(e,i,t){e.hasOwnProperty(i)?e.hasOwnProperty(t)||(e[t]=e[i]):e.hasOwnProperty(t)&&(e[i]=e[t])}var v8=new ck,g8=function(){function e(i,t,n){c(this,e),this.bodyNode=i,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return f(e,[{key:"register",value:function(t,n){var a=[],o=S2(this._driver,n,a);if(a.length)throw new Error("Unable to build the animation due to the following errors: ".concat(a.join("\n")));this._animations[t]=o}},{key:"_buildPlayer",value:function(t,n,a){var o=t.element,s=l2(this._driver,this._normalizer,o,t.keyframes,n,a);return this._driver.animate(o,s,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,n){var u,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[t],d=new Map;if(l?(u=D2(this._driver,n,l,v2,nk,{},{},o,v8,s)).forEach(function(I){var V=va(d,I.element,{});I.postStyleProps.forEach(function(q){return V[q]=null})}):(s.push("The requested animation doesn't exist or has already been destroyed"),u=[]),s.length)throw new Error("Unable to create the animation due to the following errors: ".concat(s.join("\n")));d.forEach(function(I,V){Object.keys(I).forEach(function(q){I[q]=a._driver.computeStyle(V,q,vs)})});var y=u.map(function(I){var V=d.get(I.element);return a._buildPlayer(I,{},V)}),T=Gs(y);return this._playersById[t]=T,T.onDestroy(function(){return a.destroy(t)}),this.players.push(T),T}},{key:"destroy",value:function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var a=this.players.indexOf(n);a>=0&&this.players.splice(a,1)}},{key:"_getPlayer",value:function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by ".concat(t));return n}},{key:"listen",value:function(t,n,a,o){var s=Kb(n,"","","");return Gb(this._getPlayer(t),a,s,o),function(){}}},{key:"command",value:function(t,n,a,o){if("register"!=a)if("create"!=a){var l=this._getPlayer(t);switch(a){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,o[0]||{});else this.register(t,o[0])}}]),e}(),I2="ng-animate-queued",A2="ng-animate-disabled",R2=".ng-animate-disabled",y8="ng-star-inserted",k8=[],F2={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},C8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Aa="__ng_removed",hk=function(){function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c(this,e),this.namespaceId=t;var n=i&&i.hasOwnProperty("value"),a=n?i.value:i;if(this.value=T8(a),n){var o=Ac(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return f(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var n=t.params;if(n){var a=this.options.params;Object.keys(n).forEach(function(o){null==a[o]&&(a[o]=n[o])})}}}]),e}(),Yf="void",pk=new hk(Yf),M8=function(){function e(i,t,n){c(this,e),this.id=i,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Ra(t,this._hostClassName)}return f(e,[{key:"listen",value:function(t,n,a,o){var s=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'.concat(a,'" because the animation trigger "').concat(n,"\" doesn't exist!"));if(null==a||0==a.length)throw new Error('Unable to listen on the animation trigger "'.concat(n,'" because the provided event is undefined!'));if(!function(e){return"start"==e||"done"==e}(a))throw new Error('The provided animation trigger event "'.concat(a,'" for the animation trigger "').concat(n,'" is not supported!'));var l=va(this._elementListeners,t,[]),u={name:n,phase:a,callback:o};l.push(u);var d=va(this._engine.statesByElement,t,{});return d.hasOwnProperty(n)||(Ra(t,Tm),Ra(t,Tm+"-"+n),d[n]=pk),function(){s._engine.afterFlush(function(){var y=l.indexOf(u);y>=0&&l.splice(y,1),s._triggers[n]||delete d[n]})}}},{key:"register",value:function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)}},{key:"_getTrigger",value:function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return n}},{key:"trigger",value:function(t,n,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this._getTrigger(n),u=new mk(this.id,n,t),d=this._engine.statesByElement.get(t);d||(Ra(t,Tm),Ra(t,Tm+"-"+n),this._engine.statesByElement.set(t,d={}));var y=d[n],T=new hk(a,this.id),I=a&&a.hasOwnProperty("value");!I&&y&&T.absorbOptions(y.options),d[n]=T,y||(y=pk);var V=T.value===Yf;if(V||y.value!==T.value){var Se=va(this._engine.playersByElement,t,[]);Se.forEach(function(Ne){Ne.namespaceId==o.id&&Ne.triggerName==n&&Ne.queued&&Ne.destroy()});var pe=l.matchTransition(y.value,T.value,t,T.params),Re=!1;if(!pe){if(!s)return;pe=l.fallbackTransition,Re=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:pe,fromState:y,toState:T,player:u,isFallbackTransition:Re}),Re||(Ra(t,I2),u.onStart(function(){Rc(t,I2)})),u.onDone(function(){var Ne=o.players.indexOf(u);Ne>=0&&o.players.splice(Ne,1);var Xe=o._engine.playersByElement.get(t);if(Xe){var st=Xe.indexOf(u);st>=0&&Xe.splice(st,1)}}),this.players.push(u),Se.push(u),u}if(!P8(y.params,T.params)){var q=[],X=l.matchStyles(y.value,y.params,q),he=l.matchStyles(T.value,T.params,q);q.length?this._engine.reportError(q):this._engine.afterFlush(function(){jl(t,X),jo(t,he)})}}},{key:"deregister",value:function(t){var n=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(a,o){delete a[t]}),this._elementListeners.forEach(function(a,o){n._elementListeners.set(o,a.filter(function(s){return s.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var n=this._engine.playersByElement.get(t);n&&(n.forEach(function(a){return a.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,n){var a=this,o=this._engine.driver.query(t,Dm,!0);o.forEach(function(s){if(!s[Aa]){var l=a._engine.fetchNamespacesByElement(s);l.size?l.forEach(function(u){return u.triggerLeaveAnimation(s,n,!1,!0)}):a.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return o.forEach(function(s){return a.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(t,n,a,o){var s=this,l=this._engine.statesByElement.get(t);if(l){var u=[];if(Object.keys(l).forEach(function(d){if(s._triggers[d]){var y=s.trigger(t,d,Yf,o);y&&u.push(y)}}),u.length)return this._engine.markElementAsRemoved(this.id,t,!0,n),a&&Gs(u).onDone(function(){return s._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var n=this,a=this._elementListeners.get(t),o=this._engine.statesByElement.get(t);if(a&&o){var s=new Set;a.forEach(function(l){var u=l.name;if(!s.has(u)){s.add(u);var y=n._triggers[u].fallbackTransition,T=o[u]||pk,I=new hk(Yf),V=new mk(n.id,u,t);n._engine.totalQueuedPlayers++,n._queue.push({element:t,triggerName:u,transition:y,fromState:T,toState:I,player:V,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,n){var a=this,o=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),!this.triggerLeaveAnimation(t,n,!0)){var s=!1;if(o.totalAnimations){var l=o.players.length?o.playersByQueriedElement.get(t):[];if(l&&l.length)s=!0;else for(var u=t;u=u.parentNode;)if(o.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(t),s)o.markElementAsRemoved(this.id,t,!1,n);else{var y=t[Aa];(!y||y===F2)&&(o.afterFlush(function(){return a.clearElementCache(t)}),o.destroyInnerAnimations(t),o._onRemovalComplete(t,n))}}}},{key:"insertNode",value:function(t,n){Ra(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var n=this,a=[];return this._queue.forEach(function(o){var s=o.player;if(!s.destroyed){var l=o.element,u=n._elementListeners.get(l);u&&u.forEach(function(d){if(d.name==o.triggerName){var y=Kb(l,o.triggerName,o.fromState.value,o.toState.value);y._data=t,Gb(o.player,d.phase,y,d.callback)}}),s.markedForDestroy?n._engine.afterFlush(function(){s.destroy()}):a.push(o)}}),this._queue=[],a.sort(function(o,s){var l=o.transition.ast.depCount,u=s.transition.ast.depCount;return 0==l||0==u?l-u:n._engine.driver.containsElement(o.element,s.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var n=!1;return this._elementListeners.has(t)&&(n=!0),!!this._queue.find(function(a){return a.element===t})||n}}]),e}(),w8=function(){function e(i,t,n){c(this,e),this.bodyNode=i,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(a,o){}}return f(e,[{key:"_onRemovalComplete",value:function(t,n){this.onRemovalComplete(t,n)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(n){n.players.forEach(function(a){a.queued&&t.push(a)})}),t}},{key:"createNamespace",value:function(t,n){var a=new M8(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(a,n):(this.newHostElements.set(n,a),this.collectEnterElement(n)),this._namespaceLookup[t]=a}},{key:"_balanceNamespaceList",value:function(t,n){var a=this._namespaceList.length-1;if(a>=0){for(var o=!1,s=a;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,n)){this._namespaceList.splice(s+1,0,t),o=!0;break}o||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t}},{key:"register",value:function(t,n){var a=this._namespaceLookup[t];return a||(a=this.createNamespace(t,n)),a}},{key:"registerTrigger",value:function(t,n,a){var o=this._namespaceLookup[t];o&&o.register(n,a)&&this.totalAnimations++}},{key:"destroy",value:function(t,n){var a=this;if(t){var o=this._fetchNamespace(t);this.afterFlush(function(){a.namespacesByHostElement.delete(o.hostElement),delete a._namespaceLookup[t];var s=a._namespaceList.indexOf(o);s>=0&&a._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(n)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var n=new Set,a=this.statesByElement.get(t);if(a)for(var o=Object.keys(a),s=0;s=0&&this.collectedLeaveElements.splice(l,1)}if(t){var u=this._fetchNamespace(t);u&&u.insertNode(n,a)}o&&this.collectEnterElement(n)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ra(t,A2)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Rc(t,A2))}},{key:"removeNode",value:function(t,n,a,o){if(Fm(n)){var s=t?this._fetchNamespace(t):null;if(s?s.removeNode(n,o):this.markElementAsRemoved(t,n,!1,o),a){var l=this.namespacesByHostElement.get(n);l&&l.id!==t&&l.removeNode(n,o)}}else this._onRemovalComplete(n,o)}},{key:"markElementAsRemoved",value:function(t,n,a,o){this.collectedLeaveElements.push(n),n[Aa]={namespaceId:t,setForRemoval:o,hasAnimation:a,removedBeforeQueried:!1}}},{key:"listen",value:function(t,n,a,o,s){return Fm(n)?this._fetchNamespace(t).listen(n,a,o,s):function(){}}},{key:"_buildInstruction",value:function(t,n,a,o,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,a,o,t.fromState.options,t.toState.options,n,s)}},{key:"destroyInnerAnimations",value:function(t){var n=this,a=this.driver.query(t,Dm,!0);a.forEach(function(o){return n.destroyActiveAnimationsForElement(o)}),0!=this.playersByQueriedElement.size&&(a=this.driver.query(t,rk,!0)).forEach(function(o){return n.finishActiveQueriedAnimationOnElement(o)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var n=this.playersByElement.get(t);n&&n.forEach(function(a){a.queued?a.markedForDestroy=!0:a.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var n=this.playersByQueriedElement.get(t);n&&n.forEach(function(a){return a.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(n){if(t.players.length)return Gs(t.players).onDone(function(){return n()});n()})}},{key:"processLeaveNode",value:function(t){var n=this,a=t[Aa];if(a&&a.setForRemoval){if(t[Aa]=F2,a.namespaceId){this.destroyInnerAnimations(t);var o=this._fetchNamespace(a.namespaceId);o&&o.clearElementCache(t)}this._onRemovalComplete(t,a.setForRemoval)}this.driver.matchesElement(t,R2)&&this.markElementAsDisabled(t,!1),this.driver.query(t,R2,!0).forEach(function(s){n.markElementAsDisabled(s,!1)})}},{key:"flush",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(I,V){return t._balanceNamespaceList(I,V)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;_a--)this._namespaceList[_a].drainQueuedTransitions(n).forEach(function(gt){var Et=gt.player,Vt=gt.element;if(qn.push(Et),a.collectedEnterElements.length){var Gr=Vt[Aa];if(Gr&&Gr.setForMove)return void Et.destroy()}var fu=!V||!a.driver.containsElement(V,Vt),hd=Xt.get(Vt),ug=he.get(Vt),Mi=a._buildInstruction(gt,o,ug,hd,fu);if(Mi.errors&&Mi.errors.length)Fr.push(Mi);else{if(fu)return Et.onStart(function(){return jl(Vt,Mi.fromStyles)}),Et.onDestroy(function(){return jo(Vt,Mi.toStyles)}),void s.push(Et);if(gt.isFallbackTransition)return Et.onStart(function(){return jl(Vt,Mi.fromStyles)}),Et.onDestroy(function(){return jo(Vt,Mi.toStyles)}),void s.push(Et);Mi.timelines.forEach(function(yo){return yo.stretchStartingKeyframe=!0}),o.append(Vt,Mi.timelines),u.push({instruction:Mi,player:Et,element:Vt}),Mi.queriedElements.forEach(function(yo){return va(d,yo,[]).push(Et)}),Mi.preStyleProps.forEach(function(yo,hu){var cg=Object.keys(yo);if(cg.length){var pu=y.get(hu);pu||y.set(hu,pu=new Set),cg.forEach(function(d0){return pu.add(d0)})}}),Mi.postStyleProps.forEach(function(yo,hu){var cg=Object.keys(yo),pu=T.get(hu);pu||T.set(hu,pu=new Set),cg.forEach(function(d0){return pu.add(d0)})})}});if(Fr.length){var di=[];Fr.forEach(function(gt){di.push("@".concat(gt.triggerName," has failed due to:\n")),gt.errors.forEach(function(Et){return di.push("- ".concat(Et,"\n"))})}),qn.forEach(function(gt){return gt.destroy()}),this.reportError(di)}var Va=new Map,_o=new Map;u.forEach(function(gt){var Et=gt.element;o.has(Et)&&(_o.set(Et,Et),a._beforeAnimationBuild(gt.player.namespaceId,gt.instruction,Va))}),s.forEach(function(gt){var Et=gt.element;a._getPreviousPlayers(Et,!1,gt.namespaceId,gt.triggerName,null).forEach(function(Gr){va(Va,Et,[]).push(Gr),Gr.destroy()})});var cu=pe.filter(function(gt){return B2(gt,y,T)}),du=new Map;Y2(du,this.driver,Ne,T,vs).forEach(function(gt){B2(gt,y,T)&&cu.push(gt)});var Eh=new Map;X.forEach(function(gt,Et){Y2(Eh,a.driver,new Set(gt),y,"!")}),cu.forEach(function(gt){var Et=du.get(gt),Vt=Eh.get(gt);du.set(gt,Object.assign(Object.assign({},Et),Vt))});var Lh=[],og=[],Ph={};u.forEach(function(gt){var Et=gt.element,Vt=gt.player,Gr=gt.instruction;if(o.has(Et)){if(I.has(Et))return Vt.onDestroy(function(){return jo(Et,Gr.toStyles)}),Vt.disabled=!0,Vt.overrideTotalTime(Gr.totalTime),void s.push(Vt);var fu=Ph;if(_o.size>1){for(var hd=Et,ug=[];hd=hd.parentNode;){var Mi=_o.get(hd);if(Mi){fu=Mi;break}ug.push(hd)}ug.forEach(function(hu){return _o.set(hu,fu)})}var c0=a._buildAnimation(Vt.namespaceId,Gr,Va,l,Eh,du);if(Vt.setRealPlayer(c0),fu===Ph)Lh.push(Vt);else{var yo=a.playersByElement.get(fu);yo&&yo.length&&(Vt.parentPlayer=Gs(yo)),s.push(Vt)}}else jl(Et,Gr.fromStyles),Vt.onDestroy(function(){return jo(Et,Gr.toStyles)}),og.push(Vt),I.has(Et)&&s.push(Vt)}),og.forEach(function(gt){var Et=l.get(gt.element);if(Et&&Et.length){var Vt=Gs(Et);gt.setRealPlayer(Vt)}}),s.forEach(function(gt){gt.parentPlayer?gt.syncPlayerEvents(gt.parentPlayer):gt.destroy()});for(var Oh=0;Oh0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,a):new Ic(t.duration,t.delay)}}]),e}(),mk=function(){function e(i,t,n){c(this,e),this.namespaceId=i,this.triggerName=t,this.element=n,this._player=new Ic,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return f(e,[{key:"setRealPlayer",value:function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(a){n._queuedCallbacks[a].forEach(function(o){return Gb(t,a,void 0,o)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var n=this,a=this._player;a.triggerCallback&&t.onStart(function(){return a.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})}},{key:"_queueEvent",value:function(t,n){va(this._queuedCallbacks,t,[]).push(n)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)}}]),e}();function T8(e){return null!=e?e:null}function Fm(e){return e&&1===e.nodeType}function N2(e,i){var t=e.style.display;return e.style.display=null!=i?i:"none",t}function Y2(e,i,t,n,a){var o=[];t.forEach(function(u){return o.push(N2(u))});var s=[];n.forEach(function(u,d){var y={};u.forEach(function(T){var I=y[T]=i.computeStyle(d,T,a);(!I||0==I.length)&&(d[Aa]=C8,s.push(d))}),e.set(d,y)});var l=0;return t.forEach(function(u){return N2(u,o[l++])}),s}function H2(e,i){var t=new Map;if(e.forEach(function(l){return t.set(l,[])}),0==i.length)return t;var a=new Set(i),o=new Map;function s(l){if(!l)return 1;var u=o.get(l);if(u)return u;var d=l.parentNode;return u=t.has(d)?d:a.has(d)?1:s(d),o.set(l,u),u}return i.forEach(function(l){var u=s(l);1!==u&&t.get(u).push(l)}),t}var Nm="$$classes";function Ra(e,i){if(e.classList)e.classList.add(i);else{var t=e[Nm];t||(t=e[Nm]={}),t[i]=!0}}function Rc(e,i){if(e.classList)e.classList.remove(i);else{var t=e[Nm];t&&delete t[i]}}function E8(e,i,t){Gs(t).onDone(function(){return e.processLeaveNode(i)})}function V2(e,i){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function j2(e,i){var t=null,n=null;return Array.isArray(i)&&i.length?(t=vk(i[0]),i.length>1&&(n=vk(i[i.length-1]))):i&&(t=vk(i)),t||n?new O8(e,t,n):null}var O8=function(){var e=function(){function i(t,n,a){c(this,i),this._element=t,this._startStyles=n,this._endStyles=a,this._state=0;var o=i.initialStylesByElement.get(t);o||i.initialStylesByElement.set(t,o={}),this._initialStyles=o}return f(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&jo(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(jo(this._element,this._initialStyles),this._endStyles&&(jo(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(jl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jl(this._element,this._endStyles),this._endStyles=null),jo(this._element,this._initialStyles),this._state=3)}}]),i}();return e.initialStylesByElement=new WeakMap,e}();function vk(e){for(var i=null,t=Object.keys(e),n=0;n=this._delay&&a>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),q2(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,i){var n=_k(e,"").split(","),a=gk(n,i);a>=0&&(n.splice(a,1),Hm(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function W2(e,i,t){Hm(e,"PlayState",t,G2(e,i))}function G2(e,i){var t=_k(e,"");return t.indexOf(",")>0?gk(t.split(","),i):gk([t],i)}function gk(e,i){for(var t=0;t=0)return t;return-1}function q2(e,i,t){t?e.removeEventListener(z2,i):e.addEventListener(z2,i)}function Hm(e,i,t,n){var a=U2+i;if(null!=n){var o=e.style[a];if(o.length){var s=o.split(",");s[n]=t,t=s.join(",")}}e.style[a]=t}function _k(e,i){return e.style[U2+i]||""}var K2=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this.element=i,this.keyframes=t,this.animationName=n,this._duration=a,this._delay=o,this._finalStyles=l,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=a+o,this._buildStyler()}return f(e,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value: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=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new R8(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var n={};if(this.hasStarted()){var a=this._state>=3;Object.keys(this._finalStyles).forEach(function(o){"offset"!=o&&(n[o]=a?t._finalStyles[o]:sk(t.element,o))})}this.currentSnapshot=n}}]),e}(),B8=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).element=n,o._startingStyles={},o.__initialized=!1,o._styles=h2(a),o}return f(t,[{key:"init",value:function(){var a=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(o){a._startingStyles[o]=a.element.style[o]}),E(x(t.prototype),"init",this).call(this))}},{key:"play",value:function(){var a=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(o){return a.element.style.setProperty(o,a._styles[o])}),E(x(t.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var a=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(o){var s=a._startingStyles[o];s?a.element.style.setProperty(o,s):a.element.style.removeProperty(o)}),this._startingStyles=null,E(x(t.prototype),"destroy",this).call(this))}}]),t}(Ic),j8="gen_css_kf_",$2=function(){function e(){c(this,e),this._count=0}return f(e,[{key:"validateStyleProperty",value:function(t){return Qb(t)}},{key:"matchesElement",value:function(t,n){return Zb(t,n)}},{key:"containsElement",value:function(t,n){return Xb(t,n)}},{key:"query",value:function(t,n,a){return ek(t,n,a)}},{key:"computeStyle",value:function(t,n,a){return window.getComputedStyle(t)[n]}},{key:"buildKeyframeElement",value:function(t,n,a){a=a.map(function(u){return h2(u)});var o="@keyframes ".concat(n," {\n"),s="";a.forEach(function(u){s=" ";var d=parseFloat(u.offset);o+="".concat(s).concat(100*d,"% {\n"),s+=" ",Object.keys(u).forEach(function(y){var T=u[y];switch(y){case"offset":return;case"easing":return void(T&&(o+="".concat(s,"animation-timing-function: ").concat(T,";\n")));default:return void(o+="".concat(s).concat(y,": ").concat(T,";\n"))}}),o+="".concat(s,"}\n")}),o+="}\n";var l=document.createElement("style");return l.textContent=o,l}},{key:"animate",value:function(t,n,a,o,s){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],d=l.filter(function(Se){return Se instanceof K2}),y={};k2(a,o)&&d.forEach(function(Se){var pe=Se.currentSnapshot;Object.keys(pe).forEach(function(Re){return y[Re]=pe[Re]})});var T=z8(n=C2(t,n,y));if(0==a)return new B8(t,T);var I="".concat(j8).concat(this._count++),V=this.buildKeyframeElement(t,I,n),q=U8(t);q.appendChild(V);var X=j2(t,n),he=new K2(t,n,I,a,o,s,T,X);return he.onDestroy(function(){return W8(V)}),he}}]),e}();function U8(e){var i,t=null===(i=e.getRootNode)||void 0===i?void 0:i.call(e);return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot?t:document.head}function z8(e){var i={};return e&&(Array.isArray(e)?e:[e]).forEach(function(n){Object.keys(n).forEach(function(a){"offset"==a||"easing"==a||(i[a]=n[a])})}),i}function W8(e){e.parentNode.removeChild(e)}var Z2=function(){function e(i,t,n,a){c(this,e),this.element=i,this.keyframes=t,this.options=n,this._specialStyles=a,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 f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,n,a){return t.animate(n,a)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value: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()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(a){"offset"!=a&&(n[a]=t._finished?t._finalKeyframe[a]:sk(t.element,a))}),this.currentSnapshot=n}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}(),G8=function(){function e(){c(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(X2().toString()),this._cssKeyframesDriver=new $2}return f(e,[{key:"validateStyleProperty",value:function(t){return Qb(t)}},{key:"matchesElement",value:function(t,n){return Zb(t,n)}},{key:"containsElement",value:function(t,n){return Xb(t,n)}},{key:"query",value:function(t,n,a){return ek(t,n,a)}},{key:"computeStyle",value:function(t,n,a){return window.getComputedStyle(t)[n]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,n,a,o,s){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=arguments.length>6?arguments[6]:void 0,d=!u&&!this._isNativeImpl;if(d)return this._cssKeyframesDriver.animate(t,n,a,o,s,l);var y=0==o?"both":"forwards",T={duration:a,delay:o,fill:y};s&&(T.easing=s);var I={},V=l.filter(function(X){return X instanceof Z2});k2(a,o)&&V.forEach(function(X){var he=X.currentSnapshot;Object.keys(he).forEach(function(Se){return I[Se]=he[Se]})});var q=j2(t,n=C2(t,n=n.map(function(X){return qs(X,!1)}),I));return new Z2(t,n,T,q)}}]),e}();function X2(){return s2()&&Element.prototype.animate||{}}var K8=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._nextAnimationId=0,s._renderer=a.createRenderer(o.body,{id:"0",encapsulation:zi.None,styles:[],data:{animation:[]}}),s}return f(n,[{key:"build",value:function(o){var s=this._nextAnimationId.toString();this._nextAnimationId++;var l=Array.isArray(o)?r2(o):o;return eE(this._renderer,null,s,"register",[l]),new J8(s,this._renderer)}}]),n}(n2);return e.\u0275fac=function(t){return new(t||e)(_e(Ll),_e(dt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),J8=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this))._id=n,o._renderer=a,o}return f(t,[{key:"create",value:function(a,o){return new $8(this._id,a,o||{},this._renderer)}}]),t}(Pj),$8=function(){function e(i,t,n,a){c(this,e),this.id=i,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return f(e,[{key:"_listen",value:function(t,n){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),n)}},{key:"_command",value:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o=0&&n3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,n,a),this.engine.onInsert(this.namespaceId,n,t,o)}},{key:"removeChild",value:function(t,n,a){this.engine.onRemove(this.namespaceId,n,this.delegate,a)}},{key:"selectRootElement",value:function(t,n){return this.delegate.selectRootElement(t,n)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,n,a,o){this.delegate.setAttribute(t,n,a,o)}},{key:"removeAttribute",value:function(t,n,a){this.delegate.removeAttribute(t,n,a)}},{key:"addClass",value:function(t,n){this.delegate.addClass(t,n)}},{key:"removeClass",value:function(t,n){this.delegate.removeClass(t,n)}},{key:"setStyle",value:function(t,n,a,o){this.delegate.setStyle(t,n,a,o)}},{key:"removeStyle",value:function(t,n,a){this.delegate.removeStyle(t,n,a)}},{key:"setProperty",value:function(t,n,a){"@"==n.charAt(0)&&n==tE?this.disableAnimations(t,!!a):this.delegate.setProperty(t,n,a)}},{key:"setValue",value:function(t,n){this.delegate.setValue(t,n)}},{key:"listen",value:function(t,n,a){return this.delegate.listen(t,n,a)}},{key:"disableAnimations",value:function(t,n){this.engine.disableAnimations(t,n)}}]),e}(),Z8=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,a,o,s)).factory=n,l.namespaceId=a,l}return f(t,[{key:"setProperty",value:function(a,o,s){"@"==o.charAt(0)?"."==o.charAt(1)&&o==tE?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,o.substr(1),s):this.delegate.setProperty(a,o,s)}},{key:"listen",value:function(a,o,s){var l=this;if("@"==o.charAt(0)){var u=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(a),d=o.substr(1),y="";if("@"!=d.charAt(0)){var I=te(function(e){var i=e.indexOf(".");return[e.substring(0,i),e.substr(i+1)]}(d),2);d=I[0],y=I[1]}return this.engine.listen(this.namespaceId,u,d,y,function(V){l.factory.scheduleListenerCallback(V._data||-1,s,V)})}return this.delegate.listen(a,o,s)}}]),t}(nE),t7=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){return c(this,n),t.call(this,a.body,o,s)}return f(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(Ym);return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(tk),_e(dk))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Mr=new Ze("AnimationModuleType"),rE=[{provide:n2,useClass:K8},{provide:dk,useFactory:function(){return new s8}},{provide:Ym,useClass:t7},{provide:Ll,useFactory:function(e,i,t){return new Q8(e,i,t)},deps:[Sm,Ym,vt]}],iE=[{provide:tk,useFactory:function(){return"function"==typeof X2()?new G8:new $2}},{provide:Mr,useValue:"BrowserAnimations"}].concat(rE),aE=[{provide:tk,useClass:p2},{provide:Mr,useValue:"NoopAnimations"}].concat(rE),a7=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"withConfig",value:function(n){return{ngModule:i,providers:n.disableAnimations?aE:iE}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:iE,imports:[jb]}),e}();function Qe(){for(var e=arguments.length,i=new Array(e),t=0;t0){var o=n.slice(0,a),s=o.toLowerCase(),l=n.slice(a+1).trim();t.maybeSetNormalizedName(o,s),t.headers.has(s)?t.headers.get(s).push(l):t.headers.set(s,[l])}})}:function(){t.headers=new Map,Object.keys(i).forEach(function(n){var a=i[n],o=n.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(t.headers.set(o,a),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return f(e,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,n){return this.clone({name:t,value:n,op:"a"})}},{key:"set",value:function(t,n){return this.clone({name:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({name:t,value:n,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(n){return t.applyUpdate(n)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var n=this;t.init(),Array.from(t.headers.keys()).forEach(function(a){n.headers.set(a,t.headers.get(a)),n.normalizedNames.set(a,t.normalizedNames.get(a))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(t){var n=t.name.toLowerCase();switch(t.op){case"a":case"s":var a=t.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(t.name,n);var o=("a"===t.op?this.headers.get(n):void 0)||[];o.push.apply(o,se(a)),this.headers.set(n,o);break;case"d":var s=t.value;if(s){var l=this.headers.get(n);if(!l)return;0===(l=l.filter(function(u){return-1===s.indexOf(u)})).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,l)}else this.headers.delete(n),this.normalizedNames.delete(n)}}},{key:"forEach",value:function(t){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(a){return t(n.normalizedNames.get(a),n.headers.get(a))})}}]),e}(),l7=function(){function e(){c(this,e)}return f(e,[{key:"encodeKey",value:function(t){return lE(t)}},{key:"encodeValue",value:function(t){return lE(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),e}();function u7(e,i){var t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(a){var o=a.indexOf("="),l=te(-1==o?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,o)),i.decodeValue(a.slice(o+1))],2),u=l[0],d=l[1],y=t.get(u)||[];y.push(d),t.set(u,y)}),t}var c7=/%(\d[a-f0-9])/gi,d7={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function lE(e){return encodeURIComponent(e).replace(c7,function(i,t){var n;return null!==(n=d7[t])&&void 0!==n?n:i})}function uE(e){return"".concat(e)}var Yc=function(){function e(){var i=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new l7,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=u7(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var a=t.fromObject[n];i.map.set(n,Array.isArray(a)?a:[a])})):this.map=null}return f(e,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var n=this.map.get(t);return n?n[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,n){return this.clone({param:t,value:n,op:"a"})}},{key:"appendAll",value:function(t){var n=[];return Object.keys(t).forEach(function(a){var o=t[a];Array.isArray(o)?o.forEach(function(s){n.push({param:a,value:s,op:"a"})}):n.push({param:a,value:o,op:"a"})}),this.clone(n)}},{key:"set",value:function(t,n){return this.clone({param:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({param:t,value:n,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(n){var a=t.encoder.encodeKey(n);return t.map.get(n).map(function(o){return a+"="+t.encoder.encodeValue(o)}).join("&")}).filter(function(n){return""!==n}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(n){return t.map.set(n,t.cloneFrom.map.get(n))}),this.updates.forEach(function(n){switch(n.op){case"a":case"s":var a=("a"===n.op?t.map.get(n.param):void 0)||[];a.push(uE(n.value)),t.map.set(n.param,a);break;case"d":if(void 0===n.value){t.map.delete(n.param);break}var o=t.map.get(n.param)||[],s=o.indexOf(uE(n.value));-1!==s&&o.splice(s,1),o.length>0?t.map.set(n.param,o):t.map.delete(n.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),f7=function(){function e(){c(this,e),this.map=new Map}return f(e,[{key:"set",value:function(t,n){return this.map.set(t,n),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function cE(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function dE(e){return"undefined"!=typeof Blob&&e instanceof Blob}function fE(e){return"undefined"!=typeof FormData&&e instanceof FormData}var yk=function(){function e(i,t,n,a){var o;if(c(this,e),this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==n?n:null,o=a):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Nc),this.context||(this.context=new f7),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{var l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":l0&&void 0!==arguments[0]?arguments[0]:{},a=t.method||this.method,o=t.url||this.url,s=t.responseType||this.responseType,l=void 0!==t.body?t.body:this.body,u=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,d=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,y=t.headers||this.headers,T=t.params||this.params,I=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(y=Object.keys(t.setHeaders).reduce(function(V,q){return V.set(q,t.setHeaders[q])},y)),t.setParams&&(T=Object.keys(t.setParams).reduce(function(V,q){return V.set(q,t.setParams[q])},T)),new e(a,o,l,{params:T,headers:y,context:I,reportProgress:d,responseType:s,withCredentials:u})}}]),e}(),Hf=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),bk=function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";c(this,e),this.headers=i.headers||new Nc,this.status=void 0!==i.status?i.status:t,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300},m7=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,t),(n=i.call(this,a)).type=Hf.ResponseHeader,n}return f(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(bk),hE=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,t),(n=i.call(this,a)).type=Hf.Response,n.body=void 0!==a.body?a.body:null,n}return f(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(bk),pE=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(n.url||"(unknown url)"):"Http failure response for ".concat(n.url||"(unknown url)",": ").concat(n.status," ").concat(n.statusText),a.error=n.error||null,a}return t}(bk);function kk(e,i){return{body:i,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Ks=function(){var e=function(){function i(t){c(this,i),this.handler=t}return f(i,[{key:"request",value:function(n,a){var l,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n instanceof yk)l=n;else{var u=void 0;u=s.headers instanceof Nc?s.headers:new Nc(s.headers);var d=void 0;s.params&&(d=s.params instanceof Yc?s.params:new Yc({fromObject:s.params})),l=new yk(n,a,void 0!==s.body?s.body:null,{headers:u,context:s.context,params:d,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}var y=Qe(l).pipe(Fc(function(I){return o.handler.handle(I)}));if(n instanceof yk||"events"===s.observe)return y;var T=y.pipe(Ir(function(I){return I instanceof hE}));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return T.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return I.body}));case"blob":return T.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof Blob))throw new Error("Response is not a Blob.");return I.body}));case"text":return T.pipe($e(function(I){if(null!==I.body&&"string"!=typeof I.body)throw new Error("Response is not a string.");return I.body}));case"json":default:return T.pipe($e(function(I){return I.body}))}case"response":return T;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",n,a)}},{key:"get",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",n,a)}},{key:"head",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",n,a)}},{key:"jsonp",value:function(n,a){return this.request("JSONP",n,{params:(new Yc).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",n,a)}},{key:"patch",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",n,kk(o,a))}},{key:"post",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",n,kk(o,a))}},{key:"put",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",n,kk(o,a))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(oE))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),mE=function(){function e(i,t){c(this,e),this.next=i,this.interceptor=t}return f(e,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),e}(),vE=new Ze("HTTP_INTERCEPTORS"),v7=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"intercept",value:function(n,a){return a.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),g7=/^\)\]\}',?\n/,gE=function(){var e=function(){function i(t){c(this,i),this.xhrFactory=t}return f(i,[{key:"handle",value:function(n){var a=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new me(function(o){var s=a.xhrFactory.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach(function(Se,pe){return s.setRequestHeader(Se,pe.join(","))}),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var l=n.detectContentTypeHeader();null!==l&&s.setRequestHeader("Content-Type",l)}if(n.responseType){var u=n.responseType.toLowerCase();s.responseType="json"!==u?u:"text"}var d=n.serializeBody(),y=null,T=function(){if(null!==y)return y;var pe=1223===s.status?204:s.status,Re=s.statusText||"OK",Ne=new Nc(s.getAllResponseHeaders()),Xe=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return y=new m7({headers:Ne,status:pe,statusText:Re,url:Xe})},I=function(){var pe=T(),Re=pe.headers,Ne=pe.status,Xe=pe.statusText,st=pe.url,bt=null;204!==Ne&&(bt=void 0===s.response?s.responseText:s.response),0===Ne&&(Ne=bt?200:0);var Xt=Ne>=200&&Ne<300;if("json"===n.responseType&&"string"==typeof bt){var dn=bt;bt=bt.replace(g7,"");try{bt=""!==bt?JSON.parse(bt):null}catch(qn){bt=dn,Xt&&(Xt=!1,bt={error:qn,text:bt})}}Xt?(o.next(new hE({body:bt,headers:Re,status:Ne,statusText:Xe,url:st||void 0})),o.complete()):o.error(new pE({error:bt,headers:Re,status:Ne,statusText:Xe,url:st||void 0}))},V=function(pe){var Re=T(),Xe=new pE({error:pe,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Re.url||void 0});o.error(Xe)},q=!1,X=function(pe){q||(o.next(T()),q=!0);var Re={type:Hf.DownloadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),"text"===n.responseType&&!!s.responseText&&(Re.partialText=s.responseText),o.next(Re)},he=function(pe){var Re={type:Hf.UploadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),o.next(Re)};return s.addEventListener("load",I),s.addEventListener("error",V),s.addEventListener("timeout",V),s.addEventListener("abort",V),n.reportProgress&&(s.addEventListener("progress",X),null!==d&&s.upload&&s.upload.addEventListener("progress",he)),s.send(d),o.next({type:Hf.Sent}),function(){s.removeEventListener("error",V),s.removeEventListener("abort",V),s.removeEventListener("load",I),s.removeEventListener("timeout",V),n.reportProgress&&(s.removeEventListener("progress",X),null!==d&&s.upload&&s.upload.removeEventListener("progress",he)),s.readyState!==s.DONE&&s.abort()}})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Rb))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Ck=new Ze("XSRF_COOKIE_NAME"),Mk=new Ze("XSRF_HEADER_NAME"),_E=function e(){c(this,e)},y7=function(){var e=function(){function i(t,n,a){c(this,i),this.doc=t,this.platform=n,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return f(i,[{key:"getToken",value:function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=xD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(Ec),_e(Ck))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),wk=function(){var e=function(){function i(t,n){c(this,i),this.tokenService=t,this.headerName=n}return f(i,[{key:"intercept",value:function(n,a){var o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return a.handle(n);var s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),a.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(_E),_e(Mk))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),b7=function(){var e=function(){function i(t,n){c(this,i),this.backend=t,this.injector=n,this.chain=null}return f(i,[{key:"handle",value:function(n){if(null===this.chain){var a=this.injector.get(vE,[]);this.chain=a.reduceRight(function(o,s){return new mE(o,s)},this.backend)}return this.chain.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sE),_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),k7=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:wk,useClass:v7}]}}},{key:"withOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.cookieName?{provide:Ck,useValue:n.cookieName}:[],n.headerName?{provide:Mk,useValue:n.headerName}:[]]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[wk,{provide:vE,useExisting:wk,multi:!0},{provide:_E,useClass:y7},{provide:Ck,useValue:"XSRF-TOKEN"},{provide:Mk,useValue:"X-XSRF-TOKEN"}]}),e}(),C7=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Ks,{provide:oE,useClass:b7},gE,{provide:sE,useExisting:gE}],imports:[[k7.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}(),Br=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this))._value=n,a}return f(t,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(a){var o=E(x(t.prototype),"_subscribe",this).call(this,a);return o&&!o.closed&&a.next(this._value),o}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new De;return this._value}},{key:"next",value:function(a){E(x(t.prototype),"next",this).call(this,this._value=a)}}]),t}(Ie),yE={};function bE(){for(var e=arguments.length,i=new Array(e),t=0;t=2&&(t=!0),function(a){return a.lift(new I7(e,i,t))}}var I7=function(){function e(i,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this.accumulator=i,this.seed=t,this.hasSeed=n}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new A7(t,this.accumulator,this.seed,this.hasSeed))}}]),e}(),A7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n)).accumulator=a,l._seed=o,l.hasSeed=s,l.index=0,l}return f(t,[{key:"seed",get:function(){return this._seed},set:function(a){this.hasSeed=!0,this._seed=a}},{key:"_next",value:function(a){if(this.hasSeed)return this._tryNext(a);this.seed=a,this.destination.next(a)}},{key:"_tryNext",value:function(a){var s,o=this.index++;try{s=this.accumulator(this.seed,a,o)}catch(l){this.destination.error(l)}this.seed=s,this.destination.next(s)}}]),t}(St);function Xi(e){return function(t){var n=new R7(e),a=t.lift(n);return n.caught=a}}var R7=function(){function e(i){c(this,e),this.selector=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new F7(t,this.selector,this.caught))}}]),e}(),F7=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).selector=a,s.caught=o,s}return f(t,[{key:"error",value:function(a){if(!this.isStopped){var o;try{o=this.selector(a,this.caught)}catch(l){return void E(x(t.prototype),"error",this).call(this,l)}this._unsubscribeAndRecycle();var s=new rt(this,void 0,void 0);this.add(s),An(this,o,void 0,void 0,s)}}}]),t}(_n);function Vf(e){return function(t){return 0===e?jm():t.lift(new N7(e))}}var N7=function(){function e(i){if(c(this,e),this.total=i,this.total<0)throw new kE}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Y7(t,this.total))}}]),e}(),Y7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).total=a,o.ring=new Array,o.count=0,o}return f(t,[{key:"_next",value:function(a){var o=this.ring,s=this.total,l=this.count++;o.length0)for(var s=this.count>=this.total?this.total:this.count,l=this.ring,u=0;u0&&void 0!==arguments[0]?arguments[0]:B7;return function(i){return i.lift(new H7(e))}}var H7=function(){function e(i){c(this,e),this.errorFactory=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new V7(t,this.errorFactory))}}]),e}(),V7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).errorFactory=a,o.hasValue=!1,o}return f(t,[{key:"_next",value:function(a){this.hasValue=!0,this.destination.next(a)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var a;try{a=this.errorFactory()}catch(o){a=o}this.destination.error(a)}}]),t}(St);function B7(){return new Bm}function Sk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(i){return i.lift(new j7(e))}}var j7=function(){function e(i){c(this,e),this.defaultValue=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new U7(t,this.defaultValue))}}]),e}(),U7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).defaultValue=a,o.isEmpty=!0,o}return f(t,[{key:"_next",value:function(a){this.isEmpty=!1,this.destination.next(a)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),t}(St);function Hc(e,i){var t=arguments.length>=2;return function(n){return n.pipe(e?Ir(function(a,o){return e(a,o,n)}):cl,Qn(1),t?Sk(i):CE(function(){return new Bm}))}}function Ar(e,i,t){return function(a){return a.lift(new W7(e,i,t))}}var W7=function(){function e(i,t,n){c(this,e),this.nextOrObserver=i,this.error=t,this.complete=n}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new G7(t,this.nextOrObserver,this.error,this.complete))}}]),e}(),G7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n))._tapNext=oe,l._tapError=oe,l._tapComplete=oe,l._tapError=o||oe,l._tapComplete=s||oe,Be(a)?(l._context=O(l),l._tapNext=a):a&&(l._context=a,l._tapNext=a.next||oe,l._tapError=a.error||oe,l._tapComplete=a.complete||oe),l}return f(t,[{key:"_next",value:function(a){try{this._tapNext.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.next(a)}},{key:"_error",value:function(a){try{this._tapError.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.error(a)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(a){return void this.destination.error(a)}return this.destination.complete()}}]),t}(St);function ME(e){return function(i){return i.lift(new q7(e))}}var q7=function(){function e(i){c(this,e),this.callback=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new K7(t,this.callback))}}]),e}(),K7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).add(new He(a)),o}return t}(St),_s=function e(i,t){c(this,e),this.id=i,this.url=t},Tk=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return c(this,t),(o=i.call(this,n,a)).navigationTrigger=s,o.restoredState=l,o}return f(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_s),Vc=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).urlAfterRedirects=o,s}return f(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(_s),wE=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).reason=o,s}return f(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_s),J7=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).error=o,s}return f(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(_s),$7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),Q7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),Z7=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l){var u;return c(this,t),(u=i.call(this,n,a)).urlAfterRedirects=o,u.state=s,u.shouldActivate=l,u}return f(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(_s),X7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),e9=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),SE=function(){function e(i){c(this,e),this.route=i}return f(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),TE=function(){function e(i){c(this,e),this.route=i}return f(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),t9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),n9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),r9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),i9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),DE=function(){function e(i,t,n){c(this,e),this.routerEvent=i,this.position=t,this.anchor=n}return f(e,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),e}(),$t="primary",a9=function(){function e(i){c(this,e),this.params=i||{}}return f(e,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n[0]:n}return null}},{key:"getAll",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n:[n]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Bc(e){return new a9(e)}var EE="ngNavigationCancelingError";function Dk(e){var i=Error("NavigationCancelingError: "+e);return i[EE]=!0,i}function s9(e,i,t){var n=t.path.split("/");if(n.length>e.length||"full"===t.pathMatch&&(i.hasChildren()||n.length0?e[e.length-1]:null}function ii(e,i){for(var t in e)e.hasOwnProperty(t)&&i(e[t],t)}function zo(e){return Ap(e)?e:lf(e)?ot(Promise.resolve(e)):Qe(e)}var c9={exact:function AE(e,i,t){if(!Gl(e.segments,i.segments)||!Wm(e.segments,i.segments,t)||e.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children)if(!e.children[n]||!AE(e.children[n],i.children[n],t))return!1;return!0},subset:RE},xE={exact:function(e,i){return Uo(e,i)},subset:function(e,i){return Object.keys(i).length<=Object.keys(e).length&&Object.keys(i).every(function(t){return LE(e[t],i[t])})},ignored:function(){return!0}};function IE(e,i,t){return c9[t.paths](e.root,i.root,t.matrixParams)&&xE[t.queryParams](e.queryParams,i.queryParams)&&!("exact"===t.fragment&&e.fragment!==i.fragment)}function RE(e,i,t){return FE(e,i,i.segments,t)}function FE(e,i,t,n){if(e.segments.length>t.length){var a=e.segments.slice(0,t.length);return!(!Gl(a,t)||i.hasChildren()||!Wm(a,t,n))}if(e.segments.length===t.length){if(!Gl(e.segments,t)||!Wm(e.segments,t,n))return!1;for(var o in i.children)if(!e.children[o]||!RE(e.children[o],i.children[o],n))return!1;return!0}var s=t.slice(0,e.segments.length),l=t.slice(e.segments.length);return!!(Gl(e.segments,s)&&Wm(e.segments,s,n)&&e.children[$t])&&FE(e.children[$t],i,l,n)}function Wm(e,i,t){return i.every(function(n,a){return xE[t](e[a].parameters,n.parameters)})}var Wl=function(){function e(i,t,n){c(this,e),this.root=i,this.queryParams=t,this.fragment=n}return f(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return m9.serialize(this)}}]),e}(),en=function(){function e(i,t){var n=this;c(this,e),this.segments=i,this.children=t,this.parent=null,ii(t,function(a,o){return a.parent=n})}return f(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Gm(this)}}]),e}(),Bf=function(){function e(i,t){c(this,e),this.path=i,this.parameters=t}return f(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Bc(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return VE(this)}}]),e}();function Gl(e,i){return e.length===i.length&&e.every(function(t,n){return t.path===i[n].path})}var Ek=function e(){c(this,e)},NE=function(){function e(){c(this,e)}return f(e,[{key:"parse",value:function(t){var n=new w9(t);return new Wl(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}},{key:"serialize",value:function(t){var n="/".concat(jf(t.root,!0)),a=function(e){var i=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(a){return"".concat(qm(t),"=").concat(qm(a))}).join("&"):"".concat(qm(t),"=").concat(qm(n))}).filter(function(t){return!!t});return i.length?"?".concat(i.join("&")):""}(t.queryParams),o="string"==typeof t.fragment?"#".concat(function(e){return encodeURI(e)}(t.fragment)):"";return"".concat(n).concat(a).concat(o)}}]),e}(),m9=new NE;function Gm(e){return e.segments.map(function(i){return VE(i)}).join("/")}function jf(e,i){if(!e.hasChildren())return Gm(e);if(i){var t=e.children[$t]?jf(e.children[$t],!1):"",n=[];return ii(e.children,function(o,s){s!==$t&&n.push("".concat(s,":").concat(jf(o,!1)))}),n.length>0?"".concat(t,"(").concat(n.join("//"),")"):t}var a=function(e,i){var t=[];return ii(e.children,function(n,a){a===$t&&(t=t.concat(i(n,a)))}),ii(e.children,function(n,a){a!==$t&&(t=t.concat(i(n,a)))}),t}(e,function(o,s){return s===$t?[jf(e.children[$t],!1)]:["".concat(s,":").concat(jf(o,!1))]});return 1===Object.keys(e.children).length&&null!=e.children[$t]?"".concat(Gm(e),"/").concat(a[0]):"".concat(Gm(e),"/(").concat(a.join("//"),")")}function YE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qm(e){return YE(e).replace(/%3B/gi,";")}function Lk(e){return YE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Km(e){return decodeURIComponent(e)}function HE(e){return Km(e.replace(/\+/g,"%20"))}function VE(e){return"".concat(Lk(e.path)).concat(function(e){return Object.keys(e).map(function(i){return";".concat(Lk(i),"=").concat(Lk(e[i]))}).join("")}(e.parameters))}var y9=/^[^\/()?;=#]+/;function Jm(e){var i=e.match(y9);return i?i[0]:""}var b9=/^[^=?&#]+/,C9=/^[^?&#]+/,w9=function(){function e(i){c(this,e),this.url=i,this.remaining=i}return f(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new en([],{}):new en([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value: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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(a[$t]=new en(t,n)),a}},{key:"parseSegment",value:function(){var t=Jm(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Bf(Km(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var n=Jm(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=Jm(this.remaining);o&&this.capture(a=o)}t[Km(n)]=Km(a)}}},{key:"parseQueryParam",value:function(t){var n=function(e){var i=e.match(b9);return i?i[0]:""}(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=function(e){var i=e.match(C9);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=HE(n),l=HE(a);if(t.hasOwnProperty(s)){var u=t[s];Array.isArray(u)||(t[s]=u=[u]),u.push(l)}else t[s]=l}}},{key:"parseParens",value:function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=Jm(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=$t);var l=this.parseChildren();n[s]=1===Object.keys(l).length?l[$t]:new en([],l),this.consumeOptional("//")}return n}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),e}(),BE=function(){function e(i){c(this,e),this._root=i}return f(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}},{key:"children",value:function(t){var n=Pk(t,this._root);return n?n.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(t){var n=Pk(t,this._root);return n&&n.children.length>0?n.children[0].value:null}},{key:"siblings",value:function(t){var n=Ok(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==t})}},{key:"pathFromRoot",value:function(t){return Ok(t,this._root).map(function(n){return n.value})}}]),e}();function Pk(e,i){if(e===i.value)return i;var n,t=W(i.children);try{for(t.s();!(n=t.n()).done;){var o=Pk(e,n.value);if(o)return o}}catch(s){t.e(s)}finally{t.f()}return null}function Ok(e,i){if(e===i.value)return[i];var n,t=W(i.children);try{for(t.s();!(n=t.n()).done;){var o=Ok(e,n.value);if(o.length)return o.unshift(i),o}}catch(s){t.e(s)}finally{t.f()}return[]}var ys=function(){function e(i,t){c(this,e),this.value=i,this.children=t}return f(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Uf(e){var i={};return e&&e.children.forEach(function(t){return i[t.value.outlet]=t}),i}var jE=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).snapshot=a,xk(O(o),n),o}return f(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(BE);function UE(e,i){var t=function(e,i){var s=new $m([],{},{},"",{},$t,i,null,e.root,-1,{});return new WE("",new ys(s,[]))}(e,i),n=new Br([new Bf("",{})]),a=new Br({}),o=new Br({}),s=new Br({}),l=new Br(""),u=new ai(n,a,s,l,o,$t,i,t.root);return u.snapshot=t.root,new jE(new ys(u,[]),t)}var ai=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=u}return f(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe($e(function(t){return Bc(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($e(function(t){return Bc(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function zE(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",t=e.pathFromRoot,n=0;if("always"!==i)for(n=t.length-1;n>=1;){var a=t[n],o=t[n-1];if(a.routeConfig&&""===a.routeConfig.path)n--;else{if(o.component)break;n--}}return T9(t.slice(n))}function T9(e){return e.reduce(function(i,t){return{params:Object.assign(Object.assign({},i.params),t.params),data:Object.assign(Object.assign({},i.data),t.data),resolve:Object.assign(Object.assign({},i.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var $m=function(){function e(i,t,n,a,o,s,l,u,d,y,T){c(this,e),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=u,this._urlSegment=d,this._lastPathIndex=y,this._resolve=T}return f(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Bc(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(a){return a.toString()}).join("/"),n=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(n,"')")}}]),e}(),WE=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,a)).url=n,xk(O(o),a),o}return f(t,[{key:"toString",value:function(){return GE(this._root)}}]),t}(BE);function xk(e,i){i.value._routerState=e,i.children.forEach(function(t){return xk(e,t)})}function GE(e){var i=e.children.length>0?" { ".concat(e.children.map(GE).join(", ")," } "):"";return"".concat(e.value).concat(i)}function Ik(e){if(e.snapshot){var i=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Uo(i.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),i.fragment!==t.fragment&&e.fragment.next(t.fragment),Uo(i.params,t.params)||e.params.next(t.params),function(e,i){if(e.length!==i.length)return!1;for(var t=0;ta;){if(o-=a,!(n=n.parent))throw new Error("Invalid number of '../'");a=n.segments.length}return new Fk(n,!1,a-o)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+o,e.numberOfDoubleDots)}(o,i,e),l=s.processChildren?Xm(s.segmentGroup,s.index,o.commands):$E(s.segmentGroup,s.index,o.commands);return Rk(s.segmentGroup,l,i,n,a)}function Zm(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zf(e){return"object"==typeof e&&null!=e&&e.outlets}function Rk(e,i,t,n,a){var o={};return n&&ii(n,function(s,l){o[l]=Array.isArray(s)?s.map(function(u){return"".concat(u)}):"".concat(s)}),new Wl(t.root===e?i:KE(t.root,e,i),o,a)}function KE(e,i,t){var n={};return ii(e.children,function(a,o){n[o]=a===i?t:KE(a,i,t)}),new en(e.segments,n)}var JE=function(){function e(i,t,n){if(c(this,e),this.isAbsolute=i,this.numberOfDoubleDots=t,this.commands=n,i&&n.length>0&&Zm(n[0]))throw new Error("Root segment cannot have matrix parameters");var a=n.find(zf);if(a&&a!==OE(n))throw new Error("{outlets:{}} has to be the last command")}return f(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Fk=function e(i,t,n){c(this,e),this.segmentGroup=i,this.processChildren=t,this.index=n};function $E(e,i,t){if(e||(e=new en([],{})),0===e.segments.length&&e.hasChildren())return Xm(e,i,t);var n=function(e,i,t){for(var n=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a=t.length)return o;var s=e.segments[a],l=t[n];if(zf(l))break;var u="".concat(l),d=n0&&void 0===u)break;if(u&&d&&"object"==typeof d&&void 0===d.outlets){if(!ZE(u,d,s))return o;n+=2}else{if(!ZE(u,{},s))return o;n++}a++}return{match:!0,pathIndex:a,commandIndex:n}}(e,i,t),a=t.slice(n.commandIndex);if(n.match&&n.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",t=0;t0)?Object.assign({},rL):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var o=(i.matcher||s9)(t,e,i);if(!o)return Object.assign({},rL);var s={};ii(o.posParams,function(u,d){s[d]=u.path});var l=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:l,positionalParamSegments:null!==(n=o.posParams)&&void 0!==n?n:{}}}function tv(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(t.length>0&&J9(e,t,n)){var o=new en(i,K9(e,i,n,new en(t,e.children)));return o._sourceSegment=e,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===t.length&&$9(e,t,n)){var s=new en(e.segments,q9(e,i,t,n,e.children,a));return s._sourceSegment=e,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:t}}var l=new en(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:t}}function q9(e,i,t,n,a,o){var u,s={},l=W(n);try{for(l.s();!(u=l.n()).done;){var d=u.value;if(nv(e,t,d)&&!a[Fa(d)]){var y=new en([],{});y._sourceSegment=e,y._segmentIndexShift="legacy"===o?e.segments.length:i.length,s[Fa(d)]=y}}}catch(T){l.e(T)}finally{l.f()}return Object.assign(Object.assign({},a),s)}function K9(e,i,t,n){var a={};a[$t]=n,n._sourceSegment=e,n._segmentIndexShift=i.length;var s,o=W(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&Fa(l)!==$t){var u=new en([],{});u._sourceSegment=e,u._segmentIndexShift=i.length,a[Fa(l)]=u}}}catch(d){o.e(d)}finally{o.f()}return a}function J9(e,i,t){return t.some(function(n){return nv(e,i,n)&&Fa(n)!==$t})}function $9(e,i,t){return t.some(function(n){return nv(e,i,n)})}function nv(e,i,t){return(!(e.hasChildren()||i.length>0)||"full"!==t.pathMatch)&&""===t.path}function iL(e,i,t,n){return!!(Fa(e)===n||n!==$t&&nv(i,t,e))&&("**"===e.path||ev(i,e,t).matched)}function aL(e,i,t){return 0===i.length&&!e.children[t]}var qf=function e(i){c(this,e),this.segmentGroup=i||null},oL=function e(i){c(this,e),this.urlTree=i};function rv(e){return new me(function(i){return i.error(new qf(e))})}function sL(e){return new me(function(i){return i.error(new oL(e))})}function Q9(e){return new me(function(i){return i.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var eU=function(){function e(i,t,n,a,o){c(this,e),this.configLoader=t,this.urlSerializer=n,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(ds)}return f(e,[{key:"apply",value:function(){var t=this,n=tv(this.urlTree.root,[],[],this.config).segmentGroup,a=new en(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,a,$t).pipe($e(function(l){return t.createUrlTree(Vk(l),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Xi(function(l){if(l instanceof oL)return t.allowRedirects=!1,t.match(l.urlTree);throw l instanceof qf?t.noMatchError(l):l}))}},{key:"match",value:function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,$t).pipe($e(function(s){return n.createUrlTree(Vk(s),t.queryParams,t.fragment)})).pipe(Xi(function(s){throw s instanceof qf?n.noMatchError(s):s}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,a){var o=t.segments.length>0?new en([],Q({},$t,t)):t;return new Wl(o,n,a)}},{key:"expandSegmentGroup",value:function(t,n,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(t,n,a).pipe($e(function(s){return new en([],s)})):this.expandSegment(t,a,n,a.segments,o,!0)}},{key:"expandChildren",value:function(t,n,a){for(var o=this,s=[],l=0,u=Object.keys(a.children);l=2;return function(n){return n.pipe(e?Ir(function(a,o){return e(a,o,n)}):cl,Vf(1),t?Sk(i):CE(function(){return new Bm}))}}())}},{key:"expandSegment",value:function(t,n,a,o,s,l){var u=this;return ot(a).pipe(Fc(function(d){return u.expandSegmentAgainstRoute(t,n,a,d,o,s,l).pipe(Xi(function(T){if(T instanceof qf)return Qe(null);throw T}))}),Hc(function(d){return!!d}),Xi(function(d,y){if(d instanceof Bm||"EmptyError"===d.name){if(aL(n,o,s))return Qe(new en([],{}));throw new qf(n)}throw d}))}},{key:"expandSegmentAgainstRoute",value:function(t,n,a,o,s,l,u){return iL(o,n,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,s,l):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l):rv(n):rv(n)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,n,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?sL(l):this.lineralizeSegments(a,l).pipe(Sn(function(u){var d=new en(u,{});return s.expandSegment(t,d,n,u,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){var u=this,d=ev(n,o,s),T=d.consumedSegments,I=d.lastChild,V=d.positionalParamSegments;if(!d.matched)return rv(n);var q=this.applyRedirectCommands(T,o.redirectTo,V);return o.redirectTo.startsWith("/")?sL(q):this.lineralizeSegments(o,q).pipe(Sn(function(X){return u.expandSegment(t,n,a,X.concat(s.slice(I)),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,n,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?Qe(a._loadedConfig):this.configLoader.load(t.injector,a)).pipe($e(function(X){return a._loadedConfig=X,new en(o,{})})):Qe(new en(o,{}));var d=ev(n,a,o),T=d.consumedSegments,I=d.lastChild;if(!d.matched)return rv(n);var V=o.slice(I);return this.getChildConfig(t,a,o).pipe(Sn(function(X){var he=X.module,Se=X.routes,pe=tv(n,T,V,Se),Re=pe.segmentGroup,Ne=pe.slicedSegments,Xe=new en(Re.segments,Re.children);if(0===Ne.length&&Xe.hasChildren())return l.expandChildren(he,Se,Xe).pipe($e(function(dn){return new en(T,dn)}));if(0===Se.length&&0===Ne.length)return Qe(new en(T,{}));var bt=Fa(a)===s;return l.expandSegment(he,Xe,Se,Ne,bt?$t:s,!0).pipe($e(function(dn){return new en(T.concat(dn.segments),dn.children)}))}))}},{key:"getChildConfig",value:function(t,n,a){var o=this;return n.children?Qe(new Yk(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?Qe(n._loadedConfig):this.runCanLoadGuards(t.injector,n,a).pipe(Sn(function(s){return s?o.configLoader.load(t.injector,n).pipe($e(function(l){return n._loadedConfig=l,l})):function(e){return new me(function(i){return i.error(Dk("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(n)})):Qe(new Yk([],t))}},{key:"runCanLoadGuards",value:function(t,n,a){var o=this,s=n.canLoad;return s&&0!==s.length?Qe(s.map(function(u){var y,d=t.get(u);if(function(e){return e&&$s(e.canLoad)}(d))y=d.canLoad(n,a);else{if(!$s(d))throw new Error("Invalid CanLoad guard");y=d(n,a)}return zo(y)})).pipe(Gf(),Ar(function(u){if(ql(u)){var d=Dk('Redirecting to "'.concat(o.urlSerializer.serialize(u),'"'));throw d.url=u,d}}),$e(function(u){return!0===u})):Qe(!0)}},{key:"lineralizeSegments",value:function(t,n){for(var a=[],o=n.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return Qe(a);if(o.numberOfChildren>1||!o.children[$t])return Q9(t.redirectTo);o=o.children[$t]}}},{key:"applyRedirectCommands",value:function(t,n,a){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,a)}},{key:"applyRedirectCreatreUrlTree",value:function(t,n,a,o){var s=this.createSegmentGroup(t,n.root,a,o);return new Wl(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}},{key:"createQueryParams",value:function(t,n){var a={};return ii(t,function(o,s){if("string"==typeof o&&o.startsWith(":")){var u=o.substring(1);a[s]=n[u]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(t,n,a,o){var s=this,l=this.createSegments(t,n.segments,a,o),u={};return ii(n.children,function(d,y){u[y]=s.createSegmentGroup(t,d,a,o)}),new en(l,u)}},{key:"createSegments",value:function(t,n,a,o){var s=this;return n.map(function(l){return l.path.startsWith(":")?s.findPosParam(t,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(t,n,a){var o=a[n.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(n.path,"'."));return o}},{key:"findOrReturn",value:function(t,n){var s,a=0,o=W(n);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===t.path)return n.splice(a),l;a++}}catch(u){o.e(u)}finally{o.f()}return t}}]),e}();function Vk(e){for(var i={},t=0,n=Object.keys(e.children);t0||s.hasChildren())&&(i[a]=s)}return function(e){if(1===e.numberOfChildren&&e.children[$t]){var i=e.children[$t];return new en(e.segments.concat(i.segments),i.children)}return e}(new en(e.segments,i))}var lL=function e(i){c(this,e),this.path=i,this.route=this.path[this.path.length-1]},iv=function e(i,t){c(this,e),this.component=i,this.route=t};function rU(e,i,t){var n=e._root;return Kf(n,i?i._root:null,t,[n.value])}function av(e,i,t){var n=function(e){if(!e)return null;for(var i=e.parent;i;i=i.parent){var t=i.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(i);return(n?n.module.injector:t).get(e)}function Kf(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Uf(i);return e.children.forEach(function(s){oU(s,o[s.value.outlet],t,n.concat([s.value]),a),delete o[s.value.outlet]}),ii(o,function(s,l){return Jf(s,t.getContext(l),a)}),a}function oU(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,s=i?i.value:null,l=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=sU(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new lL(n)):(o.data=s.data,o._resolvedData=s._resolvedData),Kf(e,i,o.component?l?l.children:null:t,n,a),u&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new iv(l.outlet.component,s))}else s&&Jf(i,l,a),a.canActivateChecks.push(new lL(n)),Kf(e,null,o.component?l?l.children:null:t,n,a);return a}function sU(e,i,t){if("function"==typeof t)return t(e,i);switch(t){case"pathParamsChange":return!Gl(e.url,i.url);case"pathParamsOrQueryParamsChange":return!Gl(e.url,i.url)||!Uo(e.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ak(e,i)||!Uo(e.queryParams,i.queryParams);case"paramsChange":default:return!Ak(e,i)}}function Jf(e,i,t){var n=Uf(e),a=e.value;ii(n,function(o,s){Jf(o,a.component?i?i.children.getContext(s):null:i,t)}),t.canDeactivateChecks.push(new iv(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var vU=function e(){c(this,e)};function uL(e){return new me(function(i){return i.error(e)})}var _U=function(){function e(i,t,n,a,o,s){c(this,e),this.rootComponentType=i,this.config=t,this.urlTree=n,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return f(e,[{key:"recognize",value:function(){var t=tv(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,$t);if(null===n)return null;var a=new $m([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},$t,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new ys(a,n),s=new WE(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(t){var n=this,a=t.value,o=zE(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),t.children.forEach(function(s){return n.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(t,n,a){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,a)}},{key:"processChildren",value:function(t,n){for(var a=[],o=0,s=Object.keys(n.children);o0?OE(a).parameters:{};s=new $m(a,d,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hL(t),Fa(t),t.component,t,dL(n),fL(n)+a.length,pL(t))}else{var y=ev(n,t,a);if(!y.matched)return null;l=y.consumedSegments,u=a.slice(y.lastChild),s=new $m(l,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hL(t),Fa(t),t.component,t,dL(n),fL(n)+l.length,pL(t))}var T=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),I=tv(n,l,u,T.filter(function(pe){return void 0===pe.redirectTo}),this.relativeLinkResolution),V=I.segmentGroup,q=I.slicedSegments;if(0===q.length&&V.hasChildren()){var X=this.processChildren(T,V);return null===X?null:[new ys(s,X)]}if(0===T.length&&0===q.length)return[new ys(s,[])];var he=Fa(t)===o,Se=this.processSegment(T,V,q,he?$t:o);return null===Se?null:[new ys(s,Se)]}}]),e}();function cL(e){var a,i=[],t=new Set,n=W(e);try{var o=function(){var I=a.value;if(!function(e){var i=e.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(I))return i.push(I),"continue";var q,V=i.find(function(X){return I.value.routeConfig===X.value.routeConfig});void 0!==V?((q=V.children).push.apply(q,se(I.children)),t.add(V)):i.push(I)};for(n.s();!(a=n.n()).done;)o()}catch(T){n.e(T)}finally{n.f()}var u,l=W(t);try{for(l.s();!(u=l.n()).done;){var d=u.value,y=cL(d.children);i.push(new ys(d.value,y))}}catch(T){l.e(T)}finally{l.f()}return i.filter(function(T){return!t.has(T)})}function dL(e){for(var i=e;i._sourceSegment;)i=i._sourceSegment;return i}function fL(e){for(var i=e,t=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)t+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return t-1}function hL(e){return e.data||{}}function pL(e){return e.resolve||{}}function Bk(e){return Zi(function(i){var t=e(i);return t?ot(t).pipe($e(function(){return i})):Qe(i)})}var mL=function e(){c(this,e)},EU=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return t}(function(){function e(){c(this,e)}return f(e,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,n){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,n){return t.routeConfig===n.routeConfig}}]),e}()),jk=new Ze("ROUTES"),vL=function(){function e(i,t,n,a){c(this,e),this.loader=i,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=a}return f(e,[{key:"load",value:function(t,n){var a=this;if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);var s=this.loadModuleFactory(n.loadChildren).pipe($e(function(l){a.onLoadEndListener&&a.onLoadEndListener(n);var u=l.create(t);return new Yk(PE(u.injector.get(jk,void 0,Kt.Self|Kt.Optional)).map(Hk),u)}),Xi(function(l){throw n._loader$=void 0,l}));return n._loader$=new fr(s,function(){return new Ie}).pipe(Si()),n._loader$}},{key:"loadModuleFactory",value:function(t){var n=this;return"string"==typeof t?ot(this.loader.load(t)):zo(t()).pipe(Sn(function(a){return a instanceof RS?Qe(a):ot(n.compiler.compileModuleAsync(a))}))}}]),e}(),LU=function e(){c(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new jc,this.attachRef=null},jc=function(){function e(){c(this,e),this.contexts=new Map}return f(e,[{key:"onChildOutletCreated",value:function(t,n){var a=this.getOrCreateContext(t);a.outlet=n,this.contexts.set(t,a)}},{key:"onChildOutletDestroyed",value:function(t){var n=this.getContext(t);n&&(n.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var n=this.getContext(t);return n||(n=new LU,this.contexts.set(t,n)),n}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),e}(),OU=function(){function e(){c(this,e)}return f(e,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,n){return t}}]),e}();function xU(e){throw e}function IU(e,i,t){return i.parse("/")}function gL(e,i){return Qe(null)}var AU={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},RU={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Zt=function(){var e=function(){function i(t,n,a,o,s,l,u,d){var y=this;c(this,i),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=a,this.location=o,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie,this.errorHandler=xU,this.malformedUriErrorHandler=IU,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:gL,afterPreactivation:gL},this.urlHandlingStrategy=new OU,this.routeReuseStrategy=new EU,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(ds),this.console=s.get(em);var V=s.get(vt);this.isNgZoneEnabled=V instanceof vt&&vt.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=new Wl(new en([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vL(l,u,function(X){return y.triggerEvent(new SE(X))},function(X){return y.triggerEvent(new TE(X))}),this.routerState=UE(this.currentUrlTree,this.rootComponentType),this.transitions=new Br({id:0,targetPageId: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 f(i,[{key:"browserPageId",get:function(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}},{key:"setupNavigations",value:function(n){var a=this,o=this.events;return n.pipe(Ir(function(s){return 0!==s.id}),$e(function(s){return Object.assign(Object.assign({},s),{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),Zi(function(s){var l=!1,u=!1;return Qe(s).pipe(Ar(function(d){a.currentNavigation={id:d.id,initialUrl:d.currentRawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign(Object.assign({},a.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Zi(function(d){var y=!a.navigated||d.extractedUrl.toString()!==a.browserUrlTree.toString(),T=("reload"===a.onSameUrlNavigation||y)&&a.urlHandlingStrategy.shouldProcessUrl(d.rawUrl);if(ov(d.source)&&(a.browserUrlTree=d.rawUrl),T)return Qe(d).pipe(Zi(function(Ne){var Xe=a.transitions.getValue();return o.next(new Tk(Ne.id,a.serializeUrl(Ne.extractedUrl),Ne.source,Ne.restoredState)),Xe!==a.transitions.getValue()?zl:Promise.resolve(Ne)}),function(e,i,t,n){return Zi(function(a){return function(e,i,t,n,a){return new eU(e,i,t,n,a).apply()}(e,i,t,a.extractedUrl,n).pipe($e(function(o){return Object.assign(Object.assign({},a),{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),Ar(function(Ne){a.currentNavigation=Object.assign(Object.assign({},a.currentNavigation),{finalUrl:Ne.urlAfterRedirects})}),function(e,i,t,n,a){return Sn(function(o){return function(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new _U(e,i,t,n,a,o).recognize();return null===s?uL(new vU):Qe(s)}catch(l){return uL(l)}}(e,i,o.urlAfterRedirects,t(o.urlAfterRedirects),n,a).pipe($e(function(s){return Object.assign(Object.assign({},o),{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(Ne){return a.serializeUrl(Ne)},a.paramsInheritanceStrategy,a.relativeLinkResolution),Ar(function(Ne){"eager"===a.urlUpdateStrategy&&(Ne.extras.skipLocationChange||a.setBrowserUrl(Ne.urlAfterRedirects,Ne),a.browserUrlTree=Ne.urlAfterRedirects);var Xe=new $7(Ne.id,a.serializeUrl(Ne.extractedUrl),a.serializeUrl(Ne.urlAfterRedirects),Ne.targetSnapshot);o.next(Xe)}));if(y&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var q=d.extractedUrl,X=d.source,he=d.restoredState,Se=d.extras,pe=new Tk(d.id,a.serializeUrl(q),X,he);o.next(pe);var Re=UE(q,a.rootComponentType).snapshot;return Qe(Object.assign(Object.assign({},d),{targetSnapshot:Re,urlAfterRedirects:q,extras:Object.assign(Object.assign({},Se),{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=d.rawUrl,a.browserUrlTree=d.urlAfterRedirects,d.resolve(null),zl}),Bk(function(d){var q=d.extras;return a.hooks.beforePreactivation(d.targetSnapshot,{navigationId:d.id,appliedUrlTree:d.extractedUrl,rawUrlTree:d.rawUrl,skipLocationChange:!!q.skipLocationChange,replaceUrl:!!q.replaceUrl})}),Ar(function(d){var y=new Q7(d.id,a.serializeUrl(d.extractedUrl),a.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);a.triggerEvent(y)}),$e(function(d){return Object.assign(Object.assign({},d),{guards:rU(d.targetSnapshot,d.currentSnapshot,a.rootContexts)})}),function(e,i){return Sn(function(t){var n=t.targetSnapshot,a=t.currentSnapshot,o=t.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?Qe(Object.assign(Object.assign({},t),{guardsResult:!0})):function(e,i,t,n){return ot(e).pipe(Sn(function(a){return function(e,i,t,n,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;return o&&0!==o.length?Qe(o.map(function(l){var d,u=av(l,i,a);if(function(e){return e&&$s(e.canDeactivate)}(u))d=zo(u.canDeactivate(e,i,t,n));else{if(!$s(u))throw new Error("Invalid CanDeactivate guard");d=zo(u(e,i,t,n))}return d.pipe(Hc())})).pipe(Gf()):Qe(!0)}(a.component,a.route,t,i,n)}),Hc(function(a){return!0!==a},!0))}(l,n,a,e).pipe(Sn(function(u){return u&&function(e){return"boolean"==typeof e}(u)?function(e,i,t,n){return ot(i).pipe(Fc(function(a){return Js(function(e,i){return null!==e&&i&&i(new t9(e)),Qe(!0)}(a.route.parent,n),function(e,i){return null!==e&&i&&i(new r9(e)),Qe(!0)}(a.route,n),function(e,i,t){var n=i[i.length-1],o=i.slice(0,i.length-1).reverse().map(function(s){return function(e){var i=e.routeConfig?e.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:e,guards:i}:null}(s)}).filter(function(s){return null!==s}).map(function(s){return Um(function(){return Qe(s.guards.map(function(u){var y,d=av(u,s.node,t);if(function(e){return e&&$s(e.canActivateChild)}(d))y=zo(d.canActivateChild(n,e));else{if(!$s(d))throw new Error("Invalid CanActivateChild guard");y=zo(d(n,e))}return y.pipe(Hc())})).pipe(Gf())})});return Qe(o).pipe(Gf())}(e,a.path,t),function(e,i,t){var n=i.routeConfig?i.routeConfig.canActivate:null;return n&&0!==n.length?Qe(n.map(function(o){return Um(function(){var l,s=av(o,i,t);if(function(e){return e&&$s(e.canActivate)}(s))l=zo(s.canActivate(i,e));else{if(!$s(s))throw new Error("Invalid CanActivate guard");l=zo(s(i,e))}return l.pipe(Hc())})})).pipe(Gf()):Qe(!0)}(e,a.route,t))}),Hc(function(a){return!0!==a},!0))}(n,s,e,i):Qe(u)}),$e(function(u){return Object.assign(Object.assign({},t),{guardsResult:u})}))})}(a.ngModule.injector,function(d){return a.triggerEvent(d)}),Ar(function(d){if(ql(d.guardsResult)){var y=Dk('Redirecting to "'.concat(a.serializeUrl(d.guardsResult),'"'));throw y.url=d.guardsResult,y}var T=new Z7(d.id,a.serializeUrl(d.extractedUrl),a.serializeUrl(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);a.triggerEvent(T)}),Ir(function(d){return!!d.guardsResult||(a.restoreHistory(d),a.cancelNavigationTransition(d,""),!1)}),Bk(function(d){if(d.guards.canActivateChecks.length)return Qe(d).pipe(Ar(function(y){var T=new X7(y.id,a.serializeUrl(y.extractedUrl),a.serializeUrl(y.urlAfterRedirects),y.targetSnapshot);a.triggerEvent(T)}),Zi(function(y){var T=!1;return Qe(y).pipe(function(e,i){return Sn(function(t){var n=t.targetSnapshot,a=t.guards.canActivateChecks;if(!a.length)return Qe(t);var o=0;return ot(a).pipe(Fc(function(s){return function(e,i,t,n){return function(e,i,t,n){var a=Object.keys(e);if(0===a.length)return Qe({});var o={};return ot(a).pipe(Sn(function(s){return function(e,i,t,n){var a=av(e,i,n);return zo(a.resolve?a.resolve(i,t):a(i,t))}(e[s],i,t,n).pipe(Ar(function(l){o[s]=l}))}),Vf(1),Sn(function(){return Object.keys(o).length===a.length?Qe(o):zl}))}(e._resolve,e,i,n).pipe($e(function(o){return e._resolvedData=o,e.data=Object.assign(Object.assign({},e.data),zE(e,t).resolve),null}))}(s.route,n,e,i)}),Ar(function(){return o++}),Vf(1),Sn(function(s){return o===a.length?Qe(t):zl}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),Ar({next:function(){return T=!0},complete:function(){T||(a.restoreHistory(y),a.cancelNavigationTransition(y,"At least one route resolver didn't emit any value."))}}))}),Ar(function(y){var T=new e9(y.id,a.serializeUrl(y.extractedUrl),a.serializeUrl(y.urlAfterRedirects),y.targetSnapshot);a.triggerEvent(T)}))}),Bk(function(d){var q=d.extras;return a.hooks.afterPreactivation(d.targetSnapshot,{navigationId:d.id,appliedUrlTree:d.extractedUrl,rawUrlTree:d.rawUrl,skipLocationChange:!!q.skipLocationChange,replaceUrl:!!q.replaceUrl})}),$e(function(d){var y=function(e,i,t){var n=Qm(e,i._root,t?t._root:void 0);return new jE(n,i)}(a.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return Object.assign(Object.assign({},d),{targetRouterState:y})}),Ar(function(d){a.currentUrlTree=d.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,d.rawUrl),a.routerState=d.targetRouterState,"deferred"===a.urlUpdateStrategy&&(d.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,d),a.browserUrlTree=d.urlAfterRedirects)}),function(i,t,n){return $e(function(a){return new Y9(t,a.targetRouterState,a.currentRouterState,n).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(d){return a.triggerEvent(d)}),Ar({next:function(){l=!0},complete:function(){l=!0}}),ME(function(){if(!l&&!u){var d="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);"replace"===a.canceledNavigationResolution&&a.restoreHistory(s),a.cancelNavigationTransition(s,d)}a.currentNavigation=null}),Xi(function(d){if(u=!0,function(e){return e&&e[EE]}(d)){var y=ql(d.url);y||(a.navigated=!0,a.restoreHistory(s,!0));var T=new wE(s.id,a.serializeUrl(s.extractedUrl),d.message);o.next(T),y?setTimeout(function(){var V=a.urlHandlingStrategy.merge(d.url,a.rawUrlTree),q={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||ov(s.source)};a.scheduleNavigation(V,"imperative",null,q,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var I=new J7(s.id,a.serializeUrl(s.extractedUrl),d);o.next(I);try{s.resolve(a.errorHandler(d))}catch(V){s.reject(V)}}return zl}))}))}},{key:"resetRootComponentType",value:function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n}},{key:"setTransition",value:function(n){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),n))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o=n.extractLocationChangeInfoFromEvent(a);n.shouldScheduleNavigation(n.lastLocationChangeInfo,o)&&setTimeout(function(){var s=o.source,l=o.state,u=o.urlTree,d={replaceUrl:!0};if(l){var y=Object.assign({},l);delete y.navigationId,delete y.\u0275routerPageId,0!==Object.keys(y).length&&(d.state=y)}n.scheduleNavigation(u,s,l,d)},0),n.lastLocationChangeInfo=o}))}},{key:"extractLocationChangeInfoFromEvent",value:function(n){var a;return{source:"popstate"===n.type?"popstate":"hashchange",urlTree:this.parseUrl(n.url),state:(null===(a=n.state)||void 0===a?void 0:a.navigationId)?n.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(n,a){if(!n)return!0;var o=a.urlTree.toString()===n.urlTree.toString();return!(a.transitionId===n.transitionId&&o&&("hashchange"===a.source&&"popstate"===n.source||"popstate"===a.source&&"hashchange"===n.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(n){this.events.next(n)}},{key:"resetConfig",value:function(n){tL(n),this.config=n.map(Hk),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,u=a.queryParamsHandling,d=a.preserveFragment,y=o||this.routerState.root,T=d?this.currentUrlTree.fragment:l,I=null;switch(u){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=s||null}return null!==I&&(I=this.removeEmptyProps(I)),P9(y,this.currentUrlTree,n,I,null!=T?T:null)}},{key:"navigateByUrl",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=ql(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return FU(n),this.navigateByUrl(this.createUrlTree(n,a),a)}},{key:"serializeUrl",value:function(n){return this.urlSerializer.serialize(n)}},{key:"parseUrl",value:function(n){var a;try{a=this.urlSerializer.parse(n)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return a}},{key:"isActive",value:function(n,a){var o;if(o=!0===a?Object.assign({},AU):!1===a?Object.assign({},RU):a,ql(n))return IE(this.currentUrlTree,n,o);var s=this.parseUrl(n);return IE(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(n){return Object.keys(n).reduce(function(a,o){var s=n[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var n=this;this.navigations.subscribe(function(a){n.navigated=!0,n.lastSuccessfulId=a.id,n.currentPageId=a.targetPageId,n.events.next(new Vc(a.id,n.serializeUrl(a.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,a.resolve(!0)},function(a){n.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(n,a,o,s,l){var u,d;if(this.disposed)return Promise.resolve(!1);var X,he,Se,y=this.getTransition(),T=ov(a)&&y&&!ov(y.source),q=(this.lastSuccessfulId===y.id||this.currentNavigation?y.rawUrl:y.urlAfterRedirects).toString()===n.toString();if(T&&q)return Promise.resolve(!0);l?(X=l.resolve,he=l.reject,Se=l.promise):Se=new Promise(function(Xe,st){X=Xe,he=st});var Re,pe=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),Re=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(u=this.browserPageId)&&void 0!==u?u:0:(null!==(d=this.browserPageId)&&void 0!==d?d:0)+1):Re=0,this.setTransition({id:pe,targetPageId:Re,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:X,reject:he,promise:Se,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Se.catch(function(Xe){return Promise.reject(Xe)})}},{key:"setBrowserUrl",value:function(n,a){var o=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(n){var o,s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var l=this.currentPageId-n.targetPageId,u="popstate"===n.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);u&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(n),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(n,a){var o=new wE(n.id,this.serializeUrl(n.extractedUrl),a);this.triggerEvent(o),n.resolve(!1)}},{key:"generateNgRouterState",value:function(n,a){return"computed"===this.canceledNavigationResolution?{navigationId:n,"\u0275routerPageId":a}:{navigationId:n}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Wu),_e(Ek),_e(jc),_e(Yl),_e(sn),_e(nm),_e(Al),_e(void 0))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function FU(e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:{};c(this,i),this.router=t,this.viewportScroller=n,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return f(i,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof Tk?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=a.navigationTrigger,n.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Vc&&(n.lastId=a.id,n.scheduleScrollEvent(a,n.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof DE&&(a.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(n,a){this.router.triggerEvent(new DE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Zt),_e(jD),_e(void 0))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Jl=new Ze("ROUTER_CONFIGURATION"),kL=new Ze("ROUTER_FORROOT_GUARD"),jU=[Yl,{provide:Ek,useClass:NE},{provide:Zt,useFactory:function(e,i,t,n,a,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,y=new Zt(null,e,i,t,n,a,o,PE(s));return u&&(y.urlHandlingStrategy=u),d&&(y.routeReuseStrategy=d),KU(l,y),l.enableTracing&&y.events.subscribe(function(T){var I,V;null===(I=console.group)||void 0===I||I.call(console,"Router Event: ".concat(T.constructor.name)),console.log(T.toString()),console.log(T),null===(V=console.groupEnd)||void 0===V||V.call(console)}),y},deps:[Ek,jc,Yl,sn,nm,Al,jk,Jl,[function e(){c(this,e)},new ti],[mL,new ti]]},jc,{provide:ai,useFactory:function(e){return e.routerState.root},deps:[Zt]},{provide:nm,useClass:ZH},bL,yL,VU,{provide:Jl,useValue:{enableTracing:!1}}];function UU(){return new ib("Router",Zt)}var CL=function(){var e=function(){function i(t,n){c(this,i)}return f(i,null,[{key:"forRoot",value:function(n,a){return{ngModule:i,providers:[jU,ML(n),{provide:kL,useFactory:GU,deps:[[Zt,new ti,new ss]]},{provide:Jl,useValue:a||{}},{provide:Oc,useFactory:WU,deps:[Nl,[new Ku(Cb),new ti],Jl]},{provide:zk,useFactory:zU,deps:[Zt,jD,Jl]},{provide:_L,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:yL},{provide:ib,multi:!0,useFactory:UU},[Wk,{provide:wf,multi:!0,useFactory:$U,deps:[Wk]},{provide:wL,useFactory:QU,deps:[Wk]},{provide:FT,multi:!0,useExisting:wL}]]}}},{key:"forChild",value:function(n){return{ngModule:i,providers:[ML(n)]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(kL,8),_e(Zt,8))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}();function zU(e,i,t){return t.scrollOffset&&i.setOffset(t.scrollOffset),new zk(e,i,t)}function WU(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.useHash?new mB(e,i):new kD(e,i)}function GU(e){return"guarded"}function ML(e){return[{provide:JI,multi:!0,useValue:e},{provide:jk,multi:!0,useValue:e}]}function KU(e,i){e.errorHandler&&(i.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(i.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(i.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(i.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(i.urlUpdateStrategy=e.urlUpdateStrategy)}var Wk=function(){var e=function(){function i(t){c(this,i),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie}return f(i,[{key:"appInitializer",value:function(){var n=this;return this.injector.get(fB,Promise.resolve(null)).then(function(){if(n.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(d){return o=d}),l=n.injector.get(Zt),u=n.injector.get(Jl);return"disabled"===u.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===u.initialNavigation||"enabledBlocking"===u.initialNavigation?(l.hooks.afterPreactivation=function(){return n.initNavigation?Qe(null):(n.initNavigation=!0,o(!0),n.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(n){var a=this.injector.get(Jl),o=this.injector.get(bL),s=this.injector.get(zk),l=this.injector.get(Zt),u=this.injector.get(Us);n===u.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(u.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function $U(e){return e.appInitializer.bind(e)}function QU(e){return e.bootstrapListener.bind(e)}var wL=new Ze("Router Initializer"),lv=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n,a)).scheduler=n,o.work=a,o.pending=!1,o}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=a;var s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(l,this.id,o),this}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(a.flush.bind(a,this),s)}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&this.delay===s&&!1===this.pending)return o;clearInterval(o)}},{key:"execute",value:function(a,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(a,o);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(a,o){var s=!1,l=void 0;try{this.work(a)}catch(u){s=!0,l=!!u&&u||new Error(u)}if(s)return this.unsubscribe(),l}},{key:"_unsubscribe",value:function(){var a=this.id,o=this.scheduler,s=o.actions,l=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&s.splice(l,1),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null}}]),t}(function(e){h(t,e);var i=C(t);function t(n,a){return c(this,t),i.call(this)}return f(t,[{key:"schedule",value:function(a){return this}}]),t}(He)),ez=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n,a)).scheduler=n,o.work=a,o}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o>0?E(x(t.prototype),"schedule",this).call(this,a,o):(this.delay=o,this.state=a,this.scheduler.flush(this),this)}},{key:"execute",value:function(a,o){return o>0||this.closed?E(x(t.prototype),"execute",this).call(this,a,o):this._execute(a,o)}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0||null===s&&this.delay>0?E(x(t.prototype),"requestAsyncId",this).call(this,a,o,s):a.flush(this)}}]),t}(lv),SL=function(){var e=function(){function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;c(this,i),this.SchedulerAction=t,this.now=n}return f(i,[{key:"schedule",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,n).schedule(o,a)}}]),i}();return e.now=function(){return Date.now()},e}(),uv=function(e){h(t,e);var i=C(t);function t(n){var a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:SL.now;return c(this,t),(a=i.call(this,n,function(){return t.delegate&&t.delegate!==O(a)?t.delegate.now():o()})).actions=[],a.active=!1,a.scheduled=void 0,a}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(a,o,s):E(x(t.prototype),"schedule",this).call(this,a,o,s)}},{key:"flush",value:function(a){var o=this.actions;if(this.active)o.push(a);else{var s;this.active=!0;do{if(s=a.execute(a.state,a.delay))break}while(a=o.shift());if(this.active=!1,s){for(;a=o.shift();)a.unsubscribe();throw s}}}}]),t}(SL),nz=new(function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return t}(uv))(ez);function Na(e,i){return new me(i?function(t){return i.schedule(rz,0,{error:e,subscriber:t})}:function(t){return t.error(e)})}function rz(e){e.subscriber.error(e.error)}var $f=function(){var e=function(){function i(t,n,a){c(this,i),this.kind=t,this.value=n,this.error=a,this.hasValue="N"===t}return f(i,[{key:"observe",value:function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}},{key:"do",value:function(n,a,o){switch(this.kind){case"N":return n&&n(this.value);case"E":return a&&a(this.error);case"C":return o&&o()}}},{key:"accept",value:function(n,a,o){return n&&"function"==typeof n.next?this.observe(n):this.do(n,a,o)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Qe(this.value);case"E":return Na(this.error);case"C":return jm()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(n){return void 0!==n?new i("N",n):i.undefinedValueNotification}},{key:"createError",value:function(n){return new i("E",void 0,n)}},{key:"createComplete",value:function(){return i.completeNotification}}]),i}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}(),az=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(this,t),(o=i.call(this,n)).scheduler=a,o.delay=s,o}return f(t,[{key:"scheduleMessage",value:function(a){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new oz(a,this.destination)))}},{key:"_next",value:function(a){this.scheduleMessage($f.createNext(a))}},{key:"_error",value:function(a){this.scheduleMessage($f.createError(a)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage($f.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){a.notification.observe(a.destination),this.unsubscribe()}}]),t}(St),oz=function e(i,t){c(this,e),this.notification=i,this.destination=t},Ya=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,s=arguments.length>2?arguments[2]:void 0;return c(this,t),(n=i.call(this)).scheduler=s,n._events=[],n._infiniteTimeWindow=!1,n._bufferSize=a<1?1:a,n._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(n._infiniteTimeWindow=!0,n.next=n.nextInfiniteTimeWindow):n.next=n.nextTimeWindow,n}return f(t,[{key:"nextInfiniteTimeWindow",value:function(a){var o=this._events;o.push(a),o.length>this._bufferSize&&o.shift(),E(x(t.prototype),"next",this).call(this,a)}},{key:"nextTimeWindow",value:function(a){this._events.push(new sz(this._getNow(),a)),this._trimBufferThenGetEvents(),E(x(t.prototype),"next",this).call(this,a)}},{key:"_subscribe",value:function(a){var d,o=this._infiniteTimeWindow,s=o?this._events:this._trimBufferThenGetEvents(),l=this.scheduler,u=s.length;if(this.closed)throw new De;if(this.isStopped||this.hasError?d=He.EMPTY:(this.observers.push(a),d=new Le(this,a)),l&&a.add(a=new az(a,l)),o)for(var y=0;yo&&(d=Math.max(d,u-o)),d>0&&l.splice(0,d),l}}]),t}(Ie),sz=function e(i,t){c(this,e),this.time=i,this.value=t},TL="refreshSeconds",DL="labelsData",EL="localNodesData",LL="nodesData",ea=function(e){return e.Node="nd",e.Transport="tp",e.DmsgServer="ds",e}({}),ta=function(){function e(){var i=this;this.currentRefreshTimeSubject=new Ya(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem(TL),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(function(a){i.savedLocalNodes.set(a.publicKey,a),a.hidden||i.savedVisibleLocalNodes.add(a.publicKey)}),this.getSavedLabels().forEach(function(a){return i.savedLabels.set(a.id,a)}),this.loadLegacyNodeData();var t=[];this.savedLocalNodes.forEach(function(a){return t.push(a)});var n=[];this.savedLabels.forEach(function(a){return n.push(a)}),this.saveLocalNodes(t),this.saveLabels(n)}return e.prototype.loadLegacyNodeData=function(){var i=this,t=JSON.parse(this.storage.getItem(LL))||[];if(t.length>0){var n=this.getSavedLocalNodes(),a=this.getSavedLabels();t.forEach(function(o){n.push({publicKey:o.publicKey,hidden:o.deleted,ip:null}),i.savedLocalNodes.set(o.publicKey,n[n.length-1]),o.deleted||i.savedVisibleLocalNodes.add(o.publicKey),a.push({id:o.publicKey,identifiedElementType:ea.Node,label:o.label}),i.savedLabels.set(o.publicKey,a[a.length-1])}),this.saveLocalNodes(n),this.saveLabels(a),this.storage.removeItem(LL)}},e.prototype.setRefreshTime=function(i){this.storage.setItem(TL,i.toString()),this.currentRefreshTime=i,this.currentRefreshTimeSubject.next(this.currentRefreshTime)},e.prototype.getRefreshTimeObservable=function(){return this.currentRefreshTimeSubject.asObservable()},e.prototype.getRefreshTime=function(){return this.currentRefreshTime},e.prototype.includeVisibleLocalNodes=function(i,t){this.changeLocalNodesHiddenProperty(i,t,!1)},e.prototype.setLocalNodesAsHidden=function(i,t){this.changeLocalNodesHiddenProperty(i,t,!0)},e.prototype.changeLocalNodesHiddenProperty=function(i,t,n){var a=this;if(i.length!==t.length)throw new Error("Invalid params");var o=new Map,s=new Map;i.forEach(function(d,y){o.set(d,t[y]),s.set(d,t[y])});var l=!1,u=this.getSavedLocalNodes();u.forEach(function(d){o.has(d.publicKey)&&(s.has(d.publicKey)&&s.delete(d.publicKey),d.ip!==o.get(d.publicKey)&&(d.ip=o.get(d.publicKey),l=!0,a.savedLocalNodes.set(d.publicKey,d)),d.hidden!==n&&(d.hidden=n,l=!0,a.savedLocalNodes.set(d.publicKey,d),n?a.savedVisibleLocalNodes.delete(d.publicKey):a.savedVisibleLocalNodes.add(d.publicKey)))}),s.forEach(function(d,y){l=!0;var T={publicKey:y,hidden:n,ip:d};u.push(T),a.savedLocalNodes.set(y,T),n?a.savedVisibleLocalNodes.delete(y):a.savedVisibleLocalNodes.add(y)}),l&&this.saveLocalNodes(u)},e.prototype.getSavedLocalNodes=function(){return JSON.parse(this.storage.getItem(EL))||[]},e.prototype.getSavedVisibleLocalNodes=function(){return this.savedVisibleLocalNodes},e.prototype.saveLocalNodes=function(i){this.storage.setItem(EL,JSON.stringify(i))},e.prototype.getSavedLabels=function(){return JSON.parse(this.storage.getItem(DL))||[]},e.prototype.saveLabels=function(i){this.storage.setItem(DL,JSON.stringify(i))},e.prototype.saveLabel=function(i,t,n){var a=this;if(t){var l=!1,s=this.getSavedLabels().map(function(y){return y.id===i&&y.identifiedElementType===n&&(l=!0,y.label=t,a.savedLabels.set(y.id,{label:y.label,id:y.id,identifiedElementType:y.identifiedElementType})),y});if(l)this.saveLabels(s);else{var u={label:t,id:i,identifiedElementType:n};s.push(u),this.savedLabels.set(i,u),this.saveLabels(s)}}else{this.savedLabels.has(i)&&this.savedLabels.delete(i);var o=!1;s=this.getSavedLabels().filter(function(d){return d.id!==i||(o=!0,!1)}),o&&this.saveLabels(s)}},e.prototype.getDefaultLabel=function(i){return i?i.ip?i.ip:i.localPk.substr(0,8):""},e.prototype.getLabelInfo=function(i){return this.savedLabels.has(i)?this.savedLabels.get(i):null},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}();function kn(e){return null!=e&&"false"!=="".concat(e)}function yi(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lz(e)?Number(e):i}function lz(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function cv(e){return Array.isArray(e)?e:[e]}function Rr(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function bs(e){return e instanceof pt?e.nativeElement:e}function ks(e,i,t,n){return Be(t)&&(n=t,t=void 0),n?ks(e,i,t).pipe($e(function(a){return Pe(a)?n.apply(void 0,se(a)):n(a)})):new me(function(a){PL(e,i,function(s){a.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},a,t)})}function PL(e,i,t,n,a){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(i,t,a),o=function(){return s.removeEventListener(i,t,a)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var l=e;e.on(i,t),o=function(){return l.off(i,t)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(i,t),o=function(){return u.removeListener(i,t)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,y=e.length;d2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?E(x(t.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=OL_setImmediate(a.flush.bind(a,null))))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return E(x(t.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(OL_clearImmediate(o),a.scheduled=void 0)}}]),t}(lv),qk=new(function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l=0}function fv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=-1;return Kk(i)?n=Number(i)<1?1:Number(i):ft(i)&&(t=i),ft(t)||(t=zc),new me(function(a){var o=Kk(e)?e:+e-t.now();return t.schedule(wz,o,{index:0,period:n,subscriber:a})})}function wz(e){var i=e.index,t=e.period,n=e.subscriber;if(n.next(i),!n.closed){if(-1===t)return n.complete();e.index=i+1,this.schedule(e,t)}}function hv(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return kz(function(){return fv(e,i)})}function rn(e){return function(i){return i.lift(new Sz(e))}}var Jk,Sz=function(){function e(i){c(this,e),this.notifier=i}return f(e,[{key:"call",value:function(t,n){var a=new Tz(t),o=An(a,this.notifier);return o&&!a.seenValue?(a.add(o),n.subscribe(a)):a}}]),e}(),Tz=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n)).seenValue=!1,a}return f(t,[{key:"notifyNext",value:function(a,o,s,l,u){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),t}(_n);try{Jk="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(e){Jk=!1}var Wc,Zf,Ql,$k,Qt=function(){var e=function i(t){c(this,i),this._platformId=t,this.isBrowser=this._platformId?function(e){return"browser"===e}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Jk)&&"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 e.\u0275fac=function(t){return new(t||e)(_e(Ec))},e.\u0275prov=We({factory:function(){return new e(_e(Ec))},token:e,providedIn:"root"}),e}(),Qf=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),IL=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function AL(){if(Wc)return Wc;if("object"!=typeof document||!document)return Wc=new Set(IL);var e=document.createElement("input");return Wc=new Set(IL.filter(function(i){return e.setAttribute("type",i),e.type===i}))}function $l(e){return function(){if(null==Zf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Zf=!0}}))}finally{Zf=Zf||!1}return Zf}()?e:!!e.capture}function RL(){if(null==Ql){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ql=!1;if("scrollBehavior"in document.documentElement.style)Ql=!0;else{var e=Element.prototype.scrollTo;Ql=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Ql}function FL(e){if(function(){if(null==$k){var e="undefined"!=typeof document?document.head:null;$k=!(!e||!e.createShadowRoot&&!e.attachShadow)}return $k}()){var i=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function mv(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var i=e.shadowRoot.activeElement;if(i===e)break;e=i}return e}function Gc(e){return e.composedPath?e.composedPath()[0]:e.target}var NL=new Ze("cdk-dir-doc",{providedIn:"root",factory:function(){return vp(dt)}}),jr=function(){var e=function(){function i(t){if(c(this,i),this.value="ltr",this.change=new mt,t){var o=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===o||"rtl"===o?o:"ltr"}}return f(i,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(NL,8))},e.\u0275prov=We({factory:function(){return new e(_e(NL,8))},token:e,providedIn:"root"}),e}(),eh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Hz=function(){function e(){var i=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c(this,e),this._multiple=t,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie,n&&n.length&&(t?n.forEach(function(o){return i._markSelected(o)}):this._markSelected(n[0]),this._selectedToEmit.length=0)}return f(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new me(function(o){n._globalSubscription||n._addGlobalListener();var s=a>0?n._scrolled.pipe(hv(a)).subscribe(o):n._scrolled.subscribe(o);return n._scrolledCount++,function(){s.unsubscribe(),n._scrolledCount--,n._scrolledCount||n._removeGlobalListener()}}):Qe()}},{key:"ngOnDestroy",value:function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(a,o){return n.deregister(o)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(n,a){var o=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(Ir(function(s){return!s||o.indexOf(s)>-1}))}},{key:"getAncestorScrollContainers",value:function(n){var a=this,o=[];return this.scrollContainers.forEach(function(s,l){a._scrollableContainsElement(l,n)&&o.push(l)}),o}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(n,a){var o=bs(a),s=n.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return ks(n._getWindow().document,"scroll").subscribe(function(){return n._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(Qt),_e(dt,8))},e.\u0275prov=We({factory:function(){return new e(_e(vt),_e(Qt),_e(dt,8))},token:e,providedIn:"root"}),e}(),fo=function(){var e=function(){function i(t,n,a){var o=this;c(this,i),this._platform=t,this._change=new Ie,this._changeListener=function(s){o._change.next(s)},this._document=a,n.runOutsideAngular(function(){if(t.isBrowser){var s=o._getWindow();s.addEventListener("resize",o._changeListener),s.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return f(i,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}},{key:"getViewportRect",value:function(){var n=this.getViewportScrollPosition(),a=this.getViewportSize(),o=a.width,s=a.height;return{top:n.top,left:n.left,bottom:n.top+s,right:n.left+o,height:s,width:o}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=this._document,a=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect();return{top:-s.top||n.body.scrollTop||a.scrollY||o.scrollTop||0,left:-s.left||n.body.scrollLeft||a.scrollX||o.scrollLeft||0}}},{key:"change",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return n>0?this._change.pipe(hv(n)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(vt),_e(dt,8))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(vt),_e(dt,8))},token:e,providedIn:"root"}),e}(),th=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),jL=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[eh,Qf,th],eh,th]}),e}(),Qk=function(){function e(){c(this,e)}return f(e,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),e}(),Kc=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this)).component=n,l.viewContainerRef=a,l.injector=o,l.componentFactoryResolver=s,l}return t}(Qk),Qs=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this)).templateRef=n,s.viewContainerRef=a,s.context=o,s}return f(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=o,E(x(t.prototype),"attach",this).call(this,a)}},{key:"detach",value:function(){return this.context=void 0,E(x(t.prototype),"detach",this).call(this)}}]),t}(Qk),Jz=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).element=n instanceof pt?n.nativeElement:n,a}return t}(Qk),vv=function(){function e(){c(this,e),this._isDisposed=!1,this.attachDomPortal=null}return f(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof Kc?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Qs?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Jz?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),UL=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l){var u,d;return c(this,t),(d=i.call(this)).outletElement=n,d._componentFactoryResolver=a,d._appRef=o,d._defaultInjector=s,d.attachDomPortal=function(y){var T=y.element,I=d._document.createComment("dom-portal");T.parentNode.insertBefore(I,T),d.outletElement.appendChild(T),d._attachedPortal=y,E((u=O(d),x(t.prototype)),"setDisposeFn",u).call(u,function(){I.parentNode&&I.parentNode.replaceChild(T,I)})},d._document=l,d}return f(t,[{key:"attachComponentPortal",value:function(a){var u,o=this,l=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);return a.viewContainerRef?(u=a.viewContainerRef.createComponent(l,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(function(){return u.destroy()})):(u=l.create(a.injector||this._defaultInjector),this._appRef.attachView(u.hostView),this.setDisposeFn(function(){o._appRef.detachView(u.hostView),u.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(u)),this._attachedPortal=a,u}},{key:"attachTemplatePortal",value:function(a){var o=this,s=a.viewContainerRef,l=s.createEmbeddedView(a.templateRef,a.context);return l.rootNodes.forEach(function(u){return o.outletElement.appendChild(u)}),l.detectChanges(),this.setDisposeFn(function(){var u=s.indexOf(l);-1!==u&&s.remove(u)}),this._attachedPortal=a,l}},{key:"dispose",value:function(){E(x(t.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(a){return a.hostView.rootNodes[0]}}]),t}(vv),Cs=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l,u;return c(this,n),(u=t.call(this))._componentFactoryResolver=a,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new mt,u.attachDomPortal=function(d){var y=d.element,T=u._document.createComment("dom-portal");d.setAttachedHost(O(u)),y.parentNode.insertBefore(T,y),u._getRootNode().appendChild(y),u._attachedPortal=d,E((l=O(u),x(n.prototype)),"setDisposeFn",l).call(l,function(){T.parentNode&&T.parentNode.replaceChild(y,T)})},u._document=s,u}return f(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(o){this.hasAttached()&&!o&&!this._isInitialized||(this.hasAttached()&&E(x(n.prototype),"detach",this).call(this),o&&E(x(n.prototype),"attach",this).call(this,o),this._attachedPortal=o)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){E(x(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(o){o.setAttachedHost(this);var s=null!=o.viewContainerRef?o.viewContainerRef:this._viewContainerRef,u=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),d=s.createComponent(u,s.length,o.injector||s.injector);return s!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),E(x(n.prototype),"setDisposeFn",this).call(this,function(){return d.destroy()}),this._attachedPortal=o,this._attachedRef=d,this.attached.emit(d),d}},{key:"attachTemplatePortal",value:function(o){var s=this;o.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(o.templateRef,o.context);return E(x(n.prototype),"setDisposeFn",this).call(this,function(){return s._viewContainerRef.clear()}),this._attachedPortal=o,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var o=this._viewContainerRef.element.nativeElement;return o.nodeType===o.ELEMENT_NODE?o:o.parentNode}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(Yo),N(kr),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ht]}),e}(),gv=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Qz=function(){function e(i,t){c(this,e),this.predicate=i,this.inclusive=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Zz(t,this.predicate,this.inclusive))}}]),e}(),Zz=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).predicate=a,s.inclusive=o,s.index=0,s}return f(t,[{key:"_next",value:function(a){var s,o=this.destination;try{s=this.predicate(a,this.index++)}catch(l){return void o.error(l)}this.nextOrComplete(a,s)}},{key:"nextOrComplete",value:function(a,o){var s=this.destination;Boolean(o)?s.next(a):(this.inclusive&&s.next(a),s.complete())}}]),t}(St);function Ms(e){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;na.height||n.scrollWidth>a.width}}]),e}(),dW=function(){function e(i,t,n,a){var o=this;c(this,e),this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=n,this._config=a,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return f(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(function(){var a=t._viewportRuler.getViewportScrollPosition().top;Math.abs(a-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),GL=function(){function e(){c(this,e)}return f(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function Xk(e,i){return i.some(function(t){return e.bottomt.bottom||e.rightt.right})}function qL(e,i){return i.some(function(t){return e.topt.bottom||e.leftt.right})}var fW=function(){function e(i,t,n,a){c(this,e),this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=n,this._config=a,this._scrollSubscription=null}return f(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value: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 a=t._overlayRef.overlayElement.getBoundingClientRect(),o=t._viewportRuler.getViewportSize(),s=o.width,l=o.height;Xk(a,[{width:s,height:l,bottom:l,right:s,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),hW=function(){var e=function i(t,n,a,o){var s=this;c(this,i),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this.noop=function(){return new GL},this.close=function(l){return new dW(s._scrollDispatcher,s._ngZone,s._viewportRuler,l)},this.block=function(){return new cW(s._viewportRuler,s._document)},this.reposition=function(l){return new fW(s._scrollDispatcher,s._viewportRuler,s._ngZone,l)},this._document=o};return e.\u0275fac=function(t){return new(t||e)(_e(qc),_e(fo),_e(vt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(qc),_e(fo),_e(vt),_e(dt))},token:e,providedIn:"root"}),e}(),ih=function e(i){if(c(this,e),this.scrollStrategy=new GL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var n=0,a=Object.keys(i);n-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(dt))},token:e,providedIn:"root"}),e}(),vW=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this,a))._keydownListener=function(s){for(var l=o._attachedOverlays,u=l.length-1;u>-1;u--)if(l[u]._keydownEvents.observers.length>0){l[u]._keydownEvents.next(s);break}},o}return f(n,[{key:"add",value:function(o){E(x(n.prototype),"add",this).call(this,o),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(KL);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(dt))},token:e,providedIn:"root"}),e}(),gW=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this,a))._platform=o,s._cursorStyleIsSet=!1,s._clickListener=function(l){for(var u=Gc(l),d=s._attachedOverlays.slice(),y=d.length-1;y>-1;y--){var T=d[y];if(!(T._outsidePointerEvents.observers.length<1)&&T.hasAttached()){if(T.overlayElement.contains(u))break;T._outsidePointerEvents.next(l)}}},s}return f(n,[{key:"add",value:function(o){if(E(x(n.prototype),"add",this).call(this,o),!this._isAttached){var s=this._document.body;s.addEventListener("click",this._clickListener,!0),s.addEventListener("auxclick",this._clickListener,!0),s.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var o=this._document.body;o.removeEventListener("click",this._clickListener,!0),o.removeEventListener("auxclick",this._clickListener,!0),o.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(o.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(KL);return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(Qt))},e.\u0275prov=We({factory:function(){return new e(_e(dt),_e(Qt))},token:e,providedIn:"root"}),e}(),Zs="undefined"!=typeof window?window:{},JL=void 0!==Zs.__karma__&&!!Zs.__karma__||void 0!==Zs.jasmine&&!!Zs.jasmine||void 0!==Zs.jest&&!!Zs.jest||void 0!==Zs.Mocha&&!!Zs.Mocha,ah=function(){var e=function(){function i(t,n){c(this,i),this._platform=n,this._document=t}return f(i,[{key:"ngOnDestroy",value:function(){var n=this._containerElement;n&&n.parentNode&&n.parentNode.removeChild(n)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var n="cdk-overlay-container";if(this._platform.isBrowser||JL)for(var a=this._document.querySelectorAll(".".concat(n,'[platform="server"], ')+".".concat(n,'[platform="test"]')),o=0;oq&&(q=pe,V=Se)}}catch(Re){X.e(Re)}finally{X.f()}return this._isPushed=!1,void this._applyPosition(V.position,V.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Zl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($L),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value: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],n=this._getOriginPoint(this._originRect,t);this._applyPosition(t,n)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,n){var a;if("center"==n.originX)a=t.left+t.width/2;else{var o=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;a="start"==n.originX?o:s}return{x:a,y:"center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,n,a){var o;return o="center"==a.overlayX?-n.width/2:"start"===a.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,{x:t.x+o,y:t.y+("center"==a.overlayY?-n.height/2:"top"==a.overlayY?0:-n.height)}}},{key:"_getOverlayFit",value:function(t,n,a,o){var s=XL(n),l=t.x,u=t.y,d=this._getOffset(o,"x"),y=this._getOffset(o,"y");d&&(l+=d),y&&(u+=y);var V=0-u,q=u+s.height-a.height,X=this._subtractOverflows(s.width,0-l,l+s.width-a.width),he=this._subtractOverflows(s.height,V,q),Se=X*he;return{visibleArea:Se,isCompletelyWithinViewport:s.width*s.height===Se,fitsInViewportVertically:he===s.height,fitsInViewportHorizontally:X==s.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,n,a){if(this._hasFlexibleDimensions){var o=a.bottom-n.y,s=a.right-n.x,l=ZL(this._overlayRef.getConfig().minHeight),u=ZL(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=l&&l<=o)&&(t.fitsInViewportHorizontally||null!=u&&u<=s)}return!1}},{key:"_pushOverlayOnScreen",value:function(t,n,a){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var T,I,o=XL(n),s=this._viewportRect,l=Math.max(t.x+o.width-s.width,0),u=Math.max(t.y+o.height-s.height,0),d=Math.max(s.top-a.top-t.y,0),y=Math.max(s.left-a.left-t.x,0);return this._previousPushAmount={x:T=o.width<=s.width?y||-l:t.xy&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.y-y/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)X=a.width-t.x+this._viewportMargin,V=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)q=t.x,V=a.right-t.x;else{var he=Math.min(a.right-t.x+a.left,t.x),Se=this._lastBoundingBoxSize.width;q=t.x-he,(V=2*he)>Se&&!this._isInitialRender&&!this._growAfterOpen&&(q=t.x-Se/2)}return{top:l,left:q,bottom:u,right:X,width:V,height:s}}},{key:"_setBoundingBoxStyles",value:function(t,n){var a=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{var s=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Rr(a.height),o.top=Rr(a.top),o.bottom=Rr(a.bottom),o.width=Rr(a.width),o.left=Rr(a.left),o.right=Rr(a.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Rr(s)),l&&(o.maxWidth=Rr(l))}this._lastBoundingBoxSize=a,Zl(this._boundingBox.style,o)}},{key:"_resetBoundingBoxStyles",value:function(){Zl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Zl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,n){var a={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){var u=this._viewportRuler.getViewportScrollPosition();Zl(a,this._getExactOverlayY(n,t,u)),Zl(a,this._getExactOverlayX(n,t,u))}else a.position="static";var d="",y=this._getOffset(n,"x"),T=this._getOffset(n,"y");y&&(d+="translateX(".concat(y,"px) ")),T&&(d+="translateY(".concat(T,"px)")),a.transform=d.trim(),l.maxHeight&&(o?a.maxHeight=Rr(l.maxHeight):s&&(a.maxHeight="")),l.maxWidth&&(o?a.maxWidth=Rr(l.maxWidth):s&&(a.maxWidth="")),Zl(this._pane.style,a)}},{key:"_getExactOverlayY",value:function(t,n,a){var o={top:"",bottom:""},s=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a));var l=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=l,"bottom"===t.overlayY?o.bottom="".concat(this._document.documentElement.clientHeight-(s.y+this._overlayRect.height),"px"):o.top=Rr(s.y),o}},{key:"_getExactOverlayX",value:function(t,n,a){var o={left:"",right:""},s=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?o.right="".concat(this._document.documentElement.clientWidth-(s.x+this._overlayRect.width),"px"):o.left=Rr(s.x),o}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),a=this._scrollables.map(function(o){return o.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:qL(t,a),isOriginOutsideView:Xk(t,a),isOverlayClipped:qL(n,a),isOverlayOutsideView:Xk(n,a)}}},{key:"_subtractOverflows",value:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),o=a.width,s=a.height,l=a.maxWidth,u=a.maxHeight,d=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),y=!("100%"!==s&&"100vh"!==s||u&&"100%"!==u&&"100vh"!==u);t.position=this._cssPosition,t.marginLeft=d?"0":this._leftOffset,t.marginTop=y?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,d?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,n.alignItems=y?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,a=n.style;n.classList.remove(eP),a.justifyContent=a.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),CW=function(){var e=function(){function i(t,n,a,o){c(this,i),this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=o}return f(i,[{key:"global",value:function(){return new kW}},{key:"connectedTo",value:function(n,a,o){return new bW(a,o,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(n){return new QL(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(fo),_e(dt),_e(Qt),_e(ah))},e.\u0275prov=We({factory:function(){return new e(_e(fo),_e(dt),_e(Qt),_e(ah))},token:e,providedIn:"root"}),e}(),MW=0,na=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y,T,I){c(this,i),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=d,this._directionality=y,this._location=T,this._outsideClickDispatcher=I}return f(i,[{key:"create",value:function(n){var a=this._createHostElement(),o=this._createPaneElement(a),s=this._createPortalOutlet(o),l=new ih(n);return l.direction=l.direction||this._directionality.value,new _W(s,a,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(n){var a=this._document.createElement("div");return a.id="cdk-overlay-".concat(MW++),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}},{key:"_createHostElement",value:function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}},{key:"_createPortalOutlet",value:function(n){return this._appRef||(this._appRef=this._injector.get(Us)),new UL(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(hW),_e(ah),_e(Yo),_e(CW),_e(vW),_e(sn),_e(vt),_e(dt),_e(jr),_e(Yl),_e(gW))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),wW=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],tP=new Ze("cdk-connected-overlay-scroll-strategy"),SW=function(){var e=function i(t){c(this,i),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(N(pt))},e.\u0275dir=Ve({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),nP=function(){var e=function(){function i(t,n,a,o,s){c(this,i),this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=He.EMPTY,this._attachSubscription=He.EMPTY,this._detachSubscription=He.EMPTY,this._positionSubscription=He.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new mt,this.positionChange=new mt,this.attach=new mt,this.detach=new mt,this.overlayKeydown=new mt,this.overlayOutsideClick=new mt,this._templatePortal=new Qs(n,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return f(i,[{key:"offsetX",get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=kn(n)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(n){this._lockPosition=kn(n)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=kn(n)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=kn(n)}},{key:"push",get:function(){return this._push},set:function(n){this._push=kn(n)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var n=this;(!this.positions||!this.positions.length)&&(this.positions=wW);var a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(function(){return n.attach.emit()}),this._detachSubscription=a.detachments().subscribe(function(){return n.detach.emit()}),a.keydownEvents().subscribe(function(o){n.overlayKeydown.next(o),27===o.keyCode&&!n.disableClose&&!Ms(o)&&(o.preventDefault(),n._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(o){n.overlayOutsideClick.next(o)})}},{key:"_buildConfig",value:function(){var n=this._position=this.positionStrategy||this._createPositionStrategy(),a=new ih({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}},{key:"_updatePositionStrategy",value:function(n){var a=this,o=this.positions.map(function(s){return{originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||a.offsetX,offsetY:s.offsetY||a.offsetY,panelClass:s.panelClass||void 0}});return n.setOrigin(this.origin.elementRef).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var n=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(n),n}},{key:"_attachOverlay",value:function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(a){n.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t){return t.lift(new Qz(e,i))}}(function(){return n.positionChange.observers.length>0})).subscribe(function(a){n.positionChange.emit(a),0===n.positionChange.observers.length&&n._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(Vr),N(kr),N(tP),N(jr,8))},e.\u0275dir=Ve({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Jn]}),e}(),DW={provide:tP,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},oh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[na,DW],imports:[[eh,gv,jL],jL]}),e}();function e1(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return function(t){return t.lift(new EW(e,i))}}var EW=function(){function e(i,t){c(this,e),this.dueTime=i,this.scheduler=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new LW(t,this.dueTime,this.scheduler))}}]),e}(),LW=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).dueTime=a,s.scheduler=o,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return f(t,[{key:"_next",value:function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(PW,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var a=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(a)}}},{key:"clearDebounce",value:function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)}}]),t}(St);function PW(e){e.debouncedNext()}function rP(e){return function(i){return i.lift(new OW(e))}}var OW=function(){function e(i){c(this,e),this.total=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new xW(t,this.total))}}]),e}(),xW=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).total=a,o.count=0,o}return f(t,[{key:"_next",value:function(a){++this.count>this.total&&this.destination.next(a)}}]),t}(St),t1=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"create",value:function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return new e},token:e,providedIn:"root"}),e}(),iP=function(){var e=function(){function i(t){c(this,i),this._mutationObserverFactory=t,this._observedElements=new Map}return f(i,[{key:"ngOnDestroy",value:function(){var n=this;this._observedElements.forEach(function(a,o){return n._cleanupObserver(o)})}},{key:"observe",value:function(n){var a=this,o=bs(n);return new me(function(s){var u=a._observeElement(o).subscribe(s);return function(){u.unsubscribe(),a._unobserveElement(o)}})}},{key:"_observeElement",value:function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var a=new Ie,o=this._mutationObserverFactory.create(function(s){return a.next(s)});o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:a,count:1})}return this._observedElements.get(n).stream}},{key:"_unobserveElement",value:function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}},{key:"_cleanupObserver",value:function(n){if(this._observedElements.has(n)){var a=this._observedElements.get(n),o=a.observer,s=a.stream;o&&o.disconnect(),s.complete(),this._observedElements.delete(n)}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(t1))},e.\u0275prov=We({factory:function(){return new e(_e(t1))},token:e,providedIn:"root"}),e}(),Mv=function(){var e=function(){function i(t,n,a){c(this,i),this._contentObserver=t,this._elementRef=n,this._ngZone=a,this.event=new mt,this._disabled=!1,this._currentSubscription=null}return f(i,[{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=kn(n),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(n){this._debounce=yi(n),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var n=this;this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){n._currentSubscription=(n.debounce?a.pipe(e1(n.debounce)):a).subscribe(n.event)})}},{key:"_unsubscribe",value:function(){var n;null===(n=this._currentSubscription)||void 0===n||n.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(iP),N(pt),N(vt))},e.\u0275dir=Ve({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),wv=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[t1]}),e}();function Sv(e,i){return(e.getAttribute(i)||"").match(/\S+/g)||[]}var oP="cdk-describedby-message-container",sP="cdk-describedby-message",Tv="cdk-describedby-host",RW=0,Wo=new Map,oi=null,lP=function(){var e=function(){function i(t){c(this,i),this._document=t}return f(i,[{key:"describe",value:function(n,a,o){if(this._canBeDescribed(n,a)){var s=n1(a,o);"string"!=typeof a?(uP(a),Wo.set(s,{messageElement:a,referenceCount:0})):Wo.has(s)||this._createMessageElement(a,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}}},{key:"removeDescription",value:function(n,a,o){if(a&&this._isElementNode(n)){var s=n1(a,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),"string"==typeof a){var l=Wo.get(s);l&&0===l.referenceCount&&this._deleteMessageElement(s)}oi&&0===oi.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var n=this._document.querySelectorAll("[".concat(Tv,"]")),a=0;a-1&&o!==t._activeItemIndex&&(t._activeItemIndex=o)}})}return f(e,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ar(function(a){return t._pressedLetters.push(a)}),e1(n),Ir(function(){return t._pressedLetters.length>0}),$e(function(){return t._pressedLetters.join("")})).subscribe(function(a){for(var o=t._getItemsArray(),s=1;s0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var n=this._activeItem;this.updateActiveItem(t),this._activeItem!==n&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var n=this,a=t.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(function(l){return!t[l]||n._allowedModifierKeys.indexOf(l)>-1});switch(a){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Ms(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(a>=65&&a<=90||a>=48&&a<=57)&&this._letterKeyStream.next(String.fromCharCode(a))))}this._pressedLetters=[],t.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var n=this._getItemsArray(),a="number"==typeof t?t:n.indexOf(t),o=n[a];this._activeItem=null==o?null:o,this._activeItemIndex=a}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var n=this._getItemsArray(),a=1;a<=n.length;a++){var o=(this._activeItemIndex+t*a+n.length)%n.length;if(!this._skipPredicateFn(n[o]))return void this.setActiveItem(o)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,n){var a=this._getItemsArray();if(a[t]){for(;this._skipPredicateFn(a[t]);)if(!a[t+=n])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Sc?this._items.toArray():this._items}}]),e}(),FW=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"setActiveItem",value:function(a){this.activeItem&&this.activeItem.setInactiveStyles(),E(x(t.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.setActiveStyles()}}]),t}(cP),dP=function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments))._origin="program",n}return f(t,[{key:"setFocusOrigin",value:function(a){return this._origin=a,this}},{key:"setActiveItem",value:function(a){E(x(t.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.focus(this._origin)}}]),t}(cP),fP=function(){var e=function(){function i(t){c(this,i),this._platform=t}return f(i,[{key:"isDisabled",value:function(n){return n.hasAttribute("disabled")}},{key:"isVisible",value:function(n){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}},{key:"isTabbable",value:function(n){if(!this._platform.isBrowser)return!1;var a=function(e){try{return e.frameElement}catch(i){return null}}(function(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(n));if(a&&(-1===pP(a)||!this.isVisible(a)))return!1;var o=n.nodeName.toLowerCase(),s=pP(n);return n.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function(e){var i=e.nodeName.toLowerCase(),t="input"===i&&e.type;return"text"===t||"password"===t||"select"===i||"textarea"===i}(n))&&("audio"===o?!!n.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}},{key:"isFocusable",value:function(n,a){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var i=e.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||hP(e))}(n)&&!this.isDisabled(n)&&((null==a?void 0:a.ignoreVisibility)||this.isVisible(n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt))},e.\u0275prov=We({factory:function(){return new e(_e(Qt))},token:e,providedIn:"root"}),e}();function hP(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var i=e.getAttribute("tabindex");return"-32768"!=i&&!(!i||isNaN(parseInt(i,10)))}function pP(e){if(!hP(e))return null;var i=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var qW=function(){function e(i,t,n,a){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c(this,e),this._element=i,this._checker=t,this._ngZone=n,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return f(e,[{key:"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))}},{key:"destroy",value:function(){var t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value: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)}},{key:"focusInitialElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var n=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], ")+"[cdkFocusRegion".concat(t,"], ")+"[cdk-focus-".concat(t,"]")),a=0;a=0;a--){var o=n[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[a]):null;if(o)return o}return null}},{key:"_createAnchor",value: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}},{key:"_toggleAnchorTabIndex",value:function(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Qn(1)).subscribe(t)}}]),e}(),mP=function(){var e=function(){function i(t,n,a){c(this,i),this._checker=t,this._ngZone=n,this._document=a}return f(i,[{key:"create",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new qW(n,this._checker,this._ngZone,this._document,a)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(fP),_e(vt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(fP),_e(vt),_e(dt))},token:e,providedIn:"root"}),e}();function r1(e){return 0===e.offsetX&&0===e.offsetY}function i1(e){var i=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}"undefined"!=typeof Element&∈var vP=new Ze("cdk-input-modality-detector-options"),QW={ignoreKeys:[18,17,224,91,16]},Jc=$l({passive:!0,capture:!0}),_P=function(){var e=function(){function i(t,n,a,o){var s=this;c(this,i),this._platform=t,this._mostRecentTarget=null,this._modality=new Br(null),this._lastTouchMs=0,this._onKeydown=function(l){var u,d;(null===(d=null===(u=s._options)||void 0===u?void 0:u.ignoreKeys)||void 0===d?void 0:d.some(function(y){return y===l.keyCode}))||(s._modality.next("keyboard"),s._mostRecentTarget=Gc(l))},this._onMousedown=function(l){Date.now()-s._lastTouchMs<650||(s._modality.next(r1(l)?"keyboard":"mouse"),s._mostRecentTarget=Gc(l))},this._onTouchstart=function(l){i1(l)?s._modality.next("keyboard"):(s._lastTouchMs=Date.now(),s._modality.next("touch"),s._mostRecentTarget=Gc(l))},this._options=Object.assign(Object.assign({},QW),o),this.modalityDetected=this._modality.pipe(rP(1)),this.modalityChanged=this.modalityDetected.pipe(dv()),t.isBrowser&&n.runOutsideAngular(function(){a.addEventListener("keydown",s._onKeydown,Jc),a.addEventListener("mousedown",s._onMousedown,Jc),a.addEventListener("touchstart",s._onTouchstart,Jc)})}return f(i,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){!this._platform.isBrowser||(document.removeEventListener("keydown",this._onKeydown,Jc),document.removeEventListener("mousedown",this._onMousedown,Jc),document.removeEventListener("touchstart",this._onTouchstart,Jc))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(vt),_e(dt),_e(vP,8))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(vt),_e(dt),_e(vP,8))},token:e,providedIn:"root"}),e}(),yP=new Ze("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),bP=new Ze("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Dv=function(){var e=function(){function i(t,n,a,o){c(this,i),this._ngZone=n,this._defaultOptions=o,this._document=a,this._liveElement=t||this._createLiveElement()}return f(i,[{key:"announce",value:function(n){for(var s,l,a=this,o=this._defaultOptions,u=arguments.length,d=new Array(u>1?u-1:0),y=1;y1&&void 0!==arguments[1]&&arguments[1],o=bs(n);if(!this._platform.isBrowser||1!==o.nodeType)return Qe(null);var s=FL(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return a&&(l.checkChildren=!0),l.subject;var u={checkChildren:a,subject:new Ie,rootNode:s};return this._elementInfo.set(o,u),this._registerGlobalListeners(u),u.subject}},{key:"stopMonitoring",value:function(n){var a=bs(n),o=this._elementInfo.get(a);o&&(o.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(o))}},{key:"focusVia",value:function(n,a,o){var s=this,l=bs(n);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(function(d){var y=te(d,2);return s._originChanged(y[0],a,y[1])}):(this._setOrigin(a),"function"==typeof l.focus&&l.focus(o))}},{key:"ngOnDestroy",value:function(){var n=this;this._elementInfo.forEach(function(a,o){return n.stopMonitoring(o)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(n,a,o){o?n.classList.add(a):n.classList.remove(a)}},{key:"_getFocusOrigin",value:function(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(n){return 1===this._detectionMode||!!(null==n?void 0:n.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(n,a){this._toggleClass(n,"cdk-focused",!!a),this._toggleClass(n,"cdk-touch-focused","touch"===a),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===a),this._toggleClass(n,"cdk-mouse-focused","mouse"===a),this._toggleClass(n,"cdk-program-focused","program"===a)}},{key:"_setOrigin",value:function(n){var a=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){a._origin=n,a._originFromTouchInteraction="touch"===n&&o,0===a._detectionMode&&(clearTimeout(a._originTimeoutId),a._originTimeoutId=setTimeout(function(){return a._origin=null},a._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(n,a){var o=this._elementInfo.get(a),s=Gc(n);!o||!o.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),o)}},{key:"_onBlur",value:function(n,a){var o=this._elementInfo.get(a);!o||o.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(o.subject,null))}},{key:"_emitOrigin",value:function(n,a){this._ngZone.run(function(){return n.next(a)})}},{key:"_registerGlobalListeners",value:function(n){var a=this;if(this._platform.isBrowser){var o=n.rootNode,s=this._rootNodeFocusListenerCount.get(o)||0;s||this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",a._rootNodeFocusAndBlurListener,Ev),o.addEventListener("blur",a._rootNodeFocusAndBlurListener,Ev)}),this._rootNodeFocusListenerCount.set(o,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){a._getWindow().addEventListener("focus",a._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rn(this._stopInputModalityDetector)).subscribe(function(l){a._setOrigin(l,!0)}))}}},{key:"_removeGlobalListeners",value:function(n){var a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var o=this._rootNodeFocusListenerCount.get(a);o>1?this._rootNodeFocusListenerCount.set(a,o-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ev),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ev),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(n,a,o){this._setClasses(n,a),this._emitOrigin(o.subject,a),this._lastFocusOrigin=a}},{key:"_getClosestElementsInfo",value:function(n){var a=[];return this._elementInfo.forEach(function(o,s){(s===n||o.checkChildren&&s.contains(n))&&a.push([s,o])}),a}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(Qt),_e(_P),_e(dt,8),_e(kP,8))},e.\u0275prov=We({factory:function(){return new e(_e(vt),_e(Qt),_e(_P),_e(dt,8),_e(kP,8))},token:e,providedIn:"root"}),e}(),XW=function(){var e=function(){function i(t,n){c(this,i),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new mt}return f(i,[{key:"ngAfterViewInit",value:function(){var n=this,a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,1===a.nodeType&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(o){return n.cdkFocusChange.emit(o)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(ho))},e.\u0275dir=Ve({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),CP="cdk-high-contrast-black-on-white",MP="cdk-high-contrast-white-on-black",a1="cdk-high-contrast-active",wP=function(){var e=function(){function i(t,n){c(this,i),this._platform=t,this._document=n}return f(i,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);var a=this._document.defaultView||window,o=a&&a.getComputedStyle?a.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(n),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var n=this._document.body.classList;n.remove(a1),n.remove(CP),n.remove(MP),this._hasCheckedHighContrastMode=!0;var a=this.getHighContrastMode();1===a?(n.add(a1),n.add(CP)):2===a&&(n.add(a1),n.add(MP))}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(dt))},token:e,providedIn:"root"}),e}(),SP=function(){var e=function i(t){c(this,i),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(_e(wP))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Qf,wv]]}),e}(),TP=new js("12.2.5");function nG(e,i){if(1&e&&Te(0,"mat-pseudo-checkbox",4),2&e){var t=J();D("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function rG(e,i){if(1&e&&(p(0,"span",5),F(1),m()),2&e){var t=J();v(1),Ce("(",t.group.label,")")}}var iG=["*"],DP=new js("12.2.5"),oG=new Ze("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),mn=function(){var e=function(){function i(t,n,a){c(this,i),this._hasDoneGlobalChecks=!1,this._document=a,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return f(i,[{key:"_getWindow",value:function(){var n=this._document.defaultView||window;return"object"==typeof n&&n?n:null}},{key:"_checkIsEnabled",value:function(n){return!(!rb()||this._isTestEnv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}},{key:"_isTestEnv",value:function(){var n=this._getWindow();return n&&(n.__karma__||n.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var a=getComputedStyle(n);a&&"none"!==a.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&DP.full!==TP.full&&console.warn("The Angular Material version ("+DP.full+") does not match the Angular CDK version ("+TP.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(wP),_e(oG,8),_e(dt))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[eh],eh]}),e}();function Xs(e){return function(i){h(n,i);var t=C(n);function n(){var a;c(this,n);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:0;return function(t){h(a,t);var n=C(a);function a(){var o;c(this,a);for(var s=arguments.length,l=new Array(s),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},PP),o.animation);o.centered&&(t=s.left+s.width/2,n=s.top+s.height/2);var u=o.radius||MG(t,n,s),d=t-s.left,y=n-s.top,T=l.enterDuration,I=document.createElement("div");I.classList.add("mat-ripple-element"),I.style.left="".concat(d-u,"px"),I.style.top="".concat(y-u,"px"),I.style.height="".concat(2*u,"px"),I.style.width="".concat(2*u,"px"),null!=o.color&&(I.style.backgroundColor=o.color),I.style.transitionDuration="".concat(T,"ms"),this._containerElement.appendChild(I),CG(I),I.style.transform="scale(1)";var V=new bG(this,I,o);return V.state=0,this._activeRipples.add(V),o.persistent||(this._mostRecentTransientRipple=V),this._runTimeoutOutsideZone(function(){var q=V===a._mostRecentTransientRipple;V.state=1,!o.persistent&&(!q||!a._isPointerDown)&&V.fadeOut()},T),V}},{key:"fadeOutRipple",value:function(t){var n=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),n){var a=t.element,o=Object.assign(Object.assign({},PP),t.config.animation);a.style.transitionDuration="".concat(o.exitDuration,"ms"),a.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,a.parentNode.removeChild(a)},o.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var n=bs(t);!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,this._registerEvents(OP))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(xP),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var n=r1(t),a=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,n)})}},{key:"_registerEvents",value:function(t){var n=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(a){n._triggerElement.addEventListener(a,n,s1)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(OP.forEach(function(n){t._triggerElement.removeEventListener(n,t,s1)}),this._pointerUpEventsRegistered&&xP.forEach(function(n){t._triggerElement.removeEventListener(n,t,s1)}))}}]),e}();function CG(e){window.getComputedStyle(e).getPropertyValue("opacity")}function MG(e,i,t){var n=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),a=Math.max(Math.abs(i-t.top),Math.abs(i-t.bottom));return Math.sqrt(n*n+a*a)}var Ov=new Ze("mat-ripple-global-options"),Go=function(){var e=function(){function i(t,n,a,o,s){c(this,i),this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new IP(this,n,t,a)}return f(i,[{key:"disabled",get:function(){return this._disabled},set:function(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,a,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Qt),N(Ov,8),N(Mr,8))},e.\u0275dir=Ve({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,n){2&t&&Bt("mat-ripple-unbounded",n.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),lh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[mn,Qf],mn]}),e}(),wG=function(){var e=function i(t){c(this,i),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(N(Mr,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,n){2&t&&Bt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,n){},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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.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}\n'],encapsulation:2,changeDetection:0}),e}(),SG=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[mn]]}),e}(),l1=new Ze("MAT_OPTION_PARENT_COMPONENT"),TG=Xs(function(){return function e(){c(this,e)}}()),DG=0,AP=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o,s;return c(this,n),(o=t.call(this))._labelId="mat-optgroup-label-".concat(DG++),o._inert=null!==(s=null==a?void 0:a.inertGroups)&&void 0!==s&&s,o}return n}(TG);return e.\u0275fac=function(t){return new(t||e)(N(l1,8))},e.\u0275dir=Ve({type:e,inputs:{label:"label"},features:[ht]}),e}(),u1=new Ze("MatOptgroup"),EG=0,LG=function e(i){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(this,e),this.source=i,this.isUserInput=t},PG=function(){var e=function(){function i(t,n,a,o){c(this,i),this._element=t,this._changeDetectorRef=n,this._parent=a,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(EG++),this.onSelectionChange=new mt,this._stateChanges=new Ie}return f(i,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=kn(n)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(n,a){var o=this._getHostElement();"function"==typeof o.focus&&o.focus(a)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(n){(13===n.keyCode||32===n.keyCode)&&!Ms(n)&&(this._selectViaInteraction(),n.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new LG(this,n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(void 0),N(AP))},e.\u0275dir=Ve({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),Qc=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){return c(this,n),t.call(this,a,o,s,l)}return n}(PG);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(l1,8),N(u1,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,n){1&t&&we("click",function(){return n._selectViaInteraction()})("keydown",function(o){return n._handleKeydown(o)}),2&t&&(Bs("id",n.id),Dt("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),Bt("mat-selected",n.selected)("mat-option-multiple",n.multiple)("mat-active",n.active)("mat-option-disabled",n.disabled))},exportAs:["matOption"],features:[ht],ngContentSelectors:iG,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,n){1&t&&(ri(),K(0,nG,1,2,"mat-pseudo-checkbox",0),p(1,"span",1),jn(2),m(),K(3,rG,2,1,"span",2),Te(4,"div",3)),2&t&&(D("ngIf",n.multiple),v(3),D("ngIf",n.group&&n.group._inert),v(1),D("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},directives:[Ot,Go,wG],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:none;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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function RP(e,i,t){if(t.length){for(var n=i.toArray(),a=t.toArray(),o=0,s=0;s*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .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:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",IG=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],AG=Xl(Xs($c(function(){return function e(i){c(this,e),this._elementRef=i}}()))),bi=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;c(this,n),(l=t.call(this,a))._focusMonitor=o,l._animationMode=s,l.isRoundButton=l._hasHostAttributes("mat-fab","mat-mini-fab"),l.isIconButton=l._hasHostAttributes("mat-icon-button");var d,u=W(IG);try{for(u.s();!(d=u.n()).done;){var y=d.value;l._hasHostAttributes(y)&&l._getHostElement().classList.add(y)}}catch(T){u.e(T)}finally{u.f()}return a.nativeElement.classList.add("mat-button-base"),l.isRoundButton&&(l.color="accent"),l}return f(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;u visible",Yi("150ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void, * => hidden",Yi("75ms cubic-bezier(0.4, 0.0, 1, 1)",bn({opacity:0})))])},UG=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._ngZone=a,d._elementRef=o,d._changeDetectorRef=s,d._platform=l,d.snackBarConfig=u,d._announceDelay=150,d._destroyed=!1,d._onAnnounce=new Ie,d._onExit=new Ie,d._onEnter=new Ie,d._animationState="void",d.attachDomPortal=function(y){return d._assertNotAttached(),d._applySnackBarClasses(),d._portalOutlet.attachDomPortal(y)},d._live="assertive"!==u.politeness||u.announcementMessage?"off"===u.politeness?"off":"polite":"assertive",d._platform.FIREFOX&&("polite"===d._live&&(d._role="status"),"assertive"===d._live&&(d._role="alert")),d}return f(n,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var u=this._onEnter;this._ngZone.run(function(){u.next(),u.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe(Qn(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var u=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(u=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null==u||u.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(vt),N(pt),N(Nn),N(Qt),N(xv))},e.\u0275cmp=Ke({type:e,selectors:[["snack-bar-container"]],viewQuery:function(t,n){var a;1&t&&_t(Cs,7),2&t&&it(a=at())&&(n._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,n){1&t&&Rp("@state.done",function(o){return n.onAnimationEnd(o)}),2&t&&Np("@state",n._animationState)},features:[ht],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(p(0,"div",0),K(1,HG,0,0,"ng-template",1),m(),Te(2,"div")),2&t&&(v(2),Dt("aria-live",n._live)("role",n._role))},directives:[Cs],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}.cdk-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%}\n"],encapsulation:2,data:{animation:[jG.snackBarState]}}),e}(),WP=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[oh,gv,Bo,VP,mn],mn]}),e}(),f1=new Ze("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new xv}}),WG=function(){var e=function(){function i(t,n,a,o,s,l){c(this,i),this._overlay=t,this._live=n,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=BG,this.snackBarContainerComponent=UG,this.handsetCssClass="mat-snack-bar-handset"}return f(i,[{key:"_openedSnackBarRef",get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}},{key:"openFromComponent",value:function(n,a){return this._attach(n,a)}},{key:"openFromTemplate",value:function(n,a){return this._attach(n,a)}},{key:"open",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),o);return s.data={message:n,action:a},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(n,a){var s=sn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:xv,useValue:a}]}),l=new Kc(this.snackBarContainerComponent,a.viewContainerRef,s),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}},{key:"_attach",value:function(n,a){var o=this,s=Object.assign(Object.assign(Object.assign({},new xv),this._defaultConfig),a),l=this._createOverlay(s),u=this._attachSnackBarContainer(l,s),d=new Iv(u,l);if(n instanceof Vr){var y=new Qs(n,null,{$implicit:s.data,snackBarRef:d});d.instance=u.attachTemplatePortal(y)}else{var T=this._createInjector(s,d),I=new Kc(n,void 0,T),V=u.attachComponentPortal(I);d.instance=V.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(rn(l.detachments())).subscribe(function(q){var X=l.overlayElement.classList;q.matches?X.add(o.handsetCssClass):X.remove(o.handsetCssClass)}),s.announcementMessage&&u._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(d,s),this._openedSnackBarRef=d,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(n,a){var o=this;n.afterDismissed().subscribe(function(){o._openedSnackBarRef==n&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),a.duration&&a.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(n){var a=new ih;a.direction=n.direction;var o=this._overlay.position().global(),s="rtl"===n.direction,l="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!s||"end"===n.horizontalPosition&&s,u=!l&&"center"!==n.horizontalPosition;return l?o.left("0"):u?o.right("0"):o.centerHorizontally(),"top"===n.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(n,a){return sn.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:Iv,useValue:a},{provide:d1,useValue:n.data}]})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(na),_e(Dv),_e(sn),_e(c1),_e(e,12),_e(f1))},e.\u0275prov=We({factory:function(){return new e(_e(na),_e(Dv),_e(tf),_e(c1),_e(e,12),_e(f1))},token:e,providedIn:WP}),e}();function h1(){for(var e=arguments.length,i=new Array(e),t=0;t1&&void 0!==arguments[1]?arguments[1]:n;return this._fontCssClassesByAlias.set(n,a),this}},{key:"classNameForFontAlias",value:function(n){return this._fontCssClassesByAlias.get(n)||n}},{key:"setDefaultFontSetClass",value:function(n){return this._defaultFontSetClass=n,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(n){var a=this,o=this._sanitizer.sanitize(ni.RESOURCE_URL,n);if(!o)throw qP(n);var s=this._cachedIconsByUrl.get(o);return s?Qe(Fv(s)):this._loadSvgIconFromConfig(new tu(n,null)).pipe(Ar(function(l){return a._cachedIconsByUrl.set(o,l)}),$e(function(l){return Fv(l)}))}},{key:"getNamedSvgIcon",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=JP(a,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,n))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):Na(GP(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(n){return n.svgText?Qe(Fv(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe($e(function(a){return Fv(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(n,a){var o=this,s=this._extractIconWithNameFromAnySet(n,a);return s?Qe(s):h1(a.filter(function(u){return!u.svgText}).map(function(u){return o._loadSvgIconSetFromConfig(u).pipe(Xi(function(d){var y=o._sanitizer.sanitize(ni.RESOURCE_URL,u.url),T="Loading icon set URL: ".concat(y," failed: ").concat(d.message);return o._errorHandler.handleError(new Error(T)),Qe(null)}))})).pipe($e(function(){var u=o._extractIconWithNameFromAnySet(n,a);if(!u)throw GP(n);return u}))}},{key:"_extractIconWithNameFromAnySet",value:function(n,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.indexOf(n)>-1){var l=this._svgElementFromConfig(s),u=this._extractSvgIconFromSet(l,n,s.options);if(u)return u}}return null}},{key:"_loadSvgIconFromConfig",value:function(n){var a=this;return this._fetchIcon(n).pipe(Ar(function(o){return n.svgText=o}),$e(function(){return a._svgElementFromConfig(n)}))}},{key:"_loadSvgIconSetFromConfig",value:function(n){return n.svgText?Qe(null):this._fetchIcon(n).pipe(Ar(function(a){return n.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(n,a,o){var s=n.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var u=this._svgElementFromString("");return u.appendChild(l),this._setSvgAttributes(u,o)}},{key:"_svgElementFromString",value:function(n){var a=this._document.createElement("DIV");a.innerHTML=n;var o=a.querySelector("svg");if(!o)throw Error(" tag not found");return o}},{key:"_toSvgElement",value:function(n){for(var a=this._svgElementFromString(""),o=n.attributes,s=0;s5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];c(this,i),this.store=t,this.currentLoader=n,this.compiler=a,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=u,this.pending=!1,this._onTranslationChange=new mt,this._onLangChange=new mt,this._onDefaultLangChange=new mt,this._langs=[],this._translations={},this._translationRequests={}}return f(i,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(n){this.isolate?this._currentLang=n:this.store.currentLang=n}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(n){this.isolate?this._langs=n:this.store.langs=n}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(n){this.isolate?this._translations=n:this.store.translations=n}},{key:"setDefaultLang",value:function(n){var a=this;if(n!==this.defaultLang){var o=this.retrieveTranslations(n);void 0!==o?(this.defaultLang||(this.defaultLang=n),o.pipe(Qn(1)).subscribe(function(s){a.changeDefaultLang(n)})):this.changeDefaultLang(n)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(n){var a=this;if(n===this.currentLang)return Qe(this.translations[n]);var o=this.retrieveTranslations(n);return void 0!==o?(this.currentLang||(this.currentLang=n),o.pipe(Qn(1)).subscribe(function(s){a.changeLang(n)}),o):(this.changeLang(n),Qe(this.translations[n]))}},{key:"retrieveTranslations",value:function(n){var a;return void 0===this.translations[n]&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),a=this._translationRequests[n]),a}},{key:"getTranslation",value:function(n){var a=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(n).pipe(yu()),this.loadingTranslations.pipe(Qn(1)).subscribe(function(o){a.translations[n]=a.compiler.compileTranslations(o,n),a.updateLangs(),a.pending=!1},function(o){a.pending=!1}),this.loadingTranslations}},{key:"setTranslation",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=this.compiler.compileTranslations(a,n),this.translations[n]=o&&this.translations[n]?eO(this.translations[n],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(n){var a=this;n.forEach(function(o){-1===a.langs.indexOf(o)&&a.langs.push(o)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(n,a,o){var s;if(a instanceof Array){var y,l={},u=!1,d=W(a);try{for(d.s();!(y=d.n()).done;){var T=y.value;l[T]=this.getParsedResult(n,T,o),"function"==typeof l[T].subscribe&&(u=!0)}}catch(pe){d.e(pe)}finally{d.f()}if(u){var I,q,V=W(a);try{for(V.s();!(q=V.n()).done;){var X=q.value,he="function"==typeof l[X].subscribe?l[X]:Qe(l[X]);I=void 0===I?he:wi(I,he)}}catch(pe){V.e(pe)}finally{V.f()}return I.pipe(function(e,i){return arguments.length>=2?function(n){return de(zm(e,i),Vf(1),Sk(i))(n)}:function(n){return de(zm(function(a,o,s){return e(a,o,s+1)}),Vf(1))(n)}}(iq,[]),$e(function(pe){var Re={};return pe.forEach(function(Ne,Xe){Re[a[Xe]]=Ne}),Re}))}return l}if(n&&(s=this.parser.interpolate(this.parser.getValue(n,a),o)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),o)),void 0===s){var Se={key:a,translateService:this};void 0!==o&&(Se.interpolateParams=o),s=this.missingTranslationHandler.handle(Se)}return void 0!==s?s:a}},{key:"get",value:function(n,a){var o=this;if(!po(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return me.create(function(l){var u=function(T){l.next(T),l.complete()},d=function(T){l.error(T)};o.loadingTranslations.subscribe(function(y){"function"==typeof(y=o.getParsedResult(o.compiler.compileTranslations(y,o.currentLang),n,a)).subscribe?y.subscribe(u,d):u(y)},d)});var s=this.getParsedResult(this.translations[this.currentLang],n,a);return"function"==typeof s.subscribe?s:Qe(s)}},{key:"stream",value:function(n,a){var o=this;if(!po(n)||!n.length)throw new Error('Parameter "key" required');return Js(this.get(n,a),this.onLangChange.pipe(Zi(function(s){var l=o.getParsedResult(s.translations,n,a);return"function"==typeof l.subscribe?l:Qe(l)})))}},{key:"instant",value:function(n,a){if(!po(n)||!n.length)throw new Error('Parameter "key" required');var o=this.getParsedResult(this.translations[this.currentLang],n,a);if(void 0!==o.subscribe){if(n instanceof Array){var s={};return n.forEach(function(l,u){s[n[u]]=n[u]}),s}return n}return o}},{key:"set",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[o][n]=this.compiler.compile(a,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}},{key:"changeLang",value:function(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang||this.changeDefaultLang(n)}},{key:"changeDefaultLang",value:function(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}},{key:"reloadLang",value:function(n){return this.resetLang(n),this.getTranslation(n)}},{key:"resetLang",value:function(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var n=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(n=n.split("-")[0]),-1!==n.indexOf("_")&&(n=n.split("_")[0]),n}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var n=window.navigator.languages?window.navigator.languages[0]:null;return n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(nO),_e(uh),_e(Nv),_e(Yv),_e(p1),_e(g1),_e(v1))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),wt=function(){var e=function(){function i(t,n){c(this,i),this.translate=t,this._ref=n,this.value=""}return f(i,[{key:"updateValue",value:function(n,a,o){var s=this,l=function(y){s.value=void 0!==y?y:n,s.lastKey=n,s._ref.markForCheck()};if(o){var u=this.translate.getParsedResult(o,n,a);"function"==typeof u.subscribe?u.subscribe(l):l(u)}this.translate.get(n,a).subscribe(l)}},{key:"transform",value:function(n){var u,a=this;if(!n||0===n.length)return n;for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.loader||{provide:uh,useClass:QP},n.compiler||{provide:Nv,useClass:XP},n.parser||{provide:Yv,useClass:tO},n.missingTranslationHandler||{provide:p1,useClass:ZP},nO,{provide:v1,useValue:n.isolate},{provide:g1,useValue:n.useDefaultLang},si]}}},{key:"forChild",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.loader||{provide:uh,useClass:QP},n.compiler||{provide:Nv,useClass:XP},n.parser||{provide:Yv,useClass:tO},n.missingTranslationHandler||{provide:p1,useClass:ZP},{provide:v1,useValue:n.isolate},{provide:g1,useValue:n.useDefaultLang},si]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}();function oq(e,i){if(1&e&&(p(0,"div",5),p(1,"mat-icon",6),F(2),m(),m()),2&e){var t=J();v(1),D("inline",!0),v(1),ye(t.config.icon)}}function sq(e,i){if(1&e&&(p(0,"div",7),F(1),H(2,"translate"),H(3,"translate"),m()),2&e){var t=J();v(1),Ii(" ",U(2,2,"common.error")," ",Ht(3,4,t.config.smallText,t.config.smallTextTranslationParams)," ")}}var _1=function(e){return e.Error="error",e.Done="done",e.Warning="warning",e}({}),y1=function(e){return e.Red="red-background",e.Green="green-background",e.Yellow="yellow-background",e}({}),lq=function(){function e(i,t){this.snackbarRef=t,this.config=i}return e.prototype.close=function(){this.snackbarRef.dismiss()},e.\u0275fac=function(t){return new(t||e)(N(d1),N(Iv))},e.\u0275cmp=Ke({type:e,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(t,n){1&t&&(p(0,"div"),K(1,oq,3,2,"div",0),p(2,"div",1),F(3),H(4,"translate"),K(5,sq,4,7,"div",2),m(),Te(6,"div",3),p(7,"mat-icon",4),we("click",function(){return n.close()}),F(8,"close"),m(),m()),2&t&&(pa("main-container "+n.config.color),v(1),D("ngIf",n.config.icon),v(2),Ce(" ",Ht(4,5,n.config.text,n.config.textTranslationParams)," "),v(2),D("ngIf",n.config.smallText))},directives:[Ot,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.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:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:rgba(0,0,0,.302)}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}']}),e}(),Hv=function(e){return e.NoConnection="NoConnection",e.Unknown="Unknown",e}({}),uq=function(){return function(){}}(),iO="common.operation-error";function tn(e){if(e&&e.type&&!e.srcElement)return e;var i=new uq;if(i.originalError=e,!e||"string"==typeof e)return i.originalServerErrorMsg=e||"",i.translatableErrorMsg=e||iO,i.type=Hv.Unknown,i;i.originalServerErrorMsg=function(e){if(e){if("string"==typeof e._body)return e._body;if(e.originalServerErrorMsg&&"string"==typeof e.originalServerErrorMsg)return e.originalServerErrorMsg;if(e.error&&"string"==typeof e.error)return e.error;if(e.error&&e.error.error&&e.error.error.message)return e.error.error.message;if(e.error&&e.error.error&&"string"==typeof e.error.error)return e.error.error;if(e.message)return e.message;if(e._body&&e._body.error)return e._body.error;try{return JSON.parse(e._body).error}catch(t){}}return null}(e);return null!=e.status&&(0===e.status||504===e.status)&&(i.type=Hv.NoConnection,i.translatableErrorMsg="common.no-connection-error"),i.type||(i.type=Hv.Unknown,i.translatableErrorMsg=i.originalServerErrorMsg?function(e){if(!e||0===e.length)return e;if(-1!==e.indexOf('"error":'))try{e=JSON.parse(e).error}catch(n){}if(e.startsWith("400")||e.startsWith("403")){var i=e.split(" - ",2);e=2===i.length?i[1]:e}var t=(e=e.trim()).substr(0,1);return t.toUpperCase()!==t&&(e=t.toUpperCase()+e.substr(1,e.length-1)),!e.endsWith(".")&&!e.endsWith(",")&&!e.endsWith(":")&&!e.endsWith(";")&&!e.endsWith("?")&&!e.endsWith("!")&&(e+="."),e}(i.originalServerErrorMsg):iO),i}var xn=function(){function e(i){this.snackBar=i,this.lastWasTemporaryError=!1}return e.prototype.showError=function(i,t,n,a,o){void 0===t&&(t=null),void 0===n&&(n=!1),void 0===a&&(a=null),void 0===o&&(o=null),i=tn(i),a=a?tn(a):null,this.lastWasTemporaryError=n,this.show(i.translatableErrorMsg,t,a?a.translatableErrorMsg:null,o,_1.Error,y1.Red,15e3)},e.prototype.showWarning=function(i,t){void 0===t&&(t=null),this.lastWasTemporaryError=!1,this.show(i,t,null,null,_1.Warning,y1.Yellow,15e3)},e.prototype.showDone=function(i,t){void 0===t&&(t=null),this.lastWasTemporaryError=!1,this.show(i,t,null,null,_1.Done,y1.Green,5e3)},e.prototype.closeCurrent=function(){this.snackBar.dismiss()},e.prototype.closeCurrentIfTemporaryError=function(){this.lastWasTemporaryError&&this.snackBar.dismiss()},e.prototype.show=function(i,t,n,a,o,s,l){this.snackBar.openFromComponent(lq,{duration:l,panelClass:"snackbar-container",data:{text:i,textTranslationParams:t,smallText:n,smallTextTranslationParams:a,icon:o,color:s}})},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(WG))},providedIn:"root"}),e}();function fq(e,i){}var Zn=function e(){c(this,e),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},hq={dialogContainer:gs("dialogContainer",[Hi("void, exit",bn({opacity:0,transform:"scale(0.7)"})),Hi("enter",bn({transform:"none"})),gi("* => enter",Yi("150ms cubic-bezier(0, 0, 0.2, 1)",bn({transform:"none",opacity:1}))),gi("* => void, * => exit",Yi("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",bn({opacity:0})))])},pq=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d){var y;return c(this,n),(y=t.call(this))._elementRef=a,y._focusTrapFactory=o,y._changeDetectorRef=s,y._config=u,y._focusMonitor=d,y._animationStateChanged=new mt,y._elementFocusedBeforeDialogWasOpened=null,y._closeInteractionType=null,y.attachDomPortal=function(T){return y._portalOutlet.hasAttached(),y._portalOutlet.attachDomPortal(T)},y._ariaLabelledBy=u.ariaLabelledBy||null,y._document=l,y}return f(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=mv(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=mv())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=mv();return o===s||o.contains(s)}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(mP),N(Nn),N(dt,8),N(Zn),N(ho))},e.\u0275dir=Ve({type:e,viewQuery:function(t,n){var a;1&t&&_t(Cs,7),2&t&&it(a=at())&&(n._portalOutlet=a.first)},features:[ht]}),e}(),mq=function(){var e=function(i){h(n,i);var t=C(n);function n(){var a;return c(this,n),(a=t.apply(this,arguments))._state="enter",a}return f(n,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(pq);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275cmp=Ke({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,n){1&t&&Rp("@dialogContainer.start",function(o){return n._onAnimationStart(o)})("@dialogContainer.done",function(o){return n._onAnimationDone(o)}),2&t&&(Bs("id",n._id),Dt("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Np("@dialogContainer",n._state))},features:[ht],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&K(0,fq,0,0,"ng-template",0)},directives:[Cs],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}.cdk-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;box-sizing:content-box;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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[hq.dialogContainer]}}),e}(),vq=0,wr=function(){function e(i,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(vq++);c(this,e),this._overlayRef=i,this._containerInstance=t,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie,this._afterClosed=new Ie,this._beforeClosed=new Ie,this._state=0,t._id=a,t._animationStateChanged.pipe(Ir(function(o){return"opened"===o.state}),Qn(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),t._animationStateChanged.pipe(Ir(function(o){return"closed"===o.state}),Qn(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),i.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),i.keydownEvents().pipe(Ir(function(o){return 27===o.keyCode&&!n.disableClose&&!Ms(o)})).subscribe(function(o){o.preventDefault(),b1(n,"keyboard")}),i.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():b1(n,"mouse")})}return f(e,[{key:"close",value:function(t){var n=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Ir(function(a){return"closing"===a.state}),Qn(1)).subscribe(function(a){n._beforeClosed.next(t),n._beforeClosed.complete(),n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){return n._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var n=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:n}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function b1(e,i,t){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=i),e.close(t)}var Ur=new Ze("MatDialogData"),aO=new Ze("mat-dialog-default-options"),oO=new Ze("mat-dialog-scroll-strategy"),_q={provide:oO,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},yq=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y){var T=this;c(this,i),this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=u,this._dialogContainerType=d,this._dialogDataToken=y,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie,this._afterOpenedAtThisLevel=new Ie,this._ariaHiddenElements=new Map,this.afterAllClosed=Um(function(){return T.openDialogs.length?T._getAfterAllClosed():T._getAfterAllClosed().pipe(_i(void 0))}),this._scrollStrategy=l}return f(i,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(n,a){var o=this;(a=function(e,i){return Object.assign(Object.assign({},i),e)}(a,this._defaultOptions||new Zn)).id&&this.getDialogById(a.id);var s=this._createOverlay(a),l=this._attachDialogContainer(s,a),u=this._attachDialogContent(n,l,s,a);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(u),u.afterClosed().subscribe(function(){return o._removeOpenDialog(u)}),this.afterOpened.next(u),l._initializeWithAttachedContent(),u}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(n){return this.openDialogs.find(function(a){return a.id===n})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(n){var a=this._getOverlayConfig(n);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(n){var a=new ih({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}},{key:"_attachDialogContainer",value:function(n,a){var s=sn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:Zn,useValue:a}]}),l=new Kc(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return n.attach(l).instance}},{key:"_attachDialogContent",value:function(n,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(n instanceof Vr)a.attachTemplatePortal(new Qs(n,null,{$implicit:s.data,dialogRef:l}));else{var u=this._createInjector(s,l,a),d=a.attachComponentPortal(new Kc(n,s.viewContainerRef,u));l.componentInstance=d.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(n,a,o){var s=n&&n.viewContainerRef&&n.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:a}];return n.direction&&(!s||!s.get(jr,null,Kt.Optional))&&l.push({provide:jr,useValue:{value:n.direction,change:Qe()}}),sn.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(n){var a=this.openDialogs.indexOf(n);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var a=n.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==n&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(n){for(var a=n.length;a--;)n[a].close()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(sn),N(void 0),N(void 0),N(ah),N(void 0),N(Wu),N(Wu),N(Ze))},e.\u0275dir=Ve({type:e}),e}(),Gn=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){return c(this,n),t.call(this,a,o,l,d,y,u,wr,mq,Ur)}return n}(yq);return e.\u0275fac=function(t){return new(t||e)(_e(na),_e(sn),_e(Yl,8),_e(aO,8),_e(oO),_e(e,12),_e(ah))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),kq=0,Cq=function(){var e=function(){function i(t,n,a){c(this,i),this.dialogRef=t,this._elementRef=n,this._dialog=a,this.type="button"}return f(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=sO(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(n){var a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}},{key:"_onButtonClick",value:function(n){b1(this.dialogRef,0===n.screenX&&0===n.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(wr,8),N(pt),N(Gn))},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){1&t&&we("click",function(o){return n._onButtonClick(o)}),2&t&&Dt("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Jn]}),e}(),Mq=function(){var e=function(){function i(t,n,a){c(this,i),this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-dialog-title-".concat(kq++)}return f(i,[{key:"ngOnInit",value:function(){var n=this;this._dialogRef||(this._dialogRef=sO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=n._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=n.id)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(wr,8),N(pt),N(Gn))},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,n){2&t&&Bs("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),k1=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}();function sO(e,i){for(var t=e.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?i.find(function(n){return n.id===t.id}):null}var wq=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Gn,_q],imports:[[oh,gv,mn],mn]}),e}(),Gt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}},Sq=function(){return function(i){Object.assign(this,i)}}(),Vv=function(){function e(i){this.translate=i,this.currentLanguage=new Ya(1),this.languages=new Ya(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return e.prototype.loadLanguageSettings=function(){var i=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var t=[];Gt.languages.forEach(function(n){var a=new Sq(n);i.languagesInternal.push(a),t.push(a.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(t),this.translate.setDefaultLang(Gt.defaultLanguage),this.translate.onLangChange.subscribe(function(n){return i.onLanguageChanged(n)}),this.loadCurrentLanguage()}},e.prototype.changeLanguage=function(i){this.translate.use(i)},e.prototype.onLanguageChanged=function(i){this.currentLanguage.next(this.languagesInternal.find(function(t){return t.code===i.lang})),localStorage.setItem(this.storageKey,i.lang)},e.prototype.loadCurrentLanguage=function(){var i=this,t=localStorage.getItem(this.storageKey);t=t||Gt.defaultLanguage,setTimeout(function(){i.translate.use(t)},16)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(si))},providedIn:"root"}),e}();function Tq(e,i){1&e&&(p(0,"div",3),p(1,"div"),Te(2,"img",4),p(3,"div"),F(4),H(5,"translate"),m(),m(),m()),2&e&&(v(4),ye(U(5,1,"common.window-size-error")))}var Dq=function(e){return{background:e}},Eq=function(){function e(i,t,n,a,o,s){var l=this;this.inVpnClient=!1,o.afterOpened.subscribe(function(){return a.closeCurrent()}),n.events.subscribe(function(u){u instanceof Vc&&(a.closeCurrent(),o.closeAll(),window.scrollTo(0,0))}),o.afterAllClosed.subscribe(function(){return a.closeCurrentIfTemporaryError()}),s.loadLanguageSettings(),n.events.subscribe(function(){l.inVpnClient=n.url.includes("/vpn/")||n.url.includes("vpnlogin"),n.url.length>2&&(document.title=l.inVpnClient?"Skywire VPN":"Skywire Manager")})}return e.\u0275fac=function(t){return new(t||e)(N(ta),N(Yl),N(Zt),N(xn),N(Gn),N(Vv))},e.\u0275cmp=Ke({type:e,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(t,n){1&t&&(K(0,Tq,6,3,"div",0),p(1,"div",1),Te(2,"div",2),Te(3,"router-outlet"),m()),2&t&&(D("ngIf",n.inVpnClient),v(2),D("ngClass",et(2,Dq,n.inVpnClient)))},directives:[Ot,Cr,sv],pipes:[wt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.851);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),e}(),Lq={url:"",deserializer:function(i){return JSON.parse(i.data)},serializer:function(i){return JSON.stringify(i)}},Oq=function(e){h(t,e);var i=C(t);function t(n,a){var o;if(c(this,t),o=i.call(this),n instanceof me)o.destination=a,o.source=n;else{var s=o._config=Object.assign({},Lq);if(o._output=new Ie,"string"==typeof n)s.url=n;else for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new Ya}return o}return f(t,[{key:"lift",value:function(a){var o=new t(this._config,this.destination);return o.operator=a,o.source=this,o}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new Ya),this._output=new Ie}},{key:"multiplex",value:function(a,o,s){var l=this;return new me(function(u){try{l.next(a())}catch(y){u.error(y)}var d=l.subscribe(function(y){try{s(y)&&u.next(y)}catch(T){u.error(T)}},function(y){return u.error(y)},function(){return u.complete()});return function(){try{l.next(o())}catch(y){u.error(y)}d.unsubscribe()}})}},{key:"_connectSocket",value:function(){var a=this,o=this._config,s=o.WebSocketCtor,l=o.protocol,u=o.url,d=o.binaryType,y=this._output,T=null;try{T=l?new s(u,l):new s(u),this._socket=T,d&&(this._socket.binaryType=d)}catch(V){return void y.error(V)}var I=new He(function(){a._socket=null,T&&1===T.readyState&&T.close()});T.onopen=function(V){if(!a._socket)return T.close(),void a._resetState();var X=a._config.openObserver;X&&X.next(V);var he=a.destination;a.destination=St.create(function(Se){if(1===T.readyState)try{T.send((0,a._config.serializer)(Se))}catch(Re){a.destination.error(Re)}},function(Se){var pe=a._config.closingObserver;pe&&pe.next(void 0),Se&&Se.code?T.close(Se.code,Se.reason):y.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),a._resetState()},function(){var Se=a._config.closingObserver;Se&&Se.next(void 0),T.close(),a._resetState()}),he&&he instanceof Ya&&I.add(he.subscribe(a.destination))},T.onerror=function(V){a._resetState(),y.error(V)},T.onclose=function(V){a._resetState();var q=a._config.closeObserver;q&&q.next(V),V.wasClean?y.complete():y.error(V)},T.onmessage=function(V){try{y.next((0,a._config.deserializer)(V))}catch(X){y.error(X)}}}},{key:"_subscribe",value:function(a){var o=this,s=this.source;return s?s.subscribe(a):(this._socket||this._connectSocket(),this._output.subscribe(a),a.add(function(){var l=o._socket;0===o._output.observers.length&&(l&&1===l.readyState&&l.close(),o._resetState())}),a)}},{key:"unsubscribe",value:function(){var a=this._socket;a&&1===a.readyState&&a.close(),this._resetState(),E(x(t.prototype),"unsubscribe",this).call(this)}}]),t}(ct),Bv=function(){return(Bv=Object.assign||function(e){for(var i,t=1,n=arguments.length;t mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),e}(),zq=function(){function e(i,t){this.authService=i,this.router=t}return e.prototype.ngOnInit=function(){var i=this;this.verificationSubscription=this.authService.checkLogin().subscribe(function(t){i.router.navigate(t!==Xc.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},function(){i.router.navigate(["nodes"],{replaceUrl:!0})})},e.prototype.ngOnDestroy=function(){this.verificationSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-loading-indicator"),m())},directives:[ws],styles:[""]}),e}(),cO=function(){var e=function(){function i(t,n){c(this,i),this._renderer=t,this._elementRef=n,this.onChange=function(a){},this.onTouched=function(){}}return f(i,[{key:"setProperty",value:function(n,a){this._renderer.setProperty(this._elementRef.nativeElement,n,a)}},{key:"registerOnTouched",value:function(n){this.onTouched=n}},{key:"registerOnChange",value:function(n){this.onChange=n}},{key:"setDisabledState",value:function(n){this.setProperty("disabled",n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Ho),N(pt))},e.\u0275dir=Ve({type:e}),e}(),au=function(){var e=function(i){h(n,i);var t=C(n);function n(){return c(this,n),t.apply(this,arguments)}return n}(cO);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275dir=Ve({type:e,features:[ht]}),e}(),mo=new Ze("NgValueAccessor"),Gq={provide:mo,useExisting:fn(function(){return qr}),multi:!0},Kq=new Ze("CompositionEventMode"),qr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;return c(this,n),(l=t.call(this,a,o))._compositionMode=s,l._composing=!1,null==l._compositionMode&&(l._compositionMode=!function(){var e=Vo()?Vo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}()),l}return f(n,[{key:"writeValue",value:function(o){this.setProperty("value",null==o?"":o)}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),n}(cO);return e.\u0275fac=function(t){return new(t||e)(N(Ho),N(pt),N(Kq,8))},e.\u0275dir=Ve({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,n){1&t&&we("input",function(o){return n._handleInput(o.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(o){return n._compositionEnd(o.target.value)})},features:[Lt([Gq]),ht]}),e}();function el(e){return null==e||0===e.length}function fO(e){return null!=e&&"number"==typeof e.length}var li=new Ze("NgValidators"),tl=new Ze("NgAsyncValidators"),Jq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,En=function(){function e(){c(this,e)}return f(e,null,[{key:"min",value:function(t){return function(e){return function(i){if(el(i.value)||el(e))return null;var t=parseFloat(i.value);return!isNaN(t)&&te?{max:{max:e,actual:i.value}}:null}}(t)}},{key:"required",value:function(t){return function(e){return el(e.value)?{required:!0}:null}(t)}},{key:"requiredTrue",value:function(t){return function(e){return!0===e.value?null:{required:!0}}(t)}},{key:"email",value:function(t){return function(e){return el(e.value)||Jq.test(e.value)?null:{email:!0}}(t)}},{key:"minLength",value:function(t){return function(e){return function(i){return el(i.value)||!fO(i.value)?null:i.value.lengthe?{maxlength:{requiredLength:e,actualLength:i.value.length}}:null}}function nl(e){return null}function kO(e){return null!=e}function CO(e){var i=lf(e)?ot(e):e;return Ap(i),i}function MO(e){var i={};return e.forEach(function(t){i=null!=t?Object.assign(Object.assign({},i),t):i}),0===Object.keys(i).length?null:i}function wO(e,i){return i.map(function(t){return t(e)})}function SO(e){return e.map(function(i){return function(e){return!e.validate}(i)?i:function(t){return i.validate(t)}})}function TO(e){if(!e)return null;var i=e.filter(kO);return 0==i.length?null:function(t){return MO(wO(t,i))}}function S1(e){return null!=e?TO(SO(e)):null}function DO(e){if(!e)return null;var i=e.filter(kO);return 0==i.length?null:function(t){return h1(wO(t,i).map(CO)).pipe($e(MO))}}function T1(e){return null!=e?DO(SO(e)):null}function EO(e,i){return null===e?[i]:Array.isArray(e)?[].concat(se(e),[i]):[e,i]}function LO(e){return e._rawValidators}function PO(e){return e._rawAsyncValidators}function D1(e){return e?Array.isArray(e)?e:[e]:[]}function jv(e,i){return Array.isArray(e)?e.includes(i):e===i}function OO(e,i){var t=D1(i);return D1(e).forEach(function(a){jv(t,a)||t.push(a)}),t}function xO(e,i){return D1(i).filter(function(t){return!jv(e,t)})}var IO=function(){var e=function(){function i(){c(this,i),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return f(i,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(n){this._rawValidators=n||[],this._composedValidatorFn=S1(this._rawValidators)}},{key:"_setAsyncValidators",value:function(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=T1(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(n){this._onDestroyCallbacks.push(n)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(n){return n()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(n)}},{key:"hasError",value:function(n,a){return!!this.control&&this.control.hasError(n,a)}},{key:"getError",value:function(n,a){return this.control?this.control.getError(n,a):null}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e}),e}(),Vi=function(){var e=function(i){h(n,i);var t=C(n);function n(){return c(this,n),t.apply(this,arguments)}return f(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(IO);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275dir=Ve({type:e,features:[ht]}),e}(),qo=function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments))._parent=null,n.name=null,n.valueAccessor=null,n}return t}(IO),AO=function(){function e(i){c(this,e),this._cd=i}return f(e,[{key:"is",value:function(t){var n,a,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(a=this._cd)||void 0===a?void 0:a.control)||void 0===o?void 0:o[t])}}]),e}(),Kr=function(){var e=function(i){h(n,i);var t=C(n);function n(a){return c(this,n),t.call(this,a)}return n}(AO);return e.\u0275fac=function(t){return new(t||e)(N(qo,2))},e.\u0275dir=Ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&Bt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))},features:[ht]}),e}(),Jr=function(){var e=function(i){h(n,i);var t=C(n);function n(a){return c(this,n),t.call(this,a)}return n}(AO);return e.\u0275fac=function(t){return new(t||e)(N(Vi,10))},e.\u0275dir=Ve({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&Bt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))("ng-submitted",n.is("submitted"))},features:[ht]}),e}();function ph(e,i){P1(e,i),i.valueAccessor.writeValue(e.value),function(e,i){i.valueAccessor.registerOnChange(function(t){e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&RO(e,i)})}(e,i),function(e,i){var t=function(a,o){i.valueAccessor.writeValue(a),o&&i.viewToModelUpdate(a)};e.registerOnChange(t),i._registerOnDestroy(function(){e._unregisterOnChange(t)})}(e,i),function(e,i){i.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&RO(e,i),"submit"!==e.updateOn&&e.markAsTouched()})}(e,i),function(e,i){if(i.valueAccessor.setDisabledState){var t=function(a){i.valueAccessor.setDisabledState(a)};e.registerOnDisabledChange(t),i._registerOnDestroy(function(){e._unregisterOnDisabledChange(t)})}}(e,i)}function Wv(e,i){var n=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),qv(e,i),e&&(i._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function Gv(e,i){e.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function P1(e,i){var t=LO(e);null!==i.validator?e.setValidators(EO(t,i.validator)):"function"==typeof t&&e.setValidators([t]);var n=PO(e);null!==i.asyncValidator?e.setAsyncValidators(EO(n,i.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);var a=function(){return e.updateValueAndValidity()};Gv(i._rawValidators,a),Gv(i._rawAsyncValidators,a)}function qv(e,i){var t=!1;if(null!==e){if(null!==i.validator){var n=LO(e);if(Array.isArray(n)&&n.length>0){var a=n.filter(function(u){return u!==i.validator});a.length!==n.length&&(t=!0,e.setValidators(a))}}if(null!==i.asyncValidator){var o=PO(e);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(u){return u!==i.asyncValidator});s.length!==o.length&&(t=!0,e.setAsyncValidators(s))}}}var l=function(){};return Gv(i._rawValidators,l),Gv(i._rawAsyncValidators,l),t}function RO(e,i){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function FO(e,i){P1(e,i)}function NO(e,i){e._syncPendingControls(),i.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Kv(e,i){var t=e.indexOf(i);t>-1&&e.splice(t,1)}var mh="VALID",Jv="INVALID",ed="PENDING",vh="DISABLED";function I1(e){return(R1(e)?e.validators:e)||null}function YO(e){return Array.isArray(e)?S1(e):e||null}function A1(e,i){return(R1(i)?i.asyncValidators:e)||null}function HO(e){return Array.isArray(e)?T1(e):e||null}function R1(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var F1=function(){function e(i,t){c(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=t,this._composedValidatorFn=YO(this._rawValidators),this._composedAsyncValidatorFn=HO(this._rawAsyncValidators)}return f(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===mh}},{key:"invalid",get:function(){return this.status===Jv}},{key:"pending",get:function(){return this.status==ed}},{key:"disabled",get:function(){return this.status===vh}},{key:"enabled",get:function(){return this.status!==vh}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=YO(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=HO(t)}},{key:"addValidators",value:function(t){this.setValidators(OO(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(OO(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(xO(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(xO(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return jv(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return jv(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=ed,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=vh,this.errors=null,this._forEachChild(function(a){a.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(a){return a(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=mh,this._forEachChild(function(a){a.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(a){return a(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mh||this.status===ed)&&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)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(n){return n._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?vh:mh}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var n=this;if(this.asyncValidator){this.status=ed,this._hasOwnPendingAsyncValidator=!0;var a=CO(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(function(o){n._hasOwnPendingAsyncValidator=!1,n.setErrors(o,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}},{key:"get",value:function(t){return function(e,i,t){if(null==i||(Array.isArray(i)||(i=i.split(".")),Array.isArray(i)&&0===i.length))return null;var n=e;return i.forEach(function(a){n=n instanceof rl?n.controls.hasOwnProperty(a)?n.controls[a]:null:n instanceof N1&&n.at(a)||null}),n}(this,t)}},{key:"getError",value:function(t,n){var a=n?this.get(n):this;return a&&a.errors?a.errors[t]:null}},{key:"hasError",value:function(t,n){return!!this.getError(t,n)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new mt,this.statusChanges=new mt}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?vh:this.errors?Jv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ed)?ed:this._anyControlsHaveStatus(Jv)?Jv:mh}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(n){return n.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){R1(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),ra=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return c(this,t),(n=i.call(this,I1(o),A1(s,o)))._onChange=[],n._applyFormState(a),n._setUpdateStrategy(o),n._initObservables(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!!n.asyncValidator}),n}return f(t,[{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=a,this._onChange.length&&!1!==s.emitModelToViewChange&&this._onChange.forEach(function(l){return l(o.value,!1!==s.emitViewToModelChange)}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(a,o)}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(a),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(a){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(a){this._onChange.push(a)}},{key:"_unregisterOnChange",value:function(a){Kv(this._onChange,a)}},{key:"registerOnDisabledChange",value:function(a){this._onDisabledChange.push(a)}},{key:"_unregisterOnDisabledChange",value:function(a){Kv(this._onDisabledChange,a)}},{key:"_forEachChild",value:function(a){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}]),t}(F1),rl=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,I1(a),A1(o,a))).controls=n,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return f(t,[{key:"registerControl",value:function(a,o){return this.controls[a]?this.controls[a]:(this.controls[a]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],o&&this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(a),Object.keys(a).forEach(function(l){o._throwIfControlMissing(l),o.controls[l].setValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(Object.keys(a).forEach(function(l){o.controls[l]&&o.controls[l].patchValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(a,o,s){return a[s]=o instanceof ra?o.value:o.getRawValue(),a})}},{key:"_syncPendingControls",value:function(){var a=this._reduceChildren(!1,function(o,s){return!!s._syncPendingControls()||o});return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_throwIfControlMissing",value:function(a){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[a])throw new Error("Cannot find form control with name: ".concat(a,"."))}},{key:"_forEachChild",value:function(a){var o=this;Object.keys(this.controls).forEach(function(s){var l=o.controls[s];l&&a(l,s)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){o.setParent(a),o._registerOnCollectionChange(a._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(a){for(var o=0,s=Object.keys(this.controls);o0||this.disabled}},{key:"_checkAllValuesPresent",value:function(a){this._forEachChild(function(o,s){if(void 0===a[s])throw new Error("Must supply a value for form control with name: '".concat(s,"'."))})}}]),t}(F1),N1=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,I1(a),A1(o,a))).controls=n,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return f(t,[{key:"at",value:function(a){return this.controls[a]}},{key:"push",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(a,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:s.emitEvent})}},{key:"removeAt",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),o&&(this.controls.splice(a,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(a),a.forEach(function(l,u){o._throwIfControlMissing(u),o.at(u).setValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(a.forEach(function(l,u){o.at(u)&&o.at(u).patchValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(a){return a instanceof ra?a.value:a.getRawValue()})}},{key:"clear",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}},{key:"_syncPendingControls",value:function(){var a=this.controls.reduce(function(o,s){return!!s._syncPendingControls()||o},!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_throwIfControlMissing",value:function(a){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(a))throw new Error("Cannot find form control at index ".concat(a))}},{key:"_forEachChild",value:function(a){this.controls.forEach(function(o,s){a(o,s)})}},{key:"_updateValue",value:function(){var a=this;this.value=this.controls.filter(function(o){return o.enabled||a.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(a){return this.controls.some(function(o){return o.enabled&&a(o)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){return a._registerControl(o)})}},{key:"_checkAllValuesPresent",value:function(a){this._forEachChild(function(o,s){if(void 0===a[s])throw new Error("Must supply a value for form control at index: ".concat(s,"."))})}},{key:"_allControlsDisabled",value:function(){var o,a=W(this.controls);try{for(a.s();!(o=a.n()).done;)if(o.value.enabled)return!1}catch(l){a.e(l)}finally{a.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}]),t}(F1),lK={provide:Vi,useExisting:fn(function(){return _h})},gh=function(){return Promise.resolve(null)}(),_h=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this)).submitted=!1,s._directives=[],s.ngSubmit=new mt,s.form=new rl({},S1(a),T1(o)),s}return f(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);o.control=l.registerControl(o.name,o.control),ph(o.control,o),o.control.updateValueAndValidity({emitEvent:!1}),s._directives.push(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name),Kv(s._directives,o)})}},{key:"addFormGroup",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path),u=new rl({});FO(u,o),l.registerControl(o.name,u),u.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){var l=this;gh.then(function(){l.form.get(o.path).setValue(s)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){return this.submitted=!0,NO(this.form,this._directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),n}(Vi);return e.\u0275fac=function(t){return new(t||e)(N(li,10),N(tl,10))},e.\u0275dir=Ve({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&we("submit",function(o){return n.onSubmit(o)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([lK]),ht]}),e}(),$r=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),WO=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Y1=new Ze("NgModelWithFormControlWarning"),_K={provide:Vi,useExisting:fn(function(){return mr})},mr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this)).validators=a,s.asyncValidators=o,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new mt,s._setValidators(a),s._setAsyncValidators(o),s}return f(n,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(qv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var s=this.form.get(o.path);return ph(s,o),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),s}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){Wv(o.control||null,o),Kv(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){this.form.get(o.path).setValue(s)}},{key:"onSubmit",value:function(o){return this.submitted=!0,NO(this.form,this.directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(s){var l=s.control,u=o.form.get(s.path);l!==u&&(Wv(l||null,s),u instanceof ra&&(ph(u,s),s.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var s=this.form.get(o.path);FO(s,o),s.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var s=this.form.get(o.path);s&&function(e,i){return qv(e,i)}(s,o)&&s.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){P1(this.form,this),this._oldForm&&qv(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Vi);return e.\u0275fac=function(t){return new(t||e)(N(li,10),N(tl,10))},e.\u0275dir=Ve({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&we("submit",function(o){return n.onSubmit(o)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([_K]),ht,Jn]}),e}(),kK={provide:qo,useExisting:fn(function(){return zr})},zr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._ngModelWarningConfig=u,d._added=!1,d.update=new mt,d._ngModelWarningSent=!1,d._parent=a,d._setValidators(o),d._setAsyncValidators(s),d.valueAccessor=function(e,i){if(!i)return null;Array.isArray(i);var t=void 0,n=void 0,a=void 0;return i.forEach(function(o){o.constructor===qr?t=o:function(e){return Object.getPrototypeOf(e.constructor)===au}(o)?n=o:a=o}),a||n||t||null}(O(d),l),d}return f(n,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),function(e,i){if(!e.hasOwnProperty("model"))return!1;var t=e.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return function(e,i){return[].concat(se(i.path),[e])}(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(qo);return e.\u0275fac=function(t){return new(t||e)(N(Vi,13),N(li,10),N(tl,10),N(mo,10),N(Y1,8))},e.\u0275dir=Ve({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Lt([kK]),ht,Jn]}),e._ngModelWarningSentOnce=!1,e}();var AK={provide:li,useExisting:fn(function(){return Bi}),multi:!0},Bi=function(){var e=function(){function i(){c(this,i),this._validator=nl}return f(i,[{key:"ngOnChanges",value:function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(n){return this.enabled()?this._validator(n):null}},{key:"registerOnValidatorChange",value:function(n){this._onChange=n}},{key:"_createValidator",value:function(){this._validator=this.enabled()?yO(function(e){return"number"==typeof e?e:parseInt(e,10)}(this.maxlength)):nl}},{key:"enabled",value:function(){return null!=this.maxlength}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,n){2&t&&Dt("maxlength",n.enabled()?n.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Lt([AK]),Jn]}),e}(),ax=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[WO]]}),e}(),FK=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[ax]}),e}(),ox=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"withConfig",value:function(n){return{ngModule:i,providers:[{provide:Y1,useValue:n.warnOnNgModelWithFormControl}]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[ax]}),e}();function NK(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}var ia=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"group",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(n),s=null,l=null,u=void 0;return null!=a&&(NK(a)?(s=null!=a.validators?a.validators:null,l=null!=a.asyncValidators?a.asyncValidators:null,u=null!=a.updateOn?a.updateOn:void 0):(s=null!=a.validator?a.validator:null,l=null!=a.asyncValidator?a.asyncValidator:null)),new rl(o,{asyncValidators:l,updateOn:u,validators:s})}},{key:"control",value:function(n,a,o){return new ra(n,a,o)}},{key:"array",value:function(n,a,o){var s=this,l=n.map(function(u){return s._createControl(u)});return new N1(l,a,o)}},{key:"_reduceControls",value:function(n){var a=this,o={};return Object.keys(n).forEach(function(s){o[s]=a._createControl(n[s])}),o}},{key:"_createControl",value:function(n){return n instanceof ra||n instanceof rl||n instanceof N1?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return new e},token:e,providedIn:ox}),e}();function YK(e,i){1&e&&(p(0,"button",5),p(1,"mat-icon"),F(2,"close"),m(),m())}function HK(e,i){1&e&&Dl(0)}var sx=function(e){return{"content-margin":e}};function VK(e,i){if(1&e&&(p(0,"mat-dialog-content",6),K(1,HK,1,0,"ng-container",7),m()),2&e){var t=J(),n=Lr(8);D("ngClass",et(2,sx,t.includeVerticalMargins)),v(1),D("ngTemplateOutlet",n)}}function BK(e,i){1&e&&Dl(0)}function jK(e,i){if(1&e&&(p(0,"div",6),K(1,BK,1,0,"ng-container",7),m()),2&e){var t=J(),n=Lr(8);D("ngClass",et(2,sx,t.includeVerticalMargins)),v(1),D("ngTemplateOutlet",n)}}function UK(e,i){1&e&&jn(0)}var zK=["*"],vr=function(){function e(){this.includeScrollableArea=!0,this.includeVerticalMargins=!0}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:zK,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(t,n){1&t&&(ri(),p(0,"div",0),p(1,"span"),F(2),m(),K(3,YK,3,0,"button",1),m(),Te(4,"div",2),K(5,VK,2,4,"mat-dialog-content",3),K(6,jK,2,4,"div",3),K(7,UK,1,0,"ng-template",null,4,Il)),2&t&&(v(2),ye(n.headline),v(1),D("ngIf",!n.disableDismiss),v(2),D("ngIf",n.includeScrollableArea),v(1),D("ngIf",!n.includeScrollableArea))},directives:[Mq,Ot,bi,Cq,Cn,k1,Cr,bm],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:bold;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 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%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:rgba(33,95,158,.2);margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),e}(),WK={tooltipState:gs("state",[Hi("initial, void, hidden",bn({opacity:0,transform:"scale(0)"})),Hi("visible",bn({transform:"scale(1)"})),gi("* => visible",Yi("200ms cubic-bezier(0, 0, 0.2, 1)",Oj([bn({opacity:0,transform:"scale(0)",offset:0}),bn({opacity:.5,transform:"scale(0.99)",offset:.5}),bn({opacity:1,transform:"scale(1)",offset:1})]))),gi("* => hidden",Yi("100ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:0})))])},lx="tooltip-panel",ux=$l({passive:!0}),cx=new Ze("mat-tooltip-scroll-strategy"),JK={provide:cx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},$K=new Ze("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ZK=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y,T,I,V){var q=this;c(this,i),this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=d,this._dir=T,this._defaultOptions=I,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ie,this._handleKeydown=function(X){q._isTooltipVisible()&&27===X.keyCode&&!Ms(X)&&(X.preventDefault(),X.stopPropagation(),q._ngZone.run(function(){return q.hide(0)}))},this._scrollStrategy=y,this._document=V,I&&(I.position&&(this.position=I.position),I.touchGestures&&(this.touchGestures=I.touchGestures)),T.change.pipe(rn(this._destroyed)).subscribe(function(){q._overlayRef&&q._updatePosition(q._overlayRef)}),s.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",q._handleKeydown)})}return f(i,[{key:"position",get:function(){return this._position},set:function(n){var a;n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=kn(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(n){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=n?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var n=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rn(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&n._ngZone.run(function(){return n.show()}):n._ngZone.run(function(){return n.hide(0)})})}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),n.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(a){var o=te(a,2);n.removeEventListener(o[0],o[1],ux)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}},{key:"show",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var o=this._createOverlay();this._detach(),this._portal=this._portal||new Kc(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=o.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(rn(this._destroyed)).subscribe(function(){return n._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(a)}}},{key:"hide",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(n)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var n=this;if(this._overlayRef)return this._overlayRef;var a=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return o.positionChanges.pipe(rn(this._destroyed)).subscribe(function(s){n._updateCurrentPositionClass(s.connectionPair),n._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(lx),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rn(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef.outsidePointerEvents().pipe(rn(this._destroyed)).subscribe(function(){var s;return null===(s=n._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(n){var a=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(n){return n}},{key:"_getOrigin",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Qn(1),rn(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(n,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:a}}},{key:"_updateCurrentPositionClass",value:function(n){var l,a=n.overlayY,o=n.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===n.originY?"above":"below")!==this._currentPosition){var u=this._overlayRef;if(u){var d="".concat(this._cssClassPrefix,"-").concat(lx,"-");u.removePanelClass(d+this._currentPosition),u.addPanelClass(d+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var n=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){n._setupPointerExitEventsIfNeeded(),n.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){n._setupPointerExitEventsIfNeeded(),clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,n=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(){return n.hide()}],["wheel",function(l){return n._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(n){var a=this;n.forEach(function(o){var s=te(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],ux)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(n){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var n=this.touchGestures;if("off"!==n){var a=this._elementRef.nativeElement,o=a.style;("on"===n||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===n||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(qc),N(kr),N(vt),N(Qt),N(lP),N(ho),N(void 0),N(jr),N(void 0),N(dt))},e.\u0275dir=Ve({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),cr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T,I,V,q,X){var he;return c(this,n),(he=t.call(this,a,o,s,l,u,d,y,T,I,V,q,X))._tooltipComponent=eJ,he}return n}(ZK);return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(qc),N(kr),N(vt),N(Qt),N(lP),N(ho),N(cx),N(jr,8),N($K,8),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[ht]}),e}(),XK=function(){var e=function(){function i(t){c(this,i),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ie}return f(i,[{key:"show",value:function(n){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},n)}},{key:"hide",value:function(n){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},n)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(n){var a=n.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Nn))},e.\u0275dir=Ve({type:e}),e}(),eJ=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return n}(XK);return e.\u0275fac=function(t){return new(t||e)(N(Nn),N(c1))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){2&t&&ha("zoom","visible"===n._visibility?1:null)},features:[ht],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,n){var a;1&t&&(p(0,"div",0),we("@state.start",function(){return n._animationStart()})("@state.done",function(s){return n._animationDone(s)}),H(1,"async"),F(2),m()),2&t&&(Bt("mat-tooltip-handset",null==(a=U(1,5,n._isHandset))?null:a.matches),D("ngClass",n.tooltipClass)("@state",n._visibility),v(2),ye(n.message))},directives:[Cr],pipes:[YD],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}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[WK.tooltipState]},changeDetection:0}),e}(),tJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[JK],imports:[[SP,Bo,oh,mn],mn,th]}),e}(),nJ=["underline"],rJ=["connectionContainer"],iJ=["inputContainer"],aJ=["label"];function oJ(e,i){1&e&&(Ge(0),p(1,"div",14),Te(2,"div",15),Te(3,"div",16),Te(4,"div",17),m(),p(5,"div",18),Te(6,"div",15),Te(7,"div",16),Te(8,"div",17),m(),qe())}function sJ(e,i){1&e&&(p(0,"div",19),jn(1,1),m())}function lJ(e,i){if(1&e&&(Ge(0),jn(1,2),p(2,"span"),F(3),m(),qe()),2&e){var t=J(2);v(3),ye(t._control.placeholder)}}function uJ(e,i){1&e&&jn(0,3,["*ngSwitchCase","true"])}function cJ(e,i){1&e&&(p(0,"span",23),F(1," *"),m())}function dJ(e,i){if(1&e){var t=nt();p(0,"label",20,21),we("cdkObserveContent",function(){return Ae(t),J().updateOutlineGap()}),K(2,lJ,4,1,"ng-container",12),K(3,uJ,1,0,"ng-content",12),K(4,cJ,2,0,"span",22),m()}if(2&e){var n=J();Bt("mat-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-form-field-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-accent","accent"==n.color)("mat-warn","warn"==n.color),D("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),Dt("for",n._control.id)("aria-owns",n._control.id),v(2),D("ngSwitchCase",!1),v(1),D("ngSwitchCase",!0),v(1),D("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function fJ(e,i){1&e&&(p(0,"div",24),jn(1,4),m())}function hJ(e,i){if(1&e&&(p(0,"div",25,26),Te(2,"span",27),m()),2&e){var t=J();v(2),Bt("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function pJ(e,i){1&e&&(p(0,"div"),jn(1,5),m()),2&e&&D("@transitionMessages",J()._subscriptAnimationState)}function mJ(e,i){if(1&e&&(p(0,"div",31),F(1),m()),2&e){var t=J(2);D("id",t._hintLabelId),v(1),ye(t.hintLabel)}}function vJ(e,i){if(1&e&&(p(0,"div",28),K(1,mJ,2,2,"div",29),jn(2,6),Te(3,"div",30),jn(4,7),m()),2&e){var t=J();D("@transitionMessages",t._subscriptAnimationState),v(1),D("ngIf",t.hintLabel)}}var gJ=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_J=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],yJ=0,dx=new Ze("MatError"),yh=function(){var e=function i(t,n){c(this,i),this.id="mat-error-".concat(yJ++),t||n.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)($a("aria-live"),N(pt))},e.\u0275dir=Ve({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,n){2&t&&Dt("id",n.id)},inputs:{id:"id"},features:[Lt([{provide:dx,useExisting:e}])]}),e}(),bJ={transitionMessages:gs("transitionMessages",[Hi("enter",bn({opacity:1,transform:"translateY(0%)"})),gi("void => enter",[bn({opacity:0,transform:"translateY(-5px)"}),Yi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$v=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e}),e}(),fx=new Ze("MatHint"),hx=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-label"]]}),e}(),CJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-placeholder"]]}),e}(),px=new Ze("MatPrefix"),mx=new Ze("MatSuffix"),vx=0,wJ=Xl(function(){return function e(i){c(this,e),this._elementRef=i}}(),"primary"),SJ=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS"),W1=new Ze("MatFormField"),ki=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T){var I;return c(this,n),(I=t.call(this,a))._changeDetectorRef=o,I._dir=l,I._defaults=u,I._platform=d,I._ngZone=y,I._outlineGapCalculationNeededImmediately=!1,I._outlineGapCalculationNeededOnStable=!1,I._destroyed=new Ie,I._showAlwaysAnimate=!1,I._subscriptAnimationState="",I._hintLabel="",I._hintLabelId="mat-hint-".concat(vx++),I._labelId="mat-form-field-label-".concat(vx++),I.floatLabel=I._getDefaultFloatLabelState(),I._animationsEnabled="NoopAnimations"!==T,I.appearance=u&&u.appearance?u.appearance:"legacy",I._hideRequiredMarker=!(!u||null==u.hideRequiredMarker)&&u.hideRequiredMarker,I}return f(n,[{key:"appearance",get:function(){return this._appearance},set:function(o){var s=this._appearance;this._appearance=o||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&s!==o&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(o){this._hideRequiredMarker=kn(o)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(o){this._hintLabel=o,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(o){o!==this._floatLabel&&(this._floatLabel=o||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(o){this._explicitFormFieldControl=o}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var o=this;this._validateControlChild();var s=this._control;s.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(s.controlType)),s.stateChanges.pipe(_i(null)).subscribe(function(){o._validatePlaceholders(),o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),s.ngControl&&s.ngControl.valueChanges&&s.ngControl.valueChanges.pipe(rn(this._destroyed)).subscribe(function(){return o._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){o._ngZone.onStable.pipe(rn(o._destroyed)).subscribe(function(){o._outlineGapCalculationNeededOnStable&&o.updateOutlineGap()})}),wi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){o._outlineGapCalculationNeededOnStable=!0,o._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(_i(null)).subscribe(function(){o._processHints(),o._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(_i(null)).subscribe(function(){o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(rn(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?o._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return o.updateOutlineGap()})}):o.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(o){var s=this._control?this._control.ngControl:null;return s&&s[o]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var o=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ks(this._label.nativeElement,"transitionend").pipe(Qn(1)).subscribe(function(){o._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push.apply(o,se(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var s=this._hintChildren?this._hintChildren.find(function(u){return"start"===u.align}):null,l=this._hintChildren?this._hintChildren.find(function(u){return"end"===u.align}):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),l&&o.push(l.id)}else this._errorChildren&&o.push.apply(o,se(this._errorChildren.map(function(u){return u.id})));this._control.setDescribedByIds(o)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var o=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&o&&o.children.length&&o.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var s=0,l=0,u=this._connectionContainerRef.nativeElement,d=u.querySelectorAll(".mat-form-field-outline-start"),y=u.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var T=u.getBoundingClientRect();if(0===T.width&&0===T.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var I=this._getStartEnd(T),V=o.children,q=this._getStartEnd(V[0].getBoundingClientRect()),X=0,he=0;he0?.75*X+10:0}for(var Se=0;Se-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(PJ);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Qt),N(qo,10),N(_h,8),N(mr,8),N(Pv),N(DJ,10),N(yx),N(vt),N(W1,8))},e.\u0275dir=Ve({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,n){1&t&&we("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(Bs("disabled",n.disabled)("required",n.required),Dt("id",n.id)("data-placeholder",n.placeholder)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required),Bt("mat-input-server",n._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Lt([{provide:$v,useExisting:e}]),ht,Jn]}),e}(),OJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Pv],imports:[[bx,Qv,mn],bx,Qv]}),e}(),xJ=["button1"],IJ=["button2"];function AJ(e,i){1&e&&Te(0,"mat-spinner",4),2&e&&D("diameter",J().loadingSize)}function RJ(e,i){1&e&&(p(0,"mat-icon"),F(1,"error_outline"),m())}var FJ=function(e){return{"for-dark-background":e}},NJ=["*"],bh=function(e){return e[e.Normal=0]="Normal",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e}({}),ui=function(){function e(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new mt,this.state=bh.Normal,this.buttonStates=bh}return e.prototype.ngOnDestroy=function(){this.action.complete()},e.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},e.prototype.reset=function(i){void 0===i&&(i=!0),this.state=bh.Normal,i&&(this.disabled=!1)},e.prototype.focus=function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()},e.prototype.showEnabled=function(){this.disabled=!1},e.prototype.showDisabled=function(){this.disabled=!0},e.prototype.showLoading=function(i){void 0===i&&(i=!0),this.state=bh.Loading,i&&(this.disabled=!0)},e.prototype.showError=function(i){void 0===i&&(i=!0),this.state=bh.Error,i&&(this.disabled=!1)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-button"]],viewQuery:function(t,n){if(1&t&&(_t(xJ,5),_t(IJ,5)),2&t){var a=void 0;it(a=at())&&(n.button1=a.first),it(a=at())&&(n.button2=a.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:NJ,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(t,n){1&t&&(ri(),p(0,"button",0,1),we("click",function(){return n.click()}),K(2,AJ,1,1,"mat-spinner",2),K(3,RJ,2,0,"mat-icon",3),jn(4),m()),2&t&&(D("disabled",n.disabled)("color",n.color)("ngClass",et(5,FJ,n.forDarkBackground)),v(2),D("ngIf",n.state===n.buttonStates.Loading),v(1),D("ngIf",n.state===n.buttonStates.Error))},directives:[bi,Cr,Ot,iu,Cn],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!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}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),e}(),YJ=["button"],HJ=["firstInput"];function VJ(e,i){1&e&&(p(0,"mat-form-field",10),Te(1,"input",11),H(2,"translate"),p(3,"mat-error"),F(4),H(5,"translate"),m(),m()),2&e&&(v(1),D("placeholder",U(2,2,"settings.password.old-password")),v(3),Ce(" ",U(5,4,"settings.password.errors.old-password-required")," "))}var BJ=function(e){return{"rounded-elevated-box":e}},kx=function(e){return{"white-form-field":e}},jJ=function(e,i){return{"mt-2 app-button":e,"float-right":i}},Cx=function(){function e(i,t,n,a){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.forInitialConfig=!1}return e.prototype.ngOnInit=function(){var i=this;this.form=new rl({oldPassword:new ra("",this.forInitialConfig?null:En.required),newPassword:new ra("",En.compose([En.required,En.minLength(6),En.maxLength(64)])),newPasswordConfirmation:new ra("",[En.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(function(){return i.form.controls.newPasswordConfirmation.updateValueAndValidity()})},e.prototype.ngAfterViewInit=function(){var i=this;this.forInitialConfig&&setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()},e.prototype.changePassword=function(){var i=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(function(){i.dialog.closeAll(),i.snackbarService.showDone("settings.password.initial-config.done")},function(t){i.button.showError(),t=tn(t),i.snackbarService.showError(t,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(function(){i.router.navigate(["nodes"]),i.snackbarService.showDone("settings.password.password-changed")},function(t){i.button.showError(),t=tn(t),i.snackbarService.showError(t)}))},e.prototype.validatePasswords=function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-password"]],viewQuery:function(t,n){if(1&t&&(_t(YJ,5),_t(HJ,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div"),p(3,"mat-icon",2),H(4,"translate"),F(5," help "),m(),m(),p(6,"form",3),K(7,VJ,6,6,"mat-form-field",4),p(8,"mat-form-field",0),Te(9,"input",5,6),H(11,"translate"),p(12,"mat-error"),F(13),H(14,"translate"),m(),m(),p(15,"mat-form-field",0),Te(16,"input",7),H(17,"translate"),p(18,"mat-error"),F(19),H(20,"translate"),m(),m(),p(21,"app-button",8,9),we("action",function(){return n.changePassword()}),F(23),H(24,"translate"),m(),m(),m(),m()),2&t&&(D("ngClass",et(29,BJ,!n.forInitialConfig)),v(2),pa((n.forInitialConfig?"":"white-")+"form-help-icon-container"),v(1),D("inline",!0)("matTooltip",U(4,17,n.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),v(3),D("formGroup",n.form),v(1),D("ngIf",!n.forInitialConfig),v(1),D("ngClass",et(31,kx,!n.forInitialConfig)),v(1),D("placeholder",U(11,19,n.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),v(4),Ce(" ",U(14,21,"settings.password.errors.new-password-error")," "),v(2),D("ngClass",et(33,kx,!n.forInitialConfig)),v(1),D("placeholder",U(17,23,n.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),v(3),Ce(" ",U(20,25,"settings.password.errors.passwords-not-match")," "),v(2),D("ngClass",Dn(35,jJ,!n.forInitialConfig,n.forInitialConfig))("disabled",!n.form.valid)("forDarkBackground",!n.forInitialConfig),v(2),Ce(" ",U(24,27,n.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[Cr,Cn,cr,$r,Jr,mr,Ot,ki,qr,aa,Kr,zr,Bi,yh,ui],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),e}(),UJ=function(){function e(){}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.smallModalWidth,i.open(e,t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),Te(2,"app-password",1),m()),2&t&&(D("headline",U(1,2,"settings.password.initial-config.title")),v(2),D("forInitialConfig",!0))},directives:[vr,Cx],pipes:[wt],styles:[""]}),e}();function zJ(e,i){if(1&e){var t=nt();p(0,"button",3),we("click",function(){var s=Ae(t).$implicit;return J().closePopup(s)}),Te(1,"img",4),p(2,"div",5),F(3),m(),m()}if(2&e){var n=i.$implicit;v(1),D("src","assets/img/lang/"+n.iconName,Io),v(2),ye(n.name)}}var Mx=function(){function e(i,t){this.dialogRef=i,this.languageService=t,this.languages=[]}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.mediumModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){var i=this;this.subscription=this.languageService.languages.subscribe(function(t){i.languages=t})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.closePopup=function(i){void 0===i&&(i=null),i&&this.languageService.changeLanguage(i.code),this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Vv))},e.\u0275cmp=Ke({type:e,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div",1),K(3,zJ,4,2,"button",2),m(),m()),2&t&&(D("headline",U(1,2,"language.title")),v(3),D("ngForOf",n.languages))},directives:[vr,xr,bi],pipes:[wt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.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}@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:64px;height:64px;margin:10px 0}@media (max-width: 767px){.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%]{background-color:rgba(255,255,255,.251);padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),e}();function WJ(e,i){1&e&&Te(0,"img",2),2&e&&D("src","assets/img/lang/"+J().language.iconName,Io)}var GJ=function(){function e(i,t){this.languageService=i,this.dialog=t}return e.prototype.ngOnInit=function(){var i=this;this.subscription=this.languageService.currentLanguage.subscribe(function(t){i.language=t})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.openLanguageWindow=function(){Mx.openDialog(this.dialog)},e.\u0275fac=function(t){return new(t||e)(N(Vv),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(t,n){1&t&&(p(0,"button",0),we("click",function(){return n.openLanguageWindow()}),H(1,"translate"),K(2,WJ,1,1,"img",1),m()),2&t&&(D("matTooltip",U(1,2,"language.title")),v(2),D("ngIf",n.language))},directives:[bi,cr,Ot],pipes:[wt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),e}(),wx=function(){function e(i,t,n,a,o){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.route=o,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}return e.prototype.ngOnInit=function(){var i=this;this.routeSubscription=this.route.paramMap.subscribe(function(t){i.vpnKey=t.get("key"),i.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),i.verificationSubscription=i.authService.checkLogin().subscribe(function(n){n!==Xc.NotLogged&&i.router.navigate(i.isForVpn?["vpn",i.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new rl({password:new ra("",En.required)})},e.prototype.ngOnDestroy=function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()},e.prototype.login=function(){var i=this;!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(function(){return i.onLoginSuccess()},function(t){return i.onLoginError(t)}))},e.prototype.configure=function(){UJ.openDialog(this.dialog)},e.prototype.onLoginSuccess=function(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})},e.prototype.onLoginError=function(i){i=tn(i),this.loading=!1,this.snackbarService.showError(i.originalError&&401===i.originalError.status?"login.incorrect-password":i.translatableErrorMsg)},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-lang-button"),p(2,"div",1),Te(3,"img",2),p(4,"form",3),p(5,"div",4),p(6,"input",5),we("keydown.enter",function(){return n.login()}),H(7,"translate"),m(),p(8,"button",6),we("click",function(){return n.login()}),p(9,"mat-icon"),F(10,"chevron_right"),m(),m(),m(),m(),p(11,"div",7),we("click",function(){return n.configure()}),F(12),H(13,"translate"),m(),m(),m()),2&t&&(v(4),D("formGroup",n.form),v(2),D("placeholder",U(7,4,"login.password")),v(2),D("disabled",!n.form.valid||n.loading),v(4),ye(U(13,6,"login.initial-config")))},directives:[GJ,$r,Jr,mr,qr,Kr,zr,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px rgba(0,0,0,.102),0 6px 20px rgba(0,0,0,.102);display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),e}();function qJ(e){return e instanceof Date&&!isNaN(+e)}function ci(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc,t=qJ(e),n=t?+e-i.now():Math.abs(e);return function(a){return a.lift(new KJ(n,i))}}var KJ=function(){function e(i,t){c(this,e),this.delay=i,this.scheduler=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new JJ(t,this.delay,this.scheduler))}}]),e}(),JJ=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).delay=a,s.scheduler=o,s.queue=[],s.active=!1,s.errored=!1,s}return f(t,[{key:"_schedule",value:function(a){this.active=!0,this.destination.add(a.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))}},{key:"scheduleNotification",value:function(a){if(!0!==this.errored){var o=this.scheduler,s=new $J(o.now()+this.delay,a);this.queue.push(s),!1===this.active&&this._schedule(o)}}},{key:"_next",value:function(a){this.scheduleNotification($f.createNext(a))}},{key:"_error",value:function(a){this.errored=!0,this.queue=[],this.destination.error(a),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification($f.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){for(var o=a.source,s=o.queue,l=a.scheduler,u=a.destination;s.length>0&&s[0].time-l.now()<=0;)s.shift().notification.observe(u);if(s.length>0){var d=Math.max(0,s[0].time-l.now());this.schedule(a,d)}else this.unsubscribe(),o.active=!1}}]),t}(St),$J=function e(i,t){c(this,e),this.time=i,this.notification=t},G1=B(61287),Zv=B.n(G1),q1=function(){return function(){}}(),QJ=function(){return function(){}}(),Xv=function(){function e(i){this.apiService=i}return e.prototype.create=function(i,t,n){var a={remote_pk:t};return n&&(a.transport_type=n),this.apiService.post("visors/"+i+"/transports",a)},e.prototype.delete=function(i,t){return this.apiService.delete("visors/"+i+"/transports/"+t)},e.prototype.savePersistentTransportsData=function(i,t){return this.apiService.put("visors/"+i+"/persistent-transports",t)},e.prototype.getPersistentTransports=function(i){return this.apiService.get("visors/"+i+"/persistent-transports")},e.prototype.types=function(i){return this.apiService.get("visors/"+i+"/transport-types")},e.prototype.changeAutoconnectSetting=function(i,t){var n={};return n.public_autoconnect=t,this.apiService.put("visors/"+i+"/public-autoconnect",n)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),K1=function(){function e(i){this.apiService=i}return e.prototype.get=function(i,t){return this.apiService.get("visors/"+i+"/routes/"+t)},e.prototype.delete=function(i,t){return this.apiService.delete("visors/"+i+"/routes/"+t)},e.prototype.setMinHops=function(i,t){return this.apiService.post("visors/"+i+"/min-hops",{min_hops:t})},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),il=function(e){return e.Connecting="connecting",e.Unhealthy="unhealthy",e.Healthy="healthy",e}({}),ZJ=function(){return function(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}(),gr=function(e){return e.UseCustomSettings="updaterUseCustomSettings",e.Channel="updaterChannel",e.Version="updaterVersion",e.ArchiveURL="updaterArchiveURL",e.ChecksumsURL="updaterChecksumsURL",e}({}),ou=function(){function e(i,t,n,a){var o=this;this.apiService=i,this.storageService=t,this.transportService=n,this.routeService=a,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Br(null),this.updatingNodeListSubject=new Br(!1),this.specificNodeSubject=new Br(null),this.updatingSpecificNodeSubject=new Br(!1),this.specificNodeTrafficDataSubject=new Br(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(function(s){o.dataRefreshDelay=1e3*s,o.nodeListRefreshSubscription&&o.forceNodeListRefresh(),o.specificNodeRefreshSubscription&&o.forceSpecificNodeRefresh()})}return Object.defineProperty(e.prototype,"nodeList",{get:function(){return this.nodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updatingNodeList",{get:function(){return this.updatingNodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"specificNode",{get:function(){return this.specificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updatingSpecificNode",{get:function(){return this.updatingSpecificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"specificNodeTrafficData",{get:function(){return this.specificNodeTrafficDataSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.startRequestingNodeList=function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var t=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(t=t>0?t:0,!0)},e.prototype.startRequestingSpecificNode=function(i){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===i)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var n=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==i||0===n?(this.specificNodeKey=i,this.specificNodeTrafficDataSubject.next(new ZJ),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(n,!1)},e.prototype.calculateRemainingTime=function(i){if(i<1)return 0;var t=this.dataRefreshDelay-(Date.now()-i);return t<0&&(t=0),t},e.prototype.stopRequestingNodeList=function(){var i=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=Qe(1).pipe(ci(4e3)).subscribe(function(){i.nodeListRefreshSubscription.unsubscribe(),i.nodeListRefreshSubscription=null}))},e.prototype.stopRequestingSpecificNode=function(){var i=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=Qe(1).pipe(ci(4e3)).subscribe(function(){i.specificNodeRefreshSubscription.unsubscribe(),i.specificNodeRefreshSubscription=null}))},e.prototype.startDataSubscription=function(i,t){var a,o,s,n=this;t?(a=this.updatingNodeListSubject,o=this.nodeListSubject,s=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(a=this.updatingSpecificNodeSubject,o=this.specificNodeSubject,s=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var l=Qe(1).pipe(ci(i),Ar(function(){return a.next(!0)}),ci(120),Sn(function(){return s})).subscribe(function(u){var d;a.next(!1),t?d=n.dataRefreshDelay:(n.updateTrafficData(u.transports),(d=n.calculateRemainingTime(n.lastScheduledHistoryUpdateTime))<1e3&&(n.lastScheduledHistoryUpdateTime=Date.now(),d=n.dataRefreshDelay));var y={data:u,error:null,momentOfLastCorrectUpdate:Date.now()};o.next(y),n.startDataSubscription(d,t)},function(u){a.next(!1),u=tn(u);var d={data:o.value&&o.value.data?o.value.data:null,error:u,momentOfLastCorrectUpdate:o.value?o.value.momentOfLastCorrectUpdate:-1};!t&&u.originalError&&400===u.originalError.status||n.startDataSubscription(Gt.connectionRetryDelay,t),o.next(d)});t?this.nodeListRefreshSubscription=l:this.specificNodeRefreshSubscription=l},e.prototype.updateTrafficData=function(i){var t=this.specificNodeTrafficDataSubject.value;if(t.totalSent=0,t.totalReceived=0,i&&i.length>0&&(t.totalSent=i.reduce(function(s,l){return s+l.sent},0),t.totalReceived=i.reduce(function(s,l){return s+l.recv},0)),0===t.sentHistory.length)for(var n=0;nthis.maxTrafficHistorySlots&&(o=this.maxTrafficHistorySlots),0===o)t.sentHistory[t.sentHistory.length-1]=t.totalSent,t.receivedHistory[t.receivedHistory.length-1]=t.totalReceived;else for(n=0;nthis.maxTrafficHistorySlots&&(t.sentHistory.splice(0,t.sentHistory.length-this.maxTrafficHistorySlots),t.receivedHistory.splice(0,t.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(t)},e.prototype.forceNodeListRefresh=function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)},e.prototype.forceSpecificNodeRefresh=function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)},e.prototype.getNodes=function(){var i=this,t=[];return this.apiService.get("visors-summary").pipe($e(function(n){n&&n.forEach(function(u){var d=new q1;d.online=u.online,d.localPk=u.overview.local_pk,d.autoconnectTransports=u.public_autoconnect,d.ip=u.overview&&u.overview.local_ip&&u.overview.local_ip.trim()?u.overview.local_ip:null;var y=i.storageService.getLabelInfo(d.localPk);if(d.label=y&&y.label?y.label:i.storageService.getDefaultLabel(d),!d.online)return d.dmsgServerPk="",d.roundTripPing="",void t.push(d);d.health={servicesHealth:u.health.services_health},d.dmsgServerPk=u.dmsg_stats.server_public_key,d.roundTripPing=i.nsToMs(u.dmsg_stats.round_trip),d.isHypervisor=u.is_hypervisor,t.push(d)});var a=new Map,o=[],s=[];t.forEach(function(u){a.set(u.localPk,u),u.online&&(o.push(u.localPk),s.push(u.ip))}),i.storageService.includeVisibleLocalNodes(o,s);var l=[];return i.storageService.getSavedLocalNodes().forEach(function(u){if(!a.has(u.publicKey)&&!u.hidden){var d=new q1;d.localPk=u.publicKey;var y=i.storageService.getLabelInfo(u.publicKey);d.label=y&&y.label?y.label:i.storageService.getDefaultLabel(d),d.online=!1,d.dmsgServerPk="",d.roundTripPing="",l.push(d)}a.has(u.publicKey)&&!a.get(u.publicKey).online&&u.hidden&&a.delete(u.publicKey)}),t=[],a.forEach(function(u){return t.push(u)}),t=t.concat(l)}))},e.prototype.nsToMs=function(i){var t=new(Zv())(i).dividedBy(1e6);return(t=t.isLessThan(10)?t.decimalPlaces(2):t.decimalPlaces(0)).toString(10)},e.prototype.getNode=function(i){var t=this;return this.apiService.get("visors/"+i+"/summary").pipe($e(function(n){var a=new q1;a.localPk=n.overview.local_pk,a.version=n.overview.build_info.version,a.secondsOnline=Math.floor(Number.parseFloat(n.uptime)),a.minHops=n.min_hops,a.buildTag=n.build_tag,a.skybianBuildVersion=n.skybian_build_version,a.isSymmeticNat=n.overview.is_symmetic_nat,a.publicIp=n.overview.public_ip,a.autoconnectTransports=n.public_autoconnect,a.ip=n.overview.local_ip&&n.overview.local_ip.trim()?n.overview.local_ip:null;var o=t.storageService.getLabelInfo(a.localPk);a.label=o&&o.label?o.label:t.storageService.getDefaultLabel(a),a.health={servicesHealth:n.health.services_health},a.transports=[],n.overview.transports&&n.overview.transports.forEach(function(l){a.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),a.persistentTransports=[],n.persistent_transports&&n.persistent_transports.forEach(function(l){a.persistentTransports.push({pk:l.pk,type:l.type})}),a.routes=[],n.routes&&n.routes.forEach(function(l){a.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(a.routes[a.routes.length-1].ruleSummary={keepAlive:l.rule_summary.keep_alive,ruleType:l.rule_summary.rule_type,keyRouteId:l.rule_summary.key_route_id},l.rule_summary.app_fields&&l.rule_summary.app_fields.route_descriptor&&(a.routes[a.routes.length-1].appFields={routeDescriptor:{dstPk:l.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.app_fields.route_descriptor.dst_port,srcPk:l.rule_summary.app_fields.route_descriptor.src_pk,srcPort:l.rule_summary.app_fields.route_descriptor.src_port}}),l.rule_summary.forward_fields&&(a.routes[a.routes.length-1].forwardFields={nextRid:l.rule_summary.forward_fields.next_rid,nextTid:l.rule_summary.forward_fields.next_tid},l.rule_summary.forward_fields.route_descriptor&&(a.routes[a.routes.length-1].forwardFields.routeDescriptor={dstPk:l.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:l.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:l.rule_summary.forward_fields.route_descriptor.src_port})),l.rule_summary.intermediary_forward_fields&&(a.routes[a.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),a.apps=[],n.overview.apps&&n.overview.apps.forEach(function(l){a.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,args:l.args})});var s=!1;return n.dmsg_stats&&(a.dmsgServerPk=n.dmsg_stats.server_public_key,a.roundTripPing=t.nsToMs(n.dmsg_stats.round_trip),s=!0),s||(a.dmsgServerPk="-",a.roundTripPing="-1"),a}))},e.prototype.reboot=function(i){return this.apiService.post("visors/"+i+"/restart")},e.prototype.checkIfUpdating=function(i){return this.apiService.get("visors/"+i+"/update/ws/running")},e.prototype.checkUpdate=function(i){var t="stable",n=localStorage.getItem(gr.Channel);return this.apiService.get("visors/"+i+"/update/available/"+(t=n||t))},e.prototype.update=function(i){var t={channel:"stable"};if(localStorage.getItem(gr.UseCustomSettings)){var a=localStorage.getItem(gr.Channel);a&&(t.channel=a);var o=localStorage.getItem(gr.Version);o&&(t.version=o);var s=localStorage.getItem(gr.ArchiveURL);s&&(t.archive_url=s);var l=localStorage.getItem(gr.ChecksumsURL);l&&(t.checksums_url=l)}return this.apiService.ws("visors/"+i+"/update/ws",t)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru),_e(ta),_e(Xv),_e(K1))},providedIn:"root"}),e}(),XJ=["firstInput"],J1=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.storageService=a,this.snackbarService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){this.form=this.formBuilder.group({label:[this.data.label]})},e.prototype.ngAfterViewInit=function(){var i=this;setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.save=function(){var i=this.form.get("label").value.trim();i!==this.data.label?(this.storageService.saveLabel(this.data.id,i,this.data.identifiedElementType),i?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(ta),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-edit-label"]],viewQuery:function(t,n){var a;(1&t&&_t(XJ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),H(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.save()}),F(8),H(9,"translate"),m(),m()),2&t&&(D("headline",U(1,4,"labeled-element.edit-label")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(6,6,"edit-label.label")),v(4),ye(U(9,8,"common.save")))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,ui],pipes:[wt],styles:[""]}),e}(),e$=["cancelButton"],t$=["confirmButton"];function n$(e,i){if(1&e&&(p(0,"div"),F(1),H(2,"translate"),m()),2&e){var t=i.$implicit;v(1),Ce(" - ",U(2,1,t)," ")}}function r$(e,i){if(1&e&&(p(0,"div",8),K(1,n$,3,3,"div",9),m()),2&e){var t=J();v(1),D("ngForOf",t.state!==t.confirmationStates.Done?t.data.list:t.doneList)}}function i$(e,i){if(1&e&&(p(0,"div",1),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.data.lowerText)," ")}}function a$(e,i){if(1&e){var t=nt();p(0,"app-button",10,11),we("action",function(){return Ae(t),J().closeModal()}),F(2),H(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.data.cancelButtonText)," ")}}var kh=function(e){return e.Asking="Asking",e.Processing="Processing",e.Done="Done",e}({}),o$=function(){function e(i,t){this.dialogRef=i,this.data=t,this.disableDismiss=!1,this.state=kh.Asking,this.confirmationStates=kh,this.operationAccepted=new mt,this.disableDismiss=!!t.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return e.prototype.ngAfterViewInit=function(){var i=this;this.data.cancelButtonText?setTimeout(function(){return i.cancelButton.focus()}):setTimeout(function(){return i.confirmButton.focus()})},e.prototype.ngOnDestroy=function(){this.operationAccepted.complete()},e.prototype.closeModal=function(){this.dialogRef.close()},e.prototype.sendOperationAcceptedEvent=function(){this.operationAccepted.emit()},e.prototype.showAsking=function(i){i&&(this.data=i),this.state=kh.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()},e.prototype.showProcessing=function(){this.state=kh.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()},e.prototype.showDone=function(i,t,n){var a=this;void 0===n&&(n=null),this.doneTitle=i||this.data.headerText,this.doneText=t,this.doneList=n,this.confirmButton.reset(),setTimeout(function(){return a.confirmButton.focus()}),this.state=kh.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur))},e.\u0275cmp=Ke({type:e,selectors:[["app-confirmation"]],viewQuery:function(t,n){if(1&t&&(_t(e$,5),_t(t$,5)),2&t){var a=void 0;it(a=at())&&(n.cancelButton=a.first),it(a=at())&&(n.confirmButton=a.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div",1),F(3),H(4,"translate"),m(),K(5,r$,2,1,"div",2),K(6,i$,3,3,"div",3),p(7,"div",4),K(8,a$,4,3,"app-button",5),p(9,"app-button",6,7),we("action",function(){return n.state===n.confirmationStates.Asking?n.sendOperationAcceptedEvent():n.closeModal()}),F(11),H(12,"translate"),m(),m(),m()),2&t&&(D("headline",U(1,7,n.state!==n.confirmationStates.Done?n.data.headerText:n.doneTitle))("disableDismiss",n.disableDismiss),v(3),Ce(" ",U(4,9,n.state!==n.confirmationStates.Done?n.data.text:n.doneText)," "),v(2),D("ngIf",n.data.list&&n.state!==n.confirmationStates.Done||n.doneList&&n.state===n.confirmationStates.Done),v(1),D("ngIf",n.data.lowerText&&n.state!==n.confirmationStates.Done),v(2),D("ngIf",n.data.cancelButtonText&&n.state!==n.confirmationStates.Done),v(3),Ce(" ",U(12,11,n.state!==n.confirmationStates.Done?n.data.confirmButtonText:"confirmation.close")," "))},directives:[vr,Ot,ui,xr],pipes:[wt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),e}(),ln=function(){function e(){}return e.createConfirmationDialog=function(i,t){var n={text:t,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},a=new Zn;return a.data=n,a.autoFocus=!1,a.width=Gt.smallModalWidth,i.open(o$,a)},e}();function l$(e,i){if(1&e&&(p(0,"mat-icon",6),F(1),m()),2&e){var t=J().$implicit;D("inline",!0),v(1),ye(t.icon)}}function u$(e,i){if(1&e){var t=nt();p(0,"div",2),p(1,"button",3),we("click",function(){var s=Ae(t).index;return J().closePopup(s+1)}),p(2,"div",4),K(3,l$,2,2,"mat-icon",5),p(4,"span"),F(5),H(6,"translate"),m(),m(),m(),m()}if(2&e){var n=i.$implicit;v(3),D("ngIf",n.icon),v(2),ye(U(6,2,n.label))}}var ji=function(){function e(i,t){this.data=i,this.dialogRef=t}return e.openDialog=function(i,t,n){var a=new Zn;return a.data={options:t,title:n},a.autoFocus=!1,a.width=Gt.smallModalWidth,i.open(e,a)},e.prototype.closePopup=function(i){this.dialogRef.close(i)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr))},e.\u0275cmp=Ke({type:e,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),K(2,u$,7,4,"div",1),m()),2&t&&(D("headline",U(1,3,n.data.title))("includeVerticalMargins",!1),v(2),D("ngForOf",n.data.options))},directives:[vr,xr,bi,Ot,Cn],pipes:[wt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),e}(),dr=function(e){return e.TextInput="TextInput",e.Select="Select",e}({}),Ch=function(){function e(i){this.dom=i}return e.prototype.copy=function(i){var t=null,n=!1;try{(t=this.dom.createElement("textarea")).style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",this.dom.body.appendChild(t),t.value=i,t.select(),this.dom.execCommand("copy"),n=!0}finally{t&&t.parentNode&&t.parentNode.removeChild(t)}return n},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(dt))}}),e}();function f$(e,i){if(1&e&&(Ge(0),p(1,"span",2),F(2),m(),qe()),2&e){var t=J();v(2),ye(t.shortText)}}function h$(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J();v(2),ye(t.text)}}var p$=function(){return{"tooltip-word-break":!0}},Sx=function(){function e(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return Object.defineProperty(e.prototype,"shortText",{get:function(){if(this.text.length>2*this.shortTextLength){var i=this.text.length;return this.text.slice(0,this.shortTextLength)+"..."+this.text.slice(i-this.shortTextLength,i)}return this.text},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(t,n){1&t&&(p(0,"div",0),K(1,f$,3,1,"ng-container",1),K(2,h$,3,1,"ng-container",1),m()),2&t&&(D("matTooltip",n.short&&n.showTooltip?n.text:"")("matTooltipClass",Yn(4,p$)),v(1),D("ngIf",n.short),v(1),D("ngIf",!n.short))},directives:[cr,Ot],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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),e}();function m$(e,i){if(1&e&&(p(0,"span"),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.labelComponents.prefix)," ")}}function v$(e,i){if(1&e&&(p(0,"span"),F(1),m()),2&e){var t=J();v(1),Ce(" ",t.labelComponents.prefixSeparator," ")}}function g$(e,i){if(1&e&&(p(0,"span"),F(1),m()),2&e){var t=J();v(1),Ce(" ",t.labelComponents.label," ")}}function _$(e,i){if(1&e&&(p(0,"span"),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.labelComponents.translatableLabel)," ")}}var y$=function(e){return{text:e}},b$=function(){return{"tooltip-word-break":!0}},k$=function(){return function(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}(),Ss=function(){function e(i,t,n,a){this.dialog=i,this.storageService=t,this.clipboardService=n,this.snackbarService=a,this.short=!1,this.shortTextLength=5,this.elementType=ea.Node,this.labelEdited=new mt}return Object.defineProperty(e.prototype,"id",{get:function(){return this.idInternal?this.idInternal:""},set:function(i){this.idInternal=i,this.labelComponents=e.getLabelComponents(this.storageService,this.id)},enumerable:!1,configurable:!0}),e.getLabelComponents=function(i,t){var n;n=!!i.getSavedVisibleLocalNodes().has(t);var a=new k$;return a.labelInfo=i.getLabelInfo(t),a.labelInfo&&a.labelInfo.label?(n&&(a.prefix="labeled-element.local-element",a.prefixSeparator=" - "),a.label=a.labelInfo.label):i.getSavedVisibleLocalNodes().has(t)?a.prefix="labeled-element.unnamed-local-visor":a.translatableLabel="labeled-element.unnamed-element",a},e.getCompleteLabel=function(i,t,n){var a=e.getLabelComponents(i,n);return(a.prefix?t.instant(a.prefix):"")+a.prefixSeparator+a.label+(a.translatableLabel?t.instant(a.translatableLabel):"")},e.prototype.ngOnDestroy=function(){this.labelEdited.complete()},e.prototype.processClick=function(){var i=this,t=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&t.push({icon:"close",label:"labeled-element.remove-label"}),ji.openDialog(this.dialog,t,"common.options").afterClosed().subscribe(function(n){if(1===n)i.clipboardService.copy(i.id)&&i.snackbarService.showDone("copy.copied");else if(3===n){var a=ln.createConfirmationDialog(i.dialog,"labeled-element.remove-label-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),i.storageService.saveLabel(i.id,null,i.elementType),i.snackbarService.showDone("edit-label.label-removed-warning"),i.labelEdited.emit()})}else if(2===n){var o=i.labelComponents.labelInfo;o||(o={id:i.id,label:"",identifiedElementType:i.elementType}),J1.openDialog(i.dialog,o).afterClosed().subscribe(function(s){s&&i.labelEdited.emit()})}})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(ta),N(Ch),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),we("click",function(o){return o.stopPropagation(),n.processClick()}),H(1,"translate"),p(2,"span",1),K(3,m$,3,3,"span",2),K(4,v$,2,1,"span",2),K(5,g$,2,1,"span",2),K(6,_$,3,3,"span",2),m(),Te(7,"br"),Te(8,"app-truncated-text",3),F(9," \xa0"),p(10,"mat-icon",4),F(11,"settings"),m(),m()),2&t&&(D("matTooltip",Ht(1,11,n.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",et(14,y$,n.id)))("matTooltipClass",Yn(16,b$)),v(3),D("ngIf",n.labelComponents&&n.labelComponents.prefix),v(1),D("ngIf",n.labelComponents&&n.labelComponents.prefixSeparator),v(1),D("ngIf",n.labelComponents&&n.labelComponents.label),v(1),D("ngIf",n.labelComponents&&n.labelComponents.translatableLabel),v(2),D("short",n.short)("showTooltip",!1)("shortTextLength",n.shortTextLength)("text",n.id),v(2),D("inline",!0))},directives:[cr,Ot,Sx,Cn],pipes:[wt],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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),e}(),Ln=function(){function e(i,t,n,a){this.properties=i,this.label=t,this.sortingMode=n,this.labelProperties=a}return Object.defineProperty(e.prototype,"id",{get:function(){return this.properties.join("")},enumerable:!1,configurable:!0}),e}(),un=function(e){return e.Text="Text",e.Number="Number",e.NumberReversed="NumberReversed",e.Boolean="Boolean",e}({}),td=function(){function e(i,t,n,a,o){this.dialog=i,this.translateService=t,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new Ie,this.sortableColumns=n,this.id=o,this.defaultColumnIndex=a,this.sortBy=n[a];var s=localStorage.getItem(this.columnStorageKeyPrefix+o);if(s){var l=n.find(function(u){return u.id===s});l&&(this.sortBy=l)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+o),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+o)}return Object.defineProperty(e.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentSortingColumn",{get:function(){return this.sortBy},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sortingInReverseOrder",{get:function(){return this.sortReverse},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataSorted",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentlySortingByLabel",{get:function(){return this.sortByLabel},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.dataUpdatedSubject.complete()},e.prototype.setTieBreakerColumnIndex=function(i){this.tieBreakerColumnIndex=i},e.prototype.setData=function(i){this.data=i,this.sortData()},e.prototype.changeSortingOrder=function(i){var t=this;if(this.sortBy===i||i.labelProperties)if(i.labelProperties){var n=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];ji.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(function(a){a&&t.changeSortingParams(i,a>2,a%2==0)})}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(i,!1,!1)},e.prototype.changeSortingParams=function(i,t,n){this.sortBy=i,this.sortByLabel=t,this.sortReverse=n,localStorage.setItem(this.columnStorageKeyPrefix+this.id,i.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()},e.prototype.openSortingOrderModal=function(){var i=this,t=[],n=[];this.sortableColumns.forEach(function(a){var o=i.translateService.instant(a.label);t.push({label:o}),n.push({sortBy:a,sortReverse:!1,sortByLabel:!1}),t.push({label:o+" "+i.translateService.instant("tables.inverted-order")}),n.push({sortBy:a,sortReverse:!0,sortByLabel:!1}),a.labelProperties&&(t.push({label:o+" "+i.translateService.instant("tables.label")}),n.push({sortBy:a,sortReverse:!1,sortByLabel:!0}),t.push({label:o+" "+i.translateService.instant("tables.label")+" "+i.translateService.instant("tables.inverted-order")}),n.push({sortBy:a,sortReverse:!0,sortByLabel:!0}))}),ji.openDialog(this.dialog,t,"tables.title").afterClosed().subscribe(function(a){a&&i.changeSortingParams(n[a-1].sortBy,n[a-1].sortByLabel,n[a-1].sortReverse)})},e.prototype.sortData=function(){var i=this;this.data&&(this.data.sort(function(t,n){var a=i.getSortResponse(i.sortBy,t,n,!0);return 0===a&&null!==i.tieBreakerColumnIndex&&i.sortableColumns[i.tieBreakerColumnIndex]!==i.sortBy&&(a=i.getSortResponse(i.sortableColumns[i.tieBreakerColumnIndex],t,n,!1)),0===a&&i.sortableColumns[i.defaultColumnIndex]!==i.sortBy&&(a=i.getSortResponse(i.sortableColumns[i.defaultColumnIndex],t,n,!1)),a}),this.dataUpdatedSubject.next())},e.prototype.getSortResponse=function(i,t,n,a){var s=t,l=n;(this.sortByLabel&&a&&i.labelProperties?i.labelProperties:i.properties).forEach(function(y){s=s[y],l=l[y]});var u=this.sortByLabel&&a?un.Text:i.sortingMode,d=0;return u===un.Text?d=this.sortReverse?l.localeCompare(s):s.localeCompare(l):u===un.NumberReversed?d=this.sortReverse?s-l:l-s:u===un.Number?d=this.sortReverse?l-s:s-l:u===un.Boolean&&(s&&!l?d=-1:!s&&l&&(d=1),d*=this.sortReverse?-1:1),d},e}(),C$=["trigger"],M$=["panel"];function w$(e,i){if(1&e&&(p(0,"span",8),F(1),m()),2&e){var t=J();v(1),ye(t.placeholder)}}function S$(e,i){if(1&e&&(p(0,"span",12),F(1),m()),2&e){var t=J(2);v(1),ye(t.triggerValue)}}function T$(e,i){1&e&&jn(0,0,["*ngSwitchCase","true"])}function D$(e,i){1&e&&(p(0,"span",9),K(1,S$,2,1,"span",10),K(2,T$,1,0,"ng-content",11),m()),2&e&&(D("ngSwitch",!!J().customTrigger),v(2),D("ngSwitchCase",!0))}function E$(e,i){if(1&e){var t=nt();p(0,"div",13),p(1,"div",14,15),we("@transformPanel.done",function(o){return Ae(t),J()._panelDoneAnimatingStream.next(o.toState)})("keydown",function(o){return Ae(t),J()._handleKeydown(o)}),jn(3,1),m(),m()}if(2&e){var n=J();D("@transformPanelWrap",void 0),v(1),function(e,i,t){no(ca,No,lc(ze(),e,i,t),!0)}("mat-select-panel ",n._getPanelTheme(),""),ha("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),D("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),Dt("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var L$=[[["mat-select-trigger"]],"*"],P$=["mat-select-trigger","*"],Tx={transformPanelWrap:gs("transformPanelWrap",[gi("* => void",Ij("@transformPanel",[xj()],{optional:!0}))]),transformPanel:gs("transformPanel",[Hi("void",bn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Hi("showing",bn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Hi("showing-multiple",bn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),gi("void => *",Yi("120ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void",Yi("100ms 25ms linear",bn({opacity:0})))])},Dx=0,Lx=new Ze("mat-select-scroll-strategy"),A$=new Ze("MAT_SELECT_CONFIG"),R$={provide:Lx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},F$=function e(i,t){c(this,e),this.source=i,this.value=t},N$=$c(o1(Xs(EP(function(){return function e(i,t,n,a,o){c(this,e),this._elementRef=i,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=a,this.ngControl=o}}())))),Px=new Ze("MatSelectTrigger"),Y$=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-select-trigger"]],features:[Lt([{provide:Px,useExisting:e}])]}),e}(),H$=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T,I,V,q,X,he,Se){var pe,Re,Ne,Xe;return c(this,n),(pe=t.call(this,u,l,y,T,V))._viewportRuler=a,pe._changeDetectorRef=o,pe._ngZone=s,pe._dir=d,pe._parentFormField=I,pe._liveAnnouncer=he,pe._defaultOptions=Se,pe._panelOpen=!1,pe._compareWith=function(st,bt){return st===bt},pe._uid="mat-select-".concat(Dx++),pe._triggerAriaLabelledBy=null,pe._destroy=new Ie,pe._onChange=function(){},pe._onTouched=function(){},pe._valueId="mat-select-value-".concat(Dx++),pe._panelDoneAnimatingStream=new Ie,pe._overlayPanelClass=(null===(Re=pe._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",pe._focused=!1,pe.controlType="mat-select",pe._required=!1,pe._multiple=!1,pe._disableOptionCentering=null!==(Xe=null===(Ne=pe._defaultOptions)||void 0===Ne?void 0:Ne.disableOptionCentering)&&void 0!==Xe&&Xe,pe.ariaLabel="",pe.optionSelectionChanges=Um(function(){var st=pe.options;return st?st.changes.pipe(_i(st),Zi(function(){return wi.apply(void 0,se(st.map(function(bt){return bt.onSelectionChange})))})):pe._ngZone.onStable.pipe(Qn(1),Zi(function(){return pe.optionSelectionChanges}))}),pe.openedChange=new mt,pe._openedStream=pe.openedChange.pipe(Ir(function(st){return st}),$e(function(){})),pe._closedStream=pe.openedChange.pipe(Ir(function(st){return!st}),$e(function(){})),pe.selectionChange=new mt,pe.valueChange=new mt,pe.ngControl&&(pe.ngControl.valueAccessor=O(pe)),null!=(null==Se?void 0:Se.typeaheadDebounceInterval)&&(pe._typeaheadDebounceInterval=Se.typeaheadDebounceInterval),pe._scrollStrategyFactory=X,pe._scrollStrategy=pe._scrollStrategyFactory(),pe.tabIndex=parseInt(q)||0,pe.id=pe.id,pe}return f(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(o){this._required=kn(o),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=kn(o)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(o){this._disableOptionCentering=kn(o)}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){(o!==this._value||this._multiple&&Array.isArray(o))&&(this.options&&this._setSelectionByValue(o),this._value=o)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(o){this._typeaheadDebounceInterval=yi(o)}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var o=this;this._selectionModel=new Hz(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(dv(),rn(this._destroy)).subscribe(function(){return o._panelDoneAnimating(o.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var o=this;this._initKeyManager(),this._selectionModel.changed.pipe(rn(this._destroy)).subscribe(function(s){s.added.forEach(function(l){return l.select()}),s.removed.forEach(function(l){return l.deselect()})}),this.options.changes.pipe(_i(null),rn(this._destroy)).subscribe(function(){o._resetOptions(),o._initializeSelection()})}},{key:"ngDoCheck",value:function(){var o=this._getTriggerAriaLabelledby();if(o!==this._triggerAriaLabelledBy){var s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?s.setAttribute("aria-labelledby",o):s.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(o){o.disabled&&this.stateChanges.next(),o.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(o){this.value=o}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var o=this._selectionModel.selected.map(function(s){return s.viewValue});return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}},{key:"_handleClosedKeydown",value:function(o){var s=o.keyCode,l=40===s||38===s||37===s||39===s,u=13===s||32===s,d=this._keyManager;if(!d.isTyping()&&u&&!Ms(o)||(this.multiple||o.altKey)&&l)o.preventDefault(),this.open();else if(!this.multiple){var y=this.selected;d.onKeydown(o);var T=this.selected;T&&y!==T&&this._liveAnnouncer.announce(T.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(o){var s=this._keyManager,l=o.keyCode,u=40===l||38===l,d=s.isTyping();if(u&&o.altKey)o.preventDefault(),this.close();else if(d||13!==l&&32!==l||!s.activeItem||Ms(o))if(!d&&this._multiple&&65===l&&o.ctrlKey){o.preventDefault();var y=this.options.some(function(I){return!I.disabled&&!I.selected});this.options.forEach(function(I){I.disabled||(y?I.select():I.deselect())})}else{var T=s.activeItemIndex;s.onKeydown(o),this._multiple&&u&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==T&&s.activeItem._selectViaInteraction()}else o.preventDefault(),s.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var o=this;this._overlayDir.positionChange.pipe(Qn(1)).subscribe(function(){o._changeDetectorRef.detectChanges(),o._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){o._setSelectionByValue(o.ngControl?o.ngControl.value:o._value),o.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(o){var s=this;if(this._selectionModel.selected.forEach(function(u){return u.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(function(u){return s._selectValue(u)}),this._sortValues();else{var l=this._selectValue(o);l?this._keyManager.updateActiveItem(l):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(o){var s=this,l=this.options.find(function(u){if(s._selectionModel.isSelected(u))return!1;try{return null!=u.value&&s._compareWith(u.value,o)}catch(d){return!1}});return l&&this._selectionModel.select(l),l}},{key:"_initKeyManager",value:function(){var o=this;this._keyManager=new FW(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(rn(this._destroy)).subscribe(function(){o.panelOpen&&(!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction(),o.focus(),o.close())}),this._keyManager.change.pipe(rn(this._destroy)).subscribe(function(){o._panelOpen&&o.panel?o._scrollOptionIntoView(o._keyManager.activeItemIndex||0):!o._panelOpen&&!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var o=this,s=wi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rn(s)).subscribe(function(l){o._onSelect(l.source,l.isUserInput),l.isUserInput&&!o.multiple&&o._panelOpen&&(o.close(),o.focus())}),wi.apply(void 0,se(this.options.map(function(l){return l._stateChanges}))).pipe(rn(s)).subscribe(function(){o._changeDetectorRef.markForCheck(),o.stateChanges.next()})}},{key:"_onSelect",value:function(o,s){var l=this._selectionModel.isSelected(o);null!=o.value||this._multiple?(l!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())):(o.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(o.value)),l!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;if(this.multiple){var s=this.options.toArray();this._selectionModel.sort(function(l,u){return o.sortComparator?o.sortComparator(l,u,s):s.indexOf(l)-s.indexOf(u)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(o){var s;s=this.multiple?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var o;return!this._panelOpen&&!this.disabled&&(null===(o=this.options)||void 0===o?void 0:o.length)>0}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_getPanelAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId(),l=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l}},{key:"_panelDoneAnimating",value:function(o){this.openedChange.emit(o)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(N$);return e.\u0275fac=function(t){return new(t||e)(N(fo),N(Nn),N(vt),N(Pv),N(pt),N(jr,8),N(_h,8),N(mr,8),N(W1,8),N(qo,10),$a("tabindex"),N(Lx),N(Dv),N(A$,8))},e.\u0275dir=Ve({type:e,viewQuery:function(t,n){var a;1&t&&(_t(C$,5),_t(M$,5),_t(nP,5)),2&t&&(it(a=at())&&(n.trigger=a.first),it(a=at())&&(n.panel=a.first),it(a=at())&&(n._overlayDir=a.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ht,Jn]}),e}(),wh=function(){var e=function(i){h(n,i);var t=C(n);function n(){var a;return c(this,n),(a=t.apply(this,arguments))._scrollTop=0,a._triggerFontSize=0,a._transformOrigin="top",a._offsetY=0,a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],a}return f(n,[{key:"_calculateOverlayScroll",value:function(o,s,l){var u=this._getItemHeight();return Math.min(Math.max(0,u*o-s+u/2),l)}},{key:"ngOnInit",value:function(){var o=this;E(x(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(rn(this._destroy)).subscribe(function(){o.panelOpen&&(o._triggerRect=o.trigger.nativeElement.getBoundingClientRect(),o._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var o=this;E(x(n.prototype),"_canOpen",this).call(this)&&(E(x(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Qn(1)).subscribe(function(){o._triggerFontSize&&o._overlayDir.overlayRef&&o._overlayDir.overlayRef.overlayElement&&(o._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(o._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(o){var s=RP(o,this.options,this.optionGroups),l=this._getItemHeight();this.panel.nativeElement.scrollTop=0===o&&1===s?0:function(e,i,t,n){return et+256?Math.max(0,e-256+i):t}((o+s)*l,l,this.panel.nativeElement.scrollTop)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(o){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),E(x(n.prototype),"_panelDoneAnimating",this).call(this,o)}},{key:"_getChangeEvent",value:function(o){return new F$(this,o)}},{key:"_calculateOverlayOffsetX",value:function(){var d,o=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),s=this._viewportRuler.getViewportSize(),l=this._isRtl(),u=this.multiple?56:32;if(this.multiple)d=40;else if(this.disableOptionCentering)d=16;else{var y=this._selectionModel.selected[0]||this.options.first;d=y&&y.group?32:16}l||(d*=-1);var T=0-(o.left+d-(l?u:0)),I=o.right+d-s.width+(l?0:u);T>0?d+=T+8:I>0&&(d-=I+8),this._overlayDir.offsetX=Math.round(d),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(o,s,l){var T,u=this._getItemHeight(),d=(u-this._triggerRect.height)/2,y=Math.floor(256/u);return this.disableOptionCentering?0:(T=0===this._scrollTop?o*u:this._scrollTop===l?(o-(this._getItemCount()-y))*u+(u-(this._getItemCount()*u-256)%u):s-u/2,Math.round(-1*T-d))}},{key:"_checkOverlayWithinViewport",value:function(o){var s=this._getItemHeight(),l=this._viewportRuler.getViewportSize(),u=this._triggerRect.top-8,d=l.height-this._triggerRect.bottom-8,y=Math.abs(this._offsetY),I=Math.min(this._getItemCount()*s,256)-y-this._triggerRect.height;I>d?this._adjustPanelUp(I,d):y>u?this._adjustPanelDown(y,u,o):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(o,s){var l=Math.round(o-s);this._scrollTop-=l,this._offsetY-=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(o,s,l){var u=Math.round(o-s);if(this._scrollTop+=u,this._offsetY+=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=l)return this._scrollTop=l,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var y,o=this._getItemHeight(),s=this._getItemCount(),l=Math.min(s*o,256),d=s*o-l;y=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),y+=RP(y,this.options,this.optionGroups);var T=l/2;this._scrollTop=this._calculateOverlayScroll(y,T,d),this._offsetY=this._calculateOverlayOffsetY(y,T,d),this._checkOverlayWithinViewport(d)}},{key:"_getOriginBasedOnOption",value:function(){var o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,l=Math.abs(this._offsetY)-s+o/2;return"50% ".concat(l,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(H$);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275cmp=Ke({type:e,selectors:[["mat-select"]],contentQueries:function(t,n,a){var o;1&t&&(ur(a,Px,5),ur(a,Qc,5),ur(a,u1,5)),2&t&&(it(o=at())&&(n.customTrigger=o.first),it(o=at())&&(n.options=o),it(o=at())&&(n.optionGroups=o))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,n){1&t&&we("keydown",function(o){return n._handleKeydown(o)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&t&&(Dt("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-describedby",n._ariaDescribedby||null)("aria-activedescendant",n._getAriaActiveDescendant()),Bt("mat-select-disabled",n.disabled)("mat-select-invalid",n.errorState)("mat-select-required",n.required)("mat-select-empty",n.empty)("mat-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Lt([{provide:$v,useExisting:e},{provide:l1,useExisting:e}]),ht],ngContentSelectors:P$,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,n){if(1&t&&(ri(L$),p(0,"div",0,1),we("click",function(){return n.toggle()}),p(3,"div",2),K(4,w$,2,1,"span",3),K(5,D$,3,2,"span",4),m(),p(6,"div",5),Te(7,"div",6),m(),m(),K(8,E$,4,14,"ng-template",7),we("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&t){var a=Lr(1);Dt("aria-owns",n.panelOpen?n.id+"-panel":null),v(3),D("ngSwitch",n.empty),Dt("id",n._valueId),v(1),D("ngSwitchCase",!0),v(1),D("ngSwitchCase",!1),v(3),D("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)("cdkConnectedOverlayOffsetY",n._offsetY)}},directives:[SW,Hl,If,nP,RD,Cr],styles:['.mat-select{display:inline-block;width:100%;outline:none}.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 400ms cubic-bezier(0.25, 0.8, 0.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;outline:0}.cdk-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 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.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}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Tx.transformPanelWrap,Tx.transformPanel]},changeDetection:0}),e}(),V$=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[R$],imports:[[Bo,oh,FP,mn],th,Qv,FP,mn]}),e}();function B$(e,i){if(1&e&&(Te(0,"input",7),H(1,"translate")),2&e){var t=J().$implicit;D("formControlName",t.keyNameInFiltersObject)("maxlength",t.maxlength)("placeholder",U(1,3,t.filterName))}}function j$(e,i){if(1&e&&(p(0,"div",12),Te(1,"div",13),m()),2&e){var t=J().$implicit,n=J(2).$implicit;nr("background-image: url('"+n.printableLabelGeneralSettings.defaultImage+"'); width: "+n.printableLabelGeneralSettings.imageWidth+"px; height: "+n.printableLabelGeneralSettings.imageHeight+"px;"),v(1),nr("background-image: url('"+t.image+"');")}}function U$(e,i){if(1&e&&(p(0,"mat-option",10),K(1,j$,2,4,"div",11),F(2),H(3,"translate"),m()),2&e){var t=i.$implicit,n=J(2).$implicit;D("value",t.value),v(1),D("ngIf",n.printableLabelGeneralSettings&&t.image),v(1),Ce(" ",U(3,3,t.label)," ")}}function z$(e,i){if(1&e&&(p(0,"mat-select",8),H(1,"translate"),K(2,U$,4,5,"mat-option",9),m()),2&e){var t=J().$implicit;D("formControlName",t.keyNameInFiltersObject)("placeholder",U(1,3,t.filterName)),v(2),D("ngForOf",t.printableLabelsForValues)}}function W$(e,i){if(1&e&&(Ge(0),p(1,"mat-form-field"),K(2,B$,2,5,"input",5),K(3,z$,3,5,"mat-select",6),m(),qe()),2&e){var t=i.$implicit,n=J();v(2),D("ngIf",t.type===n.filterFieldTypes.TextInput),v(1),D("ngIf",t.type===n.filterFieldTypes.Select)}}var G$=function(){function e(i,t,n){this.data=i,this.dialogRef=t,this.formBuilder=n,this.filterFieldTypes=dr}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this,t={};this.data.filterPropertiesList.forEach(function(n){t[n.keyNameInFiltersObject]=[i.data.currentFilters[n.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(t)},e.prototype.apply=function(){var i=this,t={};this.data.filterPropertiesList.forEach(function(n){t[n.keyNameInFiltersObject]=i.form.get(n.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(t)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),K(3,W$,4,2,"ng-container",2),m(),p(4,"app-button",3,4),we("action",function(){return n.apply()}),F(6),H(7,"translate"),m(),m()),2&t&&(D("headline",U(1,4,"filters.filter-action")),v(2),D("formGroup",n.form),v(1),D("ngForOf",n.data.filterPropertiesList),v(3),Ce(" ",U(7,6,"common.ok")," "))},directives:[vr,$r,Jr,mr,xr,ui,ki,Ot,aa,qr,Kr,zr,Bi,wh,Qc],pipes:[wt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),e}(),rd=function(){function e(i,t,n,a,o){var s=this;this.dialog=i,this.route=t,this.router=n,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new Ie,this.filterPropertiesList=a,this.currentFilters={},this.filterPropertiesList.forEach(function(l){l.keyNameInFiltersObject=o+"_"+l.keyNameInElementsArray,s.currentFilters[l.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(function(l){Object.keys(s.currentFilters).forEach(function(u){l.has(u)&&(s.currentFilters[u]=l.get(u))}),s.currentUrlQueryParamsInternal={},l.keys.forEach(function(u){s.currentUrlQueryParamsInternal[u]=l.get(u)}),s.filter()})}return Object.defineProperty(e.prototype,"currentFiltersTexts",{get:function(){return this.currentFiltersTextsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentUrlQueryParams",{get:function(){return this.currentUrlQueryParamsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataFiltered",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()},e.prototype.setData=function(i){this.data=i,this.filter()},e.prototype.removeFilters=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"filters.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.router.navigate([],{queryParams:{}})})},e.prototype.changeFilters=function(){var i=this;G$.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(function(n){n&&i.router.navigate([],{queryParams:n})})},e.prototype.filter=function(){var i=this;if(this.data){var t=void 0,n=!1;Object.keys(this.currentFilters).forEach(function(a){i.currentFilters[a]&&(n=!0)}),n?(t=function(e,i,t){if(e){var a=[];return Object.keys(i).forEach(function(o){if(i[o])for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return(!Kk(e)||e<0)&&(e=0),(!i||"function"!=typeof i.schedule)&&(i=zc),new me(function(t){return t.add(i.schedule(q$,e,{subscriber:t,counter:0,period:e})),t})}function q$(e){var i=e.subscriber,t=e.counter,n=e.period;i.next(t),this.schedule({subscriber:i,counter:t+1,period:n},n)}var K$=["primaryValueBar"],J$=Xl(function(){return function e(i){c(this,e),this._elementRef=i}}(),"primary"),$$=new Ze("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=vp(dt),i=e?e.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),Z$=0,X$=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u;c(this,n),(u=t.call(this,a))._ngZone=o,u._animationMode=s,u._isNoopAnimation=!1,u._value=0,u._bufferValue=0,u.animationEnd=new mt,u._animationEndSubscription=He.EMPTY,u.mode="determinate",u.progressbarId="mat-progress-bar-".concat(Z$++);var d=l?l.getPathname().split("#")[0]:"";return u._rectangleFillValue="url('".concat(d,"#").concat(u.progressbarId,"')"),u._isNoopAnimation="NoopAnimations"===s,u}return f(n,[{key:"value",get:function(){return this._value},set:function(o){this._value=xx(yi(o)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(o){this._bufferValue=xx(o||0)}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var o=this;this._ngZone.runOutsideAngular(function(){var s=o._primaryValueBar.nativeElement;o._animationEndSubscription=ks(s,"transitionend").pipe(Ir(function(l){return l.target===s})).subscribe(function(){("determinate"===o.mode||"buffer"===o.mode)&&o._ngZone.run(function(){return o.animationEnd.next({value:o.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),n}(J$);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Mr,8),N($$,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(t,n){var a;1&t&&_t(K$,5),2&t&&it(a=at())&&(n._primaryValueBar=a.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,n){2&t&&(Dt("aria-valuenow","indeterminate"===n.mode||"query"===n.mode?null:n.value)("mode",n.mode),Bt("_mat-animation-noopable",n._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[ht],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,n){1&t&&(p(0,"div",0),wa(),p(1,"svg",1),p(2,"defs"),p(3,"pattern",2),Te(4,"circle",3),m(),m(),Te(5,"rect",4),m(),Rd(),Te(6,"div",5),Te(7,"div",6,7),Te(9,"div",8),m()),2&t&&(v(3),D("id",n.progressbarId),v(2),Dt("fill",n._rectangleFillValue),v(1),D("ngStyle",n._bufferTransform()),v(1),D("ngStyle",n._primaryTransform()))},directives:[ND],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)}.cdk-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}.cdk-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}.cdk-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 2000ms 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 2000ms 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 2000ms 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 2000ms 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-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.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,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e}();function xx(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(i,Math.min(t,e))}var eQ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Bo,mn],mn]}),e}();function tQ(e,i){1&e&&(Ge(0),Te(1,"mat-spinner",7),F(2),H(3,"translate"),qe()),2&e&&(v(1),D("diameter",12),v(1),Ce(" ",U(3,2,"update.processing")," "))}function nQ(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.errorText)," ")}}function rQ(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,1===t.data.length?"update.no-update":"update.no-updates")," ")}}function iQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),F(5),H(6,"translate"),m(),m(),m()),2&e){var t=J();v(5),ye(t.currentNodeVersion?t.currentNodeVersion:U(6,1,"common.unknown"))}}function aQ(e,i){if(1&e&&(p(0,"div",9),p(1,"div",10),F(2,"-"),m(),p(3,"div",11),F(4),m(),m()),2&e){var t=i.$implicit,n=J(2);v(4),ye(n.nodesToUpdate[t].label)}}function oQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),H(3,"translate"),m(),p(4,"div",8),K(5,aQ,5,1,"div",12),m(),qe()),2&e){var t=J();v(2),Ce(" ",U(3,2,"update.already-updating")," "),v(3),D("ngForOf",t.indexesAlreadyBeingUpdated)}}function sQ(e,i){if(1&e&&(p(0,"span",15),F(1),H(2,"translate"),m()),2&e){var t=J(3);v(1),Ii("",U(2,2,"update.selected-channel")," ",t.customChannel,"")}}function lQ(e,i){if(1&e&&(p(0,"div",9),p(1,"div",10),F(2,"-"),m(),p(3,"div",11),F(4),H(5,"translate"),p(6,"a",13),F(7),m(),K(8,sQ,3,4,"span",14),m(),m()),2&e){var t=i.$implicit,n=J(2);v(4),Ce(" ",Ht(5,4,"update.version-change",t)," "),v(2),D("href",t.updateLink,Io),v(1),ye(t.updateLink),v(1),D("ngIf",n.customChannel)}}var uQ=function(e){return{number:e}};function cQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),H(3,"translate"),m(),p(4,"div",8),K(5,lQ,9,7,"div",12),m(),p(6,"div",1),F(7),H(8,"translate"),m(),qe()),2&e){var t=J();v(2),Ce(" ",Ht(3,3,t.updateAvailableText,et(8,uQ,t.nodesForUpdatesFound))," "),v(3),D("ngForOf",t.updatesFound),v(2),Ce(" ",U(8,6,"update.update-instructions")," ")}}function dQ(e,i){if(1&e&&(p(0,"div",9),p(1,"div",10),F(2,"-"),m(),p(3,"div",11),F(4),p(5,"span",17),F(6),H(7,"translate"),m(),m(),m()),2&e){var t=i.$implicit;v(4),Ce(" ",t.nodeLabel,": "),v(2),ye(U(7,2,t.errorMsg))}}function fQ(e,i){if(1&e&&(Ge(0),Te(1,"div",16),p(2,"div",1),F(3),H(4,"translate"),m(),p(5,"div",8),K(6,dQ,8,4,"div",12),m(),qe()),2&e){var t=J();v(3),Ce(" ",U(4,2,"update.with-error")," "),v(3),D("ngForOf",t.nodesWithError)}}function hQ(e,i){1&e&&Te(0,"mat-spinner",7),2&e&&D("diameter",12)}function pQ(e,i){1&e&&(p(0,"span",23),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce("\xa0(",U(2,1,"update.finished"),")"))}function mQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),K(5,hQ,1,1,"mat-spinner",20),F(6),p(7,"span",21),F(8),m(),K(9,pQ,3,3,"span",22),m(),m(),m()),2&e){var t=J(2).$implicit;v(5),D("ngIf",!t.updateProgressInfo.closed),v(1),Ce(" ",t.label," : "),v(2),ye(t.updateProgressInfo.rawMsg),v(1),D("ngIf",t.updateProgressInfo.closed)}}function vQ(e,i){1&e&&Te(0,"mat-spinner",7),2&e&&D("diameter",12)}function gQ(e,i){1&e&&(Ge(0),Te(1,"br"),p(2,"span",23),F(3),H(4,"translate"),m(),qe()),2&e&&(v(3),ye(U(4,1,"update.finished")))}function _Q(e,i){if(1&e&&(p(0,"div",24),p(1,"div",25),K(2,vQ,1,1,"mat-spinner",20),F(3),m(),Te(4,"mat-progress-bar",26),p(5,"div",21),F(6),H(7,"translate"),Te(8,"br"),F(9),H(10,"translate"),Te(11,"br"),F(12),H(13,"translate"),H(14,"translate"),K(15,gQ,5,3,"ng-container",2),m(),m()),2&e){var t=J(2).$implicit;v(2),D("ngIf",!t.updateProgressInfo.closed),v(1),Ce(" ",t.label," "),v(1),D("mode","determinate")("value",t.updateProgressInfo.progress),v(2),by(" ",U(7,14,"update.downloaded-file-name-prefix")," ",t.updateProgressInfo.fileName," (",t.updateProgressInfo.progress,"%) "),v(3),Ii(" ",U(10,16,"update.speed-prefix")," ",t.updateProgressInfo.speed," "),v(3),ky(" ",U(13,18,"update.time-downloading-prefix")," ",t.updateProgressInfo.elapsedTime," / ",U(14,20,"update.time-left-prefix")," ",t.updateProgressInfo.remainingTime," "),v(3),D("ngIf",t.updateProgressInfo.closed)}}function yQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),F(5),p(6,"span",17),F(7),H(8,"translate"),m(),m(),m(),m()),2&e){var t=J(2).$implicit;v(5),Ce(" ",t.label,": "),v(2),ye(U(8,2,t.updateProgressInfo.errorMsg))}}function bQ(e,i){if(1&e&&(Ge(0),K(1,mQ,10,4,"div",3),K(2,_Q,16,22,"div",19),K(3,yQ,9,4,"div",3),qe()),2&e){var t=J().$implicit;v(1),D("ngIf",!t.updateProgressInfo.errorMsg&&!t.updateProgressInfo.dataParsed),v(1),D("ngIf",!t.updateProgressInfo.errorMsg&&t.updateProgressInfo.dataParsed),v(1),D("ngIf",t.updateProgressInfo.errorMsg)}}function kQ(e,i){if(1&e&&(Ge(0),K(1,bQ,4,3,"ng-container",2),qe()),2&e){var t=i.$implicit;v(1),D("ngIf",t.update)}}function CQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),H(3,"translate"),m(),p(4,"div"),K(5,kQ,2,1,"ng-container",18),m(),qe()),2&e){var t=J();v(2),Ce(" ",U(3,2,"update.updating")," "),v(3),D("ngForOf",t.nodesToUpdate)}}function MQ(e,i){if(1&e){var t=nt();p(0,"app-button",27,28),we("action",function(){return Ae(t),J().closeModal()}),F(2),H(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.cancelButtonText)," ")}}function wQ(e,i){if(1&e){var t=nt();p(0,"app-button",29,30),we("action",function(){Ae(t);var o=J();return o.state===o.updatingStates.Asking?o.update():o.closeModal()}),F(2),H(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.confirmButtonText)," ")}}var vo=function(e){return e.InitialProcessing="InitialProcessing",e.NoUpdatesFound="NoUpdatesFound",e.Asking="Asking",e.Updating="Updating",e.Error="Error",e}({}),SQ=function(){return function(){this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}}(),Ix=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.nodeService=n,this.translateService=a,this.changeDetectorRef=o,this.state=vo.InitialProcessing,this.cancelButtonText="common.cancel",this.nodesWithError=[],this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(gr.Channel),this.updatingStates=vo}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngAfterViewInit=function(){this.startChecking()},e.prototype.startChecking=function(){var i=this;this.nodesToUpdate=[],this.data.forEach(function(n){i.nodesToUpdate.push({key:n.key,label:n.label,update:!1,hadErrorDuringInitialCheck:!1,updateProgressInfo:new SQ}),i.nodesToUpdate[i.nodesToUpdate.length-1].updateProgressInfo.rawMsg=i.translateService.instant("update.starting")});var t=0;this.initialCheckSubscriptions=[],this.nodesToUpdate.forEach(function(n,a){i.initialCheckSubscriptions.push(i.nodeService.checkIfUpdating(n.key).subscribe(function(o){o.running&&(i.indexesAlreadyBeingUpdated.push(a),i.nodesToUpdate[a].update=!0),(t+=1)===i.nodesToUpdate.length&&i.finishInitialCheck()},function(o){i.nodesWithError.push({nodeLabel:n.label,errorMsg:tn(o).translatableErrorMsg}),n.hadErrorDuringInitialCheck=!0,(t+=1)===i.nodesToUpdate.length&&i.finishInitialCheck()}))})},e.prototype.finishInitialCheck=function(){if(this.nodesWithError.length===this.nodesToUpdate.length)return this.changeState(vo.Error),void(this.errorText=this.nodesWithError[0].errorMsg);this.indexesAlreadyBeingUpdated.length===this.data.length-this.nodesWithError.length?this.update():this.checkUpdates()},e.prototype.checkUpdates=function(){var i=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var t=[];this.nodesToUpdate.forEach(function(n){!n.update&&!n.hadErrorDuringInitialCheck&&t.push(n)}),this.subscription=h1(t.map(function(n){return i.nodeService.checkUpdate(n.key)})).subscribe(function(n){var a=new Map;n.forEach(function(o,s){o&&o.available&&(i.nodesForUpdatesFound+=1,t[s].update=!0,a.has(o.current_version+o.available_version)||(i.updatesFound.push({currentVersion:o.current_version?o.current_version:i.translateService.instant("common.unknown"),newVersion:o.available_version,updateLink:o.release_url}),a.set(o.current_version+o.available_version,!0)))}),i.nodesForUpdatesFound>0?i.changeState(vo.Asking):0===i.indexesAlreadyBeingUpdated.length?(i.changeState(vo.NoUpdatesFound),1===i.data.length&&(i.currentNodeVersion=n[0].current_version)):i.update()},function(n){i.changeState(vo.Error),i.errorText=tn(n).translatableErrorMsg})},e.prototype.update=function(){var i=this;this.changeState(vo.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach(function(t,n){t.update&&i.progressSubscriptions.push(i.nodeService.update(t.key).subscribe(function(a){i.updateProgressInfo(a.status,t.updateProgressInfo)},function(a){t.updateProgressInfo.errorMsg=tn(a).translatableErrorMsg},function(){t.updateProgressInfo.closed=!0}))})},Object.defineProperty(e.prototype,"updateAvailableText",{get:function(){if(1===this.data.length)return"update.update-available";var i="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(i+="-additional"),i+(1===this.nodesForUpdatesFound?"-singular":"-plural")},enumerable:!1,configurable:!0}),e.prototype.updateProgressInfo=function(i,t){t.rawMsg=i,t.dataParsed=!1;var n=i.indexOf("Downloading"),a=i.lastIndexOf("("),o=i.lastIndexOf(")"),s=i.lastIndexOf("["),l=i.lastIndexOf("]"),u=i.lastIndexOf(":"),d=i.lastIndexOf("%");if(-1!==n&&-1!==a&&-1!==o&&-1!==s&&-1!==l&&-1!==u){var y=!1;a>o&&(y=!0),s>u&&(y=!0),u>l&&(y=!0),(d>a||d0),v(1),D("ngIf",n.state===n.updatingStates.Asking),v(1),D("ngIf",(n.state===n.updatingStates.Asking||n.state===n.updatingStates.NoUpdatesFound)&&n.nodesWithError.length>0),v(1),D("ngIf",n.state===n.updatingStates.Updating),v(2),D("ngIf",n.cancelButtonText),v(1),D("ngIf",n.confirmButtonText))},directives:[vr,Ot,iu,xr,X$,ui],pipes:[wt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),e}();function id(e){return function(i){return i.lift(new TQ(e,i))}}var TQ=function(){function e(i,t){c(this,e),this.notifier=i,this.source=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new DQ(t,this.notifier,this.source))}}]),e}(),DQ=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).notifier=a,s.source=o,s}return f(t,[{key:"error",value:function(a){if(!this.isStopped){var o=this.errors,s=this.retries,l=this.retriesSubscription;if(s)this.errors=null,this.retriesSubscription=null;else{o=new Ie;try{s=(0,this.notifier)(o)}catch(d){return E(x(t.prototype),"error",this).call(this,d)}l=An(this,s)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=l,o.next(a)}}},{key:"_unsubscribe",value:function(){var a=this.errors,o=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null),o&&(o.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(a,o,s,l,u){var d=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=d,this.source.subscribe(this)}}]),t}(_n),ad=function(){function e(i){this.apiService=i}return e.prototype.changeAppState=function(i,t,n){return this.apiService.put("visors/"+i+"/apps/"+encodeURIComponent(t),{status:n?1:0})},e.prototype.changeAppAutostart=function(i,t,n){return this.changeAppSettings(i,t,{autostart:n})},e.prototype.changeAppSettings=function(i,t,n){return this.apiService.put("visors/"+i+"/apps/"+encodeURIComponent(t),n)},e.prototype.getLogMessages=function(i,t,n){var o=SD(-1!==n?Date.now()-864e5*n:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/"+i+"/apps/"+encodeURIComponent(t)+"/logs?since="+o).pipe($e(function(s){return s.logs}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),rr=function(e){return e.None="None",e.Favorite="Favorite",e.Blocked="Blocked",e}({}),go=function(e){return e.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",e.OnlyBytes="OnlyBytes",e.OnlyBits="OnlyBits",e}({}),su=function(){function e(i){this.router=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Ya(1),this.historySubject=new Ya(1),this.favoritesSubject=new Ya(1),this.blockedSubject=new Ya(1)}return e.prototype.initialize=function(){var i=this;this.serversMap=new Map;var t=localStorage.getItem(this.savedServersStorageKey);if(t){var n=JSON.parse(t);n.serverList.forEach(function(a){i.serversMap.set(a.pk,a)}),this.savedDataVersion=n.version,n.selectedServerPk&&this.updateCurrentServerPk(n.selectedServerPk)}this.launchListEvents()},Object.defineProperty(e.prototype,"currentServer",{get:function(){return this.serversMap.get(this.currentServerPk)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentServerObservable",{get:function(){return this.currentServerSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"history",{get:function(){return this.historySubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"favorites",{get:function(){return this.favoritesSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blocked",{get:function(){return this.blockedSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.getSavedVersion=function(i,t){return t&&this.checkIfDataWasChanged(),this.serversMap.get(i)},e.prototype.getCheckIpSetting=function(){var i=localStorage.getItem(this.checkIpSettingStorageKey);return null==i||"false"!==i},e.prototype.setCheckIpSetting=function(i){localStorage.setItem(this.checkIpSettingStorageKey,i?"true":"false")},e.prototype.getDataUnitsSetting=function(){var i=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==i?go.BitsSpeedAndBytesVolume:i},e.prototype.setDataUnitsSetting=function(i){localStorage.setItem(this.dataUnitsSettingStorageKey,i)},e.prototype.updateFromDiscovery=function(i){var t=this;this.checkIfDataWasChanged(),i.forEach(function(n){if(t.serversMap.has(n.pk)){var a=t.serversMap.get(n.pk);a.countryCode=n.countryCode,a.name=n.name,a.location=n.location,a.note=n.note}}),this.saveData()},e.prototype.updateServer=function(i){this.serversMap.set(i.pk,i),this.cleanServers(),this.saveData()},e.prototype.processFromDiscovery=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i.pk);return t?(t.countryCode=i.countryCode,t.name=i.name,t.location=i.location,t.note=i.note,this.saveData(),t):{countryCode:i.countryCode,name:i.name,customName:null,pk:i.pk,lastUsed:0,inHistory:!1,flag:rr.None,location:i.location,personalNote:null,note:i.note,enteredManually:!1,usedWithPassword:!1}},e.prototype.processFromManual=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i.pk);return t?(t.customName=i.name,t.personalNote=i.note,t.enteredManually=!0,this.saveData(),t):{countryCode:"zz",name:"",customName:i.name,pk:i.pk,lastUsed:0,inHistory:!1,flag:rr.None,location:"",personalNote:i.note,note:"",enteredManually:!0,usedWithPassword:!1}},e.prototype.changeFlag=function(i,t){this.checkIfDataWasChanged();var n=this.serversMap.get(i.pk);n&&(i=n),i.flag!==t&&(i.flag=t,this.serversMap.has(i.pk)||this.serversMap.set(i.pk,i),this.cleanServers(),this.saveData())},e.prototype.removeFromHistory=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i);!t||!t.inHistory||(t.inHistory=!1,this.cleanServers(),this.saveData())},e.prototype.modifyCurrentServer=function(i){this.checkIfDataWasChanged(),i.pk!==this.currentServerPk&&(this.serversMap.has(i.pk)||this.serversMap.set(i.pk,i),this.updateCurrentServerPk(i.pk),this.cleanServers(),this.saveData())},e.prototype.compareCurrentServer=function(i){if(this.checkIfDataWasChanged(),i){if(!this.currentServerPk||this.currentServerPk!==i){if(this.currentServerPk=i,!this.serversMap.get(i)){var n=this.processFromManual({pk:i});this.serversMap.set(n.pk,n),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))},e.prototype.updateHistory=function(){var i=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var t=[];this.serversMap.forEach(function(a){a.inHistory&&t.push(a)}),t=t.sort(function(a,o){return o.lastUsed-a.lastUsed});var n=0;t.forEach(function(a){n=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)},e.prototype.getIp=function(){var i=this;return this.http.request("GET","https://api.ipify.org?format=json").pipe(id(function(t){return Js(t.pipe(ci(i.standardWaitTime),Qn(4)),Na(""))}),$e(function(t){return t&&t.ip?t.ip:null}))},e.prototype.getIpCountry=function(i){return this.http.request("GET","https://ip2c.org/"+i,{responseType:"text"}).pipe(id(function(t){return Js(t.pipe(ci(2e3),Qn(4)),Na(""))}),$e(function(t){var n=null;if(t){var a=t.split(";");4===a.length&&(n=a[3])}return n}))},e.prototype.changeServerUsingHistory=function(i,t){return this.requestedServer=i,this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.changeServerUsingDiscovery=function(i,t){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(i),this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.changeServerManually=function(i,t){return this.requestedServer=this.vpnSavedDataService.processFromManual(i),this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.updateRequestedServerPasswordSetting=function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var i=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);i&&(i.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(i))},e.prototype.changeServer=function(){return!this.working&&(this.stop()||this.processServerChange(),!0)},e.prototype.checkNewPk=function(i){return this.working?Ko.Busy:this.lastServiceState!==Ci.Off?i===this.vpnSavedDataService.currentServer.pk?Ko.SamePkRunning:Ko.MustStop:this.vpnSavedDataService.currentServer&&i===this.vpnSavedDataService.currentServer.pk?Ko.SamePkStopped:Ko.Ok},e.prototype.processServerChange=function(){var i=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var t={pk:this.requestedServer.pk};t.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,t).subscribe(function(){i.vpnSavedDataService.modifyCurrentServer(i.requestedServer),i.requestedServer=null,i.requestedPassword=null,i.working=!1,i.start()},function(n){n=tn(n),i.snackbarService.showError("vpn.server-change.backend-error",null,!1,n.originalServerErrorMsg),i.working=!1,i.requestedServer=null,i.requestedPassword=null,i.sendUpdate(),i.updateData()})},e.prototype.changeAppState=function(i){var t=this;if(!this.working){this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();var n={status:1};i?(this.lastServiceState=Ci.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Ci.Disconnecting,n.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,n).pipe(Xi(function(a){return t.getVpnClientState().pipe(Sn(function(o){if(o){if(i&&o.running)return Qe(!0);if(!i&&!o.running)return Qe(!0)}return Na(a)}))}),id(function(a){return Js(a.pipe(ci(t.standardWaitTime),Qn(3)),a.pipe(Sn(function(o){return Na(o)})))})).subscribe(function(){t.working=!1,i?(t.currentEventData.vpnClientAppData.running=!0,t.lastServiceState=Ci.Running,t.vpnSavedDataService.updateHistory()):(t.currentEventData.vpnClientAppData.running=!1,t.lastServiceState=Ci.Off),t.sendUpdate(),t.updateData(),!i&&t.requestedServer&&t.processServerChange()},function(a){a=tn(a),t.snackbarService.showError(t.lastServiceState===Ci.Starting?"vpn.status-page.problem-starting-error":t.lastServiceState===Ci.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,a.originalServerErrorMsg),t.working=!1,t.sendUpdate(),t.updateData()})}},e.prototype.continuallyUpdateData=function(i){var t=this;if(!this.working||this.lastServiceState===Ci.PerformingInitialCheck){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();var n=0;this.continuousUpdateSubscription=Qe(0).pipe(ci(i),Sn(function(){return t.getVpnClientState()}),id(function(a){return a.pipe(Sn(function(o){return t.errorSubject.next(!0),(o=tn(o)).originalError&&o.originalError.status&&401===o.originalError.status?Na(o):t.lastServiceState!==Ci.PerformingInitialCheck||n<4?(n+=1,Qe(o).pipe(ci(t.standardWaitTime))):Na(o)}))})).subscribe(function(a){a?(t.errorSubject.next(!1),t.lastServiceState===Ci.PerformingInitialCheck&&(t.working=!1),t.vpnSavedDataService.compareCurrentServer(a.serverPk),t.lastServiceState=a.running?Ci.Running:Ci.Off,t.currentEventData.vpnClientAppData=a,t.currentEventData.updateDate=Date.now(),t.sendUpdate()):t.lastServiceState===Ci.PerformingInitialCheck&&(t.router.navigate(["vpn","unavailable"]),t.nodeKey=null,t.updatesStopped=!0),t.continuallyUpdateData(t.standardWaitTime)},function(a){(a=tn(a)).originalError&&a.originalError.status&&401===a.originalError.status||(t.router.navigate(["vpn","unavailable"]),t.nodeKey=null),t.updatesStopped=!0})}},e.prototype.stopContinuallyUpdatingData=function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()},e.prototype.getVpnClientState=function(){var t,i=this,n=new nu;return n.vpnKeyForAuth=this.nodeKey,this.apiService.get("visors/"+this.nodeKey+"/summary",n).pipe(Sn(function(a){var o;if(a&&a.overview&&a.overview.apps&&a.overview.apps.length>0&&a.overview.apps.forEach(function(u){u.name===i.vpnClientAppName&&(o=u)}),o&&((t=new LQ).running=1===o.status,t.connectionDuration=o.connection_duration,t.appState=Pn.Stopped,t.running?o.detailed_status===Pn.Connecting?t.appState=Pn.Connecting:o.detailed_status===Pn.Running?t.appState=Pn.Running:o.detailed_status===Pn.ShuttingDown?t.appState=Pn.ShuttingDown:o.detailed_status===Pn.Reconnecting&&(t.appState=Pn.Reconnecting):2===o.status&&(t.lastErrorMsg=o.detailed_status,t.lastErrorMsg||(t.lastErrorMsg=i.translateService.instant("vpn.status-page.unknown-error"))),t.killswitch=!1,o.args&&o.args.length>0))for(var s=0;s0){var o=new PQ;a.forEach(function(s){o.latency+=s.latency/a.length,o.uploadSpeed+=s.upload_speed/a.length,o.downloadSpeed+=s.download_speed/a.length,o.totalUploaded+=s.bandwidth_sent,o.totalDownloaded+=s.bandwidth_received,s.error&&(o.error=s.error),s.connection_duration>o.connectionDuration&&(o.connectionDuration=s.connection_duration)}),(!i.connectionHistoryPk||i.connectionHistoryPk!==t.serverPk)&&(i.connectionHistoryPk=t.serverPk,i.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],i.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],i.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),o.latency=Math.round(o.latency),o.uploadSpeed=Math.round(o.uploadSpeed),o.downloadSpeed=Math.round(o.downloadSpeed),o.totalUploaded=Math.round(o.totalUploaded),o.totalDownloaded=Math.round(o.totalDownloaded),i.uploadSpeedHistory.splice(0,1),i.uploadSpeedHistory.push(o.uploadSpeed),o.uploadSpeedHistory=i.uploadSpeedHistory,i.downloadSpeedHistory.splice(0,1),i.downloadSpeedHistory.push(o.downloadSpeed),o.downloadSpeedHistory=i.downloadSpeedHistory,i.latencyHistory.splice(0,1),i.latencyHistory.push(o.latency),o.latencyHistory=i.latencyHistory,t.connectionData=o}return t}))},e.prototype.sendUpdate=function(){this.currentEventData.serviceState=this.lastServiceState,this.currentEventData.busy=this.working,this.stateSubject.next(this.currentEventData)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru),_e(ad),_e(Zt),_e(su),_e(Ks),_e(xn),_e(si))},providedIn:"root"}),e}(),OQ=["firstInput"],xQ=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.snackbarService=a,this.vpnSavedDataService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){var i=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);i=i||this.data.server;var t=this.form.get("value").value;t!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?i.customName=t:i.personalNote=t,this.vpnSavedDataService.updateServer(i),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(xn),N(su))},e.\u0275cmp=Ke({type:e,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(t,n){var a;(1&t&&_t(OQ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),H(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.process()}),F(8),H(9,"translate"),m(),m()),2&t&&(D("headline",U(1,4,"vpn.server-options.edit-value."+(n.data.editName?"name":"note")+"-title")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(6,6,"vpn.server-options.edit-value."+(n.data.editName?"name":"note")+"-label")),v(4),Ce(" ",U(9,8,"vpn.server-options.edit-value.apply-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,ui],pipes:[wt],styles:[""]}),e}(),IQ=["firstInput"],Ax=function(){function e(i,t,n){this.dialogRef=i,this.data=t,this.formBuilder=n}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({password:["",this.data?void 0:En.required]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){this.dialogRef.close("-"+this.form.get("password").value)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(t,n){var a;(1&t&&_t(IQ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:11,consts:[[3,"headline"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),H(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.process()}),F(8),H(9,"translate"),m(),m()),2&t&&(D("headline",U(1,5,"vpn.server-list.password-dialog.title")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(6,7,"vpn.server-list.password-dialog.password"+(n.data?"-if-any":"")+"-label")),v(3),D("disabled",!n.form.valid),v(1),Ce(" ",U(9,9,"vpn.server-list.password-dialog.continue-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ui],pipes:[wt],styles:[""]}),e}(),Wr=function(){function e(){}return e.changeCurrentPk=function(i){this.currentPk=i},e.setDefaultTabForServerList=function(i){sessionStorage.setItem(e.serverListTabStorageKey,i)},Object.defineProperty(e,"vpnTabsData",{get:function(){var i=sessionStorage.getItem(e.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:i?["/vpn",this.currentPk,"servers",i,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]},enumerable:!1,configurable:!0}),e.getLatencyValueString=function(i){return i<1e3?"time-in-ms":"time-in-segs"},e.getPrintableLatency=function(i){return i<1e3?i+"":(i/1e3).toFixed(1)},e.processServerChange=function(i,t,n,a,o,s,l,u,d,y,T){var I;if(u&&(d||y)||d&&(u||y)||y&&(u||d))throw new Error("Invalid call");if(u)I=u.pk;else if(d)I=d.pk;else{if(!y)throw new Error("Invalid call");I=y.pk}var V=n.getSavedVersion(I,!0),q=V&&(T||V.usedWithPassword),X=t.checkNewPk(I);if(X!==Ko.Busy)if(X!==Ko.SamePkRunning||q)if(X===Ko.MustStop||X===Ko.SamePkRunning&&q){var he=ln.createConfirmationDialog(o,"vpn.server-change.change-server-while-connected-confirmation");he.componentInstance.operationAccepted.subscribe(function(){he.componentInstance.closeModal(),u?t.changeServerUsingHistory(u,T):d?t.changeServerUsingDiscovery(d,T):y&&t.changeServerManually(y,T),e.redirectAfterServerChange(i,s,l)})}else if(X!==Ko.SamePkStopped||q)u?t.changeServerUsingHistory(u,T):d?t.changeServerUsingDiscovery(d,T):y&&t.changeServerManually(y,T),e.redirectAfterServerChange(i,s,l);else{var Se=ln.createConfirmationDialog(o,"vpn.server-change.start-same-server-confirmation");Se.componentInstance.operationAccepted.subscribe(function(){Se.componentInstance.closeModal(),y&&V&&n.processFromManual(y),t.start(),e.redirectAfterServerChange(i,s,l)})}else a.showWarning("vpn.server-change.already-selected-warning");else a.showError("vpn.server-change.busy-error")},e.redirectAfterServerChange=function(i,t,n){t&&t.close(),i.navigate(["vpn",n,"status"])},e.openServerOptions=function(i,t,n,a,o,s){var l=[],u=[];return i.usedWithPassword?(l.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),u.push(201),l.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),u.push(202)):i.enteredManually&&(l.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),u.push(202)),l.push({icon:"edit",label:"vpn.server-options.edit-name"}),u.push(101),l.push({icon:"subject",label:"vpn.server-options.edit-label"}),u.push(102),(!i||i.flag!==rr.Favorite)&&(l.push({icon:"star",label:"vpn.server-options.make-favorite"}),u.push(1)),i&&i.flag===rr.Favorite&&(l.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),u.push(-1)),(!i||i.flag!==rr.Blocked)&&(l.push({icon:"pan_tool",label:"vpn.server-options.block"}),u.push(2)),i&&i.flag===rr.Blocked&&(l.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),u.push(-2)),i&&i.inHistory&&(l.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),u.push(-3)),ji.openDialog(s,l,"common.options").afterClosed().pipe(Sn(function(d){if(d){var y=n.getSavedVersion(i.pk,!0);if(i=y||i,u[d-=1]>200){if(201===u[d]){var T=!1,I=ln.createConfirmationDialog(s,"vpn.server-options.connect-without-password-confirmation");return I.componentInstance.operationAccepted.subscribe(function(){T=!0,e.processServerChange(t,a,n,o,s,null,e.currentPk,i,null,null,null),I.componentInstance.closeModal()}),I.afterClosed().pipe($e(function(){return T}))}return Ax.openDialog(s,!1).afterClosed().pipe($e(function(q){return!(!q||"-"===q||(e.processServerChange(t,a,n,o,s,null,e.currentPk,i,null,null,q.substr(1)),0))}))}if(u[d]>100)return xQ.openDialog(s,{editName:101===u[d],server:i}).afterClosed();if(1===u[d])return e.makeFavorite(i,n,o,s);if(-1===u[d])return n.changeFlag(i,rr.None),o.showDone("vpn.server-options.remove-from-favorites-done"),Qe(!0);if(2===u[d])return e.blockServer(i,n,a,o,s);if(-2===u[d])return n.changeFlag(i,rr.None),o.showDone("vpn.server-options.unblock-done"),Qe(!0);if(-3===u[d])return e.removeFromHistory(i,n,o,s)}return Qe(!1)}))},e.removeFromHistory=function(i,t,n,a){var o=!1,s=ln.createConfirmationDialog(a,"vpn.server-options.remove-from-history-confirmation");return s.componentInstance.operationAccepted.subscribe(function(){o=!0,t.removeFromHistory(i.pk),n.showDone("vpn.server-options.remove-from-history-done"),s.componentInstance.closeModal()}),s.afterClosed().pipe($e(function(){return o}))},e.makeFavorite=function(i,t,n,a){if(i.flag!==rr.Blocked)return t.changeFlag(i,rr.Favorite),n.showDone("vpn.server-options.make-favorite-done"),Qe(!0);var o=!1,s=ln.createConfirmationDialog(a,"vpn.server-options.make-favorite-confirmation");return s.componentInstance.operationAccepted.subscribe(function(){o=!0,t.changeFlag(i,rr.Favorite),n.showDone("vpn.server-options.make-favorite-done"),s.componentInstance.closeModal()}),s.afterClosed().pipe($e(function(){return o}))},e.blockServer=function(i,t,n,a,o){if(i.flag!==rr.Favorite&&(!t.currentServer||t.currentServer.pk!==i.pk))return t.changeFlag(i,rr.Blocked),a.showDone("vpn.server-options.block-done"),Qe(!0);var s=!1,l=t.currentServer&&t.currentServer.pk===i.pk,d=ln.createConfirmationDialog(o,i.flag!==rr.Favorite?"vpn.server-options.block-selected-confirmation":l?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return d.componentInstance.operationAccepted.subscribe(function(){s=!0,t.changeFlag(i,rr.Blocked),a.showDone("vpn.server-options.block-done"),l&&n.stop(),d.componentInstance.closeModal()}),d.afterClosed().pipe($e(function(){return s}))},e.serverListTabStorageKey="ServerListTab",e.currentPk="",e}(),AQ=["mat-menu-item",""];function RQ(e,i){1&e&&(wa(),p(0,"svg",2),Te(1,"polygon",3),m())}var Rx=["*"];function FQ(e,i){if(1&e){var t=nt();p(0,"div",0),we("keydown",function(o){return Ae(t),J()._handleKeydown(o)})("click",function(){return Ae(t),J().closed.emit("click")})("@transformMenu.start",function(o){return Ae(t),J()._onAnimationStart(o)})("@transformMenu.done",function(o){return Ae(t),J()._onAnimationDone(o)}),p(1,"div",1),jn(2),m(),m()}if(2&e){var n=J();D("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Dt("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var tg={transformMenu:gs("transformMenu",[Hi("void",bn({opacity:0,transform:"scale(0.8)"})),gi("void => enter",Yi("120ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:1,transform:"scale(1)"}))),gi("* => void",Yi("100ms 25ms linear",bn({opacity:0})))]),fadeInItems:gs("fadeInItems",[Hi("showing",bn({opacity:1})),gi("void => *",[bn({opacity:0}),Yi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Fx=new Ze("MatMenuContent"),$1=new Ze("MAT_MENU_PANEL"),NQ=$c(Xs(function(){return function e(){c(this,e)}}())),Ts=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._elementRef=a,d._focusMonitor=s,d._parentMenu=l,d._changeDetectorRef=u,d.role="menuitem",d._hovered=new Ie,d._focused=new Ie,d._highlighted=!1,d._triggersSubmenu=!1,l&&l.addItem&&l.addItem(O(d)),d}return f(n,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s,l=this._elementRef.nativeElement.cloneNode(!0),u=l.querySelectorAll("mat-icon, .material-icons"),d=0;d0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Qn(1)).subscribe(function(){return n._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(n){var a=this._keyManager;if(a.setFocusOrigin(n).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(n){var a=this,o=Math.min(this._baseElevation+n,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(u){return u.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,o=this._classList;o["mat-menu-before"]="before"===n,o["mat-menu-after"]="after"===n,o["mat-menu-above"]="above"===a,o["mat-menu-below"]="below"===a}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(n){this._animationDone.next(n),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var n=this;this._allItems.changes.pipe(_i(this._allItems)).subscribe(function(a){n._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===n})),n._directDescendantItems.notifyOnChanges()})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Nx))},e.\u0275dir=Ve({type:e,contentQueries:function(t,n,a){var o;1&t&&(ur(a,Fx,5),ur(a,Ts,5),ur(a,Ts,4)),2&t&&(it(o=at())&&(n.lazyContent=o.first),it(o=at())&&(n._allItems=o),it(o=at())&&(n.items=o))},viewQuery:function(t,n){var a;1&t&&_t(Vr,5),2&t&&it(a=at())&&(n.templateRef=a.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),sd=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;return c(this,n),(l=t.call(this,a,o,s))._elevationPrefix="mat-elevation-z",l._baseElevation=4,l}return n}(Sh);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Nx))},e.\u0275cmp=Ke({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&Dt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Lt([{provide:$1,useExisting:e}]),ht],ngContentSelectors:Rx,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(ri(),K(0,FQ,3,6,"ng-template"))},directives:[Cr],styles:["mat-menu{display:none}.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}.cdk-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:none;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}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}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}\n"],encapsulation:2,data:{animation:[tg.transformMenu,tg.fadeInItems]},changeDetection:0}),e}(),Yx=new Ze("mat-menu-scroll-strategy"),Hx={provide:Yx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Bx=$l({passive:!0}),ld=function(){var e=function(){function i(t,n,a,o,s,l,u,d){var y=this;c(this,i),this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=u,this._focusMonitor=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=He.EMPTY,this._hoverSubscription=He.EMPTY,this._menuCloseSubscription=He.EMPTY,this._handleTouchStart=function(T){i1(T)||(y._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new mt,this.onMenuOpen=this.menuOpened,this.menuClosed=new mt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Sh?s:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Bx),l&&(l._triggersSubmenu=this.triggersSubmenu())}return f(i,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(n){this.menu=n}},{key:"menu",get:function(){return this._menu},set:function(n){var a=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Bx),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var n=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig();this._setPosition(o.positionStrategy),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return n.closeMenu()}),this._initMenu(),this.menu instanceof Sh&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(n,a){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var n;null===(n=this._overlayRef)||void 0===n||n.updatePosition()}},{key:"_destroyMenu",value:function(n){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Sh?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Ir(function(s){return"void"===s.toState}),Qn(1),rn(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var n=0,a=this.menu.parentMenu;a;)n++,a=a.parentMenu;this.menu.setElevation(n)}}},{key:"_setIsMenuOpen",value:function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new ih({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(n){var a=this;this.menu.setPositionClasses&&n.positionChanges.subscribe(function(o){a.menu.setPositionClasses("start"===o.connectionPair.overlayX?"after":"before","top"===o.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(n){var o=te("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],d=te("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),y=d[0],T=d[1],I=y,V=T,q=s,X=l,he=0;this.triggersSubmenu()?(X=s="before"===this.menu.xPosition?"start":"end",l=q="end"===s?"start":"end",he="bottom"===y?8:-8):this.menu.overlapTrigger||(I="top"===y?"bottom":"top",V="top"===T?"bottom":"top"),n.withPositions([{originX:s,originY:I,overlayX:q,overlayY:y,offsetY:he},{originX:l,originY:I,overlayX:X,overlayY:y,offsetY:he},{originX:s,originY:V,overlayX:q,overlayY:T,offsetY:-he},{originX:l,originY:V,overlayX:X,overlayY:T,offsetY:-he}])}},{key:"_menuClosingActions",value:function(){var n=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments();return wi(a,this._parentMaterialMenu?this._parentMaterialMenu.closed:Qe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ir(function(u){return u!==n._menuItemInstance}),Ir(function(){return n._menuOpen})):Qe(),o)}},{key:"_handleMousedown",value:function(n){r1(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}},{key:"_handleKeydown",value:function(n){var a=n.keyCode;(13===a||32===a)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var n=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ir(function(a){return a===n._menuItemInstance&&!a.disabled}),ci(0,qk)).subscribe(function(){n._openedBy="mouse",n.menu instanceof Sh&&n.menu._isAnimating?n.menu._animationDone.pipe(Qn(1),ci(0,qk),rn(n._parentMaterialMenu._hovered())).subscribe(function(){return n.openMenu()}):n.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Qs(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(kr),N(Yx),N($1,8),N(Ts,10),N(jr,8),N(ho))},e.\u0275dir=Ve({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,n){1&t&&we("mousedown",function(o){return n._handleMousedown(o)})("keydown",function(o){return n._handleKeydown(o)})("click",function(o){return n._handleClick(o)}),2&t&&Dt("aria-expanded",n.menuOpen||null)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),jx=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Hx],imports:[mn]}),e}(),BQ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Hx],imports:[[Bo,mn,lh,oh,jx],th,mn,jx]}),e}(),ud=function(e){return e[e.Seconds=0]="Seconds",e[e.Minutes=1]="Minutes",e[e.Hours=2]="Hours",e[e.Days=3]="Days",e[e.Weeks=4]="Weeks",e}({}),jQ=function(){return function(){}}(),Ux=function(){function e(){}return e.getElapsedTime=function(i){var t=new jQ;t.timeRepresentation=ud.Seconds,t.totalMinutes=Math.floor(i/60).toString(),t.translationVarName="second";var n=1;i>=60&&i<3600?(t.timeRepresentation=ud.Minutes,n=60,t.translationVarName="minute"):i>=3600&&i<86400?(t.timeRepresentation=ud.Hours,n=3600,t.translationVarName="hour"):i>=86400&&i<604800?(t.timeRepresentation=ud.Days,n=86400,t.translationVarName="day"):i>=604800&&(t.timeRepresentation=ud.Weeks,n=604800,t.translationVarName="week");var a=Math.floor(i/n);return t.elapsedTime=a.toString(),(t.timeRepresentation===ud.Seconds||a>1)&&(t.translationVarName=t.translationVarName+"s"),t},e}();function zQ(e,i){1&e&&Te(0,"mat-spinner",5),2&e&&D("diameter",14)}function WQ(e,i){1&e&&Te(0,"mat-spinner",6),2&e&&D("diameter",18)}function GQ(e,i){1&e&&(p(0,"mat-icon",9),F(1,"refresh"),m()),2&e&&D("inline",!0)}function qQ(e,i){1&e&&(p(0,"mat-icon",10),F(1,"warning"),m()),2&e&&D("inline",!0)}function KQ(e,i){if(1&e&&(Ge(0),K(1,GQ,2,1,"mat-icon",7),K(2,qQ,2,1,"mat-icon",8),qe()),2&e){var t=J();v(1),D("ngIf",!t.showAlert),v(1),D("ngIf",t.showAlert)}}var zx=function(e){return{time:e}};function JQ(e,i){if(1&e&&(p(0,"span",11),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),ye(Ht(2,1,"refresh-button."+t.elapsedTime.translationVarName,et(4,zx,t.elapsedTime.elapsedTime)))}}var $Q=function(e){return{"grey-button-background":e}},QQ=function(){function e(){this.refeshRate=-1}return Object.defineProperty(e.prototype,"secondsSinceLastUpdate",{set:function(i){this.elapsedTime=Ux.getElapsedTime(i)},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(t,n){1&t&&(p(0,"button",0),H(1,"translate"),K(2,zQ,1,1,"mat-spinner",1),K(3,WQ,1,1,"mat-spinner",2),K(4,KQ,3,2,"ng-container",3),K(5,JQ,3,6,"span",4),m()),2&t&&(D("disabled",n.showLoading)("ngClass",et(10,$Q,!n.showLoading))("matTooltip",n.showAlert?Ht(1,7,"refresh-button.error-tooltip",et(12,zx,n.refeshRate)):""),v(2),D("ngIf",n.showLoading),v(1),D("ngIf",n.showLoading),v(1),D("ngIf",!n.showLoading),v(1),D("ngIf",n.elapsedTime))},directives:[bi,Cr,cr,Ot,iu,Cn],pipes:[wt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;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}"]}),e}(),Th=function(){function e(){}return e.prototype.transform=function(i,t){var a,n=!0;t?t.showPerSecond?t.useBits?(a=e.measurementsPerSecInBits,n=!1):a=e.measurementsPerSec:t.useBits?(a=e.accumulatedMeasurementsInBits,n=!1):a=e.accumulatedMeasurements:a=e.accumulatedMeasurements;var o=new G1.BigNumber(i);n||(o=o.multipliedBy(8));for(var s=a[0],l=0;o.dividedBy(1024).isGreaterThan(1);)o=o.dividedBy(1024),s=a[l+=1];var u="";return(!t||!!t.showValue)&&(u=t&&t.limitDecimals?new G1.BigNumber(o).decimalPlaces(1).toString():o.toFixed(2)),(!t||!!t.showValue&&!!t.showUnit)&&(u+=" "),(!t||!!t.showUnit)&&(u+=s),u},e.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],e.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],e.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],e.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Dr({name:"autoScale",type:e,pure:!0}),e}();function ZQ(e,i){if(1&e){var t=nt();p(0,"button",23),we("click",function(){return Ae(t),J().requestAction(null)}),p(1,"mat-icon"),F(2,"chevron_left"),m(),m()}}function XQ(e,i){1&e&&(Ge(0),Te(1,"img",24),qe())}function eZ(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.titleParts[t.titleParts.length-1])," ")}}var tZ=function(e){return{transparent:e}};function nZ(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",26),we("click",function(){var s=Ae(t).$implicit;return J(2).requestAction(s.actionName)}),p(2,"mat-icon",27),F(3),m(),F(4),H(5,"translate"),m(),qe()}if(2&e){var n=i.$implicit;v(1),D("disabled",n.disabled),v(1),D("ngClass",et(6,tZ,n.disabled)),v(1),ye(n.icon),v(1),Ce(" ",U(5,4,n.name)," ")}}function rZ(e,i){1&e&&Te(0,"div",28)}function iZ(e,i){if(1&e&&(Ge(0),K(1,nZ,6,8,"ng-container",25),K(2,rZ,1,0,"div",9),qe()),2&e){var t=J();v(1),D("ngForOf",t.optionsData),v(1),D("ngIf",t.returnText)}}function aZ(e,i){1&e&&Te(0,"div",28)}function oZ(e,i){1&e&&Te(0,"img",31),2&e&&D("src","assets/img/lang/"+J(2).language.iconName,Io)}function sZ(e,i){if(1&e){var t=nt();p(0,"div",29),we("click",function(){return Ae(t),J().openLanguageWindow()}),K(1,oZ,1,1,"img",30),F(2),H(3,"translate"),m()}if(2&e){var n=J();v(1),D("ngIf",n.language),v(1),Ce(" ",U(3,2,n.language?n.language.name:"")," ")}}function lZ(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"a",33),we("click",function(){return Ae(t),J().requestAction(null)}),H(2,"translate"),p(3,"mat-icon",34),F(4,"chevron_left"),m(),m(),m()}if(2&e){var n=J();v(1),D("matTooltip",U(2,2,n.returnText)),v(2),D("inline",!0)}}function uZ(e,i){if(1&e&&(p(0,"span",35),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.titleParts[t.titleParts.length-1])," ")}}function cZ(e,i){1&e&&Te(0,"img",36)}var dZ=function(e,i){return{"d-lg-none":e,"d-none d-md-inline-block":i}},Wx=function(e,i){return{"mouse-disabled":e,"grey-button-background":i}};function fZ(e,i){if(1&e&&(p(0,"div",27),p(1,"a",37),p(2,"mat-icon",34),F(3),m(),p(4,"span"),F(5),H(6,"translate"),m(),m(),m()),2&e){var t=i.$implicit,n=i.index,a=J();D("ngClass",Dn(9,dZ,t.onlyIfLessThanLg,1!==a.tabsData.length)),v(1),D("disabled",n===a.selectedTabIndex)("routerLink",t.linkParts)("ngClass",Dn(12,Wx,a.disableMouse,!a.disableMouse&&n!==a.selectedTabIndex)),v(1),D("inline",!0),v(1),ye(t.icon),v(2),ye(U(6,7,t.label))}}var hZ=function(e){return{"d-none":e}};function pZ(e,i){if(1&e){var t=nt();p(0,"div",38),p(1,"button",39),we("click",function(){return Ae(t),J().openTabSelector()}),p(2,"mat-icon",34),F(3),m(),p(4,"span"),F(5),H(6,"translate"),m(),p(7,"mat-icon",34),F(8,"keyboard_arrow_down"),m(),m(),m()}if(2&e){var n=J();D("ngClass",et(8,hZ,1===n.tabsData.length)),v(1),D("ngClass",Dn(10,Wx,n.disableMouse,!n.disableMouse)),v(1),D("inline",!0),v(1),ye(n.tabsData[n.selectedTabIndex].icon),v(2),ye(U(6,6,n.tabsData[n.selectedTabIndex].label)),v(2),D("inline",!0)}}function mZ(e,i){if(1&e){var t=nt();p(0,"app-refresh-button",43),we("click",function(){return Ae(t),J(2).sendRefreshEvent()}),m()}if(2&e){var n=J(2);D("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.showLoading)("showAlert",n.showAlert)("refeshRate",n.refeshRate)}}function vZ(e,i){if(1&e&&(p(0,"div",40),K(1,mZ,1,4,"app-refresh-button",41),p(2,"button",42),p(3,"mat-icon",34),F(4,"menu"),m(),m(),m()),2&e){var t=J(),n=Lr(12);v(1),D("ngIf",t.showUpdateButton),v(1),D("matMenuTriggerFor",n),v(1),D("inline",!0)}}function gZ(e,i){if(1&e){var t=nt();p(0,"div",51),p(1,"div",52),we("click",function(){return Ae(t),J(2).openLanguageWindow()}),Te(2,"img",53),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J(2);v(2),D("src","assets/img/lang/"+n.language.iconName,Io),v(1),Ce(" ",U(4,2,n.language?n.language.name:"")," ")}}function _Z(e,i){1&e&&(p(0,"div",54),H(1,"translate"),p(2,"mat-icon",34),F(3,"warning"),m(),F(4),H(5,"translate"),m()),2&e&&(D("matTooltip",U(1,3,"vpn.connection-error.info")),v(2),D("inline",!0),v(2),Ce(" ",U(5,5,"vpn.connection-error.text")," "))}function yZ(e,i){1&e&&(p(0,"div",61),p(1,"mat-icon",59),F(2,"brightness_1"),m(),m()),2&e&&(v(1),D("inline",!0))}var bZ=function(e,i){return{"animation-container":e,"d-none":i}},kZ=function(e){return{time:e}},Gx=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:e}};function CZ(e,i){if(1&e&&(p(0,"table",55),p(1,"tr"),p(2,"td",56),H(3,"translate"),p(4,"div",27),p(5,"div",57),p(6,"div",58),p(7,"mat-icon",59),F(8,"brightness_1"),m(),F(9),H(10,"translate"),m(),m(),m(),K(11,yZ,3,1,"div",60),p(12,"mat-icon",59),F(13,"brightness_1"),m(),F(14),H(15,"translate"),m(),p(16,"td",56),H(17,"translate"),p(18,"mat-icon",34),F(19,"swap_horiz"),m(),F(20),H(21,"translate"),m(),m(),p(22,"tr"),p(23,"td",56),H(24,"translate"),p(25,"mat-icon",34),F(26,"arrow_upward"),m(),F(27),H(28,"autoScale"),m(),p(29,"td",56),H(30,"translate"),p(31,"mat-icon",34),F(32,"arrow_downward"),m(),F(33),H(34,"autoScale"),m(),m(),m()),2&e){var t=J(2);v(2),pa(t.vpnData.stateClass+" state-td"),D("matTooltip",U(3,18,t.vpnData.state+"-info")),v(2),D("ngClass",Dn(39,bZ,t.showVpnStateAnimation,!t.showVpnStateAnimation)),v(3),D("inline",!0),v(2),Ce(" ",U(10,20,t.vpnData.state)," "),v(2),D("ngIf",t.showVpnStateAnimatedDot),v(1),D("inline",!0),v(2),Ce(" ",U(15,22,t.vpnData.state)," "),v(2),D("matTooltip",U(17,24,"vpn.connection-info.latency-info")),v(2),D("inline",!0),v(2),Ce(" ",Ht(21,26,"common."+t.getLatencyValueString(t.vpnData.latency),et(42,kZ,t.getPrintableLatency(t.vpnData.latency)))," "),v(3),D("matTooltip",U(24,29,"vpn.connection-info.upload-info")),v(2),D("inline",!0),v(2),Ce(" ",Ht(28,31,t.vpnData.uploadSpeed,et(44,Gx,t.showVpnDataStatsInBits))," "),v(2),D("matTooltip",U(30,34,"vpn.connection-info.download-info")),v(2),D("inline",!0),v(2),Ce(" ",Ht(34,36,t.vpnData.downloadSpeed,et(46,Gx,t.showVpnDataStatsInBits))," ")}}function MZ(e,i){1&e&&Te(0,"mat-spinner",62),2&e&&D("diameter",20)}function wZ(e,i){if(1&e&&(p(0,"div"),p(1,"div",44),K(2,gZ,5,4,"div",45),Te(3,"div",46),K(4,_Z,6,7,"div",47),m(),p(5,"div",48),K(6,CZ,35,48,"table",49),K(7,MZ,1,1,"mat-spinner",50),m(),m()),2&e){var t=J();v(2),D("ngIf",!t.hideLanguageButton&&t.language),v(2),D("ngIf",t.errorsConnectingToVpn),v(2),D("ngIf",t.vpnData),v(1),D("ngIf",!t.vpnData)}}function SZ(e,i){1&e&&(p(0,"div",63),p(1,"div",64),p(2,"mat-icon",34),F(3,"error_outline"),m(),F(4),H(5,"translate"),m(),p(6,"div",65),F(7),H(8,"translate"),m(),m()),2&e&&(v(2),D("inline",!0),v(2),Ce(" ",U(5,3,"vpn.remote-access-title")," "),v(3),Ce(" ",U(8,5,"vpn.remote-access-text")," "))}var qx=function(e,i){return{"d-lg-none":e,"d-none":i}},TZ=function(e){return{"normal-height":e}},DZ=function(e,i){return{"d-none d-lg-flex":e,"d-flex":i}},lu=function(){function e(i,t,n,a,o){this.languageService=i,this.dialog=t,this.router=n,this.vpnClientService=a,this.vpnSavedDataService=o,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new mt,this.optionSelected=new mt,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}return Object.defineProperty(e.prototype,"localVpnKey",{set:function(i){this.localVpnKeyInternal=i,i?this.startGettingVpnInfo():this.stopGettingVpnInfo()},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var i=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(function(n){i.language=n})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(function(n){i.hideLanguageButton=!(n.length>1)}));var t=window.location.hostname;!t.toLowerCase().includes("localhost")&&!t.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)},e.prototype.ngOnDestroy=function(){this.langSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()},e.prototype.startGettingVpnInfo=function(){var i=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(function(t){t&&(i.vpnData={state:"",stateClass:"",latency:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.latency:0,downloadSpeed:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.uploadSpeed:0},t.vpnClientAppData.appState===Pn.Stopped?(i.vpnData.state="vpn.connection-info.state-disconnected",i.vpnData.stateClass="red-clear-text"):t.vpnClientAppData.appState===Pn.Connecting?(i.vpnData.state="vpn.connection-info.state-connecting",i.vpnData.stateClass="yellow-clear-text"):t.vpnClientAppData.appState===Pn.Running?(i.vpnData.state="vpn.connection-info.state-connected",i.vpnData.stateClass="green-clear-text"):t.vpnClientAppData.appState===Pn.ShuttingDown?(i.vpnData.state="vpn.connection-info.state-disconnecting",i.vpnData.stateClass="yellow-clear-text"):t.vpnClientAppData.appState===Pn.Reconnecting&&(i.vpnData.state="vpn.connection-info.state-reconnecting",i.vpnData.stateClass="yellow-clear-text"),i.initialVpnStateObtained?i.lastVpnState!==i.vpnData.state&&(i.lastVpnState=i.vpnData.state,i.showVpnStateAnimation=!1,i.showVpnStateChangeAnimationSubscription&&i.showVpnStateChangeAnimationSubscription.unsubscribe(),i.showVpnStateChangeAnimationSubscription=Qe(0).pipe(ci(1)).subscribe(function(){return i.showVpnStateAnimation=!0})):(i.initialVpnStateObtained=!0,i.lastVpnState=i.vpnData.state),i.showVpnStateAnimatedDot=!1,i.showVpnStateAnimatedDotSubscription&&i.showVpnStateAnimatedDotSubscription.unsubscribe(),i.showVpnStateAnimatedDotSubscription=Qe(0).pipe(ci(1)).subscribe(function(){return i.showVpnStateAnimatedDot=!0}))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(function(t){i.errorsConnectingToVpn=t})},e.prototype.stopGettingVpnInfo=function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()},e.prototype.getLatencyValueString=function(i){return Wr.getLatencyValueString(i)},e.prototype.getPrintableLatency=function(i){return Wr.getPrintableLatency(i)},e.prototype.requestAction=function(i){this.optionSelected.emit(i)},e.prototype.openLanguageWindow=function(){Mx.openDialog(this.dialog)},e.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},e.prototype.openTabSelector=function(){var i=this,t=[];this.tabsData.forEach(function(n){t.push({label:n.label,icon:n.icon})}),ji.openDialog(this.dialog,t,"tabs-window.title").afterClosed().subscribe(function(n){n&&(n-=1)!==i.selectedTabIndex&&i.router.navigate(i.tabsData[n].linkParts)})},e.prototype.updateVpnDataStatsUnit=function(){var i=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=i===go.BitsSpeedAndBytesVolume||i===go.OnlyBits},e.\u0275fac=function(t){return new(t||e)(N(Vv),N(Gn),N(Zt),N(od),N(su))},e.\u0275cmp=Ke({type:e,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(t,n){if(1&t&&(p(0,"div",0),p(1,"div",1),K(2,ZQ,3,0,"button",2),m(),p(3,"div",3),K(4,XQ,2,0,"ng-container",4),K(5,eZ,3,3,"ng-container",4),m(),p(6,"div",1),p(7,"button",5),p(8,"mat-icon"),F(9,"menu"),m(),m(),m(),m(),Te(10,"div",6),p(11,"mat-menu",7,8),K(13,iZ,3,2,"ng-container",4),K(14,aZ,1,0,"div",9),K(15,sZ,4,4,"div",10),m(),p(16,"div",11),p(17,"div",12),p(18,"div",13),K(19,lZ,5,4,"div",14),K(20,uZ,3,3,"span",15),K(21,cZ,1,0,"img",16),m(),p(22,"div",17),K(23,fZ,7,15,"div",18),K(24,pZ,9,13,"div",19),Te(25,"div",20),K(26,vZ,5,3,"div",21),m(),m(),K(27,wZ,8,4,"div",4),m(),K(28,SZ,9,7,"div",22)),2&t){var a=Lr(12);D("ngClass",Dn(20,qx,!n.showVpnInfo,n.showVpnInfo)),v(2),D("ngIf",n.returnText),v(2),D("ngIf",!n.titleParts||n.titleParts.length<2),v(1),D("ngIf",n.titleParts&&n.titleParts.length>=2),v(2),D("matMenuTriggerFor",a),v(3),D("ngClass",Dn(23,qx,!n.showVpnInfo,n.showVpnInfo)),v(1),D("overlapTrigger",!1),v(2),D("ngIf",n.optionsData&&n.optionsData.length>=1),v(1),D("ngIf",!n.hideLanguageButton&&n.optionsData&&n.optionsData.length>=1),v(1),D("ngIf",!n.hideLanguageButton),v(1),D("ngClass",et(26,TZ,!n.showVpnInfo)),v(2),D("ngClass",Dn(28,DZ,!n.showVpnInfo,n.showVpnInfo)),v(1),D("ngIf",n.returnText),v(1),D("ngIf",!n.showVpnInfo),v(1),D("ngIf",n.showVpnInfo),v(2),D("ngForOf",n.tabsData),v(1),D("ngIf",n.tabsData&&n.tabsData[n.selectedTabIndex]),v(2),D("ngIf",!n.showVpnInfo),v(1),D("ngIf",n.showVpnInfo),v(1),D("ngIf",n.showVpnInfo&&n.remoteAccess)}},directives:[Cr,Ot,bi,ld,Cn,sd,xr,Ts,cr,RG,Kl,QQ,iu],pipes:[wt,Th],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.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[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.122)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.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}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:bold}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;-webkit-animation:state-icon-animation 1s linear 1;animation:state-icon-animation 1s linear 1}@-webkit-keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;-webkit-animation:state-animation 1s linear 1;animation:state-animation 1s linear 1;opacity:0}@-webkit-keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 0 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),e}(),Kx=function(){return["1"]};function EZ(e,i){if(1&e&&(p(0,"a",10),p(1,"mat-icon",11),F(2,"chevron_left"),m(),F(3),H(4,"translate"),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(Yn(6,Kx)))("queryParams",t.queryParams),v(1),D("inline",!0),v(2),Ce(" ",U(4,4,"paginator.first")," ")}}function LZ(e,i){if(1&e&&(p(0,"a",12),p(1,"mat-icon",11),F(2,"chevron_left"),m(),p(3,"span",13),F(4),H(5,"translate"),m(),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(Yn(6,Kx)))("queryParams",t.queryParams),v(1),D("inline",!0),v(3),ye(U(5,4,"paginator.first"))}}var al=function(e){return[e]};function PZ(e,i){if(1&e&&(p(0,"a",10),p(1,"div"),p(2,"mat-icon",11),F(3,"chevron_left"),m(),m(),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-1).toString())))("queryParams",t.queryParams),v(2),D("inline",!0)}}function OZ(e,i){if(1&e&&(p(0,"a",10),F(1),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-2).toString())))("queryParams",t.queryParams),v(1),ye(t.currentPage-2)}}function xZ(e,i){if(1&e&&(p(0,"a",14),F(1),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-1).toString())))("queryParams",t.queryParams),v(1),ye(t.currentPage-1)}}function IZ(e,i){if(1&e&&(p(0,"a",14),F(1),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+1).toString())))("queryParams",t.queryParams),v(1),ye(t.currentPage+1)}}function AZ(e,i){if(1&e&&(p(0,"a",10),F(1),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+2).toString())))("queryParams",t.queryParams),v(1),ye(t.currentPage+2)}}function RZ(e,i){if(1&e&&(p(0,"a",10),p(1,"div"),p(2,"mat-icon",11),F(3,"chevron_right"),m(),m(),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+1).toString())))("queryParams",t.queryParams),v(2),D("inline",!0)}}function FZ(e,i){if(1&e&&(p(0,"a",10),F(1),H(2,"translate"),p(3,"mat-icon",11),F(4,"chevron_right"),m(),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(6,al,t.numberOfPages.toString())))("queryParams",t.queryParams),v(1),Ce(" ",U(2,4,"paginator.last")," "),v(2),D("inline",!0)}}function NZ(e,i){if(1&e&&(p(0,"a",12),p(1,"mat-icon",11),F(2,"chevron_right"),m(),p(3,"span",13),F(4),H(5,"translate"),m(),m()),2&e){var t=J();D("routerLink",t.linkParts.concat(et(6,al,t.numberOfPages.toString())))("queryParams",t.queryParams),v(1),D("inline",!0),v(3),ye(U(5,4,"paginator.last"))}}var Jx=function(e){return{number:e}};function YZ(e,i){if(1&e&&(p(0,"div",15),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),ye(Ht(2,1,"paginator.total",et(4,Jx,t.numberOfPages)))}}function HZ(e,i){if(1&e&&(p(0,"div",16),F(1),H(2,"translate"),m()),2&e){var t=J();v(1),ye(Ht(2,1,"paginator.total",et(4,Jx,t.numberOfPages)))}}var cd=function(){function e(i,t){this.dialog=i,this.router=t,this.linkParts=[""],this.queryParams={}}return e.prototype.openSelectionDialog=function(){for(var i=this,t=[],n=1;n<=this.numberOfPages;n++)t.push({label:n.toString()});ji.openDialog(this.dialog,t,"paginator.select-page-title").afterClosed().subscribe(function(a){a&&i.router.navigate(i.linkParts.concat([a.toString()]),{queryParams:i.queryParams})})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"div",3),F(4,"\xa0"),Te(5,"br"),F(6,"\xa0"),m(),K(7,EZ,5,7,"a",4),K(8,LZ,6,7,"a",5),K(9,PZ,4,5,"a",4),K(10,OZ,2,5,"a",4),K(11,xZ,2,5,"a",6),p(12,"a",7),we("click",function(){return n.openSelectionDialog()}),F(13),m(),K(14,IZ,2,5,"a",6),K(15,AZ,2,5,"a",4),K(16,RZ,4,5,"a",4),K(17,FZ,5,8,"a",4),K(18,NZ,6,8,"a",5),m(),m(),K(19,YZ,3,6,"div",8),K(20,HZ,3,6,"div",9),m()),2&t&&(v(7),D("ngIf",n.currentPage>3),v(1),D("ngIf",n.currentPage>2),v(1),D("ngIf",n.currentPage>1),v(1),D("ngIf",n.currentPage>2),v(1),D("ngIf",n.currentPage>1),v(2),ye(n.currentPage),v(1),D("ngIf",n.currentPage3),v(1),D("ngIf",n.numberOfPages>2))},directives:[Ot,Kl,Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:rgba(248,249,249,.502);text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),e}(),$x=function(){return["start.title"]};function VZ(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3),m(),Te(3,"app-loading-indicator",4),m()),2&e){var t=J();v(2),D("titleParts",Yn(4,$x))("tabsData",t.tabsData)("selectedTabIndex",t.showDmsgInfo?1:0)("showUpdateButton",!1)}}function BZ(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function jZ(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function UZ(e,i){if(1&e&&(p(0,"div",23),p(1,"span"),F(2),H(3,"translate"),m(),K(4,BZ,3,3,"ng-container",24),K(5,jZ,2,1,"ng-container",24),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function zZ(e,i){if(1&e){var t=nt();p(0,"div",20),we("click",function(){return Ae(t),J(2).dataFilterer.removeFilters()}),K(1,UZ,6,5,"div",21),p(2,"div",22),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J(2);v(1),D("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),ye(U(4,2,"filters.press-to-remove"))}}function WZ(e,i){if(1&e){var t=nt();p(0,"mat-icon",25),we("click",function(){return Ae(t),J(2).dataFilterer.changeFilters()}),H(1,"translate"),F(2,"filter_list"),m()}2&e&&D("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function GZ(e,i){1&e&&(p(0,"mat-icon",26),F(1,"more_horiz"),m()),2&e&&(J(),D("matMenuTriggerFor",Lr(12)))}var Qx=function(){return["/nodes","list"]},Zx=function(){return["/nodes","dmsg"]};function qZ(e,i){if(1&e&&Te(0,"app-paginator",27),2&e){var t=J(2);D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",t.showDmsgInfo?Yn(5,Zx):Yn(4,Qx))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function KZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function JZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function $Z(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function QZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function ZZ(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function XZ(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",42),F(2),m(),K(3,ZZ,2,0,"ng-container",24),qe()),2&e){var t=J(5);v(1),D("inline",!0),v(1),ye(t.dataSorter.sortingArrow),v(1),D("ngIf",t.dataSorter.currentlySortingByLabel)}}function eX(e,i){if(1&e){var t=nt();p(0,"th",38),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.dmsgServerSortData)}),F(1),H(2,"translate"),K(3,XZ,4,3,"ng-container",24),m()}if(2&e){var n=J(4);v(1),Ce(" ",U(2,2,"nodes.dmsg-server")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.dmsgServerSortData)}}function tX(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(5);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function nX(e,i){if(1&e){var t=nt();p(0,"th",38),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.pingSortData)}),F(1),H(2,"translate"),K(3,tX,2,2,"mat-icon",35),m()}if(2&e){var n=J(4);v(1),Ce(" ",U(2,2,"nodes.ping")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.pingSortData)}}function rX(e,i){1&e&&(p(0,"mat-icon",49),H(1,"translate"),F(2,"star"),m()),2&e&&D("inline",!0)("matTooltip",U(1,2,"nodes.hypervisor-info"))}function iX(e,i){if(1&e){var t=nt();p(0,"app-labeled-element-text",51),we("labelEdited",function(){return Ae(t),J(6).forceDataRefresh()}),m()}if(2&e){var n=J(2).$implicit,a=J(4);Tn("id",n.dmsgServerPk),D("short",!0)("elementType",a.labeledElementTypes.DmsgServer)}}function aX(e,i){if(1&e&&(p(0,"td"),K(1,iX,1,3,"app-labeled-element-text",50),m()),2&e){var t=J().$implicit;v(1),D("ngIf",t.dmsgServerPk)}}var Xx=function(e){return{time:e}};function oX(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J(2).$implicit;v(1),Ce(" ",Ht(2,1,"common.time-in-ms",et(4,Xx,t.roundTripPing))," ")}}function sX(e,i){if(1&e&&(p(0,"td"),K(1,oX,3,6,"ng-container",24),m()),2&e){var t=J().$implicit;v(1),D("ngIf",t.dmsgServerPk)}}function lX(e,i){if(1&e){var t=nt();p(0,"button",47),we("click",function(){Ae(t);var a=J().$implicit;return J(4).open(a)}),H(1,"translate"),p(2,"mat-icon",42),F(3,"chevron_right"),m(),m()}2&e&&(D("matTooltip",U(1,2,"nodes.view-node")),v(2),D("inline",!0))}function uX(e,i){if(1&e){var t=nt();p(0,"button",47),we("click",function(){Ae(t);var a=J().$implicit;return J(4).deleteNode(a)}),H(1,"translate"),p(2,"mat-icon"),F(3,"close"),m(),m()}2&e&&D("matTooltip",U(1,1,"nodes.delete-node"))}function cX(e,i){if(1&e){var t=nt();p(0,"tr",43),we("click",function(){var l=Ae(t).$implicit;return J(4).open(l)}),p(1,"td"),K(2,rX,3,4,"mat-icon",44),m(),p(3,"td"),Te(4,"span",45),H(5,"translate"),m(),p(6,"td"),F(7),m(),p(8,"td"),F(9),m(),K(10,aX,2,1,"td",24),K(11,sX,2,1,"td",24),p(12,"td",46),we("click",function(s){return s.stopPropagation()}),p(13,"button",47),we("click",function(){var l=Ae(t).$implicit;return J(4).copyToClipboard(l)}),H(14,"translate"),p(15,"mat-icon",42),F(16,"filter_none"),m(),m(),p(17,"button",47),we("click",function(){var l=Ae(t).$implicit;return J(4).showEditLabelDialog(l)}),H(18,"translate"),p(19,"mat-icon",42),F(20,"short_text"),m(),m(),K(21,lX,4,4,"button",48),K(22,uX,4,3,"button",48),m(),m()}if(2&e){var n=i.$implicit,a=J(4);v(2),D("ngIf",n.isHypervisor),v(2),pa(a.nodeStatusClass(n,!0)),D("matTooltip",U(5,14,a.nodeStatusText(n,!0))),v(3),Ce(" ",n.label," "),v(2),Ce(" ",n.localPk," "),v(1),D("ngIf",a.showDmsgInfo),v(1),D("ngIf",a.showDmsgInfo),v(2),D("matTooltip",U(14,16,a.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),v(2),D("inline",!0),v(2),D("matTooltip",U(18,18,"labeled-element.edit-label")),v(2),D("inline",!0),v(2),D("ngIf",n.online),v(1),D("ngIf",!n.online)}}function dX(e,i){if(1&e){var t=nt();p(0,"table",32),p(1,"tr"),p(2,"th",33),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.hypervisorSortData)}),H(3,"translate"),p(4,"mat-icon",34),F(5,"star_outline"),m(),K(6,KZ,2,2,"mat-icon",35),m(),p(7,"th",33),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.stateSortData)}),H(8,"translate"),Te(9,"span",36),K(10,JZ,2,2,"mat-icon",35),m(),p(11,"th",37),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(12),H(13,"translate"),K(14,$Z,2,2,"mat-icon",35),m(),p(15,"th",38),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.keySortData)}),F(16),H(17,"translate"),K(18,QZ,2,2,"mat-icon",35),m(),K(19,eX,4,4,"th",39),K(20,nX,4,4,"th",39),Te(21,"th",40),m(),K(22,cX,23,20,"tr",41),m()}if(2&e){var n=J(3);v(2),D("matTooltip",U(3,11,"nodes.hypervisor")),v(4),D("ngIf",n.dataSorter.currentSortingColumn===n.hypervisorSortData),v(1),D("matTooltip",U(8,13,"nodes.state-tooltip")),v(3),D("ngIf",n.dataSorter.currentSortingColumn===n.stateSortData),v(2),Ce(" ",U(13,15,"nodes.label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.labelSortData),v(2),Ce(" ",U(17,17,"nodes.key")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.keySortData),v(1),D("ngIf",n.showDmsgInfo),v(1),D("ngIf",n.showDmsgInfo),v(2),D("ngForOf",n.dataSource)}}function fX(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.label")))}function hX(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.inverted-order")))}function pX(e,i){1&e&&(p(0,"div",57),p(1,"mat-icon",62),F(2,"star"),m(),F(3,"\xa0 "),p(4,"span",63),F(5),H(6,"translate"),m(),m()),2&e&&(v(1),D("inline",!0),v(4),ye(U(6,2,"nodes.hypervisor")))}function mX(e,i){if(1&e){var t=nt();p(0,"div",58),p(1,"span",9),F(2),H(3,"translate"),m(),F(4,": "),p(5,"app-labeled-element-text",64),we("labelEdited",function(){return Ae(t),J(5).forceDataRefresh()}),m(),m()}if(2&e){var n=J().$implicit,a=J(4);v(2),ye(U(3,3,"nodes.dmsg-server")),v(3),Tn("id",n.dmsgServerPk),D("elementType",a.labeledElementTypes.DmsgServer)}}function vX(e,i){if(1&e&&(p(0,"div",57),p(1,"span",9),F(2),H(3,"translate"),m(),F(4),H(5,"translate"),m()),2&e){var t=J().$implicit;v(2),ye(U(3,2,"nodes.ping")),v(2),Ce(": ",Ht(5,4,"common.time-in-ms",et(7,Xx,t.roundTripPing))," ")}}function gX(e,i){if(1&e){var t=nt();p(0,"tr",43),we("click",function(){var l=Ae(t).$implicit;return J(4).open(l)}),p(1,"td"),p(2,"div",53),p(3,"div",54),K(4,pX,7,4,"div",56),p(5,"div",57),p(6,"span",9),F(7),H(8,"translate"),m(),F(9,": "),p(10,"span"),F(11),H(12,"translate"),m(),m(),p(13,"div",57),p(14,"span",9),F(15),H(16,"translate"),m(),F(17),m(),p(18,"div",58),p(19,"span",9),F(20),H(21,"translate"),m(),F(22),m(),K(23,mX,6,5,"div",59),K(24,vX,6,9,"div",56),m(),Te(25,"div",60),p(26,"div",55),p(27,"button",61),we("click",function(s){var u=Ae(t).$implicit,d=J(4);return s.stopPropagation(),d.showOptionsDialog(u)}),H(28,"translate"),p(29,"mat-icon"),F(30),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(4);v(4),D("ngIf",n.isHypervisor),v(3),ye(U(8,13,"nodes.state")),v(3),pa(a.nodeStatusClass(n,!1)+" title"),v(1),ye(U(12,15,a.nodeStatusText(n,!1))),v(4),ye(U(16,17,"nodes.label")),v(2),Ce(": ",n.label," "),v(3),ye(U(21,19,"nodes.key")),v(2),Ce(": ",n.localPk," "),v(1),D("ngIf",a.showDmsgInfo),v(1),D("ngIf",a.showDmsgInfo),v(3),D("matTooltip",U(28,21,"common.options")),v(3),ye("add")}}function _X(e,i){if(1&e){var t=nt();p(0,"table",52),p(1,"tr",43),we("click",function(){return Ae(t),J(3).dataSorter.openSortingOrderModal()}),p(2,"td"),p(3,"div",53),p(4,"div",54),p(5,"div",9),F(6),H(7,"translate"),m(),p(8,"div"),F(9),H(10,"translate"),K(11,fX,3,3,"ng-container",24),K(12,hX,3,3,"ng-container",24),m(),m(),p(13,"div",55),p(14,"mat-icon",42),F(15,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(16,gX,31,23,"tr",41),m()}if(2&e){var n=J(3);v(6),ye(U(7,6,"tables.sorting-title")),v(3),Ce("",U(10,8,n.dataSorter.currentSortingColumn.label)," "),v(2),D("ngIf",n.dataSorter.currentlySortingByLabel),v(1),D("ngIf",n.dataSorter.sortingInReverseOrder),v(2),D("inline",!0),v(2),D("ngForOf",n.dataSource)}}function yX(e,i){if(1&e&&(p(0,"div",28),p(1,"div",29),K(2,dX,23,19,"table",30),K(3,_X,17,10,"table",31),m(),m()),2&e){var t=J(2);v(2),D("ngIf",t.dataSource.length>0),v(1),D("ngIf",t.dataSource.length>0)}}function bX(e,i){if(1&e&&Te(0,"app-paginator",27),2&e){var t=J(2);D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",t.showDmsgInfo?Yn(5,Zx):Yn(4,Qx))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function kX(e,i){1&e&&(p(0,"span",68),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"nodes.empty")))}function CX(e,i){1&e&&(p(0,"span",68),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"nodes.empty-with-filter")))}function MX(e,i){if(1&e&&(p(0,"div",28),p(1,"div",65),p(2,"mat-icon",66),F(3,"warning"),m(),K(4,kX,3,3,"span",67),K(5,CX,3,3,"span",67),m(),m()),2&e){var t=J(2);v(2),D("inline",!0),v(2),D("ngIf",0===t.allNodes.length),v(1),D("ngIf",0!==t.allNodes.length)}}var wX=function(e){return{"paginator-icons-fixer":e}};function SX(e,i){if(1&e){var t=nt();p(0,"div",5),p(1,"div",6),p(2,"app-top-bar",7),we("refreshRequested",function(){return Ae(t),J().forceDataRefresh(!0)})("optionSelected",function(o){return Ae(t),J().performAction(o)}),m(),m(),p(3,"div",6),p(4,"div",8),p(5,"div",9),K(6,zZ,5,4,"div",10),m(),p(7,"div",11),p(8,"div",12),K(9,WZ,3,4,"mat-icon",13),K(10,GZ,2,1,"mat-icon",14),p(11,"mat-menu",15,16),p(13,"div",17),we("click",function(){return Ae(t),J().removeOffline()}),F(14),H(15,"translate"),m(),m(),m(),K(16,qZ,1,6,"app-paginator",18),m(),m(),K(17,yX,4,2,"div",19),K(18,bX,1,6,"app-paginator",18),K(19,MX,6,3,"div",19),m(),m()}if(2&e){var n=J();v(2),D("titleParts",Yn(21,$x))("tabsData",n.tabsData)("selectedTabIndex",n.showDmsgInfo?1:0)("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.updating)("showAlert",n.errorsUpdating)("refeshRate",n.storageService.getRefreshTime())("optionsData",n.options),v(2),D("ngClass",et(22,wX,n.numberOfPages>1)),v(2),D("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),D("ngIf",n.allNodes&&n.allNodes.length>0),v(1),D("ngIf",n.dataSource.length>0),v(1),D("overlapTrigger",!1),v(2),Tn("disabled",!n.hasOfflineNodes),v(1),Ce(" ",U(15,19,"nodes.delete-all-offline")," "),v(2),D("ngIf",n.numberOfPages>1),v(1),D("ngIf",0!==n.dataSource.length),v(1),D("ngIf",n.numberOfPages>1),v(1),D("ngIf",0===n.dataSource.length)}}var eI=function(){function e(i,t,n,a,o,s,l,u,d,y){var T=this;this.nodeService=i,this.router=t,this.dialog=n,this.authService=a,this.storageService=o,this.ngZone=s,this.snackbarService=l,this.clipboardService=u,this.translateService=d,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new Ln(["isHypervisor"],"nodes.hypervisor",un.Boolean),this.stateSortData=new Ln(["online"],"nodes.state",un.Boolean),this.labelSortData=new Ln(["label"],"nodes.label",un.Text),this.keySortData=new Ln(["localPk"],"nodes.key",un.Text),this.dmsgServerSortData=new Ln(["dmsgServerPk"],"nodes.dmsg-server",un.Text,["dmsgServerPk_label"]),this.pingSortData=new Ln(["roundTripPing"],"nodes.ping",un.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:dr.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:dr.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:dr.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:dr.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=ea,this.updateOptionsMenu(!0),this.authVerificationSubscription=this.authService.checkLogin().subscribe(function(V){V===Xc.AuthDisabled&&T.updateOptionsMenu(!1)}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var I=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(I.push(this.dmsgServerSortData),I.push(this.pingSortData)),this.dataSorter=new td(this.dialog,this.translateService,I,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){T.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,y,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(V){T.filteredNodes=V,T.hasOfflineNodes=!1,T.filteredNodes.forEach(function(q){q.online||(T.hasOfflineNodes=!0)}),T.dataSorter.setData(T.filteredNodes)}),this.navigationsSubscription=y.paramMap.subscribe(function(V){if(V.has("page")){var q=Number.parseInt(V.get("page"),10);(isNaN(q)||q<1)&&(q=1),T.currentPageInUrl=q,T.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(function(){T.nodeService.forceNodeListRefresh()})}return e.prototype.updateOptionsMenu=function(i){this.options=[{name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}],i&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})},e.prototype.ngOnInit=function(){var i=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(function(){i.updateTimeSubscription=fv(5e3,5e3).subscribe(function(){return i.ngZone.run(function(){i.secondsSinceLastUpdate=Math.floor((Date.now()-i.lastUpdate)/1e3)})})})},e.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},e.prototype.performAction=function(i){"logout"===i?this.logout():"updateAll"===i&&this.updateAll()},e.prototype.nodeStatusClass=function(i,t){return i.online?i.health&&i.health.servicesHealth===il.Unhealthy?t?"dot-yellow blinking":"yellow-text":i.health&&i.health.servicesHealth===il.Healthy?t?"dot-green":"green-text":t?"dot-outline-gray":"":t?"dot-red":"red-text"},e.prototype.nodeStatusText=function(i,t){return i.online?i.health&&i.health.servicesHealth===il.Healthy?"node.statuses.online"+(t?"-tooltip":""):i.health&&i.health.servicesHealth===il.Unhealthy?"node.statuses.partially-online"+(t?"-tooltip":""):i.health&&i.health.servicesHealth===il.Connecting?"node.statuses.connecting"+(t?"-tooltip":""):"node.statuses.unknown"+(t?"-tooltip":""):"node.statuses.offline"+(t?"-tooltip":"")},e.prototype.forceDataRefresh=function(i){void 0===i&&(i=!1),i&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()},e.prototype.startGettingData=function(){var i=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe(function(t){return i.updating=t}),this.ngZone.runOutsideAngular(function(){i.dataSubscription.add(i.nodeService.nodeList.subscribe(function(t){i.ngZone.run(function(){t&&(t.data&&!t.error?(i.allNodes=t.data,i.showDmsgInfo&&i.allNodes.forEach(function(n){n.dmsgServerPk_label=Ss.getCompleteLabel(i.storageService,i.translateService,n.dmsgServerPk)}),i.dataFilterer.setData(i.allNodes),i.loading=!1,i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=t.momentOfLastCorrectUpdate,i.secondsSinceLastUpdate=Math.floor((Date.now()-t.momentOfLastCorrectUpdate)/1e3),i.errorsUpdating=!1,i.lastUpdateRequestedManually&&(i.snackbarService.showDone("common.refreshed",null),i.lastUpdateRequestedManually=!1)):t.error&&(i.errorsUpdating||i.snackbarService.showError(i.loading?"common.loading-error":"nodes.error-load",null,!0,t.error),i.errorsUpdating=!0))})}))})},e.prototype.recalculateElementsToShow=function(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var i=Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/i),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var t=i*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(t,t+i)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)},e.prototype.logout=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"common.logout-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.authService.logout().subscribe(function(){return i.router.navigate(["login"])},function(){return i.snackbarService.showError("common.logout-error")})})},e.prototype.updateAll=function(){if(this.dataSource&&0!==this.dataSource.length){var i=[];this.dataSource.forEach(function(t){t.online&&i.push({key:t.localPk,label:t.label})}),Ix.openDialog(this.dialog,i)}else this.snackbarService.showError("nodes.no-visors-to-update")},e.prototype.recursivelyUpdateWallets=function(i,t,n){var a=this;return void 0===n&&(n=0),this.nodeService.update(i[i.length-1]).pipe(Xi(function(){return Qe(null)}),Sn(function(o){return o&&o.updated&&!o.error?a.snackbarService.showDone(a.translateService.instant("nodes.update.done",{name:t[t.length-1]})):(a.snackbarService.showError(a.translateService.instant("nodes.update.update-error",{name:t[t.length-1]})),n+=1),i.pop(),t.pop(),i.length>=1?a.recursivelyUpdateWallets(i,t,n):Qe(n)}))},e.prototype.showOptionsDialog=function(i){var t=this,n=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&n.push({icon:"filter_none",label:"nodes.copy-dmsg"}),n.push({icon:"short_text",label:"labeled-element.edit-label"}),i.online||n.push({icon:"close",label:"nodes.delete-node"}),ji.openDialog(this.dialog,n,"common.options").afterClosed().subscribe(function(a){1===a?t.copySpecificTextToClipboard(i.localPk):t.showDmsgInfo?2===a?t.copySpecificTextToClipboard(i.dmsgServerPk):3===a?t.showEditLabelDialog(i):4===a&&t.deleteNode(i):2===a?t.showEditLabelDialog(i):3===a&&t.deleteNode(i)})},e.prototype.copyToClipboard=function(i){var t=this;this.showDmsgInfo?ji.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(function(a){1===a?t.copySpecificTextToClipboard(i.localPk):2===a&&t.copySpecificTextToClipboard(i.dmsgServerPk)}):this.copySpecificTextToClipboard(i.localPk)},e.prototype.copySpecificTextToClipboard=function(i){this.clipboardService.copy(i)&&this.snackbarService.showDone("copy.copied")},e.prototype.showEditLabelDialog=function(i){var t=this,n=this.storageService.getLabelInfo(i.localPk);n||(n={id:i.localPk,label:"",identifiedElementType:ea.Node}),J1.openDialog(this.dialog,n).afterClosed().subscribe(function(a){a&&t.forceDataRefresh()})},e.prototype.deleteNode=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.close(),t.storageService.setLocalNodesAsHidden([i.localPk],[i.ip]),t.forceDataRefresh(),t.snackbarService.showDone("nodes.deleted")})},e.prototype.removeOffline=function(){var i=this,t="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(t="nodes.delete-all-filtered-offline-confirmation");var n=ln.createConfirmationDialog(this.dialog,t);n.componentInstance.operationAccepted.subscribe(function(){n.close();var a=[],o=[];i.filteredNodes.forEach(function(s){s.online||(a.push(s.localPk),o.push(s.ip))}),a.length>0&&(i.storageService.setLocalNodesAsHidden(a,o),i.forceDataRefresh(),1===a.length?i.snackbarService.showDone("nodes.deleted-singular"):i.snackbarService.showDone("nodes.deleted-plural",{number:a.length}))})},e.prototype.open=function(i){i.online&&this.router.navigate(["nodes",i.localPk])},e.\u0275fac=function(t){return new(t||e)(N(ou),N(Zt),N(Gn),N(hh),N(ta),N(vt),N(xn),N(Ch),N(si),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(K(0,VZ,4,5,"div",0),K(1,SX,20,24,"div",1)),2&t&&(D("ngIf",n.loading),v(1),D("ngIf",!n.loading))},directives:[Ot,lu,ws,Cr,sd,Ts,xr,Cn,cr,ld,cd,bi,Ss],pipes:[wt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}"]}),e}(),TX=["terminal"],DX=["dialogContent"],EX=function(){function e(i,t,n,a){this.data=i,this.renderer=t,this.apiService=n,this.translate=a,this.history=[],this.historyIndex=0,this.currentInputText=""}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.keyEvent=function(i){this.terminal.hasFocus()&&this.history.length>0&&(38===i.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===i.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
      ")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(n),setTimeout(function(){t.dialogContentElement.nativeElement.scrollTop=t.dialogContentElement.nativeElement.scrollHeight})},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(Ho),N(ru),N(si))},e.\u0275cmp=Ke({type:e,selectors:[["app-basic-terminal"]],viewQuery:function(t,n){if(1&t&&(_t(TX,5),_t(DX,5)),2&t){var a=void 0;it(a=at())&&(n.terminalElement=a.first),it(a=at())&&(n.dialogContentElement=a.first)}},hostBindings:function(t,n){1&t&&we("keyup",function(o){return n.keyEvent(o)},!1,EC)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"mat-dialog-content",1,2),we("click",function(){return n.focusTerminal()}),p(4,"div",3),Te(5,"div",null,4),m(),m(),m()),2&t&&D("headline",U(1,3,"actions.terminal.title")+" - "+n.data.label+" ("+n.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[vr,k1],pipes:[wt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),e}(),tI=function(){function e(i,t){this.options=[],this.dialog=i.get(Gn),this.router=i.get(Zt),this.snackbarService=i.get(xn),this.nodeService=i.get(ou),this.translateService=i.get(si),this.storageService=i.get(ta),this.options=[{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:"actions.menu.logs",actionName:"logs",icon:"subject"}],this.showingFullList=t,this.returnButtonText=t?"node.title":"nodes.title"}return e.prototype.setCurrentNode=function(i){this.currentNode=i},e.prototype.setCurrentNodeKey=function(i){this.currentNodeKey=i},e.prototype.performAction=function(i,t){"terminal"===i?this.terminal():"update"===i?this.update():"logs"===i?window.open(window.location.origin+"/api/visors/"+t+"/runtime-logs","_blank"):"reboot"===i?this.reboot():null===i&&this.back()},e.prototype.dispose=function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},e.prototype.reboot=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing(),i.rebootSubscription=i.nodeService.reboot(i.currentNodeKey).subscribe(function(){i.snackbarService.showDone("actions.reboot.done"),t.close()},function(n){n=tn(n),t.componentInstance.showDone("confirmation.error-header-text",n.translatableErrorMsg)})})},e.prototype.update=function(){var i=this.storageService.getLabelInfo(this.currentNodeKey);Ix.openDialog(this.dialog,[{key:this.currentNodeKey,label:i?i.label:""}])},e.prototype.terminal=function(){var i=this;ji.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(function(n){if(1===n){var a=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(a+"//"+o+"/pty/"+i.currentNodeKey,"_blank","noopener noreferrer")}else 2===n&&EX.openDialog(i.dialog,{pk:i.currentNodeKey,label:i.currentNode?i.currentNode.label:""})})},e.prototype.back=function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])},e}();function LX(e,i){1&e&&Te(0,"app-loading-indicator")}function PX(e,i){1&e&&(p(0,"div",6),p(1,"div"),p(2,"mat-icon",7),F(3,"error"),m(),F(4),H(5,"translate"),m(),m()),2&e&&(v(2),D("inline",!0),v(2),Ce(" ",U(5,2,"node.not-found")," "))}function OX(e,i){if(1&e){var t=nt();p(0,"div",2),p(1,"div"),p(2,"app-top-bar",3),we("optionSelected",function(o){return Ae(t),J().performAction(o)}),m(),m(),K(3,LX,1,0,"app-loading-indicator",4),K(4,PX,6,4,"div",5),m()}if(2&e){var n=J();v(2),D("titleParts",n.titleParts)("tabsData",n.tabsData)("selectedTabIndex",n.selectedTabIndex)("showUpdateButton",!1)("optionsData",n.nodeActionsHelper?n.nodeActionsHelper.options:null)("returnText",n.nodeActionsHelper?n.nodeActionsHelper.returnButtonText:""),v(1),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound)}}function xX(e,i){1&e&&Te(0,"app-node-info-content",15),2&e&&D("nodeInfo",J(2).node)}var IX=function(e,i){return{"main-area":e,"full-size-main-area":i}},AX=function(e){return{"d-none":e}};function RX(e,i){if(1&e){var t=nt();p(0,"div",8),p(1,"div",9),p(2,"app-top-bar",10),we("optionSelected",function(o){return Ae(t),J().performAction(o)})("refreshRequested",function(){return Ae(t),J().forceDataRefresh(!0)}),m(),m(),p(3,"div",9),p(4,"div",11),p(5,"div",12),Te(6,"router-outlet"),m(),m(),p(7,"div",13),K(8,xX,1,1,"app-node-info-content",14),m(),m(),m()}if(2&e){var n=J();v(2),D("titleParts",n.titleParts)("tabsData",n.tabsData)("selectedTabIndex",n.selectedTabIndex)("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.updating)("showAlert",n.errorsUpdating)("refeshRate",n.storageService.getRefreshTime())("optionsData",n.nodeActionsHelper?n.nodeActionsHelper.options:null)("returnText",n.nodeActionsHelper?n.nodeActionsHelper.returnButtonText:""),v(2),D("ngClass",Dn(12,IX,!n.showingInfo&&!n.showingFullList,n.showingInfo||n.showingFullList)),v(3),D("ngClass",et(15,AX,n.showingInfo||n.showingFullList)),v(1),D("ngIf",!n.showingInfo&&!n.showingFullList)}}var At=function(){function e(i,t,n,a,o,s,l){var u=this;this.storageService=i,this.nodeService=t,this.route=n,this.ngZone=a,this.snackbarService=o,this.injector=s,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,this.lastUpdateRequestedManually=!1,e.nodeSubject=new Ya(1),e.currentInstanceInternal=this,this.navigationsSubscription=l.events.subscribe(function(d){d.urlAfterRedirects&&(e.currentNodeKey=u.route.snapshot.params.key,u.nodeActionsHelper&&u.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),u.lastUrl=d.urlAfterRedirects,u.updateTabBar(),u.navigationsSubscription.unsubscribe(),u.nodeService.startRequestingSpecificNode(e.currentNodeKey),u.startGettingData())})}return e.refreshCurrentDisplayedData=function(){e.currentInstanceInternal&&e.currentInstanceInternal.forceDataRefresh(!1)},e.getCurrentNodeKey=function(){return e.currentNodeKey},Object.defineProperty(e,"currentNode",{get:function(){return e.nodeSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var i=this;this.ngZone.runOutsideAngular(function(){i.updateTimeSubscription=fv(5e3,5e3).subscribe(function(){return i.ngZone.run(function(){i.secondsSinceLastUpdate=Math.floor((Date.now()-i.lastUpdate)/1e3)})})})},e.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:e.currentNodeKey?["/nodes",e.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:e.currentNodeKey?["/nodes",e.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:e.currentNodeKey?["/nodes",e.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,this.nodeActionsHelper=new tI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new tI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var i="transports";this.lastUrl.includes("/routes")?i="routes":this.lastUrl.includes("/apps-list")&&(i="apps.apps-list"),this.titleParts=["nodes.title","node.title",i+".title"],this.tabsData=[{icon:"view_headline",label:i+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]},e.prototype.performAction=function(i){this.nodeActionsHelper.performAction(i,e.currentNodeKey)},e.prototype.forceDataRefresh=function(i){void 0===i&&(i=!1),i&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()},e.prototype.startGettingData=function(){var i=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(function(t){return i.updating=t}),this.ngZone.runOutsideAngular(function(){i.dataSubscription.add(i.nodeService.specificNode.subscribe(function(t){i.ngZone.run(function(){if(t)if(t.data&&!t.error)i.node=t.data,e.nodeSubject.next(i.node),i.nodeActionsHelper&&i.nodeActionsHelper.setCurrentNode(i.node),i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=t.momentOfLastCorrectUpdate,i.secondsSinceLastUpdate=Math.floor((Date.now()-t.momentOfLastCorrectUpdate)/1e3),i.errorsUpdating=!1,i.lastUpdateRequestedManually&&(i.snackbarService.showDone("common.refreshed",null),i.lastUpdateRequestedManually=!1);else if(t.error){if(t.error.originalError&&400===t.error.originalError.status)return void(i.notFound=!0);i.errorsUpdating||i.snackbarService.showError(i.node?"node.error-load":"common.loading-error",null,!0,t.error),i.errorsUpdating=!0}})}))})},e.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),e.currentInstanceInternal=void 0,e.currentNodeKey=void 0,e.nodeSubject.complete(),e.nodeSubject=void 0,this.nodeActionsHelper.dispose()},e.\u0275fac=function(t){return new(t||e)(N(ta),N(ou),N(ai),N(vt),N(xn),N(sn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(t,n){1&t&&(K(0,OX,5,8,"div",0),K(1,RX,9,17,"div",1)),2&t&&(D("ngIf",!n.node),v(1),D("ngIf",n.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%]{width:100%}.main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),e}();function FX(e,i){if(1&e&&(p(0,"mat-option",8),F(1),H(2,"translate"),m()),2&e){var t=i.$implicit;Tn("value",t),v(1),Ii(" ",t," ",U(2,3,"settings.seconds")," ")}}var NX=function(){function e(i,t,n){this.formBuilder=i,this.storageService=t,this.snackbarService=n,this.timesList=["3","5","10","15","30","60","90","150","300"]}return e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(function(t){i.storageService.setRefreshTime(t),i.snackbarService.showDone("settings.refresh-rate-confirmation")})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(ia),N(ta),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"mat-icon",3),H(4,"translate"),F(5," help "),m(),m(),p(6,"form",4),p(7,"mat-form-field",5),p(8,"mat-select",6),H(9,"translate"),K(10,FX,3,5,"mat-option",7),m(),m(),m(),m(),m()),2&t&&(v(3),D("inline",!0)("matTooltip",U(4,5,"settings.refresh-rate-help")),v(3),D("formGroup",n.form),v(2),D("placeholder",U(9,7,"settings.refresh-rate")),v(2),D("ngForOf",n.timesList))},directives:[Cn,cr,$r,Jr,mr,ki,wh,Kr,zr,xr,Qc],pipes:[wt],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}"]}),e}(),YX=["input"],HX=function(i){return{enterDuration:i}},VX=["*"],BX=new Ze("mat-checkbox-default-options",{providedIn:"root",factory:nI});function nI(){return{color:"accent",clickAction:"check-indeterminate"}}var jX=0,rI=nI(),UX={provide:mo,useExisting:fn(function(){return ol}),multi:!0},zX=function e(){c(this,e)},WX=o1(Xl($c(Xs(function(){return function e(i){c(this,e),this._elementRef=i}}())))),ol=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){var T;return c(this,n),(T=t.call(this,a))._changeDetectorRef=o,T._focusMonitor=s,T._ngZone=l,T._animationMode=d,T._options=y,T.ariaLabel="",T.ariaLabelledby=null,T._uniqueId="mat-checkbox-".concat(++jX),T.id=T._uniqueId,T.labelPosition="after",T.name=null,T.change=new mt,T.indeterminateChange=new mt,T._onTouched=function(){},T._currentAnimationClass="",T._currentCheckState=0,T._controlValueAccessorChangeFn=function(){},T._checked=!1,T._disabled=!1,T._indeterminate=!1,T._options=T._options||rI,T.color=T.defaultColor=T._options.color||rI.color,T.tabIndex=parseInt(u)||0,T}return f(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=kn(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=kn(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=kn(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var u=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(u)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new zX;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var l,s=this,u=null===(l=this._options)||void 0===l?void 0:l.clickAction;o.stopPropagation(),this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),n}(WX);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(ho),N(vt),$a("tabindex"),N(Mr,8),N(BX,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-checkbox"]],viewQuery:function(t,n){var a;1&t&&(_t(YX,5),_t(Go,5)),2&t&&(it(a=at())&&(n._inputElement=a.first),it(a=at())&&(n.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,n){2&t&&(Bs("id",n.id),Dt("tabindex",null),Bt("mat-checkbox-indeterminate",n.indeterminate)("mat-checkbox-checked",n.checked)("mat-checkbox-disabled",n.disabled)("mat-checkbox-label-before","before"==n.labelPosition)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Lt([UX]),ht],ngContentSelectors:VX,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,n){if(1&t&&(ri(),p(0,"label",0,1),p(2,"span",2),p(3,"input",3,4),we("change",function(l){return n._onInteractionEvent(l)})("click",function(l){return n._onInputClick(l)}),m(),p(5,"span",5),Te(6,"span",6),m(),Te(7,"span",7),p(8,"span",8),wa(),p(9,"svg",9),Te(10,"path",10),m(),Rd(),Te(11,"span",11),m(),m(),p(12,"span",12,13),we("cdkObserveContent",function(){return n._onLabelTextChange()}),p(14,"span",14),F(15,"\xa0"),m(),jn(16),m(),m()),2&t){var a=Lr(1),o=Lr(13);Dt("for",n.inputId),v(2),Bt("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),v(1),D("id",n.inputId)("required",n.required)("checked",n.checked)("disabled",n.disabled)("tabIndex",n.tabIndex),Dt("value",n.value)("name",n.name)("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby)("aria-checked",n._getAriaChecked())("aria-describedby",n.ariaDescribedby),v(2),D("matRippleTrigger",a)("matRippleDisabled",n._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",et(19,HX,"NoopAnimations"===n._animationMode?0:150))}},directives:[Go,Mv],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.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.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(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.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, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{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{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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 .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.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, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;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.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-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(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),e}(),iI=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),KX=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[lh,mn,wv,iI],mn,iI]}),e}(),JX=function(e){return{number:e}},ng=function(){function e(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"a",1),F(2),H(3,"translate"),p(4,"mat-icon",2),F(5,"chevron_right"),m(),m(),m()),2&t&&(v(1),D("routerLink",n.linkParts)("queryParams",n.queryParams),v(1),Ce(" ",Ht(3,4,"view-all-link.label",et(7,JX,n.numberOfElements))," "),v(2),D("inline",!0))},directives:[Kl,Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;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}"]}),e}();function $X(e,i){1&e&&(p(0,"span",14),F(1),H(2,"translate"),p(3,"mat-icon",15),H(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"labels.title")," "),v(2),D("inline",!0)("matTooltip",U(4,5,"labels.info")))}function QX(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function ZX(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function XX(e,i){if(1&e&&(p(0,"div",19),p(1,"span"),F(2),H(3,"translate"),m(),K(4,QX,3,3,"ng-container",20),K(5,ZX,2,1,"ng-container",20),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function eee(e,i){if(1&e){var t=nt();p(0,"div",16),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,XX,6,5,"div",17),p(2,"div",18),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J();v(1),D("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),ye(U(4,2,"filters.press-to-remove"))}}function tee(e,i){if(1&e){var t=nt();p(0,"mat-icon",21),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),H(1,"translate"),F(2,"filter_list"),m()}2&e&&D("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function nee(e,i){if(1&e&&(p(0,"mat-icon",22),F(1,"more_horiz"),m()),2&e){J();var t=Lr(9);D("inline",!0)("matMenuTriggerFor",t)}}var Q1=function(){return["/settings","labels"]};function ree(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Yn(4,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function iee(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function aee(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function oee(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function see(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",38),p(2,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),F(4),m(),p(5,"td"),F(6),m(),p(7,"td"),F(8),H(9,"translate"),m(),p(10,"td",29),p(11,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).delete(l.id)}),H(12,"translate"),p(13,"mat-icon",36),F(14,"close"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),D("checked",a.selections.get(n.id)),v(2),Ce(" ",n.label," "),v(2),Ce(" ",n.id," "),v(2),Ii(" ",a.getLabelTypeIdentification(n)[0]," - ",U(9,7,a.getLabelTypeIdentification(n)[1])," "),v(3),D("matTooltip",U(12,9,"labels.delete")),v(2),D("inline",!0)}}function lee(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.label")))}function uee(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.inverted-order")))}function cee(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",33),p(3,"div",41),p(4,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",34),p(6,"div",42),p(7,"span",1),F(8),H(9,"translate"),m(),F(10),m(),p(11,"div",43),p(12,"span",1),F(13),H(14,"translate"),m(),F(15),m(),p(16,"div",42),p(17,"span",1),F(18),H(19,"translate"),m(),F(20),H(21,"translate"),m(),m(),Te(22,"div",44),p(23,"div",35),p(24,"button",45),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),H(25,"translate"),p(26,"mat-icon"),F(27),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),D("checked",a.selections.get(n.id)),v(4),ye(U(9,10,"labels.label")),v(2),Ce(": ",n.label," "),v(3),ye(U(14,12,"labels.id")),v(2),Ce(": ",n.id," "),v(3),ye(U(19,14,"labels.type")),v(2),Ii(": ",a.getLabelTypeIdentification(n)[0]," - ",U(21,16,a.getLabelTypeIdentification(n)[1])," "),v(4),D("matTooltip",U(25,18,"common.options")),v(3),ye("add")}}function dee(e,i){if(1&e&&Te(0,"app-view-all-link",46),2&e){var t=J(2);D("numberOfElements",t.filteredLabels.length)("linkParts",Yn(3,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var fee=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},hee=function(e){return{"d-lg-none d-xl-table":e}},pee=function(e){return{"d-lg-table d-xl-none":e}};function mee(e,i){if(1&e){var t=nt();p(0,"div",24),p(1,"div",25),p(2,"table",26),p(3,"tr"),Te(4,"th"),p(5,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(6),H(7,"translate"),K(8,iee,2,2,"mat-icon",28),m(),p(9,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(10),H(11,"translate"),K(12,aee,2,2,"mat-icon",28),m(),p(13,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(14),H(15,"translate"),K(16,oee,2,2,"mat-icon",28),m(),Te(17,"th",29),m(),K(18,see,15,11,"tr",30),m(),p(19,"table",31),p(20,"tr",32),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(21,"td"),p(22,"div",33),p(23,"div",34),p(24,"div",1),F(25),H(26,"translate"),m(),p(27,"div"),F(28),H(29,"translate"),K(30,lee,3,3,"ng-container",20),K(31,uee,3,3,"ng-container",20),m(),m(),p(32,"div",35),p(33,"mat-icon",36),F(34,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(35,cee,28,20,"tr",30),m(),K(36,dee,1,4,"app-view-all-link",37),m(),m()}if(2&e){var n=J();v(1),D("ngClass",Dn(27,fee,n.showShortList_,!n.showShortList_)),v(1),D("ngClass",et(30,hee,n.showShortList_)),v(4),Ce(" ",U(7,17,"labels.label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.labelSortData),v(2),Ce(" ",U(11,19,"labels.id")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.idSortData),v(2),Ce(" ",U(15,21,"labels.type")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),D("ngForOf",n.dataSource),v(1),D("ngClass",et(32,pee,n.showShortList_)),v(6),ye(U(26,23,"tables.sorting-title")),v(3),Ce("",U(29,25,n.dataSorter.currentSortingColumn.label)," "),v(2),D("ngIf",n.dataSorter.currentlySortingByLabel),v(1),D("ngIf",n.dataSorter.sortingInReverseOrder),v(2),D("inline",!0),v(2),D("ngForOf",n.dataSource),v(1),D("ngIf",n.showShortList_&&n.numberOfPages>1)}}function vee(e,i){1&e&&(p(0,"span",50),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"labels.empty")))}function gee(e,i){1&e&&(p(0,"span",50),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"labels.empty-with-filter")))}function _ee(e,i){if(1&e&&(p(0,"div",24),p(1,"div",47),p(2,"mat-icon",48),F(3,"warning"),m(),K(4,vee,3,3,"span",49),K(5,gee,3,3,"span",49),m(),m()),2&e){var t=J();v(2),D("inline",!0),v(2),D("ngIf",0===t.allLabels.length),v(1),D("ngIf",0!==t.allLabels.length)}}function yee(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Yn(4,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var bee=function(e){return{"paginator-icons-fixer":e}},aI=function(){function e(i,t,n,a,o,s){var l=this;this.dialog=i,this.route=t,this.router=n,this.snackbarService=a,this.translateService=o,this.storageService=s,this.listId="ll",this.labelSortData=new Ln(["label"],"labels.label",un.Text),this.idSortData=new Ln(["id"],"labels.id",un.Text),this.typeSortData=new Ln(["identifiedElementType_sort"],"labels.type",un.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:dr.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:dr.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:dr.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:ea.Node,label:"labels.filter-dialog.type-options.visor"},{value:ea.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:ea.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new td(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){l.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){l.filteredLabels=d,l.dataSorter.setData(l.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(function(d){if(d.has("page")){var y=Number.parseInt(d.get("page"),10);(isNaN(y)||y<1)&&(y=1),l.currentPageInUrl=y,l.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredLabels)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},e.prototype.loadData=function(){var i=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(function(t){t.identifiedElementType_sort=i.getLabelTypeIdentification(t)[0]}),this.dataFilterer.setData(this.allLabels)},e.prototype.getLabelTypeIdentification=function(i){return i.identifiedElementType===ea.Node?["1","labels.filter-dialog.type-options.visor"]:i.identifiedElementType===ea.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:i.identifiedElementType===ea.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0},e.prototype.changeSelection=function(i){this.selections.get(i.id)?this.selections.set(i.id,!1):this.selections.set(i.id,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.selections.forEach(function(n,a){n&&i.storageService.saveLabel(a,"",null)}),i.snackbarService.showDone("labels.deleted"),i.loadData()})},e.prototype.showOptionsDialog=function(i){var t=this;ji.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(function(a){1===a&&t.delete(i.id)})},e.prototype.delete=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"labels.delete-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.close(),t.storageService.saveLabel(i,"",null),t.snackbarService.showDone("labels.deleted"),t.loadData()})},e.prototype.recalculateElementsToShow=function(){var i=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var t=this.showShortList_?Gt.maxShortListElements:Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(n,n+t);var o=new Map;this.labelsToShow.forEach(function(l){o.set(l.id,!0),i.selections.has(l.id)||i.selections.set(l.id,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(ai),N(Zt),N(xn),N(si),N(ta))},e.\u0275cmp=Ke({type:e,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,$X,6,7,"span",2),K(3,eee,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,tee,3,4,"mat-icon",6),K(7,nee,2,2,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),H(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),H(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.deleteSelected()}),F(17),H(18,"translate"),m(),m(),m(),K(19,ree,1,5,"app-paginator",12),m(),m(),K(20,mee,37,34,"div",13),K(21,_ee,6,3,"div",13),K(22,yee,1,5,"app-paginator",12)),2&t&&(D("ngClass",et(20,bee,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),D("ngIf",n.showShortList_),v(1),D("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),D("ngIf",n.allLabels&&n.allLabels.length>0),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("overlapTrigger",!1),v(3),Ce(" ",U(12,14,"selection.select-all")," "),v(3),Ce(" ",U(15,16,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,18,"selection.delete-all")," "),v(2),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("ngIf",!n.dataSource||0===n.dataSource.length),v(1),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,Cn,cr,xr,ld,cd,ol,bi,ng],pipes:[wt],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}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}();function kee(e,i){1&e&&(p(0,"span"),p(1,"mat-icon",15),F(2,"warning"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce(" ",U(4,2,"settings.updater-config.not-saved")," "))}var Cee=function(){function e(i,t){this.snackbarService=i,this.dialog=t}return e.prototype.ngOnInit=function(){this.initialChannel=localStorage.getItem(gr.Channel),this.initialVersion=localStorage.getItem(gr.Version),this.initialArchiveURL=localStorage.getItem(gr.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(gr.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new rl({channel:new ra(this.initialChannel),version:new ra(this.initialVersion),archiveURL:new ra(this.initialArchiveURL),checksumsURL:new ra(this.initialChecksumsURL)})},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Object.defineProperty(e.prototype,"dataChanged",{get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()},enumerable:!1,configurable:!0}),e.prototype.saveSettings=function(){var i=this,t=this.form.get("channel").value.trim(),n=this.form.get("version").value.trim(),a=this.form.get("archiveURL").value.trim(),o=this.form.get("checksumsURL").value.trim();if(t||n||a||o){var s=ln.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.close(),i.initialChannel=t,i.initialVersion=n,i.initialArchiveURL=a,i.initialChecksumsURL=o,i.hasCustomSettings=!0,localStorage.setItem(gr.UseCustomSettings,"true"),localStorage.setItem(gr.Channel,t),localStorage.setItem(gr.Version,n),localStorage.setItem(gr.ArchiveURL,a),localStorage.setItem(gr.ChecksumsURL,o),i.snackbarService.showDone("settings.updater-config.saved")})}else this.removeSettings()},e.prototype.removeSettings=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.initialChannel="",i.initialVersion="",i.initialArchiveURL="",i.initialChecksumsURL="",i.form.get("channel").setValue(""),i.form.get("version").setValue(""),i.form.get("archiveURL").setValue(""),i.form.get("checksumsURL").setValue(""),i.hasCustomSettings=!1,localStorage.removeItem(gr.UseCustomSettings),localStorage.removeItem(gr.Channel),localStorage.removeItem(gr.Version),localStorage.removeItem(gr.ArchiveURL),localStorage.removeItem(gr.ChecksumsURL),i.snackbarService.showDone("settings.updater-config.removed")})},e.\u0275fac=function(t){return new(t||e)(N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"mat-icon",3),H(4,"translate"),F(5," help "),m(),m(),p(6,"form",4),p(7,"mat-form-field",5),Te(8,"input",6),H(9,"translate"),m(),p(10,"mat-form-field",5),Te(11,"input",7),H(12,"translate"),m(),p(13,"mat-form-field",5),Te(14,"input",8),H(15,"translate"),m(),p(16,"mat-form-field",5),Te(17,"input",9),H(18,"translate"),m(),p(19,"div",10),p(20,"div",11),K(21,kee,5,4,"span",12),m(),p(22,"app-button",13),we("action",function(){return n.removeSettings()}),F(23),H(24,"translate"),m(),p(25,"app-button",14),we("action",function(){return n.saveSettings()}),F(26),H(27,"translate"),m(),m(),m(),m(),m()),2&t&&(v(3),D("inline",!0)("matTooltip",U(4,14,"settings.updater-config.help")),v(3),D("formGroup",n.form),v(2),D("placeholder",U(9,16,"settings.updater-config.channel")),v(3),D("placeholder",U(12,18,"settings.updater-config.version")),v(3),D("placeholder",U(15,20,"settings.updater-config.archive-url")),v(3),D("placeholder",U(18,22,"settings.updater-config.checksum-url")),v(4),D("ngIf",n.dataChanged),v(1),D("forDarkBackground",!0)("disabled",!n.hasCustomSettings),v(1),Ce(" ",U(24,24,"settings.updater-config.remove-settings")," "),v(2),D("forDarkBackground",!0)("disabled",!n.dataChanged),v(1),Ce(" ",U(27,26,"settings.updater-config.save")," "))},directives:[Cn,cr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,Ot,ui],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),e}();function Mee(e,i){if(1&e){var t=nt();p(0,"div",8),we("click",function(){return Ae(t),J().showUpdaterSettings()}),p(1,"span",9),F(2),H(3,"translate"),m(),m()}2&e&&(v(2),ye(U(3,1,"settings.updater-config.open-link")))}function wee(e,i){1&e&&Te(0,"app-updater-config",10)}var See=function(){return["start.title"]},Tee=function(){function e(i,t,n,a){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(gr.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return e.prototype.performAction=function(i){"logout"===i&&this.logout()},e.prototype.logout=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"common.logout-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.authService.logout().subscribe(function(){return i.router.navigate(["login"])},function(){return i.snackbarService.showError("common.logout-error")})})},e.prototype.showUpdaterSettings=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.mustShowUpdaterSettings=!0})},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"app-top-bar",2),we("optionSelected",function(o){return n.performAction(o)}),m(),m(),p(3,"div",3),Te(4,"app-refresh-rate",4),Te(5,"app-password"),Te(6,"app-label-list",5),K(7,Mee,4,3,"div",6),K(8,wee,1,0,"app-updater-config",7),m(),m()),2&t&&(v(2),D("titleParts",Yn(8,See))("tabsData",n.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",n.options),v(4),D("showShortList",!0),v(1),D("ngIf",!n.mustShowUpdaterSettings),v(1),D("ngIf",n.mustShowUpdaterSettings))},directives:[lu,NX,Cx,aI,Ot,Cee],pipes:[wt],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),e}(),Dee=["button"],Eee=["firstInput"];function Lee(e,i){1&e&&Te(0,"app-loading-indicator",5),2&e&&D("showWhite",!1)}function Pee(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Oee(e,i){1&e&&(F(0),H(1,"translate")),2&e&&Ce(" ",U(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function xee(e,i){if(1&e&&(p(0,"mat-option",16),F(1),m()),2&e){var t=i.$implicit;D("value",t),v(1),ye(t)}}function Iee(e,i){if(1&e){var t=nt();p(0,"form",6),p(1,"mat-form-field"),Te(2,"input",7,8),H(4,"translate"),p(5,"mat-error"),K(6,Pee,3,3,"ng-container",9),m(),K(7,Oee,2,3,"ng-template",null,10,Il),m(),p(9,"mat-form-field"),Te(10,"input",11),H(11,"translate"),m(),p(12,"mat-form-field"),p(13,"mat-select",12),H(14,"translate"),K(15,xee,2,2,"mat-option",13),m(),p(16,"mat-error"),F(17),H(18,"translate"),m(),m(),p(19,"mat-checkbox",14),we("change",function(s){return Ae(t),J().setMakePersistent(s)}),F(20),H(21,"translate"),p(22,"mat-icon",15),H(23,"translate"),F(24,"help"),m(),m(),m()}if(2&e){var n=Lr(8),a=J();D("formGroup",a.form),v(2),D("placeholder",U(4,12,"transports.dialog.remote-key")),v(4),D("ngIf",!a.form.get("remoteKey").hasError("pattern"))("ngIfElse",n),v(4),D("placeholder",U(11,14,"transports.dialog.label")),v(3),D("placeholder",U(14,16,"transports.dialog.transport-type")),v(2),D("ngForOf",a.types),v(2),Ce(" ",U(18,18,"transports.dialog.errors.transport-type-error")," "),v(2),D("checked",a.makePersistent),v(1),Ce(" ",U(21,20,"transports.dialog.make-persistent")," "),v(2),D("inline",!0)("matTooltip",U(23,22,"transports.dialog.persistent-tooltip"))}}var Aee=function(){function e(i,t,n,a,o,s){this.transportService=i,this.formBuilder=t,this.dialogRef=n,this.snackbarService=a,this.storageService=o,this.nodeService=s,this.makePersistent=!1,this.shouldShowError=!0}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.mediumModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",En.compose([En.required,En.minLength(66),En.maxLength(66),En.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",En.required]}),this.loadData(0)},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.setMakePersistent=function(i){this.makePersistent=!!i.checked},e.prototype.create=function(){var i=this;if(this.form.valid&&!this.button.disabled){this.button.showLoading();var t=this.form.get("remoteKey").value,n=this.form.get("type").value,a=this.form.get("label").value;if(this.makePersistent){var o=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=o.subscribe(function(s){var l=s||[],u=!1;l.forEach(function(d){d.pk.toUpperCase()===t.toUpperCase()&&d.type.toUpperCase()===n.toUpperCase()&&(u=!0)}),u?i.createTransport(t,n,a,!0):i.createPersistent(l,t,n,a)},function(s){i.onError(s)})}else this.createTransport(t,n,a,!1)}},e.prototype.createPersistent=function(i,t,n,a){var o=this;i.push({pk:t,type:n}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),i).subscribe(function(){o.createTransport(t,n,a,!0)},function(s){o.onError(s)})},e.prototype.createTransport=function(i,t,n,a){var o=this;this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),i,t).subscribe(function(s){var l=!1;n&&(s&&s.id?o.storageService.saveLabel(s.id,n,ea.Transport):l=!0),At.refreshCurrentDisplayedData(),o.dialogRef.close(),l?o.snackbarService.showWarning("transports.dialog.success-without-label"):o.snackbarService.showDone("transports.dialog.success")},function(s){a?(At.refreshCurrentDisplayedData(),o.dialogRef.close(),o.snackbarService.showWarning("transports.dialog.only-persistent-created")):o.onError(s)})},e.prototype.onError=function(i){this.button.showError(),i=tn(i),this.snackbarService.showError(i)},e.prototype.loadData=function(i){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Qe(1).pipe(ci(i),Sn(function(){return t.transportService.types(At.getCurrentNodeKey())})).subscribe(function(n){n.sort(function(o,s){return o.localeCompare(s)});var a=n.findIndex(function(o){return"dmsg"===o.toLowerCase()});a=-1!==a?a:0,t.types=n,t.form.get("type").setValue(n[a]),t.snackbarService.closeCurrentIfTemporaryError(),setTimeout(function(){return t.firstInput.nativeElement.focus()})},function(n){n=tn(n),t.shouldShowError&&(t.snackbarService.showError("common.loading-error",null,!0,n),t.shouldShowError=!1),t.loadData(Gt.connectionRetryDelay)})},e.\u0275fac=function(t){return new(t||e)(N(Xv),N(ia),N(wr),N(xn),N(ta),N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-create-transport"]],viewQuery:function(t,n){if(1&t&&(_t(Dee,5),_t(Eee,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),K(2,Lee,1,1,"app-loading-indicator",1),K(3,Iee,25,24,"form",2),p(4,"app-button",3,4),we("action",function(){return n.create()}),F(6),H(7,"translate"),m(),m()),2&t&&(D("headline",U(1,5,"transports.create")),v(2),D("ngIf",!n.types),v(1),D("ngIf",n.types),v(1),D("disabled",!n.form.valid),v(2),Ce(" ",U(7,7,"transports.create")," "))},directives:[vr,Ot,ui,ws,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,yh,wh,xr,ol,Cn,cr,Qc],pipes:[wt],styles:[""]}),e}();function Ree(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),p(3,"mat-icon",6),H(4,"translate"),F(5,"help"),m(),qe()),2&e&&(v(1),Ce(" ",U(2,3,"common.yes")," "),v(2),D("inline",!0)("matTooltip",U(4,5,"transports.persistent-transport-tooltip")))}function Fee(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"common.no")))}var Nee=function(){function e(i){this.data=i}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.\u0275fac=function(t){return new(t||e)(N(Ur))},e.\u0275cmp=Ke({type:e,selectors:[["app-transport-details"]],decls:51,vars:44,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div"),p(3,"div",1),p(4,"mat-icon",2),F(5,"list"),m(),F(6),H(7,"translate"),m(),p(8,"div",3),p(9,"span"),F(10),H(11,"translate"),m(),K(12,Ree,6,7,"ng-container",4),K(13,Fee,3,3,"ng-container",4),m(),p(14,"div",3),p(15,"span"),F(16),H(17,"translate"),m(),F(18),m(),p(19,"div",3),p(20,"span"),F(21),H(22,"translate"),m(),F(23),m(),p(24,"div",3),p(25,"span"),F(26),H(27,"translate"),m(),F(28),m(),p(29,"div",3),p(30,"span"),F(31),H(32,"translate"),m(),F(33),m(),p(34,"div",5),p(35,"mat-icon",2),F(36,"import_export"),m(),F(37),H(38,"translate"),m(),p(39,"div",3),p(40,"span"),F(41),H(42,"translate"),m(),F(43),H(44,"autoScale"),m(),p(45,"div",3),p(46,"span"),F(47),H(48,"translate"),m(),F(49),H(50,"autoScale"),m(),m(),m()),2&t&&(D("headline",U(1,20,"transports.details.title")),v(4),D("inline",!0),v(2),Ce("",U(7,22,"transports.details.basic.title")," "),v(4),ye(U(11,24,"transports.details.basic.persistent")),v(2),D("ngIf",n.data.isPersistent),v(1),D("ngIf",!n.data.isPersistent),v(3),ye(U(17,26,"transports.details.basic.id")),v(2),Ce(" ",n.data.id," "),v(3),ye(U(22,28,"transports.details.basic.local-pk")),v(2),Ce(" ",n.data.localPk," "),v(3),ye(U(27,30,"transports.details.basic.remote-pk")),v(2),Ce(" ",n.data.remotePk," "),v(3),ye(U(32,32,"transports.details.basic.type")),v(2),Ce(" ",n.data.type," "),v(2),D("inline",!0),v(2),Ce("",U(38,34,"transports.details.data.title")," "),v(4),ye(U(42,36,"transports.details.data.uploaded")),v(2),Ce(" ",U(44,38,n.data.sent)," "),v(4),ye(U(48,40,"transports.details.data.downloaded")),v(2),Ce(" ",U(50,42,n.data.recv)," "))},directives:[vr,Cn,Ot,cr],pipes:[wt,Th],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),e}();function Yee(e,i){1&e&&(p(0,"span",15),F(1),H(2,"translate"),p(3,"mat-icon",16),H(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"transports.title")," "),v(2),D("inline",!0)("matTooltip",U(4,5,"transports.info")))}function Hee(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function Vee(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function Bee(e,i){if(1&e&&(p(0,"div",20),p(1,"span"),F(2),H(3,"translate"),m(),K(4,Hee,3,3,"ng-container",21),K(5,Vee,2,1,"ng-container",21),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function jee(e,i){if(1&e){var t=nt();p(0,"div",17),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,Bee,6,5,"div",18),p(2,"div",19),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J();v(1),D("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),ye(U(4,2,"filters.press-to-remove"))}}function Uee(e,i){if(1&e){var t=nt();p(0,"mat-icon",22),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),F(1,"filter_list"),m()}2&e&&D("inline",!0)}function zee(e,i){if(1&e&&(p(0,"mat-icon",23),F(1,"more_horiz"),m()),2&e){J();var t=Lr(11);D("inline",!0)("matMenuTriggerFor",t)}}var Z1=function(e){return["/nodes",e,"transports"]};function Wee(e,i){if(1&e&&Te(0,"app-paginator",24),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function Gee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function qee(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function Kee(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",39),F(2),m(),K(3,qee,2,0,"ng-container",21),qe()),2&e){var t=J(2);v(1),D("inline",!0),v(1),ye(t.dataSorter.sortingArrow),v(1),D("ngIf",t.dataSorter.currentlySortingByLabel)}}function Jee(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function $ee(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",39),F(2),m(),K(3,Jee,2,0,"ng-container",21),qe()),2&e){var t=J(2);v(1),D("inline",!0),v(1),ye(t.dataSorter.sortingArrow),v(1),D("ngIf",t.dataSorter.currentlySortingByLabel)}}function Qee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Zee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Xee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function ete(e,i){if(1&e){var t=nt();p(0,"button",48),we("click",function(){Ae(t);var a=J().$implicit;return J(2).changeIfPersistent([a],!1)}),H(1,"translate"),p(2,"mat-icon",49),F(3,"star"),m(),m()}2&e&&(D("matTooltip",U(1,2,"transports.persistent-transport-button-tooltip")),v(2),D("inline",!0))}function tte(e,i){if(1&e){var t=nt();p(0,"button",48),we("click",function(){Ae(t);var a=J().$implicit;return J(2).changeIfPersistent([a],!0)}),H(1,"translate"),p(2,"mat-icon",50),F(3,"star_outline"),m(),m()}2&e&&(D("matTooltip",U(1,2,"transports.non-persistent-transport-button-tooltip")),v(2),D("inline",!0))}function nte(e,i){1&e&&(p(0,"span"),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"transports.offline")))}function rte(e,i){if(1&e){var t=nt();p(0,"td"),p(1,"app-labeled-element-text",51),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),K(2,nte,3,3,"span",21),m()}if(2&e){var n=J().$implicit,a=J(2);v(1),Tn("id",n.id),D("short",!0)("elementType",a.labeledElementTypes.Transport),v(1),D("ngIf",n.notFound)}}function ite(e,i){1&e&&(p(0,"td"),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function ate(e,i){if(1&e&&(p(0,"td"),F(1),H(2,"autoScale"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",U(2,1,t.sent)," ")}}function ote(e,i){if(1&e&&(p(0,"td"),F(1),H(2,"autoScale"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",U(2,1,t.recv)," ")}}function ste(e,i){1&e&&(p(0,"td"),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function lte(e,i){1&e&&(p(0,"td"),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function ute(e,i){if(1&e){var t=nt();p(0,"button",52),we("click",function(){Ae(t);var a=J().$implicit;return J(2).details(a)}),H(1,"translate"),p(2,"mat-icon",39),F(3,"visibility"),m(),m()}2&e&&(D("matTooltip",U(1,2,"transports.details.title")),v(2),D("inline",!0))}function cte(e,i){if(1&e){var t=nt();p(0,"button",52),we("click",function(){Ae(t);var a=J().$implicit;return J(2).delete(a)}),H(1,"translate"),p(2,"mat-icon",39),F(3,"close"),m(),m()}2&e&&(D("matTooltip",U(1,2,"transports.delete")),v(2),D("inline",!0))}var oI=function(e){return{offline:e}};function dte(e,i){if(1&e){var t=nt();p(0,"tr",42),p(1,"td",43),p(2,"mat-checkbox",44),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),K(4,ete,4,4,"button",45),K(5,tte,4,4,"button",45),m(),K(6,rte,3,4,"td",21),K(7,ite,3,3,"td",21),p(8,"td"),p(9,"app-labeled-element-text",46),we("labelEdited",function(){return Ae(t),J(2).refreshData()}),m(),m(),p(10,"td"),F(11),m(),K(12,ate,3,3,"td",21),K(13,ote,3,3,"td",21),K(14,ste,3,3,"td",21),K(15,lte,3,3,"td",21),p(16,"td",32),K(17,ute,4,4,"button",47),K(18,cte,4,4,"button",47),m(),m()}if(2&e){var n=i.$implicit,a=J(2);D("ngClass",et(15,oI,n.notFound)),v(2),D("checked",a.selections.get(n.id)),v(2),D("ngIf",n.isPersistent),v(1),D("ngIf",!n.isPersistent),v(1),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound),v(2),Tn("id",n.remotePk),D("short",!0),v(2),Ce(" ",n.type," "),v(1),D("ngIf",!n.notFound),v(1),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound),v(1),D("ngIf",n.notFound),v(2),D("ngIf",!n.notFound),v(1),D("ngIf",!n.notFound)}}function fte(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.label")))}function hte(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.inverted-order")))}function pte(e,i){1&e&&(p(0,"div",59),p(1,"div",59),p(2,"mat-icon",62),F(3,"star"),m(),F(4,"\xa0 "),p(5,"span",63),F(6),H(7,"translate"),m(),m(),m()),2&e&&(v(2),D("inline",!0),v(4),ye(U(7,2,"transports.persistent")))}function mte(e,i){if(1&e){var t=nt();p(0,"app-labeled-element-text",64),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m()}if(2&e){var n=J().$implicit,a=J(2);Tn("id",n.id),D("elementType",a.labeledElementTypes.Transport)}}function vte(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"transports.offline")))}function gte(e,i){if(1&e&&(Ge(0),F(1),H(2,"autoScale"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.sent))}}function _te(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"transports.offline")))}function yte(e,i){if(1&e&&(Ge(0),F(1),H(2,"autoScale"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.recv))}}function bte(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"transports.offline")))}function kte(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",53),p(3,"div",54),p(4,"mat-checkbox",44),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",37),K(6,pte,8,4,"div",55),p(7,"div",56),p(8,"span",1),F(9),H(10,"translate"),m(),F(11,": "),K(12,mte,1,2,"app-labeled-element-text",57),K(13,vte,3,3,"ng-container",21),m(),p(14,"div",56),p(15,"span",1),F(16),H(17,"translate"),m(),F(18,": "),p(19,"app-labeled-element-text",58),we("labelEdited",function(){return Ae(t),J(2).refreshData()}),m(),m(),p(20,"div",59),p(21,"span",1),F(22),H(23,"translate"),m(),F(24),m(),p(25,"div",59),p(26,"span",1),F(27),H(28,"translate"),m(),F(29,": "),K(30,gte,3,3,"ng-container",21),K(31,_te,3,3,"ng-container",21),m(),p(32,"div",59),p(33,"span",1),F(34),H(35,"translate"),m(),F(36,": "),K(37,yte,3,3,"ng-container",21),K(38,bte,3,3,"ng-container",21),m(),m(),Te(39,"div",60),p(40,"div",38),p(41,"button",61),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),H(42,"translate"),p(43,"mat-icon"),F(44),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),D("ngClass",et(30,oI,n.notFound)),v(2),D("checked",a.selections.get(n.id)),v(2),D("ngIf",n.isPersistent),v(3),ye(U(10,18,"transports.id")),v(3),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound),v(3),ye(U(17,20,"transports.remote-node")),v(3),Tn("id",n.remotePk),v(3),ye(U(23,22,"transports.type")),v(2),Ce(": ",n.type," "),v(3),ye(U(28,24,"common.uploaded")),v(3),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound),v(3),ye(U(35,26,"common.downloaded")),v(3),D("ngIf",!n.notFound),v(1),D("ngIf",n.notFound),v(3),D("matTooltip",U(42,28,"common.options")),v(3),ye("add")}}function Cte(e,i){if(1&e&&Te(0,"app-view-all-link",65),2&e){var t=J(2);D("numberOfElements",t.filteredTransports.length)("linkParts",et(3,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Mte=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},wte=function(e){return{"d-lg-none d-xl-table":e}},Ste=function(e){return{"d-lg-table d-xl-none":e}};function Tte(e,i){if(1&e){var t=nt();p(0,"div",25),p(1,"div",26),p(2,"table",27),p(3,"tr"),Te(4,"th"),p(5,"th",28),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.persistentSortData)}),H(6,"translate"),p(7,"mat-icon",29),F(8,"star_outline"),m(),K(9,Gee,2,2,"mat-icon",30),m(),p(10,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(11),H(12,"translate"),K(13,Kee,4,3,"ng-container",21),m(),p(14,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.remotePkSortData)}),F(15),H(16,"translate"),K(17,$ee,4,3,"ng-container",21),m(),p(18,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(19),H(20,"translate"),K(21,Qee,2,2,"mat-icon",30),m(),p(22,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.uploadedSortData)}),F(23),H(24,"translate"),K(25,Zee,2,2,"mat-icon",30),m(),p(26,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.downloadedSortData)}),F(27),H(28,"translate"),K(29,Xee,2,2,"mat-icon",30),m(),Te(30,"th",32),m(),K(31,dte,19,17,"tr",33),m(),p(32,"table",34),p(33,"tr",35),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(34,"td"),p(35,"div",36),p(36,"div",37),p(37,"div",1),F(38),H(39,"translate"),m(),p(40,"div"),F(41),H(42,"translate"),K(43,fte,3,3,"ng-container",21),K(44,hte,3,3,"ng-container",21),m(),m(),p(45,"div",38),p(46,"mat-icon",39),F(47,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(48,kte,45,32,"tr",40),m(),K(49,Cte,1,5,"app-view-all-link",41),m(),m()}if(2&e){var n=J();v(1),D("ngClass",Dn(39,Mte,n.showShortList_,!n.showShortList_)),v(1),D("ngClass",et(42,wte,n.showShortList_)),v(3),D("matTooltip",U(6,23,"transports.persistent-tooltip")),v(4),D("ngIf",n.dataSorter.currentSortingColumn===n.persistentSortData),v(2),Ce(" ",U(12,25,"transports.id")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.idSortData),v(2),Ce(" ",U(16,27,"transports.remote-node")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.remotePkSortData),v(2),Ce(" ",U(20,29,"transports.type")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),Ce(" ",U(24,31,"common.uploaded")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.uploadedSortData),v(2),Ce(" ",U(28,33,"common.downloaded")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.downloadedSortData),v(2),D("ngForOf",n.dataSource),v(1),D("ngClass",et(44,Ste,n.showShortList_)),v(6),ye(U(39,35,"tables.sorting-title")),v(3),Ce("",U(42,37,n.dataSorter.currentSortingColumn.label)," "),v(2),D("ngIf",n.dataSorter.currentlySortingByLabel),v(1),D("ngIf",n.dataSorter.sortingInReverseOrder),v(2),D("inline",!0),v(2),D("ngForOf",n.dataSource),v(1),D("ngIf",n.showShortList_&&n.numberOfPages>1)}}function Dte(e,i){1&e&&(p(0,"span",69),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"transports.empty")))}function Ete(e,i){1&e&&(p(0,"span",69),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"transports.empty-with-filter")))}function Lte(e,i){if(1&e&&(p(0,"div",25),p(1,"div",66),p(2,"mat-icon",67),F(3,"warning"),m(),K(4,Dte,3,3,"span",68),K(5,Ete,3,3,"span",68),m(),m()),2&e){var t=J();v(2),D("inline",!0),v(2),D("ngIf",0===t.allTransports.length),v(1),D("ngIf",0!==t.allTransports.length)}}function Pte(e,i){if(1&e&&Te(0,"app-paginator",24),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Ote=function(e){return{"paginator-icons-fixer":e}},sI=function(){function e(i,t,n,a,o,s,l,u){var d=this;this.dialog=i,this.transportService=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.nodeService=u,this.listId="tr",this.persistentSortData=new Ln(["isPersistent"],"transports.persistent",un.Boolean),this.idSortData=new Ln(["id"],"transports.id",un.Text,["id_label"]),this.remotePkSortData=new Ln(["remotePk"],"transports.remote-node",un.Text,["remote_pk_label"]),this.typeSortData=new Ln(["type"],"transports.type",un.Text),this.uploadedSortData=new Ln(["sent"],"common.uploaded",un.NumberReversed),this.downloadedSortData=new Ln(["recv"],"common.downloaded",un.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:dr.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:dr.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:dr.TextInput,maxlength:66}],this.labeledElementTypes=ea,this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){d.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(T){d.filteredTransports=T,d.dataSorter.setData(d.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(T){if(T.has("page")){var I=Number.parseInt(T.get("page"),10);(isNaN(I)||I<1)&&(I=1),d.currentPageInUrl=I,d.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(function(){d.node=d.currentNode})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredTransports)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"node",{set:function(i){var t=this;this.currentNode=i,this.allTransports=i.transports,this.nodePK=i.localPk;var n=new Map;i.persistentTransports.forEach(function(a){return n.set(t.getPersistentTransportID(a.pk,a.type),a)}),this.allTransports.forEach(function(a){n.has(t.getPersistentTransportID(a.remotePk,a.type))?(a.isPersistent=!0,n.delete(t.getPersistentTransportID(a.remotePk,a.type))):a.isPersistent=!1}),n.forEach(function(a,o){t.allTransports.push({id:t.getPersistentTransportID(a.pk,a.type),localPk:i.localPk,remotePk:a.pk,type:a.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(function(a){a.id_label=Ss.getCompleteLabel(t.storageService,t.translateService,a.id),a.remote_pk_label=Ss.getCompleteLabel(t.storageService,t.translateService,a.remotePk)}),this.dataFilterer.setData(this.allTransports)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()},e.prototype.changeSelection=function(i){this.selections.get(i.id)?this.selections.set(i.id,!1):this.selections.set(i.id,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=[];i.selections.forEach(function(a,o){a&&n.push(o)}),i.deleteRecursively(n,t)})},e.prototype.create=function(){Aee.openDialog(this.dialog)},e.prototype.showOptionsDialog=function(i){var t=this,n=[];n.push(i.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),i.notFound||(n.push({icon:"visibility",label:"transports.details.title"}),n.push({icon:"close",label:"transports.delete"})),ji.openDialog(this.dialog,n,"common.options").afterClosed().subscribe(function(a){1===a?t.changeIfPersistent([i],!i.isPersistent):2===a?t.details(i):3===a&&t.delete(i)})},e.prototype.changeIfPersistentOfSelected=function(i){var t=this,n=[];this.allTransports.forEach(function(a){t.selections.has(a.id)&&t.selections.get(a.id)&&n.push(a)}),this.changeIfPersistent(n,i)},e.prototype.changeIfPersistent=function(i,t){var n=this;if(!(i.length<1)){var a="transports.",o=ln.createConfirmationDialog(this.dialog,a+=1===i.length?t?"make-persistent-confirmation":"make"+(i[0].notFound?"-offline":"")+"-non-persistent-confirmation":t?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.componentInstance.showProcessing(),n.persistentTransportSubscription=n.transportService.getPersistentTransports(n.nodePK).subscribe(function(s){var l=s||[],u=!1,d=new Map;if(i.forEach(function(T){return d.set(n.getPersistentTransportID(T.remotePk,T.type),T)}),t)l.forEach(function(T){d.has(n.getPersistentTransportID(T.pk,T.type))&&d.delete(n.getPersistentTransportID(T.pk,T.type))}),(u=0===d.size)||d.forEach(function(T){l.push({pk:T.remotePk,type:T.type})});else{u=!0;for(var y=0;ythis.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(n,n+t);var o=new Map;this.transportsToShow.forEach(function(l){o.set(l.id,!0),i.selections.has(l.id)||i.selections.set(l.id,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow},e.prototype.startDeleting=function(i){return this.transportService.delete(At.getCurrentNodeKey(),i)},e.prototype.deleteRecursively=function(i,t){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(i[i.length-1]).subscribe(function(){i.pop(),0===i.length?(t.close(),At.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(i,t)},function(a){At.refreshCurrentDisplayedData(),a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Xv),N(ai),N(Zt),N(xn),N(si),N(ta),N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,Yee,6,7,"span",2),K(3,jee,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),p(6,"mat-icon",6),we("click",function(){return n.create()}),F(7,"add"),m(),K(8,Uee,2,1,"mat-icon",7),K(9,zee,2,2,"mat-icon",8),p(10,"mat-menu",9,10),p(12,"div",11),we("click",function(){return n.changeAllSelections(!0)}),F(13),H(14,"translate"),m(),p(15,"div",11),we("click",function(){return n.changeAllSelections(!1)}),F(16),H(17,"translate"),m(),p(18,"div",12),we("click",function(){return n.changeIfPersistentOfSelected(!0)}),F(19),H(20,"translate"),m(),p(21,"div",12),we("click",function(){return n.changeIfPersistentOfSelected(!1)}),F(22),H(23,"translate"),m(),p(24,"div",12),we("click",function(){return n.deleteSelected()}),F(25),H(26,"translate"),m(),m(),m(),K(27,Wee,1,6,"app-paginator",13),m(),m(),K(28,Tte,50,46,"div",14),K(29,Lte,6,3,"div",14),K(30,Pte,1,6,"app-paginator",13)),2&t&&(D("ngClass",et(29,Ote,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),D("ngIf",n.showShortList_),v(1),D("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),D("inline",!0),v(2),D("ngIf",n.allTransports&&n.allTransports.length>0),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("overlapTrigger",!1),v(3),Ce(" ",U(14,19,"selection.select-all")," "),v(3),Ce(" ",U(17,21,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(20,23,"transports.make-selected-persistent")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(23,25,"transports.make-selected-non-persistent")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(26,27,"selection.delete-all")," "),v(2),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("ngIf",!n.dataSource||0===n.dataSource.length),v(1),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,Cn,sd,Ts,cr,xr,ld,cd,ol,Ss,bi,ng],pipes:[wt,Th],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}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),e}();function xte(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"settings"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.app")," "))}function Ite(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"swap_horiz"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.forward")," "))}function Ate(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"arrow_forward"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function Rte(e,i){if(1&e&&(p(0,"div"),p(1,"div",3),p(2,"span"),F(3),H(4,"translate"),m(),F(5),m(),p(6,"div",3),p(7,"span"),F(8),H(9,"translate"),m(),F(10),m(),m()),2&e){var t=J(2);v(3),ye(U(4,5,"routes.details.specific-fields.route-id")),v(2),Ce(" ",t.routeRule.forwardFields?t.routeRule.forwardFields.nextRid:t.routeRule.intermediaryForwardFields.nextRid," "),v(3),ye(U(9,7,"routes.details.specific-fields.transport-id")),v(2),Ii(" ",t.routeRule.forwardFields?t.routeRule.forwardFields.nextTid:t.routeRule.intermediaryForwardFields.nextTid," ",t.getLabel(t.routeRule.forwardFields?t.routeRule.forwardFields.nextTid:t.routeRule.intermediaryForwardFields.nextTid)," ")}}function Fte(e,i){if(1&e&&(p(0,"div"),p(1,"div",3),p(2,"span"),F(3),H(4,"translate"),m(),F(5),m(),p(6,"div",3),p(7,"span"),F(8),H(9,"translate"),m(),F(10),m(),p(11,"div",3),p(12,"span"),F(13),H(14,"translate"),m(),F(15),m(),p(16,"div",3),p(17,"span"),F(18),H(19,"translate"),m(),F(20),m(),m()),2&e){var t=J(2);v(3),ye(U(4,10,"routes.details.specific-fields.destination-pk")),v(2),Ii(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPk:t.routeRule.forwardFields.routeDescriptor.dstPk," ",t.getLabel(t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPk:t.routeRule.forwardFields.routeDescriptor.dstPk)," "),v(3),ye(U(9,12,"routes.details.specific-fields.source-pk")),v(2),Ii(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPk:t.routeRule.forwardFields.routeDescriptor.srcPk," ",t.getLabel(t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPk:t.routeRule.forwardFields.routeDescriptor.srcPk)," "),v(3),ye(U(14,14,"routes.details.specific-fields.destination-port")),v(2),Ce(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPort:t.routeRule.forwardFields.routeDescriptor.dstPort," "),v(3),ye(U(19,16,"routes.details.specific-fields.source-port")),v(2),Ce(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPort:t.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function Nte(e,i){if(1&e&&(p(0,"div"),p(1,"div",5),p(2,"mat-icon",2),F(3,"list"),m(),F(4),H(5,"translate"),m(),p(6,"div",3),p(7,"span"),F(8),H(9,"translate"),m(),F(10),m(),p(11,"div",3),p(12,"span"),F(13),H(14,"translate"),m(),F(15),m(),p(16,"div",3),p(17,"span"),F(18),H(19,"translate"),m(),F(20),m(),K(21,xte,5,4,"div",6),K(22,Ite,5,4,"div",6),K(23,Ate,5,4,"div",6),K(24,Rte,11,9,"div",4),K(25,Fte,21,18,"div",4),m()),2&e){var t=J();v(2),D("inline",!0),v(2),Ce("",U(5,13,"routes.details.summary.title")," "),v(4),ye(U(9,15,"routes.details.summary.keep-alive")),v(2),Ce(" ",t.routeRule.ruleSummary.keepAlive," "),v(3),ye(U(14,17,"routes.details.summary.type")),v(2),Ce(" ",t.getRuleTypeName(t.routeRule.ruleSummary.ruleType)," "),v(3),ye(U(19,19,"routes.details.summary.key-route-id")),v(2),Ce(" ",t.routeRule.ruleSummary.keyRouteId," "),v(1),D("ngIf",t.routeRule.appFields),v(1),D("ngIf",t.routeRule.forwardFields),v(1),D("ngIf",t.routeRule.intermediaryForwardFields),v(1),D("ngIf",t.routeRule.forwardFields||t.routeRule.intermediaryForwardFields),v(1),D("ngIf",t.routeRule.appFields&&t.routeRule.appFields.routeDescriptor||t.routeRule.forwardFields&&t.routeRule.forwardFields.routeDescriptor)}}var Yte=function(){function e(i,t,n){this.dialogRef=t,this.storageService=n,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=i}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.getRuleTypeName=function(i){return this.ruleTypes.has(i)?this.ruleTypes.get(i):i.toString()},e.prototype.closePopup=function(){this.dialogRef.close()},e.prototype.getLabel=function(i){var t=this.storageService.getLabelInfo(i);return t?" ("+t.label+")":""},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ta))},e.\u0275cmp=Ke({type:e,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div"),p(3,"div",1),p(4,"mat-icon",2),F(5,"list"),m(),F(6),H(7,"translate"),m(),p(8,"div",3),p(9,"span"),F(10),H(11,"translate"),m(),F(12),m(),p(13,"div",3),p(14,"span"),F(15),H(16,"translate"),m(),F(17),m(),K(18,Nte,26,21,"div",4),m(),m()),2&t&&(D("headline",U(1,8,"routes.details.title")),v(4),D("inline",!0),v(2),Ce("",U(7,10,"routes.details.basic.title")," "),v(4),ye(U(11,12,"routes.details.basic.key")),v(2),Ce(" ",n.routeRule.key," "),v(3),ye(U(16,14,"routes.details.basic.rule")),v(2),Ce(" ",n.routeRule.rule," "),v(1),D("ngIf",n.routeRule.ruleSummary))},directives:[vr,Cn,Ot],pipes:[wt],styles:[""]}),e}();function Hte(e,i){1&e&&(p(0,"span",14),F(1),H(2,"translate"),p(3,"mat-icon",15),H(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"routes.title")," "),v(2),D("inline",!0)("matTooltip",U(4,5,"routes.info")))}function Vte(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function Bte(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function jte(e,i){if(1&e&&(p(0,"div",19),p(1,"span"),F(2),H(3,"translate"),m(),K(4,Vte,3,3,"ng-container",20),K(5,Bte,2,1,"ng-container",20),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function Ute(e,i){if(1&e){var t=nt();p(0,"div",16),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,jte,6,5,"div",17),p(2,"div",18),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J();v(1),D("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),ye(U(4,2,"filters.press-to-remove"))}}function zte(e,i){if(1&e){var t=nt();p(0,"mat-icon",21),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),H(1,"translate"),F(2,"filter_list"),m()}2&e&&D("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function Wte(e,i){1&e&&(p(0,"mat-icon",22),F(1,"more_horiz"),m()),2&e&&(J(),D("matMenuTriggerFor",Lr(9)))}var X1=function(e){return["/nodes",e,"routes"]};function Gte(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function qte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Kte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Jte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function $te(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Qte(e,i){if(1&e){var t=nt();Ge(0),p(1,"td"),p(2,"app-labeled-element-text",41),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),p(3,"td"),p(4,"app-labeled-element-text",41),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(2),Tn("id",n.src),D("short",!0)("elementType",a.labeledElementTypes.Node),v(2),Tn("id",n.dst),D("short",!0)("elementType",a.labeledElementTypes.Node)}}function Zte(e,i){if(1&e){var t=nt();Ge(0),p(1,"td"),F(2,"---"),m(),p(3,"td"),p(4,"app-labeled-element-text",42),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(4),Tn("id",n.dst),D("short",!0)("elementType",a.labeledElementTypes.Transport)}}function Xte(e,i){1&e&&(Ge(0),p(1,"td"),F(2,"---"),m(),p(3,"td"),F(4,"---"),m(),qe())}function ene(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",38),p(2,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),F(4),m(),p(5,"td"),F(6),m(),K(7,Qte,5,6,"ng-container",20),K(8,Zte,5,3,"ng-container",20),K(9,Xte,5,0,"ng-container",20),p(10,"td",29),p(11,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).details(l)}),H(12,"translate"),p(13,"mat-icon",36),F(14,"visibility"),m(),m(),p(15,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).delete(l.key)}),H(16,"translate"),p(17,"mat-icon",36),F(18,"close"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),D("checked",a.selections.get(n.key)),v(2),Ce(" ",n.key," "),v(2),Ce(" ",a.getTypeName(n.type)," "),v(1),D("ngIf",n.appFields||n.forwardFields),v(1),D("ngIf",!n.appFields&&!n.forwardFields&&n.intermediaryForwardFields),v(1),D("ngIf",!n.appFields&&!n.forwardFields&&!n.intermediaryForwardFields),v(2),D("matTooltip",U(12,10,"routes.details.title")),v(2),D("inline",!0),v(2),D("matTooltip",U(16,12,"routes.delete")),v(2),D("inline",!0)}}function tne(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.label")))}function nne(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.inverted-order")))}function rne(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",44),p(2,"span",1),F(3),H(4,"translate"),m(),F(5,": "),p(6,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),p(7,"div",44),p(8,"span",1),F(9),H(10,"translate"),m(),F(11,": "),p(12,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(3),ye(U(4,6,"routes.source")),v(3),Tn("id",n.src),D("elementType",a.labeledElementTypes.Node),v(3),ye(U(10,8,"routes.destination")),v(3),Tn("id",n.dst),D("elementType",a.labeledElementTypes.Node)}}function ine(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",44),p(2,"span",1),F(3),H(4,"translate"),m(),F(5,": --- "),m(),p(6,"div",44),p(7,"span",1),F(8),H(9,"translate"),m(),F(10,": "),p(11,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(3),ye(U(4,4,"routes.source")),v(5),ye(U(9,6,"routes.destination")),v(3),Tn("id",n.dst),D("elementType",a.labeledElementTypes.Transport)}}function ane(e,i){1&e&&(Ge(0),p(1,"div",44),p(2,"span",1),F(3),H(4,"translate"),m(),F(5,": --- "),m(),p(6,"div",44),p(7,"span",1),F(8),H(9,"translate"),m(),F(10,": --- "),m(),qe()),2&e&&(v(3),ye(U(4,2,"routes.source")),v(5),ye(U(9,4,"routes.destination")))}function one(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",33),p(3,"div",43),p(4,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",34),p(6,"div",44),p(7,"span",1),F(8),H(9,"translate"),m(),F(10),m(),p(11,"div",44),p(12,"span",1),F(13),H(14,"translate"),m(),F(15),m(),K(16,rne,13,10,"ng-container",20),K(17,ine,12,8,"ng-container",20),K(18,ane,11,6,"ng-container",20),m(),Te(19,"div",45),p(20,"div",35),p(21,"button",46),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),H(22,"translate"),p(23,"mat-icon"),F(24),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),D("checked",a.selections.get(n.key)),v(4),ye(U(9,10,"routes.key")),v(2),Ce(": ",n.key," "),v(3),ye(U(14,12,"routes.type")),v(2),Ce(": ",a.getTypeName(n.type)," "),v(1),D("ngIf",n.appFields||n.forwardFields),v(1),D("ngIf",!n.appFields&&!n.forwardFields&&n.intermediaryForwardFields),v(1),D("ngIf",!n.appFields&&!n.forwardFields&&!n.intermediaryForwardFields),v(3),D("matTooltip",U(22,14,"common.options")),v(3),ye("add")}}function sne(e,i){if(1&e&&Te(0,"app-view-all-link",48),2&e){var t=J(2);D("numberOfElements",t.filteredRoutes.length)("linkParts",et(3,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var lne=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},une=function(e){return{"d-lg-none d-xl-table":e}},cne=function(e){return{"d-lg-table d-xl-none":e}};function dne(e,i){if(1&e){var t=nt();p(0,"div",24),p(1,"div",25),p(2,"table",26),p(3,"tr"),Te(4,"th"),p(5,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.keySortData)}),F(6),H(7,"translate"),K(8,qte,2,2,"mat-icon",28),m(),p(9,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(10),H(11,"translate"),K(12,Kte,2,2,"mat-icon",28),m(),p(13,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.sourceSortData)}),F(14),H(15,"translate"),K(16,Jte,2,2,"mat-icon",28),m(),p(17,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.destinationSortData)}),F(18),H(19,"translate"),K(20,$te,2,2,"mat-icon",28),m(),Te(21,"th",29),m(),K(22,ene,19,14,"tr",30),m(),p(23,"table",31),p(24,"tr",32),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(25,"td"),p(26,"div",33),p(27,"div",34),p(28,"div",1),F(29),H(30,"translate"),m(),p(31,"div"),F(32),H(33,"translate"),K(34,tne,3,3,"ng-container",20),K(35,nne,3,3,"ng-container",20),m(),m(),p(36,"div",35),p(37,"mat-icon",36),F(38,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(39,one,25,16,"tr",30),m(),K(40,sne,1,5,"app-view-all-link",37),m(),m()}if(2&e){var n=J();v(1),D("ngClass",Dn(31,lne,n.showShortList_,!n.showShortList_)),v(1),D("ngClass",et(34,une,n.showShortList_)),v(4),Ce(" ",U(7,19,"routes.key")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.keySortData),v(2),Ce(" ",U(11,21,"routes.type")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),Ce(" ",U(15,23,"routes.source")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.sourceSortData),v(2),Ce(" ",U(19,25,"routes.destination")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.destinationSortData),v(2),D("ngForOf",n.dataSource),v(1),D("ngClass",et(36,cne,n.showShortList_)),v(6),ye(U(30,27,"tables.sorting-title")),v(3),Ce("",U(33,29,n.dataSorter.currentSortingColumn.label)," "),v(2),D("ngIf",n.dataSorter.currentlySortingByLabel),v(1),D("ngIf",n.dataSorter.sortingInReverseOrder),v(2),D("inline",!0),v(2),D("ngForOf",n.dataSource),v(1),D("ngIf",n.showShortList_&&n.numberOfPages>1)}}function fne(e,i){1&e&&(p(0,"span",52),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"routes.empty")))}function hne(e,i){1&e&&(p(0,"span",52),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"routes.empty-with-filter")))}function pne(e,i){if(1&e&&(p(0,"div",24),p(1,"div",49),p(2,"mat-icon",50),F(3,"warning"),m(),K(4,fne,3,3,"span",51),K(5,hne,3,3,"span",51),m(),m()),2&e){var t=J();v(2),D("inline",!0),v(2),D("ngIf",0===t.allRoutes.length),v(1),D("ngIf",0!==t.allRoutes.length)}}function mne(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var vne=function(e){return{"paginator-icons-fixer":e}},lI=function(){function e(i,t,n,a,o,s,l){var u=this;this.routeService=i,this.dialog=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.listId="rl",this.keySortData=new Ln(["key"],"routes.key",un.Number),this.typeSortData=new Ln(["type"],"routes.type",un.Number),this.sourceSortData=new Ln(["src"],"routes.source",un.Text,["src_label"]),this.destinationSortData=new Ln(["dst"],"routes.destination",un.Text,["dst_label"]),this.labeledElementTypes=ea,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:dr.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:dr.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:dr.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()});var y={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:dr.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach(function(T,I){y.printableLabelsForValues.push({value:I+"",label:T})}),this.filterProperties=[y].concat(this.filterProperties),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(T){u.filteredRoutes=T,u.dataSorter.setData(u.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(T){if(T.has("page")){var I=Number.parseInt(T.get("page"),10);(isNaN(I)||I<1)&&(I=1),u.currentPageInUrl=I,u.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredRoutes)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"routes",{set:function(i){var t=this;this.allRoutes=i,this.allRoutes.forEach(function(n){if(n.type=n.ruleSummary.ruleType||0===n.ruleSummary.ruleType?n.ruleSummary.ruleType:"",n.appFields||n.forwardFields){var a=n.appFields?n.appFields.routeDescriptor:n.forwardFields.routeDescriptor;n.src=a.srcPk,n.src_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.src),n.dst=a.dstPk,n.dst_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.dst)}else n.intermediaryForwardFields?(n.src="",n.src_label="",n.dst=n.intermediaryForwardFields.nextTid,n.dst_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.dst)):(n.src="",n.src_label="",n.dst="",n.dst_label="")}),this.dataFilterer.setData(this.allRoutes)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},e.prototype.refreshData=function(){At.refreshCurrentDisplayedData()},e.prototype.getTypeName=function(i){return this.ruleTypes.has(i)?this.ruleTypes.get(i):"Unknown"},e.prototype.changeSelection=function(i){this.selections.get(i.key)?this.selections.set(i.key,!1):this.selections.set(i.key,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=[];i.selections.forEach(function(a,o){a&&n.push(o)}),i.deleteRecursively(n,t)})},e.prototype.showOptionsDialog=function(i){var t=this;ji.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(function(a){1===a?t.details(i):2===a&&t.delete(i.key)})},e.prototype.details=function(i){Yte.openDialog(this.dialog,i)},e.prototype.delete=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.componentInstance.showProcessing(),t.operationSubscriptionsGroup.push(t.startDeleting(i).subscribe(function(){n.close(),At.refreshCurrentDisplayedData(),t.snackbarService.showDone("routes.deleted")},function(a){a=tn(a),n.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))})},e.prototype.recalculateElementsToShow=function(){var i=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var t=this.showShortList_?Gt.maxShortListElements:Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(n,n+t);var o=new Map;this.routesToShow.forEach(function(l){o.set(l.key,!0),i.selections.has(l.key)||i.selections.set(l.key,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow},e.prototype.startDeleting=function(i){return this.routeService.delete(At.getCurrentNodeKey(),i.toString())},e.prototype.deleteRecursively=function(i,t){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(i[i.length-1]).subscribe(function(){i.pop(),0===i.length?(t.close(),At.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(i,t)},function(a){At.refreshCurrentDisplayedData(),a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))},e.\u0275fac=function(t){return new(t||e)(N(K1),N(Gn),N(ai),N(Zt),N(xn),N(si),N(ta))},e.\u0275cmp=Ke({type:e,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,Hte,6,7,"span",2),K(3,Ute,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,zte,3,4,"mat-icon",6),K(7,Wte,2,1,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),H(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),H(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.deleteSelected()}),F(17),H(18,"translate"),m(),m(),m(),K(19,Gte,1,6,"app-paginator",12),m(),m(),K(20,dne,41,38,"div",13),K(21,pne,6,3,"div",13),K(22,mne,1,6,"app-paginator",12)),2&t&&(D("ngClass",et(20,vne,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),D("ngIf",n.showShortList_),v(1),D("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),D("ngIf",n.allRoutes&&n.allRoutes.length>0),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("overlapTrigger",!1),v(3),Ce(" ",U(12,14,"selection.select-all")," "),v(3),Ce(" ",U(15,16,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,18,"selection.delete-all")," "),v(2),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("ngIf",!n.dataSource||0===n.dataSource.length),v(1),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,Cn,cr,xr,ld,cd,ol,bi,Ss,ng],pipes:[wt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}(),gne=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.node=t,i.routes=t.routes})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(t,n){1&t&&(Te(0,"app-transport-list",0),Te(1,"app-route-list",1)),2&t&&(D("node",n.node)("showShortList",!0),v(1),D("routes",n.routes)("showShortList",!0)("nodePK",n.nodePK))},directives:[sI,lI],styles:[""]}),e}();function _ne(e,i){if(1&e&&(p(0,"mat-option",4),F(1),H(2,"translate"),m()),2&e){var t=i.$implicit;D("value",t.days),v(1),ye(U(2,2,t.text))}}var yne=function(){function e(i,t,n){this.data=i,this.dialogRef=t,this.formBuilder=n}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=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(t){i.dialogRef.close(i.filters.find(function(n){return n.days===t}))})},e.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),p(4,"mat-select",2),H(5,"translate"),K(6,_ne,3,4,"mat-option",3),m(),m(),m(),m()),2&t&&(D("headline",U(1,4,"apps.log.filter.title")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(5,6,"apps.log.filter.filter")),v(2),D("ngForOf",n.filters))},directives:[vr,$r,Jr,mr,ki,wh,Kr,zr,xr,Qc],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),e}(),bne=["content"];function kne(e,i){if(1&e&&(p(0,"div",8),p(1,"span",3),F(2),m(),F(3),m()),2&e){var t=i.$implicit;v(2),Ce(" ",t.time," "),v(1),Ce(" ",t.msg," ")}}function Cne(e,i){1&e&&(p(0,"div",9),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"apps.log.empty")," "))}function Mne(e,i){1&e&&Te(0,"app-loading-indicator",10),2&e&&D("showWhite",!1)}var wne=function(){function e(i,t,n,a){this.data=i,this.appsService=t,this.dialog=n,this.snackbarService=a,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){this.loadData(0)},e.prototype.ngOnDestroy=function(){this.removeSubscription()},e.prototype.filter=function(){var i=this;yne.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(function(t){t&&(i.currentFilter=t,i.logMessages=[],i.loadData(0))})},e.prototype.loadData=function(i){var t=this;this.removeSubscription(),this.loading=!0,this.subscription=Qe(1).pipe(ci(i),Sn(function(){return t.appsService.getLogMessages(At.getCurrentNodeKey(),t.data.name,t.currentFilter.days)})).subscribe(function(n){return t.onLogsReceived(n)},function(n){return t.onLogsError(n)})},e.prototype.removeSubscription=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.onLogsReceived=function(i){var t=this;void 0===i&&(i=[]),this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),i.forEach(function(n){var a=n.startsWith("[")?0:-1,o=-1!==a?n.indexOf("]"):-1;t.logMessages.push(-1!==a&&-1!==o?{time:n.substr(a,o+1),msg:n.substr(o+1)}:{time:"",msg:n})}),setTimeout(function(){t.content.nativeElement.scrollTop=t.content.nativeElement.scrollHeight})},e.prototype.onLogsError=function(i){i=tn(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Gt.connectionRetryDelay)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(ad),N(Gn),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-log"]],viewQuery:function(t,n){var a;(1&t&&_t(bne,5),2&t)&&(it(a=at())&&(n.content=a.first))},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div",1),p(3,"div",2),we("click",function(){return n.filter()}),p(4,"span",3),F(5),H(6,"translate"),m(),F(7,"\xa0 "),p(8,"span"),F(9),H(10,"translate"),m(),m(),m(),p(11,"mat-dialog-content",null,4),K(13,kne,4,2,"div",5),K(14,Cne,3,3,"div",6),K(15,Mne,1,1,"app-loading-indicator",7),m(),m()),2&t&&(D("headline",U(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),v(5),ye(U(6,10,"apps.log.filter-button")),v(4),ye(U(10,12,n.currentFilter.text)),v(4),D("ngForOf",n.logMessages),v(1),D("ngIf",!(n.loading||n.logMessages&&0!==n.logMessages.length)),v(1),D("ngIf",n.loading))},directives:[vr,k1,xr,Ot,ws],pipes:[wt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:rgba(33,95,158,.502)}"]}),e}(),Sne=["button"],Tne=["firstInput"];function Dne(e,i){if(1&e){var t=nt();p(0,"div",8),p(1,"mat-checkbox",9),we("change",function(o){return Ae(t),J().setSecureMode(o)}),F(2),H(3,"translate"),p(4,"mat-icon",10),H(5,"translate"),F(6,"help"),m(),m(),m()}if(2&e){var n=J();v(1),D("checked",n.secureMode),v(1),Ce(" ",U(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),v(2),D("inline",!0)("matTooltip",U(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var Ene=function(){function e(i,t,n,a,o,s){if(this.data=i,this.appsService=t,this.formBuilder=n,this.dialogRef=a,this.snackbarService=o,this.dialog=s,this.configuringVpn=!1,this.secureMode=!1,-1!==i.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0),this.data.args&&this.data.args.length>0)for(var l=0;l0),v(2),D("placeholder",U(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),v(3),D("placeholder",U(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),v(4),Ce(" ",U(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[vr,$r,Jr,mr,Ot,ki,qr,aa,Kr,zr,Bi,ui,wh,Qc,xr,Y$],pipes:[wt],styles:[""]}),e}(),Vne=["firstInput"],Bne=function(){function e(i,t){this.dialogRef=i,this.formBuilder=t}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.smallModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({password:[""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.finish=function(){var i=this.form.get("password").value;this.dialogRef.close("-"+i)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-skysocks-client-password"]],viewQuery:function(t,n){var a;(1&t&&_t(Vne,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"div",2),F(4),H(5,"translate"),m(),p(6,"mat-form-field"),Te(7,"input",3,4),H(9,"translate"),m(),m(),p(10,"app-button",5),we("action",function(){return n.finish()}),F(11),H(12,"translate"),m(),m()),2&t&&(D("headline",U(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),v(2),D("formGroup",n.form),v(2),ye(U(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),v(3),D("placeholder",U(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),v(4),Ce(" ",U(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,ui],pipes:[wt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),e}(),jne=function(){function e(i){this.http=i,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}return e.prototype.getServices=function(i){var t=[];return this.http.get(this.discoveryServiceUrl+(i?"proxy":"vpn")).pipe(id(function(n){return n.pipe(ci(4e3))}),$e(function(n){return n.forEach(function(a){var o=new QJ,s=a.address.split(":");2===s.length&&(o.address=a.address,o.pk=s[0],o.port=s[1],o.location="",a.geo&&(a.geo.country&&(o.country=a.geo.country,o.location+=Ds[a.geo.country.toUpperCase()]?Ds[a.geo.country.toUpperCase()]:a.geo.country),a.geo.region&&a.geo.country&&(o.location+=", "),a.geo.region&&(o.region=a.geo.region,o.location+=o.region)),t.push(o))}),t}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Ks))},providedIn:"root"}),e}();function Une(e,i){1&e&&jn(0)}var e0=["*"];function zne(e,i){}var Wne=function(i){return{animationDuration:i}},Gne=function(i,t){return{value:i,params:t}},qne=["tabBodyWrapper"],Kne=["tabHeader"];function Jne(e,i){}function $ne(e,i){1&e&&K(0,Jne,0,0,"ng-template",9),2&e&&D("cdkPortalOutlet",J().$implicit.templateLabel)}function Qne(e,i){1&e&&F(0),2&e&&ye(J().$implicit.textLabel)}function Zne(e,i){if(1&e){var t=nt();p(0,"div",6),we("click",function(){var l=Ae(t),u=l.$implicit,d=l.index,y=J(),T=Lr(1);return y._handleClick(u,T,d)})("cdkFocusChange",function(l){var d=Ae(t).index;return J()._tabFocusChanged(l,d)}),p(1,"div",7),K(2,$ne,1,1,"ng-template",8),K(3,Qne,1,1,"ng-template",8),m(),m()}if(2&e){var n=i.$implicit,a=i.index,o=J();Bt("mat-tab-label-active",o.selectedIndex==a),D("id",o._getTabLabelId(a))("disabled",n.disabled)("matRippleDisabled",n.disabled||o.disableRipple),Dt("tabIndex",o._getTabIndex(n,a))("aria-posinset",a+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(a))("aria-selected",o.selectedIndex==a)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),v(2),D("ngIf",n.templateLabel),v(1),D("ngIf",!n.templateLabel)}}function Xne(e,i){if(1&e){var t=nt();p(0,"mat-tab-body",10),we("_onCentered",function(){return Ae(t),J()._removeTabBodyWrapperHeight()})("_onCentering",function(l){return Ae(t),J()._setTabBodyWrapperHeight(l)}),m()}if(2&e){var n=i.$implicit,a=i.index,o=J();Bt("mat-tab-body-active",o.selectedIndex===a),D("id",o._getTabContentId(a))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",o.animationDuration),Dt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===a?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(a))}}var cI=["tabListContainer"],dI=["tabList"],fI=["nextPaginator"],hI=["previousPaginator"],tre=new Ze("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),rg=function(){var e=function(){function i(t,n,a,o){c(this,i),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=a,this._animationMode=o}return f(i,[{key:"alignToElement",value:function(n){var a=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a._setStyles(n)})}):this._setStyles(n)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(n){var a=this._inkBarPositioner(n),o=this._elementRef.nativeElement;o.style.left=a.left,o.style.width=a.width}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(tre),N(Mr,8))},e.\u0275dir=Ve({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,n){2&t&&Bt("_mat-animation-noopable","NoopAnimations"===n._animationMode)}}),e}(),pI=new Ze("MatTabContent"),mI=new Ze("MatTabLabel"),rre=Xs(function(){return function e(){c(this,e)}}()),vI=new Ze("MAT_TAB_GROUP"),gI=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._viewContainerRef=a,s._closestTabGroup=o,s.textLabel="",s._contentPortal=null,s._stateChanges=new Ie,s.position=null,s.origin=null,s.isActive=!1,s}return f(n,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(o){this._setTemplateLabelInput(o)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(o){(o.hasOwnProperty("textLabel")||o.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Qs(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(o){o&&(this._templateLabel=o)}}]),n}(rre);return e.\u0275fac=function(t){return new(t||e)(N(kr),N(vI,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab"]],contentQueries:function(t,n,a){var o;1&t&&(ur(a,mI,5),ur(a,pI,7,Vr)),2&t&&(it(o=at())&&(n.templateLabel=o.first),it(o=at())&&(n._explicitContent=o.first))},viewQuery:function(t,n){var a;1&t&&_t(Vr,7),2&t&&it(a=at())&&(n._implicitContent=a.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[ht,Jn],ngContentSelectors:e0,decls:1,vars:0,template:function(t,n){1&t&&(ri(),K(0,Une,1,0,"ng-template"))},encapsulation:2}),e}(),ire={translateTab:gs("translateTab",[Hi("center, void, left-origin-center, right-origin-center",bn({transform:"none"})),Hi("left",bn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Hi("right",bn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),gi("* => left, * => right, left => center, right => center",Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),gi("void => left-origin-center",[bn({transform:"translate3d(-100%, 0, 0)"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),gi("void => right-origin-center",[bn({transform:"translate3d(100%, 0, 0)"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},are=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u;return c(this,n),(u=t.call(this,a,o,l))._host=s,u._centeringSub=He.EMPTY,u._leavingSub=He.EMPTY,u}return f(n,[{key:"ngOnInit",value:function(){var o=this;E(x(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(_i(this._host._isCenterPosition(this._host._position))).subscribe(function(s){s&&!o.hasAttached()&&o.attach(o._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){o.detach()})}},{key:"ngOnDestroy",value:function(){E(x(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(Cs);return e.\u0275fac=function(t){return new(t||e)(N(Yo),N(kr),N(fn(function(){return _I})),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","matTabBodyHost",""]],features:[ht]}),e}(),ore=function(){var e=function(){function i(t,n,a){var o=this;c(this,i),this._elementRef=t,this._dir=n,this._dirChangeSubscription=He.EMPTY,this._translateTabComplete=new Ie,this._onCentering=new mt,this._beforeCentering=new mt,this._afterLeavingCenter=new mt,this._onCentered=new mt(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe(function(s){o._computePositionAnimationState(s),a.markForCheck()})),this._translateTabComplete.pipe(dv(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState})).subscribe(function(s){o._isCenterPosition(s.toState)&&o._isCenterPosition(o._position)&&o._onCentered.emit(),o._isCenterPosition(s.fromState)&&!o._isCenterPosition(o._position)&&o._afterLeavingCenter.emit()})}return f(i,[{key:"position",set:function(n){this._positionIndex=n,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(n){var a=this._isCenterPosition(n.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n}},{key:"_computePositionAnimationState",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(n){var a=this._getLayoutDirection();return"ltr"==a&&n<=0||"rtl"==a&&n>0?"left-origin-center":"right-origin-center"}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(jr,8),N(Nn))},e.\u0275dir=Ve({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),_I=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){return c(this,n),t.call(this,a,o,s)}return n}(ore);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(jr,8),N(Nn))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab-body"]],viewQuery:function(t,n){var a;1&t&&_t(Cs,5),2&t&&it(a=at())&&(n._portalHost=a.first)},hostAttrs:[1,"mat-tab-body"],features:[ht],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,n){1&t&&(p(0,"div",0,1),we("@translateTab.start",function(o){return n._onTranslateTabStarted(o)})("@translateTab.done",function(o){return n._translateTabComplete.next(o)}),K(2,zne,0,0,"ng-template",2),m()),2&t&&D("@translateTab",Dn(3,Gne,n._position,et(1,Wne,n.animationDuration)))},directives:[are],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[ire.translateTab]}}),e}(),yI=new Ze("MAT_TABS_CONFIG"),sre=0,lre=function e(){c(this,e)},ure=Xl($c(function(){return function e(i){c(this,e),this._elementRef=i}}()),"primary"),cre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u,d;return c(this,n),(u=t.call(this,a))._changeDetectorRef=o,u._animationMode=l,u._tabs=new Sc,u._indexToSelect=0,u._tabBodyWrapperHeight=0,u._tabsSubscription=He.EMPTY,u._tabLabelSubscription=He.EMPTY,u._selectedIndex=null,u.headerPosition="above",u.selectedIndexChange=new mt,u.focusChange=new mt,u.animationDone=new mt,u.selectedTabChange=new mt(!0),u._groupId=sre++,u.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",u.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,u.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,u.contentTabIndex=null!==(d=null==s?void 0:s.contentTabIndex)&&void 0!==d?d:null,u}return f(n,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(o){this._dynamicHeight=kn(o)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(o){this._indexToSelect=yi(o,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(o){this._animationDuration=/^\d+$/.test(o)?o+"ms":o}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(o){this._contentTabIndex=yi(o,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(o){var s=this._elementRef.nativeElement;s.classList.remove("mat-background-".concat(this.backgroundColor)),o&&s.classList.add("mat-background-".concat(o)),this._backgroundColor=o}},{key:"ngAfterContentChecked",value:function(){var o=this,s=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=s){var l=null==this._selectedIndex;if(!l){this.selectedTabChange.emit(this._createChangeEvent(s));var u=this._tabBodyWrapper.nativeElement;u.style.minHeight=u.clientHeight+"px"}Promise.resolve().then(function(){o._tabs.forEach(function(d,y){return d.isActive=y===s}),l||(o.selectedIndexChange.emit(s),o._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(d,y){d.position=y-s,null!=o._selectedIndex&&0==d.position&&!d.origin&&(d.origin=s-o._selectedIndex)}),this._selectedIndex!==s&&(this._selectedIndex=s,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var o=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(o._clampTabIndex(o._indexToSelect)===o._selectedIndex)for(var l=o._tabs.toArray(),u=0;u.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 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;outline:0;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}\n"],encapsulation:2}),e}(),fre=Xs(function(){return function e(){c(this,e)}}()),bI=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this)).elementRef=a,o}return f(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(fre);return e.\u0275fac=function(t){return new(t||e)(N(pt))},e.\u0275dir=Ve({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,n){2&t&&(Dt("aria-disabled",!!n.disabled),Bt("mat-tab-disabled",n.disabled))},inputs:{disabled:"disabled"},features:[ht]}),e}(),kI=$l({passive:!0}),MI=function(){var e=function(){function i(t,n,a,o,s,l,u){var d=this;c(this,i),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ie,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ie,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new mt,this.indexFocused=new mt,s.runOutsideAngular(function(){ks(t.nativeElement,"mouseleave").pipe(rn(d._destroyed)).subscribe(function(){d._stopInterval()})})}return f(i,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){n=yi(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}},{key:"ngAfterViewInit",value:function(){var n=this;ks(this._previousPaginator.nativeElement,"touchstart",kI).pipe(rn(this._destroyed)).subscribe(function(){n._handlePaginatorPress("before")}),ks(this._nextPaginator.nativeElement,"touchstart",kI).pipe(rn(this._destroyed)).subscribe(function(){n._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var n=this,a=this._dir?this._dir.change:Qe("ltr"),o=this._viewportRuler.change(150),s=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new dP(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),wi(a,o,this._items.changes).pipe(rn(this._destroyed)).subscribe(function(){n._ngZone.run(function(){return Promise.resolve().then(s)}),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())}),this._keyManager.change.pipe(rn(this._destroyed)).subscribe(function(l){n.indexFocused.emit(l),n._setTabFocus(l)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(n){if(!Ms(n))switch(n.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n));break;default:this._keyManager.onKeydown(n)}}},{key:"_onContentChanges",value:function(){var n=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){!this._isValidIndex(n)||this.focusIndex===n||!this._keyManager||this._keyManager.setActiveItem(n)}},{key:"_isValidIndex",value:function(n){if(!this._items)return!0;var a=this._items?this._items.toArray()[n]:null;return!!a&&!a.disabled}},{key:"_setTabFocus",value:function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var a=this._tabListContainer.nativeElement,o=this._getLayoutDirection();a.scrollLeft="ltr"==o?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var n=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)}},{key:"_scrollHeader",value:function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(n){this._stopInterval(),this._scrollHeader(n)}},{key:"_scrollToLabel",value:function(n){if(!this.disablePagination){var a=this._items?this._items.toArray()[n]:null;if(a){var d,y,o=this._tabListContainer.nativeElement.offsetWidth,s=a.elementRef.nativeElement,l=s.offsetLeft,u=s.offsetWidth;"ltr"==this._getLayoutDirection()?y=(d=l)+u:d=(y=this._tabList.nativeElement.offsetWidth-l)-u;var T=this.scrollDistance,I=this.scrollDistance+o;dI&&(this.scrollDistance+=y-I+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=n?n.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(n,a){var o=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),fv(650,100).pipe(rn(wi(this._stopScrolling,this._destroyed))).subscribe(function(){var s=o._scrollHeader(n),u=s.distance;(0===u||u>=s.maxScrollDistance)&&o._stopInterval()}))}},{key:"_scrollTo",value:function(n){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275dir=Ve({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),mre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){var T;return c(this,n),(T=t.call(this,a,o,s,l,u,d,y))._disableRipple=!1,T}return f(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(o){this._disableRipple=kn(o)}},{key:"_itemSelected",value:function(o){o.preventDefault()}}]),n}(MI);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275dir=Ve({type:e,inputs:{disableRipple:"disableRipple"},features:[ht]}),e}(),vre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){return c(this,n),t.call(this,a,o,s,l,u,d,y)}return n}(mre);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab-header"]],contentQueries:function(t,n,a){var o;1&t&&ur(a,bI,4),2&t&&it(o=at())&&(n._items=o)},viewQuery:function(t,n){var a;1&t&&(_t(rg,7),_t(cI,7),_t(dI,7),_t(fI,5),_t(hI,5)),2&t&&(it(a=at())&&(n._inkBar=a.first),it(a=at())&&(n._tabListContainer=a.first),it(a=at())&&(n._tabList=a.first),it(a=at())&&(n._nextPaginator=a.first),it(a=at())&&(n._previousPaginator=a.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,n){2&t&&Bt("mat-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ht],ngContentSelectors:e0,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,n){1&t&&(ri(),p(0,"div",0,1),we("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(o){return n._handlePaginatorPress("before",o)})("touchend",function(){return n._stopInterval()}),Te(2,"div",2),m(),p(3,"div",3,4),we("keydown",function(o){return n._handleKeydown(o)}),p(5,"div",5,6),we("cdkObserveContent",function(){return n._onContentChanges()}),p(7,"div",7),jn(8),m(),Te(9,"mat-ink-bar"),m(),m(),p(10,"div",8,9),we("mousedown",function(o){return n._handlePaginatorPress("after",o)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Te(12,"div",2),m()),2&t&&(Bt("mat-tab-header-pagination-disabled",n._disableScrollBefore),D("matRippleDisabled",n._disableScrollBefore||n.disableRipple),v(5),Bt("_mat-animation-noopable","NoopAnimations"===n._animationMode),v(5),Bt("mat-tab-header-pagination-disabled",n._disableScrollAfter),D("matRippleDisabled",n._disableScrollAfter||n.disableRipple))},directives:[Go,Mv,rg],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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 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}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e}(),kre=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Bo,mn,gv,lh,wv,SP],mn]}),e}(),Cre=["button"],Mre=["settingsButton"],wre=["firstInput"];function Sre(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function Tre(e,i){1&e&&(F(0),H(1,"translate")),2&e&&Ce(" ",U(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function Dre(e,i){1&e&&(p(0,"mat-form-field"),Te(1,"input",20),H(2,"translate"),m()),2&e&&(v(1),D("placeholder",U(2,1,"apps.vpn-socks-client-settings.password")))}function Ere(e,i){1&e&&(p(0,"div",21),p(1,"mat-icon",22),F(2,"warning"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function Lre(e,i){1&e&&Te(0,"app-loading-indicator",23),2&e&&D("showWhite",!1)}function Pre(e,i){1&e&&(p(0,"div",24),p(1,"mat-icon",22),F(2,"error"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function Ore(e,i){1&e&&(p(0,"div",31),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function xre(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t[1]))}}function Ire(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t[2])}}function Are(e,i){if(1&e&&(p(0,"div",31),p(1,"span"),F(2),H(3,"translate"),m(),K(4,xre,3,3,"ng-container",7),K(5,Ire,2,1,"ng-container",7),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t[0])," "),v(2),D("ngIf",t[1]),v(1),D("ngIf",t[2])}}function Rre(e,i){1&e&&(p(0,"div",24),p(1,"mat-icon",22),F(2,"error"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var SI=function(e){return{highlighted:e}};function Fre(e,i){if(1&e&&(Ge(0),p(1,"span",36),F(2),m(),qe()),2&e){var t=i.$implicit,n=i.index;v(1),D("ngClass",et(2,SI,n%2!=0)),v(1),ye(t)}}function Nre(e,i){if(1&e&&(Ge(0),p(1,"div",37),Te(2,"div"),m(),qe()),2&e){var t=J(2).$implicit;v(2),nr("background-image: url('assets/img/flags/"+t.country.toLocaleLowerCase()+".png');")}}function Yre(e,i){if(1&e&&(Ge(0),p(1,"span",36),F(2),m(),qe()),2&e){var t=i.$implicit,n=i.index;v(1),D("ngClass",et(2,SI,n%2!=0)),v(1),ye(t)}}function Hre(e,i){if(1&e&&(p(0,"div",31),p(1,"span"),F(2),H(3,"translate"),m(),p(4,"span"),F(5,"\xa0 "),K(6,Nre,3,2,"ng-container",7),K(7,Yre,3,4,"ng-container",34),m(),m()),2&e){var t=J().$implicit,n=J(2);v(2),ye(U(3,3,"apps.vpn-socks-client-settings.location")),v(4),D("ngIf",t.country),v(1),D("ngForOf",n.getHighlightedTextParts(t.location,n.currentFilters.location))}}function Vre(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"button",25),we("click",function(){var l=Ae(t).$implicit;return J(2).saveChanges(l.pk,null,!1,l.location)}),p(2,"div",33),p(3,"div",31),p(4,"span"),F(5),H(6,"translate"),m(),p(7,"span"),F(8,"\xa0"),K(9,Fre,3,4,"ng-container",34),m(),m(),K(10,Hre,8,5,"div",28),m(),m(),p(11,"button",35),we("click",function(){var l=Ae(t).$implicit;return J(2).copyPk(l.pk)}),H(12,"translate"),p(13,"mat-icon",22),F(14,"filter_none"),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(5),ye(U(6,5,"apps.vpn-socks-client-settings.key")),v(4),D("ngForOf",a.getHighlightedTextParts(n.pk,a.currentFilters.key)),v(1),D("ngIf",n.location),v(1),D("matTooltip",U(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),v(2),D("inline",!0)}}function Bre(e,i){if(1&e){var t=nt();Ge(0),p(1,"button",25),we("click",function(){return Ae(t),J().changeFilters()}),p(2,"div",26),p(3,"div",27),p(4,"mat-icon",22),F(5,"filter_list"),m(),m(),p(6,"div"),K(7,Ore,3,3,"div",28),K(8,Are,6,5,"div",29),p(9,"div",30),F(10),H(11,"translate"),m(),m(),m(),m(),K(12,Rre,5,4,"div",12),K(13,Vre,15,9,"div",14),qe()}if(2&e){var n=J();v(4),D("inline",!0),v(3),D("ngIf",0===n.currentFiltersTexts.length),v(1),D("ngForOf",n.currentFiltersTexts),v(2),ye(U(11,6,"apps.vpn-socks-client-settings.click-to-change")),v(2),D("ngIf",0===n.filteredProxiesFromDiscovery.length),v(1),D("ngForOf",n.proxiesFromDiscoveryToShow)}}var jre=function(e,i){return{currentElementsRange:e,totalElements:i}};function Ure(e,i){if(1&e){var t=nt();p(0,"div",38),p(1,"span"),F(2),H(3,"translate"),m(),p(4,"button",39),we("click",function(){return Ae(t),J().goToPreviousPage()}),p(5,"mat-icon"),F(6,"chevron_left"),m(),m(),p(7,"button",39),we("click",function(){return Ae(t),J().goToNextPage()}),p(8,"mat-icon"),F(9,"chevron_right"),m(),m(),m()}if(2&e){var n=J();v(2),ye(Ht(3,1,"apps.vpn-socks-client-settings.pagination-info",Dn(4,jre,n.currentRange,n.filteredProxiesFromDiscovery.length)))}}var zre=function(e){return{number:e}};function Wre(e,i){if(1&e&&(p(0,"div"),p(1,"div",24),p(2,"mat-icon",22),F(3,"error"),m(),F(4),H(5,"translate"),m(),m()),2&e){var t=J();v(2),D("inline",!0),v(2),Ce(" ",Ht(5,2,"apps.vpn-socks-client-settings.no-history",et(5,zre,t.maxHistoryElements))," ")}}function Gre(e,i){1&e&&Dl(0)}function qre(e,i){1&e&&Dl(0)}function Kre(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J(2).$implicit;v(2),Ce(" ",t.note,"")}}function Jre(e,i){1&e&&(Ge(0),p(1,"span"),F(2),H(3,"translate"),m(),qe()),2&e&&(v(2),Ce(" ",U(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function $re(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J(4).$implicit;v(2),Ce(" (",t.location,")")}}function Qre(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),H(3,"translate"),m(),K(4,$re,3,1,"ng-container",7),qe()),2&e){var t=J(3).$implicit;v(2),Ce(" ",U(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),v(2),D("ngIf",t.location)}}function Zre(e,i){if(1&e&&(Ge(0),K(1,Jre,4,3,"ng-container",7),K(2,Qre,5,4,"ng-container",7),qe()),2&e){var t=J(2).$implicit;v(1),D("ngIf",t.enteredManually),v(1),D("ngIf",!t.enteredManually)}}function Xre(e,i){if(1&e&&(p(0,"div",45),p(1,"div",46),p(2,"div",31),p(3,"span"),F(4),H(5,"translate"),m(),p(6,"span"),F(7),m(),m(),p(8,"div",31),p(9,"span"),F(10),H(11,"translate"),m(),K(12,Kre,3,1,"ng-container",7),K(13,Zre,3,2,"ng-container",7),m(),m(),p(14,"div",47),p(15,"div",48),p(16,"mat-icon",22),F(17,"add"),m(),m(),m(),m()),2&e){var t=J().$implicit;v(4),ye(U(5,6,"apps.vpn-socks-client-settings.key")),v(3),Ce(" ",t.key,""),v(3),ye(U(11,8,"apps.vpn-socks-client-settings.note")),v(2),D("ngIf",t.note),v(1),D("ngIf",!t.note),v(3),D("inline",!0)}}function eie(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"button",40),we("click",function(){var s=Ae(t).$implicit;return J().useFromHistory(s)}),K(2,Gre,1,0,"ng-container",41),m(),p(3,"button",42),we("click",function(){var s=Ae(t).$implicit;return J().changeNote(s)}),H(4,"translate"),p(5,"mat-icon",22),F(6,"edit"),m(),m(),p(7,"button",42),we("click",function(){var s=Ae(t).$implicit;return J().removeFromHistory(s.key)}),H(8,"translate"),p(9,"mat-icon",22),F(10,"close"),m(),m(),p(11,"button",43),we("click",function(){var s=Ae(t).$implicit;return J().openHistoryOptions(s)}),K(12,qre,1,0,"ng-container",41),m(),K(13,Xre,18,10,"ng-template",null,44,Il),m()}if(2&e){var n=Lr(14);v(2),D("ngTemplateOutlet",n),v(1),D("matTooltip",U(4,6,"apps.vpn-socks-client-settings.change-note")),v(2),D("inline",!0),v(2),D("matTooltip",U(8,8,"apps.vpn-socks-client-settings.remove-entry")),v(2),D("inline",!0),v(3),D("ngTemplateOutlet",n)}}function tie(e,i){1&e&&(p(0,"div",49),p(1,"mat-icon",22),F(2,"warning"),m(),F(3),H(4,"translate"),m()),2&e&&(v(1),D("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var nie=function(){function e(i,t,n,a,o,s,l,u){this.data=i,this.dialogRef=t,this.appsService=n,this.formBuilder=a,this.snackbarService=o,this.dialog=s,this.proxyDiscoveryService=l,this.clipboardService=u,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new uI,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==i.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(function(o){i.proxiesFromDiscovery=o,i.proxiesFromDiscovery.forEach(function(s){s.country&&i.countriesFromDiscovery.add(s.country.toUpperCase())}),i.filterProxies(),i.loadingFromDiscovery=!1});var t=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=t?JSON.parse(t):[];var n="";if(this.data.args&&this.data.args.length>0)for(var a=0;a=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())},e.prototype.goToPreviousPage=function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())},e.prototype.showCurrentPage=function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPagethis.maxHistoryElements){var l=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-l,l)}this.form.get("pk").setValue(i);var u=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,u),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)},e.prototype.onServerDataChangeError=function(i){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),i=tn(i),this.snackbarService.showError(i)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ad),N(ia),N(xn),N(Gn),N(jne),N(Ch))},e.\u0275cmp=Ke({type:e,selectors:[["app-skysocks-client-settings"]],viewQuery:function(t,n){if(1&t&&(_t(Cre,5),_t(Mre,5),_t(wre,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.settingsButton=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(t,n){if(1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"mat-tab-group"),p(3,"mat-tab",1),H(4,"translate"),p(5,"form",2),p(6,"mat-form-field"),Te(7,"input",3,4),H(9,"translate"),p(10,"mat-error"),K(11,Sre,3,3,"ng-container",5),m(),K(12,Tre,2,3,"ng-template",null,6,Il),m(),K(14,Dre,3,3,"mat-form-field",7),K(15,Ere,5,4,"div",8),p(16,"app-button",9,10),we("action",function(){return n.saveChanges()}),F(18),H(19,"translate"),m(),m(),m(),p(20,"mat-tab",1),H(21,"translate"),K(22,Lre,1,1,"app-loading-indicator",11),K(23,Pre,5,4,"div",12),K(24,Bre,14,8,"ng-container",7),K(25,Ure,10,7,"div",13),m(),p(26,"mat-tab",1),H(27,"translate"),K(28,Wre,6,7,"div",7),K(29,eie,15,10,"div",14),m(),p(30,"mat-tab",1),H(31,"translate"),p(32,"div",15),p(33,"mat-checkbox",16),we("change",function(s){return n.setKillswitch(s)}),F(34),H(35,"translate"),p(36,"mat-icon",17),H(37,"translate"),F(38,"help"),m(),m(),m(),K(39,tie,5,4,"div",18),p(40,"app-button",9,19),we("action",function(){return n.saveSettings()}),F(42),H(43,"translate"),m(),m(),m(),m()),2&t){var a=Lr(13);D("headline",U(1,26,"apps.vpn-socks-client-settings."+(n.configuringVpn?"vpn-title":"socks-title"))),v(3),D("label",U(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(9,30,"apps.vpn-socks-client-settings.public-key")),v(4),D("ngIf",!n.form.get("pk").hasError("pattern"))("ngIfElse",a),v(3),D("ngIf",n.configuringVpn),v(1),D("ngIf",n.form&&n.form.get("password").value),v(1),D("disabled",!n.form.valid||n.working),v(2),Ce(" ",U(19,32,"apps.vpn-socks-client-settings.save")," "),v(2),D("label",U(21,34,"apps.vpn-socks-client-settings.discovery-tab")),v(2),D("ngIf",n.loadingFromDiscovery),v(1),D("ngIf",!n.loadingFromDiscovery&&0===n.proxiesFromDiscovery.length),v(1),D("ngIf",!n.loadingFromDiscovery&&n.proxiesFromDiscovery.length>0),v(1),D("ngIf",n.numberOfPages>1),v(1),D("label",U(27,36,"apps.vpn-socks-client-settings.history-tab")),v(2),D("ngIf",0===n.history.length),v(1),D("ngForOf",n.history),v(1),D("label",U(31,38,"apps.vpn-socks-client-settings.settings-tab")),v(3),D("checked",n.killswitch),v(1),Ce(" ",U(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),v(2),D("inline",!0)("matTooltip",U(37,42,"apps.vpn-socks-client-settings.killswitch-info")),v(3),D("ngIf",n.killswitch!==n.initialKillswitchSetting),v(1),D("disabled",n.killswitch===n.initialKillswitchSetting||n.working),v(2),Ce(" ",U(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[vr,dre,gI,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,yh,Ot,ui,xr,ol,Cn,cr,ws,bi,Cr,bm],pipes:[wt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),e}();function rie(e,i){1&e&&(p(0,"span",14),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"apps.apps-list.title")))}function iie(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function aie(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function oie(e,i){if(1&e&&(p(0,"div",18),p(1,"span"),F(2),H(3,"translate"),m(),K(4,iie,3,3,"ng-container",19),K(5,aie,2,1,"ng-container",19),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function sie(e,i){if(1&e){var t=nt();p(0,"div",15),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,oie,6,5,"div",16),p(2,"div",17),F(3),H(4,"translate"),m(),m()}if(2&e){var n=J();v(1),D("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),ye(U(4,2,"filters.press-to-remove"))}}function lie(e,i){if(1&e){var t=nt();p(0,"mat-icon",20),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),H(1,"translate"),F(2,"filter_list"),m()}2&e&&D("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function uie(e,i){1&e&&(p(0,"mat-icon",21),F(1,"more_horiz"),m()),2&e&&(J(),D("matMenuTriggerFor",Lr(9)))}var t0=function(e){return["/nodes",e,"apps-list"]};function cie(e,i){if(1&e&&Te(0,"app-paginator",22),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function die(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function fie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function hie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function pie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function mie(e,i){if(1&e&&(p(0,"a",45),p(1,"button",46),H(2,"translate"),p(3,"mat-icon",37),F(4,"open_in_browser"),m(),m(),m()),2&e){var t=J().$implicit;D("href",J(2).getLink(t),Io),v(1),D("matTooltip",U(2,3,"apps.open")),v(2),D("inline",!0)}}function vie(e,i){if(1&e){var t=nt();p(0,"button",42),we("click",function(){Ae(t);var a=J().$implicit;return J(2).config(a)}),H(1,"translate"),p(2,"mat-icon",37),F(3,"settings"),m(),m()}2&e&&(D("matTooltip",U(1,2,"apps.settings")),v(2),D("inline",!0))}function gie(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",39),p(2,"mat-checkbox",40),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),Te(4,"i",41),H(5,"translate"),m(),p(6,"td"),F(7),m(),p(8,"td"),F(9),m(),p(10,"td"),p(11,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).changeAppAutostart(l)}),H(12,"translate"),p(13,"mat-icon",37),F(14),m(),m(),m(),p(15,"td",30),K(16,mie,5,5,"a",43),K(17,vie,4,4,"button",44),p(18,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).viewLogs(l)}),H(19,"translate"),p(20,"mat-icon",37),F(21,"list"),m(),m(),p(22,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).changeAppState(l)}),H(23,"translate"),p(24,"mat-icon",37),F(25),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),D("checked",a.selections.get(n.name)),v(2),pa(1===n.status?"dot-green":"dot-red"),D("matTooltip",U(5,16,1===n.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip")),v(3),Ce(" ",n.name," "),v(2),Ce(" ",n.port," "),v(2),D("matTooltip",U(12,18,n.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),v(2),D("inline",!0),v(1),ye(n.autostart?"done":"close"),v(2),D("ngIf",a.getLink(n)),v(1),D("ngIf",a.appsWithConfig.has(n.name)),v(1),D("matTooltip",U(19,20,"apps.view-logs")),v(2),D("inline",!0),v(2),D("matTooltip",U(23,22,"apps."+(1===n.status?"stop-app":"start-app"))),v(2),D("inline",!0),v(1),ye(1===n.status?"stop":"play_arrow")}}function _ie(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.label")))}function yie(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"tables.inverted-order")))}function bie(e,i){if(1&e&&(p(0,"a",52),we("click",function(o){return o.stopPropagation()}),p(1,"button",53),H(2,"translate"),p(3,"mat-icon"),F(4,"open_in_browser"),m(),m(),m()),2&e){var t=J().$implicit;D("href",J(2).getLink(t),Io),v(1),D("matTooltip",U(2,2,"apps.open"))}}function kie(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",34),p(3,"div",47),p(4,"mat-checkbox",40),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",35),p(6,"div",48),p(7,"span",1),F(8),H(9,"translate"),m(),F(10),m(),p(11,"div",48),p(12,"span",1),F(13),H(14,"translate"),m(),F(15),m(),p(16,"div",48),p(17,"span",1),F(18),H(19,"translate"),m(),F(20,": "),p(21,"span"),F(22),H(23,"translate"),m(),m(),p(24,"div",48),p(25,"span",1),F(26),H(27,"translate"),m(),F(28,": "),p(29,"span"),F(30),H(31,"translate"),m(),m(),m(),Te(32,"div",49),p(33,"div",36),K(34,bie,5,4,"a",50),p(35,"button",51),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),H(36,"translate"),p(37,"mat-icon"),F(38),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),D("checked",a.selections.get(n.name)),v(4),ye(U(9,16,"apps.apps-list.app-name")),v(2),Ce(": ",n.name," "),v(3),ye(U(14,18,"apps.apps-list.port")),v(2),Ce(": ",n.port," "),v(3),ye(U(19,20,"apps.apps-list.state")),v(3),pa((1===n.status?"green-clear-text":"red-clear-text")+" title"),v(1),Ce(" ",U(23,22,1===n.status?"apps.status-running":"apps.status-stopped")," "),v(4),ye(U(27,24,"apps.apps-list.auto-start")),v(3),pa((n.autostart?"green-clear-text":"red-clear-text")+" title"),v(1),Ce(" ",U(31,26,n.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),v(4),D("ngIf",a.getLink(n)),v(1),D("matTooltip",U(36,28,"common.options")),v(3),ye("add")}}function Cie(e,i){if(1&e&&Te(0,"app-view-all-link",54),2&e){var t=J(2);D("numberOfElements",t.filteredApps.length)("linkParts",et(3,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Mie=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},wie=function(e){return{"d-lg-none d-xl-table":e}},Sie=function(e){return{"d-lg-table d-xl-none":e}};function Tie(e,i){if(1&e){var t=nt();p(0,"div",23),p(1,"div",24),p(2,"table",25),p(3,"tr"),Te(4,"th"),p(5,"th",26),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.stateSortData)}),H(6,"translate"),Te(7,"span",27),K(8,die,2,2,"mat-icon",28),m(),p(9,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.nameSortData)}),F(10),H(11,"translate"),K(12,fie,2,2,"mat-icon",28),m(),p(13,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.portSortData)}),F(14),H(15,"translate"),K(16,hie,2,2,"mat-icon",28),m(),p(17,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.autoStartSortData)}),F(18),H(19,"translate"),K(20,pie,2,2,"mat-icon",28),m(),Te(21,"th",30),m(),K(22,gie,26,24,"tr",31),m(),p(23,"table",32),p(24,"tr",33),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(25,"td"),p(26,"div",34),p(27,"div",35),p(28,"div",1),F(29),H(30,"translate"),m(),p(31,"div"),F(32),H(33,"translate"),K(34,_ie,3,3,"ng-container",19),K(35,yie,3,3,"ng-container",19),m(),m(),p(36,"div",36),p(37,"mat-icon",37),F(38,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(39,kie,39,30,"tr",31),m(),K(40,Cie,1,5,"app-view-all-link",38),m(),m()}if(2&e){var n=J();v(1),D("ngClass",Dn(31,Mie,n.showShortList_,!n.showShortList_)),v(1),D("ngClass",et(34,wie,n.showShortList_)),v(3),D("matTooltip",U(6,19,"apps.apps-list.state-tooltip")),v(3),D("ngIf",n.dataSorter.currentSortingColumn===n.stateSortData),v(2),Ce(" ",U(11,21,"apps.apps-list.app-name")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.nameSortData),v(2),Ce(" ",U(15,23,"apps.apps-list.port")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.portSortData),v(2),Ce(" ",U(19,25,"apps.apps-list.auto-start")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.autoStartSortData),v(2),D("ngForOf",n.dataSource),v(1),D("ngClass",et(36,Sie,n.showShortList_)),v(6),ye(U(30,27,"tables.sorting-title")),v(3),Ce("",U(33,29,n.dataSorter.currentSortingColumn.label)," "),v(2),D("ngIf",n.dataSorter.currentlySortingByLabel),v(1),D("ngIf",n.dataSorter.sortingInReverseOrder),v(2),D("inline",!0),v(2),D("ngForOf",n.dataSource),v(1),D("ngIf",n.showShortList_&&n.numberOfPages>1)}}function Die(e,i){1&e&&(p(0,"span",58),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"apps.apps-list.empty")))}function Eie(e,i){1&e&&(p(0,"span",58),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"apps.apps-list.empty-with-filter")))}function Lie(e,i){if(1&e&&(p(0,"div",23),p(1,"div",55),p(2,"mat-icon",56),F(3,"warning"),m(),K(4,Die,3,3,"span",57),K(5,Eie,3,3,"span",57),m(),m()),2&e){var t=J();v(2),D("inline",!0),v(2),D("ngIf",0===t.allApps.length),v(1),D("ngIf",0!==t.allApps.length)}}function Pie(e,i){if(1&e&&Te(0,"app-paginator",22),2&e){var t=J();D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Oie=function(e){return{"paginator-icons-fixer":e}},TI=function(){function e(i,t,n,a,o,s){var l=this;this.appsService=i,this.dialog=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.listId="ap",this.stateSortData=new Ln(["status"],"apps.apps-list.state",un.NumberReversed),this.nameSortData=new Ln(["name"],"apps.apps-list.app-name",un.Text),this.portSortData=new Ln(["port"],"apps.apps-list.port",un.Number),this.autoStartSortData=new Ln(["autostart"],"apps.apps-list.auto-start",un.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:dr.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:dr.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:dr.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:dr.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){l.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){l.filteredApps=d,l.dataSorter.setData(l.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(d){if(d.has("page")){var y=Number.parseInt(d.get("page"),10);(isNaN(y)||y<1)&&(y=1),l.currentPageInUrl=y,l.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredApps)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apps",{set:function(i){this.allApps=i||[],this.dataFilterer.setData(this.allApps)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},e.prototype.getLink=function(i){if("skychat"===i.name.toLocaleLowerCase()&&this.nodeIp){var t="8001";if(i.args)for(var n=0;nthis.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(n,n+t),this.appsMap=new Map,this.appsToShow.forEach(function(s){i.appsMap.set(s.name,s),i.selections.has(s.name)||i.selections.set(s.name,!1)});var o=[];this.selections.forEach(function(s,l){i.appsMap.has(l)||o.push(l)}),o.forEach(function(s){i.selections.delete(s)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(function(){return At.refreshCurrentDisplayedData()},2e3))},e.prototype.startChangingAppState=function(i,t){return this.appsService.changeAppState(At.getCurrentNodeKey(),i,t)},e.prototype.startChangingAppAutostart=function(i,t){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),i,t)},e.prototype.changeAppsValRecursively=function(i,t,n,a){var s,o=this;if(void 0===a&&(a=null),!i||0===i.length)return setTimeout(function(){return At.refreshCurrentDisplayedData()},50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(a&&a.close());s=t?this.startChangingAppAutostart(i[i.length-1],n):this.startChangingAppState(i[i.length-1],n),this.operationSubscriptionsGroup.push(s.subscribe(function(){i.pop(),0===i.length?(a&&a.close(),setTimeout(function(){o.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o.snackbarService.showDone("apps.operation-completed")):o.changeAppsValRecursively(i,t,n,a)},function(l){l=tn(l),setTimeout(function(){o.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),a?a.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):o.snackbarService.showError(l)}))},e.\u0275fac=function(t){return new(t||e)(N(ad),N(Gn),N(ai),N(Zt),N(xn),N(si))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,rie,3,3,"span",2),K(3,sie,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,lie,3,4,"mat-icon",6),K(7,uie,2,1,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),H(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),H(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.changeStateOfSelected(!0)}),F(17),H(18,"translate"),m(),p(19,"div",11),we("click",function(){return n.changeStateOfSelected(!1)}),F(20),H(21,"translate"),m(),p(22,"div",11),we("click",function(){return n.changeAutostartOfSelected(!0)}),F(23),H(24,"translate"),m(),p(25,"div",11),we("click",function(){return n.changeAutostartOfSelected(!1)}),F(26),H(27,"translate"),m(),m(),m(),K(28,cie,1,6,"app-paginator",12),m(),m(),K(29,Tie,41,38,"div",13),K(30,Lie,6,3,"div",13),K(31,Pie,1,6,"app-paginator",12)),2&t&&(D("ngClass",et(32,Oie,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),D("ngIf",n.showShortList_),v(1),D("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),D("ngIf",n.allApps&&n.allApps.length>0),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("overlapTrigger",!1),v(3),Ce(" ",U(12,20,"selection.select-all")," "),v(3),Ce(" ",U(15,22,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,24,"selection.start-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(21,26,"selection.stop-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(24,28,"selection.enable-autostart-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(27,30,"selection.disable-autostart-all")," "),v(2),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),D("ngIf",n.dataSource&&n.dataSource.length>0),v(1),D("ngIf",!n.dataSource||0===n.dataSource.length),v(1),D("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,xr,Cn,cr,ld,cd,ol,bi,ng],pipes:[wt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),e}(),xie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.apps=t.apps,i.nodeIp=t.ip})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(t,n){1&t&&Te(0,"app-node-app-list",0),2&t&&D("apps",n.apps)("showShortList",!0)("nodePK",n.nodePK)("nodeIp",n.nodeIp)},directives:[TI],styles:[""]}),e}();function Iie(e,i){1&e&&Te(0,"app-transport-list",1),2&e&&D("node",J().node)("showShortList",!1)}var Aie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){return i.node=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(t,n){1&t&&K(0,Iie,1,2,"app-transport-list",0),2&t&&D("ngIf",n.node)},directives:[Ot,sI],styles:[""]}),e}();function Rie(e,i){if(1&e&&Te(0,"app-route-list",1),2&e){var t=J();D("routes",t.routes)("showShortList",!1)("nodePK",t.nodePK)}}var Fie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.routes=t.routes})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(t,n){1&t&&K(0,Rie,1,3,"app-route-list",0),2&t&&D("ngIf",n.routes)},directives:[Ot,lI],styles:[""]}),e}();function Nie(e,i){if(1&e&&Te(0,"app-node-app-list",1),2&e){var t=J();D("apps",t.apps)("showShortList",!1)("nodePK",t.nodePK)}}var Yie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.apps=t.apps})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(t,n){1&t&&K(0,Nie,1,3,"app-node-app-list",0),2&t&&D("ngIf",n.apps)},directives:[Ot,TI],styles:[""]}),e}(),Hie=["button"],Vie=["firstInput"],DI=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.snackbarService=a,this.routeService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({min:[this.data.minHops,En.compose([En.required,En.maxLength(3),En.pattern("^[0-9]+$")])]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.ngOnDestroy=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.save=function(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},e.prototype.onSuccess=function(i){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")},e.prototype.onError=function(i){this.button.showError(),this.operationSubscription=null,i=tn(i),this.snackbarService.showError(i)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(xn),N(K1))},e.\u0275cmp=Ke({type:e,selectors:[["app-router-config"]],viewQuery:function(t,n){if(1&t&&(_t(Hie,5),_t(Vie,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"div",1),F(3),H(4,"translate"),m(),p(5,"form",2),p(6,"mat-form-field"),Te(7,"input",3,4),H(9,"translate"),m(),m(),p(10,"app-button",5,6),we("action",function(){return n.save()}),F(12),H(13,"translate"),m(),m()),2&t&&(D("headline",U(1,6,"router-config.title")),v(3),ye(U(4,8,"router-config.info")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(9,10,"router-config.min-hops")),v(3),D("disabled",!n.form.valid),v(2),Ce(" ",U(13,12,"router-config.save-config-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,ui],pipes:[wt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),e}(),Bie=function(){function e(i){this.clipboardService=i,this.copyEvent=new mt,this.errorEvent=new mt,this.value=""}return e.prototype.ngOnDestroy=function(){this.copyEvent.complete(),this.errorEvent.complete()},e.prototype.copyToClipboard=function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()},e.\u0275fac=function(t){return new(t||e)(N(Ch))},e.\u0275dir=Ve({type:e,selectors:[["","clipboard",""]],hostBindings:function(t,n){1&t&&we("click",function(){return n.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),e}();function jie(e,i){if(1&e&&(Ge(0),Te(1,"app-truncated-text",3),F(2," \xa0"),p(3,"mat-icon",4),F(4,"filter_none"),m(),qe()),2&e){var t=J();v(1),D("short",t.short)("showTooltip",!1)("shortTextLength",t.shortTextLength)("text",t.text),v(2),D("inline",!0)}}function Uie(e,i){if(1&e&&(p(0,"div",5),p(1,"div",6),F(2),m(),F(3," \xa0"),p(4,"mat-icon",4),F(5,"filter_none"),m(),m()),2&e){var t=J();v(2),ye(t.text),v(2),D("inline",!0)}}var zie=function(e){return{text:e}},Wie=function(){return{"tooltip-word-break":!0}},n0=function(){function e(i){this.snackbarService=i,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return e.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},e.\u0275fac=function(t){return new(t||e)(N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(t,n){1&t&&(p(0,"div",0),we("copyEvent",function(){return n.onCopyToClipboardClicked()}),H(1,"translate"),K(2,jie,5,5,"ng-container",1),K(3,Uie,6,2,"div",2),m()),2&t&&(D("clipboard",n.text)("matTooltip",Ht(1,5,n.short||n.shortSimple?"copy.tooltip-with-text":"copy.tooltip",et(8,zie,n.text)))("matTooltipClass",Yn(10,Wie)),v(2),D("ngIf",!n.shortSimple),v(1),D("ngIf",n.shortSimple))},directives:[Bie,cr,Ot,Sx,Cn],pipes:[wt],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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.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}']}),e}(),Gie=B(55494),qie=["chart"],r0=function(){function e(i){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=i.find([]).create(null)}return e.prototype.ngAfterViewInit=function(){this.chart=new Gie.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],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}},layout:{padding:{left:0,right:0,top:e.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))},e.prototype.ngDoCheck=function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))},e.prototype.ngOnDestroy=function(){this.chart&&this.chart.destroy()},e.prototype.updateMinAndMax=function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}},e.topInternalMargin=5,e.\u0275fac=function(t){return new(t||e)(N(Pl))},e.\u0275cmp=Ke({type:e,selectors:[["app-line-chart"]],viewQuery:function(t,n){var a;(1&t&&_t(qie,5),2&t)&&(it(a=at())&&(n.chartElement=a.first))},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"canvas",null,1),m()),2&t&&nr("height: "+n.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),e}(),EI=function(){return{showValue:!0}},LI=function(){return{showUnit:!0}},Kie=function(){function e(i){this.nodeService=i}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(function(t){i.data=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-line-chart",1),p(2,"div",2),p(3,"span",3),F(4),H(5,"translate"),m(),p(6,"span",4),p(7,"span",5),F(8),H(9,"autoScale"),m(),p(10,"span",6),F(11),H(12,"autoScale"),m(),m(),m(),m(),p(13,"div",0),Te(14,"app-line-chart",1),p(15,"div",2),p(16,"span",3),F(17),H(18,"translate"),m(),p(19,"span",4),p(20,"span",5),F(21),H(22,"autoScale"),m(),p(23,"span",6),F(24),H(25,"autoScale"),m(),m(),m(),m()),2&t&&(v(1),D("data",n.data.sentHistory),v(3),ye(U(5,8,"common.uploaded")),v(4),ye(Ht(9,10,n.data.totalSent,Yn(24,EI))),v(3),ye(Ht(12,13,n.data.totalSent,Yn(25,LI))),v(3),D("data",n.data.receivedHistory),v(3),ye(U(18,16,"common.downloaded")),v(4),ye(Ht(22,18,n.data.totalReceived,Yn(26,EI))),v(3),ye(Ht(25,21,n.data.totalReceived,Yn(27,LI))))},directives:[r0],pipes:[wt,Th],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}"]}),e}();function Jie(e,i){if(1&e&&(p(0,"span",4),p(1,"span",5),F(2),H(3,"translate"),m(),Te(4,"app-copy-to-clipboard-text",8),m()),2&e){var t=J(2);v(2),Ce("",U(3,2,"node.details.node-info.public-ip"),"\xa0"),v(2),Tn("text",t.node.publicIp)}}function $ie(e,i){if(1&e&&(p(0,"span",4),p(1,"span",5),F(2),H(3,"translate"),m(),Te(4,"app-copy-to-clipboard-text",8),m()),2&e){var t=J(2);v(2),Ce("",U(3,2,"node.details.node-info.ip"),"\xa0"),v(2),Tn("text",t.node.ip)}}function Qie(e,i){if(1&e&&(p(0,"span",4),p(1,"span",5),F(2),H(3,"translate"),m(),F(4),m()),2&e){var t=J(2);v(2),ye(U(3,2,"node.details.node-info.skybian-version")),v(2),Ce(" ",t.node.skybianBuildVersion," ")}}var a0=function(e){return{time:e}};function Zie(e,i){if(1&e&&(p(0,"mat-icon",12),H(1,"translate"),F(2," info "),m()),2&e){var t=J(2);D("inline",!0)("matTooltip",Ht(1,2,"node.details.node-info.time.minutes",et(5,a0,t.timeOnline.totalMinutes)))}}function Xie(e,i){if(1&e){var t=nt();p(0,"div",1),p(1,"div",2),p(2,"span",3),F(3),H(4,"translate"),m(),p(5,"span",4),p(6,"span",5),F(7),H(8,"translate"),m(),p(9,"span",6),we("click",function(){return Ae(t),J().showEditLabelDialog()}),F(10),p(11,"mat-icon",7),F(12,"edit"),m(),m(),m(),p(13,"span",4),p(14,"span",5),F(15),H(16,"translate"),m(),Te(17,"app-copy-to-clipboard-text",8),m(),p(18,"span",4),p(19,"span",5),F(20),H(21,"translate"),m(),F(22),H(23,"translate"),m(),K(24,Jie,5,4,"span",9),K(25,$ie,5,4,"span",9),p(26,"span",4),p(27,"span",5),F(28),H(29,"translate"),m(),Te(30,"app-copy-to-clipboard-text",8),m(),p(31,"span",4),p(32,"span",5),F(33),H(34,"translate"),m(),F(35),H(36,"translate"),m(),p(37,"span",4),p(38,"span",5),F(39),H(40,"translate"),m(),F(41),H(42,"translate"),m(),p(43,"span",4),p(44,"span",5),F(45),H(46,"translate"),m(),F(47),H(48,"translate"),m(),K(49,Qie,5,4,"span",9),p(50,"span",4),p(51,"span",5),F(52),H(53,"translate"),m(),F(54),H(55,"translate"),K(56,Zie,3,7,"mat-icon",10),m(),m(),Te(57,"div",11),p(58,"div",2),p(59,"span",3),F(60),H(61,"translate"),m(),p(62,"span",4),p(63,"span",5),F(64),H(65,"translate"),m(),F(66),H(67,"translate"),p(68,"mat-icon",12),H(69,"translate"),F(70,"info"),m(),m(),p(71,"div",13),p(72,"app-button",14),we("action",function(){return Ae(t),J().changeTransportsConfig()}),F(73),H(74,"translate"),m(),m(),m(),Te(75,"div",11),p(76,"div",2),p(77,"span",3),F(78),H(79,"translate"),m(),p(80,"span",4),p(81,"span",5),F(82),H(83,"translate"),m(),F(84),m(),p(85,"div",13),p(86,"app-button",14),we("action",function(){return Ae(t),J().changeRouterConfig()}),F(87),H(88,"translate"),m(),m(),m(),Te(89,"div",11),p(90,"div",2),p(91,"span",3),F(92),H(93,"translate"),m(),p(94,"span",4),p(95,"span",5),F(96),H(97,"translate"),m(),Te(98,"i"),F(99),H(100,"translate"),m(),m(),Te(101,"div",11),p(102,"div",2),p(103,"span",3),F(104),H(105,"translate"),m(),Te(106,"app-charts",15),m(),m()}if(2&e){var n=J();v(3),ye(U(4,40,"node.details.node-info.title")),v(4),ye(U(8,42,"node.details.node-info.label")),v(3),Ce(" ",n.node.label," "),v(1),D("inline",!0),v(4),Ce("",U(16,44,"node.details.node-info.public-key"),"\xa0"),v(2),Tn("text",n.node.localPk),v(3),Ce("",U(21,46,"node.details.node-info.symmetic-nat"),"\xa0"),v(2),Ce(" ",U(23,48,n.node.isSymmeticNat?"common.yes":"common.no")," "),v(2),D("ngIf",!n.node.isSymmeticNat),v(1),D("ngIf",n.node.ip),v(3),Ce("",U(29,50,"node.details.node-info.dmsg-server"),"\xa0"),v(2),Tn("text",n.node.dmsgServerPk),v(3),Ce("",U(34,52,"node.details.node-info.ping"),"\xa0"),v(2),Ce(" ",Ht(36,54,"common.time-in-ms",et(94,a0,n.node.roundTripPing))," "),v(4),ye(U(40,57,"node.details.node-info.node-version")),v(2),Ce(" ",n.node.version?n.node.version:U(42,59,"common.unknown")," "),v(4),ye(U(46,61,"node.details.node-info.build-type")),v(2),Ce(" ",n.node.buildTag?n.node.buildTag:U(48,63,"node.details.node-info.unknown-build")," "),v(2),D("ngIf",n.node.skybianBuildVersion),v(3),ye(U(53,65,"node.details.node-info.time.title")),v(2),Ce(" ",Ht(55,67,"node.details.node-info.time."+n.timeOnline.translationVarName,et(96,a0,n.timeOnline.elapsedTime))," "),v(2),D("ngIf",n.timeOnline.totalMinutes>60),v(4),ye(U(61,70,"node.details.transports-info.title")),v(4),ye(U(65,72,"node.details.transports-info.autoconnect")),v(2),Ce(" ",U(67,74,"node.details.transports-info."+(n.node.autoconnectTransports?"enabled":"disabled"))," "),v(2),D("inline",!0)("matTooltip",U(69,76,"node.details.transports-info.autoconnect-info")),v(4),D("forDarkBackground",!0),v(1),Ce(" ",U(74,78,"node.details.transports-info."+(n.node.autoconnectTransports?"disable":"enable")+"-button")," "),v(5),ye(U(79,80,"node.details.router-info.title")),v(4),ye(U(83,82,"node.details.router-info.min-hops")),v(2),Ce(" ",n.node.minHops," "),v(2),D("forDarkBackground",!0),v(1),Ce(" ",U(88,84,"node.details.router-info.change-config-button")," "),v(5),ye(U(93,86,"node.details.node-health.title")),v(4),ye(U(97,88,"node.details.node-health.uptime-tracker")),v(2),pa(n.nodeHealthClass),v(1),Ce(" ",U(100,90,n.nodeHealthText)," "),v(5),ye(U(105,92,"node.details.node-traffic-data"))}}var PI=function(){function e(i,t,n,a){this.dialog=i,this.storageService=t,this.transportService=n,this.snackbarService=a}return Object.defineProperty(e.prototype,"nodeInfo",{set:function(i){this.node=i,this.timeOnline=Ux.getElapsedTime(i.secondsOnline),i.health&&i.health.servicesHealth===il.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):i.health&&i.health.servicesHealth===il.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):i.health&&i.health.servicesHealth===il.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()},e.prototype.showEditLabelDialog=function(){var i=this.storageService.getLabelInfo(this.node.localPk);i||(i={id:this.node.localPk,label:"",identifiedElementType:ea.Node}),J1.openDialog(this.dialog,i).afterClosed().subscribe(function(t){t&&At.refreshCurrentDisplayedData()})},e.prototype.changeRouterConfig=function(){DI.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(function(t){t&&At.refreshCurrentDisplayedData()})},e.prototype.changeTransportsConfig=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=i.transportService.changeAutoconnectSetting(i.node.localPk,!i.node.autoconnectTransports);i.autoconnectSubscription=n.subscribe(function(){t.close(),i.snackbarService.showDone(i.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},function(a){a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(ta),N(Xv),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(t,n){1&t&&K(0,Xie,107,98,"div",0),2&t&&D("ngIf",n.node)},directives:[Ot,Cn,n0,cr,ui,Kie],pipes:[wt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:bold;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:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),e}(),eae=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.node=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(t,n){1&t&&Te(0,"app-node-info-content",0),2&t&&D("nodeInfo",n.node)},directives:[PI],styles:[""]}),e}(),tae=function(){return["settings.title","labels.title"]},nae=function(){function e(i){this.router=i,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return e.prototype.performAction=function(i){null===i&&this.router.navigate(["settings"])},e.\u0275fac=function(t){return new(t||e)(N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"app-top-bar",2),we("optionSelected",function(o){return n.performAction(o)}),m(),m(),p(3,"div",3),Te(4,"app-label-list",4),m(),m()),2&t&&(v(2),D("titleParts",Yn(5,tae))("tabsData",n.tabsData)("showUpdateButton",!1)("returnText",n.returnButtonText),v(2),D("showShortList",!1))},directives:[lu,aI],styles:[""]}),e}(),rae=["firstInput"];function iae(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function aae(e,i){1&e&&(F(0),H(1,"translate")),2&e&&Ce(" ",U(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var oae=function(){function e(i,t,n,a,o,s,l,u){this.dialogRef=i,this.data=t,this.formBuilder=n,this.dialog=a,this.router=o,this.vpnClientService=s,this.vpnSavedDataService=l,this.snackbarService=u}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({pk:["",En.compose([En.required,En.minLength(66),En.maxLength(66),En.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){if(this.form.valid){var i={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};Wr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,i,this.form.get("password").value)}},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(Gn),N(Zt),N(od),N(su),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-add-vpn-server"]],viewQuery:function(t,n){var a;(1&t&&_t(rae,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,n){if(1&t&&(p(0,"app-dialog",0),H(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),H(6,"translate"),p(7,"mat-error"),K(8,iae,3,3,"ng-container",4),m(),K(9,aae,2,3,"ng-template",null,5,Il),m(),p(11,"mat-form-field"),Te(12,"input",6),H(13,"translate"),m(),p(14,"mat-form-field"),Te(15,"input",7),H(16,"translate"),m(),p(17,"mat-form-field"),Te(18,"input",8),H(19,"translate"),m(),m(),p(20,"app-button",9),we("action",function(){return n.process()}),F(21),H(22,"translate"),m(),m()),2&t){var a=Lr(10);D("headline",U(1,10,"vpn.server-list.add-server-dialog.title")),v(2),D("formGroup",n.form),v(2),D("placeholder",U(6,12,"vpn.server-list.add-server-dialog.pk-label")),v(4),D("ngIf",!n.form.get("pk").hasError("pattern"))("ngIfElse",a),v(4),D("placeholder",U(13,14,"vpn.server-list.add-server-dialog.password-label")),v(3),D("placeholder",U(16,16,"vpn.server-list.add-server-dialog.name-label")),v(3),D("placeholder",U(19,18,"vpn.server-list.add-server-dialog.note-label")),v(2),D("disabled",!n.form.valid),v(1),Ce(" ",U(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,Bi,yh,Ot,ui],pipes:[wt],styles:[""]}),e}(),sae=function(){return function(){this.countryCode="ZZ"}}(),lae=function(){function e(i){this.http=i,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}return e.prototype.getServers=function(){var i=this;return this.servers?Qe(this.servers):this.http.get(this.discoveryServiceUrl).pipe(id(function(t){return t.pipe(ci(4e3))}),$e(function(t){var n=[];return t.forEach(function(a){var o=new sae,s=a.address.split(":");2===s.length&&(o.pk=s[0],o.location="",a.geo&&(a.geo.country&&(o.countryCode=a.geo.country),a.geo.region&&(o.location=a.geo.region)),o.name=s[0],o.note="",n.push(o))}),i.servers=n,n}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Ks))},providedIn:"root"}),e}();function uae(e,i){1&e&&Dl(0)}var OI=function(){return["vpn.title"]};function cae(e,i){if(1&e&&(p(0,"div",3),p(1,"div",4),Te(2,"app-top-bar",5),p(3,"div",6),p(4,"div",7),p(5,"div",8),K(6,uae,1,0,"ng-container",9),m(),m(),m(),m(),Te(7,"app-loading-indicator",10),m()),2&e){var t=J(),n=Lr(2);v(2),D("titleParts",Yn(6,OI))("tabsData",t.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(4),D("ngTemplateOutlet",n)}}function dae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e&&(v(2),ye(U(3,1,"vpn.server-list.tabs.public")))}var ig=function(e,i){return["/vpn",e,"servers",i,1]};function fae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e){var t=J(2);D("routerLink",Dn(4,ig,t.currentLocalPk,t.lists.Public)),v(2),ye(U(3,2,"vpn.server-list.tabs.public"))}}function hae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e&&(v(2),ye(U(3,1,"vpn.server-list.tabs.history")))}function pae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e){var t=J(2);D("routerLink",Dn(4,ig,t.currentLocalPk,t.lists.History)),v(2),ye(U(3,2,"vpn.server-list.tabs.history"))}}function mae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e&&(v(2),ye(U(3,1,"vpn.server-list.tabs.favorites")))}function vae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e){var t=J(2);D("routerLink",Dn(4,ig,t.currentLocalPk,t.lists.Favorites)),v(2),ye(U(3,2,"vpn.server-list.tabs.favorites"))}}function gae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e&&(v(2),ye(U(3,1,"vpn.server-list.tabs.blocked")))}function _ae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),H(3,"translate"),m(),m()),2&e){var t=J(2);D("routerLink",Dn(4,ig,t.currentLocalPk,t.lists.Blocked)),v(2),ye(U(3,2,"vpn.server-list.tabs.blocked"))}}function yae(e,i){1&e&&Te(0,"br")}function bae(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),ye(U(2,1,t.translatableValue))}}function kae(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),ye(t.value)}}function Cae(e,i){if(1&e&&(p(0,"div",28),p(1,"span"),F(2),H(3,"translate"),m(),K(4,bae,3,3,"ng-container",21),K(5,kae,2,1,"ng-container",21),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),D("ngIf",t.translatableValue),v(1),D("ngIf",t.value)}}function Mae(e,i){if(1&e){var t=nt();p(0,"div",25),we("click",function(){return Ae(t),J(3).dataFilterer.removeFilters()}),p(1,"div",26),p(2,"mat-icon",19),F(3,"search"),m(),F(4),H(5,"translate"),m(),K(6,Cae,6,5,"div",27),m()}if(2&e){var n=J(3);v(2),D("inline",!0),v(2),Ce(" ",U(5,3,"vpn.server-list.current-filters"),""),v(2),D("ngForOf",n.dataFilterer.currentFiltersTexts)}}function wae(e,i){if(1&e&&(Ge(0),K(1,yae,1,0,"br",21),K(2,Mae,7,5,"div",24),qe()),2&e){var t=J(2);v(1),D("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(1),D("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0)}}var Sae=function(e){return{deactivated:e}};function Tae(e,i){if(1&e){var t=nt();p(0,"div",11),p(1,"div",12),p(2,"div",13),p(3,"div",14),K(4,dae,4,3,"div",15),K(5,fae,4,7,"a",16),K(6,hae,4,3,"div",15),K(7,pae,4,7,"a",16),K(8,mae,4,3,"div",15),K(9,vae,4,7,"a",16),K(10,gae,4,3,"div",15),K(11,_ae,4,7,"a",16),m(),m(),m(),m(),p(12,"div",17),p(13,"div",12),p(14,"div",13),p(15,"div",14),p(16,"div",18),we("click",function(){Ae(t);var o=J();return o.dataFilterer?o.dataFilterer.changeFilters():null}),H(17,"translate"),p(18,"span"),p(19,"mat-icon",19),F(20,"search"),m(),m(),m(),m(),m(),m(),m(),p(21,"div",20),p(22,"div",12),p(23,"div",13),p(24,"div",14),p(25,"div",18),we("click",function(){return Ae(t),J().enterManually()}),H(26,"translate"),p(27,"span"),p(28,"mat-icon",19),F(29,"add"),m(),m(),m(),m(),m(),m(),m(),K(30,wae,3,2,"ng-container",21)}if(2&e){var n=J();v(4),D("ngIf",n.currentList===n.lists.Public),v(1),D("ngIf",n.currentList!==n.lists.Public),v(1),D("ngIf",n.currentList===n.lists.History),v(1),D("ngIf",n.currentList!==n.lists.History),v(1),D("ngIf",n.currentList===n.lists.Favorites),v(1),D("ngIf",n.currentList!==n.lists.Favorites),v(1),D("ngIf",n.currentList===n.lists.Blocked),v(1),D("ngIf",n.currentList!==n.lists.Blocked),v(1),D("ngClass",et(18,Sae,n.loading)),v(4),D("matTooltip",U(17,14,"filters.filter-info")),v(3),D("inline",!0),v(6),D("matTooltip",U(26,16,"vpn.server-list.add-manually-info")),v(3),D("inline",!0),v(2),D("ngIf",n.dataFilterer)}}function Dae(e,i){1&e&&Dl(0)}function Eae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(5);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Lae(e,i){if(1&e){var t=nt();p(0,"th",50),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.dateSortData)}),H(1,"translate"),p(2,"div",43),p(3,"div",44),F(4),H(5,"translate"),m(),K(6,Eae,2,2,"mat-icon",41),m(),m()}if(2&e){var n=J(4);D("matTooltip",U(1,3,"vpn.server-list.date-info")),v(4),Ce(" ",U(5,5,"vpn.server-list.date-small-table-label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.dateSortData)}}function Pae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Oae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function xae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Iae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Aae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);D("inline",!0),v(1),ye(t.dataSorter.sortingArrow)}}function Rae(e,i){if(1&e&&(p(0,"td",64),F(1),H(2,"date"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",Ht(2,1,t.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function Fae(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),Ce(" ",t.location," ")}}function Nae(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.server-list.unknown")," "))}var Yae=function(e,i){return{custom:e,original:i}};function Hae(e,i){if(1&e&&(p(0,"mat-icon",65),we("click",function(o){return o.stopPropagation()}),H(1,"translate"),F(2,"info_outline"),m()),2&e){var t=J().$implicit,n=J(4);D("inline",!0)("matTooltip",Ht(1,2,n.getNoteVar(t),Dn(5,Yae,t.personalNote,t.note)))}}var Vae=function(e){return{"selectable click-effect":e}};function Bae(e,i){if(1&e){var t=nt();p(0,"tr",51),we("click",function(){var l=Ae(t).$implicit,u=J(4);return u.currentList!==u.lists.Blocked?u.selectServer(l):null}),K(1,Rae,3,4,"td",52),p(2,"td",53),p(3,"div",54),Te(4,"div",55),m(),m(),p(5,"td",56),Te(6,"app-vpn-server-name",57),m(),p(7,"td",58),K(8,Fae,2,1,"ng-container",21),K(9,Nae,3,3,"ng-container",21),m(),p(10,"td",59),p(11,"app-copy-to-clipboard-text",60),we("click",function(s){return s.stopPropagation()}),m(),m(),p(12,"td",61),K(13,Hae,3,8,"mat-icon",62),m(),p(14,"td",48),p(15,"button",63),we("click",function(s){var u=Ae(t).$implicit,d=J(4);return s.stopPropagation(),d.openOptions(u)}),H(16,"translate"),p(17,"mat-icon",19),F(18,"settings"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(4);D("ngClass",et(23,Vae,a.currentList!==a.lists.Blocked)),v(1),D("ngIf",a.currentList===a.lists.History),v(3),nr("background-image: url('assets/img/big-flags/"+n.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",a.getCountryName(n.countryCode)),v(2),D("isCurrentServer",a.currentServer&&n.pk===a.currentServer.pk)("isFavorite",n.flag===a.serverFlags.Favorite&&a.currentList!==a.lists.Favorites)("isBlocked",n.flag===a.serverFlags.Blocked&&a.currentList!==a.lists.Blocked)("isInHistory",n.inHistory&&a.currentList!==a.lists.History)("hasPassword",n.usedWithPassword)("name",n.name)("pk",n.pk)("customName",n.customName)("defaultName","vpn.server-list.none"),v(2),D("ngIf",n.location),v(1),D("ngIf",!n.location),v(2),D("shortSimple",!0)("text",n.pk),v(2),D("ngIf",n.note||n.personalNote),v(2),D("matTooltip",U(16,21,"vpn.server-options.tooltip")),v(2),D("inline",!0)}}var jae=function(e,i){return{"public-pk-column":e,"history-pk-column":i}};function Uae(e,i){if(1&e){var t=nt();p(0,"table",38),p(1,"tr"),K(2,Lae,7,7,"th",39),p(3,"th",40),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.countrySortData)}),H(4,"translate"),p(5,"mat-icon",19),F(6,"flag"),m(),K(7,Pae,2,2,"mat-icon",41),m(),p(8,"th",42),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.nameSortData)}),p(9,"div",43),p(10,"div",44),F(11),H(12,"translate"),m(),K(13,Oae,2,2,"mat-icon",41),m(),m(),p(14,"th",45),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.locationSortData)}),p(15,"div",43),p(16,"div",44),F(17),H(18,"translate"),m(),K(19,xae,2,2,"mat-icon",41),m(),m(),p(20,"th",46),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.pkSortData)}),H(21,"translate"),p(22,"div",43),p(23,"div",44),F(24),H(25,"translate"),m(),K(26,Iae,2,2,"mat-icon",41),m(),m(),p(27,"th",47),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.noteSortData)}),H(28,"translate"),p(29,"div",43),p(30,"mat-icon",19),F(31,"info_outline"),m(),K(32,Aae,2,2,"mat-icon",41),m(),m(),Te(33,"th",48),m(),K(34,Bae,19,25,"tr",49),m()}if(2&e){var n=J(3);v(2),D("ngIf",n.currentList===n.lists.History),v(1),D("matTooltip",U(4,16,"vpn.server-list.country-info")),v(2),D("inline",!0),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.countrySortData),v(4),Ce(" ",U(12,18,"vpn.server-list.name-small-table-label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.nameSortData),v(4),Ce(" ",U(18,20,"vpn.server-list.location-small-table-label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.locationSortData),v(1),D("ngClass",Dn(28,jae,n.currentList===n.lists.Public,n.currentList===n.lists.History))("matTooltip",U(21,22,"vpn.server-list.public-key-info")),v(4),Ce(" ",U(25,24,"vpn.server-list.public-key-small-table-label")," "),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.pkSortData),v(1),D("matTooltip",U(28,26,"vpn.server-list.note-info")),v(3),D("inline",!0),v(2),D("ngIf",n.dataSorter.currentSortingColumn===n.noteSortData),v(2),D("ngForOf",n.dataSource)}}function zae(e,i){if(1&e&&(p(0,"div",35),p(1,"div",36),K(2,Uae,35,31,"table",37),m(),m()),2&e){var t=J(2);v(2),D("ngIf",t.dataSource.length>0)}}var Wae=function(e,i){return["/vpn",e,"servers",i]};function Gae(e,i){if(1&e&&Te(0,"app-paginator",66),2&e){var t=J(2);D("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Dn(4,Wae,t.currentLocalPk,t.currentList))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function qae(e,i){1&e&&(p(0,"span",70),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"vpn.server-list.empty-discovery")))}function Kae(e,i){1&e&&(p(0,"span",70),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"vpn.server-list.empty-history")))}function Jae(e,i){1&e&&(p(0,"span",70),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"vpn.server-list.empty-favorites")))}function $ae(e,i){1&e&&(p(0,"span",70),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"vpn.server-list.empty-blocked")))}function Qae(e,i){1&e&&(p(0,"span",70),F(1),H(2,"translate"),m()),2&e&&(v(1),ye(U(2,1,"vpn.server-list.empty-with-filter")))}function Zae(e,i){if(1&e&&(p(0,"div",35),p(1,"div",67),p(2,"mat-icon",68),F(3,"warning"),m(),K(4,qae,3,3,"span",69),K(5,Kae,3,3,"span",69),K(6,Jae,3,3,"span",69),K(7,$ae,3,3,"span",69),K(8,Qae,3,3,"span",69),m(),m()),2&e){var t=J(2);v(2),D("inline",!0),v(2),D("ngIf",0===t.allServers.length&&t.currentList===t.lists.Public),v(1),D("ngIf",0===t.allServers.length&&t.currentList===t.lists.History),v(1),D("ngIf",0===t.allServers.length&&t.currentList===t.lists.Favorites),v(1),D("ngIf",0===t.allServers.length&&t.currentList===t.lists.Blocked),v(1),D("ngIf",0!==t.allServers.length)}}var Xae=function(e){return{"mb-3":e}};function eoe(e,i){if(1&e&&(p(0,"div",29),p(1,"div",30),Te(2,"app-top-bar",5),m(),p(3,"div",31),p(4,"div",7),p(5,"div",32),K(6,Dae,1,0,"ng-container",9),m(),K(7,zae,3,1,"div",33),K(8,Gae,1,7,"app-paginator",34),K(9,Zae,9,6,"div",33),m(),m(),m()),2&e){var t=J(),n=Lr(2);v(2),D("titleParts",Yn(10,OI))("tabsData",t.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(3),D("ngClass",et(11,Xae,!t.dataFilterer.currentFiltersTexts||t.dataFilterer.currentFiltersTexts.length<1)),v(1),D("ngTemplateOutlet",n),v(1),D("ngIf",0!==t.dataSource.length),v(1),D("ngIf",t.numberOfPages>1),v(1),D("ngIf",0===t.dataSource.length)}}var Qr=function(e){return e.Public="public",e.History="history",e.Favorites="favorites",e.Blocked="blocked",e}({}),xI=function(){function e(i,t,n,a,o,s,l,u){var d=this;this.dialog=i,this.router=t,this.translateService=n,this.route=a,this.vpnClientDiscoveryService=o,this.vpnClientService=s,this.vpnSavedDataService=l,this.snackbarService=u,this.maxFullListElements=50,this.dateSortData=new Ln(["lastUsed"],"vpn.server-list.date-small-table-label",un.NumberReversed),this.countrySortData=new Ln(["countryName"],"vpn.server-list.country-small-table-label",un.Text),this.nameSortData=new Ln(["name"],"vpn.server-list.name-small-table-label",un.Text),this.locationSortData=new Ln(["location"],"vpn.server-list.location-small-table-label",un.Text),this.pkSortData=new Ln(["pk"],"vpn.server-list.public-key-small-table-label",un.Text),this.noteSortData=new Ln(["note"],"vpn.server-list.note-small-table-label",un.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=Wr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Qr.Public,this.vpnRunning=!1,this.serverFlags=rr,this.lists=Qr,this.initialLoadStarted=!1,this.navigationsSubscription=a.paramMap.subscribe(function(y){if(y.has("type")?y.get("type")===Qr.Favorites?(d.currentList=Qr.Favorites,d.listId="vfs"):y.get("type")===Qr.Blocked?(d.currentList=Qr.Blocked,d.listId="vbs"):y.get("type")===Qr.History?(d.currentList=Qr.History,d.listId="vhs"):(d.currentList=Qr.Public,d.listId="vps"):(d.currentList=Qr.Public,d.listId="vps"),Wr.setDefaultTabForServerList(d.currentList),y.has("key")&&(d.currentLocalPk=y.get("key"),Wr.changeCurrentPk(d.currentLocalPk),d.tabsData=Wr.vpnTabsData),y.has("page")){var T=Number.parseInt(y.get("page"),10);(isNaN(T)||T<1)&&(T=1),d.currentPageInUrl=T,d.recalculateElementsToShow()}d.initialLoadStarted||(d.initialLoadStarted=!0,d.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(function(y){return d.currentServer=y}),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(function(y){y&&(d.loadingBackendData=!1,d.vpnRunning=y.vpnClientAppData.running)})}return e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()},e.prototype.enterManually=function(){oae.openDialog(this.dialog,this.currentLocalPk)},e.prototype.getNoteVar=function(i){return i.note&&i.personalNote?"vpn.server-list.notes-info":!i.note&&i.personalNote?i.personalNote:i.note},e.prototype.selectServer=function(i){var t=this,n=this.vpnSavedDataService.getSavedVersion(i.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),n&&n.flag===rr.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===i.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var a=ln.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.vpnClientService.start(),Wr.redirectAfterServerChange(t.router,null,t.currentLocalPk)})}return}if(n&&n.usedWithPassword)return void Ax.openDialog(this.dialog,!0).afterClosed().subscribe(function(o){o&&t.makeServerChange(i,"-"===o?null:o.substr(1))});this.makeServerChange(i,null)}},e.prototype.makeServerChange=function(i,t){Wr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,i.originalLocalData,i.originalDiscoveryData,null,t)},e.prototype.openOptions=function(i){var t=this,n=this.vpnSavedDataService.getSavedVersion(i.pk,!0);n||(n=this.vpnSavedDataService.processFromDiscovery(i.originalDiscoveryData)),n?Wr.openServerOptions(n,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(function(a){a&&t.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")},e.prototype.loadData=function(){var i=this;this.dataSubscription=this.currentList===Qr.Public?this.vpnClientDiscoveryService.getServers().subscribe(function(n){i.allServers=n.map(function(a){return{countryCode:a.countryCode,countryName:i.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,originalDiscoveryData:a}}),i.vpnSavedDataService.updateFromDiscovery(n),i.loading=!1,i.processAllServers()}):(this.currentList===Qr.History?this.vpnSavedDataService.history:this.currentList===Qr.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe(function(n){var a=[];n.forEach(function(o){a.push({countryCode:o.countryCode,countryName:i.getCountryName(o.countryCode),name:o.name,customName:null,location:o.location,pk:o.pk,note:o.note,personalNote:null,lastUsed:o.lastUsed,inHistory:o.inHistory,flag:o.flag,originalLocalData:o})}),i.allServers=a,i.loading=!1,i.processAllServers()})},e.prototype.processAllServers=function(){var i=this;this.fillFilterPropertiesArray();var t=new Set;this.allServers.forEach(function(d,y){t.add(d.countryCode);var T=i.vpnSavedDataService.getSavedVersion(d.pk,0===y);d.customName=T?T.customName:null,d.personalNote=T?T.personalNote:null,d.inHistory=!!T&&T.inHistory,d.flag=T?T.flag:rr.None,d.enteredManually=!!T&&T.enteredManually,d.usedWithPassword=!!T&&T.usedWithPassword});var n=[];t.forEach(function(d){n.push({label:i.getCountryName(d),value:d,image:"/assets/img/big-flags/"+d.toLowerCase()+".png"})}),n.sort(function(d,y){return d.label.localeCompare(y.label)}),n=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(n),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:dr.Select,printableLabelsForValues:n,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var s,l,u,o=[];this.currentList===Qr.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),s=0,l=1):(this.currentList===Qr.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),s=this.currentList===Qr.History?0:1,l=this.currentList===Qr.History?2:3),this.dataSorter=new td(this.dialog,this.translateService,o,s,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){i.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){i.filteredServers=d,i.dataSorter.setData(i.filteredServers)}),u=this.currentList===Qr.Public?this.allServers.filter(function(d){return d.flag!==rr.Blocked}):this.allServers,this.dataFilterer.setData(u)},e.prototype.fillFilterPropertiesArray=function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:dr.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:dr.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:dr.TextInput,maxlength:100}]},e.prototype.recalculateElementsToShow=function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var i=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/i),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var t=i*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(t,t+i)}else this.serversToShow=null;this.dataSource=this.serversToShow},e.prototype.getCountryName=function(i){return Ds[i.toUpperCase()]?Ds[i.toUpperCase()]:i},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Zt),N(si),N(ai),N(lae),N(od),N(su),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(K(0,cae,8,7,"div",0),K(1,Tae,31,20,"ng-template",null,1,Il),K(3,eoe,10,13,"div",2)),2&t&&(D("ngIf",n.loading||n.loadingBackendData),v(3),D("ngIf",!n.loading&&!n.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:normal!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}(),Dh=function(e,i){return{"small-text-icon":e,"big-text-icon":i}};function toe(e,i){if(1&e&&(p(0,"mat-icon",4),H(1,"translate"),F(2,"done"),m()),2&e){var t=J();D("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.selected-info"))}}function noe(e,i){if(1&e&&(p(0,"mat-icon",5),H(1,"translate"),F(2,"clear"),m()),2&e){var t=J();D("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.blocked-info"))}}function roe(e,i){if(1&e&&(p(0,"mat-icon",6),H(1,"translate"),F(2,"star"),m()),2&e){var t=J();D("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.favorite-info"))}}function ioe(e,i){if(1&e&&(p(0,"mat-icon",4),H(1,"translate"),F(2,"history"),m()),2&e){var t=J();D("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.history-info"))}}function aoe(e,i){if(1&e&&(p(0,"mat-icon",4),H(1,"translate"),F(2,"lock_outlined"),m()),2&e){var t=J();D("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.has-password-info"))}}function ooe(e,i){if(1&e&&(Ge(0),F(1),p(2,"mat-icon",7),F(3,"fiber_manual_record"),m(),F(4),qe()),2&e){var t=J();v(1),Ce(" ",t.customName," "),v(1),D("inline",!0),v(2),Ce(" ",t.name,"\n")}}function soe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J();v(1),ye(t.customName)}}function loe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J();v(1),ye(t.name)}}function uoe(e,i){if(1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e){var t=J();v(1),ye(U(2,1,t.defaultName))}}var II=function(){function e(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(t,n){1&t&&(K(0,toe,3,8,"mat-icon",0),K(1,noe,3,8,"mat-icon",1),K(2,roe,3,8,"mat-icon",2),K(3,ioe,3,8,"mat-icon",0),K(4,aoe,3,8,"mat-icon",0),K(5,ooe,5,3,"ng-container",3),K(6,soe,2,1,"ng-container",3),K(7,loe,2,1,"ng-container",3),K(8,uoe,3,3,"ng-container",3)),2&t&&(D("ngIf",n.isCurrentServer),v(1),D("ngIf",n.isBlocked),v(1),D("ngIf",n.isFavorite),v(1),D("ngIf",n.isInHistory),v(1),D("ngIf",n.hasPassword),v(1),D("ngIf",n.customName&&n.name&&(!n.pk||n.name!==n.pk)),v(1),D("ngIf",(!n.name||n.pk&&n.name===n.pk)&&n.customName),v(1),D("ngIf",n.name&&(!n.pk||n.name!==n.pk)&&!n.customName),v(1),D("ngIf",(!n.name||n.pk&&n.name===n.pk)&&!n.customName))},directives:[Ot,Cn,Cr,cr],pipes:[wt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),e}(),AI=function(){return["vpn.title"]};function coe(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3),m(),Te(3,"app-loading-indicator"),m()),2&e){var t=J();v(2),D("titleParts",Yn(5,AI))("tabsData",t.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk)}}function doe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&D("diameter",40)}function foe(e,i){1&e&&(p(0,"mat-icon",33),F(1,"power_settings_new"),m()),2&e&&D("inline",!0)}function hoe(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",34),Te(2,"div",35),m(),p(3,"div",36),p(4,"div",37),Te(5,"app-vpn-server-name",38),m(),p(6,"div",39),Te(7,"app-copy-to-clipboard-text",40),m(),m(),p(8,"div",41),Te(9,"div"),m(),p(10,"div",42),p(11,"mat-icon",43),we("click",function(){return Ae(t),J(3).openServerOptions()}),H(12,"translate"),F(13,"settings"),m(),m(),qe()}if(2&e){var n=J(3);v(2),nr("background-image: url('assets/img/big-flags/"+n.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),D("matTooltip",n.getCountryName(n.currentRemoteServer.countryCode)),v(3),D("isFavorite",n.currentRemoteServer.flag===n.serverFlags.Favorite)("isBlocked",n.currentRemoteServer.flag===n.serverFlags.Blocked)("hasPassword",n.currentRemoteServer.usedWithPassword)("name",n.currentRemoteServer.name)("pk",n.currentRemoteServer.pk)("customName",n.currentRemoteServer.customName),v(2),D("shortSimple",!0)("text",n.currentRemoteServer.pk),v(4),D("inline",!0)("matTooltip",U(12,13,"vpn.server-options.tooltip"))}}function poe(e,i){1&e&&(Ge(0),p(1,"div",44),F(2),H(3,"translate"),m(),qe()),2&e&&(v(2),ye(U(3,1,"vpn.status-page.no-server")))}var moe=function(e,i){return{custom:e,original:i}};function voe(e,i){if(1&e&&(p(0,"div",45),p(1,"mat-icon",33),F(2,"info_outline"),m(),F(3),H(4,"translate"),m()),2&e){var t=J(3);v(1),D("inline",!0),v(2),Ce(" ",Ht(4,2,t.getNoteVar(),Dn(5,moe,t.currentRemoteServer.personalNote,t.currentRemoteServer.note))," ")}}function goe(e,i){if(1&e&&(p(0,"div",46),p(1,"mat-icon",33),F(2,"cancel"),m(),F(3),H(4,"translate"),m()),2&e){var t=J(3);v(1),D("inline",!0),v(2),Ii(" ",U(4,3,"vpn.status-page.last-error")," ",t.backendState.vpnClientAppData.lastErrorMsg," ")}}var RI=function(e){return{"disabled-button":e}};function _oe(e,i){if(1&e){var t=nt();p(0,"div",22),p(1,"div",11),p(2,"div",13),F(3),H(4,"translate"),m(),p(5,"div"),p(6,"div",23),we("click",function(){return Ae(t),J(2).start()}),p(7,"div",24),Te(8,"div",25),m(),p(9,"div",24),Te(10,"div",26),m(),K(11,doe,1,1,"mat-spinner",27),K(12,foe,2,1,"mat-icon",28),m(),m(),p(13,"div",29),K(14,hoe,14,15,"ng-container",18),K(15,poe,4,3,"ng-container",18),m(),p(16,"div"),K(17,voe,5,8,"div",30),m(),p(18,"div"),K(19,goe,5,5,"div",31),m(),m(),m()}if(2&e){var n=J(2);v(3),ye(U(4,8,"vpn.status-page.start-title")),v(3),D("ngClass",et(10,RI,n.showBusy)),v(5),D("ngIf",n.showBusy),v(1),D("ngIf",!n.showBusy),v(2),D("ngIf",n.currentRemoteServer),v(1),D("ngIf",!n.currentRemoteServer),v(2),D("ngIf",n.currentRemoteServer&&(n.currentRemoteServer.note||n.currentRemoteServer.personalNote)),v(2),D("ngIf",n.backendState&&n.backendState.vpnClientAppData&&n.backendState.vpnClientAppData.lastErrorMsg)}}function yoe(e,i){if(1&e&&(p(0,"div",77),p(1,"mat-icon",33),F(2,"cancel"),m(),F(3),H(4,"translate"),m()),2&e){var t=J(3);v(1),D("inline",!0),v(2),Ii(" ",U(4,3,"vpn.status-page.last-error")," ",t.backendState.vpnClientAppData.connectionData.error," ")}}function boe(e,i){1&e&&(p(0,"div"),Te(1,"mat-spinner",32),m()),2&e&&(v(1),D("diameter",24))}function koe(e,i){1&e&&(p(0,"mat-icon",33),F(1,"power_settings_new"),m()),2&e&&D("inline",!0)}var dd=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:e}},FI=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:e}},NI=function(e){return{showValue:!0,showUnit:!0,useBits:e}},ag=function(e){return{time:e}};function Coe(e,i){if(1&e){var t=nt();p(0,"div",47),p(1,"div",11),p(2,"div",48),p(3,"div",49),p(4,"mat-icon",33),F(5,"timer"),m(),p(6,"span"),F(7),m(),m(),m(),p(8,"div",50),F(9),H(10,"translate"),m(),p(11,"div",51),p(12,"div",52),F(13),H(14,"translate"),m(),Te(15,"div"),m(),p(16,"div",53),F(17),H(18,"translate"),m(),K(19,yoe,5,5,"div",54),p(20,"div",55),p(21,"div",56),H(22,"translate"),p(23,"div",57),Te(24,"app-line-chart",58),m(),p(25,"div",59),p(26,"div",60),p(27,"div",61),F(28),H(29,"autoScale"),m(),Te(30,"div",62),m(),m(),p(31,"div",59),p(32,"div",63),p(33,"div",61),F(34),H(35,"autoScale"),m(),Te(36,"div",62),m(),m(),p(37,"div",59),p(38,"div",64),p(39,"div",61),F(40),H(41,"autoScale"),m(),m(),m(),p(42,"div",65),p(43,"mat-icon",66),F(44,"keyboard_backspace"),m(),p(45,"div",67),F(46),H(47,"autoScale"),m(),p(48,"div",68),F(49),H(50,"autoScale"),H(51,"translate"),m(),m(),m(),p(52,"div",56),H(53,"translate"),p(54,"div",57),Te(55,"app-line-chart",58),m(),p(56,"div",69),p(57,"div",60),p(58,"div",61),F(59),H(60,"autoScale"),m(),Te(61,"div",62),m(),m(),p(62,"div",59),p(63,"div",63),p(64,"div",61),F(65),H(66,"autoScale"),m(),Te(67,"div",62),m(),m(),p(68,"div",59),p(69,"div",64),p(70,"div",61),F(71),H(72,"autoScale"),m(),m(),m(),p(73,"div",65),p(74,"mat-icon",70),F(75,"keyboard_backspace"),m(),p(76,"div",67),F(77),H(78,"autoScale"),m(),p(79,"div",68),F(80),H(81,"autoScale"),H(82,"translate"),m(),m(),m(),m(),p(83,"div",71),p(84,"div",72),H(85,"translate"),p(86,"div",57),Te(87,"app-line-chart",73),m(),p(88,"div",69),p(89,"div",60),p(90,"div",61),F(91),H(92,"translate"),m(),Te(93,"div",62),m(),m(),p(94,"div",59),p(95,"div",63),p(96,"div",61),F(97),H(98,"translate"),m(),Te(99,"div",62),m(),m(),p(100,"div",59),p(101,"div",64),p(102,"div",61),F(103),H(104,"translate"),m(),m(),m(),p(105,"div",65),p(106,"mat-icon",33),F(107,"swap_horiz"),m(),p(108,"div"),F(109),H(110,"translate"),m(),m(),m(),m(),p(111,"div",74),we("click",function(){return Ae(t),J(2).stop()}),p(112,"div",75),p(113,"div",76),K(114,boe,2,1,"div",18),K(115,koe,2,1,"mat-icon",28),p(116,"span"),F(117),H(118,"translate"),m(),m(),m(),m(),m(),m()}if(2&e){var n=J(2);v(4),D("inline",!0),v(3),ye(n.connectionTimeString),v(2),ye(U(10,58,"vpn.connection-info.state-title")),v(4),ye(U(14,60,n.currentStateText)),v(2),pa("state-line "+n.currentStateLineClass),v(2),ye(U(18,62,n.currentStateText+"-info")),v(2),D("ngIf",n.backendState&&n.backendState.vpnClientAppData&&n.backendState.vpnClientAppData.connectionData&&n.backendState.vpnClientAppData.connectionData.error),v(2),D("matTooltip",U(22,64,"vpn.status-page.upload-info")),v(3),D("animated",!1)("data",n.sentHistory)("min",n.minUploadInGraph)("max",n.maxUploadInGraph),v(4),Ce(" ",Ht(29,66,n.maxUploadInGraph,et(118,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(35,69,n.midUploadInGraph,et(120,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(41,72,n.minUploadInGraph,et(122,dd,n.showSpeedsInBits))," "),v(3),D("inline",!0),v(3),ye(Ht(47,75,n.uploadSpeed,et(124,FI,n.showSpeedsInBits))),v(3),Ii(" ",Ht(50,78,n.totalUploaded,et(126,NI,n.showTotalsInBits))," ",U(51,81,"vpn.status-page.total-data-label")," "),v(3),D("matTooltip",U(53,83,"vpn.status-page.download-info")),v(3),D("animated",!1)("data",n.receivedHistory)("min",n.minDownloadInGraph)("max",n.maxDownloadInGraph),v(4),Ce(" ",Ht(60,85,n.maxDownloadInGraph,et(128,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(66,88,n.midDownloadInGraph,et(130,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(72,91,n.minDownloadInGraph,et(132,dd,n.showSpeedsInBits))," "),v(3),D("inline",!0),v(3),ye(Ht(78,94,n.downloadSpeed,et(134,FI,n.showSpeedsInBits))),v(3),Ii(" ",Ht(81,97,n.totalDownloaded,et(136,NI,n.showTotalsInBits))," ",U(82,100,"vpn.status-page.total-data-label")," "),v(4),D("matTooltip",U(85,102,"vpn.status-page.latency-info")),v(3),D("animated",!1)("data",n.latencyHistory)("min",n.minLatencyInGraph)("max",n.maxLatencyInGraph),v(4),Ce(" ",Ht(92,104,"common."+n.getLatencyValueString(n.maxLatencyInGraph),et(138,ag,n.getPrintableLatency(n.maxLatencyInGraph)))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(98,107,"common."+n.getLatencyValueString(n.midLatencyInGraph),et(140,ag,n.getPrintableLatency(n.midLatencyInGraph)))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(104,110,"common."+n.getLatencyValueString(n.minLatencyInGraph),et(142,ag,n.getPrintableLatency(n.minLatencyInGraph)))," "),v(3),D("inline",!0),v(3),ye(Ht(110,113,"common."+n.getLatencyValueString(n.latency),et(144,ag,n.getPrintableLatency(n.latency)))),v(2),D("ngClass",et(146,RI,n.showBusy)),v(3),D("ngIf",n.showBusy),v(1),D("ngIf",!n.showBusy),v(2),ye(U(118,116,"vpn.status-page.disconnect"))}}function Moe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J(3);v(1),ye(t.currentIp)}}function woe(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"common.unknown")))}function Soe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&D("diameter",20)}function Toe(e,i){1&e&&(p(0,"mat-icon",81),H(1,"translate"),F(2,"warning"),m()),2&e&&D("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-problem-info"))}function Doe(e,i){if(1&e){var t=nt();p(0,"mat-icon",82),we("click",function(){return Ae(t),J(3).getIp()}),H(1,"translate"),F(2,"refresh"),m()}2&e&&D("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-refresh-info"))}function Eoe(e,i){if(1&e&&(p(0,"div",78),K(1,Moe,2,1,"ng-container",18),K(2,woe,3,3,"ng-container",18),K(3,Soe,1,1,"mat-spinner",27),K(4,Toe,3,4,"mat-icon",79),K(5,Doe,3,4,"mat-icon",80),m()),2&e){var t=J(2);v(1),D("ngIf",t.currentIp),v(1),D("ngIf",!t.currentIp&&!t.loadingCurrentIp),v(1),D("ngIf",t.loadingCurrentIp),v(1),D("ngIf",t.problemGettingIp),v(1),D("ngIf",!t.loadingCurrentIp)}}function Loe(e,i){1&e&&(p(0,"div",78),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function Poe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J(3);v(1),ye(t.ipCountry)}}function Ooe(e,i){1&e&&(Ge(0),F(1),H(2,"translate"),qe()),2&e&&(v(1),ye(U(2,1,"common.unknown")))}function xoe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&D("diameter",20)}function Ioe(e,i){1&e&&(p(0,"mat-icon",81),H(1,"translate"),F(2,"warning"),m()),2&e&&D("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-country-problem-info"))}function Aoe(e,i){if(1&e&&(p(0,"div",78),K(1,Poe,2,1,"ng-container",18),K(2,Ooe,3,3,"ng-container",18),K(3,xoe,1,1,"mat-spinner",27),K(4,Ioe,3,4,"mat-icon",79),m()),2&e){var t=J(2);v(1),D("ngIf",t.ipCountry),v(1),D("ngIf",!t.ipCountry&&!t.loadingIpCountry),v(1),D("ngIf",t.loadingIpCountry),v(1),D("ngIf",t.problemGettingIpCountry)}}function Roe(e,i){1&e&&(p(0,"div",78),F(1),H(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function Foe(e,i){if(1&e){var t=nt();p(0,"div"),p(1,"div",13),F(2),H(3,"translate"),m(),p(4,"div",78),Te(5,"app-vpn-server-name",83),p(6,"mat-icon",82),we("click",function(){return Ae(t),J(2).openServerOptions()}),H(7,"translate"),F(8,"settings"),m(),m(),m()}if(2&e){var n=J(2);v(2),ye(U(3,10,"vpn.status-page.data.server")),v(3),D("isFavorite",n.currentRemoteServer.flag===n.serverFlags.Favorite)("isBlocked",n.currentRemoteServer.flag===n.serverFlags.Blocked)("hasPassword",n.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",n.currentRemoteServer.name)("pk",n.currentRemoteServer.pk)("customName",n.currentRemoteServer.customName),v(1),D("inline",!0)("matTooltip",U(7,12,"vpn.server-options.tooltip"))}}function Noe(e,i){1&e&&Te(0,"div",15)}function Yoe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),H(3,"translate"),m(),p(4,"div",20),F(5),m(),m()),2&e){var t=J(2);v(2),ye(U(3,2,"vpn.status-page.data.server-note")),v(3),Ce(" ",t.currentRemoteServer.personalNote," ")}}function Hoe(e,i){1&e&&Te(0,"div",15)}function Voe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),H(3,"translate"),m(),p(4,"div",20),F(5),m(),m()),2&e){var t=J(2);v(2),ye(U(3,2,"vpn.status-page.data."+(t.currentRemoteServer.personalNote?"original-":"")+"server-note")),v(3),Ce(" ",t.currentRemoteServer.note," ")}}function Boe(e,i){1&e&&Te(0,"div",15)}function joe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),H(3,"translate"),m(),p(4,"div",20),Te(5,"app-copy-to-clipboard-text",21),m(),m()),2&e){var t=J(2);v(2),ye(U(3,2,"vpn.status-page.data.remote-pk")),v(3),D("text",t.currentRemoteServer.pk)}}function Uoe(e,i){1&e&&Te(0,"div",15)}function zoe(e,i){if(1&e&&(p(0,"div",4),p(1,"div",5),p(2,"div",6),Te(3,"app-top-bar",3),m(),m(),p(4,"div",7),K(5,_oe,20,12,"div",8),K(6,Coe,119,148,"div",9),p(7,"div",10),p(8,"div",11),p(9,"div",12),p(10,"div"),p(11,"div",13),F(12),H(13,"translate"),m(),K(14,Eoe,6,5,"div",14),K(15,Loe,3,3,"div",14),m(),Te(16,"div",15),p(17,"div"),p(18,"div",13),F(19),H(20,"translate"),m(),K(21,Aoe,5,4,"div",14),K(22,Roe,3,3,"div",14),m(),Te(23,"div",16),Te(24,"div",17),Te(25,"div",16),K(26,Foe,9,14,"div",18),K(27,Noe,1,0,"div",19),K(28,Yoe,6,4,"div",18),K(29,Hoe,1,0,"div",19),K(30,Voe,6,4,"div",18),K(31,Boe,1,0,"div",19),K(32,joe,6,4,"div",18),K(33,Uoe,1,0,"div",19),p(34,"div"),p(35,"div",13),F(36),H(37,"translate"),m(),p(38,"div",20),Te(39,"app-copy-to-clipboard-text",21),m(),m(),m(),m(),m(),m(),m()),2&e){var t=J();v(3),D("titleParts",Yn(29,AI))("tabsData",t.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(2),D("ngIf",!t.showStarted),v(1),D("ngIf",t.showStarted),v(6),ye(U(13,23,"vpn.status-page.data.ip")),v(2),D("ngIf",t.ipInfoAllowed),v(1),D("ngIf",!t.ipInfoAllowed),v(4),ye(U(20,25,"vpn.status-page.data.country")),v(2),D("ngIf",t.ipInfoAllowed),v(1),D("ngIf",!t.ipInfoAllowed),v(4),D("ngIf",t.showStarted&&t.currentRemoteServer),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.personalNote),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.personalNote),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.note),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.note),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer),v(1),D("ngIf",t.showStarted&&t.currentRemoteServer),v(3),ye(U(37,27,"vpn.status-page.data.local-pk")),v(3),D("text",t.currentLocalPk)}}var Woe=function(){function e(i,t,n,a,o,s,l){this.vpnClientService=i,this.vpnSavedDataService=t,this.snackbarService=n,this.translateService=a,this.route=o,this.dialog=s,this.router=l,this.tabsData=Wr.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=r0.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.problemGettingIp=!1,this.problemGettingIpCountry=!1,this.lastIpRefresDate=0,this.serverFlags=rr,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var u=this.vpnSavedDataService.getDataUnitsSetting();u===go.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):u===go.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return e.prototype.ngOnInit=function(){var i=this;this.navigationsSubscription=this.route.paramMap.subscribe(function(t){t.has("key")&&(i.currentLocalPk=t.get("key"),Wr.changeCurrentPk(i.currentLocalPk),i.tabsData=Wr.vpnTabsData),setTimeout(function(){return i.navigationsSubscription.unsubscribe()}),i.dataSubscription=i.vpnClientService.backendState.subscribe(function(n){if(n&&n.serviceState!==Ci.PerformingInitialCheck){var a=!i.backendState;if(i.backendState=n,(a||i.lastAppState===Pn.Running&&n.vpnClientAppData.appState!==Pn.Running||i.lastAppState!==Pn.Running&&n.vpnClientAppData.appState===Pn.Running)&&i.getIp(!0),i.showStarted=n.vpnClientAppData.running||n.vpnClientAppData.appState!==Pn.Stopped,i.showStartedLastValue!==i.showStarted){for(var o=0;o<10;o++)i.receivedHistory[o]=0,i.sentHistory[o]=0,i.latencyHistory[o]=0;i.updateGraphLimits(),i.uploadSpeed=0,i.downloadSpeed=0,i.totalUploaded=0,i.totalDownloaded=0,i.latency=0}if(i.lastAppState=n.vpnClientAppData.appState,i.showStartedLastValue=i.showStarted,i.stopRequested?i.showStarted||(i.stopRequested=!1,i.showBusy=n.busy):i.showBusy=n.busy,n.vpnClientAppData.connectionData){for(o=0;o<10;o++)i.receivedHistory[o]=n.vpnClientAppData.connectionData.downloadSpeedHistory[o],i.sentHistory[o]=n.vpnClientAppData.connectionData.uploadSpeedHistory[o],i.latencyHistory[o]=n.vpnClientAppData.connectionData.latencyHistory[o];i.updateGraphLimits(),i.uploadSpeed=n.vpnClientAppData.connectionData.uploadSpeed,i.downloadSpeed=n.vpnClientAppData.connectionData.downloadSpeed,i.totalUploaded=n.vpnClientAppData.connectionData.totalUploaded,i.totalDownloaded=n.vpnClientAppData.connectionData.totalDownloaded,i.latency=n.vpnClientAppData.connectionData.latency}n.vpnClientAppData.running&&n.vpnClientAppData.appState===Pn.Running&&n.vpnClientAppData.connectionData&&n.vpnClientAppData.connectionData.connectionDuration?(-1===i.calculatedSegs||n.vpnClientAppData.connectionData.connectionDuration>i.calculatedSegs+2||n.vpnClientAppData.connectionData.connectionDurationn&&(n=o)}),0===n&&(n+=1),[0,new(Zv())(n).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),n]},e.prototype.getIp=function(i){var t=this;if(void 0===i&&(i=!1),this.ipInfoAllowed){if(!i){if(this.loadingCurrentIp||this.loadingIpCountry)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");if(Date.now()-this.lastIpRefresDate<1e4){var a=Math.ceil((1e4-(Date.now()-this.lastIpRefresDate))/1e3);return void this.snackbarService.showWarning(this.translateService.instant("vpn.status-page.data.ip-refresh-time-warning",{seconds:a}))}}this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.previousIp=this.currentIp,this.ipSubscription=this.vpnClientService.getIp().subscribe(function(o){t.loadingCurrentIp=!1,t.lastIpRefresDate=Date.now(),o?(t.problemGettingIp=!1,t.currentIp=o,!t.ipCountry||t.previousIp!==t.currentIp||t.problemGettingIpCountry?t.getIpCountry():t.loadingIpCountry=!1):(t.problemGettingIp=!0,t.problemGettingIpCountry=!0,t.loadingIpCountry=!1)},function(){t.lastIpRefresDate=Date.now(),t.loadingCurrentIp=!1,t.loadingIpCountry=!1,t.problemGettingIp=!1,t.problemGettingIpCountry=!0})}},e.prototype.getIpCountry=function(){var i=this;!this.ipInfoAllowed||(this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingIpCountry=!0,this.ipSubscription=this.vpnClientService.getIpCountry(this.currentIp).subscribe(function(t){i.loadingIpCountry=!1,i.lastIpRefresDate=Date.now(),t?(i.problemGettingIpCountry=!1,i.ipCountry=t):i.problemGettingIpCountry=!0},function(){i.lastIpRefresDate=Date.now(),i.loadingIpCountry=!1,i.problemGettingIpCountry=!0}))},e.\u0275fac=function(t){return new(t||e)(N(od),N(su),N(xn),N(si),N(ai),N(Gn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","lower-text current-server-note",4,"ngIf"],["class","lower-text last-error",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","name","pk","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"lower-text","current-server-note"],[1,"lower-text","last-error"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"d-inline-block"],[1,"state-text"],[1,"state-explanation"],["class","last-connected-error",4,"ngIf"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"last-connected-error"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","pk","customName"]],template:function(t,n){1&t&&(K(0,coe,4,6,"div",0),K(1,zoe,40,30,"div",1)),2&t&&(D("ngIf",n.loading),v(1),D("ngIf",!n.loading))},directives:[Ot,lu,ws,n0,Cr,iu,Cn,cr,II,r0],pipes:[wt,Th],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-line[_ngcontent-%COMP%]{height:1px;width:100%;margin-bottom:5px}.left-area-connected[_ngcontent-%COMP%] .green-line[_ngcontent-%COMP%]{background-color:#2ecc54}.left-area-connected[_ngcontent-%COMP%] .yellow-line[_ngcontent-%COMP%]{background-color:#d48b05}.left-area-connected[_ngcontent-%COMP%] .red-line[_ngcontent-%COMP%]{background-color:#da3439}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%]{margin-top:15px;font-size:.8rem;color:#ff393f}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0px;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px rgba(0,0,0,.502);width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px rgba(0,0,0,.502)}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:bold;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0px 0px 5px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0px;height:0px;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{-webkit-animation:button-animation 4s linear infinite;animation:button-animation 4s linear infinite;pointer-events:none}@-webkit-keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);width:20px;height:15px;background-size:contain;align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:rgba(255,255,255,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:10px}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area[_ngcontent-%COMP%] .last-error[_ngcontent-%COMP%]{font-size:.8rem;color:#ff393f}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:#3d67a226;padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:rgba(255,255,255,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),e}(),o0=function(){function e(i){this.router=i}return Object.defineProperty(e.prototype,"lastError",{set:function(i){this.lastErrorInternal=i},enumerable:!1,configurable:!0}),e.prototype.canActivate=function(i,t){return this.checkIfCanActivate()},e.prototype.canActivateChild=function(i,t){return this.checkIfCanActivate()},e.prototype.checkIfCanActivate=function(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),Qe(!1)):Qe(!0)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Zt))},providedIn:"root"}),e}(),uu=function(e){return e.UnableToConnectWithTheVpnClientApp="unavailable",e.NoLocalVisorPkProvided="pk",e.InvalidStorageState="storage",e.LocalVisorPkChangedDuringUsage="pkChange",e}({}),Goe=function(){function e(i,t,n){var a=this;this.route=i,this.vpnAuthGuardService=t,this.vpnClientService=n,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(function(o){a.problem=o.get("problem"),a.problem||(a.problem=uu.UnableToConnectWithTheVpnClientApp),a.vpnAuthGuardService.lastError=a.problem,a.vpnClientService.stopContinuallyUpdatingData(),setTimeout(function(){return a.navigationsSubscription.unsubscribe()})})}return e.prototype.getTitle=function(){return this.problem===uu.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===uu.InvalidStorageState?"vpn.error-page.text-storage":this.problem===uu.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"},e.prototype.getInfo=function(){return this.problem===uu.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===uu.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===uu.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"},e.\u0275fac=function(t){return new(t||e)(N(ai),N(o0),N(od))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"div",3),p(4,"mat-icon",4),F(5,"error_outline"),m(),m(),p(6,"div"),F(7),H(8,"translate"),m(),p(9,"div",5),F(10),H(11,"translate"),m(),m(),m(),m()),2&t&&(v(4),D("inline",!0),v(3),ye(U(8,3,n.getTitle())),v(3),ye(U(11,5,n.getInfo())))},directives:[Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),e}(),qoe=["topBarLoading"],Koe=["topBarLoaded"],YI=function(){return["vpn.title"]};function Joe(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3,4),m(),Te(4,"app-loading-indicator",5),m()),2&e){var t=J();v(2),D("titleParts",Yn(5,YI))("tabsData",t.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk)}}function $oe(e,i){1&e&&Te(0,"mat-spinner",20),2&e&&D("diameter",12)}function Qoe(e,i){if(1&e){var t=nt();p(0,"div",6),p(1,"div",7),Te(2,"app-top-bar",3,8),m(),p(4,"div",9),p(5,"div",10),p(6,"div",11),p(7,"div",12),p(8,"table",13),p(9,"tr"),p(10,"th",14),p(11,"div",15),p(12,"div",16),F(13),H(14,"translate"),m(),m(),m(),p(15,"th",14),F(16),H(17,"translate"),m(),m(),p(18,"tr",17),we("click",function(){return Ae(t),J().changeKillswitchOption()}),p(19,"td",14),p(20,"div"),F(21),H(22,"translate"),p(23,"mat-icon",18),H(24,"translate"),F(25,"help"),m(),m(),m(),p(26,"td",14),Te(27,"span"),F(28),H(29,"translate"),K(30,$oe,1,1,"mat-spinner",19),m(),m(),p(31,"tr",17),we("click",function(){return Ae(t),J().changeGetIpOption()}),p(32,"td",14),p(33,"div"),F(34),H(35,"translate"),p(36,"mat-icon",18),H(37,"translate"),F(38,"help"),m(),m(),m(),p(39,"td",14),Te(40,"span"),F(41),H(42,"translate"),m(),m(),p(43,"tr",17),we("click",function(){return Ae(t),J().changeDataUnits()}),p(44,"td",14),p(45,"div"),F(46),H(47,"translate"),p(48,"mat-icon",18),H(49,"translate"),F(50,"help"),m(),m(),m(),p(51,"td",14),F(52),H(53,"translate"),m(),m(),p(54,"tr",17),we("click",function(){return Ae(t),J().changeHops()}),p(55,"td",14),p(56,"div"),F(57),H(58,"translate"),p(59,"mat-icon",18),H(60,"translate"),F(61,"help"),m(),m(),m(),p(62,"td",14),F(63),m(),m(),m(),m(),m(),m(),m(),m()}if(2&e){var n=J();v(2),D("titleParts",Yn(54,YI))("tabsData",n.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk),v(11),Ce(" ",U(14,28,"vpn.settings-page.setting-small-table-label")," "),v(3),Ce(" ",U(17,30,"vpn.settings-page.value-small-table-label")," "),v(5),Ce(" ",U(22,32,"vpn.settings-page.killswitch")," "),v(2),D("inline",!0)("matTooltip",U(24,34,"vpn.settings-page.killswitch-info")),v(4),pa(n.getStatusClass(n.backendData.vpnClientAppData.killswitch)),v(1),Ce(" ",U(29,36,n.getStatusText(n.backendData.vpnClientAppData.killswitch))," "),v(2),D("ngIf",n.working===n.workingOptions.Killswitch),v(4),Ce(" ",U(35,38,"vpn.settings-page.get-ip")," "),v(2),D("inline",!0)("matTooltip",U(37,40,"vpn.settings-page.get-ip-info")),v(4),pa(n.getStatusClass(n.getIpOption)),v(1),Ce(" ",U(42,42,n.getStatusText(n.getIpOption))," "),v(5),Ce(" ",U(47,44,"vpn.settings-page.data-units")," "),v(2),D("inline",!0)("matTooltip",U(49,46,"vpn.settings-page.data-units-info")),v(4),Ce(" ",U(53,48,n.getUnitsOptionText(n.dataUnitsOption))," "),v(5),Ce(" ",U(58,50,"vpn.settings-page.minimum-hops")," "),v(2),D("inline",!0)("matTooltip",U(60,52,"vpn.settings-page.minimum-hops-info")),v(4),Ce(" ",n.backendData.vpnClientAppData.minHops," ")}}var fd=function(e){return e[e.None=0]="None",e[e.Killswitch=1]="Killswitch",e}({}),Xoe=[{path:"",component:zq},{path:"login",component:wx},{path:"nodes",canActivate:[fh],canActivateChild:[fh],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:eI},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:eI},{path:":key",component:At,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:eae},{path:"routing",component:gne},{path:"apps",component:xie},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:Aie},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:Fie},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:Yie}]}]},{path:"settings",canActivate:[fh],canActivateChild:[fh],children:[{path:"",component:Tee},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:nae}]},{path:"vpnlogin/:key",component:wx},{path:"vpn",canActivate:[o0],canActivateChild:[o0],children:[{path:"unavailable",component:Goe},{path:":key",children:[{path:"status",component:Woe},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:xI},{path:"settings",component:function(){function e(i,t,n,a,o,s){var l=this;this.vpnClientService=i,this.snackbarService=t,this.appsService=n,this.vpnSavedDataService=a,this.dialog=o,this.loading=!0,this.tabsData=Wr.vpnTabsData,this.working=fd.None,this.workingOptions=fd,this.navigationsSubscription=s.paramMap.subscribe(function(u){u.has("key")&&(l.currentLocalPk=u.get("key"),Wr.changeCurrentPk(l.currentLocalPk),l.tabsData=Wr.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(function(u){u&&u.serviceState!==Ci.PerformingInitialCheck&&(l.backendData=u,l.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}return e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.getStatusClass=function(i){switch(i){case!0:return"dot-green";default:return"dot-red"}},e.prototype.getStatusText=function(i){switch(i){case!0:return"vpn.settings-page.setting-on";default:return"vpn.settings-page.setting-off"}},e.prototype.getUnitsOptionText=function(i){switch(i){case go.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case go.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}},e.prototype.changeKillswitchOption=function(){var i=this;if(this.working===fd.None)if(this.backendData.vpnClientAppData.running){var t=ln.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")},e.prototype.finishChangingKillswitchOption=function(){var i=this;this.working=fd.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(function(){i.working=fd.None,i.vpnClientService.updateData()},function(t){i.working=fd.None,t=tn(t),i.snackbarService.showError(t)})},e.prototype.changeGetIpOption=function(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)},e.prototype.changeDataUnits=function(){var i=this,t=[],n=[];Object.keys(go).forEach(function(a){var o={label:i.getUnitsOptionText(go[a])};i.dataUnitsOption===go[a]&&(o.icon="done"),t.push(o),n.push(go[a])}),ji.openDialog(this.dialog,t,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(function(a){a&&(i.dataUnitsOption=n[a-1],i.vpnSavedDataService.setDataUnitsSetting(i.dataUnitsOption),i.topBarLoading&&i.topBarLoading.updateVpnDataStatsUnit(),i.topBarLoaded&&i.topBarLoaded.updateVpnDataStatsUnit())})},e.prototype.changeHops=function(){DI.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()},e.\u0275fac=function(t){return new(t||e)(N(od),N(xn),N(ad),N(su),N(Gn),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-settings-list"]],viewQuery:function(t,n){if(1&t&&(_t(qoe,5),_t(Koe,5)),2&t){var a=void 0;it(a=at())&&(n.topBarLoading=a.first),it(a=at())&&(n.topBarLoaded=a.first)}},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(t,n){1&t&&(K(0,Joe,5,6,"div",0),K(1,Qoe,64,55,"div",1)),2&t&&(D("ngIf",n.loading),v(1),D("ngIf",!n.loading))},directives:[Ot,lu,ws,Cn,cr,iu],pipes:[wt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .data-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:normal!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),e}()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}],ese=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[CL.forRoot(Xoe,{useHash:!0,relativeLinkResolution:"legacy"})],CL]}),e}(),tse=function(){function e(){}return e.prototype.getTranslation=function(i){return ot(B(16297)("./"+i+".json"))},e}(),nse=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[rO.forRoot({loader:{provide:uh,useClass:tse}})],rO]}),e}(),rse=function(){function e(){}return e.prototype.shouldDetach=function(i){return!1},e.prototype.store=function(i,t){},e.prototype.shouldAttach=function(i){return!1},e.prototype.retrieve=function(i){return null},e.prototype.shouldReuseRoute=function(i,t){return!1},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),ise={disabled:!0},ase=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e,bootstrap:[Eq]}),e.\u0275inj=kt({providers:[Ch,{provide:f1,useValue:{duration:3e3,verticalPosition:"top"}},{provide:aO,useValue:{width:"600px",hasBackdrop:!0}},{provide:Pv,useClass:yG},{provide:mL,useClass:rse},{provide:Ov,useValue:ise}],imports:[[jb,a7,ox,C7,ese,nse,WP,wq,Qv,OJ,kre,VP,nq,tJ,BQ,FK,eQ,V$,jq,KX]]}),e}();So(At,[Ot,lu,ws,Cn,Cr,sv,PI],[wt]),So(xI,[Ot,lu,bm,ws,Kl,Cr,cr,Cn,xr,II,n0,bi,cd],[wt,HD]),function(){if(UT)throw new Error("Cannot enable prod mode after platform setup.");jT=!1}(),Mj().bootstrapModule(ase).catch(function(e){return console.log(e)})},46700:function(ge,ke,B){var x={"./af":90776,"./af.js":90776,"./ar":67634,"./ar-dz":42758,"./ar-dz.js":42758,"./ar-kw":64980,"./ar-kw.js":64980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":52500,"./ar-ma.js":52500,"./ar-sa":36909,"./ar-sa.js":36909,"./ar-tn":92735,"./ar-tn.js":92735,"./ar.js":67634,"./az":27798,"./az.js":27798,"./be":29949,"./be.js":29949,"./bg":44590,"./bg.js":44590,"./bm":15938,"./bm.js":15938,"./bn":60595,"./bn.js":60595,"./bo":4756,"./bo.js":4756,"./br":17277,"./br.js":17277,"./bs":4166,"./bs.js":4166,"./ca":13943,"./ca.js":13943,"./cs":53474,"./cs.js":53474,"./cv":92218,"./cv.js":92218,"./cy":21061,"./cy.js":21061,"./da":82743,"./da.js":82743,"./de":31899,"./de-at":28580,"./de-at.js":28580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":31899,"./dv":98784,"./dv.js":98784,"./el":54654,"./el.js":54654,"./en-au":56277,"./en-au.js":56277,"./en-ca":76896,"./en-ca.js":76896,"./en-gb":71609,"./en-gb.js":71609,"./en-ie":24557,"./en-ie.js":24557,"./en-il":15836,"./en-il.js":15836,"./en-nz":43586,"./en-nz.js":43586,"./eo":62777,"./eo.js":62777,"./es":63357,"./es-do":3128,"./es-do.js":3128,"./es-us":83256,"./es-us.js":83256,"./es.js":63357,"./et":2654,"./et.js":2654,"./eu":57287,"./eu.js":57287,"./fa":73875,"./fa.js":73875,"./fi":73431,"./fi.js":73431,"./fo":41781,"./fo.js":41781,"./fr":61717,"./fr-ca":11539,"./fr-ca.js":11539,"./fr-ch":19847,"./fr-ch.js":19847,"./fr.js":61717,"./fy":42250,"./fy.js":42250,"./gd":85214,"./gd.js":85214,"./gl":36154,"./gl.js":36154,"./gom-latn":18518,"./gom-latn.js":18518,"./gu":89221,"./gu.js":89221,"./he":64743,"./he.js":64743,"./hi":77339,"./hi.js":77339,"./hr":13224,"./hr.js":13224,"./hu":50856,"./hu.js":50856,"./hy-am":76855,"./hy-am.js":76855,"./id":2190,"./id.js":2190,"./is":53887,"./is.js":53887,"./it":19270,"./it.js":19270,"./ja":46595,"./ja.js":46595,"./jv":93081,"./jv.js":93081,"./ka":27477,"./ka.js":27477,"./kk":13978,"./kk.js":13978,"./km":19205,"./km.js":19205,"./kn":60025,"./kn.js":60025,"./ko":50427,"./ko.js":50427,"./ky":19314,"./ky.js":19314,"./lb":23136,"./lb.js":23136,"./lo":29115,"./lo.js":29115,"./lt":27087,"./lt.js":27087,"./lv":95683,"./lv.js":95683,"./me":79454,"./me.js":79454,"./mi":35507,"./mi.js":35507,"./mk":98466,"./mk.js":98466,"./ml":82933,"./ml.js":82933,"./mn":19477,"./mn.js":19477,"./mr":43597,"./mr.js":43597,"./ms":85529,"./ms-my":99965,"./ms-my.js":99965,"./ms.js":85529,"./mt":30259,"./mt.js":30259,"./my":88061,"./my.js":88061,"./nb":72618,"./nb.js":72618,"./ne":28452,"./ne.js":28452,"./nl":1885,"./nl-be":60413,"./nl-be.js":60413,"./nl.js":1885,"./nn":45107,"./nn.js":45107,"./pa-in":702,"./pa-in.js":702,"./pl":31711,"./pl.js":31711,"./pt":10594,"./pt-br":58238,"./pt-br.js":58238,"./pt.js":10594,"./ro":74681,"./ro.js":74681,"./ru":16201,"./ru.js":16201,"./sd":62912,"./sd.js":62912,"./se":6002,"./se.js":6002,"./si":67942,"./si.js":67942,"./sk":25577,"./sk.js":25577,"./sl":41775,"./sl.js":41775,"./sq":36823,"./sq.js":36823,"./sr":59038,"./sr-cyrl":83848,"./sr-cyrl.js":83848,"./sr.js":59038,"./ss":96173,"./ss.js":96173,"./sv":5788,"./sv.js":5788,"./sw":76882,"./sw.js":76882,"./ta":82678,"./ta.js":82678,"./te":82797,"./te.js":82797,"./tet":52447,"./tet.js":52447,"./tg":31335,"./tg.js":31335,"./th":68667,"./th.js":68667,"./tl-ph":99914,"./tl-ph.js":99914,"./tlh":71389,"./tlh.js":71389,"./tr":3578,"./tr.js":3578,"./tzl":36969,"./tzl.js":36969,"./tzm":76509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":76509,"./ug-cn":20055,"./ug-cn.js":20055,"./uk":22452,"./uk.js":22452,"./ur":91151,"./ur.js":91151,"./uz":31555,"./uz-latn":46547,"./uz-latn.js":46547,"./uz.js":31555,"./vi":16541,"./vi.js":16541,"./x-pseudo":42401,"./x-pseudo.js":42401,"./yo":2341,"./yo.js":2341,"./zh-cn":80619,"./zh-cn.js":80619,"./zh-hk":67058,"./zh-hk.js":67058,"./zh-tw":22782,"./zh-tw.js":22782};function w(_){var f=E(_);return B(f)}function E(_){if(!B.o(x,_)){var f=new Error("Cannot find module '"+_+"'");throw f.code="MODULE_NOT_FOUND",f}return x[_]}w.keys=function(){return Object.keys(x)},w.resolve=E,ge.exports=w,w.id=46700},16297:function(ge,ke,B){var x={"./de.json":[23634,634],"./de_base.json":[3431,431],"./en.json":[40502,502],"./es.json":[84268,268],"./es_base.json":[43974,974],"./pt.json":[5733,733],"./pt_base.json":[77048,48]};function w(E){if(!B.o(x,E))return Promise.resolve().then(function(){var c=new Error("Cannot find module '"+E+"'");throw c.code="MODULE_NOT_FOUND",c});var _=x[E],f=_[0];return B.e(_[1]).then(function(){return B.t(f,19)})}w.keys=function(){return Object.keys(x)},w.id=16297,ge.exports=w}},function(ge){ge(ge.s=50329)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/polyfills-es5.16f992031d12d4dcfa3d.js b/cmd/skywire-visor/static/polyfills-es5.16f992031d12d4dcfa3d.js new file mode 100644 index 000000000..86e1c75d2 --- /dev/null +++ b/cmd/skywire-visor/static/polyfills-es5.16f992031d12d4dcfa3d.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[698,429],{52975:function(o,c,t){"use strict";t(51351),t(82867),t(75355),t(23919),t(194),t(86985),t(28438),t(49914),t(92135),t(74633),t(63262),t(473),t(39472),t(3116),t(14949),t(58743),t(84147),t(78895),t(74409),t(75338),t(13651),t(20057),t(25174),t(9614),t(92876),t(2231),t(81915),t(56497),t(50698),t(68602),t(6290),t(1805),t(69208),t(3212),t(15790),t(92249),t(73702),t(75247),t(9594),t(72173),t(47491),t(96459),t(23391),t(64735),t(3503),t(33275),t(11361),t(63720),t(20030),t(92043),t(75663),t(17505),t(76595),t(52999),t(22817),t(21619),t(1610),t(95172),t(38715),t(6494),t(50488),t(50979),t(22226),t(54716),t(93004),t(24924),t(13062),t(31661),t(87398),t(65503),t(75343),t(58356),t(77814),t(69658),t(23326),t(89692),t(37048),t(97695),t(68086),t(24172),t(95152),t(96149),t(32385),t(35318),t(30102),t(39142),t(58363),t(9364),t(15302),t(85788),t(86641),t(45579),t(69465)},45579:function(o){var c=function(t){"use strict";var n,e=Object.prototype,r=e.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function i(F,A,B){return Object.defineProperty(F,A,{value:B,enumerable:!0,configurable:!0,writable:!0}),F[A]}try{i({},"")}catch(F){i=function(B,H,$){return B[H]=$}}function l(F,A,B,H){var z=Object.create((A&&A.prototype instanceof d?A:d).prototype),at=new ot(H||[]);return z._invoke=function(F,A,B){var H=g;return function(z,at){if(H===P)throw new Error("Generator is already running");if(H===h){if("throw"===z)throw at;return Z()}for(B.method=z,B.arg=at;;){var Pt=B.delegate;if(Pt){var ft=C(Pt,B);if(ft){if(ft===p)continue;return ft}}if("next"===B.method)B.sent=B._sent=B.arg;else if("throw"===B.method){if(H===g)throw H=h,B.arg;B.dispatchException(B.arg)}else"return"===B.method&&B.abrupt("return",B.arg);H=P;var St=v(F,A,B);if("normal"===St.type){if(H=B.done?h:T,St.arg===p)continue;return{value:St.arg,done:B.done}}"throw"===St.type&&(H=h,B.method="throw",B.arg=St.arg)}}}(F,B,at),z}function v(F,A,B){try{return{type:"normal",arg:F.call(A,B)}}catch(H){return{type:"throw",arg:H}}}t.wrap=l;var g="suspendedStart",T="suspendedYield",P="executing",h="completed",p={};function d(){}function x(){}function m(){}var E={};i(E,s,function(){return this});var O=Object.getPrototypeOf,y=O&&O(O(J([])));y&&y!==e&&r.call(y,s)&&(E=y);var S=m.prototype=d.prototype=Object.create(E);function D(F){["next","throw","return"].forEach(function(A){i(F,A,function(B){return this._invoke(A,B)})})}function I(F,A){function B(z,at,Pt,ft){var St=v(F[z],F,at);if("throw"!==St.type){var bt=St.arg,zt=bt.value;return zt&&"object"==typeof zt&&r.call(zt,"__await")?A.resolve(zt.__await).then(function(Dt){B("next",Dt,Pt,ft)},function(Dt){B("throw",Dt,Pt,ft)}):A.resolve(zt).then(function(Dt){bt.value=Dt,Pt(bt)},function(Dt){return B("throw",Dt,Pt,ft)})}ft(St.arg)}var H;this._invoke=function(z,at){function Pt(){return new A(function(ft,St){B(z,at,ft,St)})}return H=H?H.then(Pt,Pt):Pt()}}function C(F,A){var B=F.iterator[A.method];if(B===n){if(A.delegate=null,"throw"===A.method){if(F.iterator.return&&(A.method="return",A.arg=n,C(F,A),"throw"===A.method))return p;A.method="throw",A.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var H=v(B,F.iterator,A.arg);if("throw"===H.type)return A.method="throw",A.arg=H.arg,A.delegate=null,p;var $=H.arg;return $?$.done?(A[F.resultName]=$.value,A.next=F.nextLoc,"return"!==A.method&&(A.method="next",A.arg=n),A.delegate=null,p):$:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,p)}function K(F){var A={tryLoc:F[0]};1 in F&&(A.catchLoc=F[1]),2 in F&&(A.finallyLoc=F[2],A.afterLoc=F[3]),this.tryEntries.push(A)}function V(F){var A=F.completion||{};A.type="normal",delete A.arg,F.completion=A}function ot(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(K,this),this.reset(!0)}function J(F){if(F){var A=F[s];if(A)return A.call(F);if("function"==typeof F.next)return F;if(!isNaN(F.length)){var B=-1,H=function $(){for(;++B=0;--$){var z=this.tryEntries[$],at=z.completion;if("root"===z.tryLoc)return H("end");if(z.tryLoc<=this.prev){var Pt=r.call(z,"catchLoc"),ft=r.call(z,"finallyLoc");if(Pt&&ft){if(this.prev=0;--H){var $=this.tryEntries[H];if($.tryLoc<=this.prev&&r.call($,"finallyLoc")&&this.prev<$.finallyLoc){var z=$;break}}z&&("break"===A||"continue"===A)&&z.tryLoc<=B&&B<=z.finallyLoc&&(z=null);var at=z?z.completion:{};return at.type=A,at.arg=B,z?(this.method="next",this.next=z.finallyLoc,p):this.complete(at)},complete:function(A,B){if("throw"===A.type)throw A.arg;return"break"===A.type||"continue"===A.type?this.next=A.arg:"return"===A.type?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):"normal"===A.type&&B&&(this.next=B),p},finish:function(A){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.finallyLoc===A)return this.complete(H.completion,H.afterLoc),V(H),p}},catch:function(A){for(var B=this.tryEntries.length-1;B>=0;--B){var H=this.tryEntries[B];if(H.tryLoc===A){var $=H.completion;if("throw"===$.type){var z=$.arg;V(H)}return z}}throw new Error("illegal catch attempt")},delegateYield:function(A,B,H){return this.delegate={iterator:J(A),resultName:B,nextLoc:H},"next"===this.method&&(this.arg=n),p}},t}(o.exports);try{regeneratorRuntime=c}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}},69465:function(){"use strict";var o,c,t,e,r,h;function a(h,p,d){var x=d.configurable;return f(h,p,d=u(h,p,d),x)}function s(h,p){return h&&h[r]&&h[r][p]}function u(h,p,d){return Object.isFrozen(d)||(d.configurable=!0),d.configurable||(!h[r]&&!Object.isFrozen(h)&&c(h,r,{writable:!0,value:{}}),h[r]&&(h[r][p]=!0)),d}function f(h,p,d,x){try{return c(h,p,d)}catch(O){if(!d.configurable)throw O;void 0===x?delete d.configurable:d.configurable=x;try{return c(h,p,d)}catch(y){var m=!1;if(("createdCallback"===p||"attachedCallback"===p||"detachedCallback"===p||"attributeChangedCallback"===p)&&(m=!0),!m)throw y;var E=null;try{E=JSON.stringify(d)}catch(S){E=d.toString()}console.log("Attempting to configure '".concat(p,"' with descriptor '").concat(E,"' on object '").concat(h,"' and got error, giving up: ").concat(y))}}}(h="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[("legacyPatch",(h.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch")]=function(){var x=h.Zone;x.__load_patch("defineProperty",function(m,E,O){O._redefineProperty=a,o=Zone.__symbol__,c=Object[o("defineProperty")]=Object.defineProperty,t=Object[o("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,e=Object.create,r=o("unconfigurables"),Object.defineProperty=function(h,p,d){if(s(h,p))throw new TypeError("Cannot assign to read only property '"+p+"' of "+h);var x=d.configurable;return"prototype"!==p&&(d=u(h,p,d)),f(h,p,d,x)},Object.defineProperties=function(h,p){return Object.keys(p).forEach(function(d){Object.defineProperty(h,d,p[d])}),h},Object.create=function(h,p){return"object"==typeof p&&!Object.isFrozen(p)&&Object.keys(p).forEach(function(d){p[d]=u(h,d,p[d])}),e(h,p)},Object.getOwnPropertyDescriptor=function(h,p){var d=t(h,p);return d&&s(h,p)&&(d.configurable=!1),d}}),x.__load_patch("registerElement",function(m,E,O){!function(h,p){var d=p.getGlobalObjects();(d.isBrowser||d.isMix)&&"registerElement"in h.document&&p.patchCallbacks(p,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(m,O)}),x.__load_patch("EventTargetLegacy",function(m,E,O){(function(h,p){var d=p.getGlobalObjects(),x=d.eventNames,m=d.globalSources,E=d.zoneSymbolEventNames,O=d.TRUE_STR,y=d.FALSE_STR,S=d.ZONE_SYMBOL_PREFIX,I="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),M="EventTarget",C=[],K=h.wtf,V="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");K?C=V.map(function(Jt){return"HTML"+Jt+"Element"}).concat(I):h[M]?C.push(M):C=I;for(var ot=h.__Zone_disable_IE_check||!1,J=h.__Zone_enable_cross_context_check||!1,Z=p.isIEOrEdge(),A="[object FunctionWrapper]",B="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",H={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},$=0;$1?new E(S,D):new E(S),K=h.ObjectGetOwnPropertyDescriptor(I,"onmessage");return K&&!1===K.configurable?(M=h.ObjectCreate(I),C=I,[x,m,"send","close"].forEach(function(V){M[V]=function(){var ot=h.ArraySlice.call(arguments);if(V===x||V===m){var J=ot.length>0?ot[0]:void 0;if(J){var Z=Zone.__symbol__("ON_PROPERTY"+J);I[Z]=M[Z]}}return I[V].apply(I,ot)}})):M=I,h.patchOnProperties(M,["close","error","message","open"],C),M};var O=p.WebSocket;for(var y in E)O[y]=E[y]}(h,p),Zone[h.symbol("patchEvents")]=!0}}(O,m)})}},52167:function(o,c,t){"use strict";var e=t(35554).default,r=t(75725).default,n=t(73560).default,s=(function(j){var b=j.performance;function U(it){b&&b.mark&&b.mark(it)}function N(it,nt){b&&b.measure&&b.measure(it,nt)}U("Zone");var w=j.__Zone_symbol_prefix||"__zone_symbol__";function Q(it){return w+it}var tt=!0===j[Q("forceDuplicateZoneCheck")];if(j.Zone){if(tt||"function"!=typeof j.Zone.__symbol__)throw new Error("Zone already loaded.");return j.Zone}var ct=function(){function it(nt,R){r(this,it),this._parent=nt,this._name=R?R.name||"unnamed":"",this._properties=R&&R.properties||{},this._zoneDelegate=new lt(this,this._parent&&this._parent._zoneDelegate,R)}return n(it,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(R){var L=this.getZoneWith(R);if(L)return L._properties[R]}},{key:"getZoneWith",value:function(R){for(var L=this;L;){if(L._properties.hasOwnProperty(R))return L;L=L._parent}return null}},{key:"fork",value:function(R){if(!R)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,R)}},{key:"wrap",value:function(R,L){if("function"!=typeof R)throw new Error("Expecting function got: "+R);var rt=this._zoneDelegate.intercept(this,R,L),pt=this;return function(){return pt.runGuarded(rt,this,arguments,L)}}},{key:"run",value:function(R,L,rt,pt){Nt={parent:Nt,zone:this};try{return this._zoneDelegate.invoke(this,R,L,rt,pt)}finally{Nt=Nt.parent}}},{key:"runGuarded",value:function(R){var L=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,rt=arguments.length>2?arguments[2]:void 0,pt=arguments.length>3?arguments[3]:void 0;Nt={parent:Nt,zone:this};try{try{return this._zoneDelegate.invoke(this,R,L,rt,pt)}catch(_t){if(this._zoneDelegate.handleError(this,_t))throw _t}}finally{Nt=Nt.parent}}},{key:"runTask",value:function(R,L,rt){if(R.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(R.zone||$t).name+"; Execution: "+this.name+")");if(R.state!==Kt||R.type!==Mt&&R.type!==qt){var pt=R.state!=Tt;pt&&R._transitionTo(Tt,Ht),R.runCount++;var _t=De;De=R,Nt={parent:Nt,zone:this};try{R.type==qt&&R.data&&!R.data.isPeriodic&&(R.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,R,L,rt)}catch(k){if(this._zoneDelegate.handleError(this,k))throw k}}finally{R.state!==Kt&&R.state!==Ft&&(R.type==Mt||R.data&&R.data.isPeriodic?pt&&R._transitionTo(Ht,Tt):(R.runCount=0,this._updateTaskCount(R,-1),pt&&R._transitionTo(Kt,Tt,Kt))),Nt=Nt.parent,De=_t}}}},{key:"scheduleTask",value:function(R){if(R.zone&&R.zone!==this)for(var L=this;L;){if(L===R.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(R.zone.name));L=L.parent}R._transitionTo(Vt,Kt);var rt=[];R._zoneDelegates=rt,R._zone=this;try{R=this._zoneDelegate.scheduleTask(this,R)}catch(pt){throw R._transitionTo(Ft,Vt,Kt),this._zoneDelegate.handleError(this,pt),pt}return R._zoneDelegates===rt&&this._updateTaskCount(R,1),R.state==Vt&&R._transitionTo(Ht,Vt),R}},{key:"scheduleMicroTask",value:function(R,L,rt,pt){return this.scheduleTask(new gt(de,R,L,rt,pt,void 0))}},{key:"scheduleMacroTask",value:function(R,L,rt,pt,_t){return this.scheduleTask(new gt(qt,R,L,rt,pt,_t))}},{key:"scheduleEventTask",value:function(R,L,rt,pt,_t){return this.scheduleTask(new gt(Mt,R,L,rt,pt,_t))}},{key:"cancelTask",value:function(R){if(R.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(R.zone||$t).name+"; Execution: "+this.name+")");R._transitionTo(ue,Ht,Tt);try{this._zoneDelegate.cancelTask(this,R)}catch(L){throw R._transitionTo(Ft,ue),this._zoneDelegate.handleError(this,L),L}return this._updateTaskCount(R,-1),R._transitionTo(Kt,ue),R.runCount=0,R}},{key:"_updateTaskCount",value:function(R,L){var rt=R._zoneDelegates;-1==L&&(R._zoneDelegates=null);for(var pt=0;pt2&&void 0!==arguments[2]&&arguments[2];if(Gt.hasOwnProperty(R)){if(!rt&&tt)throw Error("Already loaded patch: "+R)}else if(!j["__Zone_disable_"+R]){var pt="Zone:"+R;U(pt),Gt[R]=L(j,it,It),N(pt,pt)}}}]),it}();ct.__symbol__=Q;var re,vt={name:"",onHasTask:function(nt,R,L,rt){return nt.hasTask(L,rt)},onScheduleTask:function(nt,R,L,rt){return nt.scheduleTask(L,rt)},onInvokeTask:function(nt,R,L,rt,pt,_t){return nt.invokeTask(L,rt,pt,_t)},onCancelTask:function(nt,R,L,rt){return nt.cancelTask(L,rt)}},lt=function(){function it(nt,R,L){r(this,it),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=nt,this._parentDelegate=R,this._forkZS=L&&(L&&L.onFork?L:R._forkZS),this._forkDlgt=L&&(L.onFork?R:R._forkDlgt),this._forkCurrZone=L&&(L.onFork?this.zone:R._forkCurrZone),this._interceptZS=L&&(L.onIntercept?L:R._interceptZS),this._interceptDlgt=L&&(L.onIntercept?R:R._interceptDlgt),this._interceptCurrZone=L&&(L.onIntercept?this.zone:R._interceptCurrZone),this._invokeZS=L&&(L.onInvoke?L:R._invokeZS),this._invokeDlgt=L&&(L.onInvoke?R:R._invokeDlgt),this._invokeCurrZone=L&&(L.onInvoke?this.zone:R._invokeCurrZone),this._handleErrorZS=L&&(L.onHandleError?L:R._handleErrorZS),this._handleErrorDlgt=L&&(L.onHandleError?R:R._handleErrorDlgt),this._handleErrorCurrZone=L&&(L.onHandleError?this.zone:R._handleErrorCurrZone),this._scheduleTaskZS=L&&(L.onScheduleTask?L:R._scheduleTaskZS),this._scheduleTaskDlgt=L&&(L.onScheduleTask?R:R._scheduleTaskDlgt),this._scheduleTaskCurrZone=L&&(L.onScheduleTask?this.zone:R._scheduleTaskCurrZone),this._invokeTaskZS=L&&(L.onInvokeTask?L:R._invokeTaskZS),this._invokeTaskDlgt=L&&(L.onInvokeTask?R:R._invokeTaskDlgt),this._invokeTaskCurrZone=L&&(L.onInvokeTask?this.zone:R._invokeTaskCurrZone),this._cancelTaskZS=L&&(L.onCancelTask?L:R._cancelTaskZS),this._cancelTaskDlgt=L&&(L.onCancelTask?R:R._cancelTaskDlgt),this._cancelTaskCurrZone=L&&(L.onCancelTask?this.zone:R._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var rt=L&&L.onHasTask;(rt||R&&R._hasTaskZS)&&(this._hasTaskZS=rt?L:vt,this._hasTaskDlgt=R,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=nt,L.onScheduleTask||(this._scheduleTaskZS=vt,this._scheduleTaskDlgt=R,this._scheduleTaskCurrZone=this.zone),L.onInvokeTask||(this._invokeTaskZS=vt,this._invokeTaskDlgt=R,this._invokeTaskCurrZone=this.zone),L.onCancelTask||(this._cancelTaskZS=vt,this._cancelTaskDlgt=R,this._cancelTaskCurrZone=this.zone))}return n(it,[{key:"fork",value:function(R,L){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,R,L):new ct(R,L)}},{key:"intercept",value:function(R,L,rt){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,R,L,rt):L}},{key:"invoke",value:function(R,L,rt,pt,_t){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,R,L,rt,pt,_t):L.apply(rt,pt)}},{key:"handleError",value:function(R,L){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,R,L)}},{key:"scheduleTask",value:function(R,L){var rt=L;if(this._scheduleTaskZS)this._hasTaskZS&&rt._zoneDelegates.push(this._hasTaskDlgtOwner),(rt=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,R,L))||(rt=L);else if(L.scheduleFn)L.scheduleFn(L);else{if(L.type!=de)throw new Error("Task is missing scheduleFn.");Zt(L)}return rt}},{key:"invokeTask",value:function(R,L,rt,pt){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,R,L,rt,pt):L.callback.apply(rt,pt)}},{key:"cancelTask",value:function(R,L){var rt;if(this._cancelTaskZS)rt=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,R,L);else{if(!L.cancelFn)throw Error("Task is not cancelable");rt=L.cancelFn(L)}return rt}},{key:"hasTask",value:function(R,L){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,R,L)}catch(rt){this.handleError(R,rt)}}},{key:"_updateTaskCount",value:function(R,L){var rt=this._taskCounts,pt=rt[R],_t=rt[R]=pt+L;if(_t<0)throw new Error("More tasks executed then were scheduled.");0!=pt&&0!=_t||this.hasTask(this.zone,{microTask:rt.microTask>0,macroTask:rt.macroTask>0,eventTask:rt.eventTask>0,change:R})}}]),it}(),gt=function(){function it(nt,R,L,rt,pt,_t){if(r(this,it),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=nt,this.source=R,this.data=rt,this.scheduleFn=pt,this.cancelFn=_t,!L)throw new Error("callback is not defined");this.callback=L;var k=this;this.invoke=nt===Mt&&rt&&rt.useG?it.invokeTask:function(){return it.invokeTask.call(j,k,this,arguments)}}return n(it,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(Kt,Vt)}},{key:"_transitionTo",value:function(R,L,rt){if(this._state!==L&&this._state!==rt)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(R,"', expecting state '").concat(L,"'").concat(rt?" or '"+rt+"'":"",", was '").concat(this._state,"'."));this._state=R,R==Kt&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(R,L,rt){R||(R=this),Oe++;try{return R.runCount++,R.zone.runTask(R,L,rt)}finally{1==Oe&&q(),Oe--}}}]),it}(),dt=Q("setTimeout"),Et=Q("Promise"),jt=Q("then"),wt=[],Wt=!1;function Zt(it){if(0===Oe&&0===wt.length)if(re||j[Et]&&(re=j[Et].resolve(0)),re){var nt=re[jt];nt||(nt=re.then),nt.call(re,q)}else j[dt](q,0);it&&wt.push(it)}function q(){if(!Wt){for(Wt=!0;wt.length;){var it=wt;wt=[];for(var nt=0;nt=0;U--)"function"==typeof j[U]&&(j[U]=x(j[U],b+"_"+U));return j}function K(j){return!j||!1!==j.writable&&!("function"==typeof j.get&&void 0===j.set)}var V="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,ot=!("nw"in S)&&void 0!==S.process&&"[object process]"==={}.toString.call(S.process),J=!ot&&!V&&!(!O||!y.HTMLElement),Z=void 0!==S.process&&"[object process]"==={}.toString.call(S.process)&&!V&&!(!O||!y.HTMLElement),F={},A=function(b){if(b=b||S.event){var U=F[b.type];U||(U=F[b.type]=E("ON_PROPERTY"+b.type));var Q,N=this||b.target||S,w=N[U];if(J&&N===y&&"error"===b.type){var tt=b;!0===(Q=w&&w.call(this,tt.message,tt.filename,tt.lineno,tt.colno,tt.error))&&b.preventDefault()}else null!=(Q=w&&w.apply(this,arguments))&&!Q&&b.preventDefault();return Q}};function B(j,b,U){var N=s(j,b);if(!N&&U&&s(U,b)&&(N={enumerable:!0,configurable:!0}),N&&N.configurable){var Q=E("on"+b+"patched");if(!j.hasOwnProperty(Q)||!j[Q]){delete N.writable,delete N.value;var tt=N.get,ct=N.set,vt=b.substr(2),lt=F[vt];lt||(lt=F[vt]=E("ON_PROPERTY"+vt)),N.set=function(gt){var dt=this;!dt&&j===S&&(dt=S),dt&&(dt[lt]&&dt.removeEventListener(vt,A),ct&&ct.apply(dt,I),"function"==typeof gt?(dt[lt]=gt,dt.addEventListener(vt,A,!1)):dt[lt]=null)},N.get=function(){var gt=this;if(!gt&&j===S&&(gt=S),!gt)return null;var dt=gt[lt];if(dt)return dt;if(tt){var Et=tt&&tt.call(this);if(Et)return N.set.call(this,Et),"function"==typeof gt.removeAttribute&>.removeAttribute(b),Et}return null},u(j,b,N),j[Q]=!0}}}function H(j,b,U){if(b)for(var N=0;N=0&&"function"==typeof ct[vt.cbIdx]?m(vt.name,ct[vt.cbIdx],vt,w):Q.apply(tt,ct)}})}function ft(j,b){j[E("OriginalDelegate")]=b}var St=!1,bt=!1;function Dt(){if(St)return bt;St=!0;try{var j=y.navigator.userAgent;(-1!==j.indexOf("MSIE ")||-1!==j.indexOf("Trident/")||-1!==j.indexOf("Edge/"))&&(bt=!0)}catch(b){}return bt}Zone.__load_patch("ZoneAwarePromise",function(j,b,U){var N=Object.getOwnPropertyDescriptor,w=Object.defineProperty,tt=U.symbol,ct=[],vt=!0===j[tt("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],lt=tt("Promise"),gt=tt("then");U.onUnhandledError=function(k){if(U.showUncaughtError()){var mt=k&&k.rejection;mt?console.error("Unhandled Promise rejection:",mt instanceof Error?mt.message:mt,"; Zone:",k.zone.name,"; Task:",k.task&&k.task.source,"; Value:",mt,mt instanceof Error?mt.stack:void 0):console.error(k)}},U.microtaskDrainDone=function(){for(var k=function(){var _=ct.shift();try{_.zone.runGuarded(function(){throw _.throwOriginal?_.rejection:_})}catch(X){!function(k){U.onUnhandledError(k);try{var mt=b[Et];"function"==typeof mt&&mt.call(this,k)}catch(_){}}(X)}};ct.length;)k()};var Et=tt("unhandledPromiseRejectionHandler");function wt(k){return k&&k.then}function Wt(k){return k}function re(k){return R.reject(k)}var Zt=tt("state"),q=tt("value"),$t=tt("finally"),Kt=tt("parentPromiseValue"),Vt=tt("parentPromiseState"),Tt=null,Ft=!1;function qt(k,mt){return function(_){try{Nt(k,mt,_)}catch(X){Nt(k,!1,X)}}}var It=tt("currentTaskTrace");function Nt(k,mt,_){var X=function(){var mt=!1;return function(X){return function(){mt||(mt=!0,X.apply(null,arguments))}}}();if(k===_)throw new TypeError("Promise resolved with itself");if(k[Zt]===Tt){var ut=null;try{("object"==typeof _||"function"==typeof _)&&(ut=_&&_.then)}catch(Ut){return X(function(){Nt(k,!1,Ut)})(),k}if(mt!==Ft&&_ instanceof R&&_.hasOwnProperty(Zt)&&_.hasOwnProperty(q)&&_[Zt]!==Tt)Oe(_),Nt(k,_[Zt],_[q]);else if(mt!==Ft&&"function"==typeof ut)try{ut.call(_,X(qt(k,mt)),X(qt(k,!1)))}catch(Ut){X(function(){Nt(k,!1,Ut)})()}else{k[Zt]=mt;var ht=k[q];if(k[q]=_,k[$t]===$t&&!0===mt&&(k[Zt]=k[Vt],k[q]=k[Kt]),mt===Ft&&_ instanceof Error){var xt=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__;xt&&w(_,It,{configurable:!0,enumerable:!1,writable:!0,value:xt})}for(var yt=0;yt4&&void 0!==arguments[4]&&arguments[4],Ct=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var Ut=this||j,At=arguments[0];q&&q.transferEventName&&(At=q.transferEventName(At));var Yt=arguments[1];if(!Yt)return X.apply(this,arguments);if(ot&&"uncaughtException"===At)return X.apply(this,arguments);var ne=!1;if("function"!=typeof Yt){if(!Yt.handleEvent)return X.apply(this,arguments);ne=!0}if(!Kt||Kt(X,Yt,Ut,arguments)){var te=Ot&&!!k&&-1!==k.indexOf(At),oe=Nt(arguments[2],te);if(_t)for(var Re=0;Re<_t.length;Re++)if(At===_t[Re])return te?X.call(Ut,At,Yt,oe):X.apply(this,arguments);var Ee=!!oe&&("boolean"==typeof oe||oe.capture),Te=!(!oe||"object"!=typeof oe)&&oe.once,Ue=Zone.current,ie=Lt[At];ie||(Qt(At,ue),ie=Lt[At]);var Be=ie[Ee?h:p],be=Ut[Be],ze=!1;if(be){if(ze=!0,Vt)for(var we=0;we0){var it=Mt.invoke;Mt.invoke=function(){for(var nt=It[b.__symbol__("loadfalse")],R=0;R2?arguments[2]:void 0,P=a((void 0===T?l:r(T,l))-g,l-v),h=1;for(g0;)g in i?i[v]=i[g]:delete i[v],v+=h,g+=h;return i}},92749:function(o,c,t){"use strict";var e=t(23542),r=t(63141),n=t(77457);o.exports=function(s){for(var u=e(this),f=n(u.length),i=arguments.length,l=r(i>1?arguments[1]:void 0,f),v=i>2?arguments[2]:void 0,g=void 0===v?f:r(v,f);g>l;)u[l++]=s;return u}},64274:function(o,c,t){"use strict";var e=t(81269).forEach,n=t(79925)("forEach");o.exports=n?[].forEach:function(s){return e(this,s,arguments.length>1?arguments[1]:void 0)}},80164:function(o,c,t){"use strict";var e=t(78952),r=t(23542),n=t(17761),a=t(52064),s=t(77457),u=t(68923),f=t(2108);o.exports=function(l){var x,m,E,O,y,S,v=r(l),g="function"==typeof this?this:Array,T=arguments.length,P=T>1?arguments[1]:void 0,h=void 0!==P,p=f(v),d=0;if(h&&(P=e(P,T>2?arguments[2]:void 0,2)),null==p||g==Array&&a(p))for(m=new g(x=s(v.length));x>d;d++)S=h?P(v[d],d):v[d],u(m,d,S);else for(y=(O=p.call(v)).next,m=new g;!(E=y.call(O)).done;d++)S=h?n(O,P,[E.value,d],!0):E.value,u(m,d,S);return m.length=d,m}},13759:function(o,c,t){var e=t(60058),r=t(77457),n=t(63141),a=function(s){return function(u,f,i){var T,l=e(u),v=r(l.length),g=n(i,v);if(s&&f!=f){for(;v>g;)if((T=l[g++])!=T)return!0}else for(;v>g;g++)if((s||g in l)&&l[g]===f)return s||g||0;return!s&&-1}};o.exports={includes:a(!0),indexOf:a(!1)}},81269:function(o,c,t){var e=t(78952),r=t(7858),n=t(23542),a=t(77457),s=t(5301),u=[].push,f=function(i){var l=1==i,v=2==i,g=3==i,T=4==i,P=6==i,h=7==i,p=5==i||P;return function(d,x,m,E){for(var K,V,O=n(d),y=r(O),S=e(x,m,3),D=a(y.length),I=0,M=E||s,C=l?M(d,D):v||h?M(d,0):void 0;D>I;I++)if((p||I in y)&&(V=S(K=y[I],I,O),i))if(l)C[I]=V;else if(V)switch(i){case 3:return!0;case 5:return K;case 6:return I;case 2:u.call(C,K)}else switch(i){case 4:return!1;case 7:u.call(C,K)}return P?-1:g||T?T:C}};o.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},25004:function(o,c,t){"use strict";var e=t(60058),r=t(20397),n=t(77457),a=t(79925),s=Math.min,u=[].lastIndexOf,f=!!u&&1/[1].lastIndexOf(1,-0)<0,i=a("lastIndexOf");o.exports=f||!i?function(g){if(f)return u.apply(this,arguments)||0;var T=e(this),P=n(T.length),h=P-1;for(arguments.length>1&&(h=s(h,r(arguments[1]))),h<0&&(h=P+h);h>=0;h--)if(h in T&&T[h]===g)return h||0;return-1}:u},19197:function(o,c,t){var e=t(43849),r=t(12871),n=t(66889),a=r("species");o.exports=function(s){return n>=51||!e(function(){var u=[];return(u.constructor={})[a]=function(){return{foo:1}},1!==u[s](Boolean).foo})}},79925:function(o,c,t){"use strict";var e=t(43849);o.exports=function(r,n){var a=[][r];return!!a&&e(function(){a.call(null,n||function(){throw 1},1)})}},72527:function(o,c,t){var e=t(90272),r=t(23542),n=t(7858),a=t(77457),s=function(u){return function(f,i,l,v){e(i);var g=r(f),T=n(g),P=a(g.length),h=u?P-1:0,p=u?-1:1;if(l<2)for(;;){if(h in T){v=T[h],h+=p;break}if(h+=p,u?h<0:P<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:P>h;h+=p)h in T&&(v=i(v,T[h],h,g));return v}};o.exports={left:s(!1),right:s(!0)}},29756:function(o){var c=Math.floor,t=function(n,a){var s=n.length,u=c(s/2);return s<8?e(n,a):r(t(n.slice(0,u),a),t(n.slice(u),a),a)},e=function(n,a){for(var f,i,s=n.length,u=1;u0;)n[i]=n[--i];i!==u++&&(n[i]=f)}return n},r=function(n,a,s){for(var u=n.length,f=a.length,i=0,l=0,v=[];i1?arguments[1]:void 0,3);C=C?C.next:I.first;)for(M(C.value,C.key,this);C&&C.removed;)C=C.previous},has:function(D){return!!y(this,D)}}),n(m.prototype,d?{get:function(D){var I=y(this,D);return I&&I.value},set:function(D,I){return O(this,0===D?0:D,I)}}:{add:function(D){return O(this,D=0===D?0:D,D)}}),l&&e(m.prototype,"size",{get:function(){return E(this).size}}),m},setStrong:function(h,p,d){var x=p+" Iterator",m=P(p),E=P(x);f(h,p,function(O,y){T(this,{type:x,target:O,state:m(O),kind:y,last:void 0})},function(){for(var O=E(this),y=O.kind,S=O.last;S&&S.removed;)S=S.previous;return O.target&&(O.last=S=S?S.next:O.state.first)?"keys"==y?{value:S.key,done:!1}:"values"==y?{value:S.value,done:!1}:{value:[S.key,S.value],done:!1}:(O.target=void 0,{value:void 0,done:!0})},d?"entries":"values",!d,!0),i(p)}}},22903:function(o,c,t){"use strict";var e=t(96475),r=t(77483).getWeakData,n=t(96845),a=t(5053),s=t(14697),u=t(27421),f=t(81269),i=t(72515),l=t(59796),v=l.set,g=l.getterFor,T=f.find,P=f.findIndex,h=0,p=function(m){return m.frozen||(m.frozen=new d)},d=function(){this.entries=[]},x=function(m,E){return T(m.entries,function(O){return O[0]===E})};d.prototype={get:function(m){var E=x(this,m);if(E)return E[1]},has:function(m){return!!x(this,m)},set:function(m,E){var O=x(this,m);O?O[1]=E:this.entries.push([m,E])},delete:function(m){var E=P(this.entries,function(O){return O[0]===m});return~E&&this.entries.splice(E,1),!!~E}},o.exports={getConstructor:function(m,E,O,y){var S=m(function(M,C){s(M,S,E),v(M,{type:E,id:h++,frozen:void 0}),null!=C&&u(C,M[y],{that:M,AS_ENTRIES:O})}),D=g(E),I=function(M,C,K){var V=D(M),ot=r(n(C),!0);return!0===ot?p(V).set(C,K):ot[V.id]=K,M};return e(S.prototype,{delete:function(M){var C=D(this);if(!a(M))return!1;var K=r(M);return!0===K?p(C).delete(M):K&&i(K,C.id)&&delete K[C.id]},has:function(C){var K=D(this);if(!a(C))return!1;var V=r(C);return!0===V?p(K).has(C):V&&i(V,K.id)}}),e(S.prototype,O?{get:function(C){var K=D(this);if(a(C)){var V=r(C);return!0===V?p(K).get(C):V?V[K.id]:void 0}},set:function(C,K){return I(this,C,K)}}:{add:function(C){return I(this,C,!0)}}),S}}},58545:function(o,c,t){"use strict";var e=t(4773),r=t(30357),n=t(18153),a=t(81859),s=t(77483),u=t(27421),f=t(14697),i=t(5053),l=t(43849),v=t(865),g=t(20814),T=t(75079);o.exports=function(P,h,p){var d=-1!==P.indexOf("Map"),x=-1!==P.indexOf("Weak"),m=d?"set":"add",E=r[P],O=E&&E.prototype,y=E,S={},D=function(J){var Z=O[J];a(O,J,"add"==J?function(A){return Z.call(this,0===A?0:A),this}:"delete"==J?function(F){return!(x&&!i(F))&&Z.call(this,0===F?0:F)}:"get"==J?function(A){return x&&!i(A)?void 0:Z.call(this,0===A?0:A)}:"has"==J?function(A){return!(x&&!i(A))&&Z.call(this,0===A?0:A)}:function(A,B){return Z.call(this,0===A?0:A,B),this})};if(n(P,"function"!=typeof E||!(x||O.forEach&&!l(function(){(new E).entries().next()}))))y=p.getConstructor(h,P,d,m),s.enable();else if(n(P,!0)){var M=new y,C=M[m](x?{}:-0,1)!=M,K=l(function(){M.has(1)}),V=v(function(J){new E(J)}),ot=!x&&l(function(){for(var J=new E,Z=5;Z--;)J[m](Z,Z);return!J.has(-0)});V||((y=h(function(J,Z){f(J,y,P);var F=T(new E,J,y);return null!=Z&&u(Z,F[m],{that:F,AS_ENTRIES:d}),F})).prototype=O,O.constructor=y),(K||ot)&&(D("delete"),D("has"),d&&D("get")),(ot||C)&&D(m),x&&O.clear&&delete O.clear}return S[P]=y,e({global:!0,forced:y!=E},S),g(y,P),x||p.setStrong(y,P,d),y}},62242:function(o,c,t){var e=t(72515),r=t(80713),n=t(49629),a=t(70704);o.exports=function(s,u){for(var f=r(u),i=a.f,l=n.f,v=0;v"+i+""}},89066:function(o,c,t){"use strict";var e=t(27473).IteratorPrototype,r=t(56527),n=t(34618),a=t(20814),s=t(37448),u=function(){return this};o.exports=function(f,i,l){var v=i+" Iterator";return f.prototype=r(e,{next:n(1,l)}),a(f,v,!1,!0),s[v]=u,f}},35384:function(o,c,t){var e=t(14952),r=t(70704),n=t(34618);o.exports=e?function(a,s,u){return r.f(a,s,n(1,u))}:function(a,s,u){return a[s]=u,a}},34618:function(o){o.exports=function(c,t){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:t}}},68923:function(o,c,t){"use strict";var e=t(21046),r=t(70704),n=t(34618);o.exports=function(a,s,u){var f=e(s);f in a?r.f(a,f,n(0,u)):a[f]=u}},42594:function(o,c,t){"use strict";var e=t(43849),r=t(96293).start,n=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;o.exports=e(function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))})||!e(function(){u.call(new Date(NaN))})?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var i=this,l=i.getUTCFullYear(),v=i.getUTCMilliseconds(),g=l<0?"-":l>9999?"+":"";return g+r(n(l),g?6:4,0)+"-"+r(i.getUTCMonth()+1,2,0)+"-"+r(i.getUTCDate(),2,0)+"T"+r(i.getUTCHours(),2,0)+":"+r(i.getUTCMinutes(),2,0)+":"+r(i.getUTCSeconds(),2,0)+"."+r(v,3,0)+"Z"}:u},89445:function(o,c,t){"use strict";var e=t(96845),r=t(19717);o.exports=function(n){if(e(this),"string"===n||"default"===n)n="string";else if("number"!==n)throw TypeError("Incorrect hint");return r(this,n)}},10097:function(o,c,t){"use strict";var e=t(4773),r=t(89066),n=t(58873),a=t(86561),s=t(20814),u=t(35384),f=t(81859),i=t(12871),l=t(89345),v=t(37448),g=t(27473),T=g.IteratorPrototype,P=g.BUGGY_SAFARI_ITERATORS,h=i("iterator"),p="keys",d="values",x="entries",m=function(){return this};o.exports=function(E,O,y,S,D,I,M){r(y,O,S);var A,B,H,C=function($){if($===D&&Z)return Z;if(!P&&$ in ot)return ot[$];switch($){case p:case d:case x:return function(){return new y(this,$)}}return function(){return new y(this)}},K=O+" Iterator",V=!1,ot=E.prototype,J=ot[h]||ot["@@iterator"]||D&&ot[D],Z=!P&&J||C(D),F="Array"==O&&ot.entries||J;if(F&&(A=n(F.call(new E)),T!==Object.prototype&&A.next&&(!l&&n(A)!==T&&(a?a(A,T):"function"!=typeof A[h]&&u(A,h,m)),s(A,K,!0,!0),l&&(v[K]=m))),D==d&&J&&J.name!==d&&(V=!0,Z=function(){return J.call(this)}),(!l||M)&&ot[h]!==Z&&u(ot,h,Z),v[O]=Z,D)if(B={values:C(d),keys:I?Z:C(p),entries:C(x)},M)for(H in B)(P||V||!(H in ot))&&f(ot,H,B[H]);else e({target:O,proto:!0,forced:P||V},B);return B}},47949:function(o,c,t){var e=t(41833),r=t(72515),n=t(57768),a=t(70704).f;o.exports=function(s){var u=e.Symbol||(e.Symbol={});r(u,s)||a(u,s,{value:n.f(s)})}},14952:function(o,c,t){var e=t(43849);o.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},66792:function(o,c,t){var e=t(30357),r=t(5053),n=e.document,a=r(n)&&r(n.createElement);o.exports=function(s){return a?n.createElement(s):{}}},57793:function(o){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},51258:function(o,c,t){var r=t(78964).match(/firefox\/(\d+)/i);o.exports=!!r&&+r[1]},30250:function(o){o.exports="object"==typeof window},2285:function(o,c,t){var e=t(78964);o.exports=/MSIE|Trident/.test(e)},82385:function(o,c,t){var e=t(78964);o.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(e)},40170:function(o,c,t){var e=t(36504),r=t(30357);o.exports="process"==e(r.process)},49310:function(o,c,t){var e=t(78964);o.exports=/web0s(?!.*chrome)/i.test(e)},78964:function(o,c,t){var e=t(57344);o.exports=e("navigator","userAgent")||""},66889:function(o,c,t){var f,i,e=t(30357),r=t(78964),n=e.process,a=e.Deno,s=n&&n.versions||a&&a.version,u=s&&s.v8;u?i=(f=u.split("."))[0]<4?1:f[0]+f[1]:r&&(!(f=r.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=r.match(/Chrome\/(\d+)/))&&(i=f[1]),o.exports=i&&+i},91806:function(o,c,t){var r=t(78964).match(/AppleWebKit\/(\d+)\./);o.exports=!!r&&+r[1]},98176:function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4773:function(o,c,t){var e=t(30357),r=t(49629).f,n=t(35384),a=t(81859),s=t(26190),u=t(62242),f=t(18153);o.exports=function(i,l){var h,p,d,x,m,v=i.target,g=i.global,T=i.stat;if(h=g?e:T?e[v]||s(v,{}):(e[v]||{}).prototype)for(p in l){if(x=l[p],d=i.noTargetGet?(m=r(h,p))&&m.value:h[p],!f(g?p:v+(T?".":"#")+p,i.forced)&&void 0!==d){if(typeof x==typeof d)continue;u(x,d)}(i.sham||d&&d.sham)&&n(x,"sham",!0),a(h,p,x,i)}}},43849:function(o){o.exports=function(c){try{return!!c()}catch(t){return!0}}},68309:function(o,c,t){"use strict";t(39624);var e=t(81859),r=t(9108),n=t(43849),a=t(12871),s=t(35384),u=a("species"),f=RegExp.prototype;o.exports=function(i,l,v,g){var T=a(i),P=!n(function(){var x={};return x[T]=function(){return 7},7!=""[i](x)}),h=P&&!n(function(){var x=!1,m=/a/;return"split"===i&&((m={}).constructor={},m.constructor[u]=function(){return m},m.flags="",m[T]=/./[T]),m.exec=function(){return x=!0,null},m[T](""),!x});if(!P||!h||v){var p=/./[T],d=l(T,""[i],function(x,m,E,O,y){var S=m.exec;return S===r||S===f.exec?P&&!y?{done:!0,value:p.call(m,E,O)}:{done:!0,value:x.call(E,m,O)}:{done:!1}});e(String.prototype,i,d[0]),e(f,T,d[1])}g&&s(f[T],"sham",!0)}},10698:function(o,c,t){"use strict";var e=t(62703),r=t(77457),n=t(78952),a=function(s,u,f,i,l,v,g,T){for(var d,P=l,h=0,p=!!g&&n(g,T,3);h0&&e(d))P=a(s,u,d,r(d.length),P,v-1)-1;else{if(P>=9007199254740991)throw TypeError("Exceed the acceptable array length");s[P]=d}P++}h++}return P};o.exports=a},85744:function(o,c,t){var e=t(43849);o.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},78952:function(o,c,t){var e=t(90272);o.exports=function(r,n,a){if(e(r),void 0===n)return r;switch(a){case 0:return function(){return r.call(n)};case 1:return function(s){return r.call(n,s)};case 2:return function(s,u){return r.call(n,s,u)};case 3:return function(s,u,f){return r.call(n,s,u,f)}}return function(){return r.apply(n,arguments)}}},46574:function(o,c,t){"use strict";var e=t(90272),r=t(5053),n=[].slice,a={},s=function(u,f,i){if(!(f in a)){for(var l=[],v=0;v]*>)/g,s=/\$([$&'`]|\d{1,2})/g;o.exports=function(u,f,i,l,v,g){var T=i+u.length,P=l.length,h=s;return void 0!==v&&(v=e(v),h=a),n.call(g,h,function(p,d){var x;switch(d.charAt(0)){case"$":return"$";case"&":return u;case"`":return f.slice(0,i);case"'":return f.slice(T);case"<":x=v[d.slice(1,-1)];break;default:var m=+d;if(0===m)return p;if(m>P){var E=r(m/10);return 0===E?p:E<=P?void 0===l[E-1]?d.charAt(1):l[E-1]+d.charAt(1):p}x=l[m-1]}return void 0===x?"":x})}},30357:function(o){var c=function(t){return t&&t.Math==Math&&t};o.exports=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof global&&global)||function(){return this}()||Function("return this")()},72515:function(o,c,t){var e=t(23542),r={}.hasOwnProperty;o.exports=Object.hasOwn||function(a,s){return r.call(e(a),s)}},44199:function(o){o.exports={}},21714:function(o,c,t){var e=t(30357);o.exports=function(r,n){var a=e.console;a&&a.error&&(1===arguments.length?a.error(r):a.error(r,n))}},43815:function(o,c,t){var e=t(57344);o.exports=e("document","documentElement")},94718:function(o,c,t){var e=t(14952),r=t(43849),n=t(66792);o.exports=!e&&!r(function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})},7858:function(o,c,t){var e=t(43849),r=t(36504),n="".split;o.exports=e(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return"String"==r(a)?n.call(a,""):Object(a)}:Object},75079:function(o,c,t){var e=t(5053),r=t(86561);o.exports=function(n,a,s){var u,f;return r&&"function"==typeof(u=a.constructor)&&u!==s&&e(f=u.prototype)&&f!==s.prototype&&r(n,f),n}},7519:function(o,c,t){var e=t(76291),r=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(n){return r.call(n)}),o.exports=e.inspectSource},77483:function(o,c,t){var e=t(4773),r=t(44199),n=t(5053),a=t(72515),s=t(70704).f,u=t(66006),f=t(62774),i=t(11427),l=t(85744),v=!1,g=i("meta"),T=0,P=Object.isExtensible||function(){return!0},h=function(O){s(O,g,{value:{objectID:"O"+T++,weakData:{}}})},E=o.exports={enable:function(){E.enable=function(){},v=!0;var O=u.f,y=[].splice,S={};S[g]=1,O(S).length&&(u.f=function(D){for(var I=O(D),M=0,C=I.length;Mm;m++)if((O=I(i[m]))&&O instanceof f)return O;return new f(!1)}d=x.call(i)}for(y=d.next;!(S=y.call(d)).done;){try{O=I(S.value)}catch(M){throw u(d),M}if("object"==typeof O&&O&&O instanceof f)return O}return new f(!1)}},38309:function(o,c,t){var e=t(96845);o.exports=function(r){var n=r.return;if(void 0!==n)return e(n.call(r)).value}},27473:function(o,c,t){"use strict";var v,g,T,e=t(43849),r=t(58873),n=t(35384),a=t(72515),s=t(12871),u=t(89345),f=s("iterator"),i=!1;[].keys&&("next"in(T=[].keys())?(g=r(r(T)))!==Object.prototype&&(v=g):i=!0);var P=null==v||e(function(){var h={};return v[f].call(h)!==h});P&&(v={}),(!u||P)&&!a(v,f)&&n(v,f,function(){return this}),o.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:i}},37448:function(o){o.exports={}},24807:function(o){var c=Math.expm1,t=Math.exp;o.exports=!c||c(10)>22025.465794806718||c(10)<22025.465794806718||-2e-17!=c(-2e-17)?function(r){return 0==(r=+r)?r:r>-1e-6&&r<1e-6?r+r*r/2:t(r)-1}:c},79636:function(o,c,t){var e=t(84462),r=Math.abs,n=Math.pow,a=n(2,-52),s=n(2,-23),u=n(2,127)*(2-s),f=n(2,-126);o.exports=Math.fround||function(v){var P,h,g=r(v),T=e(v);return gu||h!=h?T*(1/0):T*h}},57308:function(o){var c=Math.log;o.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:c(1+e)}},84462:function(o){o.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},72839:function(o,c,t){var P,h,p,d,x,m,E,O,e=t(30357),r=t(49629).f,n=t(727).set,a=t(82385),s=t(49310),u=t(40170),f=e.MutationObserver||e.WebKitMutationObserver,i=e.document,l=e.process,v=e.Promise,g=r(e,"queueMicrotask"),T=g&&g.value;T||(P=function(){var y,S;for(u&&(y=l.domain)&&y.exit();h;){S=h.fn,h=h.next;try{S()}catch(D){throw h?d():p=void 0,D}}p=void 0,y&&y.enter()},a||u||s||!f||!i?v&&v.resolve?((E=v.resolve(void 0)).constructor=v,O=E.then,d=function(){O.call(E,P)}):d=u?function(){l.nextTick(P)}:function(){n.call(e,P)}:(x=!0,m=i.createTextNode(""),new f(P).observe(m,{characterData:!0}),d=function(){m.data=x=!x})),o.exports=T||function(y){var S={fn:y,next:void 0};p&&(p.next=S),h||(h=S,d()),p=S}},13507:function(o,c,t){var e=t(30357);o.exports=e.Promise},66700:function(o,c,t){var e=t(66889),r=t(43849);o.exports=!!Object.getOwnPropertySymbols&&!r(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&e&&e<41})},7013:function(o,c,t){var e=t(30357),r=t(7519),n=e.WeakMap;o.exports="function"==typeof n&&/native code/.test(r(n))},67620:function(o,c,t){"use strict";var e=t(90272),r=function(n){var a,s;this.promise=new n(function(u,f){if(void 0!==a||void 0!==s)throw TypeError("Bad Promise constructor");a=u,s=f}),this.resolve=e(a),this.reject=e(s)};o.exports.f=function(n){return new r(n)}},33078:function(o,c,t){var e=t(15247);o.exports=function(r){if(e(r))throw TypeError("The method doesn't accept regular expressions");return r}},88907:function(o,c,t){var r=t(30357).isFinite;o.exports=Number.isFinite||function(a){return"number"==typeof a&&r(a)}},51854:function(o,c,t){var e=t(30357),r=t(7311),n=t(95223).trim,a=t(70454),s=e.parseFloat,u=1/s(a+"-0")!=-1/0;o.exports=u?function(i){var l=n(r(i)),v=s(l);return 0===v&&"-"==l.charAt(0)?-0:v}:s},96282:function(o,c,t){var e=t(30357),r=t(7311),n=t(95223).trim,a=t(70454),s=e.parseInt,u=/^[+-]?0[Xx]/,f=8!==s(a+"08")||22!==s(a+"0x16");o.exports=f?function(l,v){var g=n(r(l));return s(g,v>>>0||(u.test(g)?16:10))}:s},3696:function(o,c,t){"use strict";var e=t(14952),r=t(43849),n=t(90671),a=t(27513),s=t(87023),u=t(23542),f=t(7858),i=Object.assign,l=Object.defineProperty;o.exports=!i||r(function(){if(e&&1!==i({b:1},i(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var v={},g={},T=Symbol(),P="abcdefghijklmnopqrst";return v[T]=7,P.split("").forEach(function(h){g[h]=h}),7!=i({},v)[T]||n(i({},g)).join("")!=P})?function(g,T){for(var P=u(g),h=arguments.length,p=1,d=a.f,x=s.f;h>p;)for(var S,m=f(arguments[p++]),E=d?n(m).concat(d(m)):n(m),O=E.length,y=0;O>y;)S=E[y++],(!e||x.call(m,S))&&(P[S]=m[S]);return P}:i},56527:function(o,c,t){var x,e=t(96845),r=t(6858),n=t(98176),a=t(44199),s=t(43815),u=t(66792),f=t(51822),v="prototype",g="script",T=f("IE_PROTO"),P=function(){},h=function(E){return"<"+g+">"+E+""},p=function(E){E.write(h("")),E.close();var O=E.parentWindow.Object;return E=null,O},m=function(){try{x=new ActiveXObject("htmlfile")}catch(O){}m=document.domain&&x?p(x):function(){var y,E=u("iframe");if(E.style)return E.style.display="none",s.appendChild(E),E.src=String("javascript:"),(y=E.contentWindow.document).open(),y.write(h("document.F=Object")),y.close(),y.F}()||p(x);for(var E=n.length;E--;)delete m[v][n[E]];return m()};a[T]=!0,o.exports=Object.create||function(O,y){var S;return null!==O?(P[v]=e(O),S=new P,P[v]=null,S[T]=O):S=m(),void 0===y?S:r(S,y)}},6858:function(o,c,t){var e=t(14952),r=t(70704),n=t(96845),a=t(90671);o.exports=e?Object.defineProperties:function(u,f){n(u);for(var g,i=a(f),l=i.length,v=0;l>v;)r.f(u,g=i[v++],f[g]);return u}},70704:function(o,c,t){var e=t(14952),r=t(94718),n=t(96845),a=t(21046),s=Object.defineProperty;c.f=e?s:function(f,i,l){if(n(f),i=a(i),n(l),r)try{return s(f,i,l)}catch(v){}if("get"in l||"set"in l)throw TypeError("Accessors not supported");return"value"in l&&(f[i]=l.value),f}},49629:function(o,c,t){var e=t(14952),r=t(87023),n=t(34618),a=t(60058),s=t(21046),u=t(72515),f=t(94718),i=Object.getOwnPropertyDescriptor;c.f=e?i:function(v,g){if(v=a(v),g=s(g),f)try{return i(v,g)}catch(T){}if(u(v,g))return n(!r.f.call(v,g),v[g])}},62774:function(o,c,t){var e=t(60058),r=t(66006).f,n={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];o.exports.f=function(f){return a&&"[object Window]"==n.call(f)?function(u){try{return r(u)}catch(f){return a.slice()}}(f):r(e(f))}},66006:function(o,c,t){var e=t(97331),n=t(98176).concat("length","prototype");c.f=Object.getOwnPropertyNames||function(s){return e(s,n)}},27513:function(o,c){c.f=Object.getOwnPropertySymbols},58873:function(o,c,t){var e=t(72515),r=t(23542),n=t(51822),a=t(31304),s=n("IE_PROTO"),u=Object.prototype;o.exports=a?Object.getPrototypeOf:function(f){return f=r(f),e(f,s)?f[s]:"function"==typeof f.constructor&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},97331:function(o,c,t){var e=t(72515),r=t(60058),n=t(13759).indexOf,a=t(44199);o.exports=function(s,u){var v,f=r(s),i=0,l=[];for(v in f)!e(a,v)&&e(f,v)&&l.push(v);for(;u.length>i;)e(f,v=u[i++])&&(~n(l,v)||l.push(v));return l}},90671:function(o,c,t){var e=t(97331),r=t(98176);o.exports=Object.keys||function(a){return e(a,r)}},87023:function(o,c){"use strict";var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);c.f=r?function(a){var s=e(this,a);return!!s&&s.enumerable}:t},86561:function(o,c,t){var e=t(96845),r=t(64338);o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s,n=!1,a={};try{(s=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(a,[]),n=a instanceof Array}catch(u){}return function(f,i){return e(f),r(i),n?s.call(f,i):f.__proto__=i,f}}():void 0)},25761:function(o,c,t){var e=t(14952),r=t(90671),n=t(60058),a=t(87023).f,s=function(u){return function(f){for(var P,i=n(f),l=r(i),v=l.length,g=0,T=[];v>g;)P=l[g++],(!e||a.call(i,P))&&T.push(u?[P,i[P]]:i[P]);return T}};o.exports={entries:s(!0),values:s(!1)}},12644:function(o,c,t){"use strict";var e=t(24556),r=t(89736);o.exports=e?{}.toString:function(){return"[object "+r(this)+"]"}},19717:function(o,c,t){var e=t(5053);o.exports=function(r,n){var a,s;if("string"===n&&"function"==typeof(a=r.toString)&&!e(s=a.call(r))||"function"==typeof(a=r.valueOf)&&!e(s=a.call(r))||"string"!==n&&"function"==typeof(a=r.toString)&&!e(s=a.call(r)))return s;throw TypeError("Can't convert object to primitive value")}},80713:function(o,c,t){var e=t(57344),r=t(66006),n=t(27513),a=t(96845);o.exports=e("Reflect","ownKeys")||function(u){var f=r.f(a(u)),i=n.f;return i?f.concat(i(u)):f}},41833:function(o,c,t){var e=t(30357);o.exports=e},89298:function(o){o.exports=function(c){try{return{error:!1,value:c()}}catch(t){return{error:!0,value:t}}}},24247:function(o,c,t){var e=t(96845),r=t(5053),n=t(67620);o.exports=function(a,s){if(e(a),r(s)&&s.constructor===a)return s;var u=n.f(a);return(0,u.resolve)(s),u.promise}},96475:function(o,c,t){var e=t(81859);o.exports=function(r,n,a){for(var s in n)e(r,s,n[s],a);return r}},81859:function(o,c,t){var e=t(30357),r=t(35384),n=t(72515),a=t(26190),s=t(7519),u=t(59796),f=u.get,i=u.enforce,l=String(String).split("String");(o.exports=function(v,g,T,P){var x,h=!!P&&!!P.unsafe,p=!!P&&!!P.enumerable,d=!!P&&!!P.noTargetGet;"function"==typeof T&&("string"==typeof g&&!n(T,"name")&&r(T,"name",g),(x=i(T)).source||(x.source=l.join("string"==typeof g?g:""))),v!==e?(h?!d&&v[g]&&(p=!0):delete v[g],p?v[g]=T:r(v,g,T)):p?v[g]=T:a(g,T)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||s(this)})},15454:function(o,c,t){var e=t(36504),r=t(9108);o.exports=function(n,a){var s=n.exec;if("function"==typeof s){var u=s.call(n,a);if("object"!=typeof u)throw TypeError("RegExp exec method returned something other than an Object or null");return u}if("RegExp"!==e(n))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(n,a)}},9108:function(o,c,t){"use strict";var d,x,e=t(7311),r=t(54650),n=t(43817),a=t(10823),s=t(56527),u=t(59796).get,f=t(4475),i=t(1659),l=RegExp.prototype.exec,v=a("native-string-replace",String.prototype.replace),g=l,T=(x=/b*/g,l.call(d=/a/,"a"),l.call(x,"a"),0!==d.lastIndex||0!==x.lastIndex),P=n.UNSUPPORTED_Y||n.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(T||h||P||f||i)&&(g=function(x){var S,D,I,M,C,K,V,m=this,E=u(m),O=e(x),y=E.raw;if(y)return y.lastIndex=m.lastIndex,S=g.call(y,O),m.lastIndex=y.lastIndex,S;var ot=E.groups,J=P&&m.sticky,Z=r.call(m),F=m.source,A=0,B=O;if(J&&(-1===(Z=Z.replace("y","")).indexOf("g")&&(Z+="g"),B=O.slice(m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&"\n"!==O.charAt(m.lastIndex-1))&&(F="(?: "+F+")",B=" "+B,A++),D=new RegExp("^(?:"+F+")",Z)),h&&(D=new RegExp("^"+F+"$(?!\\s)",Z)),T&&(I=m.lastIndex),M=l.call(J?D:m,B),J?M?(M.input=M.input.slice(A),M[0]=M[0].slice(A),M.index=m.lastIndex,m.lastIndex+=M[0].length):m.lastIndex=0:T&&M&&(m.lastIndex=m.global?M.index+M[0].length:I),h&&M&&M.length>1&&v.call(M[0],D,function(){for(C=1;Cb)","string".charAt(5));return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$c")})},94300:function(o){o.exports=function(c){if(null==c)throw TypeError("Can't call method on "+c);return c}},34787:function(o){o.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},26190:function(o,c,t){var e=t(30357);o.exports=function(r,n){try{Object.defineProperty(e,r,{value:n,configurable:!0,writable:!0})}catch(a){e[r]=n}return n}},58506:function(o,c,t){"use strict";var e=t(57344),r=t(70704),n=t(12871),a=t(14952),s=n("species");o.exports=function(u){var f=e(u);a&&f&&!f[s]&&(0,r.f)(f,s,{configurable:!0,get:function(){return this}})}},20814:function(o,c,t){var e=t(70704).f,r=t(72515),a=t(12871)("toStringTag");o.exports=function(s,u,f){s&&!r(s=f?s:s.prototype,a)&&e(s,a,{configurable:!0,value:u})}},51822:function(o,c,t){var e=t(10823),r=t(11427),n=e("keys");o.exports=function(a){return n[a]||(n[a]=r(a))}},76291:function(o,c,t){var e=t(30357),r=t(26190),n="__core-js_shared__",a=e[n]||r(n,{});o.exports=a},10823:function(o,c,t){var e=t(89345),r=t(76291);(o.exports=function(n,a){return r[n]||(r[n]=void 0!==a?a:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},32335:function(o,c,t){var e=t(96845),r=t(90272),a=t(12871)("species");o.exports=function(s,u){var i,f=e(s).constructor;return void 0===f||null==(i=e(f)[a])?u:r(i)}},6137:function(o,c,t){var e=t(43849);o.exports=function(r){return e(function(){var n=""[r]('"');return n!==n.toLowerCase()||n.split('"').length>3})}},40153:function(o,c,t){var e=t(20397),r=t(7311),n=t(94300),a=function(s){return function(u,f){var g,T,i=r(n(u)),l=e(f),v=i.length;return l<0||l>=v?s?"":void 0:(g=i.charCodeAt(l))<55296||g>56319||l+1===v||(T=i.charCodeAt(l+1))<56320||T>57343?s?i.charAt(l):g:s?i.slice(l,l+2):T-56320+(g-55296<<10)+65536}};o.exports={codeAt:a(!1),charAt:a(!0)}},96293:function(o,c,t){var e=t(77457),r=t(7311),n=t(76110),a=t(94300),s=Math.ceil,u=function(f){return function(i,l,v){var p,d,g=r(a(i)),T=g.length,P=void 0===v?" ":r(v),h=e(l);return h<=T||""==P?g:((d=n.call(P,s((p=h-T)/P.length))).length>p&&(d=d.slice(0,p)),f?g+d:d+g)}};o.exports={start:u(!1),end:u(!0)}},76110:function(o,c,t){"use strict";var e=t(20397),r=t(7311),n=t(94300);o.exports=function(s){var u=r(n(this)),f="",i=e(s);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(u+=u))1&i&&(f+=u);return f}},55189:function(o,c,t){var e=t(43849),r=t(70454);o.exports=function(a){return e(function(){return!!r[a]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[a]()||r[a].name!==a})}},95223:function(o,c,t){var e=t(94300),r=t(7311),a="["+t(70454)+"]",s=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),f=function(i){return function(l){var v=r(e(l));return 1&i&&(v=v.replace(s,"")),2&i&&(v=v.replace(u,"")),v}};o.exports={start:f(1),end:f(2),trim:f(3)}},727:function(o,c,t){var d,x,m,E,e=t(30357),r=t(43849),n=t(78952),a=t(43815),s=t(66792),u=t(82385),f=t(40170),i=e.setImmediate,l=e.clearImmediate,v=e.process,g=e.MessageChannel,T=e.Dispatch,P=0,h={},p="onreadystatechange";try{d=e.location}catch(I){}var O=function(I){if(h.hasOwnProperty(I)){var M=h[I];delete h[I],M()}},y=function(I){return function(){O(I)}},S=function(I){O(I.data)},D=function(I){e.postMessage(String(I),d.protocol+"//"+d.host)};(!i||!l)&&(i=function(M){for(var C=[],K=arguments.length,V=1;K>V;)C.push(arguments[V++]);return h[++P]=function(){("function"==typeof M?M:Function(M)).apply(void 0,C)},x(P),P},l=function(M){delete h[M]},f?x=function(I){v.nextTick(y(I))}:T&&T.now?x=function(I){T.now(y(I))}:g&&!u?(E=(m=new g).port2,m.port1.onmessage=S,x=n(E.postMessage,E,1)):e.addEventListener&&"function"==typeof postMessage&&!e.importScripts&&d&&"file:"!==d.protocol&&!r(D)?(x=D,e.addEventListener("message",S,!1)):x=p in s("script")?function(I){a.appendChild(s("script"))[p]=function(){a.removeChild(this),O(I)}}:function(I){setTimeout(y(I),0)}),o.exports={set:i,clear:l}},86943:function(o,c,t){var e=t(36504);o.exports=function(r){if("number"!=typeof r&&"Number"!=e(r))throw TypeError("Incorrect invocation");return+r}},63141:function(o,c,t){var e=t(20397),r=Math.max,n=Math.min;o.exports=function(a,s){var u=e(a);return u<0?r(u+s,0):n(u,s)}},60058:function(o,c,t){var e=t(7858),r=t(94300);o.exports=function(n){return e(r(n))}},20397:function(o){var c=Math.ceil,t=Math.floor;o.exports=function(e){return isNaN(e=+e)?0:(e>0?t:c)(e)}},77457:function(o,c,t){var e=t(20397),r=Math.min;o.exports=function(n){return n>0?r(e(n),9007199254740991):0}},23542:function(o,c,t){var e=t(94300);o.exports=function(r){return Object(e(r))}},12729:function(o,c,t){var e=t(5053),r=t(19973),n=t(19717),s=t(12871)("toPrimitive");o.exports=function(u,f){if(!e(u)||r(u))return u;var l,i=u[s];if(void 0!==i){if(void 0===f&&(f="default"),l=i.call(u,f),!e(l)||r(l))return l;throw TypeError("Can't convert object to primitive value")}return void 0===f&&(f="number"),n(u,f)}},21046:function(o,c,t){var e=t(12729),r=t(19973);o.exports=function(n){var a=e(n,"string");return r(a)?a:String(a)}},24556:function(o,c,t){var n={};n[t(12871)("toStringTag")]="z",o.exports="[object z]"===String(n)},7311:function(o,c,t){var e=t(19973);o.exports=function(r){if(e(r))throw TypeError("Cannot convert a Symbol value to a string");return String(r)}},11427:function(o){var c=0,t=Math.random();o.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++c+t).toString(36)}},37954:function(o,c,t){var e=t(66700);o.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},57768:function(o,c,t){var e=t(12871);c.f=e},12871:function(o,c,t){var e=t(30357),r=t(10823),n=t(72515),a=t(11427),s=t(66700),u=t(37954),f=r("wks"),i=e.Symbol,l=u?i:i&&i.withoutSetter||a;o.exports=function(v){return(!n(f,v)||!(s||"string"==typeof f[v]))&&(f[v]=s&&n(i,v)?i[v]:l("Symbol."+v)),f[v]}},70454:function(o){o.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},2231:function(o,c,t){"use strict";var e=t(4773),r=t(43849),n=t(62703),a=t(5053),s=t(23542),u=t(77457),f=t(68923),i=t(5301),l=t(19197),v=t(12871),g=t(66889),T=v("isConcatSpreadable"),P=9007199254740991,h="Maximum allowed index exceeded",p=g>=51||!r(function(){var E=[];return E[T]=!1,E.concat()[0]!==E}),d=l("concat"),x=function(E){if(!a(E))return!1;var O=E[T];return void 0!==O?!!O:n(E)};e({target:"Array",proto:!0,forced:!p||!d},{concat:function(O){var I,M,C,K,V,y=s(this),S=i(y,0),D=0;for(I=-1,C=arguments.length;IP)throw TypeError(h);for(M=0;M=P)throw TypeError(h);f(S,D++,V)}return S.length=D,S}})},23391:function(o,c,t){var e=t(4773),r=t(63135),n=t(90992);e({target:"Array",proto:!0},{copyWithin:r}),n("copyWithin")},75247:function(o,c,t){"use strict";var e=t(4773),r=t(81269).every;e({target:"Array",proto:!0,forced:!t(79925)("every")},{every:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},64735:function(o,c,t){var e=t(4773),r=t(92749),n=t(90992);e({target:"Array",proto:!0},{fill:r}),n("fill")},92249:function(o,c,t){"use strict";var e=t(4773),r=t(81269).filter;e({target:"Array",proto:!0,forced:!t(19197)("filter")},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},33275:function(o,c,t){"use strict";var e=t(4773),r=t(81269).findIndex,n=t(90992),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{findIndex:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}}),n(a)},3503:function(o,c,t){"use strict";var e=t(4773),r=t(81269).find,n=t(90992),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{find:function(f){return r(this,f,arguments.length>1?arguments[1]:void 0)}}),n(a)},92043:function(o,c,t){"use strict";var e=t(4773),r=t(10698),n=t(23542),a=t(77457),s=t(90272),u=t(5301);e({target:"Array",proto:!0},{flatMap:function(i){var g,l=n(this),v=a(l.length);return s(i),(g=u(l,0)).length=r(g,l,l,v,0,1,i,arguments.length>1?arguments[1]:void 0),g}})},20030:function(o,c,t){"use strict";var e=t(4773),r=t(10698),n=t(23542),a=t(77457),s=t(20397),u=t(5301);e({target:"Array",proto:!0},{flat:function(){var i=arguments.length?arguments[0]:void 0,l=n(this),v=a(l.length),g=u(l,0);return g.length=r(g,l,l,v,0,void 0===i?1:s(i)),g}})},3212:function(o,c,t){"use strict";var e=t(4773),r=t(64274);e({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},56497:function(o,c,t){var e=t(4773),r=t(80164);e({target:"Array",stat:!0,forced:!t(865)(function(s){Array.from(s)})},{from:r})},63720:function(o,c,t){"use strict";var e=t(4773),r=t(13759).includes,n=t(90992);e({target:"Array",proto:!0},{includes:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("includes")},47491:function(o,c,t){"use strict";var e=t(4773),r=t(13759).indexOf,n=t(79925),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=n("indexOf");e({target:"Array",proto:!0,forced:s||!u},{indexOf:function(i){return s?a.apply(this,arguments)||0:r(this,i,arguments.length>1?arguments[1]:void 0)}})},81915:function(o,c,t){t(4773)({target:"Array",stat:!0},{isArray:t(62703)})},11361:function(o,c,t){"use strict";var e=t(60058),r=t(90992),n=t(37448),a=t(59796),s=t(10097),u="Array Iterator",f=a.set,i=a.getterFor(u);o.exports=s(Array,"Array",function(l,v){f(this,{type:u,target:e(l),index:0,kind:v})},function(){var l=i(this),v=l.target,g=l.kind,T=l.index++;return!v||T>=v.length?(l.target=void 0,{value:void 0,done:!0}):"keys"==g?{value:T,done:!1}:"values"==g?{value:v[T],done:!1}:{value:[T,v[T]],done:!1}},"values"),n.Arguments=n.Array,r("keys"),r("values"),r("entries")},68602:function(o,c,t){"use strict";var e=t(4773),r=t(7858),n=t(60058),a=t(79925),s=[].join,u=r!=Object,f=a("join",",");e({target:"Array",proto:!0,forced:u||!f},{join:function(l){return s.call(n(this),void 0===l?",":l)}})},96459:function(o,c,t){var e=t(4773),r=t(25004);e({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},15790:function(o,c,t){"use strict";var e=t(4773),r=t(81269).map;e({target:"Array",proto:!0,forced:!t(19197)("map")},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},50698:function(o,c,t){"use strict";var e=t(4773),r=t(43849),n=t(68923);e({target:"Array",stat:!0,forced:r(function(){function s(){}return!(Array.of.call(s)instanceof s)})},{of:function(){for(var u=0,f=arguments.length,i=new("function"==typeof this?this:Array)(f);f>u;)n(i,u,arguments[u++]);return i.length=f,i}})},72173:function(o,c,t){"use strict";var e=t(4773),r=t(72527).right,n=t(79925),a=t(66889),s=t(40170);e({target:"Array",proto:!0,forced:!n("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(l){return r(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})},9594:function(o,c,t){"use strict";var e=t(4773),r=t(72527).left,n=t(79925),a=t(66889),s=t(40170);e({target:"Array",proto:!0,forced:!n("reduce")||!s&&a>79&&a<83},{reduce:function(l){return r(this,l,arguments.length,arguments.length>1?arguments[1]:void 0)}})},6290:function(o,c,t){"use strict";var e=t(4773),r=t(5053),n=t(62703),a=t(63141),s=t(77457),u=t(60058),f=t(68923),i=t(12871),v=t(19197)("slice"),g=i("species"),T=[].slice,P=Math.max;e({target:"Array",proto:!0,forced:!v},{slice:function(p,d){var y,S,D,x=u(this),m=s(x.length),E=a(p,m),O=a(void 0===d?m:d,m);if(n(x)&&("function"!=typeof(y=x.constructor)||y!==Array&&!n(y.prototype)?r(y)&&null===(y=y[g])&&(y=void 0):y=void 0,y===Array||void 0===y))return T.call(x,E,O);for(S=new(void 0===y?Array:y)(P(O-E,0)),D=0;E1?arguments[1]:void 0)}})},69208:function(o,c,t){"use strict";var e=t(4773),r=t(90272),n=t(23542),a=t(77457),s=t(7311),u=t(43849),f=t(29756),i=t(79925),l=t(51258),v=t(2285),g=t(66889),T=t(91806),P=[],h=P.sort,p=u(function(){P.sort(void 0)}),d=u(function(){P.sort(null)}),x=i("sort"),m=!u(function(){if(g)return g<70;if(!(l&&l>3)){if(v)return!0;if(T)return T<603;var S,D,I,M,y="";for(S=65;S<76;S++){switch(D=String.fromCharCode(S),S){case 66:case 69:case 70:case 72:I=3;break;case 68:case 71:I=4;break;default:I=2}for(M=0;M<47;M++)P.push({k:D+M,v:I})}for(P.sort(function(C,K){return K.v-C.v}),M=0;Ms(D)?1:-1}}(S))).length,K=0;KT)throw TypeError(P);for(D=u(x,S),I=0;Im-S+y;I--)delete x[I-1]}else if(y>S)for(I=m-S;I>E;I--)C=I+y-1,(M=I+S-1)in x?x[C]=x[M]:delete x[C];for(I=0;I94906265.62425156?a(l)+u:r(l-1+s(l-1)*s(l+1))}})},3208:function(o,c,t){var e=t(4773),r=Math.asinh,n=Math.log,a=Math.sqrt;e({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function s(u){return isFinite(u=+u)&&0!=u?u<0?-s(-u):n(u+a(u*u+1)):u}})},77389:function(o,c,t){var e=t(4773),r=Math.atanh,n=Math.log;e({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(s){return 0==(s=+s)?s:n((1+s)/(1-s))/2}})},50099:function(o,c,t){var e=t(4773),r=t(84462),n=Math.abs,a=Math.pow;e({target:"Math",stat:!0},{cbrt:function(u){return r(u=+u)*a(n(u),1/3)}})},5715:function(o,c,t){var e=t(4773),r=Math.floor,n=Math.log,a=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(u){return(u>>>=0)?31-r(n(u+.5)*a):32}})},85143:function(o,c,t){var e=t(4773),r=t(24807),n=Math.cosh,a=Math.abs,s=Math.E;e({target:"Math",stat:!0,forced:!n||n(710)===1/0},{cosh:function(f){var i=r(a(f)-1)+1;return(i+1/(i*s*s))*(s/2)}})},34438:function(o,c,t){var e=t(4773),r=t(24807);e({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},74399:function(o,c,t){t(4773)({target:"Math",stat:!0},{fround:t(79636)})},99815:function(o,c,t){var e=t(4773),r=Math.hypot,n=Math.abs,a=Math.sqrt;e({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(f,i){for(var P,h,l=0,v=0,g=arguments.length,T=0;v0?(h=P/T)*h:P;return T===1/0?1/0:T*a(l)}})},62529:function(o,c,t){var e=t(4773),r=t(43849),n=Math.imul;e({target:"Math",stat:!0,forced:r(function(){return-5!=n(4294967295,5)||2!=n.length})},{imul:function(u,f){var i=65535,l=+u,v=+f,g=i&l,T=i&v;return 0|g*T+((i&l>>>16)*T+g*(i&v>>>16)<<16>>>0)}})},60299:function(o,c,t){var e=t(4773),r=Math.log,n=Math.LOG10E;e({target:"Math",stat:!0},{log10:function(s){return r(s)*n}})},88760:function(o,c,t){t(4773)({target:"Math",stat:!0},{log1p:t(57308)})},64546:function(o,c,t){var e=t(4773),r=Math.log,n=Math.LN2;e({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},46685:function(o,c,t){t(4773)({target:"Math",stat:!0},{sign:t(84462)})},69605:function(o,c,t){var e=t(4773),r=t(43849),n=t(24807),a=Math.abs,s=Math.exp,u=Math.E;e({target:"Math",stat:!0,forced:r(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(l){return a(l=+l)<1?(n(l)-n(-l))/2:(s(l-1)-s(-l-1))*(u/2)}})},86537:function(o,c,t){var e=t(4773),r=t(24807),n=Math.exp;e({target:"Math",stat:!0},{tanh:function(s){var u=r(s=+s),f=r(-s);return u==1/0?1:f==1/0?-1:(u-f)/(n(s)+n(-s))}})},3137:function(o,c,t){t(20814)(Math,"Math",!0)},76542:function(o,c,t){var e=t(4773),r=Math.ceil,n=Math.floor;e({target:"Math",stat:!0},{trunc:function(s){return(s>0?n:r)(s)}})},88199:function(o,c,t){"use strict";var e=t(14952),r=t(30357),n=t(18153),a=t(81859),s=t(72515),u=t(36504),f=t(75079),i=t(19973),l=t(12729),v=t(43849),g=t(56527),T=t(66006).f,P=t(49629).f,h=t(70704).f,p=t(95223).trim,d="Number",x=r[d],m=x.prototype,E=u(g(m))==d,O=function(M){if(i(M))throw TypeError("Cannot convert a Symbol value to a number");var K,V,ot,J,Z,F,A,B,C=l(M,"number");if("string"==typeof C&&C.length>2)if(43===(K=(C=p(C)).charCodeAt(0))||45===K){if(88===(V=C.charCodeAt(2))||120===V)return NaN}else if(48===K){switch(C.charCodeAt(1)){case 66:case 98:ot=2,J=49;break;case 79:case 111:ot=8,J=55;break;default:return+C}for(F=(Z=C.slice(2)).length,A=0;AJ)return NaN;return parseInt(Z,ot)}return+C};if(n(d,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var I,y=function(C){var K=arguments.length<1?0:C,V=this;return V instanceof y&&(E?v(function(){m.valueOf.call(V)}):u(V)!=d)?f(new x(O(K)),V,y):O(K)},S=e?T(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),D=0;S.length>D;D++)s(x,I=S[D])&&!s(y,I)&&h(y,I,P(x,I));y.prototype=m,m.constructor=y,a(r,d,y)}},64008:function(o,c,t){t(4773)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},83290:function(o,c,t){t(4773)({target:"Number",stat:!0},{isFinite:t(88907)})},50941:function(o,c,t){t(4773)({target:"Number",stat:!0},{isInteger:t(81243)})},39362:function(o,c,t){t(4773)({target:"Number",stat:!0},{isNaN:function(n){return n!=n}})},28519:function(o,c,t){var e=t(4773),r=t(81243),n=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},62561:function(o,c,t){t(4773)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},81634:function(o,c,t){t(4773)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40977:function(o,c,t){var e=t(4773),r=t(51854);e({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},94318:function(o,c,t){var e=t(4773),r=t(96282);e({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},33595:function(o,c,t){"use strict";var e=t(4773),r=t(20397),n=t(86943),a=t(76110),s=t(43849),u=1..toFixed,f=Math.floor,i=function(h,p,d){return 0===p?d:p%2==1?i(h,p-1,d*h):i(h*h,p/2,d)},v=function(h,p,d){for(var x=-1,m=d;++x<6;)h[x]=(m+=p*h[x])%1e7,m=f(m/1e7)},g=function(h,p){for(var d=6,x=0;--d>=0;)h[d]=f((x+=h[d])/p),x=x%p*1e7},T=function(h){for(var p=6,d="";--p>=0;)if(""!==d||0===p||0!==h[p]){var x=String(h[p]);d=""===d?x:d+a.call("0",7-x.length)+x}return d};e({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s(function(){u.call({})})},{toFixed:function(p){var y,S,D,I,d=n(this),x=r(p),m=[0,0,0,0,0,0],E="",O="0";if(x<0||x>20)throw RangeError("Incorrect fraction digits");if(d!=d)return"NaN";if(d<=-1e21||d>=1e21)return String(d);if(d<0&&(E="-",d=-d),d>1e-21)if(S=(y=function(h){for(var p=0,d=h;d>=4096;)p+=12,d/=4096;for(;d>=2;)p+=1,d/=2;return p}(d*i(2,69,1))-69)<0?d*i(2,-y,1):d/i(2,y,1),S*=4503599627370496,(y=52-y)>0){for(v(m,0,S),D=x;D>=7;)v(m,1e7,0),D-=7;for(v(m,i(10,D,1),0),D=y-1;D>=23;)g(m,1<<23),D-=23;g(m,1<0?E+((I=O.length)<=x?"0."+a.call("0",x-I)+O:O.slice(0,I-x)+"."+O.slice(I-x)):E+O}})},17064:function(o,c,t){"use strict";var e=t(4773),r=t(43849),n=t(86943),a=1..toPrecision;e({target:"Number",proto:!0,forced:r(function(){return"1"!==a.call(1,void 0)})||!r(function(){a.call({})})},{toPrecision:function(f){return void 0===f?a.call(n(this)):a.call(n(this),f)}})},78895:function(o,c,t){var e=t(4773),r=t(3696);e({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},194:function(o,c,t){t(4773)({target:"Object",stat:!0,sham:!t(14952)},{create:t(56527)})},28438:function(o,c,t){var e=t(4773),r=t(14952);e({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:t(6858)})},86985:function(o,c,t){var e=t(4773),r=t(14952);e({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:t(70704).f})},20057:function(o,c,t){var e=t(4773),r=t(25761).entries;e({target:"Object",stat:!0},{entries:function(a){return r(a)}})},473:function(o,c,t){var e=t(4773),r=t(85744),n=t(43849),a=t(5053),s=t(77483).onFreeze,u=Object.freeze;e({target:"Object",stat:!0,forced:n(function(){u(1)}),sham:!r},{freeze:function(l){return u&&a(l)?u(s(l)):l}})},92876:function(o,c,t){var e=t(4773),r=t(27421),n=t(68923);e({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(f,i){n(u,f,i)},{AS_ENTRIES:!0}),u}})},49914:function(o,c,t){var e=t(4773),r=t(43849),n=t(60058),a=t(49629).f,s=t(14952),u=r(function(){a(1)});e({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(l,v){return a(n(l),v)}})},9614:function(o,c,t){var e=t(4773),r=t(14952),n=t(80713),a=t(60058),s=t(49629),u=t(68923);e({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(i){for(var h,p,l=a(i),v=s.f,g=n(l),T={},P=0;g.length>P;)void 0!==(p=v(l,h=g[P++]))&&u(T,h,p);return T}})},63262:function(o,c,t){var e=t(4773),r=t(43849),n=t(62774).f;e({target:"Object",stat:!0,forced:r(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:n})},92135:function(o,c,t){var e=t(4773),r=t(43849),n=t(23542),a=t(58873),s=t(31304);e({target:"Object",stat:!0,forced:r(function(){a(1)}),sham:!s},{getPrototypeOf:function(i){return a(n(i))}})},84147:function(o,c,t){var e=t(4773),r=t(43849),n=t(5053),a=Object.isExtensible;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isExtensible:function(f){return!!n(f)&&(!a||a(f))}})},14949:function(o,c,t){var e=t(4773),r=t(43849),n=t(5053),a=Object.isFrozen;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isFrozen:function(f){return!n(f)||!!a&&a(f)}})},58743:function(o,c,t){var e=t(4773),r=t(43849),n=t(5053),a=Object.isSealed;e({target:"Object",stat:!0,forced:r(function(){a(1)})},{isSealed:function(f){return!n(f)||!!a&&a(f)}})},74409:function(o,c,t){t(4773)({target:"Object",stat:!0},{is:t(34787)})},74633:function(o,c,t){var e=t(4773),r=t(23542),n=t(90671);e({target:"Object",stat:!0,forced:t(43849)(function(){n(1)})},{keys:function(f){return n(r(f))}})},3116:function(o,c,t){var e=t(4773),r=t(5053),n=t(77483).onFreeze,a=t(85744),s=t(43849),u=Object.preventExtensions;e({target:"Object",stat:!0,forced:s(function(){u(1)}),sham:!a},{preventExtensions:function(l){return u&&r(l)?u(n(l)):l}})},39472:function(o,c,t){var e=t(4773),r=t(5053),n=t(77483).onFreeze,a=t(85744),s=t(43849),u=Object.seal;e({target:"Object",stat:!0,forced:s(function(){u(1)}),sham:!a},{seal:function(l){return u&&r(l)?u(n(l)):l}})},75338:function(o,c,t){t(4773)({target:"Object",stat:!0},{setPrototypeOf:t(86561)})},13651:function(o,c,t){var e=t(24556),r=t(81859),n=t(12644);e||r(Object.prototype,"toString",n,{unsafe:!0})},25174:function(o,c,t){var e=t(4773),r=t(25761).values;e({target:"Object",stat:!0},{values:function(a){return r(a)}})},97695:function(o,c,t){var e=t(4773),r=t(51854);e({global:!0,forced:parseFloat!=r},{parseFloat:r})},37048:function(o,c,t){var e=t(4773),r=t(96282);e({global:!0,forced:parseInt!=r},{parseInt:r})},85788:function(o,c,t){"use strict";var ae,le,ge,Pe,e=t(4773),r=t(89345),n=t(30357),a=t(57344),s=t(13507),u=t(81859),f=t(96475),i=t(86561),l=t(20814),v=t(58506),g=t(5053),T=t(90272),P=t(14697),h=t(7519),p=t(27421),d=t(865),x=t(32335),m=t(727).set,E=t(72839),O=t(24247),y=t(21714),S=t(67620),D=t(89298),I=t(59796),M=t(18153),C=t(12871),K=t(30250),V=t(40170),ot=t(66889),J=C("species"),Z="Promise",F=I.get,A=I.set,B=I.getterFor(Z),H=s&&s.prototype,$=s,z=H,at=n.TypeError,Pt=n.document,ft=n.process,St=S.f,bt=St,zt=!!(Pt&&Pt.createEvent&&n.dispatchEvent),Dt="function"==typeof PromiseRejectionEvent,Ot="unhandledrejection",Qt=!1,ce=M(Z,function(){var W=h($),G=W!==String($);if(!G&&66===ot||r&&!z.finally)return!0;if(ot>=51&&/native code/.test(W))return!1;var Y=new $(function(Rt){Rt(1)}),et=function(Rt){Rt(function(){},function(){})};return(Y.constructor={})[J]=et,!(Qt=Y.then(function(){})instanceof et)||!G&&K&&!Dt}),je=ce||!d(function(W){$.all(W).catch(function(){})}),Se=function(W){var G;return!(!g(W)||"function"!=typeof(G=W.then))&&G},Me=function(W,G){if(!W.notified){W.notified=!0;var Y=W.reactions;E(function(){for(var et=W.value,st=1==W.state,Rt=0;Y.length>Rt;){var Ie,We,Fe,ee=Y[Rt++],Bt=st?ee.ok:ee.fail,ve=ee.resolve,ye=ee.reject,se=ee.domain;try{Bt?(st||(2===W.rejection&&Ke(W),W.rejection=1),!0===Bt?Ie=et:(se&&se.enter(),Ie=Bt(et),se&&(se.exit(),Fe=!0)),Ie===ee.promise?ye(at("Promise-chain cycle")):(We=Se(Ie))?We.call(Ie,ve,ye):ve(Ie)):ye(et)}catch(j){se&&!Fe&&se.exit(),ye(j)}}W.reactions=[],W.notified=!1,G&&!W.rejection&&Ge(W)})}},Le=function(W,G,Y){var et,st;zt?((et=Pt.createEvent("Event")).promise=G,et.reason=Y,et.initEvent(W,!1,!0),n.dispatchEvent(et)):et={promise:G,reason:Y},!Dt&&(st=n["on"+W])?st(et):W===Ot&&y("Unhandled promise rejection",Y)},Ge=function(W){m.call(n,function(){var st,G=W.facade,Y=W.value;if(Ce(W)&&(st=D(function(){V?ft.emit("unhandledRejection",Y,G):Le(Ot,G,Y)}),W.rejection=V||Ce(W)?2:1,st.error))throw st.value})},Ce=function(W){return 1!==W.rejection&&!W.parent},Ke=function(W){m.call(n,function(){var G=W.facade;V?ft.emit("rejectionHandled",G):Le("rejectionhandled",G,W.value)})},me=function(W,G,Y){return function(et){W(G,et,Y)}},pe=function(W,G,Y){W.done||(W.done=!0,Y&&(W=Y),W.value=G,W.state=2,Me(W,!0))},Ae=function(W,G,Y){if(!W.done){W.done=!0,Y&&(W=Y);try{if(W.facade===G)throw at("Promise can't be resolved itself");var et=Se(G);et?E(function(){var st={done:!1};try{et.call(G,me(Ae,st,W),me(pe,st,W))}catch(Rt){pe(st,Rt,W)}}):(W.value=G,W.state=1,Me(W,!1))}catch(st){pe({done:!1},st,W)}}};if(ce&&($=function(G){P(this,$,Z),T(G),ae.call(this);var Y=F(this);try{G(me(Ae,Y),me(pe,Y))}catch(et){pe(Y,et)}},(ae=function(G){A(this,{type:Z,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(z=$.prototype,{then:function(G,Y){var et=B(this),st=St(x(this,$));return st.ok="function"!=typeof G||G,st.fail="function"==typeof Y&&Y,st.domain=V?ft.domain:void 0,et.parent=!0,et.reactions.push(st),0!=et.state&&Me(et,!1),st.promise},catch:function(W){return this.then(void 0,W)}}),le=function(){var W=new ae,G=F(W);this.promise=W,this.resolve=me(Ae,G),this.reject=me(pe,G)},S.f=St=function(W){return W===$||W===ge?new le(W):bt(W)},!r&&"function"==typeof s&&H!==Object.prototype)){Pe=H.then,Qt||(u(H,"then",function(G,Y){var et=this;return new $(function(st,Rt){Pe.call(et,st,Rt)}).then(G,Y)},{unsafe:!0}),u(H,"catch",z.catch,{unsafe:!0}));try{delete H.constructor}catch(W){}i&&i(H,z)}e({global:!0,wrap:!0,forced:ce},{Promise:$}),l($,Z,!1,!0),v(Z),ge=a(Z),e({target:Z,stat:!0,forced:ce},{reject:function(G){var Y=St(this);return Y.reject.call(void 0,G),Y.promise}}),e({target:Z,stat:!0,forced:r||ce},{resolve:function(G){return O(r&&this===ge?$:this,G)}}),e({target:Z,stat:!0,forced:je},{all:function(G){var Y=this,et=St(Y),st=et.resolve,Rt=et.reject,ee=D(function(){var Bt=T(Y.resolve),ve=[],ye=0,se=1;p(G,function(Ie){var We=ye++,Fe=!1;ve.push(void 0),se++,Bt.call(Y,Ie).then(function(j){Fe||(Fe=!0,ve[We]=j,--se||st(ve))},Rt)}),--se||st(ve)});return ee.error&&Rt(ee.value),et.promise},race:function(G){var Y=this,et=St(Y),st=et.reject,Rt=D(function(){var ee=T(Y.resolve);p(G,function(Bt){ee.call(Y,Bt).then(et.resolve,st)})});return Rt.error&&st(Rt.value),et.promise}})},16317:function(o,c,t){var e=t(4773),r=t(30357),n=t(20814);e({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},96149:function(o,c,t){var e=t(14952),r=t(30357),n=t(18153),a=t(75079),s=t(35384),u=t(70704).f,f=t(66006).f,i=t(15247),l=t(7311),v=t(54650),g=t(43817),T=t(81859),P=t(43849),h=t(72515),p=t(59796).enforce,d=t(58506),x=t(12871),m=t(4475),E=t(1659),O=x("match"),y=r.RegExp,S=y.prototype,D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,M=/a/g,C=new y(I)!==I,K=g.UNSUPPORTED_Y;if(n("RegExp",e&&(!C||K||m||E||P(function(){return M[O]=!1,y(I)!=I||y(M)==M||"/a/i"!=y(I,"i")})))){for(var Z=function($,z){var zt,Dt,Ot,kt,fe,Lt,at=this instanceof Z,Pt=i($),ft=void 0===z,St=[],bt=$;if(!at&&Pt&&ft&&$.constructor===Z)return $;if((Pt||$ instanceof Z)&&($=$.source,ft&&(z="flags"in bt?bt.flags:v.call(bt))),$=void 0===$?"":l($),z=void 0===z?"":l(z),bt=$,m&&"dotAll"in I&&(Dt=!!z&&z.indexOf("s")>-1)&&(z=z.replace(/s/g,"")),zt=z,K&&"sticky"in I&&(Ot=!!z&&z.indexOf("y")>-1)&&(z=z.replace(/y/g,"")),E&&($=(kt=function(H){for(var Ot,$=H.length,z=0,at="",Pt=[],ft={},St=!1,bt=!1,zt=0,Dt="";z<=$;z++){if("\\"===(Ot=H.charAt(z)))Ot+=H.charAt(++z);else if("]"===Ot)St=!1;else if(!St)switch(!0){case"["===Ot:St=!0;break;case"("===Ot:D.test(H.slice(z+1))&&(z+=2,bt=!0),at+=Ot,zt++;continue;case">"===Ot&&bt:if(""===Dt||h(ft,Dt))throw new SyntaxError("Invalid capture group name");ft[Dt]=!0,Pt.push([Dt,zt]),bt=!1,Dt="";continue}bt?Dt+=Ot:at+=Ot}return[at,Pt]}($))[0],St=kt[1]),fe=a(y($,z),at?this:S,Z),(Dt||Ot||St.length)&&(Lt=p(fe),Dt&&(Lt.dotAll=!0,Lt.raw=Z(function(H){for(var ft,$=H.length,z=0,at="",Pt=!1;z<=$;z++)"\\"!==(ft=H.charAt(z))?Pt||"."!==ft?("["===ft?Pt=!0:"]"===ft&&(Pt=!1),at+=ft):at+="[\\s\\S]":at+=ft+H.charAt(++z);return at}($),zt)),Ot&&(Lt.sticky=!0),St.length&&(Lt.groups=St)),$!==bt)try{s(fe,"source",""===bt?"(?:)":bt)}catch(he){}return fe},F=function(H){H in Z||u(Z,H,{configurable:!0,get:function(){return y[H]},set:function($){y[H]=$}})},A=f(y),B=0;A.length>B;)F(A[B++]);S.constructor=Z,Z.prototype=S,T(r,"RegExp",Z)}d("RegExp")},39624:function(o,c,t){"use strict";var e=t(4773),r=t(9108);e({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},35318:function(o,c,t){var e=t(14952),r=t(70704),n=t(54650),a=t(43849);e&&a(function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})})&&r.f(RegExp.prototype,"flags",{configurable:!0,get:n})},32385:function(o,c,t){"use strict";var e=t(81859),r=t(96845),n=t(7311),a=t(43849),s=t(54650),u="toString",f=RegExp.prototype,i=f[u];(a(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})||i.name!=u)&&e(RegExp.prototype,u,function(){var T=r(this),P=n(T.source),h=T.flags;return"/"+P+"/"+n(void 0===h&&T instanceof RegExp&&!("flags"in f)?s.call(T):h)},{unsafe:!0})},58363:function(o,c,t){"use strict";var e=t(58545),r=t(59274);o.exports=e("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},6494:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},50488:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("big")},{big:function(){return r(this,"big","","")}})},50979:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("blink")},{blink:function(){return r(this,"blink","","")}})},22226:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("bold")},{bold:function(){return r(this,"b","","")}})},22817:function(o,c,t){"use strict";var e=t(4773),r=t(40153).codeAt;e({target:"String",proto:!0},{codePointAt:function(a){return r(this,a)}})},21619:function(o,c,t){"use strict";var P,e=t(4773),r=t(49629).f,n=t(77457),a=t(7311),s=t(33078),u=t(94300),f=t(13211),i=t(89345),l="".endsWith,v=Math.min,g=f("endsWith");e({target:"String",proto:!0,forced:!(!i&&!g&&(P=r(String.prototype,"endsWith"),P&&!P.writable)||g)},{endsWith:function(h){var p=a(u(this));s(h);var d=arguments.length>1?arguments[1]:void 0,x=n(p.length),m=void 0===d?x:v(n(d),x),E=a(h);return l?l.call(p,E,m):p.slice(m-E.length,m)===E}})},54716:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("fixed")},{fixed:function(){return r(this,"tt","","")}})},93004:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},24924:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},75663:function(o,c,t){var e=t(4773),r=t(63141),n=String.fromCharCode,a=String.fromCodePoint;e({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(f){for(var g,i=[],l=arguments.length,v=0;l>v;){if(g=+arguments[v++],r(g,1114111)!==g)throw RangeError(g+" is not a valid code point");i.push(g<65536?n(g):n(55296+((g-=65536)>>10),g%1024+56320))}return i.join("")}})},1610:function(o,c,t){"use strict";var e=t(4773),r=t(33078),n=t(94300),a=t(7311);e({target:"String",proto:!0,forced:!t(13211)("includes")},{includes:function(f){return!!~a(n(this)).indexOf(a(r(f)),arguments.length>1?arguments[1]:void 0)}})},13062:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("italics")},{italics:function(){return r(this,"i","","")}})},52999:function(o,c,t){"use strict";var e=t(40153).charAt,r=t(7311),n=t(59796),a=t(10097),s="String Iterator",u=n.set,f=n.getterFor(s);a(String,"String",function(i){u(this,{type:s,string:r(i),index:0})},function(){var T,l=f(this),v=l.string,g=l.index;return g>=v.length?{value:void 0,done:!0}:(T=e(v,g),l.index+=T.length,{value:T,done:!1})})},31661:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("link")},{link:function(s){return r(this,"a","href",s)}})},77814:function(o,c,t){"use strict";var e=t(68309),r=t(96845),n=t(77457),a=t(7311),s=t(94300),u=t(56987),f=t(15454);e("match",function(i,l,v){return[function(T){var P=s(this),h=null==T?void 0:T[i];return void 0!==h?h.call(T,P):new RegExp(T)[i](a(P))},function(g){var T=r(this),P=a(g),h=v(l,T,P);if(h.done)return h.value;if(!T.global)return f(T,P);var p=T.unicode;T.lastIndex=0;for(var m,d=[],x=0;null!==(m=f(T,P));){var E=a(m[0]);d[x]=E,""===E&&(T.lastIndex=u(P,n(T.lastIndex),p)),x++}return 0===x?null:d}]})},17505:function(o,c,t){var e=t(4773),r=t(60058),n=t(77457),a=t(7311);e({target:"String",stat:!0},{raw:function(u){for(var f=r(u.raw),i=n(f.length),l=arguments.length,v=[],g=0;i>g;)v.push(a(f[g++])),g=H&&(B+=C.slice(H,at)+zt,H=at+z.length)}return B+C.slice(H)}]},!!r(function(){var E=/./;return E.exec=function(){var O=[];return O.groups={a:"7"},O},"7"!=="".replace(E,"$")})||!d||x)},23326:function(o,c,t){"use strict";var e=t(68309),r=t(96845),n=t(94300),a=t(34787),s=t(7311),u=t(15454);e("search",function(f,i,l){return[function(g){var T=n(this),P=null==g?void 0:g[f];return void 0!==P?P.call(g,T):new RegExp(g)[f](s(T))},function(v){var g=r(this),T=s(v),P=l(i,g,T);if(P.done)return P.value;var h=g.lastIndex;a(h,0)||(g.lastIndex=0);var p=u(g,T);return a(g.lastIndex,h)||(g.lastIndex=h),null===p?-1:p.index}]})},87398:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("small")},{small:function(){return r(this,"small","","")}})},89692:function(o,c,t){"use strict";var e=t(68309),r=t(15247),n=t(96845),a=t(94300),s=t(32335),u=t(56987),f=t(77457),i=t(7311),l=t(15454),v=t(9108),g=t(43817),T=t(43849),P=g.UNSUPPORTED_Y,h=[].push,p=Math.min,d=4294967295;e("split",function(m,E,O){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(S,D){var I=i(a(this)),M=void 0===D?d:D>>>0;if(0===M)return[];if(void 0===S)return[I];if(!r(S))return E.call(I,S,M);for(var J,Z,F,C=[],V=0,ot=new RegExp(S.source,(S.ignoreCase?"i":"")+(S.multiline?"m":"")+(S.unicode?"u":"")+(S.sticky?"y":"")+"g");(J=v.call(ot,I))&&!((Z=ot.lastIndex)>V&&(C.push(I.slice(V,J.index)),J.length>1&&J.index=M));)ot.lastIndex===J.index&&ot.lastIndex++;return V===I.length?(F||!ot.test(""))&&C.push(""):C.push(I.slice(V)),C.length>M?C.slice(0,M):C}:"0".split(void 0,0).length?function(S,D){return void 0===S&&0===D?[]:E.call(this,S,D)}:E,[function(D,I){var M=a(this),C=null==D?void 0:D[m];return void 0!==C?C.call(D,M,I):y.call(i(M),D,I)},function(S,D){var I=n(this),M=i(S),C=O(y,I,M,D,y!==E);if(C.done)return C.value;var K=s(I,RegExp),V=I.unicode,J=new K(P?"^(?:"+I.source+")":I,(I.ignoreCase?"i":"")+(I.multiline?"m":"")+(I.unicode?"u":"")+(P?"g":"y")),Z=void 0===D?d:D>>>0;if(0===Z)return[];if(0===M.length)return null===l(J,M)?[M]:[];for(var F=0,A=0,B=[];A1?arguments[1]:void 0,p.length)),x=a(h);return l?l.call(p,x,d):p.slice(d,d+x.length)===x}})},65503:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("strike")},{strike:function(){return r(this,"strike","","")}})},75343:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("sub")},{sub:function(){return r(this,"sub","","")}})},58356:function(o,c,t){"use strict";var e=t(4773),r=t(49112);e({target:"String",proto:!0,forced:t(6137)("sup")},{sup:function(){return r(this,"sup","","")}})},76595:function(o,c,t){"use strict";var e=t(4773),r=t(95223).trim;e({target:"String",proto:!0,forced:t(55189)("trim")},{trim:function(){return r(this)}})},32326:function(o,c,t){t(47949)("asyncIterator")},97607:function(o,c,t){"use strict";var e=t(4773),r=t(14952),n=t(30357),a=t(72515),s=t(5053),u=t(70704).f,f=t(62242),i=n.Symbol;if(r&&"function"==typeof i&&(!("description"in i.prototype)||void 0!==i().description)){var l={},v=function(){var d=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),x=this instanceof v?new i(d):void 0===d?i():i(d);return""===d&&(l[x]=!0),x};f(v,i);var g=v.prototype=i.prototype;g.constructor=v;var T=g.toString,P="Symbol(test)"==String(i("test")),h=/^Symbol\((.*)\)[^)]+$/;u(g,"description",{configurable:!0,get:function(){var d=s(this)?this.valueOf():this,x=T.call(d);if(a(l,d))return"";var m=P?x.slice(7,-1):x.replace(h,"$1");return""===m?void 0:m}}),e({global:!0,forced:!0},{Symbol:v})}},93812:function(o,c,t){t(47949)("hasInstance")},56079:function(o,c,t){t(47949)("isConcatSpreadable")},74620:function(o,c,t){t(47949)("iterator")},32136:function(o,c,t){"use strict";var e=t(4773),r=t(30357),n=t(57344),a=t(89345),s=t(14952),u=t(66700),f=t(43849),i=t(72515),l=t(62703),v=t(5053),g=t(19973),T=t(96845),P=t(23542),h=t(60058),p=t(21046),d=t(7311),x=t(34618),m=t(56527),E=t(90671),O=t(66006),y=t(62774),S=t(27513),D=t(49629),I=t(70704),M=t(87023),C=t(35384),K=t(81859),V=t(10823),ot=t(51822),J=t(44199),Z=t(11427),F=t(12871),A=t(57768),B=t(47949),H=t(20814),$=t(59796),z=t(81269).forEach,at=ot("hidden"),Pt="Symbol",ft="prototype",St=F("toPrimitive"),bt=$.set,zt=$.getterFor(Pt),Dt=Object[ft],Ot=r.Symbol,kt=n("JSON","stringify"),fe=D.f,Lt=I.f,he=y.f,xe=M.f,Jt=V("symbols"),Qt=V("op-symbols"),ae=V("string-to-symbol-registry"),le=V("symbol-to-string-registry"),ge=V("wks"),Pe=r.QObject,ce=!Pe||!Pe[ft]||!Pe[ft].findChild,je=s&&f(function(){return 7!=m(Lt({},"a",{get:function(){return Lt(this,"a",{value:7}).a}})).a})?function(W,G,Y){var et=fe(Dt,G);et&&delete Dt[G],Lt(W,G,Y),et&&W!==Dt&&Lt(Dt,G,et)}:Lt,Se=function(W,G){var Y=Jt[W]=m(Ot[ft]);return bt(Y,{type:Pt,tag:W,description:G}),s||(Y.description=G),Y},Me=function(G,Y,et){G===Dt&&Me(Qt,Y,et),T(G);var st=p(Y);return T(et),i(Jt,st)?(et.enumerable?(i(G,at)&&G[at][st]&&(G[at][st]=!1),et=m(et,{enumerable:x(0,!1)})):(i(G,at)||Lt(G,at,x(1,{})),G[at][st]=!0),je(G,st,et)):Lt(G,st,et)},Le=function(G,Y){T(G);var et=h(Y),st=E(et).concat(pe(et));return z(st,function(Rt){(!s||Ce.call(et,Rt))&&Me(G,Rt,et[Rt])}),G},Ce=function(G){var Y=p(G),et=xe.call(this,Y);return!(this===Dt&&i(Jt,Y)&&!i(Qt,Y))&&(!(et||!i(this,Y)||!i(Jt,Y)||i(this,at)&&this[at][Y])||et)},Ke=function(G,Y){var et=h(G),st=p(Y);if(et!==Dt||!i(Jt,st)||i(Qt,st)){var Rt=fe(et,st);return Rt&&i(Jt,st)&&!(i(et,at)&&et[at][st])&&(Rt.enumerable=!0),Rt}},me=function(G){var Y=he(h(G)),et=[];return z(Y,function(st){!i(Jt,st)&&!i(J,st)&&et.push(st)}),et},pe=function(G){var Y=G===Dt,et=he(Y?Qt:h(G)),st=[];return z(et,function(Rt){i(Jt,Rt)&&(!Y||i(Dt,Rt))&&st.push(Jt[Rt])}),st};u||(K((Ot=function(){if(this instanceof Ot)throw TypeError("Symbol is not a constructor");var G=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,Y=Z(G),et=function(st){this===Dt&&et.call(Qt,st),i(this,at)&&i(this[at],Y)&&(this[at][Y]=!1),je(this,Y,x(1,st))};return s&&ce&&je(Dt,Y,{configurable:!0,set:et}),Se(Y,G)})[ft],"toString",function(){return zt(this).tag}),K(Ot,"withoutSetter",function(W){return Se(Z(W),W)}),M.f=Ce,I.f=Me,D.f=Ke,O.f=y.f=me,S.f=pe,A.f=function(W){return Se(F(W),W)},s&&(Lt(Ot[ft],"description",{configurable:!0,get:function(){return zt(this).description}}),a||K(Dt,"propertyIsEnumerable",Ce,{unsafe:!0}))),e({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Ot}),z(E(ge),function(W){B(W)}),e({target:Pt,stat:!0,forced:!u},{for:function(W){var G=d(W);if(i(ae,G))return ae[G];var Y=Ot(G);return ae[G]=Y,le[Y]=G,Y},keyFor:function(G){if(!g(G))throw TypeError(G+" is not a symbol");if(i(le,G))return le[G]},useSetter:function(){ce=!0},useSimple:function(){ce=!1}}),e({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(G,Y){return void 0===Y?m(G):Le(m(G),Y)},defineProperty:Me,defineProperties:Le,getOwnPropertyDescriptor:Ke}),e({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:me,getOwnPropertySymbols:pe}),e({target:"Object",stat:!0,forced:f(function(){S.f(1)})},{getOwnPropertySymbols:function(G){return S.f(P(G))}}),kt&&e({target:"JSON",stat:!0,forced:!u||f(function(){var W=Ot();return"[null]"!=kt([W])||"{}"!=kt({a:W})||"{}"!=kt(Object(W))})},{stringify:function(G,Y,et){for(var ee,st=[G],Rt=1;arguments.length>Rt;)st.push(arguments[Rt++]);if(ee=Y,(v(Y)||void 0!==G)&&!g(G))return l(Y)||(Y=function(Bt,ve){if("function"==typeof ee&&(ve=ee.call(this,Bt,ve)),!g(ve))return ve}),st[1]=Y,kt.apply(null,st)}}),Ot[ft][St]||C(Ot[ft],St,Ot[ft].valueOf),H(Ot,Pt),J[at]=!0},18439:function(o,c,t){t(47949)("matchAll")},50608:function(o,c,t){t(47949)("match")},17683:function(o,c,t){t(47949)("replace")},45463:function(o,c,t){t(47949)("search")},32070:function(o,c,t){t(47949)("species")},22676:function(o,c,t){t(47949)("split")},34823:function(o,c,t){t(47949)("toPrimitive")},59134:function(o,c,t){t(47949)("toStringTag")},11622:function(o,c,t){t(47949)("unscopables")},39142:function(o,c,t){"use strict";var g,e=t(30357),r=t(96475),n=t(77483),a=t(58545),s=t(22903),u=t(5053),f=t(59796).enforce,i=t(7013),l=!e.ActiveXObject&&"ActiveXObject"in e,v=Object.isExtensible,T=function(E){return function(){return E(this,arguments.length?arguments[0]:void 0)}},P=o.exports=a("WeakMap",T,s);if(i&&l){g=s.getConstructor(T,"WeakMap",!0),n.enable();var h=P.prototype,p=h.delete,d=h.has,x=h.get,m=h.set;r(h,{delete:function(E){if(u(E)&&!v(E)){var O=f(this);return O.frozen||(O.frozen=new g),p.call(this,E)||O.frozen.delete(E)}return p.call(this,E)},has:function(O){if(u(O)&&!v(O)){var y=f(this);return y.frozen||(y.frozen=new g),d.call(this,O)||y.frozen.has(O)}return d.call(this,O)},get:function(O){if(u(O)&&!v(O)){var y=f(this);return y.frozen||(y.frozen=new g),d.call(this,O)?x.call(this,O):y.frozen.get(O)}return x.call(this,O)},set:function(O,y){if(u(O)&&!v(O)){var S=f(this);S.frozen||(S.frozen=new g),d.call(this,O)?m.call(this,O,y):S.frozen.set(O,y)}else m.call(this,O,y);return this}})}},9364:function(o,c,t){var e=t(30357),r=t(57793),n=t(64274),a=t(35384);for(var s in r){var u=e[s],f=u&&u.prototype;if(f&&f.forEach!==n)try{a(f,"forEach",n)}catch(i){f.forEach=n}}},15302:function(o,c,t){var e=t(30357),r=t(57793),n=t(11361),a=t(35384),s=t(12871),u=s("iterator"),f=s("toStringTag"),i=n.values;for(var l in r){var v=e[l],g=v&&v.prototype;if(g){if(g[u]!==i)try{a(g,u,i)}catch(P){g[u]=i}if(g[f]||a(g,f,l),r[l])for(var T in n)if(g[T]!==n[T])try{a(g,T,n[T])}catch(P){g[T]=n[T]}}}},80795:function(o){o.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=n.length?{done:!0}:{done:!1,value:n[u++]}},e:function(T){throw T},f:f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var v,i=!0,l=!1;return{s:function(){s=s.call(n)},n:function(){var T=s.next();return i=T.done,T},e:function(T){l=!0,v=T},f:function(){try{!i&&null!=s.return&&s.return()}finally{if(l)throw v}}}},o.exports.default=o.exports,o.exports.__esModule=!0},34466:function(o,c,t){var e=t(80795);o.exports=function(n,a){if(n){if("string"==typeof n)return e(n,a);var s=Object.prototype.toString.call(n).slice(8,-1);if("Object"===s&&n.constructor&&(s=n.constructor.name),"Map"===s||"Set"===s)return Array.from(n);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return e(n,a)}},o.exports.default=o.exports,o.exports.__esModule=!0},24965:function(o,c,t){t(55270),t(74848),t(13637),t(52275),t(42430),t(20580),t(76781),t(98701),t(91993),t(21207)},41740:function(o){o.exports=function(c){if("function"!=typeof c)throw TypeError(c+" is not a function!");return c}},11516:function(o){o.exports=function(c,t,e,r){if(!(c instanceof t)||void 0!==r&&r in c)throw TypeError(e+": incorrect invocation!");return c}},54539:function(o,c,t){var e=t(98378);o.exports=function(r){if(!e(r))throw TypeError(r+" is not an object!");return r}},6409:function(o,c,t){var e=t(99857);o.exports=function(r,n){var a=[];return e(r,!1,a.push,a,n),a}},56620:function(o,c,t){var e=t(91501),r=t(64249),n=t(60757);o.exports=function(a){return function(s,u,f){var g,i=e(s),l=r(i.length),v=n(f,l);if(a&&u!=u){for(;l>v;)if((g=i[v++])!=g)return!0}else for(;l>v;v++)if((a||v in i)&&i[v]===u)return a||v||0;return!a&&-1}}},36161:function(o,c,t){var e=t(35532),r=t(36813),n=t(67533),a=t(64249),s=t(39222);o.exports=function(u,f){var i=1==u,l=2==u,v=3==u,g=4==u,T=6==u,P=5==u||T,h=f||s;return function(p,d,x){for(var I,M,m=n(p),E=r(m),O=e(d,x,3),y=a(E.length),S=0,D=i?h(p,y):l?h(p,0):void 0;y>S;S++)if((P||S in E)&&(M=O(I=E[S],S,m),u))if(i)D[S]=M;else if(M)switch(u){case 3:return!0;case 5:return I;case 6:return S;case 2:D.push(I)}else if(g)return!1;return T?-1:v||g?g:D}}},21773:function(o,c,t){var e=t(98378),r=t(78951),n=t(21906)("species");o.exports=function(a){var s;return r(a)&&("function"==typeof(s=a.constructor)&&(s===Array||r(s.prototype))&&(s=void 0),e(s)&&null===(s=s[n])&&(s=void 0)),void 0===s?Array:s}},39222:function(o,c,t){var e=t(21773);o.exports=function(r,n){return new(e(r))(n)}},61320:function(o,c,t){var e=t(92377),r=t(21906)("toStringTag"),n="Arguments"==e(function(){return arguments}());o.exports=function(s){var u,f,i;return void 0===s?"Undefined":null===s?"Null":"string"==typeof(f=function(s,u){try{return s[u]}catch(f){}}(u=Object(s),r))?f:n?e(u):"Object"==(i=e(u))&&"function"==typeof u.callee?"Arguments":i}},92377:function(o){var c={}.toString;o.exports=function(t){return c.call(t).slice(8,-1)}},39584:function(o,c,t){"use strict";var e=t(19026).f,r=t(10493),n=t(96399),a=t(35532),s=t(11516),u=t(99857),f=t(19136),i=t(54177),l=t(82830),v=t(31393),g=t(94433).fastKey,T=t(50593),P=v?"_s":"size",h=function(p,d){var m,x=g(d);if("F"!==x)return p._i[x];for(m=p._f;m;m=m.n)if(m.k==d)return m};o.exports={getConstructor:function(p,d,x,m){var E=p(function(O,y){s(O,E,d,"_i"),O._t=d,O._i=r(null),O._f=void 0,O._l=void 0,O[P]=0,null!=y&&u(y,x,O[m],O)});return n(E.prototype,{clear:function(){for(var y=T(this,d),S=y._i,D=y._f;D;D=D.n)D.r=!0,D.p&&(D.p=D.p.n=void 0),delete S[D.i];y._f=y._l=void 0,y[P]=0},delete:function(O){var y=T(this,d),S=h(y,O);if(S){var D=S.n,I=S.p;delete y._i[S.i],S.r=!0,I&&(I.n=D),D&&(D.p=I),y._f==S&&(y._f=D),y._l==S&&(y._l=I),y[P]--}return!!S},forEach:function(y){T(this,d);for(var D,S=a(y,arguments.length>1?arguments[1]:void 0,3);D=D?D.n:this._f;)for(S(D.v,D.k,this);D&&D.r;)D=D.p},has:function(y){return!!h(T(this,d),y)}}),v&&e(E.prototype,"size",{get:function(){return T(this,d)[P]}}),E},def:function(p,d,x){var E,O,m=h(p,d);return m?m.v=x:(p._l=m={i:O=g(d,!0),k:d,v:x,p:E=p._l,n:void 0,r:!1},p._f||(p._f=m),E&&(E.n=m),p[P]++,"F"!==O&&(p._i[O]=m)),p},getEntry:h,setStrong:function(p,d,x){f(p,d,function(m,E){this._t=T(m,d),this._k=E,this._l=void 0},function(){for(var m=this,E=m._k,O=m._l;O&&O.r;)O=O.p;return m._t&&(m._l=O=O?O.n:m._t._f)?i(0,"keys"==E?O.k:"values"==E?O.v:[O.k,O.v]):(m._t=void 0,i(1))},x?"entries":"values",!x,!0),l(d)}}},95561:function(o,c,t){"use strict";var e=t(96399),r=t(94433).getWeak,n=t(54539),a=t(98378),s=t(11516),u=t(99857),f=t(36161),i=t(92454),l=t(50593),v=f(5),g=f(6),T=0,P=function(d){return d._l||(d._l=new h)},h=function(){this.a=[]},p=function(d,x){return v(d.a,function(m){return m[0]===x})};h.prototype={get:function(d){var x=p(this,d);if(x)return x[1]},has:function(d){return!!p(this,d)},set:function(d,x){var m=p(this,d);m?m[1]=x:this.a.push([d,x])},delete:function(d){var x=g(this.a,function(m){return m[0]===d});return~x&&this.a.splice(x,1),!!~x}},o.exports={getConstructor:function(d,x,m,E){var O=d(function(y,S){s(y,O,x,"_i"),y._t=x,y._i=T++,y._l=void 0,null!=S&&u(S,m,y[E],y)});return e(O.prototype,{delete:function(y){if(!a(y))return!1;var S=r(y);return!0===S?P(l(this,x)).delete(y):S&&i(S,this._i)&&delete S[this._i]},has:function(S){if(!a(S))return!1;var D=r(S);return!0===D?P(l(this,x)).has(S):D&&i(D,this._i)}}),O},def:function(d,x,m){var E=r(n(x),!0);return!0===E?P(d).set(x,m):E[d._i]=m,d},ufstore:P}},45824:function(o,c,t){"use strict";var e=t(41735),r=t(14976),n=t(63733),a=t(96399),s=t(94433),u=t(99857),f=t(11516),i=t(98378),l=t(44510),v=t(86449),g=t(36409),T=t(3902);o.exports=function(P,h,p,d,x,m){var E=e[P],O=E,y=x?"set":"add",S=O&&O.prototype,D={},I=function(J){var Z=S[J];n(S,J,"delete"==J?function(F){return!(m&&!i(F))&&Z.call(this,0===F?0:F)}:"has"==J?function(A){return!(m&&!i(A))&&Z.call(this,0===A?0:A)}:"get"==J?function(A){return m&&!i(A)?void 0:Z.call(this,0===A?0:A)}:"add"==J?function(A){return Z.call(this,0===A?0:A),this}:function(A,B){return Z.call(this,0===A?0:A,B),this})};if("function"==typeof O&&(m||S.forEach&&!l(function(){(new O).entries().next()}))){var M=new O,C=M[y](m?{}:-0,1)!=M,K=l(function(){M.has(1)}),V=v(function(J){new O(J)}),ot=!m&&l(function(){for(var J=new O,Z=5;Z--;)J[y](Z,Z);return!J.has(-0)});V||((O=h(function(J,Z){f(J,O,P);var F=T(new E,J,O);return null!=Z&&u(Z,x,F[y],F),F})).prototype=S,S.constructor=O),(K||ot)&&(I("delete"),I("has"),x&&I("get")),(ot||C)&&I(y),m&&S.clear&&delete S.clear}else O=d.getConstructor(h,P,x,y),a(O.prototype,p),s.NEED=!0;return g(O,P),D[P]=O,r(r.G+r.W+r.F*(O!=E),D),m||d.setStrong(O,P,x),O}},21207:function(o){var c=o.exports={version:"2.5.7"};"number"==typeof __e&&(__e=c)},35532:function(o,c,t){var e=t(41740);o.exports=function(r,n,a){if(e(r),void 0===n)return r;switch(a){case 1:return function(s){return r.call(n,s)};case 2:return function(s,u){return r.call(n,s,u)};case 3:return function(s,u,f){return r.call(n,s,u,f)}}return function(){return r.apply(n,arguments)}}},22665:function(o){o.exports=function(c){if(null==c)throw TypeError("Can't call method on "+c);return c}},31393:function(o,c,t){o.exports=!t(44510)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},57967:function(o,c,t){var e=t(98378),r=t(41735).document,n=e(r)&&e(r.createElement);o.exports=function(a){return n?r.createElement(a):{}}},7199:function(o){o.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},14976:function(o,c,t){var e=t(41735),r=t(21207),n=t(73933),a=t(63733),s=t(35532),u="prototype",f=function(i,l,v){var E,O,y,S,g=i&f.F,T=i&f.G,h=i&f.P,p=i&f.B,d=T?e:i&f.S?e[l]||(e[l]={}):(e[l]||{})[u],x=T?r:r[l]||(r[l]={}),m=x[u]||(x[u]={});for(E in T&&(v=l),v)y=((O=!g&&d&&void 0!==d[E])?d:v)[E],S=p&&O?s(y,e):h&&"function"==typeof y?s(Function.call,y):y,d&&a(d,E,y,i&f.U),x[E]!=y&&n(x,E,S),h&&m[E]!=y&&(m[E]=y)};e.core=r,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,o.exports=f},44510:function(o){o.exports=function(c){try{return!!c()}catch(t){return!0}}},99857:function(o,c,t){var e=t(35532),r=t(86614),n=t(15277),a=t(54539),s=t(64249),u=t(60618),f={},i={},l=o.exports=function(v,g,T,P,h){var m,E,O,y,p=h?function(){return v}:u(v),d=e(T,P,g?2:1),x=0;if("function"!=typeof p)throw TypeError(v+" is not iterable!");if(n(p)){for(m=s(v.length);m>x;x++)if((y=g?d(a(E=v[x])[0],E[1]):d(v[x]))===f||y===i)return y}else for(O=p.call(v);!(E=O.next()).done;)if((y=r(O,d,E.value,g))===f||y===i)return y};l.BREAK=f,l.RETURN=i},41735:function(o){var c=o.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=c)},92454:function(o){var c={}.hasOwnProperty;o.exports=function(t,e){return c.call(t,e)}},73933:function(o,c,t){var e=t(19026),r=t(57229);o.exports=t(31393)?function(n,a,s){return e.f(n,a,r(1,s))}:function(n,a,s){return n[a]=s,n}},61686:function(o,c,t){var e=t(41735).document;o.exports=e&&e.documentElement},42588:function(o,c,t){o.exports=!t(31393)&&!t(44510)(function(){return 7!=Object.defineProperty(t(57967)("div"),"a",{get:function(){return 7}}).a})},3902:function(o,c,t){var e=t(98378),r=t(31789).set;o.exports=function(n,a,s){var f,u=a.constructor;return u!==s&&"function"==typeof u&&(f=u.prototype)!==s.prototype&&e(f)&&r&&r(n,f),n}},36813:function(o,c,t){var e=t(92377);o.exports=Object("z").propertyIsEnumerable(0)?Object:function(r){return"String"==e(r)?r.split(""):Object(r)}},15277:function(o,c,t){var e=t(50457),r=t(21906)("iterator"),n=Array.prototype;o.exports=function(a){return void 0!==a&&(e.Array===a||n[r]===a)}},78951:function(o,c,t){var e=t(92377);o.exports=Array.isArray||function(n){return"Array"==e(n)}},98378:function(o){o.exports=function(c){return"object"==typeof c?null!==c:"function"==typeof c}},86614:function(o,c,t){var e=t(54539);o.exports=function(r,n,a,s){try{return s?n(e(a)[0],a[1]):n(a)}catch(f){var u=r.return;throw void 0!==u&&e(u.call(r)),f}}},5857:function(o,c,t){"use strict";var e=t(10493),r=t(57229),n=t(36409),a={};t(73933)(a,t(21906)("iterator"),function(){return this}),o.exports=function(s,u,f){s.prototype=e(a,{next:r(1,f)}),n(s,u+" Iterator")}},19136:function(o,c,t){"use strict";var e=t(58185),r=t(14976),n=t(63733),a=t(73933),s=t(50457),u=t(5857),f=t(36409),i=t(3141),l=t(21906)("iterator"),v=!([].keys&&"next"in[].keys()),T="keys",P="values",h=function(){return this};o.exports=function(p,d,x,m,E,O,y){u(x,d,m);var Z,F,A,S=function(B){if(!v&&B in C)return C[B];switch(B){case T:case P:return function(){return new x(this,B)}}return function(){return new x(this,B)}},D=d+" Iterator",I=E==P,M=!1,C=p.prototype,K=C[l]||C["@@iterator"]||E&&C[E],V=K||S(E),ot=E?I?S("entries"):V:void 0,J="Array"==d&&C.entries||K;if(J&&(A=i(J.call(new p)))!==Object.prototype&&A.next&&(f(A,D,!0),!e&&"function"!=typeof A[l]&&a(A,l,h)),I&&K&&K.name!==P&&(M=!0,V=function(){return K.call(this)}),(!e||y)&&(v||M||!C[l])&&a(C,l,V),s[d]=V,s[D]=h,E)if(Z={values:I?V:S(P),keys:O?V:S(T),entries:ot},y)for(F in Z)F in C||n(C,F,Z[F]);else r(r.P+r.F*(v||M),d,Z);return Z}},86449:function(o,c,t){var e=t(21906)("iterator"),r=!1;try{var n=[7][e]();n.return=function(){r=!0},Array.from(n,function(){throw 2})}catch(a){}o.exports=function(a,s){if(!s&&!r)return!1;var u=!1;try{var f=[7],i=f[e]();i.next=function(){return{done:u=!0}},f[e]=function(){return i},a(f)}catch(l){}return u}},54177:function(o){o.exports=function(c,t){return{value:t,done:!!c}}},50457:function(o){o.exports={}},58185:function(o){o.exports=!1},94433:function(o,c,t){var e=t(83837)("meta"),r=t(98378),n=t(92454),a=t(19026).f,s=0,u=Object.isExtensible||function(){return!0},f=!t(44510)(function(){return u(Object.preventExtensions({}))}),i=function(P){a(P,e,{value:{i:"O"+ ++s,w:{}}})},T=o.exports={KEY:e,NEED:!1,fastKey:function(P,h){if(!r(P))return"symbol"==typeof P?P:("string"==typeof P?"S":"P")+P;if(!n(P,e)){if(!u(P))return"F";if(!h)return"E";i(P)}return P[e].i},getWeak:function(P,h){if(!n(P,e)){if(!u(P))return!0;if(!h)return!1;i(P)}return P[e].w},onFreeze:function(P){return f&&T.NEED&&u(P)&&!n(P,e)&&i(P),P}}},14238:function(o,c,t){var e=t(47672),r=t(14976),n=t(12053)("metadata"),a=n.store||(n.store=new(t(73076))),s=function(T,P,h){var p=a.get(T);if(!p){if(!h)return;a.set(T,p=new e)}var d=p.get(P);if(!d){if(!h)return;p.set(P,d=new e)}return d};o.exports={store:a,map:s,has:function(T,P,h){var p=s(P,h,!1);return void 0!==p&&p.has(T)},get:function(T,P,h){var p=s(P,h,!1);return void 0===p?void 0:p.get(T)},set:function(T,P,h,p){s(h,p,!0).set(T,P)},keys:function(T,P){var h=s(T,P,!1),p=[];return h&&h.forEach(function(d,x){p.push(x)}),p},key:function(T){return void 0===T||"symbol"==typeof T?T:String(T)},exp:function(T){r(r.S,"Reflect",T)}}},55269:function(o,c,t){"use strict";var e=t(46523),r=t(69194),n=t(62239),a=t(67533),s=t(36813),u=Object.assign;o.exports=!u||t(44510)(function(){var f={},i={},l=Symbol(),v="abcdefghijklmnopqrst";return f[l]=7,v.split("").forEach(function(g){i[g]=g}),7!=u({},f)[l]||Object.keys(u({},i)).join("")!=v})?function(i,l){for(var v=a(i),g=arguments.length,T=1,P=r.f,h=n.f;g>T;)for(var E,p=s(arguments[T++]),d=P?e(p).concat(P(p)):e(p),x=d.length,m=0;x>m;)h.call(p,E=d[m++])&&(v[E]=p[E]);return v}:u},10493:function(o,c,t){var e=t(54539),r=t(21128),n=t(7199),a=t(72522)("IE_PROTO"),s=function(){},u="prototype",f=function(){var T,i=t(57967)("iframe"),l=n.length;for(i.style.display="none",t(61686).appendChild(i),i.src="javascript:",(T=i.contentWindow.document).open(),T.write(" + + + + + + + + + + + + + + + diff --git a/scripts/mac_installer/Entitlements.plist b/scripts/mac_installer/Entitlements.plist new file mode 100644 index 000000000..6985f5abe --- /dev/null +++ b/scripts/mac_installer/Entitlements.plist @@ -0,0 +1,8 @@ + + + + + com.apple.vm.networking + + + diff --git a/scripts/mac_installer/create_installer.sh b/scripts/mac_installer/create_installer.sh new file mode 100755 index 000000000..ec568ebab --- /dev/null +++ b/scripts/mac_installer/create_installer.sh @@ -0,0 +1,203 @@ +#!/usr/bin/env bash + +# variables +mac_script_dir="./scripts/mac_installer" +installer_build_dir="./mac_build" +installer_package_dir="${installer_build_dir}"/binaries/Skywire.app +git_tag=$(git describe --tags) +date_format=$(date -u "+%Y-%m-%d") +go_arch=$(go env GOARCH) # build for amd64 and arm64 from single host +sign_binary=false +notarize_binary=false +staple_notarization=false +package_path= +developer_id= +output= + +greent='\033[0;32m' +yellowt='\033[0;33m' +nct='\033[0m' # No Color + +# Has to be run from MacOS Host +current_os="$(uname -s)" +if [[ "$current_os" != "Darwin" ]]; then + echo "Can only be run from MacOS Host" + exit 1 +fi + +function print_usage() { + echo "Usage: sh create_installer.sh [-o|--output output_skywire_dir] [-s | --sign signs the binary] [-n | --notarize notarize the binary ] [-t | --staple ]" + echo "You need to provide the following environment variables if you want to sign and notarize the binary:" + echo -e "${greent}MAC_HASH_APPLICATION_ID${nct}: Hash of Developer ID Application" + echo -e "${greent}MAC_HASH_INSTALLER_ID${nct} : Hash of Developer ID Installer" + echo -e "${greent}MAC_DEVELOPER_USERNAME${nct} : Developer Account Email" + echo -e "${greent}MAC_DEVELOPER_PASSWORD${nct} : Application specific / Apple ID password ${yellowt}https://support.apple.com/en-us/HT204397${nct}" +} + +function staple_installer() { + if [ -z "$package_path" ]; then + echo "package_path of option -t cannot be empty" + fi + xcrun stapler staple "${package_path}" +} + +function build_installer() { + set -euo pipefail + + if [ -z "$output" ]; then + output="${PWD}/" + echo "No output flag provided, storing installer to the current directory: ${output}" + else + # shellcheck disable=SC2039 + if [ "${output:(-1)}" != "/" ]; then + output="${output}/" + fi + + echo "Storing installer to ${output}" + fi + + # build skywire binariea + make CGO_ENABLED=1 GOOS=darwin GOARCH="${go_arch}" build-systray + + if [ -d ${installer_build_dir}/binaries/Skywire.app ]; then + rm -rf ${installer_build_dir}/binaries/Skywire.app + fi + + # Create directories + mkdir -p ${installer_build_dir}/binaries/Skywire.app + mkdir -p ${installer_package_dir}/Contents/{Resources,MacOS/apps} + + # build deinstaller + go build -o ${installer_package_dir}/Contents/MacOS/deinstaller ${mac_script_dir}/desktop-deinstaller + + # prepare Distribution.xml + cp ${mac_script_dir}/Distribution.xml ${installer_build_dir}/ + + # modify version info + cp ${mac_script_dir}/AppInfo.plist.tmpl ${installer_package_dir}/Contents/Info.plist + perl -i -pe "s/{{BundleVersion}}/${git_tag}/g" ${installer_package_dir}/Contents/Info.plist + cp ${mac_script_dir}/Entitlements.plist ${installer_build_dir}/entitlements.plist + + cp ${mac_script_dir}/icon.icns ${installer_package_dir}/Contents/Resources/icon.icns + mv ./skywire-visor ${installer_package_dir}/Contents/MacOS/skywire-visor + mv ./skywire-cli ${installer_package_dir}/Contents/MacOS/skywire-cli + mv ./apps/vpn-client ${installer_package_dir}/Contents/MacOS/apps/vpn-client + + cat <${installer_package_dir}/Contents/MacOS/Skywire +#!/bin/bash + +osascript -e "do shell script \"/Applications/Skywire.app/Contents/MacOS/skywire-visor --systray > /Users/\${USER}/Library/Logs/skywire/visor.log\" with administrator privileges" + +EOF + + chmod +x ${installer_package_dir}/Contents/MacOS/Skywire + + # https://stackoverflow.com/a/21210966 + if [ "$sign_binary" == true ]; then + echo "signing the binary using codesign" + + if [ -z "$MAC_HASH_APPLICATION_ID" ]; then + echo -e "${yellowt}environment MAC_HASH_APPLICATION_ID has to be set before you sign the binary${nct}" + exit 1 + fi + # --entitlements "${installer_build_dir}"/entitlements.plist + codesign --verbose --deep --force --options=runtime --sign "$MAC_HASH_APPLICATION_ID" --timestamp "$installer_package_dir" + fi + + # prepare install scripts + mkdir -p ${installer_build_dir}/{install,update,remove}_scripts + cp -Rv ${mac_script_dir}/install_scripts/* ${installer_build_dir}/install_scripts/ + cp -Rv ${mac_script_dir}/update_scripts/* ${installer_build_dir}/update_scripts/ + cp -Rv ${mac_script_dir}/remove_scripts/* ${installer_build_dir}/remove_scripts/ + + # build installer + pkgbuild --root ${installer_build_dir}/binaries --identifier com.skycoin.skywire.visor --install-location /Applications/ --scripts ${installer_build_dir}/install_scripts ${installer_build_dir}/installer.pkg + pkgbuild --root ${installer_build_dir}/binaries --identifier com.skycoin.skywire.updater --install-location /Applications/ --scripts ${installer_build_dir}/update_scripts ${installer_build_dir}/updater.pkg + pkgbuild --nopayload --identifier com.skycoin.skywire.remover --scripts ${installer_build_dir}/remove_scripts ${installer_build_dir}/remover.pkg + + package_name=SkywireInstaller-${git_tag}-${date_format}-${go_arch}.pkg + + cp ${mac_script_dir}/Distribution_customized.xml ${installer_build_dir}/Distribution.xml + + if [ "$sign_binary" == true ] && [ ! -z ${MAC_HASH_INSTALLER_ID+x} ]; then + productbuild --sign "$MAC_HASH_INSTALLER_ID" --distribution ${installer_build_dir}/Distribution.xml --package-path ${installer_build_dir} "${output}""${package_name}" + else + productbuild --distribution ${installer_build_dir}/Distribution.xml --package-path ${installer_build_dir} "${output}""${package_name}" + fi + + cd "${output}" + + if [ "$notarize_binary" == true ]; then + if [ -z "$MAC_DEVELOPER_USERNAME" ] || [ -z "$MAC_DEVELOPER_PASSWORD" ]; then + echo -e "${yellowt}environment variables: ${greent}MAC_DEVELOPER_USERNAME${nct}${yellowt} and ${greent}MAC_DEVELOPER_PASSWORD${nct}${yellowt} has to be set first before you can notarize the binary." + fi + xcrun altool --notarize-app --primary-bundle-id "com.skycoin.skywire" --username="$MAC_DEVELOPER_USERNAME" --password="$MAC_DEVELOPER_PASSWORD" --file "${output}""${package_name}" && { + echo -e "${greent}check your email for notarization status${nct}" + } + fi +} + +while :; do + case "$1" in + -o | --output) + if [ -n "$2" ]; then + output=$2 + shift + else + printf 'ERROR: "--output" requires a non-empty option argument.\n' >&2 + exit 1 + fi + ;; + --output=?*) + output=${1#*=} + ;; + --output=) + printf 'ERROR: "--output" requires a non-empty option argument.\n' >&2 + exit 1 + ;; + -h | --help) + print_usage + exit 0 + ;; + -s | --sign) + sign_binary=true + shift + ;; + -n | --notarize) + notarize_binary=true + shift + ;; + -t | --staple) + staple_notarization=true + package_path="${2}" + shift + ;; + -?*) + printf 'WARN: Unknown option (ignored): %s\n' "$1" >&2 + ;; + *) + break + ;; + esac + shift +done + +# call build_installer twice, once for the original host architecture +# and one for the other one (x86_64 and arm64 or vice versa) + +if [ "$staple_notarization" == false ]; then + build_installer + + case ${go_arch} in + amd64) + go_arch=arm64 + build_installer + ;; + # arm64) + # go_arch=amd64 + # build_installer + # ;; + esac +else + staple_installer +fi diff --git a/scripts/mac_installer/desktop-deinstaller/deinstaller.go b/scripts/mac_installer/desktop-deinstaller/deinstaller.go new file mode 100644 index 000000000..a23c0f185 --- /dev/null +++ b/scripts/mac_installer/desktop-deinstaller/deinstaller.go @@ -0,0 +1,72 @@ +package main + +import ( + "fmt" + "os" + "path/filepath" + "syscall" + + "github.com/skycoin/skycoin/src/util/logging" + + "github.com/skycoin/skywire/pkg/skyenv" + "github.com/skycoin/skywire/pkg/util/osutil" +) + +var ( + log = logging.MustGetLogger("skywire_deinstaller") +) + +func main() { + if err := uninstall(); err != nil { + log.WithError(err).Errorln("failed to uninstall skywire") + os.Exit(1) + } +} + +func uninstall() error { + const ( + osxServiceIdentifier = "com.skycoin.skywire.visor" + logCleanerServiceIdentifier = "com.skycoin.skywire.logcleaner" + ) + + const logCleanerUninstallScript = ` +launchctl remove ` + logCleanerServiceIdentifier + ` + +rm -rf $HOME/Library/LaunchAgents/` + logCleanerServiceIdentifier + `.plist + +exit 0 +` + + if err := osutil.Run("/bin/bash", "-c", logCleanerUninstallScript); err != nil { + return fmt.Errorf("failed to run uninstall script: %w", err) + } + + uninstallScript := ` +if pgrep vpn-client; then skywire-cli visor stop-app vpn-client; fi +if pgrep skywire; then pkill -f skywire; fi +pkgutil --forget ` + osxServiceIdentifier + ` +pkgutil --forget com.skycoin.skywire.updater +pkgutil --forget com.skycoin.skywire.remover + +rm -rf ` + filepath.Join(skyenv.PackageSkywirePath(), "local") + ` +rm -rf ` + filepath.Join(os.Getenv("HOME"), "Library", "Logs", "skywire") + ` +unlink /usr/local/bin/skywire-cli +rm -rf /Applications/Skywire.app +` + + uid := syscall.Getuid() + + if err := syscall.Setuid(0); err != nil { + return fmt.Errorf("failed to setuid 0: %w", err) + } + + if err := osutil.Run("/bin/bash", "-c", uninstallScript); err != nil { + return fmt.Errorf("failed to remove installation directory: %w", err) + } + + if err := syscall.Setuid(uid); err != nil { + log.WithError(err).Errorln("Failed to revert uid") + } + + return nil +} diff --git a/scripts/mac_installer/icon.icns b/scripts/mac_installer/icon.icns new file mode 100644 index 000000000..c4ad27d7d Binary files /dev/null and b/scripts/mac_installer/icon.icns differ diff --git a/scripts/mac_installer/install_scripts/postinstall b/scripts/mac_installer/install_scripts/postinstall new file mode 100755 index 000000000..737aa872c --- /dev/null +++ b/scripts/mac_installer/install_scripts/postinstall @@ -0,0 +1,52 @@ +#!/usr/bin/env bash + +set -euo pipefail + +skywire_dir=/Users/${USER}/Library/Application\ Support/Skywire +log_dir=/Users/${USER}/Library/Logs/skywire + +mkdir -p "${skywire_dir}" + +if [[ -d ${skywire_dir}/Skywireapp ]]; then + rm -rf "${skywire_dir}"/Skywireapp +fi + +chown -R "${USER}" "$skywire_dir" + +echo "generating skywire config if it doesn't exist" +if [[ ! -f "${skywire_dir}"/skywire-config.json ]]; then + /Applications/Skywire.app/Contents/MacOS/skywire-cli config gen -p -o "${skywire_dir}"/skywire-config.json --is-hypervisor +fi +chown "${USER}" "${skywire_dir}"/skywire-config.json + +echo "generating logcleaner plist" +LOG_CLEANER_PLIST_PATH=/Users/${USER}/Library/LaunchAgents/com.skycoin.skywire.logcleaner.plist +LOG_PATH=${log_dir}/visor.log + +## Log cleaner to truncate logs every hour +cat <"${LOG_CLEANER_PLIST_PATH}" + + + + + Label + com.skycoin.skywire.logcleaner + ProgramArguments + + /bin/bash + -c + echo \"\" > ${LOG_PATH} + + StartInterval + 3600 + + +EOF + +echo "loading logcleaner as service" +chown "${USER}" "${LOG_CLEANER_PLIST_PATH}" + +echo "moving applications to /Applications" +if [[ ! -L /usr/local/bin/skywire-cli ]]; then + ln -s /Applications/Skywire.app/Contents/MacOS/skywire-cli /usr/local/bin/skywire-cli +fi diff --git a/scripts/mac_installer/install_scripts/preinstall b/scripts/mac_installer/install_scripts/preinstall new file mode 100755 index 000000000..7b706c610 --- /dev/null +++ b/scripts/mac_installer/install_scripts/preinstall @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -euo pipefail + +log_dir=/Users/${USER}/Library/Logs/skywire + +mkdir -p /Users/"${USER}"/Library/Application\ Support/Skywire + +if [[ ! -d "${log_dir}" ]]; then + mkdir -p "${log_dir}" + chown -R "${USER}" "${log_dir}" +fi diff --git a/scripts/mac_installer/remove_scripts/postinstall b/scripts/mac_installer/remove_scripts/postinstall new file mode 100755 index 000000000..c54d3fdf0 --- /dev/null +++ b/scripts/mac_installer/remove_scripts/postinstall @@ -0,0 +1,22 @@ +#!/bin/sh + +skywire_dir=/Users/${USER}/Library/Application\ Support/Skywire +log_dir=/Users/${USER}/Library/Logs/skywire + +sudo -u "$USER" launchctl remove com.skycoin.skywire.logcleaner + +pkill -f vpn-client +pkill -f skywire + +rm -rf /Users/"$USER"/Library/LaunchAgents/com.skycoin.skywire.logcleaner.plist +rm -rf "${skywire_dir}"/local +rm -rf "${log_dir}" +unlink /usr/local/bin/skywire-cli + +pkgutil --forget com.skycoin.skywire.visor +pkgutil --forget com.skycoin.skywire.updater +pkgutil --forget com.skycoin.skywire.remover + +rm -rf /Applications/Skywire.app + +exit 0 diff --git a/scripts/mac_installer/update_scripts/postinstall b/scripts/mac_installer/update_scripts/postinstall new file mode 100755 index 000000000..cab29f282 --- /dev/null +++ b/scripts/mac_installer/update_scripts/postinstall @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + +skywire_dir=/Users/${USER}/Library/Application\ Support/Skywire + +set -euo pipefail + +if [[ ! -d "${skywire_dir}" ]]; then + mkdir -p "${skywire_dir}" + chown -R "${USER}" "${skywire_dir}" +fi + +echo "change directory perm" +chown -R "${USER}" "${skywire_dir}" + +echo "reloading logcleaner" +LOG_CLEANER_PLIST_PATH=/Users/${USER}/Library/LaunchAgents/com.skycoin.skywire.logcleaner.plist + +sudo -u "$USER" launchctl load -w "${LOG_CLEANER_PLIST_PATH}" + +if [[ -L /usr/local/bin/skywire-cli ]]; then + unlink /usr/local/bin/skywire-cli +fi + +if [[ ! -f "${skywire_dir}"/skywire-config.json ]]; then + /Applications/Skywireapp/Contents/MacOS/skywire-cli config gen -p -o "${skywire_dir}"/skywire-config.json --is-hypervisor + chown "${USER}" "${skywire_dir}"/skywire-config.json +fi + +echo "updating skywire" +if [[ ! -L /usr/local/bin/skywire-cli ]]; then + ln -s /Applications/Skywire.app/Contents/MacOS/skywire-cli /usr/local/bin/skywire-cli +fi diff --git a/scripts/mac_installer/update_scripts/preinstall b/scripts/mac_installer/update_scripts/preinstall new file mode 100755 index 000000000..91d6b0900 --- /dev/null +++ b/scripts/mac_installer/update_scripts/preinstall @@ -0,0 +1,9 @@ +#!/bin/sh + +sudo -u "$USER" launchctl remove com.skycoin.skywire.logcleaner + +if pgrep vpn-client; then skywire-cli visor stop-app vpn-client; fi + +if pgrep skywire; then pkill -f skywire; fi + +rm -rf /Applications/Skywire.app diff --git a/skywire-runner.Dockerfile b/skywire-runner.Dockerfile deleted file mode 100644 index b22dd75fc..000000000 --- a/skywire-runner.Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM debian:stretch-slim - -RUN apt-get update && apt-get install -y --no-install-recommends \ - ca-certificates \ - curl \ - wget \ - && rm -rf /var/lib/apt/lists/* diff --git a/static/skywire-manager-src/README.md b/static/skywire-manager-src/README.md index cf1a4b747..bacf2d477 100644 --- a/static/skywire-manager-src/README.md +++ b/static/skywire-manager-src/README.md @@ -1,6 +1,7 @@ -# Skywire Manager +# Skywire Manager and VPN client Frontend application that allows to manage a group of Skywire visors through a Hypervisor instance. +It also includes the front-end of the Skywire VPN desktop client. ## Prerequisites @@ -26,12 +27,12 @@ The Hypervisor instance must be running in `http://127.0.0.1:8000`. If it is run If the hypervisor instance is running with TLS active (check the hypervisor configuration file) Run `npm run start` to start a dev server. If you followed the steps indicated in the [ssl folder](./ssl/README.md), the server will use your custom SSL -certificate. If not, the server will use an automatically created one. Alternatively, If the hypervisor instance is running +certificate. If not, the server will use an automatically created one. Alternatively, if the hypervisor instance is running without TLS, you can start the dev server by running `npm run start-no-ssl`. After starting the server with `npm run start`, you can access the app by navigating to `https://localhost:4200` with a web -browser (note that you could get a security warning if the SSL certificate is not in the trusted certificates list). Yo can use -`https://localhost:4200` if you started the dev server with `npm run start-no-ssl`. The app will be automatically reloaded if you +browser (note that you could get a security warning if the SSL certificate is not in the trusted certificates list). You can use +`http://localhost:4200` if you started the dev server with `npm run start-no-ssl`. The app will be automatically reloaded if you change any of the source files. ## Build @@ -41,3 +42,7 @@ Run `make build-ui` in the top directory of this repo to rebuild the UI. The bui ## 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). + +## VPN client + +The VPN client forms part of the app. For opening it, just use the `{SkywireManagerUrl}/#/vpn/{VisorPublicKey}` URL. diff --git a/static/skywire-manager-src/angular.json b/static/skywire-manager-src/angular.json index 15d4ac1df..402bfb93a 100644 --- a/static/skywire-manager-src/angular.json +++ b/static/skywire-manager-src/angular.json @@ -17,7 +17,6 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { - "aot": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", @@ -41,14 +40,20 @@ "allowedCommonJsDependencies": [ "bignumber.js", "chart.js" - ] + ], + "vendorChunk": true, + "extractLicenses": false, + "buildOptimizer": false, + "sourceMap": true, + "optimization": false, + "namedChunks": true }, "configurations": { "production": { "budgets": [ { "type": "anyComponentStyle", - "maximumWarning": "6kb" + "maximumWarning": "10kb" } ], "fileReplacements": [ @@ -60,14 +65,13 @@ "optimization": true, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, - "aot": true, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true } - } + }, + "defaultConfiguration": "" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", diff --git a/static/skywire-manager-src/dist/5.c827112cf0298fe67479.js b/static/skywire-manager-src/dist/5.c827112cf0298fe67479.js deleted file mode 100644 index 44ee210b5..000000000 --- a/static/skywire-manager-src/dist/5.c827112cf0298fe67479.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"K+GZ":function(e){e.exports=JSON.parse('{"common":{"save":"Speichern","edit":"\xc4ndern","cancel":"Abbrechen","node-key":"Visor Schl\xfcssel","app-key":"Anwendungs-Schl\xfcssel","discovery":"Discovery","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","delete":"L\xf6schen","none":"Nichts","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden."},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","ascending-order":"(aufsteigend)","descending-order":"(absteigend)"},"inputs":{"errors":{"key-required":"Schl\xfcssel wird ben\xf6tigt.","key-length":"Schl\xfcssel muss 66 Zeichen lang sein."}},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","port":"Port:","node-version":"Visor Version:","app-protocol-version":"Anwendungsprotokollversion:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","state":"Status","label":"Bezeichnung","key":"Schl\xfcssel","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","deleted":"Visor gel\xf6scht."},"edit-label":{"title":"Bezeichnung \xe4ndern","label":"Bezeichnung","done":"Bezeichnung gespeichert.","default-label-warning":"Die Standardbezeichnung wurde verwendet."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"config":{"title":"Discovery Konfiguration","header":"Discovery Addresse","remove":"Addresse entfernen","add":"Addresse hinzuf\xfcgen","cant-store":"Konfiguration kann nicht gespeichert werden.","success":"Discovery Konfiguration wird durch Neustart angewendet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."},"update":{"title":"Update","processing":"Suche nach Updates...","processing-button":"Bitte warten","no-update":"Kein Update vorhanden.
      Installierte Version: {{ version }}.","update-available":"Es ist ein Update m\xf6glich.
      Installierte Version: {{ currentVersion }}
      Neue Version: {{ newVersion }}.","done":"Ein Update f\xfcr den Visor wird installiert.","update-error":"Update konnte nicht installiert werden.","install":"Update installieren"}},"apps":{"socksc":{"title":"Mit Visor verbinden","connect-keypair":"Schl\xfcsselpaar eingeben","connect-search":"Visor suchen","connect-history":"Verlauf","versions":"Versionen","location":"Standort","connect":"Verbinden","next-page":"N\xe4chste Seite","prev-page":"Vorherige Seite","auto-startup":"Automatisch mit Visor verbinden"},"sshc":{"title":"SSH Client","connect":"Verbinde mit SSH Server","auto-startup":"Starte SSH client automatisch","connect-keypair":"Schl\xfcsselpaar eingeben","connect-history":"Verlauf"},"sshs":{"title":"SSH-Server","whitelist":{"title":"SSH-Server Whitelist","header":"Schl\xfcssel","add":"Zu Liste hinzuf\xfcgen","remove":"Schl\xfcssel entfernen","enter-key":"Node Schl\xfcssel eingeben","errors":{"cant-save":"\xc4nderungen an der Whitelist konnten nicht gespeichert werden."},"saved-correctly":"\xc4nderungen an der Whitelist gespeichert"},"auto-startup":"Starte SSH-Server automatisch"},"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"config":{"title":"Startup Konfiguration"},"menu":{"startup-config":"Startup Konfiguration","log":"Log Nachrichten","whitelist":"Whitelist"},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","status":"Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein"},"skysocks-settings":{"title":"Skysocks Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"skysocks-client-settings":{"title":"Skysocks-Client Einstellungen","remote-visor-tab":"Remote Visor","history-tab":"Verlauf","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des Remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden."},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","list-title":"Transport-Liste","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","details":{"title":"Details","basic":{"title":"Basis Info","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","transport-type":"Transport-Typ","success":"Transport erstellt.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}}},"routes":{"title":"Routen","list-title":"Routen-Liste","key":"Schl\xfcssel","rule":"Regel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/6.ca7f5530547226bc4317.js b/static/skywire-manager-src/dist/6.ca7f5530547226bc4317.js deleted file mode 100644 index 07e048dde..000000000 --- a/static/skywire-manager-src/dist/6.ca7f5530547226bc4317.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{KPjT:function(e){e.exports=JSON.parse('{"common":{"save":"Save","edit":"Edit","cancel":"Cancel","node-key":"Node Key","app-key":"App Key","discovery":"Discovery","downloaded":"Downloaded","uploaded":"Uploaded","delete":"Delete","none":"None","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out."},"tables":{"title":"Order by","sorting-title":"Ordered by:","ascending-order":"(ascending)","descending-order":"(descending)"},"inputs":{"errors":{"key-required":"Key is required.","key-length":"Key must be 66 characters long."}},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online","offline":"Offline","offline-tooltip":"Visor is offline"},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","node-version":"Visor version:","app-protocol-version":"App protocol version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","state":"State","label":"Label","key":"Key","view-node":"View visor","delete-node":"Remove visor","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","deleted":"Visor removed."},"edit-label":{"title":"Edit label","label":"Label","done":"Label saved.","default-label-warning":"The default label has been used."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"config":{"title":"Discovery configuration","header":"Discovery address","remove":"Remove address","add":"Add address","cant-store":"Unable to store node configuration.","success":"Applying discovery configuration by restarting node process."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."},"update":{"title":"Update","processing":"Looking for updates...","processing-button":"Please wait","no-update":"Currently, there is no update for the visor. The currently installed version is {{ version }}.","update-available":"There is an update available for the visor. Click the \'Install update\' button to continue. The currently installed version is {{ currentVersion }} and the new version is {{ newVersion }}.","done":"The visor is updated.","update-error":"Could not install the update. Please, try again later.","install":"Install update"}},"apps":{"socksc":{"title":"Connect to Node","connect-keypair":"Enter keypair","connect-search":"Search node","connect-history":"History","versions":"Versions","location":"Location","connect":"Connect","next-page":"Next page","prev-page":"Previous page","auto-startup":"Automatically connect to Node"},"sshc":{"title":"SSH Client","connect":"Connect to SSH Server","auto-startup":"Automatically start SSH client","connect-keypair":"Enter keypair","connect-history":"History"},"sshs":{"title":"SSH Server","whitelist":{"title":"SSH Server Whitelist","header":"Key","add":"Add to list","remove":"Remove key","enter-key":"Enter node key","errors":{"cant-save":"Could not save whitelist changes."},"saved-correctly":"Whitelist changes saved successfully."},"auto-startup":"Automatically start SSH server"},"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"config":{"title":"Startup configuration"},"menu":{"startup-config":"Startup configuration","log":"Log messages","whitelist":"Whitelist"},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","status":"Status","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled"},"skysocks-settings":{"title":"Skysocks Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"skysocks-client-settings":{"title":"Skysocks-Client Settings","remote-visor-tab":"Remote Visor","history-tab":"History","public-key":"Remote visor public key","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used."},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","list-title":"Transport list","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","details":{"title":"Details","basic":{"title":"Basic info","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","transport-type":"Transport type","success":"Transport created.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}}},"routes":{"title":"Routes","list-title":"Route list","key":"Key","rule":"Rule","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/7.1c17a3e5e903dcd94774.js b/static/skywire-manager-src/dist/7.1c17a3e5e903dcd94774.js deleted file mode 100644 index 900dc5fa8..000000000 --- a/static/skywire-manager-src/dist/7.1c17a3e5e903dcd94774.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{amrp:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/8.bcc884fb2e3b89427677.js b/static/skywire-manager-src/dist/8.bcc884fb2e3b89427677.js deleted file mode 100644 index 28370366a..000000000 --- a/static/skywire-manager-src/dist/8.bcc884fb2e3b89427677.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"ZF/7":function(e){e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Desconocido","close":"Cerrar"},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","active-filters":"Filtros activos: ","press-to-remove":"(Presione para remover)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","ascending-order":"(ascendente)","descending-order":"(descendente)"},"start":{"title":"Inicio"},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online pero no todos los servicios est\xe1n funcionando. Para m\xe1s informaci\xf3n, abra la p\xe1gina de detalles y consulte la secci\xf3n \\"Informaci\xf3n de salud\\".","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","port":"Puerto:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"node-health":{"title":"Informaci\xf3n de salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-offline-nodes":"No se encontraron visores offline.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema).","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-stopped":"Detenida","status-failed":"Fallida","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"Algo sali\xf3 mal. Revise los mensajes de la aplicaci\xf3n para m\xe1s informaci\xf3n"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos los transportes offline","remove-all-offline-confirmation":"\xbfSeguro que desea remover todos los transportes offline?","remove-all-filtered-offline-confirmation":"Todos los transportes offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos. \xbfSeguro que desea continuar?","list-title":"Lista de transportes","state":"Estado","state-tooltip":"Estado actual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","statuses":{"online":"Online","online-tooltip":"El transporte est\xe1 online","offline":"Offline","offline-tooltip":"El transporte est\xe1 offline"},"details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"online":"El transporte debe estar","id":"El id debe contener","remote-node":"La llave remota debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rutas","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"}}')}}]); \ No newline at end of file diff --git a/static/skywire-manager-src/dist/assets/i18n/de_base.json b/static/skywire-manager-src/dist/assets/i18n/de_base.json index c38c0e826..00e9012cc 100644 --- a/static/skywire-manager-src/dist/assets/i18n/de_base.json +++ b/static/skywire-manager-src/dist/assets/i18n/de_base.json @@ -1,15 +1,9 @@ { "common": { "save": "Save", - "edit": "Edit", "cancel": "Cancel", - "node-key": "Node Key", - "app-key": "App Key", - "discovery": "Discovery", "downloaded": "Downloaded", "uploaded": "Uploaded", - "delete": "Delete", - "none": "None", "loading-error": "There was an error getting the data. Retrying...", "operation-error": "There was an error trying to complete the operation.", "no-connection-error": "There is no internet connection or connection to the Hypervisor.", @@ -17,23 +11,68 @@ "refreshed": "Data refreshed.", "options": "Options", "logout": "Logout", - "logout-error": "Error logging out." + "logout-error": "Error logging out.", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Unknown", + "close": "Close" }, - "tables": { - "title": "Order by", - "sorting-title": "Ordered by:", - "ascending-order": "(ascending)", - "descending-order": "(descending)" + "labeled-element": { + "edit-label": "Edit label", + "remove-label": "Remove label", + "copy": "Copy", + "remove-label-confirmation": "Do you really want to remove the label?", + "unnamed-element": "Unnamed", + "unnamed-local-visor": "Local visor", + "local-element": "Local", + "tooltip": "Click to copy the entry or change the label", + "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" }, - "inputs": { - "errors": { - "key-required": "Key is required.", - "key-length": "Key must be 66 characters long." + "labels": { + "title": "Labels", + "info": "Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.", + "list-title": "Label list", + "label": "Label", + "id": "Element ID", + "type": "Type", + "delete-confirmation": "Are you sure you want to delete the label?", + "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", + "delete": "Delete label", + "deleted": "Delete operation completed.", + "empty": "There aren't any saved labels.", + "empty-with-filter": "No label matches the selected filtering criteria.", + "filter-dialog": { + "label": "The label must contain", + "id": "The id must contain", + "type": "The type must be", + + "type-options": { + "any": "Any", + "visor": "Visor", + "dmsg-server": "DMSG server", + "transport": "Transport" + } } }, + "filters": { + "filter-action": "Filter", + "press-to-remove": "(Press to remove the filters)", + "remove-confirmation": "Are you sure you want to remove the filters?" + }, + + "tables": { + "title": "Order by", + "sorting-title": "Ordered by:", + "sort-by-value": "Value", + "sort-by-label": "Label", + "label": "(label)", + "inverted-order": "(inverted)" + }, + "start": { "title": "Start" }, @@ -43,18 +82,20 @@ "not-found": "Visor not found.", "statuses": { "online": "Online", - "online-tooltip": "Visor is online", + "online-tooltip": "Visor is online.", + "partially-online": "Online with problems", + "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", "offline": "Offline", - "offline-tooltip": "Visor is offline" + "offline-tooltip": "Visor is offline." }, "details": { "node-info": { "title": "Visor Info", "label": "Label:", "public-key": "Public key:", - "port": "Port:", + "dmsg-server": "DMSG server:", + "ping": "Ping:", "node-version": "Visor version:", - "app-protocol-version": "App protocol version:", "time": { "title": "Time online:", "seconds": "a few seconds", @@ -76,7 +117,7 @@ "setup-node": "Setup node:", "uptime-tracker": "Uptime tracker:", "address-resolver": "Address resolver:", - "element-offline": "offline" + "element-offline": "Offline" }, "node-traffic-data": "Traffic data" }, @@ -90,22 +131,50 @@ "nodes": { "title": "Visor list", + "dmsg-title": "DMSG", + "update-all": "Update all visors", + "hypervisor": "Hypervisor", "state": "State", + "state-tooltip": "Current state", "label": "Label", "key": "Key", + "dmsg-server": "DMSG server", + "ping": "Ping", + "hypervisor-info": "This visor is the current Hypervisor.", + "copy-key": "Copy key", + "copy-dmsg": "Copy DMSG server key", + "copy-data": "Copy data", "view-node": "View visor", "delete-node": "Remove visor", + "delete-all-offline": "Remove all offline visors", "error-load": "An error occurred while refreshing the list. Retrying...", "empty": "There aren't any visors connected to this hypervisor.", + "empty-with-filter": "No visor matches the selected filtering criteria.", "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", - "deleted": "Visor removed." + "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", + "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", + "deleted": "Visor removed.", + "deleted-singular": "1 offline visor removed.", + "deleted-plural": "{{ number }} offline visors removed.", + "no-visors-to-update": "There are no visors to update.", + "filter-dialog": { + "online": "The visor must be", + "label": "The label must contain", + "key": "The public key must contain", + "dmsg": "The DMSG server key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } }, "edit-label": { - "title": "Edit label", "label": "Label", "done": "Label saved.", - "default-label-warning": "The default label has been used." + "label-removed-warning": "The label was removed." }, "settings": { @@ -134,6 +203,22 @@ "default-password": "Don't use the default password (1234)." } }, + "updater-config" : { + "open-link": "Show updater settings", + "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", + "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", + "channel": "Channel", + "version": "Version", + "archive-url": "Archive URL", + "checksum-url": "Checksum URL", + "not-saved": "The changes have not been saved yet.", + "save": "Save changes", + "remove-settings": "Remove the settings", + "saved": "The custom settings have been saved.", + "removed": "The custom settings have been removed.", + "save-confirmation": "Are you sure you want to apply the custom settings?", + "remove-confirmation": "Are you sure you want to remove the custom settings?" + }, "change-password": "Change password", "refresh-rate": "Refresh rate", "refresh-rate-help": "Time the system waits to update the data automatically.", @@ -158,14 +243,6 @@ "confirmation": "Are you sure you want to reboot the visor?", "done": "The visor is restarting." }, - "config": { - "title": "Discovery configuration", - "header": "Discovery address", - "remove": "Remove address", - "add": "Add address", - "cant-store": "Unable to store node configuration.", - "success": "Applying discovery configuration by restarting node process." - }, "terminal-options": { "full": "Full terminal", "simple": "Simple terminal" @@ -174,54 +251,35 @@ "title": "Terminal", "input-start": "Skywire terminal for {{address}}", "error": "Unexpected error while trying to execute the command." - }, - "update": { - "title": "Update", - "processing": "Looking for updates...", - "processing-button": "Please wait", - "no-update": "Currently, there is no update for the visor. The currently installed version is {{ version }}.", - "update-available": "There is an update available for the visor. Click the 'Install update' button to continue. The currently installed version is {{ currentVersion }} and the new version is {{ newVersion }}.", - "done": "The visor is updated.", - "update-error": "Could not install the update. Please, try again later.", - "install": "Install update" } }, + + "update": { + "title": "Update", + "error-title": "Error", + "processing": "Looking for updates...", + "no-update": "There is no update for the visor. The currently installed version is:", + "no-updates": "No new updates were found.", + "already-updating": "Some visors are already being updated:", + "update-available": "The following updates were found:", + "update-available-singular": "The following updates for 1 visor were found:", + "update-available-plural": "The following updates for {{ number }} visors were found:", + "update-available-additional-singular": "The following additional updates for 1 visor were found:", + "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", + "update-instructions": "Click the 'Install updates' button to continue.", + "updating": "The update operation has been started, you can open this window again for checking the progress:", + "version-change": "From {{ currentVersion }} to {{ newVersion }}", + "selected-channel": "Selected channel:", + "downloaded-file-name-prefix": "Downloading: ", + "speed-prefix": "Speed: ", + "time-downloading-prefix": "Time downloading: ", + "time-left-prefix": "Aprox. time left: ", + "starting": "Preparing to update", + "finished": "Status connection finished", + "install": "Install updates" + }, "apps": { - "socksc": { - "title": "Connect to Node", - "connect-keypair": "Enter keypair", - "connect-search": "Search node", - "connect-history": "History", - "versions": "Versions", - "location": "Location", - "connect": "Connect", - "next-page": "Next page", - "prev-page": "Previous page", - "auto-startup": "Automatically connect to Node" - }, - "sshc": { - "title": "SSH Client", - "connect": "Connect to SSH Server", - "auto-startup": "Automatically start SSH client", - "connect-keypair": "Enter keypair", - "connect-history": "History" - }, - "sshs": { - "title": "SSH Server", - "whitelist": { - "title": "SSH Server Whitelist", - "header": "Key", - "add": "Add to list", - "remove": "Remove key", - "enter-key": "Enter node key", - "errors": { - "cant-save": "Could not save whitelist changes." - }, - "saved-correctly": "Whitelist changes saved successfully." - }, - "auto-startup": "Automatically start SSH server" - }, "log": { "title": "Log", "empty": "There are no log messages for the selected time range.", @@ -237,48 +295,116 @@ "all": "Show all" } }, - "config": { - "title": "Startup configuration" - }, - "menu": { - "startup-config": "Startup configuration", - "log": "Log messages", - "whitelist": "Whitelist" - }, "apps-list": { "title": "Applications", "list-title": "Application list", "app-name": "Name", "port": "Port", - "status": "Status", + "state": "State", + "state-tooltip": "Current state", "auto-start": "Auto start", "empty": "Visor doesn't have any applications.", + "empty-with-filter": "No app matches the selected filtering criteria.", "disable-autostart": "Disable autostart", "enable-autostart": "Enable autostart", "autostart-disabled": "Autostart disabled", - "autostart-enabled": "Autostart enabled" + "autostart-enabled": "Autostart enabled", + "unavailable-logs-error": "Unable to show the logs while the app is not running.", + + "filter-dialog": { + "state": "The state must be", + "name": "The name must contain", + "port": "The port must contain", + "autostart": "The autostart must be", + + "state-options": { + "any": "Running or stopped", + "running": "Running", + "stopped": "Stopped" + }, + + "autostart-options": { + "any": "Enabled or disabled", + "enabled": "Enabled", + "disabled": "Disabled" + } + } }, - "skysocks-settings": { - "title": "Skysocks Settings", + "vpn-socks-server-settings": { + "socks-title": "Skysocks Settings", + "vpn-title": "VPN-Server Settings", "new-password": "New password (Leave empty to remove the password)", "repeat-password": "Repeat password", "passwords-not-match": "Passwords do not match.", + "secure-mode-check": "Use secure mode", + "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", "save": "Save", "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", "change-passowrd-confirmation": "Are you sure you want to change the password?", "changes-made": "The changes have been made." }, - "skysocks-client-settings": { - "title": "Skysocks-Client Settings", - "remote-visor-tab": "Remote Visor", + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Settings", + "vpn-title": "VPN-Client Settings", + "discovery-tab": "Search", + "remote-visor-tab": "Enter manually", "history-tab": "History", + "settings-tab": "Settings", + "use": "Use this data", + "change-note": "Change note", + "remove-entry": "Remove entry", + "note": "Note:", + "note-entered-manually": "Entered manually", + "note-obtained": "Obtained from the discovery service", + "key": "Key:", + "port": "Port:", + "location": "Location:", + "state-available": "Available", + "state-offline": "Offline", "public-key": "Remote visor public key", + "password": "Password", + "password-history-warning": "Note: the password will not be saved in the history.", + "copy-pk-info": "Copy public key.", + "copied-pk-info": "The public key has been copied.", + "copy-pk-error": "There was a problem copying the public key.", + "no-elements": "Currently there are no elements to show. Please try again later.", + "no-elements-for-filters": "There are no elements that meet the filter criteria.", + "no-filter": "No filter has been selected", + "click-to-change": "Click to change", "remote-key-length-error": "The public key must be 66 characters long.", "remote-key-chars-error": "The public key must only contain hexadecimal characters.", "save": "Save", + "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", "change-key-confirmation": "Are you sure you want to change the remote visor public key?", "changes-made": "The changes have been made.", - "no-history": "This tab will show the last {{ number }} public keys used." + "no-history": "This tab will show the last {{ number }} public keys used.", + "default-note-warning": "The default note has been used.", + "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", + "killswitch-check": "Activate killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).", + "settings-changed-alert": " The changes have not been saved yet.", + "save-settings": "Save settings", + + "change-note-dialog": { + "title": "Change Note", + "note": "Note" + }, + + "password-dialog": { + "title": "Enter Password", + "password": "Password", + "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", + "continue-button": "Continue" + }, + + "filter-dialog": { + "title": "Filters", + "country": "The country must be", + "any-country": "Any", + "location": "The location must contain", + "pub-key": "The public key must contain", + "apply": "Apply" + } }, "stop-app": "Stop", "start-app": "Start", @@ -303,7 +429,13 @@ "transports": { "title": "Transports", + "remove-all-offline": "Remove all offline transports", + "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", + "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", + "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", "list-title": "Transport list", + "state": "State", + "state-tooltip": "Current state", "id": "ID", "remote-node": "Remote", "type": "Type", @@ -313,10 +445,18 @@ "delete": "Delete transport", "deleted": "Delete operation completed.", "empty": "Visor doesn't have any transports.", + "empty-with-filter": "No transport matches the selected filtering criteria.", + "statuses": { + "online": "Online", + "online-tooltip": "Transport is online", + "offline": "Offline", + "offline-tooltip": "Transport is offline" + }, "details": { "title": "Details", "basic": { "title": "Basic info", + "state": "State:", "id": "ID:", "local-pk": "Local public key:", "remote-pk": "Remote public key:", @@ -330,26 +470,43 @@ }, "dialog": { "remote-key": "Remote public key", + "label": "Identification name (optional)", "transport-type": "Transport type", "success": "Transport created.", + "success-without-label": "The transport was created, but it was not possible to save the label.", "errors": { "remote-key-length-error": "The remote public key must be 66 characters long.", "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", "transport-type-error": "The transport type is required." } + }, + "filter-dialog": { + "online": "The transport must be", + "id": "The id must contain", + "remote-node": "The remote key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } } }, "routes": { "title": "Routes", + "info": "Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.", "list-title": "Route list", "key": "Key", - "rule": "Rule", + "type": "Type", + "source": "Source", + "destination": "Destination", "delete-confirmation": "Are you sure you want to delete the route?", "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", "delete": "Delete route", "deleted": "Delete operation completed.", "empty": "Visor doesn't have any routes.", + "empty-with-filter": "No route matches the selected filtering criteria.", "details": { "title": "Details", "basic": { @@ -376,6 +533,13 @@ "destination-port": "Destination port:", "source-port": "Source port:" } + }, + "filter-dialog": { + "key": "The key must contain", + "type": "The type must be", + "source": "The source must contain", + "destination": "The destination must contain", + "any-type-option": "Any" } }, @@ -424,7 +588,8 @@ "confirm-button": "Yes", "cancel-button": "No", "close": "Close", - "error-header-text": "Error" + "error-header-text": "Error", + "done-header-text": "Done" }, "language" : { diff --git a/static/skywire-manager-src/dist/assets/img/flags/england.png b/static/skywire-manager-src/dist/assets/img/flags/england.png deleted file mode 100644 index 3a7311d56..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/england.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/scotland.png b/static/skywire-manager-src/dist/assets/img/flags/scotland.png deleted file mode 100644 index a0e57b412..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/scotland.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/southossetia.png b/static/skywire-manager-src/dist/assets/img/flags/southossetia.png deleted file mode 100644 index 2c0bc3e1b..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/southossetia.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/unitednations.png b/static/skywire-manager-src/dist/assets/img/flags/unitednations.png deleted file mode 100644 index 08b3dd14f..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/unitednations.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/wales.png b/static/skywire-manager-src/dist/assets/img/flags/wales.png deleted file mode 100644 index e0d7cee11..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/wales.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/assets/img/flags/zz.png b/static/skywire-manager-src/dist/assets/img/flags/zz.png deleted file mode 100644 index c78597659..000000000 Binary files a/static/skywire-manager-src/dist/assets/img/flags/zz.png and /dev/null differ diff --git a/static/skywire-manager-src/dist/index.html b/static/skywire-manager-src/dist/index.html index 37c046a30..6621f83a1 100644 --- a/static/skywire-manager-src/dist/index.html +++ b/static/skywire-manager-src/dist/index.html @@ -1,15 +1,14 @@ - - - + - Skywire Manager + Skywire - +
      - - + + + \ No newline at end of file diff --git a/static/skywire-manager-src/dist/main.15c580f7b9d27bc805f3.js b/static/skywire-manager-src/dist/main.15c580f7b9d27bc805f3.js deleted file mode 100644 index 2b59b2ff0..000000000 --- a/static/skywire-manager-src/dist/main.15c580f7b9d27bc805f3.js +++ /dev/null @@ -1 +0,0 @@ -(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:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n 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\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".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\u017ees",past:"ma\u014bit %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\xe1nnu",MM:"%d m\xe1nut",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~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".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~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},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:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".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:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},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\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %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\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";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\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_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\xe7_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\xe0 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\xed %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|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";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 a(t){return void 0!==t._view.width}function o(t){var e,n,i,r,o=t._view;if(a(t)){var s=o.width/2;e=o.x-s,n=o.x+s,i=Math.min(o.y,o.base),r=Math.max(o.y,o.base)}else{var l=o.height/2;e=Math.min(o.x,o.base),n=Math.max(o.x,o.base),i=o.y-l,r=o.y+l}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,a,o,s=this._chart.ctx,l=this._view,u=l.borderWidth;if(l.horizontal?(n=l.y-l.height/2,i=l.y+l.height/2,r=(e=l.x)>(t=l.base)?1:-1,a=1,o=l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,r=1,a=(i=l.base)>(n=l.y)?1:-1,o=l.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"!==o?d*r:0),f=e+("right"!==o?-d*r:0),p=n+("top"!==o?d*a:0),m=i+("bottom"!==o?-d*a:0);h!==f&&(n=p,i=m),p!==m&&(t=h,e=f)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=u;var g=[[t,i],[t,n],[e,n],[e,i]],v=["bottom","left","top","right"].indexOf(o,0);function _(t){return g[(v+t)%4]}-1===v&&(v=0);var y=_(0);s.moveTo(y[0],y[1]);for(var b=1;b<4;b++)y=_(b),s.lineTo(y[0],y[1]);s.fill(),u&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=o(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=o(this);return a(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return a(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\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n 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:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},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+"),a=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 a=0;a'),r[a]&&e.push(r[a]),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),o=e.datasets[0],s=r.data[i].custom||{},l=a.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,i,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,i,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,i,u.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},"5ey7":function(t,e,n){var i={"./de.json":["K+GZ",5],"./de_base.json":["KPjT",6],"./en.json":["amrp",7],"./es.json":["ZF/7",8],"./es_base.json":["bIFx",9]};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:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".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:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/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"),a=n("mlr9"),o=n("fELs"),s=n("iM7B"),l=n("VgNv");t.exports=function(t){function e(e){var n=e.options;r.each(e.scales,(function(t){o.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 a=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 o=s.acquireContext(e,n),l=o&&o.canvas,u=l&&l.height,c=l&&l.width;a.id=r.uid(),a.ctx=o,a.canvas=l,a.config=n,a.width=c,a.height=u,a.aspectRatio=u?c/u:null,a.options=n.options,a._bufferedRender=!1,a.chart=a,a.controller=a,t.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(t){a.config.data=t}}),o&&l?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),r.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),l.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,a=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(r.getMaximumWidth(i))),s=Math.max(0,Math.floor(a?o/a:r.getMaximumHeight(i)));if((e.width!==o||e.height!==s)&&(i.width=e.width=o,i.height=e.height=s,i.style.width=o+"px",i.style.height=s+"px",r.retinaScale(e,n.devicePixelRatio),!t)){var u={width:o,height:s};l.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,a=e.scales||{},o=[],s=Object.keys(a).reduce((function(t,e){return t[e]=!1,t}),{});i.scales&&(o=o.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&&o.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),r.each(o,(function(i){var o=i.options,l=o.id,u=r.valueOrDefault(o.type,i.dtype);n(o.position)!==n(i.dposition)&&(o.position=i.dposition),s[l]=!0;var c=null;if(l in a&&a[l].type===u)(c=a[l]).options=o,c.ctx=e.ctx,c.chart=e;else{var d=t.scaleService.getScaleConstructor(u);if(!d)return;c=new d({id:l,type:u,options:o,ctx:e.ctx,chart:e}),a[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(e.scale=c)})),r.each(s,(function(t,e){t||delete a[e]})),e.scales=a,t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return r.each(e.data.datasets,(function(r,a){var o=e.getDatasetMeta(a),s=r.type||e.config.type;if(o.type&&o.type!==s&&(e.destroyDatasetMeta(a),o=e.getDatasetMeta(a)),o.type=s,n.push(o.type),o.controller)o.controller.updateIndex(a),o.controller.linkScales();else{var l=t.controllers[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(e,a),i.push(o.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),l._invalidate(n),!1!==l.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=[],l.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),l.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return a.modes.single(this,t)},getElementsAtEvent:function(t){return a.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return a.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=a.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return a.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,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new a,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&("[object Array]"===(e={}.toString.call(t=i[o]))?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},a.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8//i":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=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:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function o(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function s(t){var n=t.options.pointLabels,i=r.valueOrDefault(n.fontSize,e.defaultFontSize),a=r.valueOrDefault(n.fontStyle,e.defaultFontStyle),o=r.valueOrDefault(n.fontFamily,e.defaultFontFamily);return{size:i,style:a,family:o,font:r.fontString(i,a,o)}}function l(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 a=n.y,o=1.5*i,s=0;s270||t<90)&&(n.y-=e.h)}function h(t){return r.isNumber(t)?t:0}var f=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 a=r.min([t.height,t.width]),o=r.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=n.display?a/2-(o/2+i.backdropPaddingY):a/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;r.each(e.data.datasets,(function(a,o){if(e.isDatasetVisible(o)){var s=e.getDatasetMeta(o);r.each(a.data,(function(e,r){var a=+t.getRightValue(e);isNaN(a)||s.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,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,a=s(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=a.font,t._pointLabelSizes=[];var h,f,p,m=o(t);for(e=0;ec.r&&(c.r=_.end,d.r=g),y.startc.b&&(c.b=y.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),a=-e.t/Math.cos(n.t),o=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=h(i),r=h(r),a=h(a),o=h(o),this.drawingArea=Math.min(Math.round(t-(i+r)/2),Math.round(t-(a+o)/2)),this.setCenterPoint(i,r,a,o)},setCenterPoint:function(t,e,n,i){var r=this,a=n+r.drawingArea,o=r.height-i-r.drawingArea;r.xCenter=Math.round((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.round((a+o)/2+r.top)},getIndexAngle:function(t){return t*(2*Math.PI/o(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,a=n.ticks,l=r.valueOrDefault;if(n.display){var h=t.ctx,f=this.getIndexAngle(0),p=l(a.fontSize,e.defaultFontSize),m=l(a.fontStyle,e.defaultFontStyle),g=l(a.fontFamily,e.defaultFontFamily),v=r.fontString(p,m,g);r.each(t.ticks,(function(n,s){if(s>0||a.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]);if(i.display&&0!==s&&function(t,e,n,i){var a=t.ctx;if(a.strokeStyle=r.valueAtIndexOrDefault(e.color,i-1),a.lineWidth=r.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var s=o(t);if(0===s)return;a.beginPath();var l=t.getPointPosition(0,n);a.moveTo(l.x,l.y);for(var u=1;u=0;p--){if(a.display){var m=t.getPointPosition(p,h);n.beginPath(),n.moveTo(t.xCenter,t.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(l.display){var g=t.getPointPosition(p,h+5),v=r.valueAtIndexOrDefault(l.fontColor,p,e.defaultFontColor);n.font=f.font,n.fillStyle=v;var _=t.getIndexAngle(p),y=r.toDegrees(_);n.textAlign=u(y),d(y,t._pointLabelSizes[p],g),c(n,t.pointLabels[p]||"",g,f.size)}}}(t)}}});t.scaleService.registerScaleType("radialLinear",f,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,a=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 o=i.getLabels().indexOf(t=n||t);e=-1!==o?o:e}if(i.isHorizontal()){var s=i.width/a,l=s*(e-i.minIndex);return r&&(l+=s/2),i.left+Math.round(l)}var u=i.height/a,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(),a=(r?e.width:e.height)/i;return t-=r?e.left:e.top,n&&(t-=a/2),(t<=0?0:Math.round(t/a))+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\xe7o_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\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".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 \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %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\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",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\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","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\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 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\xecos",MM:"%d m\xecosan",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:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},A5uo:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha");i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:a.noop,onComplete:a.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,a,o=this.animations;for(e.chart=t,i||(t.animating=!0),r=0,a=o.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?(a.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"),a=n("RDha"),o=n("fELs"),s=a.noop;function l(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 a.isArray(e.datasets)?e.datasets.map((function(e,n){return{text:e.label,fillStyle:a.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){a.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,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:s,beforeSetDimensions:s,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:s,beforeBuildLabels:s,buildLabels:function(){var t=this,e=t.options.labels||{},n=a.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:s,beforeFit:s,fit:function(){var t=this,e=t.options,n=e.labels,r=e.display,o=t.ctx,s=i.global,u=a.valueOrDefault,c=u(n.fontSize,s.defaultFontSize),d=u(n.fontStyle,s.defaultFontStyle),h=u(n.fontFamily,s.defaultFontFamily),f=a.fontString(c,d,h),p=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(o.font=f,g){var v=t.lineWidths=[0],_=t.legendItems.length?c+n.padding:0;o.textAlign="left",o.textBaseline="top",a.each(t.legendItems,(function(e,i){var r=l(n,c)+c/2+o.measureText(e.text).width;v[v.length-1]+r+n.padding>=t.width&&(_+=c+n.padding,v[v.length]=t.left),p[i]={left:0,top:0,width:r,height:c},v[v.length-1]+=r+n.padding})),m.height+=_}else{var y=n.padding,b=t.columnWidths=[],k=n.padding,w=0,M=0,S=c+y;a.each(t.legendItems,(function(t,e){var i=l(n,c)+c/2+o.measureText(t.text).width;M+S>m.height&&(k+=w+n.padding,b.push(w),w=0,M=0),w=Math.max(w,i),M+=S,p[e]={left:0,top:0,width:i,height:c}})),k+=w,b.push(w),m.width+=k}t.width=m.width,t.height=m.height},afterFit:s,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,o=r.elements.line,s=t.width,u=t.lineWidths;if(e.display){var c,d=t.ctx,h=a.valueOrDefault,f=h(n.fontColor,r.defaultFontColor),p=h(n.fontSize,r.defaultFontSize),m=h(n.fontStyle,r.defaultFontStyle),g=h(n.fontFamily,r.defaultFontFamily),v=a.fontString(p,m,g);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=v;var _=l(n,p),y=t.legendHitBoxes,b=t.isHorizontal();c=b?{x:t.left+(s-u[0])/2,y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+n.padding,line:0};var k=p+n.padding;a.each(t.legendItems,(function(i,l){var f=d.measureText(i.text).width,m=_+p/2+f,g=c.x,v=c.y;b?g+m>=s&&(v=c.y+=k,c.line++,g=c.x=t.left+(s-u[c.line])/2):v+k>t.bottom&&(g=c.x=g+t.columnWidths[c.line]+n.padding,v=c.y=t.top+n.padding,c.line++),function(t,n,i){if(!(isNaN(_)||_<=0)){d.save(),d.fillStyle=h(i.fillStyle,r.defaultColor),d.lineCap=h(i.lineCap,o.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,o.borderDashOffset),d.lineJoin=h(i.lineJoin,o.borderJoinStyle),d.lineWidth=h(i.lineWidth,o.borderWidth),d.strokeStyle=h(i.strokeStyle,r.defaultColor);var s=0===h(i.lineWidth,o.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2;a.canvas.drawPoint(d,i.pointStyle,l,t+u,n+u)}else s||d.strokeRect(t,n,_,p),d.fillRect(t,n,_,p);d.restore()}}(g,v,i),y[l].left=g,y[l].top=v,function(t,e,n,i){var r=p/2,a=_+r+t,o=e+r;d.fillText(n.text,a,o),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(a,o),d.lineTo(a+i,o),d.stroke())}(g,v,i,f),b?c.x+=m+n.padding:c.y+=k}))}},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 a=t.x,o=t.y;if(a>=e.left&&a<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l=u.left&&a<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),r=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),r=!0;break}}}return r}});function c(t,e){var n=new u({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.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?(a.mergeIf(e,i.global.legend),n?(o.configure(t,n,e),n.options=e):c(t,e)):n&&(o.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,a;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,r=+t.bottom||0,a=+t.left||0):e=n=r=a=+t||0,{top:e,right:n,bottom:r,left:a,height:e+r,width:a+n}},resolve:function(t,e,n){var r,a,o;for(r=0,a=t.length;r=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] 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\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_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\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";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\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 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\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},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:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},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:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".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:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",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:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},G0Q6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=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 a.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,update:function(t){var n,i,r,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],c=o.chart.options,d=c.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),p=e(f,c);for(p&&(r=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:c.spanGaps,tension:r.tension?r.tension:a.valueOrDefault(f.lineTension,d.tension),backgroundColor:r.backgroundColor?r.backgroundColor:f.backgroundColor||d.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:f.borderWidth||d.borderWidth,borderColor:r.borderColor?r.borderColor:f.borderColor||d.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:f.borderCapStyle||d.borderCapStyle,borderDash:r.borderDash?r.borderDash:f.borderDash||d.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:f.borderDashOffset||d.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:f.borderJoinStyle||d.borderJoinStyle,fill:r.fill?r.fill:void 0!==f.fill?f.fill:d.fill,steppedLine:r.steppedLine?r.steppedLine:a.valueOrDefault(f.steppedLine,d.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:a.valueOrDefault(f.cubicInterpolationMode,d.cubicInterpolationMode)},l.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:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,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+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";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:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,r,a,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %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(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},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:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".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:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] 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\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_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 a(t,e,a,o){var s=t+" ";return 1===t?s+n(0,e,a[0],o):e?s+(i(t)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(t)?r(a)[1]:r(a)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_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\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".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:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},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\xf4re 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"),a=function(t){r.extend(this,t),this.initialize.apply(this,arguments)};r.extend(a.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,a=e._view;return n&&1!==t?(a||(a=e._view={}),r||(r=e._start={}),function(t,e,n,r){var a,o,s,l,u,c,d,h,f,p=Object.keys(n);for(a=0,o=p.length;a0||(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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [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,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s==o?e=0:i==s?e=(r-a)/l:r==s?e=2+(a-i)/l:a==s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function i(t){var e,n,i=t[0],r=t[1],a=t[2],o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return n=0==s?0:l/s*1e3/10,s==o?e=0:i==s?e=(r-a)/l:r==s?e=2+(a-i)/l:a==s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,s/255*1e3/10]}function a(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 o(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 s(t){return S[JSON.stringify(t)]}function l(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=l(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,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[a=255*l,a,a];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r[u]=255*(a=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,a=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function h(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),i=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(i=1-i),a=s+i*((n=1-l)-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function f(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 p(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.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 v(t){var e,n,i,r,a=t[0],o=t[1],s=t[2];return a<=8?r=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),r=Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),n,i=i/108.883<=.008859?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3)]}function _(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 y(t){return p(v(t))}function k(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 w(t){return M[t]}t.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:u,rgb2lch:function(t){return _(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 a(c(t))},hsl2cmyk:function(t){return o(c(t))},hsl2keyword:function(t){return s(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 a(d(t))},hsv2cmyk:function(t){return o(d(t))},hsv2keyword:function(t){return s(d(t))},hwb2rgb:h,hwb2hsl:function(t){return n(h(t))},hwb2hsv:function(t){return i(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return s(h(t))},cmyk2rgb:f,cmyk2hsl:function(t){return n(f(t))},cmyk2hsv:function(t){return i(f(t))},cmyk2hwb:function(t){return a(f(t))},cmyk2keyword:function(t){return s(f(t))},keyword2rgb:w,keyword2hsl:function(t){return n(w(t))},keyword2hsv:function(t){return i(w(t))},keyword2hwb:function(t){return a(w(t))},keyword2cmyk:function(t){return o(w(t))},keyword2lab:function(t){return u(w(t))},keyword2xyz:function(t){return l(w(t))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(t){return _(m(t))},lab2xyz:v,lab2rgb:y,lab2lch:_,lch2lab:k,lch2xyz:function(t){return v(k(t))},lch2rgb:function(t){return y(k(t))}};var M={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]},S={};for(var x in M)S[JSON.stringify(M[x])]=x},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".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:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},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"),a=n("RDha"),o=i.global.defaultColor;function s(t){var e=this._view;return!!e&&Math.abs(t-e.x)=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".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:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,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 a in i){r[a+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];(r[s]=r[s]||{})[l]=r[a]=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 a=t+" ";switch(n){case"s":return e||r?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekund"):a+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?a+(i(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?a+(i(t)?"dny":"dn\xed"):a+"dny";case"M":return e||r?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||r?a+(i(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):a+"m\u011bs\xedci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?a+(i(t)?"roky":"let"):a+"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\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_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\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %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:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".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:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===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:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".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:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},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:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},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\xe4erz_Abr\xebll_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\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_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\xebschter 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\xe9int",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"),a=n("RDha"),o=Number.MIN_SAFE_INTEGER||-9007199254740991,s=Number.MAX_SAFE_INTEGER||9007199254740991,l={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(l);function c(t,e){return t-e}function d(t){var e,n,i,r={},a=[];for(e=0,n=t.length;e=0&&o<=s;){if(a=t[i=o+s>>1],!(r=t[i-1]||null))return{lo:null,hi:a};if(a[e]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(t,e,n),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e];return a[i]+(o[i]-a[i])*(s?(n-a[e])/s:0)}function f(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 p(t,e){if(a.isNullOrUndef(t))return null;var n=e.options.time,i=f(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=o&&n<=c&&_.push(n);return r.min=o,r.max=c,r._unit=g.unit||function(t,e,n,r){var a,o,s=i.duration(i(r).diff(i(n)));for(a=u.length-1;a>=u.indexOf(e);a--)if(l[o=u[a]].common&&s.as(o)>=t.length)return o;return u[e?u.indexOf(e):0]}(_,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,a,o,s,l,u=[],c=[e];for(r=0,a=t.length;re&&s1?e[1]:i,"pos")-h(t,"time",a,"pos"))/2),r.time.max||(a=e.length>1?e[e.length-2]:n,s=(h(t,"time",e[e.length-1],"pos")-h(t,"time",a,"pos"))/2)),{left:o,right:s}}(r._table,_,o,c,d),r._labelFormat=function(t,e){var n,i,r,a=t.length;for(n=0;n=0&&t0?s: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=a(t);return n(e)}function a(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=a,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\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] 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:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};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\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".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\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";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:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(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,a){if(a){var o=Math.min(a,i/2),s=Math.min(a,r/2);t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+r-s),t.quadraticCurveTo(e+i,n+r,e+i-o,n+r),t.lineTo(e+o,n+r),t.quadraticCurveTo(e,n+r,e,n+r-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+o,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r){var a,o,s,l,u,c;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(a=e.toString())&&"[object HTMLCanvasElement]"!==a){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=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-o/2,r+u/3),t.lineTo(i+o/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,f=r-d,p=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,f,p,p,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(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i-s,r+l),t.lineTo(i+s,r-l),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),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i-s,r+l),t.lineTo(i+s,r-l),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 a,o,s;if(r.isArray(t))if(o=t.length,i)for(a=o-1;a>=0;a--)e.call(n,t[a],a);else for(a=0;a=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=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];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\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},UqmZ:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha"),o=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:o.defaultColor,borderWidth:3,borderColor:o.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,s=this._chart.ctx,l=r.spanGaps,u=this._children.slice(),c=o.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),s.save(),s.lineCap=r.borderCapStyle||c.borderCapStyle,s.setLineDash&&s.setLineDash(r.borderDash||c.borderDash),s.lineDashOffset=r.borderDashOffset||c.borderDashOffset,s.lineJoin=r.borderJoinStyle||c.borderJoinStyle,s.lineWidth=r.borderWidth||c.borderWidth,s.strokeStyle=r.borderColor||o.defaultColor,s.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\xf1u_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\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",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,a,o,s,l=this.descriptors(t),u=l.length;for(i=0;il;)r-=2*Math.PI;for(;r=s&&r<=l&&o>=n.innerRadius&&o<=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:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".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:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},"XQh+":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=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 a=0;a'),r[a]&&e.push(r[a]),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),o=e.datasets[0],s=r.data[i],l=s&&s.custom||{},u=a.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:u(o.backgroundColor,i,c.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(o.borderColor,i,c.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(o.borderWidth,i,c.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n=Math.PI?-1:p<-Math.PI?1:0))+f,g={x:Math.cos(p),y:Math.sin(p)},v={x:Math.cos(m),y:Math.sin(m)},_=p<=0&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,y=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,b=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,k=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,M={x:b?-1:Math.min(g.x*(g.x<0?1:w),v.x*(v.x<0?1:w)),y:k?-1:Math.min(g.y*(g.y<0?1:w),v.y*(v.y<0?1:w))},S={x:_?1:Math.max(g.x*(g.x>0?1:w),v.x*(v.x>0?1:w)),y:y?1:Math.max(g.y*(g.y>0?1:w),v.y*(v.y>0?1:w))},x={width:.5*(S.x-M.x),height:.5*(S.y-M.y)};u=Math.min(s/x.width,l/x.height),c={x:-.5*(S.x+M.x),y:-.5*(S.y+M.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),a.each(d.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.chart,o=r.chartArea,s=r.options,l=s.animation,u=(o.left+o.right)/2,c=(o.top+o.bottom)/2,d=s.rotation,h=s.rotation,f=i.getDataset(),p=n&&l.animateRotate||t.hidden?0:i.calculateCircumference(f.data[e])*(s.circumference/(2*Math.PI));a.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:h,circumference:p,outerRadius:n&&l.animateScale?0:i.outerRadius,innerRadius:n&&l.animateScale?0:i.innerRadius,label:(0,a.valueAtIndexOrDefault)(f.label,e,r.data.labels[e])}});var m=t._model;this.removeHoverStyle(t),n&&l.animateRotate||(m.startAngle=0===e?s.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 a.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,a=t.length,o=0;o(i=(e=t[o]._model?t[o]._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,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var s=e.stacked;if(void 0===s&&i.each(r,(function(t,e){if(!s){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&o(i)&&void 0!==i.stack&&(s=!0)}})),e.stacked||s){var l={};i.each(r,(function(r,a){var s=n.getDatasetMeta(a),u=[s.type,void 0===e.stacked&&void 0===s.stack?a:"",s.stack].join(".");n.isDatasetVisible(a)&&o(s)&&(void 0===l[u]&&(l[u]=[]),i.each(r.data,(function(e,n){var i=l[u],r=+t.getRightValue(e);isNaN(r)||s.data[n].hidden||r<0||(i[n]=i[n]||0,i[n]+=r)})))})),i.each(l,(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 a=n.getDatasetMeta(r);n.isDatasetVisible(r)&&o(a)&&i.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||a.data[n].hidden||i<0||((null===t.min||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,a=[],o=i.valueOrDefault,s=o(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,l));0===s?(n=Math.floor(i.log10(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(s),s=r*Math.pow(10,n)):(n=Math.floor(i.log10(s)),r=Math.floor(s/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(s),10==++r&&(r=1,c=++n>=0?1:c),s=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?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YSsK:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,i=n.data.datasets,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var s=e.stacked;if(void 0===s&&r.each(i,(function(t,e){if(!s){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&o(i)&&void 0!==i.stack&&(s=!0)}})),e.stacked||s){var l={};r.each(i,(function(i,a){var s=n.getDatasetMeta(a),u=[s.type,void 0===e.stacked&&void 0===s.stack?a:"",s.stack].join(".");void 0===l[u]&&(l[u]={positiveValues:[],negativeValues:[]});var c=l[u].positiveValues,d=l[u].negativeValues;n.isDatasetVisible(a)&&o(s)&&r.each(i.data,(function(n,i){var r=+t.getRightValue(n);isNaN(r)||s.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(l,(function(e){var n=e.positiveValues.concat(e.negativeValues),i=r.min(n),a=r.max(n);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?a:Math.max(t.max,a)}))}else r.each(i,(function(e,i){var a=n.getDatasetMeta(i);n.isDatasetVisible(i)&&o(a)&&r.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||a.data[n].hidden||((null===t.min||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=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];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\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},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+"),a=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(o,i-n):o,n=i;return o}(n,u):-1,pixels:u,start:s,end:l,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,r,a,o,s,l=this.chart,u=this.getMeta(),c=this.getValueScale(),d=l.data.datasets,h=c.getRightValue(d[t].data[e]),f=c.options.stacked,p=u.stack,m=0;if(f||void 0===f&&void 0!==p)for(n=0;n=0&&r>0)&&(m+=r));return a=c.getPixelForValue(m),{size:s=((o=c.getPixelForValue(m+h))-a)/2,base:a,head:o,center:o+s/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],a=t>0?i[t-1]:null,o=t11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %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+"),a=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:a.noop,update:function(t){var e=this,n=e.getMeta(),i=n.data,r=n.dataset.custom||{},o=e.getDataset(),s=e.chart.options.elements.line,l=e.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),a.extend(n.dataset,{_datasetIndex:e.index,_scale:l,_children:i,_loop:!0,_model:{tension:r.tension?r.tension:a.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),n.dataset.pivot(),a.each(i,(function(n,i){e.updateElement(n,i,t)}),e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,r=t.custom||{},o=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),a.extend(t,{_datasetIndex:i.index,_index:e,_scale:s,_model:{x:n?s.xCenter:u.x,y:n?s.yCenter:u.y,tension:r.tension?r.tension:a.valueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:r.radius?r.radius:a.valueAtIndexOrDefault(o.pointRadius,e,l.radius),backgroundColor:r.backgroundColor?r.backgroundColor:a.valueAtIndexOrDefault(o.pointBackgroundColor,e,l.backgroundColor),borderColor:r.borderColor?r.borderColor:a.valueAtIndexOrDefault(o.pointBorderColor,e,l.borderColor),borderWidth:r.borderWidth?r.borderWidth:a.valueAtIndexOrDefault(o.pointBorderWidth,e,l.borderWidth),pointStyle:r.pointStyle?r.pointStyle:a.valueAtIndexOrDefault(o.pointStyle,e,l.pointStyle),hitRadius:r.hitRadius?r.hitRadius:a.valueAtIndexOrDefault(o.pointHitRadius,e,l.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();a.each(e.data,(function(n,i){var r=n._model,o=a.splineCurve(a.previousItem(e.data,i,!0)._model,r,a.nextItem(e.data,i,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(o.previous.x,t.right),t.left),r.controlPointPreviousY=Math.max(Math.min(o.previous.y,t.bottom),t.top),r.controlPointNextX=Math.max(Math.min(o.next.x,t.right),t.left),r.controlPointNextY=Math.max(Math.min(o.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:a.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:a.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,a.getHoverColor(r.backgroundColor)),r.borderColor=n.hoverBorderColor?n.hoverBorderColor:a.valueAtIndexOrDefault(e.pointHoverBorderColor,i,a.getHoverColor(r.borderColor)),r.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:a.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,o=this.chart.options.elements.point;r.radius=n.radius?n.radius:a.valueAtIndexOrDefault(e.pointRadius,i,o.radius),r.backgroundColor=n.backgroundColor?n.backgroundColor:a.valueAtIndexOrDefault(e.pointBackgroundColor,i,o.backgroundColor),r.borderColor=n.borderColor?n.borderColor:a.valueAtIndexOrDefault(e.pointBorderColor,i,o.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:a.valueAtIndexOrDefault(e.pointBorderWidth,i,o.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\xf9",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\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_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\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".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\u0113kona ruarua",ss:"%d h\u0113kona",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}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".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:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},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\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".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\xe5r 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\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},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:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".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:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,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:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bidN:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=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();a.each(n.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.getMeta(),a=t.custom||{},o=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:a.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=a.valueOrDefault(n.hoverBackgroundColor,a.getHoverColor(n.backgroundColor)),e.borderColor=a.valueOrDefault(n.hoverBorderColor,a.getHoverColor(n.borderColor)),e.borderWidth=a.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,o=this.chart,s=o.data.datasets[this.index],l=t.custom||{},u=o.options.elements.point,c=a.options.resolve,d=s.data[e],h={},f={chart:o,dataIndex:e,dataset:s,datasetIndex:this.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=p.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"),a=n("RDha"),o=n("g8vO");function s(t){var e,n,i=[];for(e=0,n=t.length;eh&&lt.maxHeight){l--;break}l++,d=u*c}t.labelRotation=l},afterCalculateTickRotation:function(){a.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){a.callback(this.options.beforeFit,[this])},fit:function(){var t=this,i=t.minSize={width:0,height:0},r=s(t._ticks),l=t.options,u=l.ticks,c=l.scaleLabel,d=l.gridLines,h=l.display,f=t.isHorizontal(),p=n(u),m=l.gridLines.tickMarkLength;if(i.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&d.drawTicks?m:0,i.height=f?h&&d.drawTicks?m:0:t.maxHeight,c.display&&h){var g=o(c)+a.options.toPadding(c.padding).height;f?i.height+=g:i.width+=g}if(u.display&&h){var v=a.longestText(t.ctx,p.font,r,t.longestTextCache),_=a.numberOfLabelLines(r),y=.5*p.size,b=t.options.ticks.padding;if(f){t.longestLabelWidth=v;var k=a.toRadians(t.labelRotation),w=Math.cos(k),M=Math.sin(k);i.height=Math.min(t.maxHeight,i.height+(M*v+p.size*_+y*(_-1)+y)+b),t.ctx.font=p.font;var S=e(t.ctx,r[0],p.font),x=e(t.ctx,r[r.length-1],p.font);0!==t.labelRotation?(t.paddingLeft="bottom"===l.position?w*S+3:w*y+3,t.paddingRight="bottom"===l.position?w*y+3:w*x+3):(t.paddingLeft=S/2+3,t.paddingRight=x/2+3)}else u.mirror?v=0:v+=b+y,i.width=Math.min(t.maxWidth,i.width+v),t.paddingTop=p.size/2,t.paddingBottom=p.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(){a.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(a.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:a.noop,getPixelForValue:a.noop,getValueForPixel:a.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,o=this,s=o.isHorizontal(),l=o.options.ticks.minor,u=t.length,c=a.toRadians(o.labelRotation),d=Math.cos(c),h=o.longestLabelWidth*d,f=[];for(l.maxTicksLimit&&(r=l.maxTicksLimit),s&&(e=!1,(h+l.autoSkipPadding)*u>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((h+l.autoSkipPadding)*u/(o.width-(o.paddingLeft+o.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,f.push(i);return f},draw:function(t){var e=this,r=e.options;if(r.display){var s=e.ctx,u=i.global,c=r.ticks.minor,d=r.ticks.major||c,h=r.gridLines,f=r.scaleLabel,p=0!==e.labelRotation,m=e.isHorizontal(),g=c.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),v=a.valueOrDefault(c.fontColor,u.defaultFontColor),_=n(c),y=a.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),k=h.drawTicks?h.tickMarkLength:0,w=a.valueOrDefault(f.fontColor,u.defaultFontColor),M=n(f),S=a.options.toPadding(f.padding),x=a.toRadians(e.labelRotation),C=[],D=e.options.gridLines.lineWidth,L="right"===r.position?e.right:e.right-D-k,T="right"===r.position?e.right+k:e.right,E="bottom"===r.position?e.top+D:e.bottom-k-D,P="bottom"===r.position?e.top+D+k:e.bottom+D;if(a.each(g,(function(n,i){if(!a.isNullOrUndef(n.label)){var o,s,d,f,v,_,y,b,w,M,S,O,A,I,Y=n.label;i===e.zeroLineIndex&&r.offset===h.offsetGridLines?(o=h.zeroLineWidth,s=h.zeroLineColor,d=h.zeroLineBorderDash,f=h.zeroLineBorderDashOffset):(o=a.valueAtIndexOrDefault(h.lineWidth,i),s=a.valueAtIndexOrDefault(h.color,i),d=a.valueOrDefault(h.borderDash,u.borderDash),f=a.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var F="middle",R="middle",N=c.padding;if(m){var H=k+N;"bottom"===r.position?(R=p?"middle":"top",F=p?"right":"center",I=e.top+H):(R=p?"middle":"bottom",F=p?"left":"center",I=e.bottom-H);var j=l(e,i,h.offsetGridLines&&g.length>1);j1);z1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?a+(i(t)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?a+(i(t)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_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\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa 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 a(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"],a=r.length,o=0;o3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var a=i.log10(Math.abs(r)),o="";if(0!==t){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},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_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_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\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %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\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,a)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_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\xe4n\xe4\xe4n] [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\xe4\xe4st\xe4",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:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".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:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".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:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".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:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/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\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".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()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iM7B:function(t,e,n){"use strict";var i=n("RDha"),r=n("Hg4g"),a=n("q8Fl");t.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a._enabled?a: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\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".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\xf1ana 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\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".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:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/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:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] 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?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_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\u0119";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return r+(i(t)?"godziny":"godzin");case"MM":return r+(i(t)?"miesi\u0105ce":"miesi\u0119cy");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\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_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\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] 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\u0144",dd:"%d dni",M:"miesi\u0105c",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:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".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:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"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:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,n,a,o){var s=i(e),l=r[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kB5k:function(t,e,n){var i;!function(r){"use strict";var a,o=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,l=Math.floor,u="[BigNumber Error] ",c=u+"Number primitive has more than 15 significant digits: ",d=1e14,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],f=1e9;function p(t){var e=0|t;return t>0||t===e?e:e-1}function m(t){for(var e,n,i=1,r=t.length,a=t[0]+"";iu^n?1:-1;for(s=(l=r.length)<(u=a.length)?l:u,o=0;oa[o]^n?1:-1;return l==u?0:l>u^n?1:-1}function v(t,e,n,i){if(tn||t!==(t<0?s(t):l(t)))throw Error(u+(i||"Argument")+("number"==typeof t?tn?" out of range: ":" not an integer: ":" not a primitive number: ")+t)}function _(t){return"[object Array]"==Object.prototype.toString.call(t)}function y(t){var e=t.c.length-1;return p(t.e/14)==e&&t.c[e]%2!=0}function b(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function k(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 m.e=u,void(m.c=[t])}p=t+""}else{if(!o.test(p=t+""))return r(m,p,h);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(d=p.search(/e/i))>0?(u<0&&(u=d),u+=+p.slice(d+1),p=p.substring(0,d)):u<0&&(u=p.length)}else{if(v(e,2,H.length,"Base"),p=t+"",10==e)return W(m=new j(t instanceof j?t:p),T+m.e+1,E);if(h="number"==typeof t){if(0*t!=0)return r(m,p,h,e);if(m.s=1/t<0?(p=p.slice(1),-1):1,j.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(c+t);h=!1}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=H.slice(0,e),u=d=0,f=p.length;du){u=f;continue}}else if(!s&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){s=!0,d=-1,u=0;continue}return r(m,t+"",h,e)}(u=(p=i(p,e,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(d=0;48===p.charCodeAt(d);d++);for(f=p.length;48===p.charCodeAt(--f););if(p=p.slice(d,++f)){if(f-=d,h&&j.DEBUG&&f>15&&(t>9007199254740991||t!==l(t)))throw Error(c+m.s*t);if((u=u-d-1)>I)m.c=m.e=null;else if(us){if(--e>0)for(l+=".";e--;l+="0");}else if((e+=a-s)>0)for(a+1==s&&(l+=".");e--;l+="0");return t.s<0&&r?"-"+l:l}function V(t,e){var n,i,r=0;for(_(t[0])&&(t=t[0]),n=new j(t[0]);++r=10;r/=10,i++);return(n=i+14*n-1)>I?t.c=t.e=null:n=10;u/=10,r++);if((a=e-r)<0)a+=14,p=(c=m[f=0])/g[r-(o=e)-1]%10|0;else if((f=s((a+1)/14))>=m.length){if(!i)break t;for(;m.length<=f;m.push(0));c=p=0,r=1,o=(a%=14)-14+1}else{for(c=u=m[f],r=1;u>=10;u/=10,r++);p=(o=(a%=14)-14+r)<0?0:c/g[r-o-1]%10|0}if(i=i||e<0||null!=m[f+1]||(o<0?c:c%g[r-o-1]),i=n<4?(p||i)&&(0==n||n==(t.s<0?3:2)):p>5||5==p&&(4==n||i||6==n&&(a>0?o>0?c/g[r-o]:0:m[f-1])%10&1||n==(t.s<0?8:7)),e<1||!m[0])return m.length=0,i?(m[0]=g[(14-(e-=t.e+1)%14)%14],t.e=-e||0):m[0]=t.e=0,t;if(0==a?(m.length=f,u=1,f--):(m.length=f+1,u=g[14-a],m[f]=o>0?l(c/g[r-o]%g[o])*u:0),i)for(;;){if(0==f){for(a=1,o=m[0];o>=10;o/=10,a++);for(o=m[0]+=u,u=1;o>=10;o/=10,u++);a!=u&&(t.e++,m[0]==d&&(m[0]=1));break}if(m[f]+=u,m[f]!=d)break;m[f--]=0,u=1}for(a=m.length;0===m[--a];m.pop());}t.e>I?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(o%1e14),c+=2);c=r/2}else{if(!crypto.randomBytes)throw Y=!1,Error(u+"crypto unavailable");for(e=crypto.randomBytes(r*=7);c=9e15?crypto.randomBytes(7).copy(e,c):(d.push(o%1e14),c+=7);c=r/7}if(!Y)for(;c=10;o/=10,c++);c<14&&(i-=14-c)}return p.e=i,p.c=d,p}),i=function(){function t(t,e,n,i){for(var r,a,o=[0],s=0,l=t.length;sn-1&&(null==o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}return function(e,i,r,a,o){var s,l,u,c,d,h,f,p,g=e.indexOf("."),v=T,_=E;for(g>=0&&(c=R,R=0,e=e.replace(".",""),h=(p=new j(i)).pow(e.length-g),R=c,p.c=t(k(m(h.c),h.e,"0"),10,r,"0123456789"),p.e=p.c.length),u=c=(f=t(e,i,r,o?(s=H,"0123456789"):(s="0123456789",H))).length;0==f[--c];f.pop());if(!f[0])return s.charAt(0);if(g<0?--u:(h.c=f,h.e=u,h.s=a,f=(h=n(h,p,v,_,r)).c,d=h.r,u=h.e),g=f[l=u+v+1],c=r/2,d=d||l<0||null!=f[l+1],d=_<4?(null!=g||d)&&(0==_||_==(h.s<0?3:2)):g>c||g==c&&(4==_||d||6==_&&1&f[l-1]||_==(h.s<0?8:7)),l<1||!f[0])e=d?k(s.charAt(1),-v,s.charAt(0)):s.charAt(0);else{if(f.length=l,d)for(--r;++f[--l]>r;)f[l]=0,l||(++u,f=[1].concat(f));for(c=f.length;!f[--c];);for(g=0,e="";g<=c;e+=s.charAt(f[g++]));e=k(e,u,s.charAt(0))}return e}}(),n=function(){function t(t,e,n){var i,r,a,o,s=0,l=t.length,u=e%1e7,c=e/1e7|0;for(t=t.slice();l--;)s=((r=u*(a=t[l]%1e7)+(i=c*a+(o=t[l]/1e7|0)*u)%1e7*1e7+s)/n|0)+(i/1e7|0)+c*o,t[l]=r%n;return s&&(t=[s].concat(t)),t}function e(t,e,n,i){var r,a;if(n!=i)a=n>i?1:-1;else for(r=a=0;re[r]?1:-1;break}return a}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,a,o,s){var u,c,h,f,m,g,v,_,y,b,k,w,M,S,x,C,D,L=i.s==r.s?1:-1,T=i.c,E=r.c;if(!(T&&T[0]&&E&&E[0]))return new j(i.s&&r.s&&(T?!E||T[0]!=E[0]:E)?T&&0==T[0]||!E?0*L:L/0:NaN);for(y=(_=new j(L)).c=[],L=a+(c=i.e-r.e)+1,s||(s=d,c=p(i.e/14)-p(r.e/14),L=L/14|0),h=0;E[h]==(T[h]||0);h++);if(E[h]>(T[h]||0)&&c--,L<0)y.push(1),f=!0;else{for(S=T.length,C=E.length,h=0,L+=2,(m=l(s/(E[0]+1)))>1&&(E=t(E,m,s),T=t(T,m,s),C=E.length,S=T.length),M=C,k=(b=T.slice(0,C)).length;k=s/2&&x++;do{if(m=0,(u=e(E,b,C,k))<0){if(w=b[0],C!=k&&(w=w*s+(b[1]||0)),(m=l(w/x))>1)for(m>=s&&(m=s-1),v=(g=t(E,m,s)).length,k=b.length;1==e(g,b,v,k);)m--,n(g,C=10;L/=10,h++);W(_,a+(_.e=h+14*c-1)+1,o,f)}else _.e=c,_.r=+f;return _}}(),w=/^(-?)0([xbo])(?=\w[\w.]*$)/i,M=/^([^.]+)\.$/,S=/^\.([^.]+)$/,x=/^-?(Infinity|NaN)$/,C=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(t,e,n,i){var r,a=n?e:e.replace(C,"");if(x.test(a))t.s=isNaN(a)?null:a<0?-1:1,t.c=t.e=null;else{if(!n&&(a=a.replace(w,(function(t,e,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=r?t:e})),i&&(r=i,a=a.replace(M,"$1").replace(S,"0.$1")),e!=a))return new j(a,r);if(j.DEBUG)throw Error(u+"Not a"+(i?" base "+i:"")+" number: "+e);t.c=t.e=t.s=null}},D.absoluteValue=D.abs=function(){var t=new j(this);return t.s<0&&(t.s=1),t},D.comparedTo=function(t,e){return g(this,new j(t,e))},D.decimalPlaces=D.dp=function(t,e){var n,i,r,a=this;if(null!=t)return v(t,0,f),null==e?e=E:v(e,0,8),W(new j(a),t+a.e+1,e);if(!(n=a.c))return null;if(i=14*((r=n.length-1)-p(this.e/14)),r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},D.dividedBy=D.div=function(t,e){return n(this,new j(t,e),T,E)},D.dividedToIntegerBy=D.idiv=function(t,e){return n(this,new j(t,e),0,1)},D.exponentiatedBy=D.pow=function(t,e){var n,i,r,a,o,c,d,h=this;if((t=new j(t)).c&&!t.isInteger())throw Error(u+"Exponent not an integer: "+t);if(null!=e&&(e=new j(e)),a=t.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!t.c||!t.c[0])return d=new j(Math.pow(+h.valueOf(),a?2-y(t):+t)),e?d.mod(e):d;if(o=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new j(NaN);(i=!o&&h.isInteger()&&e.isInteger())&&(h=h.mod(e))}else{if(t.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||a&&h.c[1]>=24e7:h.c[0]<8e13||a&&h.c[0]<=9999975e7)))return r=h.s<0&&y(t)?-0:0,h.e>-1&&(r=1/r),new j(o?1/r:r);R&&(r=s(R/14+2))}for(a?(n=new j(.5),c=y(t)):c=t%2,o&&(t.s=1),d=new j(L);;){if(c){if(!(d=d.times(h)).c)break;r?d.c.length>r&&(d.c.length=r):i&&(d=d.mod(e))}if(a){if(W(t=t.times(n),t.e+1,1),!t.c[0])break;a=t.e>14,c=y(t)}else{if(!(t=l(t/2)))break;c=t%2}h=h.times(h),r?h.c&&h.c.length>r&&(h.c.length=r):i&&(h=h.mod(e))}return i?d:(o&&(d=L.div(d)),e?d.mod(e):r?W(d,R,E,void 0):d)},D.integerValue=function(t){var e=new j(this);return null==t?t=E:v(t,0,8),W(e,e.e+1,t)},D.isEqualTo=D.eq=function(t,e){return 0===g(this,new j(t,e))},D.isFinite=function(){return!!this.c},D.isGreaterThan=D.gt=function(t,e){return g(this,new j(t,e))>0},D.isGreaterThanOrEqualTo=D.gte=function(t,e){return 1===(e=g(this,new j(t,e)))||0===e},D.isInteger=function(){return!!this.c&&p(this.e/14)>this.c.length-2},D.isLessThan=D.lt=function(t,e){return g(this,new j(t,e))<0},D.isLessThanOrEqualTo=D.lte=function(t,e){return-1===(e=g(this,new j(t,e)))||0===e},D.isNaN=function(){return!this.s},D.isNegative=function(){return this.s<0},D.isPositive=function(){return this.s>0},D.isZero=function(){return!!this.c&&0==this.c[0]},D.minus=function(t,e){var n,i,r,a,o=this,s=o.s;if(e=(t=new j(t,e)).s,!s||!e)return new j(NaN);if(s!=e)return t.s=-e,o.plus(t);var l=o.e/14,u=t.e/14,c=o.c,h=t.c;if(!l||!u){if(!c||!h)return c?(t.s=-e,t):new j(h?o:NaN);if(!c[0]||!h[0])return h[0]?(t.s=-e,t):new j(c[0]?o:3==E?-0:0)}if(l=p(l),u=p(u),c=c.slice(),s=l-u){for((a=s<0)?(s=-s,r=c):(u=l,r=h),r.reverse(),e=s;e--;r.push(0));r.reverse()}else for(i=(a=(s=c.length)<(e=h.length))?s:e,s=e=0;e0)for(;e--;c[n++]=0);for(e=d-1;i>s;){if(c[--i]=0;){for(n=0,f=b[r]%1e7,m=b[r]/1e7|0,a=r+(o=l);a>r;)n=((u=f*(u=y[--o]%1e7)+(s=m*u+(c=y[o]/1e7|0)*f)%1e7*1e7+g[a]+n)/v|0)+(s/1e7|0)+m*c,g[a--]=u%v;g[a]=n}return n?++i:g.splice(0,1),z(t,g,i)},D.negated=function(){var t=new j(this);return t.s=-t.s||null,t},D.plus=function(t,e){var n,i=this,r=i.s;if(e=(t=new j(t,e)).s,!r||!e)return new j(NaN);if(r!=e)return t.s=-e,i.minus(t);var a=i.e/14,o=t.e/14,s=i.c,l=t.c;if(!a||!o){if(!s||!l)return new j(r/0);if(!s[0]||!l[0])return l[0]?t:new j(s[0]?i:0*r)}if(a=p(a),o=p(o),s=s.slice(),r=a-o){for(r>0?(o=a,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(e=l.length)<0&&(n=l,l=s,s=n,e=r),r=0;e;)r=(s[--e]=s[e]+l[e]+r)/d|0,s[e]=d===s[e]?0:s[e]%d;return r&&(s=[r].concat(s),++o),z(t,s,o)},D.precision=D.sd=function(t,e){var n,i,r,a=this;if(null!=t&&t!==!!t)return v(t,1,f),null==e?e=E:v(e,0,8),W(new j(a),t,e);if(!(n=a.c))return null;if(i=14*(r=n.length-1)+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&a.e+1>i&&(i=a.e+1),i},D.shiftedBy=function(t){return v(t,-9007199254740991,9007199254740991),this.times("1e"+t)},D.squareRoot=D.sqrt=function(){var t,e,i,r,a,o=this,s=o.c,l=o.s,u=o.e,c=T+4,d=new j("0.5");if(1!==l||!s||!s[0])return new j(!l||l<0&&(!s||s[0])?NaN:s?o:1/0);if(0==(l=Math.sqrt(+o))||l==1/0?(((e=m(s)).length+u)%2==0&&(e+="0"),l=Math.sqrt(e),u=p((u+1)/2)-(u<0||u%2),i=new j(e=l==1/0?"1e"+u:(e=l.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new j(l+""),i.c[0])for((l=(u=i.e)+c)<3&&(l=0);;)if(i=d.times((a=i).plus(n(o,a,c,1))),m(a.c).slice(0,l)===(e=m(i.c)).slice(0,l)){if(i.e0&&h>0){for(l=d.substr(0,i=h%a||a);i0&&(l+=s+d.slice(i)),c&&(l="-"+l)}n=u?l+N.decimalSeparator+((o=+N.fractionGroupSize)?u.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+N.fractionGroupSeparator):u):l}return n},D.toFraction=function(t){var e,i,r,a,o,s,l,c,d,f,p,g,v=this,_=v.c;if(null!=t&&(!(c=new j(t)).isInteger()&&(c.c||1!==c.s)||c.lt(L)))throw Error(u+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+t);if(!_)return v.toString();for(i=new j(L),f=r=new j(L),a=d=new j(L),g=m(_),s=i.e=g.length-v.e-1,i.c[0]=h[(l=s%14)<0?14+l:l],t=!t||c.comparedTo(i)>0?s>0?i:f:c,l=I,I=1/0,c=new j(g),d.c[0]=0;p=n(c,i,0,1),1!=(o=r.plus(p.times(a))).comparedTo(t);)r=a,a=o,f=d.plus(p.times(o=f)),d=o,i=c.minus(p.times(o=i)),c=o;return o=n(t.minus(r),a,0,1),d=d.plus(o.times(f)),r=r.plus(o.times(a)),d.s=f.s=v.s,e=n(f,a,s*=2,E).minus(v).abs().comparedTo(n(d,r,s,E).minus(v).abs())<1?[f.toString(),a.toString()]:[d.toString(),r.toString()],I=l,e},D.toNumber=function(){return+this},D.toPrecision=function(t,e){return null!=t&&v(t,1,f),B(this,t,e,2)},D.toString=function(t){var e,n=this,r=n.s,a=n.e;return null===a?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(e=m(n.c),null==t?e=a<=P||a>=O?b(e,a):k(e,a,"0"):(v(t,2,H.length,"Base"),e=i(k(e,a,"0"),10,t,r,!0)),r<0&&n.c[0]&&(e="-"+e)),e},D.valueOf=D.toJSON=function(){var t,e=this,n=e.e;return null===n?e.toString():(t=m(e.c),t=n<=P||n>=O?b(t,n):k(t,n,"0"),e.s<0?"-"+t:t)},D._isBigNumber=!0,null!=e&&j.set(e),j}()).default=a.BigNumber=a,void 0===(i=(function(){return a}).call(e,n,e,t))||(t.exports=i)}()},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(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 \xf4l",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?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[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=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";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?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",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} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".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:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,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\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".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\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",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 a=0;a0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return u(t,e,{intersect:!1})},point:function(t,e){return o(t,r(e,t))},nearest:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";var a=l(n.axis),o=s(t,i,n.intersect,a);return o.length>1&&o.sort((function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n})),o.slice(0,1)},x:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,(function(t){t.inXRange(i.x)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)})),n.intersect&&!s&&(o=[]),o},y:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,(function(t){t.inYRange(i.y)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)})),n.intersect&&!s&&(o=[]),o}}}},nDWh:function(t,e,n){"use strict";var i=n("6ww4"),r=n("CDJp"),a=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 o(t,i,r){var a=document.defaultView,o=t.parentNode,s=a.getComputedStyle(t)[i],l=a.getComputedStyle(o)[i],u=n(s),c=n(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,t,r):d,c?e(l,o,r):d):"none"}a.configMerge=function(){return a.merge(a.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){var o=n[e]||{},s=i[e];"scales"===e?n[e]=a.scaleMerge(o,s):"scale"===e?n[e]=a.merge(o,[t.scaleService.getScaleDefaults(s.type),s]):a._merger(e,n,i,r)}})},a.scaleMerge=function(){return a.merge(a.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){if("xAxes"===e||"yAxes"===e){var o,s,l,u=i[e].length;for(n[e]||(n[e]=[]),o=0;o=n[e].length&&n[e].push({}),a.merge(n[e][o],!n[e][o].type||l.type&&l.type!==n[e][o].type?[t.scaleService.getScaleDefaults(s),l]:l)}else a._merger(e,n,i,r)}})},a.where=function(t,e){if(a.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return a.each(t,(function(t){e(t)&&n.push(t)})),n},a.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}},a.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},a.almostEquals=function(t,e,n){return Math.abs(t-e)t},a.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},a.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},a.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},a.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},a.toRadians=function(t){return t*(Math.PI/180)},a.toDegrees=function(t){return t*(180/Math.PI)},a.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},a.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},a.aliasPixel=function(t){return t%2==0?0:.5},a.splineCurve=function(t,e,n,i){var r=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:a.x-d*(o.x-r.x),y:a.y-d*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},a.EPSILON=Number.EPSILON||1e-14,a.splineCurveMonotone=function(t){var e,n,i,r,o,s,l,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))},a.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]},a.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},a.niceNum=function(t,e){var n=Math.floor(a.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)},a.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)},a.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.currentTarget||t.srcElement,s=o.getBoundingClientRect(),l=r.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=r.clientX,i=r.clientY);var u=parseFloat(a.getStyle(o,"padding-left")),c=parseFloat(a.getStyle(o,"padding-top")),d=parseFloat(a.getStyle(o,"padding-right")),h=parseFloat(a.getStyle(o,"padding-bottom")),f=s.bottom-s.top-c-h;return{x:n=Math.round((n-s.left-u)/(s.right-s.left-u-d)*o.width/e.currentDevicePixelRatio),y:i=Math.round((i-s.top-c)/f*o.height/e.currentDevicePixelRatio)}},a.getConstraintWidth=function(t){return o(t,"max-width","clientWidth")},a.getConstraintHeight=function(t){return o(t,"max-height","clientHeight")},a.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(a.getStyle(e,"padding-left"),10),i=parseInt(a.getStyle(e,"padding-right"),10),r=e.clientWidth-n-i,o=a.getConstraintWidth(t);return isNaN(o)?r:Math.min(r,o)},a.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(a.getStyle(e,"padding-top"),10),i=parseInt(a.getStyle(e,"padding-bottom"),10),r=e.clientHeight-n-i,o=a.getConstraintHeight(t);return isNaN(o)?r:Math.min(r,o)},a.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},a.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,a=t.width;i.height=r*n,i.width=a*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},a.fontString=function(t,e,n){return e+" "+t+"px "+n},a.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var s=0;a.each(n,(function(e){null!=e&&!0!==a.isArray(e)?s=a.measureText(t,r,o,s,e):a.isArray(e)&&a.each(e,(function(e){null==e||a.isArray(e)||(s=a.measureText(t,r,o,s,e))}))}));var l=o.length/2;if(l>n.length){for(var u=0;ui&&(i=a),i},a.numberOfLabelLines=function(t){var e=1;return a.each(t,(function(t){a.isArray(t)&&t.length>e&&(e=t.length)})),e},a.color=i?function(t){return t instanceof CanvasGradient&&(t=r.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},a.getHoverColor=function(t){return t instanceof CanvasPattern?t:a.color(t).saturate(.5).darken(.1).rgbString()}}},nyYc:function(t,e,n){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".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\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] 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:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".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:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},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\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_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\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %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 a=void 0!==e.min||void 0!==e.suggestedMin,o=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)),a!==o&&t.min>=t.max&&(a?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)},a=t.ticks=function(t,e){var n,r=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var a=i.niceNum(e.max-e.min,!1);n=i.niceNum(a/(t.maxTicks-1),!0)}var o=Math.floor(e.min/n)*n,s=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(o=t.min,s=t.max);var l=(s-o)/n;l=i.almostEquals(l,Math.round(l),n/1e3)?Math.round(l):Math.ceil(l);var u=1;n<1&&(u=Math.pow(10,n.toString().length-2),o=Math.round(o*u)/u,s=Math.round(s*u)/u),r.push(void 0!==t.min?t.min:o);for(var c=1;c
      ';var r=e.childNodes[0],a=e.childNodes[1];e._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var o=function(){e._reset(),t()};return l(r,"scroll",o.bind(r,"expand")),l(a,"scroll",o.bind(a,"shrink")),e}((a=function(){if(d.resizer)return e(c("resize",n))},s=!1,u=[],function(){u=Array.prototype.slice.call(arguments),o=o||this,s||(s=!0,i.requestAnimFrame.call(window,(function(){s=!1,a.apply(o,u)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),a=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};i.each(r,(function(e){l(t,e,a)})),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()}}))}(o,n,t)},removeEventListener:function(t,e,n){var a,o,s,l=t.canvas;if("resize"!==e){var c=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];c&&u(l,e,c)}else s=(o=(a=l).$chartjs||{}).resizer,delete o.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")}(a),s&&s.parentNode&&s.parentNode.removeChild(s)}},i.addEvent=l,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?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[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+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";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\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_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:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".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:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+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\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_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\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".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\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",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"),a=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,a.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\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_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\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".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\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] 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\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},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\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".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\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_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:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},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+"),a=n("RDha");i._set("global",{plugins:{filler:{propagate:!0}}});var o={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],a=r.length||0;return a?function(t,e){return e=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function l(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,a=null;if(isFinite(r))return null;if("start"===r?a=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?a=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:i.getBasePosition?a=i.getBasePosition():i.getBasePixel&&(a=i.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if("number"==typeof a&&isFinite(a))return{x:(e=i.isHorizontal())?a:null,y:e?null:a}}return null}function u(t,e,n){var i,r=t[e].fill,a=[e];if(!n)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;a.push(r),r=i.fill}return!1}function c(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),o[n](t))}function d(t){return t&&!t.skip}function h(t,e,n,i,r){var o;if(i&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o0;--o)a.canvas.lineTo(t,n[o],n[o-1],!0)}}t.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,a,o,d=(t.data.datasets||[]).length,h=e.propagate,f=[];for(i=0;i>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([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,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function W(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(z[t]=r),e&&(z[e[0]]=function(){return H(r.apply(this,arguments),e[1],e[2])}),n&&(z[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(j);for(e=0,n=r.length;e=0&&B.test(t);)t=t.replace(B,i),B.lastIndex=0,n-=1;return t}var G=/\d/,K=/\d\d/,J=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,Q=/\d\d?/,X=/\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+/,at=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[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]=E(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 ft={};function pt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),l(e)&&(i=function(t,n){n[e]=M(t)}),n=0;n68?1900:2e3)};var yt,bt=kt("FullYear",!0);function kt(t,e){return function(n){return null!=n?(Mt(this,t,n),r.updateOffset(this,e),this):wt(this,t)}}function wt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Mt(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&_t(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),St(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function St(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?_t(t)?29:28:31-n%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function Yt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ft(t,e,n){var i=7+e-n;return-(7+Yt(t,0,i).getUTCDay()-e)%7+i-1}function Rt(t,e,n,i,r){var a,o,s=1+7*(e-1)+(7+n-i)%7+Ft(t,i,r);return s<=0?o=vt(a=t-1)+s:s>vt(t)?(a=t+1,o=s-vt(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Nt(t,e,n){var i,r,a=Ft(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?i=o+Ht(r=t.year()-1,e,n):o>Ht(t.year(),e,n)?(i=o-Ht(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ht(t,e,n){var i=Ft(t,e,n),r=Ft(t+1,e,n);return(vt(t)-i+r)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),N("week",5),N("isoWeek",5),ct("w",Q),ct("ww",Q,K),ct("W",Q),ct("WW",Q,K),mt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=M(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"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),ct("d",Q),ct("e",Q),ct("E",Q),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:p(n).invalidWeekday=t})),mt(["d","e","E"],(function(t,e,n,i){e[i]=M(t)}));var jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function zt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null}var Wt=lt,Ut=lt,qt=lt;function Gt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),l[e]=ht(l[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("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Jt(t,e){W(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Zt(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Kt),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+Kt.apply(this)+H(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Kt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),I("hour","h"),N("hour",13),ct("a",Zt),ct("A",Zt),ct("H",Q),ct("h",Q),ct("k",Q),ct("HH",Q,K),ct("hh",Q,K),ct("kk",Q,K),ct("hmm",X),ct("hmmss",tt),ct("Hmm",X),ct("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],(function(t,e,n){var i=M(t);e[3]=24===i?0:i})),pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),pt(["h","hh"],(function(t,e,n){e[3]=M(t),p(n).bigHour=!0})),pt("hmm",(function(t,e,n){var i=t.length-2;e[3]=M(t.substr(0,i)),e[4]=M(t.substr(i)),p(n).bigHour=!0})),pt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=M(t.substr(0,i)),e[4]=M(t.substr(i,2)),e[5]=M(t.substr(r)),p(n).bigHour=!0})),pt("Hmm",(function(t,e,n){var i=t.length-2;e[3]=M(t.substr(0,i)),e[4]=M(t.substr(i))})),pt("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=M(t.substr(0,i)),e[4]=M(t.substr(i,2)),e[5]=M(t.substr(r))}));var $t,Qt=kt("Hours",!0),Xt={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:Ct,monthsShort:Dt,week:{dow:0,doy:6},weekdays:jt,weekdaysMin:Vt,weekdaysShort:Bt,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var i=null;if(!te[e]&&void 0!==t&&t&&t.exports)try{i=$t._abbr,n("RnhZ")("./"+e),re(i)}catch(r){}return te[e]}function re(t,e){var n;return t&&((n=s(e)?oe(t):ae(t,e))?$t=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$t._abbr}function ae(t,e){if(null!==e){var n,i=Xt;if(e.abbr=t,null!=te[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=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])i=te[e.parentLocale]._config;else{if(null==(n=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;i=n._config}return te[t]=new O(P(i,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),re(t),te[t]}return delete te[t],null}function oe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $t;if(!a(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,n,i,r,a=0;a0;){if(i=ie(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&S(r,n,!0)>=e-1)break;e--}a++}return $t}(t)}function se(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>St(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}function le(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var e,n,i,a,o,s=[];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[2]&&null==t._a[1]&&function(t){var e,n,i,r,a,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,n=le(e.GG,t._a[0],Nt(Me(),1,4).year),i=le(e.W,1),((r=le(e.E,1))<1||r>7)&&(l=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var u=Nt(Me(),a,o);n=le(e.gg,t._a[0],u.year),i=le(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a}i<1||i>Ht(n,a,o)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=Rt(n,i,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=le(t._a[0],i[0]),(t._dayOfYear>vt(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Yt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Yt:It).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(p(t).weekdayMismatch=!0)}}var ce=/^\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)?)?$/,de=/^\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)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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}/]],pe=[["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 ge(t){var e,n,i,r,a,o,s=t._i,l=ce.exec(s)||de.exec(s);if(l){for(p(t).iso=!0,e=0,n=fe.length;e0&&p(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),z[a]?(n?p(t).empty=!1:p(t).unusedTokens.push(a),gt(a,n,t)):t._strict&&!n&&p(t).unusedTokens.push(a);p(t).charsLeftOver=l-u,s.length>0&&p(t).unusedInput.push(s),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=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[3],t._meridiem),ue(t),se(t)}else ye(t);else ge(t)}function ke(t){var e=t._i,n=t._f;return t._locale=t._locale||oe(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),k(e)?new b(se(e)):(u(e)?t._d=e:a(n)?function(t){var e,n,i,r,a;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()}));function Ce(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Me();for(n=e[0],i=1;i(a=Ht(t,i,r))&&(e=a),Qe.call(this,t,e,n,i,r))}function Qe(t,e,n,i,r){var a=Rt(t,e,n,i,r),o=Yt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ze("gggg","weekYear"),Ze("ggggg","weekYear"),Ze("GGGG","isoWeekYear"),Ze("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),ct("G",at),ct("g",at),ct("GG",Q,K),ct("gg",Q,K),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)]=M(t)})),mt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),W("Q",0,"Qo","quarter"),I("quarter","Q"),N("quarter",7),ct("Q",G),pt("Q",(function(t,e){e[1]=3*(M(t)-1)})),W("D",["DD",2],"Do","date"),I("date","D"),N("date",9),ct("D",Q),ct("DD",Q,K),ct("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),pt(["D","DD"],2),pt("Do",(function(t,e){e[2]=M(t.match(Q)[0])}));var Xe=kt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),N("dayOfYear",4),ct("DDD",et),ct("DDDD",J),pt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=M(t)})),W("m",["mm",2],0,"minute"),I("minute","m"),N("minute",14),ct("m",Q),ct("mm",Q,K),pt(["m","mm"],4);var tn=kt("Minutes",!1);W("s",["ss",2],0,"second"),I("second","s"),N("second",15),ct("s",Q),ct("ss",Q,K),pt(["s","ss"],5);var en,nn=kt("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()})),I("millisecond","ms"),N("millisecond",16),ct("S",et,G),ct("SS",et,K),ct("SSS",et,J),en="SSSS";en.length<=9;en+="S")ct(en,rt);function rn(t,e){e[6]=M(1e3*("0."+t))}for(en="S";en.length<=9;en+="S")pt(en,rn);var an=kt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var on=b.prototype;function sn(t){return t}on.add=We,on.calendar=function(t,e){var n=t||Me(),i=Ie(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=e&&(E(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,Me(n)))},on.clone=function(){return new b(this)},on.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ie(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=Y(e)){case"year":a=qe(this,i)/12;break;case"month":a=qe(this,i);break;case"quarter":a=qe(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},on.endOf=function(t){return void 0===(t=Y(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},on.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},on.from=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Me(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},on.fromNow=function(t){return this.from(Me(),t)},on.to=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Me(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},on.toNow=function(t){return this.to(Me(),t)},on.get=function(t){return E(this[t=Y(t)])?this[t]():this},on.invalidAt=function(){return p(this).overflow},on.isAfter=function(t,e){var n=k(t)?t:Me(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Y(s(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"):E(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")},on.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+'[")]')},on.toJSON=function(){return this.isValid()?this.toISOString():null},on.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},on.unix=function(){return Math.floor(this.valueOf()/1e3)},on.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},on.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){return _t(this.year())},on.weekYear=function(t){return $e.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},on.isoWeekYear=function(t){return $e.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},on.quarter=on.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},on.month=Et,on.daysInMonth=function(){return St(this.year(),this.month())},on.week=on.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},on.isoWeek=on.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},on.weeksInYear=function(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)},on.isoWeeksInYear=function(){return Ht(this.year(),1,4)},on.date=Xe,on.day=on.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},on.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")},on.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},on.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")},on.hour=on.hours=Qt,on.minute=on.minutes=tn,on.second=on.seconds=nn,on.millisecond=on.milliseconds=an,on.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ae(st,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Ye(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?ze(this,He(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ye(this)},on.utc=function(t){return this.utcOffset(0,t)},on.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},on.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ae(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},on.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Me(t).utcOffset():0,(this.utcOffset()-t)%60==0)},on.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},on.isLocal=function(){return!!this.isValid()&&!this._isUTC},on.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},on.isUtc=Fe,on.isUTC=Fe,on.zoneAbbr=function(){return this._isUTC?"UTC":""},on.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},on.dates=C("dates accessor is deprecated. Use date instead.",Xe),on.months=C("months accessor is deprecated. Use month instead",Et),on.years=C("years accessor is deprecated. Use year instead",bt),on.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()})),on.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(_(t,this),(t=ke(t))._a){var e=t._isUTC?f(t._a):Me(t._a);this._isDSTShifted=this.isValid()&&S(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ln=O.prototype;function un(t,e,n,i){var r=oe(),a=f().set(i,e);return r[n](a,t)}function cn(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return un(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=un(t,i,n,"month");return r}function dn(t,e,n,i){"boolean"==typeof t?(l(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,l(e)&&(n=e,e=void 0),e=e||"");var r,a=oe(),o=t?a._week.dow:0;if(null!=n)return un(e,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=un(e,(r+o)%7,i,"day");return s}ln.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return E(i)?i.call(e,n):i},ln.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])},ln.invalidDate=function(){return this._invalidDate},ln.ordinal=function(t){return this._ordinal.replace("%d",t)},ln.preparse=sn,ln.postformat=sn,ln.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return E(r)?r(t,e,n,i):r.replace(/%d/i,t)},ln.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return E(n)?n(e):n.replace(/%s/i,e)},ln.set=function(t){var e,n;for(n in t)E(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)},ln.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||xt).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},ln.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[xt.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ln.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([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]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.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}},ln.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Ot),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},ln.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Pt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},ln.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},ln.firstDayOfYear=function(){return this._week.doy},ln.firstDayOfWeek=function(){return this._week.dow},ln.weekdays=function(t,e){return t?a(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},ln.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},ln.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},ln.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return zt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([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]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.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}},ln.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},ln.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ln.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ln.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},ln.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},re("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===M(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.",re),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",oe);var hn=Math.abs;function fn(t,e,n,i){var r=He(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function pn(t){return t<0?Math.floor(t):Math.ceil(t)}function mn(t){return 4800*t/146097}function gn(t){return 146097*t/4800}function vn(t){return function(){return this.as(t)}}var _n=vn("ms"),yn=vn("s"),bn=vn("m"),kn=vn("h"),wn=vn("d"),Mn=vn("w"),Sn=vn("M"),xn=vn("y");function Cn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Dn=Cn("milliseconds"),Ln=Cn("seconds"),Tn=Cn("minutes"),En=Cn("hours"),Pn=Cn("days"),On=Cn("months"),An=Cn("years"),In=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,M:11};function Fn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Rn=Math.abs;function Nn(t){return(t>0)-(t<0)||+t}function Hn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Rn(this._milliseconds)/1e3,i=Rn(this._days),r=Rn(this._months);t=w(n/60),e=w(t/60),n%=60,t%=60;var a=w(r/12),o=r%=12,s=i,l=e,u=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Nn(this._months)!==Nn(d)?"-":"",p=Nn(this._days)!==Nn(d)?"-":"",m=Nn(this._milliseconds)!==Nn(d)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var jn=Le.prototype;return jn.isValid=function(){return this._isValid},jn.abs=function(){var t=this._data;return this._milliseconds=hn(this._milliseconds),this._days=hn(this._days),this._months=hn(this._months),t.milliseconds=hn(t.milliseconds),t.seconds=hn(t.seconds),t.minutes=hn(t.minutes),t.hours=hn(t.hours),t.months=hn(t.months),t.years=hn(t.years),this},jn.add=function(t,e){return fn(this,t,e,1)},jn.subtract=function(t,e){return fn(this,t,e,-1)},jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=Y(t))||"year"===t)return n=this._months+mn(e=this._days+i/864e5),"month"===t?n:n/12;switch(e=this._days+Math.round(gn(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=_n,jn.asSeconds=yn,jn.asMinutes=bn,jn.asHours=kn,jn.asDays=wn,jn.asWeeks=Mn,jn.asMonths=Sn,jn.asYears=xn,jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12):NaN},jn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*pn(gn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=w(a/1e3),l.seconds=t%60,e=w(t/60),l.minutes=e%60,n=w(e/60),l.hours=n%24,o+=w(n/24),s+=r=w(mn(o)),o-=pn(gn(r)),i=w(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},jn.clone=function(){return He(this)},jn.get=function(t){return t=Y(t),this.isValid()?this[t+"s"]():NaN},jn.milliseconds=Dn,jn.seconds=Ln,jn.minutes=Tn,jn.hours=En,jn.days=Pn,jn.weeks=function(){return w(this.days()/7)},jn.months=On,jn.years=An,jn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=He(t).abs(),r=In(i.as("s")),a=In(i.as("m")),o=In(i.as("h")),s=In(i.as("d")),l=In(i.as("M")),u=In(i.as("y")),c=r<=Yn.ss&&["s",r]||r0,c[4]=n,Fn.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},jn.toISOString=Hn,jn.toString=Hn,jn.toJSON=Hn,jn.locale=Ge,jn.localeData=Je,jn.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hn),jn.lang=Ke,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",at),ct("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),pt("x",(function(t,e,n){n._d=new Date(M(t))})),r.version="2.22.2",e=Me,r.fn=on,r.min=function(){var t=[].slice.call(arguments,0);return Ce("isBefore",t)},r.max=function(){var t=[].slice.call(arguments,0);return Ce("isAfter",t)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(t){return Me(1e3*t)},r.months=function(t,e){return cn(t,e,"months")},r.isDate=u,r.locale=re,r.invalid=g,r.duration=He,r.isMoment=k,r.weekdays=function(t,e,n){return dn(t,e,n,"weekdays")},r.parseZone=function(){return Me.apply(null,arguments).parseZone()},r.localeData=oe,r.isDuration=Te,r.monthsShort=function(t,e){return cn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return dn(t,e,n,"weekdaysMin")},r.defineLocale=ae,r.updateLocale=function(t,e){if(null!=e){var n,i,r=Xt;null!=(i=ie(t))&&(r=i._config),(n=new O(e=P(r,e))).parentLocale=te[t],te[t]=n,re(t)}else null!=te[t]&&(null!=te[t].parentLocale?te[t]=te[t].parentLocale:null!=te[t]&&delete te[t]);return te[t]},r.locales=function(){return D(te)},r.weekdaysShort=function(t,e,n){return dn(t,e,n,"weekdaysShort")},r.normalizeUnits=Y,r.relativeTimeRounding=function(t){return void 0===t?In:"function"==typeof t&&(In=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Yn[t]&&(void 0===e?Yn[t]:(Yn[t]=e,"s"===t&&(Yn.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=on,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:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]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:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x8uC:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=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:a.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var a=t[0];a.xLabel?n=a.xLabel:r>0&&a.indexi.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===l?a+=u:a-="bottom"===l?e.height+u:e.height/2,"center"===l?"left"===s?r+=u:"right"===s&&(r-=u):"left"===s?r-=c:"right"===s&&(r+=c),{x:r,y:a}}(p,y,v=function(t,e){var n,i,r,a,o,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",d="center";s.yl.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,f=(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>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=o(s.y))):i(s.x)&&(c="right",a(s.x)&&(c="center",d=o(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,y),d._chart)}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=_.x,p.y=_.y,p.width=y.width,p.height=y.height,p.caretX=b.x,p.caretY=b.y,d._model=p,e&&h.custom&&h.custom.call(d,p),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,a,o,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,m=e.width,g=e.height;if("center"===h)s=p+g/2,"left"===d?(r=(i=f)-u,a=i,o=s+u,l=s-u):(r=(i=f+m)+u,a=i,o=s-u,l=s+u);else if("left"===d?(i=(r=f+c+u)-u,a=r+u):"right"===d?(i=(r=f+m-c-u)-u,a=r+u):(i=(r=n.caretX)-u,a=r+u),"top"===h)s=(o=p)-u,l=o;else{s=(o=p+g)+u,l=o;var v=a;a=i,i=v}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,n,i,r){var o=n.title;if(o.length){i.textAlign=n._titleAlign,i.textBaseline="top";var s,l,u=n.titleFontSize,c=n.titleSpacing;for(i.fillStyle=e(n.titleFontColor,r),i.font=a.fontString(u,n._titleFontStyle,n._titleFontFamily),s=0,l=o.length;s0&&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=!a.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,a=0;for(e=0,n=t.length;e11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] 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\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var a=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}(t);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".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\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] 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\u2019":-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\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zUnb:function(t,e,n){"use strict";function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function r(t,e,n){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(r){var a=Object.getOwnPropertyDescriptor(r,e);return a.get?a.get.call(n):a.value}})(t,e,n||t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r,a=!0,o=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){o=!0,r=t},f:function(){try{a||null==i.return||i.return()}finally{if(o)throw r}}}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?a(t):e}function v(t){var e=p();return function(){var n,r=i(t);if(e){var a=i(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:new G(t,n,i);if(!r.closed)return e instanceof H?e.subscribe(r):X(e)(r)}var et=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(A);function nt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new it(t,e))}}var it=function(){function t(e,n){_(this,t),this.project=e,this.thisArg=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new rt(t,this.project,this.thisArg))}}]),t}(),rt=function(t){f(n,t);var e=v(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).project=i,o.count=0,o.thisArg=r||a(o),o}return b(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(A);function at(t,e){return new H((function(n){var i=new C,r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function ot(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[Y]}(t))return function(t,e){return new H((function(n){var i=new C;return i.add(e.schedule((function(){var r=t[Y]();i.add(r.subscribe({next:function(t){i.add(e.schedule((function(){return n.next(t)})))},error:function(t){i.add(e.schedule((function(){return n.error(t)})))},complete:function(){i.add(e.schedule((function(){return n.complete()})))}}))}))),i}))}(t,e);if(Q(t))return function(t,e){return new H((function(n){var i=new C;return i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){n.next(t),i.add(e.schedule((function(){return n.complete()})))})))}),(function(t){i.add(e.schedule((function(){return n.error(t)})))}))}))),i}))}(t,e);if($(t))return at(t,e);if(function(t){return t&&"function"==typeof t[Z]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new H((function(n){var i,r=new C;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(e.schedule((function(){i=t[Z](),r.add(e.schedule((function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}})))}))),r}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof H?t:new H(X(t))}function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(i){return i.pipe(st((function(n,i){return ot(t(n,i)).pipe(nt((function(t,r){return e(n,t,i,r)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new lt(t,n))})}var lt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_(this,t),this.project=e,this.concurrent=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new ut(t,this.project,this.concurrent))}}]),t}(),ut=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _(this,n),(r=e.call(this,t)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return b(n,[{key:"_next",value:function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(et);function ct(t){return t}function dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return st(ct,t)}function ht(t,e){return e?at(t,e):new H(K(t))}function ft(){for(var t=Number.POSITIVE_INFINITY,e=null,n=arguments.length,i=new Array(n),r=0;r1&&"number"==typeof i[i.length-1]&&(t=i.pop())):"number"==typeof a&&(t=i.pop()),null===e&&1===i.length&&i[0]instanceof H?i[0]:dt(t)(ht(i,e))}function pt(){return function(t){return t.lift(new mt(t))}}var mt=function(){function t(e){_(this,t),this.connectable=e}return b(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new gt(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),gt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return b(n,[{key:"_unsubscribe",value: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}}]),n}(A),vt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return b(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new C).add(this.source.subscribe(new yt(this.getSubject(),this))),t.closed&&(this._connection=null,t=C.EMPTY)),t}},{key:"refCount",value:function(){return pt()(this)}}]),n}(H),_t=function(){var t=vt.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}}}(),yt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return b(n,[{key:"_error",value:function(t){this._unsubscribe(),r(i(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),r(i(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value: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()}}}]),n}(z);function bt(){return new W}function kt(){return function(t){return pt()((e=bt,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,_t);return i.source=t,i.subjectFactory=n,i})(t));var e}}function wt(t){return{toString:t}.toString()}var Mt="__parameters__";function St(t,e,n){return wt((function(){var i=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(e);function r(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:Tt.Default;if(void 0===he)throw new Error("inject() must be called from an injection context");return null===he?_e(t,void 0,e):he.get(t,e&Tt.Optional?null:void 0,e)}function ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt.Default;return(Kt||me)(qt(t),e)}var ve=ge;function _e(t,e,n){var i=It(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&Tt.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(Vt(t),"]"))}function ye(t){for(var e=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:ue;if(e===ue){var n=new Error("NullInjectorError: No provider for ".concat(Vt(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}();function ke(t,e,n,i){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=Vt(e);if(Array.isArray(e))r=e.map(Vt).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Vt(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(ce,"\n "))}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}var we=function t(){_(this,t)},Me=function t(){_(this,t)};function Se(t,e){t.forEach((function(t){return Array.isArray(t)?Se(t,e):e(t)}))}function xe(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ce(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function De(t,e){for(var n=[],i=0;i=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function Te(t,e){var n=Ee(t,e);if(n>=0)return t[1|n]}function Ee(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var a=i+(r-i>>1),o=t[a<<1];if(e===o)return a<<1;o>e?r=a:i=a+1}return~(r<<1)}(t,e)}var Pe=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Oe=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Ae={},Ie=[],Ye=0;function Fe(t){return wt((function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ie,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Oe.Emulated,id:"c",styles:t.styles||Ie,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=Ye++,n.inputs=Be(t.inputs,e),n.outputs=Be(t.outputs),r&&r.forEach((function(t){return t(n)})),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(Re)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(Ne)}:null,n}))}function Re(t){return We(t)||function(t){return t[ee]||null}(t)}function Ne(t){return function(t){return t[ne]||null}(t)}var He={};function je(t){var e={type:t.type,bootstrap:t.bootstrap||Ie,declarations:t.declarations||Ie,imports:t.imports||Ie,exports:t.exports||Ie,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&wt((function(){He[t.id]=t.type})),e}function Be(t,e){if(null==t)return Ae;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}var Ve=Fe;function ze(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function We(t){return t[te]||null}function Ue(t,e){return t.hasOwnProperty(ae)?t[ae]:null}function qe(t,e){var n=t[ie]||null;if(!n&&!0===e)throw new Error("Type ".concat(Vt(t)," does not have '\u0275mod' property."));return n}function Ge(t){return Array.isArray(t)&&"object"==typeof t[1]}function Ke(t){return Array.isArray(t)&&!0===t[1]}function Je(t){return 0!=(8&t.flags)}function Ze(t){return 2==(2&t.flags)}function $e(t){return 1==(1&t.flags)}function Qe(t){return null!==t.template}function Xe(t){return 0!=(512&t[2])}var tn=function(){function t(e,n,i){_(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return b(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function en(){return nn}function nn(t){return t.type.prototype.ngOnChanges&&(t.setInput=an),rn}function rn(){var t=on(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Ae)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function an(t,e,n,i){var r=on(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ae,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new tn(l&&l.currentValue,e,o===Ae),t[i]=e}function on(t){return t.__ngSimpleChanges__||null}en.ngInherit=!0;var sn=void 0;function ln(t){return!!t.listen}var un={createRenderer:function(t,e){return void 0!==sn?sn:"undefined"!=typeof document?document:void 0}};function cn(t){for(;Array.isArray(t);)t=t[0];return t}function dn(t,e){return cn(e[t+20])}function hn(t,e){return cn(e[t.index])}function fn(t,e){return t.data[e+20]}function pn(t,e){return t[e+20]}function mn(t,e){var n=e[t];return Ge(n)?n:n[0]}function gn(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function vn(t){return 4==(4&t[2])}function _n(t){return 128==(128&t[2])}function yn(t,e){return null===t||null==e?null:t[e]}function bn(t){t[18]=0}function kn(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var wn={lFrame:Un(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Mn(){return wn.bindingsEnabled}function Sn(){return wn.lFrame.lView}function xn(){return wn.lFrame.tView}function Cn(t){wn.lFrame.contextLView=t}function Dn(){return wn.lFrame.previousOrParentTNode}function Ln(t,e){wn.lFrame.previousOrParentTNode=t,wn.lFrame.isParent=e}function Tn(){return wn.lFrame.isParent}function En(){wn.lFrame.isParent=!1}function Pn(){return wn.checkNoChangesMode}function On(t){wn.checkNoChangesMode=t}function An(){var t=wn.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function In(){return wn.lFrame.bindingIndex}function Yn(){return wn.lFrame.bindingIndex++}function Fn(t){var e=wn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Rn(t,e){var n=wn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Nn(e)}function Nn(t){wn.lFrame.currentDirectiveIndex=t}function Hn(t){var e=wn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function jn(){return wn.lFrame.currentQueryIndex}function Bn(t){wn.lFrame.currentQueryIndex=t}function Vn(t,e){var n=Wn();wn.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function zn(t,e){var n=Wn(),i=t[1];wn.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function Wn(){var t=wn.lFrame,e=null===t?null:t.child;return null===e?Un(t):e}function Un(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function qn(){var t=wn.lFrame;return wn.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var Gn=qn;function Kn(){var t=qn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Jn(t){return(wn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,wn.lFrame.contextLView))[8]}function Zn(){return wn.lFrame.selectedIndex}function $n(t){wn.lFrame.selectedIndex=t}function Qn(){var t=wn.lFrame;return fn(t.tView,t.selectedIndex)}function Xn(){wn.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ti(){wn.lFrame.currentNamespace=null}function ei(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[o]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}var si=function t(e,n,i){_(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function li(t,e,n){for(var i=ln(t),r=0;re){o=a-1;break}}}for(;a>16}function gi(t,e){for(var n=mi(t),i=e;n>0;)i=i[15],n--;return i}function vi(t){return"string"==typeof t?t:null==t?"":""+t}function _i(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():vi(t)}var yi=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Xt)}();function bi(t){return{name:"window",target:t.ownerDocument.defaultView}}function ki(t){return{name:"body",target:t.ownerDocument.body}}function wi(t){return t instanceof Function?t():t}var Mi=!0;function Si(t){var e=Mi;return Mi=t,e}var xi=0;function Ci(t,e){var n=Li(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Di(i.data,t),Di(e,null),Di(i.blueprint,null));var r=Ti(t,e),a=t.injectorIndex;if(fi(r))for(var o=pi(r),s=gi(r,e),l=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|l[o+u];return e[a+8]=r,a}function Di(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Li(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Ti(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],i=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function Ei(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(i=n[oe]),null==i&&(i=n[oe]=xi++);var r=255&i,a=1<3&&void 0!==arguments[3]?arguments[3]:Tt.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=Fi(n);if("function"==typeof a){Vn(e,t);try{var o=a();if(null!=o||i&Tt.Optional)return o;throw new Error("No provider for ".concat(_i(n),"!"))}finally{Gn()}}else if("number"==typeof a){if(-1===a)return new Hi(t,e);var s=null,l=Li(t,e),u=-1,c=i&Tt.Host?e[16][6]:null;for((-1===l||i&Tt.SkipSelf)&&(u=-1===l?Ti(t,e):e[l+8],Ni(i,!1)?(s=e[1],l=pi(u),e=gi(u,e)):l=-1);-1!==l;){u=e[l+8];var d=e[1];if(Ri(a,l,d.data)){var h=Ai(l,e,n,s,i,c);if(h!==Oi)return h}Ni(i,e[1].data[l+8]===c)&&Ri(a,l,e)?(s=d,l=pi(u),e=gi(u,e)):l=-1}}}if(i&Tt.Optional&&void 0===r&&(r=null),0==(i&(Tt.Self|Tt.Host))){var f=e[9],p=pe(void 0);try{return f?f.get(n,r,i&Tt.Optional):_e(n,r,i&Tt.Optional)}finally{pe(p)}}if(i&Tt.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(_i(n),"]"))}var Oi={};function Ai(t,e,n,i,r,a){var o=e[1],s=o.data[t+8],l=Ii(s,o,n,null==i?Ze(s)&&Mi:i!=o&&3===s.type,r&Tt.Host&&a===s);return null!==l?Yi(e,o,l,s):Oi}function Ii(t,e,n,i,r){for(var a=t.providerIndexes,o=e.data,s=1048575&a,l=t.directiveStart,u=a>>20,c=r?s+u:t.directiveEnd,d=i?s:s+u;d=l&&h.type===n)return d}if(r){var f=o[l];if(f&&Qe(f)&&f.type===n)return l}return null}function Yi(t,e,n,i){var r=t[n],a=e.data;if(r instanceof si){var o=r;if(o.resolving)throw new Error("Circular dep for ".concat(_i(a[n])));var s,l=Si(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=pe(o.injectImpl)),Vn(t,i);try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnInit,a=i.ngDoCheck;if(i.ngOnChanges){var o=nn(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,a[n],e)}finally{o.injectImpl&&pe(s),Si(l),o.resolving=!1,Gn()}}return r}function Fi(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(oe)?t[oe]:void 0;return"number"==typeof e&&e>0?255&e:e}function Ri(t,e,n){var i=64&t,r=32&t;return!!((128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e])&1<1?e-1:0),i=1;i";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}}}]),t}(),ar=function(){function t(e){if(_(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return b(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();gr.hasOwnProperty(e)&&!hr.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(Sr(t))}},{key:"checkClobberedElement",value: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: ".concat(t.outerHTML));return e}}]),t}(),wr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mr=/([^\#-~ |!])/g;function Sr(t){return t.replace(/&/g,"&").replace(wr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Mr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function xr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Cr=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}({});function Dr(t){var e,n=(e=Sn())&&e[12];return n?n.sanitize(Cr.URL,t)||"":Xi(t,"URL")?Qi(t):lr(vi(t))}function Lr(t,e){t.__ngContext__=e}function Tr(t){throw new Error("Multiple components match node with tagname ".concat(t.tagName))}function Er(){throw new Error("Cannot mix multi providers and regular providers")}function Pr(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=e.length;if(r+a===i||t.charCodeAt(r+a)<=32)return r}n=r+1}}function Or(t,e,n){for(var i=0;ia?"":r[c+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==Pr(h,u,0)||2&i&&u!==d){if(Fr(i))return!1;o=!0}}}}else{if(!o&&!Fr(i)&&!Fr(l))return!1;if(o&&Fr(l))continue;o=!1,i=l|1&i}}return Fr(i)||o}function Fr(t){return 0==(1&t)}function Rr(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Fr(o)||(e+=jr(a,r),r=""),i=o,a=a||!Fr(i);n++}return""!==r&&(e+=jr(a,r)),e}var Vr={};function zr(t){var e=t[3];return Ke(e)?e[3]:e}function Wr(t){return qr(t[13])}function Ur(t){return qr(t[4])}function qr(t){for(;null!==t&&!Ke(t);)t=t[4];return t}function Gr(t){Kr(xn(),Sn(),Zn()+t,Pn())}function Kr(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&ni(e,r,n)}else{var a=t.preOrderHooks;null!==a&&ii(e,a,0,n)}$n(n)}function Jr(t,e){return t<<17|e<<2}function Zr(t){return t>>17&32767}function $r(t){return 2|t}function Qr(t){return(131068&t)>>2}function Xr(t,e){return-131069&t|e<<2}function ta(t){return 1|t}function ea(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i20&&Kr(t,e,0,Pn()),n(i,r)}finally{$n(a)}}function ua(t,e,n){if(Je(e))for(var i=e.directiveEnd,r=e.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:hn,i=e.localNames;if(null!==i)for(var r=e.index+1,a=0;a0&&function t(e){for(var n=Wr(e);null!==n;n=Ur(n))for(var i=10;i0&&t(r)}var o=e[1].components;if(null!==o)for(var s=0;s0&&t(l)}}(n)}}function Oa(t,e){var n=mn(e,t),i=n[1];!function(t,e){for(var n=e.length;n0&&(t[n-1][4]=i[4]);var a=Ce(t,10+e);Ka(i[1],i,!1,null);var o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function $a(t,e){if(!(256&e[2])){var n=e[11];ln(n)&&n.destroyNode&&uo(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Xa(t[1],t);for(;e;){var n=null;if(Ge(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)Ge(e)&&Xa(e[1],e),e=Qa(e,t);null===e&&(e=t),Ge(e)&&Xa(e[1],e),n=e&&e[4]}e=n}}(e)}}function Qa(t,e){var n;return Ge(t)&&(n=t[6])&&2===n.type?Wa(n,t):t[3]===e?null:t[3]}function Xa(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i=0?i[s]():i[-s].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&ln(e[11])&&e[11].destroy();var i=e[17];if(null!==i&&Ke(e[3])){i!==e[3]&&Ja(i,e);var r=e[19];null!==r&&r.detachView(t)}}}function to(t,e,n){for(var i=e.parent;null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){var r=n[6];return 2===r.type?Ua(r,n):n[0]}if(e&&5===e.type&&4&e.flags)return hn(e,n).parentNode;if(2&i.flags){var a=t.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==Oe.ShadowDom&&o!==Oe.Native)return null}return hn(i,n)}function eo(t,e,n,i){ln(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function no(t,e,n){ln(t)?t.appendChild(e,n):e.appendChild(n)}function io(t,e,n,i){null!==i?eo(t,e,n,i):no(t,e,n)}function ro(t,e){return ln(t)?t.parentNode(e):e.parentNode}function ao(t,e){if(2===t.type){var n=Wa(t,e);return null===n?null:so(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?hn(t,e):null}function oo(t,e,n,i){var r=to(t,i,e);if(null!=r){var a=e[11],o=ao(i.parent||e[6],e);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}$a(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){pa(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){Ia(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Ya(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){On(!0);try{Ya(t,e,n)}finally{On(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,uo(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView;return null==t[0]?function t(e,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(cn(o)),Ke(o))for(var s=10;s0;)this.remove(this.length-1)}},{key:"get",value:function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){var o=a.get(we,null);o&&(r=o)}var s=t.create(a,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var n=t._lView,i=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ke(n[3])){var r=this.indexOf(t);if(-1!==r)this.detach(r);else{var a=n[3],o=new vo(a,a[6],a[3]);o.detach(o.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=e),i1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return bo(e,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new Hi(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var t=Ti(this._hostTNode,this._hostView),e=gi(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=mi(t),o=e,s=e[6];a>1;)s=(o=o[15])[6],a--;return s}(t,this._hostView,this._hostTNode);return fi(t)&&null!=n?new Hi(n,e):new Hi(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),i}(t));var a=i[n.index];if(Ke(a))r=a;else{var o;if(4===n.type)o=cn(a);else if(o=i[11].createComment(""),Xe(i)){var s=i[11],l=hn(n,i);eo(s,ro(s,l),o,function(t,e){return ln(t)?t.nextSibling(e):e.nextSibling}(s,l))}else oo(i[1],i,o,n);i[n.index]=r=Ea(a,i,o,n),Aa(i,r)}return new vo(r,n,i)}function Mo(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return So(Dn(),Sn(),t)}function So(t,e,n){if(!n&&Ze(t)){var i=mn(t.index,e);return new _o(i,i)}return 3===t.type||0===t.type||4===t.type||5===t.type?new _o(e[16],e):null}var xo=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=function(){return Co()},t}(),Co=Mo,Do=Function,Lo=new se("Set Injector scope."),To={},Eo={},Po=[],Oo=void 0;function Ao(){return void 0===Oo&&(Oo=new be),Oo}function Io(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Yo(t,n,e||Ao(),i)}var Yo=function(){function t(e,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&Se(n,(function(t){return r.processProvider(t,e,n)})),Se([e],(function(t){return r.processInjectorType(t,[],o)})),this.records.set(le,No(void 0,this));var s=this.records.get(Lo);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof e?null:Vt(e))}return b(t,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(t){return t.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tt.Default;this.assertNotDestroyed();var i=fe(this);try{if(!(n&Tt.SkipSelf)){var r=this.records.get(t);if(void 0===r){var a=Bo(t)&&It(t);r=a&&this.injectableDefInScope(a)?No(Fo(t),To):null,this.records.set(t,r)}if(null!=r)return this.hydrate(t,r)}var o=n&Tt.Self?Ao():this.parent;return o.get(t,e=n&Tt.Optional&&e===ue?null:e)}catch(l){if("NullInjectorError"===l.name){var s=l.ngTempTokenPath=l.ngTempTokenPath||[];if(s.unshift(Vt(t)),i)throw l;return ke(l,t,"R3InjectorError",this.source)}throw l}finally{fe(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))}},{key:"toString",value:function(){var t=[];return this.records.forEach((function(e,n){return t.push(Vt(n))})),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=qt(t)))return!1;var r=Ft(t),a=null==r&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=Ft(a)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(o);try{Se(r.imports,(function(t){i.processInjectorType(t,e,n)&&(void 0===l&&(l=[]),l.push(t))}))}finally{}if(void 0!==l)for(var u=function(t){var e=l[t],n=e.ngModule,r=e.providers;Se(r,(function(t){return i.processProvider(t,n,r||Po)}))},c=0;c0){var n=De(e,"?");throw new Error("Can't resolve all parameters for ".concat(Vt(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[Rt]||t[jt]||t[Ht]&&t[Ht]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function Ro(t,e,n){var i,r=void 0;if(jo(t)){var a=qt(t);return Ue(a)||Fo(a)}if(Ho(t))r=function(){return qt(t.useValue)};else if((i=t)&&i.useFactory)r=function(){return t.useFactory.apply(t,u(ye(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))r=function(){return ge(qt(t.useExisting))};else{var o=qt(t&&(t.useClass||t.provide));if(o||function(t,e,n){var i="";if(t&&e){var r=e.map((function(t){return t==n?"?"+n+"?":"..."}));i=" - only instances of Provider and Type are allowed, got: [".concat(r.join(", "),"]")}throw new Error("Invalid provider for the NgModule '".concat(Vt(t),"'")+i)}(e,n,t),!function(t){return!!t.deps}(t))return Ue(o)||Fo(o);r=function(){return k(o,u(ye(t.deps)))}}return r}function No(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function Ho(t){return null!==t&&"object"==typeof t&&de in t}function jo(t){return"function"==typeof t}function Bo(t){return"function"==typeof t||"object"==typeof t&&t instanceof se}var Vo=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Io(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},zo=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Vo(t,e,""):Vo(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=ue,t.NULL=new be,t.\u0275prov=Ot({token:t,providedIn:"any",factory:function(){return ge(le)}}),t.__NG_ELEMENT_ID__=-1,t}(),Wo=new se("AnalyzeForEntryComponents");function Uo(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,a=0;if(null!==e)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:Tt.Default,n=Sn();if(null==n)return ge(t,e);var i=Dn();return Pi(i,n,qt(t),e)}function as(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=Sn(),a=xn(),o=Dn();return bs(a,r,r[11],o,t,e,n,i),vs}function _s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=Dn(),a=Sn(),o=xn(),s=Hn(o.data),l=ja(s,r,a);return bs(o,a,l,r,t,e,n,i),_s}function ys(t,e,n,i){var r=t.cleanup;if(null!=r)for(var a=0;al?s[l]:null}"string"==typeof o&&(a+=2)}return null}function bs(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=$e(i),u=t.firstCreatePass,c=u&&(t.cleanup||(t.cleanup=[])),d=Ha(e),h=!0;if(3===i.type){var f=hn(i,e),p=s?s(f):Ae,m=p.target||f,g=d.length,v=s?function(t){return s(cn(t[i.index])).target}:i.index;if(ln(n)){var _=null;if(!s&&l&&(_=ys(t,e,r,i.index)),null!==_){var y=_.__ngLastListenerFn__||_;y.__ngNextListenerFn__=a,_.__ngLastListenerFn__=a,h=!1}else{a=ws(i,e,a,!1);var b=n.listen(p.name||m,r,a);d.push(a,b),c&&c.push(r,v,g,g+1)}}else a=ws(i,e,a,!0),m.addEventListener(r,a,o),d.push(a),c&&c.push(r,v,g,o)}var k,w=i.outputs;if(h&&null!==w&&(k=w[r])){var M=k.length;if(M)for(var S=0;S0&&void 0!==arguments[0]?arguments[0]:1;return Jn(t)}function Ss(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Sn(),r=xn(),a=ra(r,i[6],t,1,null,n||null);null===a.projection&&(a.projection=e),En(),co(r,i,a)}function Ds(t,e,n){return Ls(t,"",e,"",n),Ds}function Ls(t,e,n,i,r){var a=Sn(),o=es(a,e,n,i);return o!==Vr&&va(xn(),Qn(),a,t,o,a[11],r,!1),Ls}var Ts=[];function Es(t,e,n,i,r){for(var a=t[n+1],o=null===e,s=i?Zr(a):Qr(a),l=!1;0!==s&&(!1===l||o);){var u=t[s+1];Ps(t[s],e)&&(l=!0,t[s+1]=i?ta(u):$r(u)),s=i?Zr(u):Qr(u)}l&&(t[n+1]=i?$r(a):ta(a))}function Ps(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Ee(t,e)>=0}var Os={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function As(t){return t.substring(Os.key,Os.keyEnd)}function Is(t){return t.substring(Os.value,Os.valueEnd)}function Ys(t,e){var n=Os.textEnd;return n===e?-1:(e=Os.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Os.key=e,n),Ns(t,e,n))}function Fs(t,e){var n=Os.textEnd,i=Os.key=Ns(t,e,n);return n===i?-1:(i=Os.keyEnd=function(t,e,n){for(var i;e=65&&(-33&i)<=90);)e++;return e}(t,i,n),i=Hs(t,i,n),i=Os.value=Ns(t,i,n),i=Os.valueEnd=function(t,e,n){for(var i=-1,r=-1,a=-1,o=e,s=o;o32&&(s=o),a=r,r=i,i=-33&l}return s}(t,i,n),Hs(t,i,n))}function Rs(t){Os.key=0,Os.keyEnd=0,Os.value=0,Os.valueEnd=0,Os.textEnd=t.length}function Ns(t,e,n){for(;e=0;n=Fs(e,n))Xs(t,As(e),Is(e))}function Us(t){Ks(Le,qs,t,!0)}function qs(t,e){for(var n=function(t){return Rs(t),Ys(t,Ns(t,0,Os.textEnd))}(e);n>=0;n=Ys(e,n))Le(t,As(e),!0)}function Gs(t,e,n,i){var r=Sn(),a=xn(),o=Fn(2);a.firstUpdatePass&&Zs(a,t,o,i),e!==Vr&&Qo(r,o,e)&&tl(a,a.data[Zn()+20],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=Vt(Qi(t)))),t}(e,n),i,o)}function Ks(t,e,n,i){var r=xn(),a=Fn(2);r.firstUpdatePass&&Zs(r,null,a,i);var o=Sn();if(n!==Vr&&Qo(o,a,n)){var s=r.data[Zn()+20];if(il(s,i)&&!Js(r,a)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=zt(l,n||"")),ss(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===Vr&&(r=Ts);for(var l=0,u=0,c=0=t.expandoStartIndex}function Zs(t,e,n,i){var r=t.data;if(null===r[n+1]){var a=r[Zn()+20],o=Js(t,n);il(a,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){var r=Hn(t),a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Qs(n=$s(null,t,e,n,i),e.attrs,i),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=$s(r,t,e,n,i),null===a){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==Qr(i))return t[Zr(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[Zr(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=Qs(s=$s(null,t,e,s[1],i),e.attrs,i))}else a=function(t,e,n){for(var i=void 0,r=e.directiveEnd,a=1+e.directiveStylingLast;a0)&&(c=!0):u=n,r)if(0!==l){var d=Zr(t[s+1]);t[i+1]=Jr(d,s),0!==d&&(t[d+1]=Xr(t[d+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=Jr(s,0),0!==s&&(t[s+1]=Xr(t[s+1],i)),s=i;else t[i+1]=Jr(l,0),0===s?s=i:t[l+1]=Xr(t[l+1],i),l=i;c&&(t[i+1]=$r(t[i+1])),Es(t,u,i,!0),Es(t,u,i,!1),function(t,e,n,i,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&Ee(a,e)>=0&&(n[i+1]=ta(n[i+1]))}(e,u,t,i,a),o=Jr(s,l),a?e.classBindings=o:e.styleBindings=o}(r,a,e,n,o,i)}}function $s(t,e,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var l=t[r],u=Array.isArray(l),c=u?l[1]:l,d=null===c,h=n[r+1];h===Vr&&(h=d?Ts:void 0);var f=d?Te(h,i):c===i?h:void 0;if(u&&!nl(f)&&(f=Te(l,i)),nl(f)&&(s=f,o))return s;var p=t[r+1];r=o?Zr(p):Qr(p)}if(null!==e){var m=a?e.residualClasses:e.residualStyles;null!=m&&(s=Te(m,i))}return s}function nl(t){return void 0!==t}function il(t,e){return 0!=(t.flags&(e?16:32))}function rl(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Sn(),i=xn(),r=t+20,a=i.firstCreatePass?ra(i,n[6],t,3,null,null):i.data[r],o=n[r]=Ga(e,n[11]);oo(i,n,o,a),Ln(a,!1)}function al(t){return ol("",t,""),al}function ol(t,e,n){var i=Sn(),r=es(i,t,e,n);return r!==Vr&&za(i,Zn(),r),ol}function sl(t,e,n,i,r){var a=Sn(),o=function(t,e,n,i,r,a){var o=Xo(t,In(),n,r);return Fn(2),o?e+vi(n)+i+vi(r)+a:Vr}(a,t,e,n,i,r);return o!==Vr&&za(a,Zn(),o),sl}function ll(t,e,n,i,r,a,o){var s=Sn(),l=function(t,e,n,i,r,a,o,s){var l=function(t,e,n,i,r){var a=Xo(t,e,n,i);return Qo(t,e+2,r)||a}(t,In(),n,r,o);return Fn(3),l?e+vi(n)+i+vi(r)+a+vi(o)+s:Vr}(s,t,e,n,i,r,a,o);return l!==Vr&&za(s,Zn(),l),ll}function ul(t,e,n,i,r,a,o,s,l){var u=Sn(),c=function(t,e,n,i,r,a,o,s,l,u){var c=function(t,e,n,i,r,a){var o=Xo(t,e,n,i);return Xo(t,e+2,r,a)||o}(t,In(),n,r,o,l);return Fn(4),c?e+vi(n)+i+vi(r)+a+vi(o)+s+vi(l)+u:Vr}(u,t,e,n,i,r,a,o,s,l);return c!==Vr&&za(u,Zn(),c),ul}function cl(t,e,n){var i=Sn();return Qo(i,Yn(),e)&&va(xn(),Qn(),i,t,e,i[11],n,!0),cl}function dl(t,e,n){var i=Sn();if(Qo(i,Yn(),e)){var r=xn(),a=Qn();va(r,a,i,t,e,ja(Hn(r.data),a,i),n,!0)}return dl}function hl(t,e){var n=gn(t)[1],i=n.data.length-1;ei(n,{directiveStart:i,directiveEnd:i+1})}function fl(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,i=[t];e;){var r=void 0;if(Qe(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var a=t;a.inputs=pl(t.inputs),a.declaredInputs=pl(t.declaredInputs),a.outputs=pl(t.outputs);var o=r.hostBindings;o&&vl(t,o);var s=r.viewQuery,l=r.contentQueries;if(s&&ml(t,s),l&&gl(t,l),Pt(t.inputs,r.inputs),Pt(t.declaredInputs,r.declaredInputs),Pt(t.outputs,r.outputs),Qe(r)&&r.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var d=0;d=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=di(r.hostAttrs,n=di(n,r.hostAttrs))}}(i)}function pl(t){return t===Ae?{}:t===Ie?[]:t}function ml(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function gl(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function vl(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}function _l(t,e,n){var i=xn();if(i.firstCreatePass){var r=Qe(t);yl(n,i.data,i.blueprint,r,!0),yl(e,i.data,i.blueprint,r,!1)}}function yl(t,e,n,i,r){if(t=qt(t),Array.isArray(t))for(var a=0;a>20;if(jo(t)||!t.multi){var p=new si(u,r,rs),m=wl(l,e,r?d:d+f,h);-1===m?(Ei(Ci(c,s),o,l),bl(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var g=wl(l,e,d+f,h),v=wl(l,e,d,d+f),_=v>=0&&n[v];if(r&&!_||!r&&!(g>=0&&n[g])){Ei(Ci(c,s),o,l);var y=function(t,e,n,i,r){var a=new si(t,n,rs);return a.multi=[],a.index=e,a.componentProviders=0,kl(a,r,i&&!n),a}(r?Sl:Ml,n.length,r,i,u);!r&&_&&(n[v].providerFactory=y),bl(o,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(y),s.push(y)}else bl(o,t,g>-1?g:v,kl(n[r?v:g],u,!r&&i));!r&&i&&_&&n[v].componentProviders++}}}function bl(t,e,n,i){var r=jo(e);if(r||e.useClass){var a=(e.useClass||e).prototype.ngOnDestroy;if(a){var o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function kl(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function wl(t,e,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return _l(n,i?i(t):t,e)}}}var Dl=function t(){_(this,t)},Ll=function t(){_(this,t)},Tl=function(){function t(){_(this,t)}return b(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(Vt(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),El=function(){var t=function t(){_(this,t)};return t.NULL=new Tl,t}(),Pl=function(){var t=function t(e){_(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=function(){return Ol(t)},t}(),Ol=function(t){return bo(t,Dn(),Sn())},Al=function t(){_(this,t)},Il=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Yl=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=function(){return Fl()},t}(),Fl=function(){var t=Sn(),e=mn(Dn().index,t);return function(t){var e=t[11];if(ln(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ge(e)?e:t)},Rl=function(){var t=function t(){_(this,t)};return t.\u0275prov=Ot({token:t,providedIn:"root",factory:function(){return null}}),t}(),Nl=function t(e){_(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},Hl=new Nl("10.0.7"),jl=function(){function t(){_(this,t)}return b(t,[{key:"supports",value:function(t){return Jo(t)}},{key:"create",value:function(t){return new Vl(t)}}]),t}(),Bl=function(t,e){return e},Vl=function(){function t(e){_(this,t),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Bl}return b(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var a=!n||e&&e.currentIndex0&&po(u,d,y.join(" "))}if(a=fn(p,0),void 0!==e)for(var b=a.projection=[],k=0;k ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var _u=new Map,yu=function(t){f(n,t);var e=v(n);function n(t,i){var r;_(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=a(r),r.destroyCbs=[],r.componentFactoryResolver=new ou(a(r));var o=qe(t),s=t[re]||null;return s&&vu(s),r._bootstrapComponents=wi(o.bootstrap),r._r3Injector=Io(t,i,[{provide:we,useValue:a(r)},{provide:El,useValue:r.componentFactoryResolver}],Vt(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return b(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tt.Default;return t===zo||t===we||t===le?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(we),bu=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).moduleType=t,null!==qe(t)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(Vt(e)," vs ").concat(Vt(e.name)))})(n,_u.get(n),e),_u.set(n,e)}var i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(e){return t(e)}))}(t),i}return b(n,[{key:"create",value:function(t){return new yu(this.moduleType,t)}}]),n}(Me);function ku(t,e,n){var i=An()+t,r=Sn();return r[i]===Vr?$o(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function wu(t,e,n,i){return xu(Sn(),An(),t,e,n,i)}function Mu(t,e,n,i,r){return Cu(Sn(),An(),t,e,n,i,r)}function Su(t,e){var n=t[e];return n===Vr?void 0:n}function xu(t,e,n,i,r,a){var o=e+n;return Qo(t,o,r)?$o(t,o+1,a?i.call(a,r):i(r)):Su(t,o+1)}function Cu(t,e,n,i,r,a,o){var s=e+n;return Xo(t,s,r,a)?$o(t,s+2,o?i.call(o,r,a):i(r,a)):Su(t,s+2)}function Du(t,e){var n,i=xn(),r=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new Error("The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=Ue(n.type)),o=pe(rs),s=Si(!1),l=a();return Si(s),pe(o),function(t,e,n,i){var r=n+20;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=i}(i,Sn(),t,l),l}function Lu(t,e,n){var i=Sn(),r=pn(i,t);return Pu(i,Eu(i,t)?xu(i,An(),e,r.transform,n,r):r.transform(n))}function Tu(t,e,n,i){var r=Sn(),a=pn(r,t);return Pu(r,Eu(r,t)?Cu(r,An(),e,a.transform,n,i,a):a.transform(n,i))}function Eu(t,e){return t[1].data[e+20].pure}function Pu(t,e){return Ko.isWrapped(e)&&(e=Ko.unwrap(e),t[In()]=Vr),e}var Ou=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _(this,n),(t=e.call(this)).__isAsync=i,t}return b(n,[{key:"emit",value:function(t){r(i(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,a){var o,s=function(t){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(s=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},e&&(s=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)}),a&&(l=this.__isAsync?function(){setTimeout((function(){return a()}))}:function(){a()}));var u=r(i(n.prototype),"subscribe",this).call(this,o,s,l);return t instanceof C&&t.add(u),u}}]),n}(W);function Au(){return this._results[Go()]()}var Iu=function(){function t(){_(this,t),this.dirty=!0,this._results=[],this.changes=new Ou,this.length=0;var e=Go(),n=t.prototype;n[e]||(n[e]=Au)}return b(t,[{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return b(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;_(this,t),this.predicate=e,this.descendants=n,this.isStatic=i,this.read=r},Nu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return b(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return b(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i0)r.push(s[l/2]);else{for(var c=o[l+1],d=n[-u],h=10;h0&&void 0!==arguments[0]?arguments[0]:Tt.Default,e=Mo(!0);if(null!=e||t&Tt.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var nc=new se("Application Initializer"),ic=function(){var t=function(){function t(e){var n=this;_(this,t),this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,e){n.resolve=t,n.reject=e}))}return b(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i0&&(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})}},{key:"whenStable",value: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()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Ac=function(){var t=function(){function t(){_(this,t),this._applications=new Map,Ic.addToWindow(this)}return b(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ic.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Ic=new(function(){function t(){_(this,t)}return b(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Yc=function(t,e,n){var i=new bu(n);return Promise.resolve(i)},Fc=new se("AllowMultipleToken"),Rc=function t(e,n){_(this,t),this.name=e,this.token=n};function Nc(t){if(Ec&&!Ec.destroyed&&!Ec.injector.get(Fc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ec=t.get(Vc);var e=t.get(sc,null);return e&&e.forEach((function(t){return t()})),Ec}function Hc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new se(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Bc();if(!a||a.injector.get(Fc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var o=n.concat(e).concat({provide:r,useValue:!0},{provide:Lo,useValue:"platform"});Nc(zo.create({providers:o,name:i}))}return jc(r)}}function jc(t){var e=Bc();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}function Bc(){return Ec&&!Ec.destroyed?Ec:null}var Vc=function(){var t=function(){function t(e){_(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return b(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,i,r=this,a=(i=e&&e.ngZoneEventCoalescing||!1,"noop"===(n=e?e.ngZone:void 0)?new Pc:("zone.js"===n?void 0:n)||new Mc({enableLongStackTrace:ir(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Mc,useValue:a}];return a.run((function(){var e=zo.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(Ui,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Uc(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(t){i.handleError(t)}})})),function(t,e,i){try{var a=((o=n.injector.get(ic)).runInitializers(),o.donePromise.then((function(){return vu(n.injector.get(dc,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return ms(a)?a.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):a}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=zc({},n);return Yc(0,0,t).then((function(t){return e.bootstrapModuleFactory(t,i)}))}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Wc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(Vt(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)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"destroy",value: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}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(zo))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function zc(t,e){return Array.isArray(e)?e.reduce(zc,t):Object.assign(Object.assign({},t),e)}var Wc=function(){var t=function(){function t(e,n,i,r,a,o){var s=this;_(this,t),this._zone=e,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ir(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var l=new H((function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){t.next(s._stable),t.complete()}))})),u=new H((function(t){var e;s._zone.runOutsideAngular((function(){e=s._zone.onStable.subscribe((function(){Mc.assertNotInAngularZone(),wc((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Mc.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=ft(l,u.pipe(kt()))}return b(t,[{key:"bootstrap",value: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 Ll?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(we),a=n.create(zo.NULL,[],e||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(Oc,null);return o&&a.injector.get(Ac).registerApplication(a.location.nativeElement,o),this._loadComponent(a),ir()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=d(this._views);try{for(n.s();!(e=n.n()).done;)e.value.detectChanges()}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var i,r=d(this._views);try{for(r.s();!(i=r.n()).done;)i.value.checkNoChanges()}catch(a){r.e(a)}finally{r.f()}}}catch(o){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;Uc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(uc,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))}},{key:"_unloadComponent",value:function(t){this.detachView(t.hostView),Uc(this.components,t)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(t){return t.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(cc),ge(zo),ge(Ui),ge(El),ge(ic))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function Uc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var qc=function t(){_(this,t)},Gc=function t(){_(this,t)},Kc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Jc=function(){var t=function(){function t(e,n){_(this,t),this._compiler=e,this._config=n||Kc}return b(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,i=l(t.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(r).then((function(t){return t[a]})).then((function(t){return Zc(t,r,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))}},{key:"loadFactory",value:function(t){var e=l(t.split("#"),2),i=e[0],r=e[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(t){return t[r+a]})).then((function(t){return Zc(t,i,r)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(bc),ge(Gc,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function Zc(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var $c=Hc(null,"core",[{provide:lc,useValue:"unknown"},{provide:Vc,deps:[zo]},{provide:Ac,deps:[]},{provide:cc,deps:[]}]),Qc=[{provide:Wc,useClass:Wc,deps:[Mc,cc,zo,Ui,El,ic]},{provide:lu,deps:[Mc],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:ic,useClass:ic,deps:[[new Ct,nc]]},{provide:bc,useClass:bc,deps:[]},ac,{provide:Zl,useFactory:function(){return Xl},deps:[]},{provide:$l,useFactory:function(){return tu},deps:[]},{provide:dc,useFactory:function(t){return vu(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new xt(dc),new Ct,new Lt]]},{provide:hc,useValue:"USD"}],Xc=function(){var t=function t(e){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)(ge(Wc))},providers:Qc}),t}(),td=null;function ed(){return td}var nd=function t(){_(this,t)},id=new se("DocumentToken"),rd=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:ad,token:t,providedIn:"platform"}),t}();function ad(){return ge(sd)}var od=new se("Location Initialized"),sd=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i._init(),i}return b(n,[{key:"_init",value:function(){this.location=ed().getLocation(),this._history=ed().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return ed().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){ed().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}},{key:"onHashChange",value:function(t){ed().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}},{key:"pushState",value:function(t,e,n){ld()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){ld()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(rd);return t.\u0275fac=function(e){return new(e||t)(ge(id))},t.\u0275prov=Ot({factory:ud,token:t,providedIn:"platform"}),t}();function ld(){return!!window.history.pushState}function ud(){return new sd(ge(id))}function cd(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function dd(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function hd(t){return t&&"?"!==t[0]?"?"+t:t}var fd=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:pd,token:t,providedIn:"root"}),t}();function pd(t){var e=ge(id).location;return new gd(ge(rd),e&&e.origin||"")}var md=new se("appBaseHref"),gd=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;if(_(this,n),(r=e.call(this))._platformLocation=t,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)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 r._baseHref=i,r}return b(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return cd(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+hd(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+hd(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+hd(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(fd);return t.\u0275fac=function(e){return new(e||t)(ge(rd),ge(md,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),vd=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",null!=i&&(r._baseHref=i),r}return b(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=cd(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+hd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+hd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(fd);return t.\u0275fac=function(e){return new(e||t)(ge(rd),ge(md,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),_d=function(){var t=function(){function t(e,n){var i=this;_(this,t),this._subject=new Ou,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=dd(bd(r)),this._platformStrategy.onPopState((function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})}))}return b(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+hd(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,bd(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+hd(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+hd(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)})))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(t,e)}))}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(fd),ge(rd))},t.normalizeQueryParams=hd,t.joinWithSlash=cd,t.stripTrailingSlash=dd,t.\u0275prov=Ot({factory:yd,token:t,providedIn:"root"}),t}();function yd(){return new _d(ge(fd),ge(rd))}function bd(t){return t.replace(/\/index.html$/,"")}var kd={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},wd=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),Md=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}({}),Sd=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),xd=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Cd=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Dd=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 Ld(t,e){return Yd(pu(t)[gu.DateFormat],e)}function Td(t,e){return Yd(pu(t)[gu.TimeFormat],e)}function Ed(t,e){return Yd(pu(t)[gu.DateTimeFormat],e)}function Pd(t,e){var n=pu(t),i=n[gu.NumberSymbols][e];if(void 0===i){if(e===Dd.CurrencyDecimal)return n[gu.NumberSymbols][Dd.Decimal];if(e===Dd.CurrencyGroup)return n[gu.NumberSymbols][Dd.Group]}return i}function Od(t,e){return pu(t)[gu.NumberFormats][e]}function Ad(t){return pu(t)[gu.Currencies]}function Id(t){if(!t[gu.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[gu.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Yd(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 Fd(t){var e=l(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function Rd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",i=Ad(n)[t]||kd[t]||[],r=i[1];return"narrow"===e&&"string"==typeof r?r:i[0]||t}var Nd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hd={},jd=/((?:[^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]*)/,Bd=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Vd=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}({}),zd=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 Wd(t,e,n,i){var r=function(t){if(rh(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 i=l(t.split("-").map((function(t){return+t})),3);return new Date(i[0],i[1]-1,i[2])}if(e=t.match(Nd))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=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 o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,l,u),e}(e)}var r=new Date(t);if(!rh(r))throw new Error('Unable to convert "'.concat(t,'" into a date'));return r}(t);e=function t(e,n){var i=function(t){return pu(t)[gu.LocaleId]}(e);if(Hd[i]=Hd[i]||{},Hd[i][n])return Hd[i][n];var r="";switch(n){case"shortDate":r=Ld(e,Cd.Short);break;case"mediumDate":r=Ld(e,Cd.Medium);break;case"longDate":r=Ld(e,Cd.Long);break;case"fullDate":r=Ld(e,Cd.Full);break;case"shortTime":r=Td(e,Cd.Short);break;case"mediumTime":r=Td(e,Cd.Medium);break;case"longTime":r=Td(e,Cd.Long);break;case"fullTime":r=Td(e,Cd.Full);break;case"short":var a=t(e,"shortTime"),o=t(e,"shortDate");r=Ud(Ed(e,Cd.Short),[a,o]);break;case"medium":var s=t(e,"mediumTime"),l=t(e,"mediumDate");r=Ud(Ed(e,Cd.Medium),[s,l]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");r=Ud(Ed(e,Cd.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),h=t(e,"fullDate");r=Ud(Ed(e,Cd.Full),[d,h])}return r&&(Hd[i][n]=r),r}(n,e)||e;for(var a,o=[];e;){if(!(a=jd.exec(e))){o.push(e);break}var s=(o=o.concat(a.slice(1))).pop();if(!s)break;e=s}var u=r.getTimezoneOffset();i&&(u=ih(i,u),r=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*(ih(e,i)-i))}(r,i));var c="";return o.forEach((function(t){var e=function(t){if(nh[t])return nh[t];var e;switch(t){case"G":case"GG":case"GGG":e=Zd(zd.Eras,xd.Abbreviated);break;case"GGGG":e=Zd(zd.Eras,xd.Wide);break;case"GGGGG":e=Zd(zd.Eras,xd.Narrow);break;case"y":e=Kd(Vd.FullYear,1,0,!1,!0);break;case"yy":e=Kd(Vd.FullYear,2,0,!0,!0);break;case"yyy":e=Kd(Vd.FullYear,3,0,!1,!0);break;case"yyyy":e=Kd(Vd.FullYear,4,0,!1,!0);break;case"M":case"L":e=Kd(Vd.Month,1,1);break;case"MM":case"LL":e=Kd(Vd.Month,2,1);break;case"MMM":e=Zd(zd.Months,xd.Abbreviated);break;case"MMMM":e=Zd(zd.Months,xd.Wide);break;case"MMMMM":e=Zd(zd.Months,xd.Narrow);break;case"LLL":e=Zd(zd.Months,xd.Abbreviated,Sd.Standalone);break;case"LLLL":e=Zd(zd.Months,xd.Wide,Sd.Standalone);break;case"LLLLL":e=Zd(zd.Months,xd.Narrow,Sd.Standalone);break;case"w":e=eh(1);break;case"ww":e=eh(2);break;case"W":e=eh(1,!0);break;case"d":e=Kd(Vd.Date,1);break;case"dd":e=Kd(Vd.Date,2);break;case"E":case"EE":case"EEE":e=Zd(zd.Days,xd.Abbreviated);break;case"EEEE":e=Zd(zd.Days,xd.Wide);break;case"EEEEE":e=Zd(zd.Days,xd.Narrow);break;case"EEEEEE":e=Zd(zd.Days,xd.Short);break;case"a":case"aa":case"aaa":e=Zd(zd.DayPeriods,xd.Abbreviated);break;case"aaaa":e=Zd(zd.DayPeriods,xd.Wide);break;case"aaaaa":e=Zd(zd.DayPeriods,xd.Narrow);break;case"b":case"bb":case"bbb":e=Zd(zd.DayPeriods,xd.Abbreviated,Sd.Standalone,!0);break;case"bbbb":e=Zd(zd.DayPeriods,xd.Wide,Sd.Standalone,!0);break;case"bbbbb":e=Zd(zd.DayPeriods,xd.Narrow,Sd.Standalone,!0);break;case"B":case"BB":case"BBB":e=Zd(zd.DayPeriods,xd.Abbreviated,Sd.Format,!0);break;case"BBBB":e=Zd(zd.DayPeriods,xd.Wide,Sd.Format,!0);break;case"BBBBB":e=Zd(zd.DayPeriods,xd.Narrow,Sd.Format,!0);break;case"h":e=Kd(Vd.Hours,1,-12);break;case"hh":e=Kd(Vd.Hours,2,-12);break;case"H":e=Kd(Vd.Hours,1);break;case"HH":e=Kd(Vd.Hours,2);break;case"m":e=Kd(Vd.Minutes,1);break;case"mm":e=Kd(Vd.Minutes,2);break;case"s":e=Kd(Vd.Seconds,1);break;case"ss":e=Kd(Vd.Seconds,2);break;case"S":e=Kd(Vd.FractionalSeconds,1);break;case"SS":e=Kd(Vd.FractionalSeconds,2);break;case"SSS":e=Kd(Vd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Qd(Bd.Short);break;case"ZZZZZ":e=Qd(Bd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Qd(Bd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Qd(Bd.Long);break;default:return null}return nh[t]=e,e}(t);c+=e?e(r,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}function Ud(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function qd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));for(var o=String(t);o.length2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s=Jd(t,a);if((n>0||s>-n)&&(s+=n),t===Vd.Hours)0===s&&-12===n&&(s=12);else if(t===Vd.FractionalSeconds)return Gd(s,e);var l=Pd(o,Dd.MinusSign);return qd(s,e,l,i,r)}}function Jd(t,e){switch(t){case Vd.FullYear:return e.getFullYear();case Vd.Month:return e.getMonth();case Vd.Date:return e.getDate();case Vd.Hours:return e.getHours();case Vd.Minutes:return e.getMinutes();case Vd.Seconds:return e.getSeconds();case Vd.FractionalSeconds:return e.getMilliseconds();case Vd.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}function Zd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Sd.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,a){return $d(r,a,t,e,n,i)}}function $d(t,e,n,i,r,a){switch(n){case zd.Months:return function(t,e,n){var i=pu(t),r=Yd([i[gu.MonthsFormat],i[gu.MonthsStandalone]],e);return Yd(r,n)}(e,r,i)[t.getMonth()];case zd.Days:return function(t,e,n){var i=pu(t),r=Yd([i[gu.DaysFormat],i[gu.DaysStandalone]],e);return Yd(r,n)}(e,r,i)[t.getDay()];case zd.DayPeriods:var o=t.getHours(),s=t.getMinutes();if(a){var u=function(t){var e=pu(t);return Id(e),(e[gu.ExtraData][2]||[]).map((function(t){return"string"==typeof t?Fd(t):[Fd(t[0]),Fd(t[1])]}))}(e),c=function(t,e,n){var i=pu(t);Id(i);var r=Yd([i[gu.ExtraData][0],i[gu.ExtraData][1]],e)||[];return Yd(r,n)||[]}(e,r,i),d=u.findIndex((function(t){if(Array.isArray(t)){var e=l(t,2),n=e[0],i=e[1],r=o>=n.hours&&s>=n.minutes,a=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Bd.Short:return(r>=0?"+":"")+qd(o,2,a)+qd(Math.abs(r%60),2,a);case Bd.ShortGMT:return"GMT"+(r>=0?"+":"")+qd(o,1,a);case Bd.Long:return"GMT"+(r>=0?"+":"")+qd(o,2,a)+":"+qd(Math.abs(r%60),2,a);case Bd.Extended:return 0===i?"Z":(r>=0?"+":"")+qd(o,2,a)+":"+qd(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function Xd(t){var e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}function th(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function eh(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r;if(e){var a=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();r=1+Math.floor((o+a)/7)}else{var s=Xd(n.getFullYear()),l=th(n).getTime()-s.getTime();r=1+Math.round(l/6048e5)}return qd(r,t,Pd(i,Dd.MinusSign))}}var nh={};function ih(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function rh(t){return t instanceof Date&&!isNaN(t.valueOf())}var ah=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function oh(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",l=!1;if(isFinite(t)){var u=ch(t);o&&(u=uh(u));var c=e.minInt,d=e.minFrac,h=e.maxFrac;if(a){var f=a.match(ah);if(null===f)throw new Error("".concat(a," is not a valid digit info"));var p=f[1],m=f[3],g=f[5];null!=p&&(c=hh(p)),null!=m&&(d=hh(m)),null!=g?h=hh(g):null!=m&&d>h&&(h=d)}dh(u,d,h);var v=u.digits,_=u.integerLen,y=u.exponent,b=[];for(l=v.every((function(t){return!t}));_0?b=v.splice(_,v.length):(b=v,v=[0]);var k=[];for(v.length>=e.lgSize&&k.unshift(v.splice(-e.lgSize,v.length).join(""));v.length>e.gSize;)k.unshift(v.splice(-e.gSize,v.length).join(""));v.length&&k.unshift(v.join("")),s=k.join(Pd(n,i)),b.length&&(s+=Pd(n,r)+b.join("")),y&&(s+=Pd(n,Dd.Exponential)+"+"+y)}else s=Pd(n,Dd.Infinity);return t<0&&!l?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}function sh(t,e,n,i,r){var a=lh(Od(e,wd.Currency),Pd(e,Dd.MinusSign));return a.minFrac=function(t){var e,n=kd[t];return n&&(e=n[2]),"number"==typeof e?e:2}(i),a.maxFrac=a.minFrac,oh(t,a,e,Dd.CurrencyGroup,Dd.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}function lh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(a=o.length))e=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=i,e=[],r=0;i<=a;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}function dh(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(n,")."));var i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(e,r),n),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(var l=o;l=5)if(o-1<0){for(var c=0;c>o;c--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=h?i.pop():d=!1),e>=10?1:0}),0);f&&(i.unshift(f),t.integerLen++)}function hh(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var fh=function t(){_(this,t)};function ph(t,e,n,i){var r="=".concat(t);if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(t,'"'))}var mh=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).locale=t,i}return b(n,[{key:"getPluralCategory",value:function(t,e){switch(function(t){return pu(t)[gu.PluralCase]}(e||this.locale)(t)){case Md.Zero:return"zero";case Md.One:return"one";case Md.Two:return"two";case Md.Few:return"few";case Md.Many:return"many";default:return"other"}}}]),n}(fh);return t.\u0275fac=function(e){return new(e||t)(ge(dc))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function gh(t,e){e=encodeURIComponent(e);var n,i=d(t.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,a=r.indexOf("="),o=l(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),s=o[1];if(o[0].trim()===e)return decodeURIComponent(s)}}catch(u){i.e(u)}finally{i.f()}return null}var vh=function(){var t=function(){function t(e,n,i,r){_(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return b(t,[{key:"ngDoCheck",value: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)}}},{key:"_applyKeyValueChanges",value: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)}))}},{key:"_applyIterableChanges",value: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 ".concat(Vt(t.item)));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))}},{key:"_applyClasses",value: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])})))}},{key:"_removeClasses",value: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)})))}},{key:"_toggleClass",value: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)}))}},{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set: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&&(Jo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Zl),rs($l),rs(Pl),rs(Yl))},t.\u0275dir=Ve({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),_h=function(){var t=function(){function t(e){_(this,t),this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return b(t,[{key:"ngOnChanges",value:function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(we);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(El)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(iu))},t.\u0275dir=Ve({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[en]}),t}(),yh=function(){function t(e,n,i,r){_(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}return b(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),bh=function(){var t=function(){function t(e,n,i){_(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return b(t,[{key:"ngDoCheck",value: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 '".concat(t,"' of type '").concat((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)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation((function(t,i,r){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new yh(null,e._ngForOf,-1,-1),null===r?void 0:r),o=new kh(t,a);n.push(o)}else if(null==r)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,r);var l=new kh(t,s);n.push(l)}}));for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==e||""===e||e!=e)return null;try{return Wd(e,n,r||this.locale,i)}catch(a){throw Ah(t,a.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(dc))},t.\u0275pipe=ze({name:"date",type:t,pure:!0}),t}(),zh=/#/g,Wh=function(){var t=function(){function t(e){_(this,t),this._localization=e}return b(t,[{key:"transform",value:function(e,n,i){if(null==e)return"";if("object"!=typeof n||null===n)throw Ah(t,n);return n[ph(e,Object.keys(n),this._localization,i)].replace(zh,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(fh))},t.\u0275pipe=ze({name:"i18nPlural",type:t,pure:!0}),t}(),Uh=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw Ah(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ze({name:"i18nSelect",type:t,pure:!0}),t}(),qh=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ze({name:"json",type:t,pure:!1}),t}();function Gh(t,e){return{key:t,value:e}}var Kh=function(){var t=function(){function t(e){_(this,t),this.differs=e,this.keyValues=[]}return b(t,[{key:"transform",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jh;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var i=this.differ.diff(t);return i&&(this.keyValues=[],i.forEachItem((function(t){e.keyValues.push(Gh(t.key,t.currentValue))})),this.keyValues.sort(n)),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs($l))},t.\u0275pipe=ze({name:"keyvalue",type:t,pure:!1}),t}();function Jh(t,e){var n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n1&&void 0!==arguments[1]?arguments[1]:"USD";_(this,t),this._locale=e,this._defaultCurrencyCode=n}return b(t,[{key:"transform",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(Xh(e))return null;a=a||this._locale,"boolean"==typeof i&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),i=i?"symbol":"code");var o=n||this._defaultCurrencyCode;"code"!==i&&(o="symbol"===i||"symbol-narrow"===i?Rd(o,"symbol"===i?"wide":"narrow",a):i);try{var s=tf(e);return sh(s,a,o,n,r)}catch(l){throw Ah(t,l.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(dc),rs(hc))},t.\u0275pipe=ze({name:"currency",type:t,pure:!0}),t}();function Xh(t){return null==t||""===t||t!=t}function tf(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error("".concat(t," is not a number"));return t}var ef,nf=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(e,n,i){if(null==e)return e;if(!this.supports(e))throw Ah(t,e);return e.slice(n,i)}},{key:"supports",value:function(t){return"string"==typeof t||Array.isArray(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ze({name:"slice",type:t,pure:!1}),t}(),rf=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[{provide:fh,useClass:mh}]}),t}(),af=function(){var t=function t(){_(this,t)};return t.\u0275prov=Ot({token:t,providedIn:"root",factory:function(){return new of(ge(id),window,ge(Ui))}}),t}(),of=function(){function t(e,n,i){_(this,t),this.document=e,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}return b(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#".concat(t));if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='".concat(t,"']"));if(n)return void this.scrollToElement(n)}catch(i){this.errorHandler.handleError(i)}}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}]),t}(),sf=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=lf||(lf=document.querySelector("base"))?lf.getAttribute("href"):null;return null==n?null:(e=n,ef||(ef=document.createElement("a")),ef.setAttribute("href",e),"/"===ef.pathname.charAt(0)?ef.pathname:"/"+ef.pathname)}},{key:"resetBaseElement",value:function(){lf=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return gh(document.cookie,t)}}],[{key:"makeCurrent",value:function(){var t;t=new n,td||(td=t)}}]),n}(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.call(this)}return b(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(nd)),lf=null,uf=new se("TRANSITION_ID"),cf=[{provide:nc,useFactory:function(t,e,n){return function(){n.get(ic).donePromise.then((function(){var n=ed();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t})).forEach((function(t){return n.remove(t)}))}))}},deps:[uf,id,zo],multi:!0}],df=function(){function t(){_(this,t)}return b(t,[{key:"addToWindow",value:function(t){Xt.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Xt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Xt.getAllAngularRootElements=function(){return t.getAllRootElements()},Xt.frameworkStabilizers||(Xt.frameworkStabilizers=[]),Xt.frameworkStabilizers.push((function(t){var e=Xt.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach((function(t){t.whenStable(r)}))}))}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?ed().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){var e;e=new t,Ic=e}}]),t}(),hf=new se("EventManagerPlugins"),ff=function(){var t=function(){function t(e,n){var i=this;_(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach((function(t){return t.manager=i})),this._plugins=e.slice().reverse()}return b(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i-1&&(e.splice(n,1),a+=t+".")})),a+=r,0!=e.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Ef.hasOwnProperty(e)&&(e=Ef[e]))}return Tf[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Lf.forEach((function(i){i!=n&&(0,Pf[i])(t)&&(e+=i+".")})),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded((function(){return e(r)}))}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(pf);return t.\u0275fac=function(e){return new(e||t)(ge(id))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Af=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:function(){return ge(If)},token:t,providedIn:"root"}),t}(),If=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i}return b(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case Cr.NONE:return e;case Cr.HTML:return Xi(e,"HTML")?Qi(e):function(t,e){var n=null;try{dr=dr||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new rr:new ar(t)}(t);var i=e?String(e):"";n=dr.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=dr.getInertBodyElement(i)}while(i!==a);var o=new kr,s=o.sanitizeChildren(xr(n)||n);return ir()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=xr(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e));case Cr.STYLE:return Xi(e,"Style")?Qi(e):e;case Cr.SCRIPT:if(Xi(e,"Script"))return Qi(e);throw new Error("unsafe value used in a script context");case Cr.URL:return tr(e),Xi(e,"URL")?Qi(e):lr(String(e));case Cr.RESOURCE_URL:if(Xi(e,"ResourceURL"))return Qi(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return new Gi(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return new Ki(t)}},{key:"bypassSecurityTrustScript",value:function(t){return new Ji(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return new Zi(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return new $i(t)}}]),n}(Af);return t.\u0275fac=function(e){return new(e||t)(ge(id))},t.\u0275prov=Ot({factory:function(){return t=ge(le),new If(t.get(id));var t},token:t,providedIn:"root"}),t}(),Yf=Hc($c,"browser",[{provide:lc,useValue:"browser"},{provide:sc,useValue:function(){sf.makeCurrent(),df.init()},multi:!0},{provide:id,useFactory:function(){return function(t){sn=t}(document),document},deps:[]}]),Ff=[[],{provide:Lo,useValue:"root"},{provide:Ui,useFactory:function(){return new Ui},deps:[]},{provide:hf,useClass:Df,multi:!0,deps:[id,Mc,lc]},{provide:hf,useClass:Of,multi:!0,deps:[id]},[],{provide:Mf,useClass:Mf,deps:[ff,gf,rc]},{provide:Al,useExisting:Mf},{provide:mf,useExisting:gf},{provide:gf,useClass:gf,deps:[id]},{provide:Oc,useClass:Oc,deps:[Mc]},{provide:ff,useClass:ff,deps:[hf,Mc]},[]],Rf=function(){var t=function(){function t(e){if(_(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return b(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:rc,useValue:e.appId},{provide:uf,useExisting:rc},cf]}}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)(ge(t,12))},providers:Ff,imports:[rf,Xc]}),t}();"undefined"!=typeof window&&window;var Nf=function t(){_(this,t)},Hf=function t(){_(this,t)};function jf(t,e){return{type:7,name:t,definitions:e,options:{}}}function Bf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function Vf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:t,options:e}}function zf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function Wf(t){return{type:6,styles:t,offset:null}}function Uf(t,e,n){return{type:0,name:t,styles:e,options:n}}function qf(t){return{type:5,steps:t}}function Gf(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function Kf(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function Jf(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function Zf(t){Promise.resolve(null).then(t)}var $f=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+n}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;Zf((function(){return t._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(t){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}(),Qf=function(){function t(e){var n=this;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,a=0,o=this.players.length;0==o?Zf((function(){return n._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++i==o&&n._onFinish()})),t.onDestroy((function(){++r==o&&n._onDestroy()})),t.onStart((function(){++a==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(t){return t.init()}))}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))}},{key:"pause",value:function(){this.players.forEach((function(t){return t.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(t){return t.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}},{key:"getPosition",value:function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t}},{key:"beforeDestroy",value:function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}();function Xf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function tp(t){switch(t.length){case 0:return new $f;case 1:return t[0];default:return new Qf(t)}}function ep(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(i.forEach((function(t){var n=t.offset,i=n==l,c=i&&u||{};Object.keys(t).forEach((function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),s){case"!":s=r[n];break;case"*":s=a[n];break;default:s=e.normalizeStyleValue(n,i,s,o)}c[i]=s})),i||s.push(c),u=c,l=n})),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function np(t,e,n,i){switch(e){case"start":t.onStart((function(){return i(n&&ip(n,"start",t))}));break;case"done":t.onDone((function(){return i(n&&ip(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return i(n&&ip(n,"destroy",t))}))}}function ip(t,e,n){var i=n.totalTime,r=rp(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function rp(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function ap(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function op(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var sp=function(t,e){return!1},lp=function(t,e){return!1},up=function(t,e,n){return[]},cp=Xf();(cp||"undefined"!=typeof Element)&&(sp=function(t,e){return t.contains(e)},lp=function(){if(cp||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:lp}(),up=function(t,e,n){var i=[];if(n)i.push.apply(i,u(t.querySelectorAll(e)));else{var r=t.querySelector(e);r&&i.push(r)}return i});var dp=null,hp=!1;function fp(t){dp||(dp=("undefined"!=typeof document?document.body:null)||{},hp=!!dp.style&&"WebkitAppearance"in dp.style);var e=!0;return dp.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in dp.style)&&hp&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in dp.style),e}var pp=lp,mp=sp,gp=up;function vp(t){var e={};return Object.keys(t).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]})),e}var _p=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"validateStyleProperty",value:function(t){return fp(t)}},{key:"matchesElement",value:function(t,e){return pp(t,e)}},{key:"containsElement",value:function(t,e){return mp(t,e)}},{key:"query",value:function(t,e,n){return gp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,r){return new $f(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),yp=function(){var t=function t(){_(this,t)};return t.NOOP=new _p,t}();function bp(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:kp(parseFloat(e[1]),e[2])}function kp(t,e){switch(e){case"s":return 1e3*t;default:return t}}function wp(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,a="";if("string"==typeof t){var o=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=kp(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=kp(parseFloat(s),o[4]));var l=o[5];l&&(a=l)}else i=t;if(!n){var u=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(t,e,n)}function Mp(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function Sp(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else Mp(t,n);return n}function xp(t,e,n){return n?e+":"+n+";":""}function Cp(t){for(var e="",n=0;n *";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 "'.concat(t,'" is not supported')),e;var a=r[1],o=r[2],s=r[3];e.push(Vp(a,s)),"<"!=o[0]||"*"==a&&"*"==s||e.push(Vp(s,a))}(t,r,i)})):r.push(n),r),animation:a,queryCount:e.queryCount,depCount:e.depCount,options:Kp(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Np(n,t,e)})),options:Kp(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,a=t.steps.map((function(t){e.currentTime=i;var a=Np(n,t,e);return r=Math.max(r,e.currentTime),a}));return e.currentTime=r,{type:3,steps:a,options:Kp(t.options)}}},{key:"visitAnimate",value:function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Jp(wp(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var r=Jp(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Jp((n=n||wp(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Wf({});if(5==r.type)n=this.visitKeyframes(r,e);else{var a=t.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=Wf(s)}e.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,e);l.isEmptyStep=o,n=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?"*"==t?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)})):n.push(t.styles);var i=!1,r=null;return n.forEach((function(t){if(Gp(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var a in e)if(e[a].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,u=e.collectedStyles[e.currentQuerySelector],c=u[i],d=!0;c&&(a!=r&&a>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),d=!1),a=c.startTime),d&&(u[i]={startTime:a,endTime:r}),e.options&&(o=e.errors,s=e.options.params||{},(l=Pp(t[i])).length&&l.forEach((function(t){s.hasOwnProperty(t)||o.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})))}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value: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,a=[],o=!1,s=!1,l=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(Gp(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Gp(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),s=s||c<0||c>1,o=o||c0&&r0?r==h?1:d*r:a[r],s=o*m;e.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=o,i.styles.push(t)})),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:Np(this,Tp(t.animation),e),options:Kp(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:Kp(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Kp(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=l(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(zp,"")),[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),a=r[0],o=r[1];e.currentQuerySelector=n.length?n+" "+a:a,ap(e.collectedStyles,e.currentQuerySelector,{});var s=Np(this,Tp(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:Kp(t.options)}}},{key:"visitStagger",value: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"}:wp(t.timings,e.errors,!0);return{type:12,animation:Np(this,Tp(t.animation),e),timings:n,options:null}}}]),t}(),qp=function t(e){_(this,t),this.errors=e,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 Gp(t){return!Array.isArray(t)&&"object"==typeof t}function Kp(t){var e;return t?(t=Mp(t)).params&&(t.params=(e=t.params)?Mp(e):null):t={},t}function Jp(t,e,n){return{duration:t,delay:e,easing:n}}function Zp(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var $p=function(){function t(){_(this,t),this._map=new Map}return b(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,i=this._map.get(t);i||this._map.set(t,i=[]),(n=i).push.apply(n,u(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),Qp=new RegExp(":enter","g"),Xp=new RegExp(":leave","g");function tm(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new em).buildKeyframes(t,e,n,i,r,a,o,s,l,u)}var em=function(){function t(){_(this,t)}return b(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,a,o,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new $p;var c=new im(t,e,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([a],null,c.errors,s),Np(this,n,c);var d=c.timelines.filter((function(t){return t.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,c.errors,s)}return d.length?d.map((function(t){return t.buildKeyframes()})):[Zp(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?bp(n.duration):null,a=null!=n.delay?bp(n.delay):null;return 0!==r&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),Np(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=nm);var o=bp(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach((function(t){return Np(n,t,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,a=t.options&&t.options.delay?bp(t.options.delay):0;t.steps.forEach((function(o){var s=e.createSubContext(t.options);a&&s.delayNextStep(a),Np(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return wp(e.params?Op(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value: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}},{key:"visitStyle",value: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}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach((function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?bp(r.delay):0;a&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=nm);var o=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);a&&s.delayNextStep(a),i===e.element&&(l=s.currentTimeline),Np(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1),s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Np(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),t}(),nm={},im=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=nm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new rm(this._driver,n,0),s.push(this.currentTimeline)}return b(t,[{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=bp(i.duration)),null!=i.delay&&(r.delay=bp(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(t){e&&o.hasOwnProperty(t)||(o[t]=Op(a[t],o,n.errors))}))}}}},{key:"_copyOptions",value: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}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=nm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value: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 am(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,i,r,a){var o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(Qp,"."+this._enterClassName)).replace(Xp,"."+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)),o.push.apply(o,u(s))}return r||0!=o.length||a.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),o}},{key:"params",get:function(){return this.options.params}}]),t}(),rm=function(){function t(e,n,i,r){_(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return b(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value: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}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value: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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||"*",e._currentKeyframe[t]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},o=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]="*"})):Sp(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(o).forEach((function(t){var e=Op(o[t],a,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:"*"),r._updateStyle(t,e)}))}},{key:"applyStylesToKeyframe",value: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])})))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value: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)}))}},{key:"buildKeyframes",value: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(a,o){var s=Sp(a,!0);Object.keys(s).forEach((function(t){var i=s[t];"!"==i?e.add(t):"*"==i&&n.add(t)})),i||(s.offset=o/t.duration),r.push(s)}));var a=e.size?Ap(e.values()):[],o=n.size?Ap(n.values()):[];if(i){var s=r[0],l=Mp(s);s.offset=0,l.offset=1,r=[s,l]}return Zp(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}}]),t}(),am=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _(this,n),(l=e.call(this,t,i,s.delay)).element=i,l.keyframes=r,l.preStyleProps=a,l.postStyleProps=o,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return b(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,l=Sp(t[0],!1);l.offset=0,a.push(l);var u=Sp(t[0],!1);u.offset=om(s),a.push(u);for(var c=t.length-1,d=1;d<=c;d++){var h=Sp(t[d],!1);h.offset=om((n+h.offset*i)/o),a.push(h)}i=o,n=0,r="",t=a}return Zp(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(rm);function om(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var sm=function t(){_(this,t)},lm=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"normalizePropertyName",value:function(t,e){return Yp(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",a=n.toString().trim();if(um[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return a+r}}]),n}(sm),um=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 cm(t,e,n,i,r,a,o,s,l,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var dm={},hm=function(){function t(e,n,i){_(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return b(t,[{key:"match",value: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)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}},{key:"build",value:function(t,e,n,i,r,a,o,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||dm,h=this.buildStyles(n,o&&o.params||dm,c),f=s&&s.params||dm,p=this.buildStyles(i,f,c),m=new Set,g=new Map,v=new Map,_="void"===i,y={params:Object.assign(Object.assign({},d),f)},b=u?[]:tm(t,e,this.ast.animation,r,a,h,p,y,l,c),k=0;if(b.forEach((function(t){k=Math.max(t.duration+t.delay,k)})),c.length)return cm(e,this._triggerName,n,i,_,h,p,[],[],g,v,k,c);b.forEach((function(t){var n=t.element,i=ap(g,n,{});t.preStyleProps.forEach((function(t){return i[t]=!0}));var r=ap(v,n,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),n!==e&&m.add(n)}));var w=Ap(m.values());return cm(e,this._triggerName,n,i,_,h,p,b,w,g,v,k)}}]),t}(),fm=function(){function t(e,n){_(this,t),this.styles=e,this.defaultParams=n}return b(t,[{key:"buildStyles",value:function(t,e){var n={},i=Mp(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 a=r[t];a.length>1&&(a=Op(a,i,e)),n[t]=a}))}})),n}}]),t}(),pm=function(){function t(e,n){var i=this;_(this,t),this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(t){i.states[t.name]=new fm(t.style,t.options&&t.options.params||{})})),mm(this.states,"true","1"),mm(this.states,"false","0"),n.transitions.forEach((function(t){i.transitionFactories.push(new hm(e,t,i.states))})),this.fallbackTransition=new hm(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return b(t,[{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find((function(r){return r.match(t,e,n,i)}))||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),t}();function mm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var gm=new $p,vm=function(){function t(e,n,i){_(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return b(t,[{key:"register",value:function(t,e){var n=[],i=Wp(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=ep(this._driver,this._normalizer,i,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[t],s=new Map;if(o?(n=tm(this._driver,e,o,"ng-enter","ng-leave",{},{},r,gm,a)).forEach((function(t){var e=ap(s,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));s.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,"*")}))}));var l=n.map((function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)})),u=tp(l);return this._playersById[t]=u,u.onDestroy((function(){return i.destroy(t)})),this.players.push(u),u}},{key:"destroy",value: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)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var r=rp(e,"","","");return np(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value: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}(),_m=[],ym={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},bm={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},km=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_(this,t),this.namespaceId=n;var i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Cm(r),i){var a=Mp(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return b(t,[{key:"absorbOptions",value: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])}))}}},{key:"params",get:function(){return this.options.params}}]),t}(),wm=new km("void"),Mm=function(){function t(e,n,i){_(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Pm(n,this._hostClassName)}return b(t,[{key:"listen",value:function(t,e,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var o=ap(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);var l=ap(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Pm(t,"ng-trigger"),Pm(t,"ng-trigger-"+e),l[e]=wm),function(){a._engine.afterFlush((function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),a._triggers[e]||delete l[e]}))}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(e),o=new xm(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Pm(t,"ng-trigger"),Pm(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new km(n,this.id),c=n&&n.hasOwnProperty("value");!c&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=wm);var d="void"===u.value;if(d||l.value!==u.value){var h=ap(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var f=a.matchTransition(l.value,u.value,t,u.params),p=!1;if(!f){if(!r)return;f=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(Pm(t,"ng-animate-queued"),o.onStart((function(){Om(t,"ng-animate-queued")}))),o.onDone((function(){var e=i.players.indexOf(o);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),h.push(o),o}if(!Im(l.params,u.params)){var m=[],g=a.matchStyles(l.value,l.params,m),v=a.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush((function(){Lp(t,g),Dp(t,v)}))}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach((function(e,n){delete e[t]})),this._elementListeners.forEach((function(n,i){e._elementListeners.set(i,n.filter((function(e){return e.name!=t})))}))}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach((function(t){return t.destroy()})),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach((function(t){if(!t.__ng_removed){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach((function(n){return n.triggerLeaveAnimation(t,e,!1,!0)})):n.clearElementCache(t)}})),this._engine.afterFlushAnimationsDone((function(){return i.forEach((function(t){return n.clearElementCache(t)}))}))}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,a=this._engine.statesByElement.get(t);if(a){var o=[];if(Object.keys(a).forEach((function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&o.push(n)}})),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&tp(o).onDone((function(){return r._engine.processLeaveNode(t)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach((function(n){var r=n.name;if(!i.has(r)){i.add(r);var a=e._triggers[r].fallbackTransition,o=e._engine.statesByElement.get(t)[r]||wm,s=new km("void"),l=new xm(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:a,fromState:o,toState:s,player:l,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else for(var o=t;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t.__ng_removed;s&&s!==ym||(i.afterFlush((function(){return n.clearElementCache(t)})),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Pm(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach((function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=e._elementListeners.get(a);o&&o.forEach((function(e){if(e.name==i.triggerName){var n=rp(a,i.triggerName,i.fromState.value,i.toState.value);n._data=t,np(i.player,e.phase,n,e.callback)}})),r.markedForDestroy?e._engine.afterFlush((function(){r.destroy()})):n.push(i)}})),this._queue=[],n.sort((function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1}))}},{key:"destroy",value:function(t){this.players.forEach((function(t){return t.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find((function(e){return e.element===t}))||e}}]),t}(),Sm=function(){function t(e,n,i){_(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return b(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"createNamespace",value:function(t,e){var n=new Mm(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=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}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value: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)}))}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value: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(a,1)}if(t){var o=this._fetchNamespace(t);o&&o.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Pm(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Om(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,n,i){if(Dm(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Dm(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value: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)}},{key:"destroyInnerAnimations",value: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)}))}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise((function(e){if(t.players.length)return tp(t.players).onDone((function(){return e()}));e()}))}},{key:"processLeaveNode",value:function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=ym,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)}))}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;D--)this._namespaceList[D].drainQueuedTransitions(e).forEach((function(t){var e=t.player,a=t.element;if(x.push(e),n.collectedEnterElements.length){var u=a.__ng_removed;if(u&&u.setForMove)return void e.destroy()}var d=!h||!n.driver.containsElement(h,a),f=M.get(a),p=m.get(a),g=n._buildInstruction(t,i,p,f,d);if(g.errors&&g.errors.length)C.push(g);else{if(d)return e.onStart((function(){return Lp(a,g.fromStyles)})),e.onDestroy((function(){return Dp(a,g.toStyles)})),void r.push(e);if(t.isFallbackTransition)return e.onStart((function(){return Lp(a,g.fromStyles)})),e.onDestroy((function(){return Dp(a,g.toStyles)})),void r.push(e);g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(a,g.timelines),o.push({instruction:g,player:e,element:a}),g.queriedElements.forEach((function(t){return ap(s,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.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(C.length){var L=[];C.forEach((function(t){L.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach((function(t){return L.push("- ".concat(t,"\n"))}))})),x.forEach((function(t){return t.destroy()})),this.reportError(L)}var T=new Map,E=new Map;o.forEach((function(t){var e=t.element;i.has(e)&&(E.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))})),r.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){ap(T,e,[]).push(t),t.destroy()}))}));var P=v.filter((function(t){return Ym(t,l,c)})),O=new Map;Tm(O,this.driver,y,c,"*").forEach((function(t){Ym(t,l,c)&&P.push(t)}));var A=new Map;p.forEach((function(t,e){Tm(A,n.driver,new Set(t),l,"!")})),P.forEach((function(t){var e=O.get(t),n=A.get(t);O.set(t,Object.assign(Object.assign({},e),n))}));var I=[],Y=[],F={};o.forEach((function(t){var e=t.element,o=t.player,s=t.instruction;if(i.has(e)){if(d.has(e))return o.onDestroy((function(){return Dp(e,s.toStyles)})),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=F;if(E.size>1){for(var u=e,c=[];u=u.parentNode;){var h=E.get(u);if(h){l=h;break}c.push(u)}c.forEach((function(t){return E.set(t,l)}))}var f=n._buildAnimation(o.namespaceId,s,T,a,A,O);if(o.setRealPlayer(f),l===F)I.push(o);else{var p=n.playersByElement.get(l);p&&p.length&&(o.parentPlayer=tp(p)),r.push(o)}}else Lp(e,s.fromStyles),o.onDestroy((function(){return Dp(e,s.toStyles)})),Y.push(o),d.has(e)&&r.push(o)})),Y.forEach((function(t){var e=a.get(t.element);if(e&&e.length){var n=tp(e);t.setRealPlayer(n)}})),r.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var R=0;R0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new $f(t.duration,t.delay)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach((function(e){e.players.forEach((function(e){e.queued&&t.push(e)}))})),t}}]),t}(),xm=function(){function t(e,n,i){_(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new $f,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return b(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return np(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value: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()}))}},{key:"_queueEvent",value:function(t,e){ap(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Cm(t){return null!=t?t:null}function Dm(t){return t&&1===t.nodeType}function Lm(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Tm(t,e,n,i,r){var a=[];n.forEach((function(t){return a.push(Lm(t))}));var o=[];i.forEach((function(n,i){var a={};n.forEach((function(t){var n=a[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=bm,o.push(i))})),t.set(i,a)}));var s=0;return n.forEach((function(t){return Lm(t,a[s++])})),o}function Em(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 a=r.get(e);if(a)return a;var o=e.parentNode;return a=n.has(o)?o:i.has(o)?1:t(o),r.set(e,a),a}(t);1!==e&&n.get(e).push(t)})),n}function Pm(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Om(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function Am(t,e,n){tp(n).onDone((function(){return t.processLeaveNode(e)}))}function Im(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),t}();function Rm(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=Hm(e[0]),e.length>1&&(i=Hm(e[e.length-1]))):e&&(n=Hm(e)),n||i?new Nm(t,n,i):null}var Nm=function(){var t=function(){function t(e,n,i){_(this,t),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 b(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Dp(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Dp(this._element,this._initialStyles),this._endStyles&&(Dp(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Lp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Lp(this._element,this._endStyles),this._endStyles=null),Dp(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function Hm(t){for(var e=null,n=Object.keys(t),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Um(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=Wm(n=Gm(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),qm(t,"",n.join(","))))}}]),t}();function Vm(t,e,n){qm(t,"PlayState",n,zm(t,e))}function zm(t,e){var n=Gm(t,"");return n.indexOf(",")>0?Wm(n.split(","),e):Wm([n],e)}function Wm(t,e){for(var n=0;n=0)return n;return-1}function Um(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function qm(t,e,n,i){var r="animation"+e;if(null!=i){var a=t.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}t.style[r]=n}function Gm(t,e){return t.style["animation"+e]}var Km=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return b(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value: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=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new Bm(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"beforeDestroy",value: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]:Hp(t.element,i))}))}this.currentSnapshot=e}}]),t}(),Jm=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=vp(i),r}return b(n,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),r(i(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),r(i(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,r(i(n.prototype),"destroy",this).call(this))}}]),n}($f),Zm=function(){function t(){_(this,t),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return b(t,[{key:"validateStyleProperty",value:function(t){return fp(t)}},{key:"matchesElement",value:function(t,e){return pp(t,e)}},{key:"containsElement",value:function(t,e){return mp(t,e)}},{key:"query",value:function(t,e,n){return gp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map((function(t){return vp(t)}));var i="@keyframes ".concat(e," {\n"),r="";n.forEach((function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(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+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}})),i+="".concat(r,"}\n")})),i+="}\n";var a=document.createElement("style");return a.innerHTML=i,a}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(t){return t instanceof Km})),l={};Fp(n,i)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var u=$m(e=Rp(t,e,l));if(0==n)return new Jm(t,u);var c="".concat("gen_css_kf_").concat(this._count++),d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var h=Rm(t,e),f=new Km(t,e,c,n,i,r,u,h);return f.onDestroy((function(){return Qm(d)})),f}},{key:"_notifyFaultyScrubber",value: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}();function $m(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}function Qm(t){t.parentNode.removeChild(t)}var Xm=function(){function t(e,n,i,r){_(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=r,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value: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()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value: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()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Hp(t.element,n))})),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),t}(),tg=function(){function t(){_(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(eg().toString()),this._cssKeyframesDriver=new Zm}return b(t,[{key:"validateStyleProperty",value:function(t){return fp(t)}},{key:"matchesElement",value:function(t,e){return pp(t,e)}},{key:"containsElement",value:function(t,e){return mp(t,e)}},{key:"query",value:function(t,e,n){return gp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0,s=!o&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);var l=0==i?"both":"forwards",u={duration:n,delay:i,fill:l};r&&(u.easing=r);var c={},d=a.filter((function(t){return t instanceof Xm}));Fp(n,i)&&d.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[t]=e[t]}))}));var h=Rm(t,e=Rp(t,e=e.map((function(t){return Sp(t,!1)})),c));return new Xm(t,e,u,h)}}]),t}();function eg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ng=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Oe.None,styles:[],data:{animation:[]}}),r}return b(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?zf(t):t;return ag(this._renderer,null,e,"register",[n]),new ig(e,this._renderer)}}]),n}(Nf);return t.\u0275fac=function(e){return new(e||t)(ge(Al),ge(id))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),ig=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return b(n,[{key:"create",value:function(t,e){return new rg(this._id,t,e||{},this._renderer)}}]),n}(Hf),rg=function(){function t(e,n,i,r){_(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return b(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i=0&&t0){var i=t.slice(0,e),r=i.toLowerCase(),a=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(e).forEach((function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))}))}:this.headers=new Map}return b(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value: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))}},{key:"copyFrom",value: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))}))}},{key:"clone",value: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}},{key:"applyUpdate",value: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 i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,u(n)),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var a=this.headers.get(e);if(!a)return;0===(a=a.filter((function(t){return-1===r.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value: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}(),wg=function(){function t(){_(this,t)}return b(t,[{key:"encodeKey",value:function(t){return Sg(t)}},{key:"encodeValue",value:function(t){return Sg(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function Mg(t,e){var n=new Map;return t.length>0&&t.split("&").forEach((function(t){var i=t.indexOf("="),r=l(-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],2),a=r[0],o=r[1],s=n.get(a)||[];s.push(o),n.set(a,s)})),n}function Sg(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 xg=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new wg,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Mg(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(t){var i=n.fromObject[t];e.map.set(t,Array.isArray(i)?i:[i])}))):this.map=null}return b(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value: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("&")})).filter((function(t){return""!==t})).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n}},{key:"init",value: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 Cg(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Dg(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Lg(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Tg=function(){function t(e,n,i,r){var a;if(_(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new kg),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,a=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((function(t,n){return t.set(n,e.setHeaders[n])}),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((function(t,n){return t.set(n,e.setParams[n])}),u)),new t(n,i,a,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:o})}}]),t}(),Eg=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),Pg=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_(this,t),this.headers=e.headers||new kg,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},Og=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=Eg.ResponseHeader,t}return b(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(Pg),Ag=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=Eg.Response,t.body=void 0!==i.body?i.body:null,t}return b(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(Pg),Ig=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(Pg);function Yg(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Fg=function(){var t=function(){function t(e){_(this,t),this.handler=e}return b(t,[{key:"request",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof Tg)n=t;else{var a=void 0;a=r.headers instanceof kg?r.headers:new kg(r.headers);var o=void 0;r.params&&(o=r.params instanceof xg?r.params:new xg({fromObject:r.params})),n=new Tg(t,e,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=pg(n).pipe(mg((function(t){return i.handler.handle(t)})));if(t instanceof Tg||"events"===r.observe)return s;var l=s.pipe(gg((function(t){return t instanceof Ag})));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(nt((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return l.pipe(nt((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return l.pipe(nt((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 l.pipe(nt((function(t){return t.body})))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new xg).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,Yg(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,Yg(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,Yg(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(yg))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Rg=function(){function t(e,n){_(this,t),this.next=e,this.interceptor=n}return b(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),Ng=new se("HTTP_INTERCEPTORS"),Hg=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),jg=/^\)\]\}',?\n/,Bg=function t(){_(this,t)},Vg=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),zg=function(){var t=function(){function t(e){_(this,t),this.xhrFactory=e}return b(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new H((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 a=t.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new kg(i.getAllResponseHeaders()),a=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 s=new Og({headers:r,status:e,statusText:n,url:a})},u=function(){var e=l(),r=e.headers,a=e.status,o=e.statusText,s=e.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var c=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(jg,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new Ag({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new Ig({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},c=function(t){var e=l(),r=new Ig({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e.url||void 0});n.error(r)},d=!1,h=function(e){d||(n.next(l()),d=!0);var r={type:Eg.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(t){var e={type:Eg.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!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:Eg.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Bg))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Wg=new se("XSRF_COOKIE_NAME"),Ug=new se("XSRF_HEADER_NAME"),qg=function t(){_(this,t)},Gg=function(){var t=function(){function t(e,n,i){_(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return b(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=gh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(id),ge(lc),ge(Wg))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Kg=function(){var t=function(){function t(e,n){_(this,t),this.tokenService=e,this.headerName=n}return b(t,[{key:"intercept",value: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}();return t.\u0275fac=function(e){return new(e||t)(ge(qg),ge(Ug))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Jg=function(){var t=function(){function t(e,n){_(this,t),this.backend=e,this.injector=n,this.chain=null}return b(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(Ng,[]);this.chain=e.reduceRight((function(t,e){return new Rg(t,e)}),this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(bg),ge(zo))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Zg=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:Kg,useClass:Hg}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Wg,useValue:e.cookieName}:[],e.headerName?{provide:Ug,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[Kg,{provide:Ng,useExisting:Kg,multi:!0},{provide:qg,useClass:Gg},{provide:Wg,useValue:"XSRF-TOKEN"},{provide:Ug,useValue:"X-XSRF-TOKEN"}]}),t}(),$g=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[Fg,{provide:yg,useClass:Jg},zg,{provide:bg,useExisting:zg},Vg,{provide:Bg,useExisting:Vg}],imports:[[Zg.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),Qg=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._value=t,i}return b(n,[{key:"_subscribe",value:function(t){var e=r(i(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new B;return this._value}},{key:"next",value:function(t){r(i(n.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),n}(W),Xg=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),tv={};function ev(){for(var t=arguments.length,e=new Array(t),n=0;n0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:mv;return function(e){return e.lift(new fv(t))}}var fv=function(){function t(e){_(this,t),this.errorFactory=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new pv(t,this.errorFactory))}}]),t}(),pv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return b(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(A);function mv(){return new Xg}function gv(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new vv(t))}}var vv=function(){function t(e){_(this,t),this.defaultValue=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new _v(t,this.defaultValue))}}]),t}(),_v=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return b(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(A);function yv(t){return function(e){var n=new bv(t),i=e.lift(n);return n.caught=i}}var bv=function(){function t(e){_(this,t),this.selector=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new kv(t,this.selector,this.caught))}}]),t}(),kv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).selector=i,a.caught=r,a}return b(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void r(i(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var a=new G(this,void 0,void 0);this.add(a),tt(this,e,void 0,void 0,a)}}}]),n}(et);function wv(t){return function(e){return 0===t?av():e.lift(new Mv(t))}}var Mv=function(){function t(e){if(_(this,t),this.total=e,this.total<0)throw new lv}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Sv(t,this.total))}}]),t}(),Sv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return b(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(A);function xv(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?gg((function(e,n){return t(e,n,i)})):ct,wv(1),n?gv(e):hv((function(){return new Xg})))}}function Cv(t,e,n){return function(i){return i.lift(new Dv(t,e,n))}}var Dv=function(){function t(e,n,i){_(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Lv(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),Lv=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this,t))._tapNext=F,s._tapError=F,s._tapComplete=F,s._tapError=r||F,s._tapComplete=o||F,S(i)?(s._context=a(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||F,s._tapError=i.error||F,s._tapComplete=i.complete||F),s}return b(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(A),Tv=function(){function t(e,n,i){_(this,t),this.predicate=e,this.thisArg=n,this.source=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Ev(t,this.predicate,this.thisArg,this.source))}}]),t}(),Ev=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this,t)).predicate=i,s.thisArg=r,s.source=o,s.index=0,s.thisArg=r||a(s),s}return b(n,[{key:"notifyComplete",value:function(t){this.destination.next(t),this.destination.complete()}},{key:"_next",value: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)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(A);function Pv(t,e){return"function"==typeof e?function(n){return n.pipe(Pv((function(n,i){return ot(t(n,i)).pipe(nt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Ov(t))}}var Ov=function(){function t(e){_(this,t),this.project=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Av(t,this.project))}}]),t}(),Av=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return b(n,[{key:"_next",value: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)}},{key:"_innerSub",value:function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new G(this,void 0,void 0);this.destination.add(r),this.innerSubscription=tt(this,t,e,n,r)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||r(i(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&r(i(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}}]),n}(et);function Iv(){return sv()(pg.apply(void 0,arguments))}function Yv(){for(var t=arguments.length,e=new Array(t),n=0;n=2&&(n=!0),function(i){return i.lift(new Rv(t,e,n))}}var Rv=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Nv(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),Nv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return b(n,[{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value: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)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),n}(A);function Hv(t){return function(e){return e.lift(new jv(t))}}var jv=function(){function t(e){_(this,t),this.callback=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Bv(t,this.callback))}}]),t}(),Bv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).add(new C(i)),r}return n}(A),Vv=function t(e,n){_(this,t),this.id=e,this.url=n},zv=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(this,n),(r=e.call(this,t,i)).navigationTrigger=a,r.restoredState=o,r}return b(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Vv),Wv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a}return b(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(Vv),Uv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).reason=r,a}return b(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Vv),qv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).error=r,a}return b(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(Vv),Gv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Vv),Kv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Vv),Jv=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o){var s;return _(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return b(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(Vv),Zv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Vv),$v=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Vv),Qv=function(){function t(e){_(this,t),this.route=e}return b(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),Xv=function(){function t(e){_(this,t),this.route=e}return b(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),t_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),e_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),n_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),i_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),r_=function(){function t(e,n,i){_(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return b(t,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),t}(),a_=function(){function t(e){_(this,t),this.params=e||{}}return b(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function o_(t){return new a_(t)}function s_(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function l_(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length-1})):t===e}function d_(t){return Array.prototype.concat.apply([],t)}function h_(t){return t.length>0?t[t.length-1]:null}function f_(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function p_(t){return gs(t)?t:ms(t)?ot(Promise.resolve(t)):pg(t)}function m_(t,e,n){return n?function(t,e){return u_(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!y_(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 c_(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!y_(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!y_(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!t(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!y_(n.segments,o)&&!!n.children.primary&&e(n.children.primary,i,s)}(e,n,n.segments)}(t.root,e.root)}var g_=function(){function t(e,n,i){_(this,t),this.root=e,this.queryParams=n,this.fragment=i}return b(t,[{key:"toString",value:function(){return M_.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=o_(this.queryParams)),this._queryParamMap}}]),t}(),v_=function(){function t(e,n){var i=this;_(this,t),this.segments=e,this.children=n,this.parent=null,f_(n,(function(t,e){return t.parent=i}))}return b(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return S_(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),__=function(){function t(e,n){_(this,t),this.path=e,this.parameters=n}return b(t,[{key:"toString",value:function(){return E_(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=o_(this.parameters)),this._parameterMap}}]),t}();function y_(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function b_(t,e){var n=[];return f_(t.children,(function(t,i){"primary"===i&&(n=n.concat(e(t,i)))})),f_(t.children,(function(t,i){"primary"!==i&&(n=n.concat(e(t,i)))})),n}var k_=function t(){_(this,t)},w_=function(){function t(){_(this,t)}return b(t,[{key:"parse",value:function(t){var e=new Y_(t);return new g_(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n,i="/".concat(function t(e,n){if(!e.hasChildren())return S_(e);if(n){var i=e.children.primary?t(e.children.primary,!1):"",r=[];return f_(e.children,(function(e,n){"primary"!==n&&r.push("".concat(n,":").concat(t(e,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=b_(e,(function(n,i){return"primary"===i?[t(e.children.primary,!1)]:["".concat(i,":").concat(t(n,!1))]}));return"".concat(S_(e),"/(").concat(a.join("//"),")")}(t.root,!0)),r=(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return"".concat(C_(t),"=").concat(C_(e))})).join("&"):"".concat(C_(t),"=").concat(C_(n))}))).length?"?".concat(n.join("&")):""),a="string"==typeof t.fragment?"#".concat(encodeURI(t.fragment)):"";return"".concat(i).concat(r).concat(a)}}]),t}(),M_=new w_;function S_(t){return t.segments.map((function(t){return E_(t)})).join("/")}function x_(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function C_(t){return x_(t).replace(/%3B/gi,";")}function D_(t){return x_(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function L_(t){return decodeURIComponent(t)}function T_(t){return L_(t.replace(/\+/g,"%20"))}function E_(t){return"".concat(D_(t.path)).concat((e=t.parameters,Object.keys(e).map((function(t){return";".concat(D_(t),"=").concat(D_(e[t]))})).join("")));var e}var P_=/^[^\/()?;=#]+/;function O_(t){var e=t.match(P_);return e?e[0]:""}var A_=/^[^=?&#]+/,I_=/^[^?&#]+/,Y_=function(){function t(e){_(this,t),this.url=e,this.remaining=e}return b(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new v_([],{}):new v_([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value: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.primary=new v_(t,e)),n}},{key:"parseSegment",value:function(){var t=O_(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new __(L_(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=O_(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=O_(this.remaining);i&&this.capture(n=i)}t[L_(e)]=L_(n)}}},{key:"parseQueryParam",value:function(t){var e,n=(e=this.remaining.match(A_))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(I_);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var a=T_(n),o=T_(i);if(t.hasOwnProperty(a)){var s=t[a];Array.isArray(s)||(t[a]=s=[s]),s.push(o)}else t[a]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=O_(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new v_([],a),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),F_=function(){function t(e){_(this,t),this._root=e}return b(t,[{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=R_(t,this._root);return e?e.children.map((function(t){return t.value})):[]}},{key:"firstChild",value:function(t){var e=R_(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=N_(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))}},{key:"pathFromRoot",value:function(t){return N_(t,this._root).map((function(t){return t.value}))}},{key:"root",get:function(){return this._root.value}}]),t}();function R_(t,e){if(t===e.value)return e;var n,i=d(e.children);try{for(i.s();!(n=i.n()).done;){var r=R_(t,n.value);if(r)return r}}catch(a){i.e(a)}finally{i.f()}return null}function N_(t,e){if(t===e.value)return[e];var n,i=d(e.children);try{for(i.s();!(n=i.n()).done;){var r=N_(t,n.value);if(r.length)return r.unshift(e),r}}catch(a){i.e(a)}finally{i.f()}return[]}var H_=function(){function t(e,n){_(this,t),this.value=e,this.children=n}return b(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function j_(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var B_=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).snapshot=i,K_(a(r),t),r}return b(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(F_);function V_(t,e){var n=function(t,e){var n=new q_([],{},{},"",{},"primary",e,null,t.root,-1,{});return new G_("",new H_(n,[]))}(t,e),i=new Qg([new __("",{})]),r=new Qg({}),a=new Qg({}),o=new Qg({}),s=new Qg(""),l=new z_(i,r,o,s,a,"primary",e,n.root);return l.snapshot=n.root,new B_(new H_(l,[]),n)}var z_=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=l}return b(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(nt((function(t){return o_(t)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(nt((function(t){return o_(t)})))),this._queryParamMap}}]),t}();function W_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return U_(n.slice(i))}function U_(t){return t.reduce((function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}var q_=function(){function t(e,n,i,r,a,o,s,l,u,c,d){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}return b(t,[{key:"toString",value:function(){var t=this.url.map((function(t){return t.toString()})).join("/"),e=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(e,"')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=o_(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=o_(this.queryParams)),this._queryParamMap}}]),t}(),G_=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,i)).url=t,K_(a(r),i),r}return b(n,[{key:"toString",value:function(){return J_(this._root)}}]),n}(F_);function K_(t,e){e.value._routerState=t,e.children.forEach((function(e){return K_(t,e)}))}function J_(t){var e=t.children.length>0?" { ".concat(t.children.map(J_).join(", ")," } "):"";return"".concat(t.value).concat(e)}function Z_(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,u_(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),u_(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;nr;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new ny(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?ay(o.segmentGroup,o.index,a.commands):ry(o.segmentGroup,o.index,a.commands);return ty(o.segmentGroup,s,e,i,r)}function X_(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ty(t,e,n,i,r){var a={};return i&&f_(i,(function(t,e){a[e]=Array.isArray(t)?t.map((function(t){return"".concat(t)})):"".concat(t)})),new g_(n.root===t?e:function t(e,n,i){var r={};return f_(e.children,(function(e,a){r[a]=e===n?i:t(e,n,i)})),new v_(e.segments,r)}(n.root,t,e),a,r)}var ey=function(){function t(e,n,i){if(_(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&X_(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==h_(i))throw new Error("{outlets:{}} has to be the last command")}return b(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),ny=function t(e,n,i){_(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function iy(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:"".concat(t)}function ry(t,e,n){if(t||(t=new v_([],{})),0===t.segments.length&&t.hasChildren())return ay(t,e,n);var i=function(t,e,n){for(var i=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=t.segments[r],s=iy(n[i]),l=i0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!uy(s,l,o))return a;i+=2}else{if(!uy(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new v_([],c({},"primary",t)):t;return new g_(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(nt((function(t){return new v_([],t)}))):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return pg({});var a=[],o=[],s={};return f_(n,(function(n,r){var l,u,c=(l=r,u=n,i.expandSegmentGroup(t,e,u,l)).pipe(nt((function(t){return s[r]=t})));"primary"===r?a.push(c):o.push(c)})),pg.apply(null,a.concat(o)).pipe(sv(),function(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?gg((function(e,n){return t(e,n,i)})):ct,uv(1),n?gv(e):hv((function(){return new Xg})))}}(),nt((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(t,e,n,i,r,a){var o=this;return pg.apply(void 0,u(n)).pipe(nt((function(s){return o.expandSegmentAgainstRoute(t,e,n,s,i,r,a).pipe(yv((function(t){if(t instanceof my)return pg(null);throw t})))})),sv(),xv((function(t){return!!t})),yv((function(t,n){if(t instanceof Xg||"EmptyError"===t.name){if(o.noLeftoversInUrl(e,i,r))return pg(new v_([],{}));throw new my(e)}throw t})))}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,a,o){return Sy(i)!==a?vy(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):vy(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?_y(a):this.lineralizeSegments(n,a).pipe(st((function(n){var a=new v_(n,{});return r.expandSegment(t,a,e,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){var o=this,s=ky(e,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return vy(e);var d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?_y(d):this.lineralizeSegments(i,d).pipe(st((function(i){return o.expandSegment(t,e,n,i.concat(r.slice(u)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(nt((function(t){return n._loadedConfig=t,new v_(i,{})}))):pg(new v_(i,{}));var a=ky(e,n,i),o=a.consumedSegments,s=a.lastChild;if(!a.matched)return vy(e);var l=i.slice(s);return this.getChildConfig(t,n,i).pipe(st((function(t){var n=t.module,i=t.routes,a=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some((function(n){return My(t,e,n)&&"primary"!==Sy(n)}))}(t,n,i)?{segmentGroup:wy(new v_(e,function(t,e){var n={};n.primary=e;var i,r=d(t);try{for(r.s();!(i=r.n()).done;){var a=i.value;""===a.path&&"primary"!==Sy(a)&&(n[Sy(a)]=new v_([],{}))}}catch(o){r.e(o)}finally{r.f()}return n}(i,new v_(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return My(t,e,n)}))}(t,n,i)?{segmentGroup:wy(new v_(t.segments,function(t,e,n,i){var r,a={},o=d(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;My(t,e,s)&&!i[Sy(s)]&&(a[Sy(s)]=new v_([],{}))}}catch(l){o.e(l)}finally{o.f()}return Object.assign(Object.assign({},i),a)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,i),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?r.expandChildren(n,i,s).pipe(nt((function(t){return new v_(o,t)}))):0===i.length&&0===u.length?pg(new v_(o,{})):r.expandSegment(n,s,i,u,"primary",!0).pipe(nt((function(t){return new v_(o.concat(t.segments),t.children)})))})))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?pg(new hy(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?pg(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(st((function(n){return n?i.configLoader.load(t.injector,e).pipe(nt((function(t){return e._loadedConfig=t,t}))):function(t){return new H((function(e){return e.error(s_("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))}))}(e)}))):pg(new hy([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i,r=this,a=e.canLoad;return a&&0!==a.length?ot(a).pipe(nt((function(i){var r,a=t.get(i);if(function(t){return t&&fy(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!fy(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return p_(r)}))).pipe(sv(),Cv((function(t){if(py(t)){var e=s_('Redirecting to "'.concat(r.urlSerializer.serialize(t),'"'));throw e.url=t,e}})),(i=function(t){return!0===t},function(t){return t.lift(new Tv(i,void 0,t))})):pg(!0)}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return pg(n);if(i.numberOfChildren>1||!i.children.primary)return yy(t.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new g_(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return f_(t,(function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t})),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,a=this.createSegments(t,e.segments,n,i),o={};return f_(e.children,(function(e,a){o[a]=r.createSegmentGroup(t,e,n,i)})),new v_(a,o)}},{key:"createSegments",value: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)}))}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,i=0,r=d(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(i),a;i++}}catch(o){r.e(o)}finally{r.f()}return t}}]),t}();function ky(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||l_)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function wy(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new v_(t.segments.concat(e.segments),e.children)}return t}function My(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Sy(t){return t.outlet||"primary"}var xy=function t(e){_(this,t),this.path=e,this.route=this.path[this.path.length-1]},Cy=function t(e,n){_(this,t),this.component=e,this.route=n};function Dy(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 Ly(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=j_(e);return t.children.forEach((function(t){Ty(t,a[t.value.outlet],n,i.concat([t.value]),r),delete a[t.value.outlet]})),f_(a,(function(t,e){return Py(t,n.getContext(e),r)})),r}function Ty(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=Ey(o,a,a.routeConfig.runGuardsAndResolvers);if(l?r.canActivateChecks.push(new xy(i)):(a.data=o.data,a._resolvedData=o._resolvedData),Ly(t,e,a.component?s?s.children:null:n,i,r),l){var u=s&&s.outlet&&s.outlet.component||null;r.canDeactivateChecks.push(new Cy(u,o))}}else o&&Py(e,s,r),r.canActivateChecks.push(new xy(i)),Ly(t,null,a.component?s?s.children:null:n,i,r);return r}function Ey(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!y_(t.url,e.url);case"pathParamsOrQueryParamsChange":return!y_(t.url,e.url)||!u_(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$_(t,e)||!u_(t.queryParams,e.queryParams);case"paramsChange":default:return!$_(t,e)}}function Py(t,e,n){var i=j_(t),r=t.value;f_(i,(function(t,i){Py(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new Cy(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Oy=Symbol("INITIAL_VALUE");function Ay(){return Pv((function(t){return ev.apply(void 0,u(t.map((function(t){return t.pipe(wv(1),Yv(Oy))})))).pipe(Fv((function(t,e){var n=!1;return e.reduce((function(t,i,r){if(t!==Oy)return t;if(i===Oy&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||py(i))return i}return t}),t)}),Oy),gg((function(t){return t!==Oy})),nt((function(t){return py(t)?t:!0===t})),wv(1))}))}function Iy(t,e){return null!==t&&e&&e(new n_(t)),pg(!0)}function Yy(t,e){return null!==t&&e&&e(new t_(t)),pg(!0)}function Fy(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?pg(i.map((function(i){return ov((function(){var r,a=Dy(i,e,n);if(function(t){return t&&fy(t.canActivate)}(a))r=p_(a.canActivate(e,t));else{if(!fy(a))throw new Error("Invalid CanActivate guard");r=p_(a(e,t))}return r.pipe(xv())}))}))).pipe(Ay()):pg(!0)}function Ry(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 ov((function(){return pg(e.guards.map((function(r){var a,o=Dy(r,e.node,n);if(function(t){return t&&fy(t.canActivateChild)}(o))a=p_(o.canActivateChild(i,t));else{if(!fy(o))throw new Error("Invalid CanActivateChild guard");a=p_(o(i,t))}return a.pipe(xv())}))).pipe(Ay())}))}));return pg(r).pipe(Ay())}var Ny=function t(){_(this,t)},Hy=function(){function t(e,n,i,r,a,o){_(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return b(t,[{key:"recognize",value:function(){try{var t=Vy(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new q_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new H_(n,e),r=new G_(this.url,i);return this.inheritParamsAndData(r._root),pg(r)}catch(a){return new H((function(t){return t.error(a)}))}}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=W_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){var n,i=this,r=b_(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: '".concat(i,"' and '").concat(r,"'."))}n[t.value.outlet]=t.value})),function(t){t.sort((function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)}))}(r),r}},{key:"processSegment",value:function(t,e,n,i){var r,a=d(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;try{return this.processSegmentAgainstRoute(o,e,n,i)}catch(s){if(!(s instanceof Ny))throw s}}}catch(l){a.e(l)}finally{a.f()}if(this.noLeftoversInUrl(e,n,i))return[];throw new Ny}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo)throw new Ny;if((t.outlet||"primary")!==i)throw new Ny;var r,a=[],o=[];if("**"===t.path){var s=n.length>0?h_(n).parameters:{};r=new q_(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Uy(t),i,t.component,t,jy(e),By(e)+n.length,qy(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Ny;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||l_)(n,t,e);if(!i)throw new Ny;var r={};f_(i.posParams,(function(t,e){r[e]=t.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,o=n.slice(l.lastChild),r=new q_(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Uy(t),i,t.component,t,jy(e),By(e)+a.length,qy(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=Vy(e,a,o,u,this.relativeLinkResolution),d=c.segmentGroup,h=c.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(u,d);return[new H_(r,f)]}if(0===u.length&&0===h.length)return[new H_(r,[])];var p=this.processSegment(u,d,h,"primary");return[new H_(r,p)]}}]),t}();function jy(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function By(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 Vy(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some((function(n){return zy(t,e,n)&&"primary"!==Wy(n)}))}(t,n,i)){var a=new v_(e,function(t,e,n,i){var r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;var a,o=d(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Wy(s)){var l=new v_([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,r[Wy(s)]=l}}}catch(u){o.e(u)}finally{o.f()}return r}(t,e,i,new v_(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return zy(t,e,n)}))}(t,n,i)){var o=new v_(t.segments,function(t,e,n,i,r,a){var o,s={},l=d(i);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(zy(t,n,u)&&!r[Wy(u)]){var c=new v_([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===a?t.segments.length:e.length,s[Wy(u)]=c}}}catch(h){l.e(h)}finally{l.f()}return Object.assign(Object.assign({},r),s)}(t,e,n,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}var s=new v_(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function zy(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Wy(t){return t.outlet||"primary"}function Uy(t){return t.data||{}}function qy(t){return t.resolve||{}}function Gy(t){return function(e){return e.pipe(Pv((function(e){var n=t(e);return n?ot(n).pipe(nt((function(){return e}))):ot([e])})))}}var Ky=function t(){_(this,t)},Jy=function(){function t(){_(this,t)}return b(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}(),Zy=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&cs(0,"router-outlet")},directives:function(){return[mb]},encapsulation:2}),t}();function $y(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new Hy(t,e,n,i,r,a).recognize()}(t,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,e.serializeUrl(o)),r,a).pipe(nt((function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})})));var o})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Cv((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Cv((function(t){var i=new Gv(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 l=t.extractedUrl,u=t.source,c=t.restoredState,d=t.extras,h=new zv(t.id,e.serializeUrl(l),u,c);n.next(h);var f=V_(l,e.rootComponentType).snapshot;return pg(Object.assign(Object.assign({},t),{targetSnapshot:f,urlAfterRedirects:l,extras:Object.assign(Object.assign({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),rv})),Gy((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})})),Cv((function(t){var n=new Kv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),nt((function(t){return Object.assign(Object.assign({},t),{guards:(n=t.targetSnapshot,i=t.currentSnapshot,r=e.rootContexts,a=n._root,Ly(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(t,e){return function(n){return n.pipe(st((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?pg(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return ot(t).pipe(st((function(t){return function(t,e,n,i,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?pg(a.map((function(a){var o,s=Dy(a,e,r);if(function(t){return t&&fy(t.canDeactivate)}(s))o=p_(s.canDeactivate(t,e,n,i));else{if(!fy(s))throw new Error("Invalid CanDeactivate guard");o=p_(s(t,e,n,i))}return o.pipe(xv())}))).pipe(Ay()):pg(!0)}(t.component,t.route,n,e,i)})),xv((function(t){return!0!==t}),!0))}(s,i,r,t).pipe(st((function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return ot(e).pipe(mg((function(e){return ot([Yy(e.route.parent,i),Iy(e.route,i),Ry(t,e.path,n),Fy(t,e.route,n)]).pipe(sv(),xv((function(t){return!0!==t}),!0))})),xv((function(t){return!0!==t}),!0))}(i,o,t,e):pg(n)})),nt((function(t){return Object.assign(Object.assign({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Cv((function(t){if(py(t.guardsResult)){var n=s_('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}})),Cv((function(t){var n=new Jv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),gg((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new Uv(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0})),Gy((function(t){if(t.guards.canActivateChecks.length)return pg(t).pipe(Cv((function(t){var n=new Zv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Pv((function(t){var i,r,a=!1;return pg(t).pipe((i=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(st((function(t){var e=t.targetSnapshot,n=t.guards.canActivateChecks;if(!n.length)return pg(t);var a=0;return ot(n).pipe(mg((function(t){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return pg({});var a={};return ot(r).pipe(st((function(r){return function(t,e,n,i){var r=Dy(t,e,i);return p_(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Cv((function(t){a[r]=t})))})),uv(1),st((function(){return Object.keys(a).length===r.length?pg(a):rv})))}(t._resolve,t,e,i).pipe(nt((function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),W_(t,n).resolve),null})))}(t.route,e,i,r)})),Cv((function(){return a++})),uv(1),st((function(e){return a===n.length?pg(t):rv})))})))}),Cv({next:function(){return a=!0},complete:function(){if(!a){var i=new Uv(t.id,e.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),t.resolve(!1)}}}))})),Cv((function(t){var n=new $v(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),Gy((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})})),nt((function(t){var n,i,r,a=(r=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(e,n,i){return n.children.map((function(n){var r,a=d(i.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o)}}catch(s){a.e(s)}finally{a.f()}return t(e,n)}))}(e,n,i);return new H_(r,a)}var o=e.retrieve(n.value);if(o){var s=o.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;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,i=e.queryParams,r=e.fragment,a=e.preserveQueryParams,o=e.queryParamsHandling,s=e.preserveFragment;ir()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=s?this.currentUrlTree.fragment:r,c=null;if(o)switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}else c=a?this.currentUrlTree.queryParams:i||null;return null!==c&&(c=this.removeEmptyProps(c)),Q_(l,this.currentUrlTree,t,c,u)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};ir()&&this.isNgZoneEnabled&&!Mc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=py(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return cb(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){if(py(t))return m_(this.currentUrlTree,t,e);var n=this.parseUrl(t);return m_(this.currentUrlTree,n,e)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce((function(e,n){var i=t[n];return null!=i&&(e[n]=i),e}),{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe((function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Wv(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)}),(function(e){t.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(t,e,n,i,r){var a,o,s,l=this.getTransition();if(l&&"imperative"!==e&&"imperative"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(l&&"hashchange"==e&&"popstate"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(l&&"popstate"==e&&"hashchange"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise((function(t,e){a=t,o=e}));var u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(t){return Promise.reject(t)}))}},{key:"setBrowserUrl",value:function(t,e,n,i){var r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Do),ge(k_),ge(rb),ge(_d),ge(zo),ge(qc),ge(bc),ge(void 0))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function cb(t){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return b(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof zv?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Wv&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof r_&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new r_(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(ub),ge(af),ge(void 0))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),wb=new se("ROUTER_CONFIGURATION"),Mb=new se("ROUTER_FORROOT_GUARD"),Sb=[_d,{provide:k_,useClass:w_},{provide:ub,useFactory:function(t,e,n,i,r,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new ub(null,t,e,n,i,r,a,d_(o));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),s.errorHandler&&(c.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(c.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var d=ed();c.events.subscribe((function(t){d.logGroup("Router Event: ".concat(t.constructor.name)),d.log(t.toString()),d.log(t),d.logGroupEnd()}))}return s.onSameUrlNavigation&&(c.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(c.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(c.relativeLinkResolution=s.relativeLinkResolution),c},deps:[k_,rb,_d,zo,qc,bc,eb,wb,[function t(){_(this,t)},new Ct],[Ky,new Ct]]},rb,{provide:z_,useFactory:function(t){return t.routerState.root},deps:[ub]},{provide:qc,useClass:Jc},bb,yb,_b,{provide:wb,useValue:{enableTracing:!1}}];function xb(){return new Rc("Router",ub)}var Cb=function(){var t=function(){function t(e,n){_(this,t)}return b(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[Sb,Eb(e),{provide:Mb,useFactory:Tb,deps:[[ub,new Ct,new Lt]]},{provide:wb,useValue:n||{}},{provide:fd,useFactory:Lb,deps:[rd,[new xt(md),new Ct],wb]},{provide:kb,useFactory:Db,deps:[ub,af,wb]},{provide:vb,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:yb},{provide:Rc,multi:!0,useFactory:xb},[Pb,{provide:nc,multi:!0,useFactory:Ob,deps:[Pb]},{provide:Ib,useFactory:Ab,deps:[Pb]},{provide:uc,multi:!0,useExisting:Ib}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Eb(e)]}}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)(ge(Mb,8),ge(ub,8))}}),t}();function Db(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new kb(t,e,n)}function Lb(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new vd(t,e):new gd(t,e)}function Tb(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Eb(t){return[{provide:Wo,multi:!0,useValue:t},{provide:eb,multi:!0,useValue:t}]}var Pb=function(){var t=function(){function t(e){_(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new W}return b(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(od,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),i=t.injector.get(ub),r=t.injector.get(wb);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return t.initNavigation?pg(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(wb),n=this.injector.get(bb),i=this.injector.get(kb),r=this.injector.get(ub),a=this.injector.get(Wc);t===a.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}},{key:"isLegacyDisabled",value:function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(zo))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}();function Ob(t){return t.appInitializer.bind(t)}function Ab(t){return t.bootstrapListener.bind(t)}var Ib=new se("Router Initializer"),Yb=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(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}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value: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))}},{key:"_execute",value: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}},{key:"_unsubscribe",value: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}}]),n}(function(t){f(n,t);var e=v(n);function n(t,i){return _(this,n),e.call(this)}return b(n,[{key:"schedule",value:function(t){return this}}]),n}(C)),Fb=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?r(i(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?r(i(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==a&&a>0||null===a&&this.delay>0?r(i(n.prototype),"requestAsyncId",this).call(this,t,e,a):t.flush(this)}}]),n}(Yb),Rb=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;_(this,t),this.SchedulerAction=e,this.now=n}return b(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}(),Nb=function(t){f(n,t);var e=v(n);function n(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rb.now;return _(this,n),(i=e.call(this,t,(function(){return n.delegate&&n.delegate!==a(i)?n.delegate.now():r()}))).actions=[],i.active=!1,i.scheduled=void 0,i}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,a):r(i(n.prototype),"schedule",this).call(this,t,e,a)}},{key:"flush",value: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}}}}]),n}(Rb),Hb=new(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(Nb))(Fb);function jb(t,e){return new H(e?function(n){return e.schedule(Bb,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function Bb(t){t.subscriber.error(t.error)}var Vb=function(){var t=function(){function t(e,n,i){_(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return b(t,[{key:"observe",value: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()}}},{key:"do",value: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()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return pg(this.value);case"E":return jb(this.error);case"C":return av()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),zb=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _(this,n),(r=e.call(this,t)).scheduler=i,r.delay=a,r}return b(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new Wb(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(Vb.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(Vb.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(Vb.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){t.notification.observe(t.destination),this.unsubscribe()}}]),n}(A),Wb=function t(e,n){_(this,t),this.notification=e,this.destination=n},Ub=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this)).scheduler=a,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=i<1?1:i,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return b(n,[{key:"nextInfiniteTimeWindow",value:function(t){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),r(i(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this._events.push(new qb(this._getNow(),t)),this._trimBufferThenGetEvents(),r(i(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new B;if(this.isStopped||this.hasError?e=C.EMPTY:(this.observers.push(t),e=new V(this,t)),r&&t.add(t=new zb(t,r)),n)for(var o=0;oe&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}]),n}(W),qb=function t(e,n){_(this,t),this.time=e,this.value=n},Gb=function(t){return t.Node="nd",t.Transport="tp",t.DmsgServer="ds",t}({}),Kb=function(){function t(){var t=this;this.currentRefreshTimeSubject=new Ub(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem("refreshSeconds"),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach((function(e){t.savedLocalNodes.set(e.publicKey,e),e.hidden||t.savedVisibleLocalNodes.add(e.publicKey)})),this.getSavedLabels().forEach((function(e){return t.savedLabels.set(e.id,e)})),this.loadLegacyNodeData();var e=[];this.savedLocalNodes.forEach((function(t){return e.push(t)}));var n=[];this.savedLabels.forEach((function(t){return n.push(t)})),this.saveLocalNodes(e),this.saveLabels(n)}return t.prototype.loadLegacyNodeData=function(){var t=this,e=JSON.parse(this.storage.getItem("nodesData"))||[];if(e.length>0){var n=this.getSavedLocalNodes(),i=this.getSavedLabels();e.forEach((function(e){n.push({publicKey:e.publicKey,hidden:e.deleted}),t.savedLocalNodes.set(e.publicKey,n[n.length-1]),e.deleted||t.savedVisibleLocalNodes.add(e.publicKey),i.push({id:e.publicKey,identifiedElementType:Gb.Node,label:e.label}),t.savedLabels.set(e.publicKey,i[i.length-1])})),this.saveLocalNodes(n),this.saveLabels(i),this.storage.removeItem("nodesData")}},t.prototype.setRefreshTime=function(t){this.storage.setItem("refreshSeconds",t.toString()),this.currentRefreshTime=t,this.currentRefreshTimeSubject.next(this.currentRefreshTime)},t.prototype.getRefreshTimeObservable=function(){return this.currentRefreshTimeSubject.asObservable()},t.prototype.getRefreshTime=function(){return this.currentRefreshTime},t.prototype.includeVisibleLocalNodes=function(t){this.changeLocalNodesHiddenProperty(t,!1)},t.prototype.setLocalNodesAsHidden=function(t){this.changeLocalNodesHiddenProperty(t,!0)},t.prototype.changeLocalNodesHiddenProperty=function(t,e){var n=this,i=new Set,r=new Set;t.forEach((function(t){i.add(t),r.add(t)}));var a=!1,o=this.getSavedLocalNodes();o.forEach((function(t){i.has(t.publicKey)&&(r.has(t.publicKey)&&r.delete(t.publicKey),t.hidden!==e&&(t.hidden=e,a=!0,n.savedLocalNodes.set(t.publicKey,t),e?n.savedVisibleLocalNodes.delete(t.publicKey):n.savedVisibleLocalNodes.add(t.publicKey)))})),r.forEach((function(t){a=!0;var i={publicKey:t,hidden:e};o.push(i),n.savedLocalNodes.set(t,i),e?n.savedVisibleLocalNodes.delete(t):n.savedVisibleLocalNodes.add(t)})),a&&this.saveLocalNodes(o)},t.prototype.getSavedLocalNodes=function(){return JSON.parse(this.storage.getItem("localNodesData"))||[]},t.prototype.getSavedVisibleLocalNodes=function(){return this.savedVisibleLocalNodes},t.prototype.saveLocalNodes=function(t){this.storage.setItem("localNodesData",JSON.stringify(t))},t.prototype.getSavedLabels=function(){return JSON.parse(this.storage.getItem("labelsData"))||[]},t.prototype.saveLabels=function(t){this.storage.setItem("labelsData",JSON.stringify(t))},t.prototype.saveLabel=function(t,e,n){var i=this;if(e){var r=!1;if(s=this.getSavedLabels().map((function(a){return a.id===t&&a.identifiedElementType===n&&(r=!0,a.label=e,i.savedLabels.set(a.id,{label:a.label,id:a.id,identifiedElementType:a.identifiedElementType})),a})),r)this.saveLabels(s);else{var a={label:e,id:t,identifiedElementType:n};s.push(a),this.savedLabels.set(t,a),this.saveLabels(s)}}else{this.savedLabels.has(t)&&this.savedLabels.delete(t);var o=!1,s=this.getSavedLabels().filter((function(e){return e.id!==t||(o=!0,!1)}));o&&this.saveLabels(s)}},t.prototype.getDefaultLabel=function(t){return t.substr(0,8)},t.prototype.getLabelInfo=function(t){return this.savedLabels.has(t)?this.savedLabels.get(t):null},t.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)},providedIn:"root"}),t}();function Jb(t){return null!=t&&"false"!=="".concat(t)}function Zb(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return $b(t)?Number(t):e}function $b(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Qb(t){return Array.isArray(t)?t:[t]}function Xb(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function tk(t){return t instanceof Pl?t.nativeElement:t}function ek(t,e,n,i){return S(n)&&(i=n,n=void 0),i?ek(t,e,n).pipe(nt((function(t){return w(t)?i.apply(void 0,u(t)):i(t)}))):new H((function(i){!function t(e,n,i,r,a){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,i),o=function(){return l.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),o=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,d=e.length;c1?Array.prototype.slice.call(arguments):t)}),i,n)}))}var nk=1,ik={},rk=function(t){var e=nk++;return ik[e]=t,Promise.resolve().then((function(){return function(t){var e=ik[t];e&&e()}(e)})),e},ak=function(t){delete ik[t]},ok=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return b(n,[{key:"requestAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==a&&a>0?r(i(n.prototype),"requestAsyncId",this).call(this,t,e,a):(t.actions.push(this),t.scheduled||(t.scheduled=rk(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==a&&a>0||null===a&&this.delay>0)return r(i(n.prototype),"recycleAsyncId",this).call(this,t,e,a);0===t.actions.length&&(ak(e),t.scheduled=void 0)}}]),n}(Yb),sk=new(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"flush",value: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 gk(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return mk(e)?i=Number(e)<1?1:Number(e):q(e)&&(n=e),q(n)||(n=dk),new H((function(e){var r=mk(t)?t:+t-n.now();return n.schedule(vk,r,{index:0,period:i,subscriber:e})}))}function vk(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 _k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dk;return hk((function(){return gk(t,e)}))}function yk(t){return function(e){return e.lift(new kk(t))}}var bk,kk=function(){function t(e){_(this,t),this.notifier=e}return b(t,[{key:"call",value:function(t,e){var n=new wk(t),i=tt(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}]),t}(),wk=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t)).seenValue=!1,i}return b(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(et);try{bk="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(nj){bk=!1}var Mk,Sk,xk,Ck,Dk=function(){var t=function t(e){_(this,t),this._platformId=e,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!bk)&&"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.\u0275fac=function(e){return new(e||t)(ge(lc))},t.\u0275prov=Ot({factory:function(){return new t(ge(lc))},token:t,providedIn:"root"}),t}(),Lk=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),Tk=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ek(){if(Mk)return Mk;if("object"!=typeof document||!document)return Mk=new Set(Tk);var t=document.createElement("input");return Mk=new Set(Tk.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function Pk(t){return function(){if(null==Sk&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Sk=!0}}))}finally{Sk=Sk||!1}return Sk}()?t:!!t.capture}function Ok(){if("object"!=typeof document||!document)return 0;if(null==xk){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),xk=0,0===t.scrollLeft&&(t.scrollLeft=1,xk=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return xk}function Ak(t){if(function(){if(null==Ck){var t="undefined"!=typeof document?document.head:null;Ck=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Ck}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}var Ik=new se("cdk-dir-doc",{providedIn:"root",factory:function(){return ve(id)}}),Yk=function(){var t=function(){function t(e){if(_(this,t),this.value="ltr",this.change=new Ou,e){var n=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return b(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Ik,8))},t.\u0275prov=Ot({factory:function(){return new t(ge(Ik,8))},token:t,providedIn:"root"}),t}(),Fk=function(){var t=function(){function t(){_(this,t),this._dir="ltr",this._isInitialized=!1,this.change=new Ou}return b(t,[{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this.change.complete()}},{key:"dir",get:function(){return this._dir},set:function(t){var e=this._dir,n=t?t.toLowerCase():t;this._rawDir=t,this._dir="ltr"===n||"rtl"===n?n:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}},{key:"value",get:function(){return this.dir}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&ts("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Cl([{provide:Yk,useExisting:t}])]}),t}(),Rk=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),Nk=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new W,i&&i.length&&(n?i.forEach((function(t){return e._markSelected(t)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}return b(t,[{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),t}(),Hk=function(){var t=function(){function t(e,n,i){_(this,t),this._ngZone=e,this._platform=n,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return b(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new H((function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(_k(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):pg()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(gg((function(t){return!t||n.indexOf(t)>-1})))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach((function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return ek(t._getWindow().document,"scroll").subscribe((function(){return t._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(Dk),ge(id,8))},t.\u0275prov=Ot({factory:function(){return new t(ge(Mc),ge(Dk),ge(id,8))},token:t,providedIn:"root"}),t}(),jk=function(){var t=function(){function t(e,n,i,r){var a=this;_(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new W,this._elementScrolled=new H((function(t){return a.ngZone.runOutsideAngular((function(){return ek(a.elementRef.nativeElement,"scroll").pipe(yk(a._destroyed)).subscribe(t)}))}))}return b(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Ok()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Ok()?t.left=t.right:1==Ok()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Ok()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Ok()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Hk),rs(Mc),rs(Yk,8))},t.\u0275dir=Ve({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),Bk=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this._platform=e,this._change=new W,this._changeListener=function(t){r._change.next(t)},this._document=i,n.runOutsideAngular((function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe((function(){return r._updateViewportSize()}))}))}return b(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value: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}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._getDocument(),e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(_k(t)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Dk),ge(Mc),ge(id,8))},t.\u0275prov=Ot({factory:function(){return new t(ge(Dk),ge(Mc),ge(id,8))},token:t,providedIn:"root"}),t}(),Vk=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),zk=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[Rk,Lk,Vk],Rk,Vk]}),t}();function Wk(){throw Error("Host already has a portal attached")}var Uk=function(){function t(){_(this,t)}return b(t,[{key:"attach",value:function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Wk(),this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),t}(),qk=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this)).component=t,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(Uk),Gk=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this)).templateRef=t,a.viewContainerRef=i,a.context=r,a}return b(n,[{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,r(i(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,r(i(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(Uk),Kk=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).element=t instanceof Pl?t.nativeElement:t,i}return n}(Uk),Jk=function(){function t(){_(this,t),this._isDisposed=!1,this.attachDomPortal=null}return b(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Wk(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof qk?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Gk?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Kk?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),Zk=function(t){f(n,t);var e=v(n);function n(t,o,s,l,u){var c,d;return _(this,n),(d=e.call(this)).outletElement=t,d._componentFactoryResolver=o,d._appRef=s,d._defaultInjector=l,d.attachDomPortal=function(t){if(!d._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var o=d._document.createComment("dom-portal");e.parentNode.insertBefore(o,e),d.outletElement.appendChild(e),r((c=a(d),i(n.prototype)),"setDisposeFn",c).call(c,(function(){o.parentNode&&o.parentNode.replaceChild(e,o)}))},d._document=u,d}return b(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){n._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(i);-1!==t&&n.remove(t)})),i}},{key:"dispose",value:function(){r(i(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(Jk),$k=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){return _(this,n),e.call(this,t,i)}return n}(Gk);return t.\u0275fac=function(e){return new(e||t)(rs(eu),rs(iu))},t.\u0275dir=Ve({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[fl]}),t}(),Qk=function(){var t=function(t){f(n,t);var e=v(n);function n(t,o,s){var l,u;return _(this,n),(u=e.call(this))._componentFactoryResolver=t,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new Ou,u.attachDomPortal=function(t){if(!u._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var o=u._document.createComment("dom-portal");t.setAttachedHost(a(u)),e.parentNode.insertBefore(o,e),u._getRootNode().appendChild(e),r((l=a(u),i(n.prototype)),"setDisposeFn",l).call(l,(function(){o.parentNode&&o.parentNode.replaceChild(e,o)}))},u._document=s,u}return b(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,a=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),o=e.createComponent(a,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return o.destroy()})),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var a=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return e._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&r(i(n.prototype),"detach",this).call(this),t&&r(i(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(Jk);return t.\u0275fac=function(e){return new(e||t)(rs(El),rs(iu),rs(id))},t.\u0275dir=Ve({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[fl]}),t}(),Xk=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(Qk);return t.\u0275fac=function(e){return tw(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[Cl([{provide:Qk,useExisting:t}]),fl]}),t}(),tw=Bi(Xk),ew=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),nw=function(){function t(e,n){_(this,t),this._parentInjector=e,this._customTokens=n}return b(t,[{key:"get",value:function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}]),t}();function iw(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;ie.height||t.scrollWidth>e.width}}]),t}();function aw(){return Error("Scroll strategy has already been attached.")}var ow=function(){function t(e,n,i,r){var a=this;_(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return b(t,[{key:"attach",value:function(t){if(this._overlayRef)throw aw();this._overlayRef=t}},{key:"enable",value: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)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),sw=function(){function t(){_(this,t)}return b(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function lw(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function uw(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var cw=function(){function t(e,n,i,r){_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return b(t,[{key:"attach",value:function(t){if(this._overlayRef)throw aw();this._overlayRef=t}},{key:"enable",value: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;lw(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),dw=function(){var t=function t(e,n,i,r){var a=this;_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new sw},this.close=function(t){return new ow(a._scrollDispatcher,a._ngZone,a._viewportRuler,t)},this.block=function(){return new rw(a._viewportRuler,a._document)},this.reposition=function(t){return new cw(a._scrollDispatcher,a._viewportRuler,a._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(ge(Hk),ge(Bk),ge(Mc),ge(id))},t.\u0275prov=Ot({factory:function(){return new t(ge(Hk),ge(Bk),ge(Mc),ge(id))},token:t,providedIn:"root"}),t}(),hw=function t(e){if(_(this,t),this.scrollStrategy=new sw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,this.excludeFromOutsideClick=[],e)for(var n=0,i=Object.keys(e);n-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(id))},t.\u0275prov=Ot({factory:function(){return new t(ge(id))},token:t,providedIn:"root"}),t}(),_w=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return b(n,[{key:"add",value:function(t){r(i(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(vw);return t.\u0275fac=function(e){return new(e||t)(ge(id))},t.\u0275prov=Ot({factory:function(){return new t(ge(id))},token:t,providedIn:"root"}),t}(),yw=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,n=r._attachedOverlays,i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)){var o=a.getConfig();if([].concat(u(o.excludeFromOutsideClick),[a.overlayElement]).some((function(t){return t.contains(e)})))break;a._outsidePointerEvents.next(t)}}},r}return b(n,[{key:"add",value:function(t){r(i(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(vw);return t.\u0275fac=function(e){return new(e||t)(ge(id),ge(Dk))},t.\u0275prov=Ot({factory:function(){return new t(ge(id),ge(Dk))},token:t,providedIn:"root"}),t}(),bw=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),kw=function(){var t=function(){function t(e,n){_(this,t),this._platform=n,this._document=e}return b(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||bw)for(var e=this._document.querySelectorAll(".".concat("cdk-overlay-container",'[platform="server"], ')+".".concat("cdk-overlay-container",'[platform="test"]')),n=0;np&&(p=v,f=g)}}catch(_){m.e(_)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&xw(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)}},{key:"reapplyLastPosition",value: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)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value: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}}},{key:"_getOverlayPoint",value: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)}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=t.x,a=t.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var l=0-a,u=a+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,l,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,a=Cw(this._overlayRef.getConfig().minHeight),o=Cw(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=i)&&(t.fitsInViewportHorizontally||null!=o&&o<=r)}return!1}},{key:"_pushOverlayOnScreen",value: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,a=this._viewportRect,o=Math.max(t.x+e.width-a.right,0),s=Math.max(t.y+e.height-a.bottom,0),l=Math.max(a.top-n.top-t.y,0),u=Math.max(a.left-n.left-t.x,0);return this._previousPushAmount={x:i=e.width<=a.width?u||-o:t.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-d/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)o=t.x,a=l.right-t.x;else{var h=Math.min(l.right-t.x+l.left,t.x),f=this._lastBoundingBoxSize.width;o=t.x-h,(a=2*h)>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value: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.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Xb(n.height),i.top=Xb(n.top),i.bottom=Xb(n.bottom),i.width=Xb(n.width),i.left=Xb(n.left),i.right=Xb(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=Xb(r)),a&&(i.maxWidth=Xb(a))}this._lastBoundingBoxSize=n,xw(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){xw(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){xw(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();xw(n,this._getExactOverlayY(e,t,o)),xw(n,this._getExactOverlayX(e,t,o))}else n.position="static";var s="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Xb(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Xb(a.maxWidth):r&&(n.maxWidth="")),xw(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=Xb(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},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="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=Xb(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:uw(t,n),isOriginOutsideView:lw(t,n),isOverlayClipped:uw(e,n),isOverlayOutsideView:lw(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),Tw=function(){var t=function(){function t(e,n,i,r){_(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return b(t,[{key:"global",value:function(){return new Lw}},{key:"connectedTo",value:function(t,e,n){return new Dw(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new Sw(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Bk),ge(id),ge(Dk),ge(kw))},t.\u0275prov=Ot({factory:function(){return new t(ge(Bk),ge(id),ge(Dk),ge(kw))},token:t,providedIn:"root"}),t}(),Ew=0,Pw=function(){var t=function(){function t(e,n,i,r,a,o,s,l,u,c,d){_(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=l,this._directionality=u,this._location=c,this._outsideClickDispatcher=d}return b(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new hw(t);return r.direction=r.direction||this._directionality.value,new ww(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-".concat(Ew++),e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(Wc)),new Zk(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(dw),ge(kw),ge(El),ge(Tw),ge(_w),ge(zo),ge(Mc),ge(id),ge(Yk),ge(_d,8),ge(yw,8))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Ow=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Aw=new se("cdk-connected-overlay-scroll-strategy"),Iw=function(){var t=function t(e){_(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(rs(Pl))},t.\u0275dir=Ve({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),Yw=function(){var t=function(){function t(e,n,i,r,a){_(this,t),this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=C.EMPTY,this._attachSubscription=C.EMPTY,this._detachSubscription=C.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Ou,this.positionChange=new Ou,this.attach=new Ou,this.detach=new Ou,this.overlayKeydown=new Ou,this.overlayOutsideClick=new Ou,this._templatePortal=new Gk(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return b(t,[{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;this.positions&&this.positions.length||(this.positions=Ow);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe((function(){return t.attach.emit()})),this._detachSubscription=e.detachments().subscribe((function(){return t.detach.emit()})),e.keydownEvents().subscribe((function(e){t.overlayKeydown.next(e),27!==e.keyCode||iw(e)||(e.preventDefault(),t._detachOverlay())})),this._overlayRef.outsidePointerEvents().subscribe((function(e){t.overlayOutsideClick.next(e)}))}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new hw({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map((function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}}));return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe((function(e){return t.positionChange.emit(e)})),e}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(e){t.backdropClick.emit(e)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Jb(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Jb(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Jb(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Jb(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Jb(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pw),rs(eu),rs(iu),rs(Aw),rs(Yk,8))},t.\u0275dir=Ve({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[en]}),t}(),Fw={provide:Aw,deps:[Pw],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},Rw=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[Pw,Fw],imports:[[Rk,ew,zk],zk]}),t}();function Nw(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dk;return function(n){return n.lift(new Hw(t,e))}}var Hw=function(){function t(e,n){_(this,t),this.dueTime=e,this.scheduler=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new jw(t,this.dueTime,this.scheduler))}}]),t}(),jw=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).dueTime=i,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return b(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Bw,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(A);function Bw(t){t.debouncedNext()}var Vw=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({factory:function(){return new t},token:t,providedIn:"root"}),t}(),zw=function(){var t=function(){function t(e){_(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return b(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))}},{key:"observe",value:function(t){var e=this,n=tk(t);return new H((function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}}))}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new W,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}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value: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}();return t.\u0275fac=function(e){return new(e||t)(ge(Vw))},t.\u0275prov=Ot({factory:function(){return new t(ge(Vw))},token:t,providedIn:"root"}),t}(),Ww=function(){var t=function(){function t(e,n,i){_(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new Ou,this._disabled=!1,this._currentSubscription=null}return b(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Nw(t.debounce)):e).subscribe(t.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Jb(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=Zb(t),this._subscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(zw),rs(Pl),rs(Mc))},t.\u0275dir=Ve({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),Uw=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[Vw]}),t}();function qw(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Gw=0,Kw=new Map,Jw=null,Zw=function(){var t=function(){function t(e,n){_(this,t),this._platform=n,this._document=e}return b(t,[{key:"describe",value:function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),Kw.set(e,{messageElement:e,referenceCount:0})):Kw.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}},{key:"removeDescription",value:function(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=Kw.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}Jw&&0===Jw.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[".concat("cdk-describedby-host","]")),e=0;e-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}}))}return b(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(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(Cv((function(e){return t._pressedLetters.push(e)})),Nw(e),gg((function(){return t._pressedLetters.length>0})),nt((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._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;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||iw(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()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value: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}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value: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)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Iu?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),t}(),Qw=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),r(i(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}($w),Xw=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._origin="program",t}return b(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){r(i(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}($w),tM=function(){var t=function(){function t(e){_(this,t),this._platform=e}return b(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(nj){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){if(-1===nM(n))return!1;if(!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),r=nM(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(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))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){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")||eM(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Dk))},t.\u0275prov=Ot({factory:function(){return new t(ge(Dk))},token:t,providedIn:"root"}),t}();function eM(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 nM(t){if(!eM(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var iM=function(){function t(e,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return b(t,[{key:"destroy",value: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,this._hasAttached=!1}},{key:"attachAnchors",value: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)}},{key:"focusInitialElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], ")+"[cdkFocusRegion".concat(t,"], ")+"[cdk-focus-".concat(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}},{key:"_createAnchor",value: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}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(wv(1)).subscribe(t)}},{key:"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))}}]),t}(),rM=function(){var t=function(){function t(e,n,i){_(this,t),this._checker=e,this._ngZone=n,this._document=i}return b(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new iM(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(tM),ge(Mc),ge(id))},t.\u0275prov=Ot({factory:function(){return new t(ge(tM),ge(Mc),ge(id))},token:t,providedIn:"root"}),t}();"undefined"!=typeof Element&∈var aM=new se("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),oM=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),sM=function(){var t=function(){function t(e,n,i,r){_(this,t),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}return b(t,[{key:"announce",value:function(t){for(var e,n,i=this,r=this._defaultOptions,a=arguments.length,o=new Array(a>1?a-1:0),s=1;s1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return pg(null);var n=tk(t),i=Ak(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject.asObservable();var a={checkChildren:e,subject:new W,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject.asObservable()}},{key:"stopMonitoring",value:function(t){var e=tk(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=tk(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach((function(e,n){return t.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout((function(){return e._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(t){var e=hM(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===hM(t))){var i=this._getFocusOrigin(t);this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run((function(){return t.next(e)}))}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,cM),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,cM)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var t=e._getDocument(),n=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,cM),t.addEventListener("mousedown",e._documentMousedownListener,cM),t.addEventListener("touchstart",e._documentTouchstartListener,cM),n.addEventListener("focus",e._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cM),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cM),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,cM),i.removeEventListener("mousedown",this._documentMousedownListener,cM),i.removeEventListener("touchstart",this._documentTouchstartListener,cM),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(Dk),ge(id,8),ge(uM,8))},t.\u0275prov=Ot({factory:function(){return new t(ge(Mc),ge(Dk),ge(id,8),ge(uM,8))},token:t,providedIn:"root"}),t}();function hM(t){return t.composedPath?t.composedPath()[0]:t.target}var fM=function(){var t=function(){function t(e,n){_(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new Ou}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return t.cdkFocusChange.emit(e)}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(dM))},t.\u0275dir=Ve({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),pM=function(){var t=function(){function t(e,n){_(this,t),this._platform=e,this._document=n}return b(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Dk),ge(id))},t.\u0275prov=Ot({factory:function(){return new t(ge(Dk),ge(id))},token:t,providedIn:"root"}),t}(),mM=function(){var t=function t(e){_(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)(ge(pM))},imports:[[Lk,Uw]]}),t}(),gM=new Nl("10.1.1"),vM=["*",[["mat-option"],["ng-container"]]],_M=["*","mat-option, ng-container"];function yM(t,e){if(1&t&&cs(0,"mat-pseudo-checkbox",3),2&t){var n=Ms();os("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var bM=["*"],kM=new Nl("10.1.1"),wM=new se("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),MM=function(){var t=function(){function t(e,n,i){_(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return b(t,[{key:"_getDocument",value:function(){var t=this._document||document;return"object"==typeof t&&t?t:null}},{key:"_getWindow",value:function(){var t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return ir()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(!t&&e&&e.body&&"function"==typeof getComputedStyle){var n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);var i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&kM.full!==gM.full&&console.warn("The Angular Material version ("+kM.full+") does not match the Angular CDK version ("+gM.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)(ge(pM),ge(wM,8),ge(id,8))},imports:[[Rk],Rk]}),t}();function SM(t){return function(t){f(n,t);var e=v(n);function n(){var t;_(this,n);for(var i=arguments.length,r=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return function(t){f(i,t);var n=v(i);function i(){var t;_(this,i);for(var r=arguments.length,a=new Array(r),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},OM),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var o=i.radius||NM(t,e,r),s=t-r.left,l=e-r.top,u=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left="".concat(s-o,"px"),c.style.top="".concat(l-o,"px"),c.style.height="".concat(2*o,"px"),c.style.width="".concat(2*o,"px"),null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(c),RM(c),c.style.transform="scale(1)";var d=new PM(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var t=d===n._mostRecentTransientRipple;d.state=1,i.persistent||t&&n._isPointerDown||d.fadeOut()}),u),d}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},OM),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone((function(){t.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(t){return t.fadeOut()}))}},{key:"setupTriggerEvents",value:function(t){var e=tk(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(IM))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(YM),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=lM(t),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(t,e)}))}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){t.forEach((function(t){e._triggerElement.addEventListener(t,e,AM)}))}))}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(IM.forEach((function(e){t._triggerElement.removeEventListener(e,t,AM)})),this._pointerUpEventsRegistered&&YM.forEach((function(e){t._triggerElement.removeEventListener(e,t,AM)})))}}]),t}();function RM(t){window.getComputedStyle(t).getPropertyValue("opacity")}function NM(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}var HM=new se("mat-ripple-global-options"),jM=function(){var t=function(){function t(e,n,i,r,a){_(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new FM(this,n,e,i)}return b(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Mc),rs(Dk),rs(HM,8),rs(cg,8))},t.\u0275dir=Ve({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&Vs("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),BM=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[MM,Lk],MM]}),t}(),VM=function(){var t=function t(e){_(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1};return t.\u0275fac=function(e){return new(e||t)(rs(cg,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&Vs("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.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}\n'],encapsulation:2,changeDetection:0}),t}(),zM=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),WM=SM((function t(){_(this,t)})),UM=0,qM=new se("MatOptgroup"),GM=function(){var t=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._labelId="mat-optgroup-label-".concat(UM++),t}return n}(WM);return t.\u0275fac=function(e){return KM(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(ts("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),Vs("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Cl([{provide:qM,useExisting:t}]),fl],ngContentSelectors:_M,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(xs(vM),ls(0,"label",0),rl(1),Cs(2),us(),Cs(3,1)),2&t&&(os("id",e._labelId),Gr(1),ol("",e.label," "))},styles:[".mat-optgroup-label{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%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}(),KM=Bi(GM),JM=0,ZM=function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(this,t),this.source=e,this.isUserInput=n},$M=new se("MAT_OPTION_PARENT_COMPONENT"),QM=function(){var t=function(){function t(e,n,i,r){_(this,t),this._element=e,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(JM++),this.onSelectionChange=new Ou,this._stateChanges=new W}return b(t,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){13!==t.keyCode&&32!==t.keyCode||iw(t)||(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new ZM(this,t))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Jb(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(xo),rs($M,8),rs(qM,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&vs("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(cl("id",e.id),ts("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),Vs("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:bM,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(xs(),ns(0,yM,1,2,"mat-pseudo-checkbox",0),ls(1,"span",1),Cs(2),us(),cs(3,"div",2)),2&t&&(os("ngIf",e.multiple),Gr(3),os("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[wh,jM,VM],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:none;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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .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}.cdk-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}\n"],encapsulation:2,changeDetection:0}),t}();function XM(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),a=0,o=0;o*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .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}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n",oS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],sS=xM(SM(CM((function t(e){_(this,t),this._elementRef=e})))),lS=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;_(this,n),(a=e.call(this,t))._focusMonitor=i,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var o,s=d(oS);try{for(s.s();!(o=s.n()).done;){var l=o.value;a._hasHostAttributes(l)&&a._getHostElement().classList.add(l)}}catch(u){s.e(u)}finally{s.f()}return t.nativeElement.classList.add("mat-button-base"),a.isRoundButton&&(a.color="accent"),a}return b(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),t,e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;ithis.total&&this.destination.next(t)}}]),n}(A),fS=new Set,pS=function(){var t=function(){function t(e){_(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):mS}return b(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!fS.has(t))try{tS||((tS=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(tS)),tS.sheet&&(tS.sheet.insertRule("@media ".concat(t," {.fx-query-test{ }}"),0),fS.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Dk))},t.\u0275prov=Ot({factory:function(){return new t(ge(Dk))},token:t,providedIn:"root"}),t}();function mS(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var gS=function(){var t=function(){function t(e,n){_(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new W}return b(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return vS(Qb(t)).some((function(t){return e._registerQuery(t).mql.matches}))}},{key:"observe",value:function(t){var e=this,n=ev(vS(Qb(t)).map((function(t){return e._registerQuery(t).observable})));return(n=Iv(n.pipe(wv(1)),n.pipe((function(t){return t.lift(new dS(1))}),Nw(0)))).pipe(nt((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})))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new H((function(t){var i=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Yv(n),nt((function(e){return{query:t,matches:e.matches}})),yk(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(pS),ge(Mc))},t.\u0275prov=Ot({factory:function(){return new t(ge(pS),ge(Mc))},token:t,providedIn:"root"}),t}();function vS(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}function _S(t,e){if(1&t){var n=ps();ls(0,"div",1),ls(1,"button",2),vs("click",(function(){return Cn(n),Ms().action()})),rl(2),us(),us()}if(2&t){var i=Ms();Gr(2),al(i.data.action)}}function yS(t,e){}var bS=new se("MatSnackBarData"),kS=function t(){_(this,t),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},wS=Math.pow(2,31)-1,MS=function(){function t(e,n){var i=this;_(this,t),this._overlayRef=n,this._afterDismissed=new W,this._afterOpened=new W,this._onAction=new W,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe((function(){return i.dismiss()})),e._onExit.subscribe((function(){return i._finishDismiss()}))}return b(t,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var e=this;this._durationTimeoutId=setTimeout((function(){return e.dismiss()}),Math.min(t,wS))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed.asObservable()}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction.asObservable()}}]),t}(),SS=function(){var t=function(){function t(e,n){_(this,t),this.snackBarRef=e,this.data=n}return b(t,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(MS),rs(bS))},t.\u0275cmp=Fe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(ls(0,"span"),rl(1),us(),ns(2,_S,3,1,"div",0)),2&t&&(Gr(1),al(e.data.message),Gr(1),os("ngIf",e.hasAction))},directives:[wh,lS],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}\n"],encapsulation:2,changeDetection:0}),t}(),xS={snackBarState:jf("state",[Uf("void, hidden",Wf({transform:"scale(0.8)",opacity:0})),Uf("visible",Wf({transform:"scale(1)",opacity:1})),Gf("* => visible",Bf("150ms cubic-bezier(0, 0, 0.2, 1)")),Gf("* => void, * => hidden",Bf("75ms cubic-bezier(0.4, 0.0, 1, 1)",Wf({opacity:0})))])},CS=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this))._ngZone=t,o._elementRef=i,o._changeDetectorRef=r,o.snackBarConfig=a,o._destroyed=!1,o._onExit=new W,o._onEnter=new W,o._animationState="void",o.attachDomPortal=function(t){return o._assertNotAttached(),o._applySnackBarClasses(),o._portalOutlet.attachDomPortal(t)},o._role="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?null:"status":"alert",o}return b(n,[{key:"attachComponentPortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}},{key:"onAnimationEnd",value: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()}))}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(wv(1)).subscribe((function(){t._onExit.next(),t._onExit.complete()}))}},{key:"_applySnackBarClasses",value: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")}},{key:"_assertNotAttached",value:function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}]),n}(Jk);return t.\u0275fac=function(e){return new(e||t)(rs(Mc),rs(Pl),rs(xo),rs(kS))},t.\u0275cmp=Fe({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var n;1&t&&Wu(Qk,!0),2&t&&zu(n=Zu())&&(e._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(t,e){1&t&&_s("@state.done",(function(t){return e.onAnimationEnd(t)})),2&t&&(ts("role",e._role),dl("@state",e._animationState))},features:[fl],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&ns(0,yS,0,0,"ng-template",0)},directives:[Qk],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}.cdk-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%}\n"],encapsulation:2,data:{animation:[xS.snackBarState]}}),t}(),DS=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[Rw,ew,rf,cS,MM],MM]}),t}(),LS=new se("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new kS}}),TS=function(){var t=function(){function t(e,n,i,r,a,o){_(this,t),this._overlay=e,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=o,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=SS,this.snackBarContainerComponent=CS,this.handsetCssClass="mat-snack-bar-handset"}return b(t,[{key:"openFromComponent",value:function(t,e){return this._attach(t,e)}},{key:"openFromTemplate",value:function(t,e){return this._attach(t,e)}},{key:"open",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,e){var n=new nw(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[kS,e]])),i=new qk(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}},{key:"_attach",value:function(t,e){var n=this,i=Object.assign(Object.assign(Object.assign({},new kS),this._defaultConfig),e),r=this._createOverlay(i),a=this._attachSnackBarContainer(r,i),o=new MS(a,r);if(t instanceof eu){var s=new Gk(t,null,{$implicit:i.data,snackBarRef:o});o.instance=a.attachTemplatePortal(s)}else{var l=this._createInjector(i,o),u=new qk(t,void 0,l),c=a.attachComponentPortal(u);o.instance=c.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(yk(r.detachments())).subscribe((function(t){var e=r.overlayElement.classList;t.matches?e.add(n.handsetCssClass):e.remove(n.handsetCssClass)})),this._animateSnackBar(o,i),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value: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)}},{key:"_createOverlay",value:function(t){var e=new hw;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,a=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):a?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}},{key:"_createInjector",value:function(t,e){return new nw(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[MS,e],[bS,t.data]]))}},{key:"_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}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Pw),ge(sM),ge(zo),ge(gS),ge(t,12),ge(LS))},t.\u0275prov=Ot({factory:function(){return new t(ge(Pw),ge(sM),ge(le),ge(gS),ge(t,12),ge(LS))},token:t,providedIn:DS}),t}();function ES(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(Cr.RESOURCE_URL,t);if(!n)throw IS(t);var i=this._cachedIconsByUrl.get(n);return i?pg(NS(i)):this._loadSvgIconFromConfig(new FS(t)).pipe(Cv((function(t){return e._cachedIconsByUrl.set(n,t)})),nt((function(t){return NS(t)})))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=HS(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):jb(AS(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgElement?pg(NS(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Cv((function(e){return t.svgElement=e})),nt((function(t){return NS(t)})))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var n=this,i=this._extractIconWithNameFromAnySet(t,e);return i?pg(i):ES(e.filter((function(t){return!t.svgElement})).map((function(t){return n._loadSvgIconSetFromConfig(t).pipe(yv((function(e){var i=n._sanitizer.sanitize(Cr.RESOURCE_URL,t.url),r="Loading icon set URL: ".concat(i," failed: ").concat(e.message);return n._errorHandler.handleError(new Error(r)),pg(null)})))}))).pipe(nt((function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw AS(t);return i})))}},{key:"_extractIconWithNameFromAnySet",value: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}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe(nt((function(n){return e._createSvgElementForSingleIcon(n,t.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(t){var e=this;return t.svgElement?pg(t.svgElement):this._fetchIcon(t).pipe(nt((function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(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 a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value: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}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString(""),n=t.attributes,i=0;i5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];_(this,t),this.store=e,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=a,this.useDefaultLang=o,this.isolate=s,this.pending=!1,this._onTranslationChange=new Ou,this._onLangChange=new Ou,this._onDefaultLangChange=new Ou,this._langs=[],this._translations={},this._translationRequests={}}return b(t,[{key:"setDefaultLang",value:function(t){var e=this;if(t!==this.defaultLang){var n=this.retrieveTranslations(t);void 0!==n?(this.defaultLang||(this.defaultLang=t),n.pipe(wv(1)).subscribe((function(n){e.changeDefaultLang(t)}))):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var e=this;if(t===this.currentLang)return pg(this.translations[t]);var n=this.retrieveTranslations(t);return void 0!==n?(this.currentLang||(this.currentLang=t),n.pipe(wv(1)).subscribe((function(n){e.changeLang(t)})),n):(this.changeLang(t),pg(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var e;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}},{key:"getTranslation",value:function(t){var e=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(kt()),this.loadingTranslations.pipe(wv(1)).subscribe((function(n){e.translations[t]=e.compiler.compileTranslations(n,t),e.updateLangs(),e.pending=!1}),(function(t){e.pending=!1})),this.loadingTranslations}},{key:"setTranslation",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e=this.compiler.compileTranslations(e,t),this.translations[t]=n&&this.translations[t]?ax(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var e=this;t.forEach((function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)}))}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,e,n){var i;if(e instanceof Array){var r,a={},o=!1,s=d(e);try{for(s.s();!(r=s.n()).done;){var l=r.value;a[l]=this.getParsedResult(t,l,n),"function"==typeof a[l].subscribe&&(o=!0)}}catch(g){s.e(g)}finally{s.f()}if(o){var u,c,h=d(e);try{for(h.s();!(c=h.n()).done;){var f=c.value,p="function"==typeof a[f].subscribe?a[f]:pg(a[f]);u=void 0===u?p:ft(u,p)}}catch(g){h.e(g)}finally{h.f()}return u.pipe(function(t,e){return arguments.length>=2?function(n){return R(Fv(t,e),uv(1),gv(e))(n)}:function(e){return R(Fv((function(e,n,i){return t(e,n,i+1)})),uv(1))(e)}}(GS,[]),nt((function(t){var n={};return t.forEach((function(t,i){n[e[i]]=t})),n})))}return a}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){var m={key:e,translateService:this};void 0!==n&&(m.interpolateParams=n),i=this.missingTranslationHandler.handle(m)}return void 0!==i?i:e}},{key:"get",value:function(t,e){var n=this;if(!ix(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return H.create((function(i){var r=function(t){i.next(t),i.complete()},a=function(t){i.error(t)};n.loadingTranslations.subscribe((function(i){"function"==typeof(i=n.getParsedResult(n.compiler.compileTranslations(i,n.currentLang),t,e)).subscribe?i.subscribe(r,a):r(i)}),a)}));var i=this.getParsedResult(this.translations[this.currentLang],t,e);return"function"==typeof i.subscribe?i:pg(i)}},{key:"stream",value:function(t,e){var n=this;if(!ix(t)||!t.length)throw new Error('Parameter "key" required');return Iv(this.get(t,e),this.onLangChange.pipe(Pv((function(i){var r=n.getParsedResult(i.translations,t,e);return"function"==typeof r.subscribe?r:pg(r)}))))}},{key:"instant",value:function(t,e){if(!ix(t)||!t.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],t,e);if(void 0!==n.subscribe){if(t instanceof Array){var i={};return t.forEach((function(e,n){i[t[n]]=t[n]})),i}return t}return n}},{key:"set",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang||this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator)return(window.navigator.languages?window.navigator.languages[0]:null)||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}},{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(ux),ge(KS),ge(XS),ge(ox),ge($S),ge(dx),ge(cx))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),fx=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this.translateService=e,this.element=n,this._ref=i,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe((function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)}))),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe((function(t){r.checkNodes(!0,t.translations)}))),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe((function(t){r.checkNodes(!0)})))}return b(t,[{key:"ngAfterViewChecked",value:function(){this.checkNodes()}},{key:"checkNodes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(var i=0;i1?i-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:KS,useClass:JS},e.compiler||{provide:XS,useClass:tx},e.parser||{provide:ox,useClass:sx},e.missingTranslationHandler||{provide:$S,useClass:QS},ux,{provide:cx,useValue:e.isolate},{provide:dx,useValue:e.useDefaultLang},hx]}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:KS,useClass:JS},e.compiler||{provide:XS,useClass:tx},e.parser||{provide:ox,useClass:sx},e.missingTranslationHandler||{provide:$S,useClass:QS},{provide:cx,useValue:e.isolate},{provide:dx,useValue:e.useDefaultLang},hx]}}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}();function gx(t,e){if(1&t&&(ls(0,"div",4),ls(1,"mat-icon"),rl(2),us(),us()),2&t){var n=Ms();Gr(2),al(n.config.icon)}}function vx(t,e){if(1&t&&(ls(0,"div",5),rl(1),Du(2,"translate"),Du(3,"translate"),us()),2&t){var n=Ms();Gr(1),sl(" ",Lu(2,2,"common.error")," ",Tu(3,4,n.config.smallText,n.config.smallTextTranslationParams)," ")}}var _x=function(t){return t.Error="error",t.Done="done",t.Warning="warning",t}({}),yx=function(t){return t.Red="red-background",t.Green="green-background",t.Yellow="yellow-background",t}({}),bx=function(){function t(t,e){this.snackbarRef=e,this.config=t}return t.prototype.close=function(){this.snackbarRef.dismiss()},t.\u0275fac=function(e){return new(e||t)(rs(bS),rs(MS))},t.\u0275cmp=Fe({type:t,selectors:[["app-snack-bar"]],decls:8,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button",3,"click"],[1,"icon-container"],[1,"second-line"]],template:function(t,e){1&t&&(ls(0,"div"),ns(1,gx,3,1,"div",0),ls(2,"div",1),rl(3),Du(4,"translate"),ns(5,vx,4,7,"div",2),us(),ls(6,"mat-icon",3),vs("click",(function(){return e.close()})),rl(7,"close"),us(),us()),2&t&&(Us("main-container "+e.config.color),Gr(1),os("ngIf",e.config.icon),Gr(2),ol(" ",Tu(4,5,e.config.text,e.config.textTranslationParams)," "),Gr(2),os("ngIf",e.config.smallText))},directives:[wh,US],pipes:[px],styles:['.close-button[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.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;word-break:break-word}.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}']}),t}(),kx=function(t){return t.NoConnection="NoConnection",t.Unknown="Unknown",t}({}),wx=function(){return function(){}}();function Mx(t){if(t&&t.type&&!t.srcElement)return t;var e=new wx;return e.originalError=t,t&&"string"!=typeof t?(e.originalServerErrorMsg=function(t){if(t){if("string"==typeof t._body)return t._body;if(t.originalServerErrorMsg&&"string"==typeof t.originalServerErrorMsg)return t.originalServerErrorMsg;if(t.error&&"string"==typeof t.error)return t.error;if(t.error&&t.error.error&&t.error.error.message)return t.error.error.message;if(t.error&&t.error.error&&"string"==typeof t.error.error)return t.error.error;if(t.message)return t.message;if(t._body&&t._body.error)return t._body.error;try{return JSON.parse(t._body).error}catch(e){}}return null}(t),null!=t.status&&(0!==t.status&&504!==t.status||(e.type=kx.NoConnection,e.translatableErrorMsg="common.no-connection-error")),e.type||(e.type=kx.Unknown,e.translatableErrorMsg=e.originalServerErrorMsg?function(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch(i){}if(t.startsWith("400")||t.startsWith("403")){var e=t.split(" - ",2);t=2===e.length?e[1]:t}var n=(t=t.trim()).substr(0,1);return n.toUpperCase()!==n&&(t=n.toUpperCase()+t.substr(1,t.length-1)),t.endsWith(".")||t.endsWith(",")||t.endsWith(":")||t.endsWith(";")||t.endsWith("?")||t.endsWith("!")||(t+="."),t}(e.originalServerErrorMsg):"common.operation-error"),e):(e.originalServerErrorMsg=t||"",e.translatableErrorMsg=t||"common.operation-error",e.type=kx.Unknown,e)}var Sx=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=Mx(t),i=i?Mx(i):null,this.lastWasTemporaryError=n,this.show(t.translatableErrorMsg,e,i?i.translatableErrorMsg:null,r,_x.Error,yx.Red,15e3)},t.prototype.showWarning=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,_x.Warning,yx.Yellow,15e3)},t.prototype.showDone=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,_x.Done,yx.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,a,o){this.snackBar.openFromComponent(bx,{duration:o,panelClass:"p-0",data:{text:t,textTranslationParams:e,smallText:n,smallTextTranslationParams:i,icon:r,color:a}})},t.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(TS))},providedIn:"root"}),t}(),xx={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px"},Cx=function(){return function(t){Object.assign(this,t)}}(),Dx=function(){function t(t){this.translate=t,this.currentLanguage=new Ub(1),this.languages=new Ub(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return t.prototype.loadLanguageSettings=function(){var t=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var e=[];xx.languages.forEach((function(n){var i=new Cx(n);t.languagesInternal.push(i),e.push(i.code)})),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(xx.defaultLanguage),this.translate.onLangChange.subscribe((function(e){return t.onLanguageChanged(e)})),this.loadCurrentLanguage()}},t.prototype.changeLanguage=function(t){this.translate.use(t)},t.prototype.onLanguageChanged=function(t){this.currentLanguage.next(this.languagesInternal.find((function(e){return e.code===t.lang}))),localStorage.setItem(this.storageKey,t.lang)},t.prototype.loadCurrentLanguage=function(){var t=this,e=localStorage.getItem(this.storageKey);e=e||xx.defaultLanguage,setTimeout((function(){t.translate.use(e)}),16)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(hx))},providedIn:"root"}),t}();function Lx(t,e){}var Tx=function t(){_(this,t),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},Ex={dialogContainer:jf("dialogContainer",[Uf("void, exit",Wf({opacity:0,transform:"scale(0.7)"})),Uf("enter",Wf({transform:"none"})),Gf("* => enter",Bf("150ms cubic-bezier(0, 0, 0.2, 1)",Wf({transform:"none",opacity:1}))),Gf("* => void, * => exit",Bf("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Wf({opacity:0})))])};function Px(){throw Error("Attempting to attach dialog content after content is already attached")}var Ox=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l;return _(this,n),(l=e.call(this))._elementRef=t,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=o,l._focusMonitor=s,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l._state="enter",l._animationStateChanged=new Ou,l.attachDomPortal=function(t){return l._portalOutlet.hasAttached()&&Px(),l._setupFocusTrap(),l._portalOutlet.attachDomPortal(t)},l._ariaLabelledBy=o.ariaLabelledBy||null,l._document=a,l}return b(n,[{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached()&&Px(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached()&&Px(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var t=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"_onAnimationDone",value:function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}},{key:"_onAnimationStart",value:function(t){this._animationStateChanged.emit(t)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(Jk);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(rM),rs(xo),rs(id,8),rs(Tx),rs(dM))},t.\u0275cmp=Fe({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var n;1&t&&Wu(Qk,!0),2&t&&zu(n=Zu())&&(e._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&_s("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(ts("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),dl("@dialogContainer",e._state))},features:[fl],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&ns(0,Lx,0,0,"ng-template",0)},directives:[Qk],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}.cdk-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,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ex.dialogContainer]}}),t}(),Ax=0,Ix=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(Ax++);_(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new W,this._afterClosed=new W,this._beforeClosed=new W,this._state=0,n._id=r,n._animationStateChanged.pipe(gg((function(t){return"done"===t.phaseName&&"enter"===t.toState})),wv(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(gg((function(t){return"done"===t.phaseName&&"exit"===t.toState})),wv(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()})),e.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),e.keydownEvents().pipe(gg((function(t){return 27===t.keyCode&&!i.disableClose&&!iw(t)}))).subscribe((function(t){t.preventDefault(),Yx(i,"keyboard")})),e.backdropClick().subscribe((function(){i.disableClose?i._containerInstance._recaptureFocus():Yx(i,"mouse")}))}return b(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(gg((function(t){return"start"===t.phaseName})),wv(1)).subscribe((function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){return e._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value: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}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function Yx(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var Fx=new se("MatDialogData"),Rx=new se("mat-dialog-default-options"),Nx=new se("mat-dialog-scroll-strategy"),Hx={provide:Nx,deps:[Pw],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},jx=function(){var t=function(){function t(e,n,i,r,a,o,s){var l=this;_(this,t),this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new W,this._afterOpenedAtThisLevel=new W,this._ariaHiddenElements=new Map,this.afterAllClosed=ov((function(){return l.openDialogs.length?l._afterAllClosed:l._afterAllClosed.pipe(Yv(void 0))})),this._scrollStrategy=a}return b(t,[{key:"open",value:function(t,e){var n=this;if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new Tx)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'.concat(e.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),a=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return n._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find((function(e){return e.id===t}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new hw({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}},{key:"_attachDialogContainer",value:function(t,e){var n=zo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Tx,useValue:e}]}),i=new qk(Ox,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var r=new Ix(n,e,i.id);if(t instanceof eu)e.attachTemplatePortal(new Gk(t,null,{$implicit:i.data,dialogRef:r}));else{var a=this._createInjector(i,r,e),o=e.attachComponentPortal(new qk(t,i.viewContainerRef,a));r.componentInstance=o.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:Ox,useValue:n},{provide:Fx,useValue:t.data},{provide:Ix,useValue:e}];return!t.direction||i&&i.get(Yk,null)||r.push({provide:Yk,useValue:{value:t.direction,change:pg()}}),zo.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value: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()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value: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"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Pw),ge(zo),ge(_d,8),ge(Rx,8),ge(Nx),ge(t,12),ge(kw))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),Bx=0,Vx=function(){var t=function(){function t(e,n,i){_(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"}return b(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=qx(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}},{key:"_onButtonClick",value:function(t){Yx(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Ix,8),rs(Pl),rs(jx))},t.\u0275dir=Ve({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&vs("click",(function(t){return e._onButtonClick(t)})),2&t&&ts("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[en]}),t}(),zx=function(){var t=function(){function t(e,n,i){_(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(Bx++)}return b(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=qx(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Ix,8),rs(Pl),rs(jx))},t.\u0275dir=Ve({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&cl("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),Wx=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),Ux=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}();function qx(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 Gx=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[jx,Hx],imports:[[Rw,ew,MM],MM]}),t}(),Kx=function(){function t(t,e,n,i,r,a){r.afterOpened.subscribe((function(){return i.closeCurrent()})),n.events.subscribe((function(t){t instanceof Wv&&(i.closeCurrent(),r.closeAll(),window.scrollTo(0,0))})),r.afterAllClosed.subscribe((function(){return i.closeCurrentIfTemporaryError()})),a.loadLanguageSettings()}return t.\u0275fac=function(e){return new(e||t)(rs(Kb),rs(_d),rs(ub),rs(Sx),rs(jx),rs(Dx))},t.\u0275cmp=Fe({type:t,selectors:[["app-root"]],decls:2,vars:0,consts:[[1,"flex-1","content","container-fluid"]],template:function(t,e){1&t&&(ls(0,"div",0),cs(1,"router-outlet"),us())},directives:[mb],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}"]}),t}(),Jx={url:"",deserializer:function(t){return JSON.parse(t.data)},serializer:function(t){return JSON.stringify(t)}},Zx=function(t){f(n,t);var e=v(n);function n(t,i){var r;if(_(this,n),r=e.call(this),t instanceof H)r.destination=i,r.source=t;else{var a=r._config=Object.assign({},Jx);if(r._output=new W,"string"==typeof t)a.url=t;else for(var o in t)t.hasOwnProperty(o)&&(a[o]=t[o]);if(!a.WebSocketCtor&&WebSocket)a.WebSocketCtor=WebSocket;else if(!a.WebSocketCtor)throw new Error("no WebSocket constructor can be found");r.destination=new Ub}return r}return b(n,[{key:"lift",value:function(t){var e=new n(this._config,this.destination);return e.operator=t,e.source=this,e}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new Ub),this._output=new W}},{key:"multiplex",value:function(t,e,n){var i=this;return new H((function(r){try{i.next(t())}catch(o){r.error(o)}var a=i.subscribe((function(t){try{n(t)&&r.next(t)}catch(o){r.error(o)}}),(function(t){return r.error(t)}),(function(){return r.complete()}));return function(){try{i.next(e())}catch(o){r.error(o)}a.unsubscribe()}}))}},{key:"_connectSocket",value:function(){var t=this,e=this._config,n=e.WebSocketCtor,i=e.protocol,r=e.url,a=e.binaryType,o=this._output,s=null;try{s=i?new n(r,i):new n(r),this._socket=s,a&&(this._socket.binaryType=a)}catch(u){return void o.error(u)}var l=new C((function(){t._socket=null,s&&1===s.readyState&&s.close()}));s.onopen=function(e){if(!t._socket)return s.close(),void t._resetState();var n=t._config.openObserver;n&&n.next(e);var i=t.destination;t.destination=A.create((function(n){if(1===s.readyState)try{s.send((0,t._config.serializer)(n))}catch(e){t.destination.error(e)}}),(function(e){var n=t._config.closingObserver;n&&n.next(void 0),e&&e.code?s.close(e.code,e.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()}),(function(){var e=t._config.closingObserver;e&&e.next(void 0),s.close(),t._resetState()})),i&&i instanceof Ub&&l.add(i.subscribe(t.destination))},s.onerror=function(e){t._resetState(),o.error(e)},s.onclose=function(e){t._resetState();var n=t._config.closeObserver;n&&n.next(e),e.wasClean?o.complete():o.error(e)},s.onmessage=function(e){try{o.next((0,t._config.deserializer)(e))}catch(n){o.error(n)}}}},{key:"_subscribe",value:function(t){var e=this,n=this.source;return n?n.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add((function(){var t=e._socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())})),t)}},{key:"unsubscribe",value:function(){var t=this._socket;t&&1===t.readyState&&t.close(),this._resetState(),r(i(n.prototype),"unsubscribe",this).call(this)}}]),n}(U),$x=function(){return($x=Object.assign||function(t){for(var e,n=1,i=arguments.length;n mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t}(),vC=function(){function t(t,e){this.authService=t,this.router=e}return t.prototype.ngOnInit=function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe((function(e){t.router.navigate(e!==iC.NotLogged?["nodes"]:["login"],{replaceUrl:!0})}),(function(){t.router.navigate(["nodes"],{replaceUrl:!0})}))},t.prototype.ngOnDestroy=function(){this.verificationSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(rs(rC),rs(ub))},t.\u0275cmp=Fe({type:t,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(t,e){1&t&&(ls(0,"div",0),cs(1,"app-loading-indicator"),us())},directives:[gC],styles:[""]}),t}(),_C=new se("NgValueAccessor"),yC={provide:_C,useExisting:Ut((function(){return bC})),multi:!0},bC=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Yl),rs(Pl))},t.\u0275dir=Ve({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&vs("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Cl([yC])]}),t}(),kC={provide:_C,useExisting:Ut((function(){return MC})),multi:!0},wC=new se("CompositionEventMode"),MC=function(){var t=function(){function t(e,n,i){var r;_(this,t),this._renderer=e,this._elementRef=n,this._compositionMode=i,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=ed()?ed().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Yl),rs(Pl),rs(wC,8))},t.\u0275dir=Ve({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&vs("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[Cl([kC])]}),t}(),SC=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t}),t}(),xC=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(SC);return t.\u0275fac=function(e){return CC(e||t)},t.\u0275dir=Ve({type:t,features:[fl]}),t}(),CC=Bi(xC);function DC(){throw new Error("unimplemented")}var LC=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return b(n,[{key:"validator",get:function(){return DC()}},{key:"asyncValidator",get:function(){return DC()}}]),n}(SC),TC=function(){function t(e){_(this,t),this._cd=e}return b(t,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),t}(),EC=function(){var t=function(t){f(n,t);var e=v(n);function n(t){return _(this,n),e.call(this,t)}return n}(TC);return t.\u0275fac=function(e){return new(e||t)(rs(LC,2))},t.\u0275dir=Ve({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&Vs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[fl]}),t}(),PC=function(){var t=function(t){f(n,t);var e=v(n);function n(t){return _(this,n),e.call(this,t)}return n}(TC);return t.\u0275fac=function(e){return new(e||t)(rs(xC,2))},t.\u0275dir=Ve({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&Vs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[fl]}),t}();function OC(t){return null==t||0===t.length}function AC(t){return null!=t&&"number"==typeof t.length}var IC=new se("NgValidators"),YC=new se("NgAsyncValidators"),FC=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,RC=function(){function t(){_(this,t)}return b(t,null,[{key:"min",value:function(t){return function(e){if(OC(e.value)||OC(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return OC(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return OC(t.value)||FC.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){return OC(e.value)||!AC(e.value)?null:e.value.lengtht?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"pattern",value: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(OC(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(NC);return 0==e.length?null:function(t){return jC(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(NC);return 0==e.length?null:function(t){return ES(function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(HC)).pipe(nt(jC))}}}]),t}();function NC(t){return null!=t}function HC(t){var e=ms(t)?ot(t):t;if(!gs(e))throw new Error("Expected validator to return Promise or Observable.");return e}function jC(t){var e={};return t.forEach((function(t){e=null!=t?Object.assign(Object.assign({},e),t):e})),0===Object.keys(e).length?null:e}function BC(t){return t.validate?function(e){return t.validate(e)}:t}function VC(t){return t.validate?function(e){return t.validate(e)}:t}var zC={provide:_C,useExisting:Ut((function(){return WC})),multi:!0},WC=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Yl),rs(Pl))},t.\u0275dir=Ve({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&vs("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Cl([zC])]}),t}(),UC={provide:_C,useExisting:Ut((function(){return GC})),multi:!0},qC=function(){var t=function(){function t(){_(this,t),this._accessors=[]}return b(t,[{key:"add",value:function(t,e){this._accessors.push([t,e])}},{key:"remove",value: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)}},{key:"select",value:function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),GC=function(){var t=function(){function t(e,n,i,r){_(this,t),this._renderer=e,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return b(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(LC),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value: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 \n
      \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',$C='\n
      \n
      \n \n
      \n
      \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',QC='\n
      \n
      \n \n
      \n
      ',XC=function(){function t(){_(this,t)}return b(t,null,[{key:"controlParentException",value: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 ".concat(ZC))}},{key:"ngModelGroupException",value: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 '.concat($C,"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ").concat(QC))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ".concat(ZC))}},{key:"groupParentException",value: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 ".concat($C))}},{key:"arrayParentException",value: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 ".concat('\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 });'))}},{key:"disabledAttrWarning",value: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 ")}},{key:"ngModelWarning",value:function(t){console.warn("\n It looks like you're using ngModel on the same form field as ".concat(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 a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/").concat("formControl"===t?"FormControlDirective":"FormControlName","#use-with-ngmodel\n "))}}]),t}(),tD={provide:_C,useExisting:Ut((function(){return nD})),multi:!0};function eD(t,e){return null==t?"".concat(e):(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var nD=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}return b(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=eD(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a1?"path: '".concat(t.path.join(" -> "),"'"):t.path[0]?"name: '".concat(t.path,"'"):"unspecified name attribute",new Error("".concat(e," ").concat(n))}function pD(t){return null!=t?RC.compose(t.map(BC)):null}function mD(t){return null!=t?RC.composeAsync(t.map(VC)):null}function gD(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}var vD=[bC,JC,WC,nD,oD,GC];function _D(t,e){t._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function yD(t,e){if(!e)return null;Array.isArray(e)||fD(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach((function(e){var a;e.constructor===MC?n=e:(a=e,vD.some((function(t){return a.constructor===t}))?(i&&fD(t,"More than one built-in value accessor matches form control with"),i=e):(r&&fD(t,"More than one custom value accessor matches form control with"),r=e))})),r||i||n||(fD(t,"No valid value accessor for form control with"),null)}function bD(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function kD(t,e,n,i){ir()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(XC.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function wD(t){var e=SD(t)?t.validators:t;return Array.isArray(e)?pD(e):e||null}function MD(t,e){var n=SD(e)?e.asyncValidators:t;return Array.isArray(n)?mD(n):n||null}function SD(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var xD=function(){function t(e,n){_(this,t),this.validator=e,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return b(t,[{key:"setValidators",value:function(t){this.validator=wD(t)}},{key:"setAsyncValidators",value:function(t){this.asyncValidator=MD(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=HC(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var i=t;return e.forEach((function(t){i=i instanceof DD?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof LD&&i.at(t)||null})),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new Ou,this.statusChanges=new Ou}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls((function(e){return e.status===t}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(t){return t.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(t){return t.touched}))}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){SD(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),CD=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this,wD(r),MD(a,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),t._initObservables(),t}return b(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(t){return t(e.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value: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}}]),n}(xD),DD=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,wD(i),MD(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return b(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach((function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof CD?e.value:e.getRawValue(),t}))}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value: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: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(xD),LD=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,wD(i),MD(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return b(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value: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()}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach((function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach((function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map((function(t){return t instanceof CD?t.value:t.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value: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 ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach((function(e,n){t(e,n)}))}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))}},{key:"_anyControls",value:function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var t,e=d(this.controls);try{for(e.s();!(t=e.n()).done;)if(t.value.enabled)return!1}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(xD),TD={provide:xC,useExisting:Ut((function(){return PD}))},ED=function(){return Promise.resolve(null)}(),PD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Ou,r.form=new DD({},pD(t),mD(i)),r}return b(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;ED.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),uD(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;ED.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),bD(e._directives,t)}))}},{key:"addFormGroup",value:function(t){var e=this;ED.then((function(){var n=e._findContainer(t.path),i=new DD({});dD(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(t){var e=this;ED.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;ED.then((function(){n.form.get(t.path).setValue(e)}))}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,_D(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(xC);return t.\u0275fac=function(e){return new(e||t)(rs(IC,10),rs(YC,10))},t.\u0275dir=Ve({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&vs("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Cl([TD]),fl]}),t}(),OD=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return lD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return pD(this._validators)}},{key:"asyncValidator",get:function(){return mD(this._asyncValidators)}}]),n}(xC);return t.\u0275fac=function(e){return AD(e||t)},t.\u0275dir=Ve({type:t,features:[fl]}),t}(),AD=Bi(OD),ID=function(){function t(){_(this,t)}return b(t,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(ZC,"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ").concat('\n
      \n \n \n
      \n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat($C,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(QC))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat($C,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(QC))}}]),t}(),YD={provide:xC,useExisting:Ut((function(){return FD}))},FD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof PD||ID.modelGroupParentException()}}]),n}(OD);return t.\u0275fac=function(e){return new(e||t)(rs(xC,5),rs(IC,10),rs(YC,10))},t.\u0275dir=Ve({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Cl([YD]),fl]}),t}(),RD={provide:LC,useExisting:Ut((function(){return HD}))},ND=function(){return Promise.resolve(null)}(),HD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this)).control=new CD,s._registered=!1,s.update=new Ou,s._parent=t,s._rawValidators=i||[],s._rawAsyncValidators=r||[],s.valueAccessor=yD(a(s),o),s}return b(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),gD(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){uD(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof FD)&&this._parent instanceof OD?ID.formGroupNameException():this._parent instanceof FD||this._parent instanceof PD||ID.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ID.missingNameException()}},{key:"_updateValue",value:function(t){var e=this;ND.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;ND.then((function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()}))}},{key:"path",get:function(){return this._parent?lD(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return pD(this._rawValidators)}},{key:"asyncValidator",get:function(){return mD(this._rawAsyncValidators)}}]),n}(LC);return t.\u0275fac=function(e){return new(e||t)(rs(xC,9),rs(IC,10),rs(YC,10),rs(_C,10))},t.\u0275dir=Ve({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Cl([RD]),fl,en]}),t}(),jD=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),BD=new se("NgModelWithFormControlWarning"),VD={provide:LC,useExisting:Ut((function(){return zD}))},zD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this))._ngModelWarningConfig=o,s.update=new Ou,s._ngModelWarningSent=!1,s._rawValidators=t||[],s._rawAsyncValidators=i||[],s.valueAccessor=yD(a(s),r),s}return b(n,[{key:"ngOnChanges",value:function(t){this._isControlChanged(t)&&(uD(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),gD(t,this.viewModel)&&(kD("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}},{key:"isDisabled",set:function(t){XC.disabledAttrWarning()}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return pD(this._rawValidators)}},{key:"asyncValidator",get:function(){return mD(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),n}(LC);return t.\u0275fac=function(e){return new(e||t)(rs(IC,10),rs(YC,10),rs(_C,10),rs(BD,8))},t.\u0275dir=Ve({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Cl([VD]),fl,en]}),t._ngModelWarningSentOnce=!1,t}(),WD={provide:xC,useExisting:Ut((function(){return UD}))},UD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._validators=t,r._asyncValidators=i,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Ou,r}return b(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return uD(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){bD(this.directives,t)}},{key:"addFormGroup",value:function(t){var e=this.form.get(t.path);dD(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(t){}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){var e=this.form.get(t.path);dD(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(t){}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,_D(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value: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 hD(e)})),e.valueAccessor.registerOnTouched((function(){return hD(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&&uD(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var t=pD(this._validators);this.form.validator=RC.compose([this.form.validator,t]);var e=mD(this._asyncValidators);this.form.asyncValidator=RC.composeAsync([this.form.asyncValidator,e])}},{key:"_checkFormPresent",value:function(){this.form||XC.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(xC);return t.\u0275fac=function(e){return new(e||t)(rs(IC,10),rs(YC,10))},t.\u0275dir=Ve({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&vs("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Cl([WD]),fl,en]}),t}(),qD={provide:xC,useExisting:Ut((function(){return GD}))},GD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"_checkParentType",value:function(){ZD(this._parent)&&XC.groupParentException()}}]),n}(OD);return t.\u0275fac=function(e){return new(e||t)(rs(xC,13),rs(IC,10),rs(YC,10))},t.\u0275dir=Ve({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Cl([qD]),fl]}),t}(),KD={provide:xC,useExisting:Ut((function(){return JD}))},JD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){ZD(this._parent)&&XC.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return lD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return pD(this._validators)}},{key:"asyncValidator",get:function(){return mD(this._asyncValidators)}}]),n}(xC);return t.\u0275fac=function(e){return new(e||t)(rs(xC,13),rs(IC,10),rs(YC,10))},t.\u0275dir=Ve({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Cl([KD]),fl]}),t}();function ZD(t){return!(t instanceof GD||t instanceof UD||t instanceof JD)}var $D={provide:LC,useExisting:Ut((function(){return QD}))},QD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s){var l;return _(this,n),(l=e.call(this))._ngModelWarningConfig=s,l._added=!1,l.update=new Ou,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=i||[],l._rawAsyncValidators=r||[],l.valueAccessor=yD(a(l),o),l}return b(n,[{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),gD(t,this.viewModel)&&(kD("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_checkParentType",value:function(){!(this._parent instanceof GD)&&this._parent instanceof OD?XC.ngModelGroupException():this._parent instanceof GD||this._parent instanceof UD||this._parent instanceof JD||XC.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(t){XC.disabledAttrWarning()}},{key:"path",get:function(){return lD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return pD(this._rawValidators)}},{key:"asyncValidator",get:function(){return mD(this._rawAsyncValidators)}}]),n}(LC);return t.\u0275fac=function(e){return new(e||t)(rs(xC,13),rs(IC,10),rs(YC,10),rs(_C,10),rs(BD,8))},t.\u0275dir=Ve({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Cl([$D]),fl,en]}),t._ngModelWarningSentOnce=!1,t}(),XD={provide:IC,useExisting:Ut((function(){return eL})),multi:!0},tL={provide:IC,useExisting:Ut((function(){return nL})),multi:!0},eL=function(){var t=function(){function t(){_(this,t),this._required=!1}return b(t,[{key:"validate",value:function(t){return this.required?RC.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&"false"!=="".concat(t),this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&ts("required",e.required?"":null)},inputs:{required:"required"},features:[Cl([XD])]}),t}(),nL=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"validate",value:function(t){return this.required?RC.requiredTrue(t):null}}]),n}(eL);return t.\u0275fac=function(e){return iL(e||t)},t.\u0275dir=Ve({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&ts("required",e.required?"":null)},features:[Cl([tL]),fl]}),t}(),iL=Bi(nL),rL={provide:IC,useExisting:Ut((function(){return aL})),multi:!0},aL=function(){var t=function(){function t(){_(this,t),this._enabled=!1}return b(t,[{key:"validate",value:function(t){return this._enabled?RC.email(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"email",set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[Cl([rL])]}),t}(),oL={provide:IC,useExisting:Ut((function(){return sL})),multi:!0},sL=function(){var t=function(){function t(){_(this,t),this._validator=RC.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null==this.minlength?null:this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=RC.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&ts("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[Cl([oL]),en]}),t}(),lL={provide:IC,useExisting:Ut((function(){return uL})),multi:!0},uL=function(){var t=function(){function t(){_(this,t),this._validator=RC.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null!=this.maxlength?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=RC.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&ts("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Cl([lL]),en]}),t}(),cL={provide:IC,useExisting:Ut((function(){return dL})),multi:!0},dL=function(){var t=function(){function t(){_(this,t),this._validator=RC.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=RC.pattern(this.pattern)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&ts("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[Cl([cL]),en]}),t}(),hL=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}();function fL(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}var pL=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),i=null,r=null,a=void 0;return null!=e&&(fL(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new DD(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(t,e,n){return new CD(t,e,n)}},{key:"array",value:function(t,e,n){var i=this,r=t.map((function(t){return i._createControl(t)}));return new LD(r,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach((function(i){n[i]=e._createControl(t[i])})),n}},{key:"_createControl",value:function(t){return t instanceof CD||t instanceof DD||t instanceof LD?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ot({token:t,factory:t.\u0275fac}),t}(),mL=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[qC],imports:[hL]}),t}(),gL=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:BD,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[pL,qC],imports:[hL]}),t}();function vL(t,e){1&t&&(ls(0,"button",5),ls(1,"mat-icon"),rl(2,"close"),us(),us())}function _L(t,e){1&t&&fs(0)}var yL=function(t){return{"content-margin":t}};function bL(t,e){if(1&t&&(ls(0,"mat-dialog-content",6),ns(1,_L,1,0,"ng-container",7),us()),2&t){var n=Ms(),i=is(8);os("ngClass",wu(2,yL,n.includeVerticalMargins)),Gr(1),os("ngTemplateOutlet",i)}}function kL(t,e){1&t&&fs(0)}function wL(t,e){if(1&t&&(ls(0,"div",6),ns(1,kL,1,0,"ng-container",7),us()),2&t){var n=Ms(),i=is(8);os("ngClass",wu(2,yL,n.includeVerticalMargins)),Gr(1),os("ngTemplateOutlet",i)}}function ML(t,e){1&t&&Cs(0)}var SL=["*"],xL=function(){function t(){this.includeScrollableArea=!0,this.includeVerticalMargins=!0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:SL,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(t,e){1&t&&(xs(),ls(0,"div",0),ls(1,"span"),rl(2),us(),ns(3,vL,3,0,"button",1),us(),cs(4,"div",2),ns(5,bL,2,4,"mat-dialog-content",3),ns(6,wL,2,4,"div",3),ns(7,ML,1,0,"ng-template",null,4,tc)),2&t&&(Gr(2),al(e.headline),Gr(1),os("ngIf",!e.disableDismiss),Gr(2),os("ngIf",e.includeScrollableArea),Gr(1),os("ngIf",!e.includeScrollableArea))},directives:[zx,wh,lS,Vx,US,Wx,vh,Oh],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:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!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}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.red-text[_ngcontent-%COMP%]{color:#da3439}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width:767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 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%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:rgba(33,95,158,.2);margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t}(),CL=["button1"],DL=["button2"];function LL(t,e){1&t&&cs(0,"mat-spinner",4),2&t&&os("diameter",Ms().loadingSize)}function TL(t,e){1&t&&(ls(0,"mat-icon"),rl(1,"error_outline"),us())}var EL=function(t){return{"for-dark-background":t}},PL=["*"],OL=function(t){return t[t.Normal=0]="Normal",t[t.Error=1]="Error",t[t.Loading=2]="Loading",t}({}),AL=function(){function t(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new Ou,this.state=OL.Normal,this.buttonStates=OL}return t.prototype.ngOnDestroy=function(){this.action.complete()},t.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},t.prototype.reset=function(t){void 0===t&&(t=!0),this.state=OL.Normal,t&&(this.disabled=!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(t){void 0===t&&(t=!0),this.state=OL.Loading,t&&(this.disabled=!0)},t.prototype.showError=function(t){void 0===t&&(t=!0),this.state=OL.Error,t&&(this.disabled=!1)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-button"]],viewQuery:function(t,e){var n;1&t&&(Uu(CL,!0),Uu(DL,!0)),2&t&&(zu(n=Zu())&&(e.button1=n.first),zu(n=Zu())&&(e.button2=n.first))},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:PL,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(t,e){1&t&&(xs(),ls(0,"button",0,1),vs("click",(function(){return e.click()})),ns(2,LL,1,1,"mat-spinner",2),ns(3,TL,2,0,"mat-icon",3),Cs(4),us()),2&t&&(os("disabled",e.disabled)("color",e.color)("ngClass",wu(5,EL,e.forDarkBackground)),Gr(2),os("ngIf",e.state===e.buttonStates.Loading),Gr(1),os("ngIf",e.state===e.buttonStates.Error))},directives:[lS,vh,wh,fC,US],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!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}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.red-text[_ngcontent-%COMP%]{color:#da3439}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t}(),IL={tooltipState:jf("state",[Uf("initial, void, hidden",Wf({opacity:0,transform:"scale(0)"})),Uf("visible",Wf({transform:"scale(1)"})),Gf("* => visible",Bf("200ms cubic-bezier(0, 0, 0.2, 1)",qf([Wf({opacity:0,transform:"scale(0)",offset:0}),Wf({opacity:.5,transform:"scale(0.99)",offset:.5}),Wf({opacity:1,transform:"scale(1)",offset:1})]))),Gf("* => hidden",Bf("100ms cubic-bezier(0, 0, 0.2, 1)",Wf({opacity:0})))])},YL=Pk({passive:!0});function FL(t){return Error('Tooltip position "'.concat(t,'" is invalid.'))}var RL=new se("mat-tooltip-scroll-strategy"),NL={provide:RL,deps:[Pw],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},HL=new se("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),jL=function(){var t=function(){function t(e,n,i,r,a,o,s,l,u,c,d){var h=this;_(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new W,this._handleKeydown=function(t){h._isTooltipVisible()&&27===t.keyCode&&!iw(t)&&(t.preventDefault(),t.stopPropagation(),h._ngZone.run((function(){return h.hide(0)})))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",h._handleKeydown)}))}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEvents(),this._focusMonitor.monitor(this._elementRef).pipe(yk(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&t._ngZone.run((function(){return t.show()})):t._ngZone.run((function(){return t.hide(0)}))}))}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(e,n){t.removeEventListener(n,e,YL)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new qk(BL,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(yk(this._destroyed)).subscribe((function(){return t._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value: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(yk(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(yk(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}},{key:"_getOrigin",value: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 FL(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value: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 FL(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(wv(1),yk(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value: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}}},{key:"_setupPointerEvents",value:function(){var t=this;if(!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.size){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var e=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",(function(){clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout((function(){return t.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return t.show()})).set("mouseleave",(function(){return t.hide()}));this._passiveListeners.forEach((function(e,n){t._elementRef.nativeElement.addEventListener(n,e,YL)}))}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this._elementRef.nativeElement,e=t.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==n&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}},{key:"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()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Jb(t),this._disabled?this.hide(0):this._setupPointerEvents()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._message&&this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?"".concat(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEvents(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pw),rs(Pl),rs(Hk),rs(iu),rs(Mc),rs(Dk),rs(Zw),rs(dM),rs(RL),rs(Yk,8),rs(HL,8))},t.\u0275dir=Ve({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),BL=function(){var t=function(){function t(e,n){_(this,t),this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new W,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return b(t,[{key:"show",value: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)}},{key:"hide",value: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)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(xo),rs(gS))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&vs("click",(function(){return e._handleBodyInteraction()}),!1,ki),2&t&&Bs("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var n;1&t&&(ls(0,"div",0),vs("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),Du(1,"async"),rl(2),us()),2&t&&(Vs("mat-tooltip-handset",null==(n=Lu(1,5,e._isHandset))?null:n.matches),os("ngClass",e.tooltipClass)("@state",e._visibility),Gr(2),al(e.message))},directives:[vh],pipes:[Rh],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}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[IL.tooltipState]},changeDetection:0}),t}(),VL=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[NL],imports:[[mM,rf,Rw,MM],MM,Vk]}),t}(),zL=["underline"],WL=["connectionContainer"],UL=["inputContainer"],qL=["label"];function GL(t,e){1&t&&(ds(0),ls(1,"div",14),cs(2,"div",15),cs(3,"div",16),cs(4,"div",17),us(),ls(5,"div",18),cs(6,"div",15),cs(7,"div",16),cs(8,"div",17),us(),hs())}function KL(t,e){1&t&&(ls(0,"div",19),Cs(1,1),us())}function JL(t,e){if(1&t&&(ds(0),Cs(1,2),ls(2,"span"),rl(3),us(),hs()),2&t){var n=Ms(2);Gr(3),al(n._control.placeholder)}}function ZL(t,e){1&t&&Cs(0,3,["*ngSwitchCase","true"])}function $L(t,e){1&t&&(ls(0,"span",23),rl(1," *"),us())}function QL(t,e){if(1&t){var n=ps();ls(0,"label",20,21),vs("cdkObserveContent",(function(){return Cn(n),Ms().updateOutlineGap()})),ns(2,JL,4,1,"ng-container",12),ns(3,ZL,1,0,"ng-content",12),ns(4,$L,2,0,"span",22),us()}if(2&t){var i=Ms();Vs("mat-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),os("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),ts("for",i._control.id)("aria-owns",i._control.id),Gr(2),os("ngSwitchCase",!1),Gr(1),os("ngSwitchCase",!0),Gr(1),os("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function XL(t,e){1&t&&(ls(0,"div",24),Cs(1,4),us())}function tT(t,e){if(1&t&&(ls(0,"div",25,26),cs(2,"span",27),us()),2&t){var n=Ms();Gr(2),Vs("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function eT(t,e){1&t&&(ls(0,"div"),Cs(1,5),us()),2&t&&os("@transitionMessages",Ms()._subscriptAnimationState)}function nT(t,e){if(1&t&&(ls(0,"div",31),rl(1),us()),2&t){var n=Ms(2);os("id",n._hintLabelId),Gr(1),al(n.hintLabel)}}function iT(t,e){if(1&t&&(ls(0,"div",28),ns(1,nT,2,2,"div",29),Cs(2,6),cs(3,"div",30),Cs(4,7),us()),2&t){var n=Ms();os("@transitionMessages",n._subscriptAnimationState),Gr(1),os("ngIf",n.hintLabel)}}var rT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],aT=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],oT=0,sT=new se("MatError"),lT=function(){var t=function t(){_(this,t),this.id="mat-error-".concat(oT++)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&ts("id",e.id)},inputs:{id:"id"},features:[Cl([{provide:sT,useExisting:t}])]}),t}(),uT={transitionMessages:jf("transitionMessages",[Uf("enter",Wf({opacity:1,transform:"translateY(0%)"})),Gf("void => enter",[Wf({opacity:0,transform:"translateY(-100%)"}),Bf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},cT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t}),t}();function dT(t){return Error("A hint was already declared for 'align=\"".concat(t,"\"'."))}var hT=0,fT=new se("MatHint"),pT=function(){var t=function t(){_(this,t),this.align="start",this.id="mat-hint-".concat(hT++)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(ts("id",e.id)("align",null),Vs("mat-right","end"==e.align))},inputs:{align:"align",id:"id"},features:[Cl([{provide:fT,useExisting:t}])]}),t}(),mT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-label"]]}),t}(),gT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-placeholder"]]}),t}(),vT=new se("MatPrefix"),_T=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","matPrefix",""]],features:[Cl([{provide:vT,useExisting:t}])]}),t}(),yT=new se("MatSuffix"),bT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","matSuffix",""]],features:[Cl([{provide:yT,useExisting:t}])]}),t}(),kT=0,wT=xM((function t(e){_(this,t),this._elementRef=e}),"primary"),MT=new se("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ST=new se("MatFormField"),xT=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u){var c;return _(this,n),(c=e.call(this,t))._elementRef=t,c._changeDetectorRef=i,c._dir=a,c._defaults=o,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new W,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-".concat(kT++),c._labelId="mat-form-field-label-".concat(kT++),c._labelOptions=r||{},c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==u,c.appearance=o&&o.appearance?o.appearance:"legacy",c._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,c}return b(n,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(e.controlType)),e.stateChanges.pipe(Yv(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(yk(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(yk(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),ft(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Yv(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Yv(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(yk(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t.updateOutlineGap()}))})):t.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ek(this._label.nativeElement,"transitionend").pipe(wv(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(t||n.hintLabel)throw dT("start");t=i}else if("end"===i.align){if(e)throw dT("end");e=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value: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)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),l=t.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,d=0;d0?.75*c+10:0}for(var h=0;h0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(e||this._minRows!==this._previousMinRows||i!==this._previousValue){var r=n.placeholder;n.classList.add(this._measuringClass),n.placeholder="";var a=n.scrollHeight-4;n.style.height="".concat(a,"px"),n.classList.remove(this._measuringClass),n.placeholder=r,this._ngZone.runOutsideAngular((function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame((function(){return t._scrollToCaretPosition(n)})):setTimeout((function(){return t._scrollToCaretPosition(n)}))})),this._previousValue=i,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(t){var e=t.selectionStart,n=t.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==t||t.setSelectionRange(e,n)}},{key:"minRows",get:function(){return this._minRows},set:function(t){this._minRows=Zb(t),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(t){this._maxRows=Zb(t),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(t){t=Jb(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Dk),rs(Mc),rs(id,8))},t.\u0275dir=Ve({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&vs("input",(function(){return e._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t}(),PT=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[Lk]]}),t}(),OT=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"matAutosizeMinRows",get:function(){return this.minRows},set:function(t){this.minRows=t}},{key:"matAutosizeMaxRows",get:function(){return this.maxRows},set:function(t){this.maxRows=t}},{key:"matAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}},{key:"matTextareaAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}}]),n}(ET);return t.\u0275fac=function(e){return AT(e||t)},t.\u0275dir=Ve({type:t,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[fl]}),t}(),AT=Bi(OT),IT=new se("MAT_INPUT_VALUE_ACCESSOR"),YT=["button","checkbox","file","hidden","image","radio","range","reset","submit"],FT=0,RT=LM((function t(e,n,i,r){_(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r})),NT=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u,c,d){var h;_(this,n),(h=e.call(this,s,a,o,r))._elementRef=t,h._platform=i,h.ngControl=r,h._autofillMonitor=u,h._formField=d,h._uid="mat-input-".concat(FT++),h.focused=!1,h.stateChanges=new W,h.controlType="mat-input",h.autofilled=!1,h._disabled=!1,h._required=!1,h._type="text",h._readonly=!1,h._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Ek().has(t)}));var f=h._elementRef.nativeElement,p=f.nodeName.toLowerCase();return h._inputValueAccessor=l||f,h._previousNativeValue=h.value,h.id=h.id,i.IOS&&c.runOutsideAngular((function(){t.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),h._isServer=!h._platform.isBrowser,h._isNativeSelect="select"===p,h._isTextarea="textarea"===p,h._isNativeSelect&&(h.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select"),h}return b(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var t=this._formField,e=t&&t._hideControlPlaceholder()?null:this.placeholder;if(e!==this._previousPlaceholder){var n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_validateType",value:function(){if(YT.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Jb(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=Jb(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Ek().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=Jb(t)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"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}}]),n}(RT);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Dk),rs(LC,10),rs(PD,8),rs(UD,8),rs(EM),rs(IT,10),rs(LT),rs(Mc),rs(xT,8))},t.\u0275dir=Ve({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&vs("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(cl("disabled",e.disabled)("required",e.required),ts("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),Vs("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Cl([{provide:cT,useExisting:t}]),fl,en]}),t}(),HT=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[EM],imports:[[PT,CT],PT,CT]}),t}(),jT=["button"],BT=["firstInput"];function VT(t,e){1&t&&(ls(0,"mat-form-field",10),cs(1,"input",11),Du(2,"translate"),ls(3,"mat-error"),rl(4),Du(5,"translate"),us(),us()),2&t&&(Gr(1),os("placeholder",Lu(2,2,"settings.password.old-password")),Gr(3),ol(" ",Lu(5,4,"settings.password.errors.old-password-required")," "))}var zT=function(t){return{"rounded-elevated-box":t}},WT=function(t){return{"white-form-field":t}},UT=function(t,e){return{"mt-2 app-button":t,"float-right":e}},qT=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 DD({oldPassword:new CD("",this.forInitialConfig?null:RC.required),newPassword:new CD("",RC.compose([RC.required,RC.minLength(6),RC.maxLength(64)])),newPasswordConfirmation:new CD("",[RC.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=Mx(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=Mx(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.\u0275fac=function(e){return new(e||t)(rs(rC),rs(ub),rs(Sx),rs(jx))},t.\u0275cmp=Fe({type:t,selectors:[["app-password"]],viewQuery:function(t,e){var n;1&t&&(Uu(jT,!0),Uu(BT,!0)),2&t&&(zu(n=Zu())&&(e.button=n.first),zu(n=Zu())&&(e.firstInput=n.first))},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"div"),ls(3,"mat-icon",2),Du(4,"translate"),rl(5," help "),us(),us(),ls(6,"form",3),ns(7,VT,6,6,"mat-form-field",4),ls(8,"mat-form-field",0),cs(9,"input",5,6),Du(11,"translate"),ls(12,"mat-error"),rl(13),Du(14,"translate"),us(),us(),ls(15,"mat-form-field",0),cs(16,"input",7),Du(17,"translate"),ls(18,"mat-error"),rl(19),Du(20,"translate"),us(),us(),ls(21,"app-button",8,9),vs("action",(function(){return e.changePassword()})),rl(23),Du(24,"translate"),us(),us(),us(),us()),2&t&&(os("ngClass",wu(29,zT,!e.forInitialConfig)),Gr(2),Us((e.forInitialConfig?"":"white-")+"form-help-icon-container"),Gr(1),os("inline",!0)("matTooltip",Lu(4,17,e.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),Gr(3),os("formGroup",e.form),Gr(1),os("ngIf",!e.forInitialConfig),Gr(1),os("ngClass",wu(31,WT,!e.forInitialConfig)),Gr(1),os("placeholder",Lu(11,19,e.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),Gr(4),ol(" ",Lu(14,21,"settings.password.errors.new-password-error")," "),Gr(2),os("ngClass",wu(33,WT,!e.forInitialConfig)),Gr(1),os("placeholder",Lu(17,23,e.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),Gr(3),ol(" ",Lu(20,25,"settings.password.errors.passwords-not-match")," "),Gr(2),os("ngClass",Mu(35,UT,!e.forInitialConfig,e.forInitialConfig))("disabled",!e.form.valid)("forDarkBackground",!e.forInitialConfig),Gr(2),ol(" ",Lu(24,27,e.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[vh,US,jL,jD,PC,UD,wh,xT,MC,NT,EC,QD,uL,lT,AL],pipes:[px],styles:["app-button[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right}"]}),t}(),GT=function(){function t(){}return t.openDialog=function(e){var n=new Tx;return n.autoFocus=!1,n.width=xx.smallModalWidth,e.open(t,n)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),cs(2,"app-password",1),us()),2&t&&(os("headline",Lu(1,2,"settings.password.initial-config.title")),Gr(2),os("forInitialConfig",!0))},directives:[xL,qT],pipes:[px],styles:[""]}),t}();function KT(t,e){if(1&t){var n=ps();ls(0,"button",3),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms().closePopup(t)})),cs(1,"img",4),ls(2,"div",5),rl(3),us(),us()}if(2&t){var i=e.$implicit;Gr(1),os("src","assets/img/lang/"+i.iconName,Dr),Gr(2),al(i.name)}}var JT=function(){function t(t,e){this.dialogRef=t,this.languageService=e,this.languages=[]}return t.openDialog=function(e){var n=new Tx;return n.autoFocus=!1,n.width=xx.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.\u0275fac=function(e){return new(e||t)(rs(Ix),rs(Dx))},t.\u0275cmp=Fe({type:t,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"div",1),ns(3,KT,4,2,"button",2),us(),us()),2&t&&(os("headline",Lu(1,2,"language.title")),Gr(3),os("ngForOf",e.languages))},directives:[xL,bh,lS],pipes:[px],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!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}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.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}@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:64px;height:64px;margin:10px 0}@media (max-width:767px){.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%]{background-color:hsla(0,0%,100%,.25);padding:4px 10px}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t}();function ZT(t,e){1&t&&cs(0,"img",2),2&t&&os("src","assets/img/lang/"+Ms().language.iconName,Dr)}var $T=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(){JT.openDialog(this.dialog)},t.\u0275fac=function(e){return new(e||t)(rs(Dx),rs(jx))},t.\u0275cmp=Fe({type:t,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(t,e){1&t&&(ls(0,"button",0),vs("click",(function(){return e.openLanguageWindow()})),Du(1,"translate"),ns(2,ZT,1,1,"img",1),us()),2&t&&(os("matTooltip",Lu(1,2,"language.title")),Gr(2),os("ngIf",e.language))},directives:[lS,jL,wh],pipes:[px],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;border-radius:10px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t}(),QT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.loading=!1}return t.prototype.ngOnInit=function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe((function(e){e!==iC.NotLogged&&t.router.navigate(["nodes"],{replaceUrl:!0})})),this.form=new DD({password:new CD("",RC.required)})},t.prototype.ngOnDestroy=function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe()},t.prototype.login=function(){var t=this;this.form.valid&&!this.loading&&(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe((function(){return t.onLoginSuccess()}),(function(e){return t.onLoginError(e)})))},t.prototype.configure=function(){GT.openDialog(this.dialog)},t.prototype.onLoginSuccess=function(){this.router.navigate(["nodes"],{replaceUrl:!0})},t.prototype.onLoginError=function(t){t=Mx(t),this.loading=!1,this.snackbarService.showError(t.originalError&&401===t.originalError.status?"login.incorrect-password":t.translatableErrorMsg)},t.\u0275fac=function(e){return new(e||t)(rs(rC),rs(ub),rs(Sx),rs(jx))},t.\u0275cmp=Fe({type:t,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(t,e){1&t&&(ls(0,"div",0),cs(1,"app-lang-button"),ls(2,"div",1),cs(3,"img",2),ls(4,"form",3),ls(5,"div",4),ls(6,"input",5),vs("keydown.enter",(function(){return e.login()})),Du(7,"translate"),us(),ls(8,"button",6),vs("click",(function(){return e.login()})),ls(9,"mat-icon"),rl(10,"chevron_right"),us(),us(),us(),us(),ls(11,"div",7),vs("click",(function(){return e.configure()})),rl(12),Du(13,"translate"),us(),us(),us()),2&t&&(Gr(4),os("formGroup",e.form),Gr(2),os("placeholder",Lu(7,4,"login.password")),Gr(2),os("disabled",!e.form.valid||e.loading),Gr(4),al(Lu(13,6,"login.initial-config")))},directives:[$T,jD,PC,UD,MC,EC,QD,US],pipes:[px],styles:['.config-link[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px 0 rgba(0,0,0,.1),0 6px 20px 0 rgba(0,0,0,.1);display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),t}();function XT(t){return t instanceof Date&&!isNaN(+t)}function tE(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dk,n=XT(t),i=n?+t-e.now():Math.abs(t);return function(t){return t.lift(new eE(i,e))}}var eE=function(){function t(e,n){_(this,t),this.delay=e,this.scheduler=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new nE(t,this.delay,this.scheduler))}}]),t}(),nE=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return b(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new iE(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(Vb.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Vb.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1}}]),n}(A),iE=function t(e,n){_(this,t),this.time=e,this.notification=n},rE=n("kB5k"),aE=n.n(rE),oE=function(){return function(){}}(),sE=function(){return function(){}}(),lE=function(){function t(t){this.apiService=t}return 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.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(eC))},providedIn:"root"}),t}(),uE=function(){function t(t){this.apiService=t}return 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.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(eC))},providedIn:"root"}),t}(),cE=function(){return function(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}(),dE=function(){return function(){}}(),hE=function(t){return t.UseCustomSettings="updaterUseCustomSettings",t.Channel="updaterChannel",t.Version="updaterVersion",t.ArchiveURL="updaterArchiveURL",t.ChecksumsURL="updaterChecksumsURL",t}({}),fE=function(){function t(t,e,n,i){var r=this;this.apiService=t,this.storageService=e,this.transportService=n,this.routeService=i,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Qg(null),this.updatingNodeListSubject=new Qg(!1),this.specificNodeSubject=new Qg(null),this.updatingSpecificNodeSubject=new Qg(!1),this.specificNodeTrafficDataSubject=new Qg(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe((function(t){r.dataRefreshDelay=1e3*t,r.nodeListRefreshSubscription&&r.forceNodeListRefresh(),r.specificNodeRefreshSubscription&&r.forceSpecificNodeRefresh()}))}return Object.defineProperty(t.prototype,"nodeList",{get:function(){return this.nodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updatingNodeList",{get:function(){return this.updatingNodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"specificNode",{get:function(){return this.specificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updatingSpecificNode",{get:function(){return this.updatingSpecificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"specificNodeTrafficData",{get:function(){return this.specificNodeTrafficDataSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.startRequestingNodeList=function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var t=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(t=t>0?t:0,!0)},t.prototype.startRequestingSpecificNode=function(t){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===t)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var e=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==t||0===e?(this.specificNodeKey=t,this.specificNodeTrafficDataSubject.next(new cE),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(e,!1)},t.prototype.calculateRemainingTime=function(t){if(t<1)return 0;var e=this.dataRefreshDelay-(Date.now()-t);return e<0&&(e=0),e},t.prototype.stopRequestingNodeList=function(){var t=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=pg(1).pipe(tE(4e3)).subscribe((function(){t.nodeListRefreshSubscription.unsubscribe(),t.nodeListRefreshSubscription=null})))},t.prototype.stopRequestingSpecificNode=function(){var t=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=pg(1).pipe(tE(4e3)).subscribe((function(){t.specificNodeRefreshSubscription.unsubscribe(),t.specificNodeRefreshSubscription=null})))},t.prototype.startDataSubscription=function(t,e){var n,i,r,a=this;e?(n=this.updatingNodeListSubject,i=this.nodeListSubject,r=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(n=this.updatingSpecificNodeSubject,i=this.specificNodeSubject,r=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var o=pg(1).pipe(tE(t),Cv((function(){return n.next(!0)})),tE(120),st((function(){return r}))).subscribe((function(t){var r;n.next(!1),e?r=a.dataRefreshDelay:(a.updateTrafficData(t.transports),(r=a.calculateRemainingTime(a.lastScheduledHistoryUpdateTime))<1e3&&(a.lastScheduledHistoryUpdateTime=Date.now(),r=a.dataRefreshDelay));var o={data:t,error:null,momentOfLastCorrectUpdate:Date.now()};i.next(o),a.startDataSubscription(r,e)}),(function(t){n.next(!1),t=Mx(t);var r={data:i.value&&i.value.data?i.value.data:null,error:t,momentOfLastCorrectUpdate:i.value?i.value.momentOfLastCorrectUpdate:-1};!e&&t.originalError&&400===t.originalError.status||a.startDataSubscription(xx.connectionRetryDelay,e),i.next(r)}));e?this.nodeListRefreshSubscription=o:this.specificNodeRefreshSubscription=o},t.prototype.updateTrafficData=function(t){var e=this.specificNodeTrafficDataSubject.value;if(e.totalSent=0,e.totalReceived=0,t&&t.length>0&&(e.totalSent=t.reduce((function(t,e){return t+e.sent}),0),e.totalReceived=t.reduce((function(t,e){return t+e.recv}),0)),0===e.sentHistory.length)for(var n=0;nthis.maxTrafficHistorySlots&&(r=this.maxTrafficHistorySlots),0===r)e.sentHistory[e.sentHistory.length-1]=e.totalSent,e.receivedHistory[e.receivedHistory.length-1]=e.totalReceived;else for(n=0;nthis.maxTrafficHistorySlots&&(e.sentHistory.splice(0,e.sentHistory.length-this.maxTrafficHistorySlots),e.receivedHistory.splice(0,e.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(e)},t.prototype.forceNodeListRefresh=function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)},t.prototype.forceSpecificNodeRefresh=function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)},t.prototype.getNodes=function(){var t,e=this,n=[];return this.apiService.get("visors").pipe(st((function(t){return t&&t.forEach((function(t){var i=new oE;i.online=t.online,i.tcpAddr=t.tcp_addr,i.ip=e.getAddressPart(i.tcpAddr,0),i.port=e.getAddressPart(i.tcpAddr,1),i.localPk=t.local_pk;var r=e.storageService.getLabelInfo(i.localPk);i.label=r&&r.label?r.label:e.storageService.getDefaultLabel(i.localPk),n.push(i)})),e.apiService.get("dmsg")})),st((function(i){return t=i,ES(n.map((function(t){return e.apiService.get("visors/"+t.localPk+"/health")})))})),st((function(t){return n.forEach((function(e,n){e.health={status:t[n].status,addressResolver:t[n].address_resolver,routeFinder:t[n].route_finder,setupNode:t[n].setup_node,transportDiscovery:t[n].transport_discovery,uptimeTracker:t[n].uptime_tracker}})),e.apiService.get("about")})),nt((function(i){var r=new Map;t.forEach((function(t){return r.set(t.public_key,t)}));var a=new Map,o=[];n.forEach((function(t){r.has(t.localPk)?(t.dmsgServerPk=r.get(t.localPk).server_public_key,t.roundTripPing=e.nsToMs(r.get(t.localPk).round_trip)):(t.dmsgServerPk="-",t.roundTripPing="-1"),t.isHypervisor=t.localPk===i.public_key,a.set(t.localPk,t),t.online&&o.push(t.localPk)})),e.storageService.includeVisibleLocalNodes(o);var s=[];return e.storageService.getSavedLocalNodes().forEach((function(t){if(!a.has(t.publicKey)&&!t.hidden){var n=new oE;n.localPk=t.publicKey;var i=e.storageService.getLabelInfo(t.publicKey);n.label=i&&i.label?i.label:e.storageService.getDefaultLabel(t.publicKey),n.online=!1,s.push(n)}a.has(t.publicKey)&&!a.get(t.publicKey).online&&t.hidden&&a.delete(t.publicKey)})),n=[],a.forEach((function(t){return n.push(t)})),n=n.concat(s)})))},t.prototype.nsToMs=function(t){var e=new aE.a(t).dividedBy(1e6);return(e=e.isLessThan(10)?e.decimalPlaces(2):e.decimalPlaces(0)).toString(10)},t.prototype.getNode=function(t){var e=this;return this.apiService.get("visors/"+t+"/summary").pipe(nt((function(t){var n=new oE;n.online=t.online,n.tcpAddr=t.tcp_addr,n.ip=e.getAddressPart(n.tcpAddr,0),n.port=e.getAddressPart(n.tcpAddr,1),n.localPk=t.summary.local_pk,n.version=t.summary.build_info.version,n.secondsOnline=Math.floor(Number.parseFloat(t.uptime));var i=e.storageService.getLabelInfo(n.localPk);n.label=i&&i.label?i.label:e.storageService.getDefaultLabel(n.localPk),n.health={status:200,addressResolver:t.health.address_resolver,routeFinder:t.health.route_finder,setupNode:t.health.setup_node,transportDiscovery:t.health.transport_discovery,uptimeTracker:t.health.uptime_tracker},n.transports=[],t.summary.transports&&t.summary.transports.forEach((function(t){n.transports.push({isUp:t.is_up,id:t.id,localPk:t.local_pk,remotePk:t.remote_pk,type:t.type,recv:t.log.recv,sent:t.log.sent})})),n.routes=[],t.routes&&t.routes.forEach((function(t){n.routes.push({key:t.key,rule:t.rule}),t.rule_summary&&(n.routes[n.routes.length-1].ruleSummary={keepAlive:t.rule_summary.keep_alive,ruleType:t.rule_summary.rule_type,keyRouteId:t.rule_summary.key_route_id},t.rule_summary.app_fields&&t.rule_summary.app_fields.route_descriptor&&(n.routes[n.routes.length-1].appFields={routeDescriptor:{dstPk:t.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:t.rule_summary.app_fields.route_descriptor.dst_port,srcPk:t.rule_summary.app_fields.route_descriptor.src_pk,srcPort:t.rule_summary.app_fields.route_descriptor.src_port}}),t.rule_summary.forward_fields&&(n.routes[n.routes.length-1].forwardFields={nextRid:t.rule_summary.forward_fields.next_rid,nextTid:t.rule_summary.forward_fields.next_tid},t.rule_summary.forward_fields.route_descriptor&&(n.routes[n.routes.length-1].forwardFields.routeDescriptor={dstPk:t.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:t.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:t.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:t.rule_summary.forward_fields.route_descriptor.src_port})),t.rule_summary.intermediary_forward_fields&&(n.routes[n.routes.length-1].intermediaryForwardFields={nextRid:t.rule_summary.intermediary_forward_fields.next_rid,nextTid:t.rule_summary.intermediary_forward_fields.next_tid}))})),n.apps=[],t.summary.apps&&t.summary.apps.forEach((function(t){n.apps.push({name:t.name,status:t.status,port:t.port,autostart:t.auto_start,args:t.args})}));for(var r=!1,a=0;a2*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:!1,configurable:!0}),t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(t,e){1&t&&(ls(0,"div",0),ns(1,EE,3,1,"ng-container",1),ns(2,PE,3,1,"ng-container",1),us()),2&t&&(os("matTooltip",e.short&&e.showTooltip?e.text:"")("matTooltipClass",ku(4,OE)),Gr(1),os("ngIf",e.short),Gr(1),os("ngIf",!e.short))},directives:[jL,wh],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),t}();function IE(t,e){if(1&t&&(ls(0,"span"),rl(1),Du(2,"translate"),us()),2&t){var n=Ms();Gr(1),ol(" ",Lu(2,1,n.labelComponents.prefix)," ")}}function YE(t,e){if(1&t&&(ls(0,"span"),rl(1),us()),2&t){var n=Ms();Gr(1),ol(" ",n.labelComponents.prefixSeparator," ")}}function FE(t,e){if(1&t&&(ls(0,"span"),rl(1),us()),2&t){var n=Ms();Gr(1),ol(" ",n.labelComponents.label," ")}}function RE(t,e){if(1&t&&(ls(0,"span"),rl(1),Du(2,"translate"),us()),2&t){var n=Ms();Gr(1),ol(" ",Lu(2,1,n.labelComponents.translatableLabel)," ")}}var NE=function(t){return{text:t}},HE=function(){return{"tooltip-word-break":!0}},jE=function(){return function(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}(),BE=function(){function t(t,e,n,i){this.dialog=t,this.storageService=e,this.clipboardService=n,this.snackbarService=i,this.short=!1,this.shortTextLength=5,this.elementType=Gb.Node,this.labelEdited=new Ou}return Object.defineProperty(t.prototype,"id",{get:function(){return this.idInternal?this.idInternal:""},set:function(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)},enumerable:!1,configurable:!0}),t.getLabelComponents=function(t,e){var n;n=!!t.getSavedVisibleLocalNodes().has(e);var i=new jE;return i.labelInfo=t.getLabelInfo(e),i.labelInfo&&i.labelInfo.label?(n&&(i.prefix="labeled-element.local-element",i.prefixSeparator=" - "),i.label=i.labelInfo.label):t.getSavedVisibleLocalNodes().has(e)?i.prefix="labeled-element.unnamed-local-visor":i.translatableLabel="labeled-element.unnamed-element",i},t.getCompleteLabel=function(e,n,i){var r=t.getLabelComponents(e,i);return(r.prefix?n.instant(r.prefix):"")+r.prefixSeparator+r.label+(r.translatableLabel?n.instant(r.translatableLabel):"")},t.prototype.ngOnDestroy=function(){this.labelEdited.complete()},t.prototype.processClick=function(){var t=this,e=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&e.push({icon:"close",label:"labeled-element.remove-label"}),DE.openDialog(this.dialog,e,"common.options").afterClosed().subscribe((function(e){if(1===e)t.clipboardService.copy(t.id)&&t.snackbarService.showDone("copy.copied");else if(3===e){var n=SE.createConfirmationDialog(t.dialog,"labeled-element.remove-label-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.closeModal(),t.storageService.saveLabel(t.id,null,t.elementType),t.snackbarService.showDone("edit-label.label-removed-warning"),t.labelEdited.emit()}))}else if(2===e){var i=t.labelComponents.labelInfo;i||(i={id:t.id,label:"",identifiedElementType:t.elementType}),mE.openDialog(t.dialog,i).afterClosed().subscribe((function(e){e&&t.labelEdited.emit()}))}}))},t.\u0275fac=function(e){return new(e||t)(rs(jx),rs(Kb),rs(LE),rs(Sx))},t.\u0275cmp=Fe({type:t,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(t,e){1&t&&(ls(0,"div",0),vs("click",(function(t){return t.stopPropagation(),e.processClick()})),Du(1,"translate"),ls(2,"span",1),ns(3,IE,3,3,"span",2),ns(4,YE,2,1,"span",2),ns(5,FE,2,1,"span",2),ns(6,RE,3,3,"span",2),us(),cs(7,"br"),cs(8,"app-truncated-text",3),rl(9," \xa0"),ls(10,"mat-icon",4),rl(11,"settings"),us(),us()),2&t&&(os("matTooltip",Tu(1,11,e.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",wu(14,NE,e.id)))("matTooltipClass",ku(16,HE)),Gr(3),os("ngIf",e.labelComponents&&e.labelComponents.prefix),Gr(1),os("ngIf",e.labelComponents&&e.labelComponents.prefixSeparator),Gr(1),os("ngIf",e.labelComponents&&e.labelComponents.label),Gr(1),os("ngIf",e.labelComponents&&e.labelComponents.translatableLabel),Gr(2),os("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.id),Gr(2),os("inline",!0))},directives:[jL,wh,AE,US],pipes:[px],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t}(),VE=function(){function t(t,e,n,i){this.properties=t,this.label=e,this.sortingMode=n,this.labelProperties=i}return Object.defineProperty(t.prototype,"id",{get:function(){return this.properties.join("")},enumerable:!1,configurable:!0}),t}(),zE=function(t){return t.Text="Text",t.Number="Number",t.NumberReversed="NumberReversed",t.Boolean="Boolean",t}({}),WE=function(){function t(t,e,n,i,r){this.dialog=t,this.translateService=e,this.sortReverse=!1,this.sortByLabel=!1,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new W,this.sortableColumns=n,this.id=r,this.defaultColumnIndex=i,this.sortBy=n[i];var a=localStorage.getItem(this.columnStorageKeyPrefix+r);if(a){var o=n.find((function(t){return t.id===a}));o&&(this.sortBy=o)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+r),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+r)}return Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentSortingColumn",{get:function(){return this.sortBy},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sortingInReverseOrder",{get:function(){return this.sortReverse},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataSorted",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentlySortingByLabel",{get:function(){return this.sortByLabel},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.dataUpdatedSubject.complete()},t.prototype.setData=function(t){this.data=t,this.sortData()},t.prototype.changeSortingOrder=function(t){var e=this;if(this.sortBy===t||t.labelProperties)if(t.labelProperties){var n=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];DE.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe((function(n){n&&e.changeSortingParams(t,n>2,n%2==0)}))}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(t,!1,!1)},t.prototype.changeSortingParams=function(t,e,n){this.sortBy=t,this.sortByLabel=e,this.sortReverse=n,localStorage.setItem(this.columnStorageKeyPrefix+this.id,t.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()},t.prototype.openSortingOrderModal=function(){var t=this,e=[],n=[];this.sortableColumns.forEach((function(i){var r=t.translateService.instant(i.label);e.push({label:r}),n.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),e.push({label:r+" "+t.translateService.instant("tables.inverted-order")}),n.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(e.push({label:r+" "+t.translateService.instant("tables.label")}),n.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),e.push({label:r+" "+t.translateService.instant("tables.label")+" "+t.translateService.instant("tables.inverted-order")}),n.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))})),DE.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe((function(e){e&&t.changeSortingParams(n[e-1].sortBy,n[e-1].sortByLabel,n[e-1].sortReverse)}))},t.prototype.sortData=function(){var t=this;this.data&&(this.data.sort((function(e,n){var i=t.getSortResponse(t.sortBy,e,n,!0);return 0===i&&t.sortableColumns[t.defaultColumnIndex]!==t.sortBy&&(i=t.getSortResponse(t.sortableColumns[t.defaultColumnIndex],e,n,!1)),i})),this.dataUpdatedSubject.next())},t.prototype.getSortResponse=function(t,e,n,i){var r=e,a=n;(this.sortByLabel&&i&&t.labelProperties?t.labelProperties:t.properties).forEach((function(t){r=r[t],a=a[t]}));var o=this.sortByLabel&&i?zE.Text:t.sortingMode,s=0;return o===zE.Text?s=this.sortReverse?a.localeCompare(r):r.localeCompare(a):o===zE.NumberReversed?s=this.sortReverse?r-a:a-r:o===zE.Number?s=this.sortReverse?a-r:r-a:o===zE.Boolean&&(r&&!a?s=-1:!r&&a&&(s=1),s*=this.sortReverse?-1:1),s},t}(),UE=["trigger"],qE=["panel"];function GE(t,e){if(1&t&&(ls(0,"span",8),rl(1),us()),2&t){var n=Ms();Gr(1),al(n.placeholder||"\xa0")}}function KE(t,e){if(1&t&&(ls(0,"span"),rl(1),us()),2&t){var n=Ms(2);Gr(1),al(n.triggerValue||"\xa0")}}function JE(t,e){1&t&&Cs(0,0,["*ngSwitchCase","true"])}function ZE(t,e){1&t&&(ls(0,"span",9),ns(1,KE,2,1,"span",10),ns(2,JE,1,0,"ng-content",11),us()),2&t&&(os("ngSwitch",!!Ms().customTrigger),Gr(2),os("ngSwitchCase",!0))}function $E(t,e){if(1&t){var n=ps();ls(0,"div",12),ls(1,"div",13,14),vs("@transformPanel.done",(function(t){return Cn(n),Ms()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return Cn(n),Ms()._handleKeydown(t)})),Cs(3,1),us(),us()}if(2&t){var i=Ms();os("@transformPanelWrap",void 0),Gr(1),"mat-select-panel ",r=i._getPanelTheme(),"",Ks(Le,qs,es(Sn(),"mat-select-panel ",r,""),!0),Bs("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),os("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),ts("id",i.id+"-panel")}var r}var QE=[[["mat-select-trigger"]],"*"],XE=["mat-select-trigger","*"],tP={transformPanelWrap:jf("transformPanelWrap",[Gf("* => void",Jf("@transformPanel",[Kf()],{optional:!0}))]),transformPanel:jf("transformPanel",[Uf("void",Wf({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Uf("showing",Wf({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Uf("showing-multiple",Wf({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Gf("void => *",Bf("120ms cubic-bezier(0, 0, 0.2, 1)")),Gf("* => void",Bf("100ms 25ms linear",Wf({opacity:0})))])},eP=0,nP=new se("mat-select-scroll-strategy"),iP=new se("MAT_SELECT_CONFIG"),rP={provide:nP,deps:[Pw],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},aP=function t(e,n){_(this,t),this.source=e,this.value=n},oP=CM(DM(SM(LM((function t(e,n,i,r,a){_(this,t),this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}))))),sP=new se("MatSelectTrigger"),lP=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-select-trigger"]],features:[Cl([{provide:sP,useExisting:t}])]}),t}(),uP=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s,l,c,d,h,f,p,m,g,v){var y;return _(this,n),(y=e.call(this,s,o,c,d,f))._viewportRuler=t,y._changeDetectorRef=i,y._ngZone=r,y._dir=l,y._parentFormField=h,y.ngControl=f,y._liveAnnouncer=g,y._panelOpen=!1,y._required=!1,y._scrollTop=0,y._multiple=!1,y._compareWith=function(t,e){return t===e},y._uid="mat-select-".concat(eP++),y._destroy=new W,y._triggerFontSize=0,y._onChange=function(){},y._onTouched=function(){},y._optionIds="",y._transformOrigin="top",y._panelDoneAnimatingStream=new W,y._offsetY=0,y._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],y._disableOptionCentering=!1,y._focused=!1,y.controlType="mat-select",y.ariaLabel="",y.optionSelectionChanges=ov((function(){var t=y.options;return t?t.changes.pipe(Yv(t),Pv((function(){return ft.apply(void 0,u(t.map((function(t){return t.onSelectionChange}))))}))):y._ngZone.onStable.asObservable().pipe(wv(1),Pv((function(){return y.optionSelectionChanges})))})),y.openedChange=new Ou,y._openedStream=y.openedChange.pipe(gg((function(t){return t})),nt((function(){}))),y._closedStream=y.openedChange.pipe(gg((function(t){return!t})),nt((function(){}))),y.selectionChange=new Ou,y.valueChange=new Ou,y.ngControl&&(y.ngControl.valueAccessor=a(y)),y._scrollStrategyFactory=m,y._scrollStrategy=y._scrollStrategyFactory(),y.tabIndex=parseInt(p)||0,y.id=y.id,v&&(null!=v.disableOptionCentering&&(y.disableOptionCentering=v.disableOptionCentering),null!=v.typeaheadDebounceInterval&&(y.typeaheadDebounceInterval=v.typeaheadDebounceInterval)),y}return b(n,[{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new Nk(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(lk(),yk(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(yk(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe(yk(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(Yv(null),yk(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value: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(wv(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(t._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.options&&this._setSelectionByValue(t)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,i=13===e||32===e,r=this._keyManager;if(!r.isTyping()&&i&&!iw(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;36===e||35===e?(36===e?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,n=t.keyCode,i=40===n||38===n,r=e.isTyping();if(36===n||35===n)t.preventDefault(),36===n?e.setFirstItemActive():e.setLastItemActive();else if(i&&t.altKey)t.preventDefault(),this.close();else if(r||13!==n&&32!==n||!e.activeItem||iw(t))if(!r&&this._multiple&&65===n&&t.ctrlKey){t.preventDefault();var a=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(a?t.select():t.deselect())}))}else{var o=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==o&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this.overlayDir.positionChange.pipe(wv(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))}},{key:"_setSelectionByValue",value: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.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return ir()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new Qw(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(yk(this._destroy)).subscribe((function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())})),this._keyManager.change.pipe(yk(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var t=this,e=ft(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(yk(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),ft.apply(void 0,u(this.options.map((function(t){return t._stateChanges})))).pipe(yk(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value: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()}},{key:"_sortValues",value: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()}}},{key:"_propagateChanges",value: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 aP(this,e)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var t,e,n,i=this._keyManager.activeItemIndex||0,r=XM(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}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getOptionIndex",value:function(t){return this.options.reduce((function(e,n,i){return void 0!==e?e:t===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value: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+=XM(r,this.options,this.optionGroups);var a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value: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 a=this._selectionModel.selected[0]||this.options.first;t=a&&a.group?32:16}i||(t*=-1);var o=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);o>0?t+=o+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value: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")}},{key:"_adjustPanelDown",value: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")}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-e+t/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Jb(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Jb(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Jb(t)}},{key:"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()}},{key:"value",get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=Zb(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"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}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(oP);return t.\u0275fac=function(e){return new(e||t)(rs(Bk),rs(xo),rs(Mc),rs(EM),rs(Pl),rs(Yk,8),rs(PD,8),rs(UD,8),rs(ST,8),rs(LC,10),as("tabindex"),rs(nP),rs(sM),rs(iP,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){var i;1&t&&(Gu(n,sP,!0),Gu(n,QM,!0),Gu(n,qM,!0)),2&t&&(zu(i=Zu())&&(e.customTrigger=i.first),zu(i=Zu())&&(e.options=i),zu(i=Zu())&&(e.optionGroups=i))},viewQuery:function(t,e){var n;1&t&&(Uu(UE,!0),Uu(qE,!0),Uu(Yw,!0)),2&t&&(zu(n=Zu())&&(e.trigger=n.first),zu(n=Zu())&&(e.panel=n.first),zu(n=Zu())&&(e.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&vs("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(ts("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),Vs("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Cl([{provide:cT,useExisting:t},{provide:$M,useExisting:t}]),fl,en],ngContentSelectors:XE,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(xs(QE),ls(0,"div",0,1),vs("click",(function(){return e.toggle()})),ls(3,"div",2),ns(4,GE,2,1,"span",3),ns(5,ZE,3,2,"span",4),us(),ls(6,"div",5),cs(7,"div",6),us(),us(),ns(8,$E,4,11,"ng-template",7),vs("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){var n=is(1);Gr(3),os("ngSwitch",e.empty),Gr(1),os("ngSwitchCase",!0),Gr(1),os("ngSwitchCase",!1),Gr(3),os("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Iw,Ch,Dh,Yw,Lh,vh],styles:[".mat-select{display:inline-block;width:100%;outline:none}.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 400ms cubic-bezier(0.25, 0.8, 0.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}.cdk-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 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.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}\n"],encapsulation:2,data:{animation:[tP.transformPanelWrap,tP.transformPanel]},changeDetection:0}),t}(),cP=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[rP],imports:[[rf,Rw,eS,MM],Vk,CT,eS,MM]}),t}();function dP(t,e){if(1&t&&(cs(0,"input",7),Du(1,"translate")),2&t){var n=Ms().$implicit;os("formControlName",n.keyNameInFiltersObject)("maxlength",n.maxlength)("placeholder",Lu(1,3,n.filterName))}}function hP(t,e){if(1&t&&(ls(0,"mat-option",10),rl(1),Du(2,"translate"),us()),2&t){var n=e.$implicit;os("value",n.value),Gr(1),al(Lu(2,2,n.label))}}function fP(t,e){if(1&t&&(ls(0,"mat-select",8),Du(1,"translate"),ns(2,hP,3,4,"mat-option",9),us()),2&t){var n=Ms().$implicit;os("formControlName",n.keyNameInFiltersObject)("placeholder",Lu(1,3,n.filterName)),Gr(2),os("ngForOf",n.printableLabelsForValues)}}function pP(t,e){if(1&t&&(ds(0),ls(1,"mat-form-field"),ns(2,dP,2,5,"input",5),ns(3,fP,3,5,"mat-select",6),us(),hs()),2&t){var n=e.$implicit,i=Ms();Gr(2),os("ngIf",n.type===i.filterFieldTypes.TextInput),Gr(1),os("ngIf",n.type===i.filterFieldTypes.Select)}}var mP=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n,this.filterFieldTypes=TE}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this,e={};this.data.filterPropertiesList.forEach((function(n){e[n.keyNameInFiltersObject]=[t.data.currentFilters[n.keyNameInFiltersObject]]})),this.form=this.formBuilder.group(e)},t.prototype.apply=function(){var t=this,e={};this.data.filterPropertiesList.forEach((function(n){e[n.keyNameInFiltersObject]=t.form.get(n.keyNameInFiltersObject).value.trim()})),this.dialogRef.close(e)},t.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(Ix),rs(pL))},t.\u0275cmp=Fe({type:t,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"form",1),ns(3,pP,4,2,"ng-container",2),ls(4,"app-button",3,4),vs("action",(function(){return e.apply()})),rl(6),Du(7,"translate"),us(),us(),us()),2&t&&(os("headline",Lu(1,4,"filters.filter-action")),Gr(2),os("formGroup",e.form),Gr(1),os("ngForOf",e.data.filterPropertiesList),Gr(3),ol(" ",Lu(7,6,"common.ok")," "))},directives:[xL,jD,PC,UD,bh,AL,xT,wh,NT,MC,EC,QD,uL,uP,QM],pipes:[px],styles:[""]}),t}(),gP=function(){function t(t,e,n,i,r){var a=this;this.dialog=t,this.route=e,this.router=n,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new W,this.filterPropertiesList=i,this.currentFilters={},this.filterPropertiesList.forEach((function(t){t.keyNameInFiltersObject=r+"_"+t.keyNameInElementsArray,a.currentFilters[t.keyNameInFiltersObject]=""})),this.navigationsSubscription=this.route.queryParamMap.subscribe((function(t){Object.keys(a.currentFilters).forEach((function(e){t.has(e)&&(a.currentFilters[e]=t.get(e))})),a.currentUrlQueryParamsInternal={},t.keys.forEach((function(e){a.currentUrlQueryParamsInternal[e]=t.get(e)})),a.filter()}))}return Object.defineProperty(t.prototype,"currentFiltersTexts",{get:function(){return this.currentFiltersTextsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentUrlQueryParams",{get:function(){return this.currentUrlQueryParamsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataFiltered",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()},t.prototype.setData=function(t){this.data=t,this.filter()},t.prototype.removeFilters=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"filters.remove-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.router.navigate([],{queryParams:{}})}))},t.prototype.changeFilters=function(){var t=this;mP.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe((function(e){e&&t.router.navigate([],{queryParams:e})}))},t.prototype.filter=function(){var t=this;if(this.data){var e=void 0,n=!1;Object.keys(this.currentFilters).forEach((function(e){t.currentFilters[e]&&(n=!0)})),n?(e=function(t,e,n){if(t){var i=[];return Object.keys(e).forEach((function(t){if(e[t])for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(e,Math.min(n,t))}var SP=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[rf,MM],MM]}),t}();function xP(t,e){1&t&&(ds(0),cs(1,"mat-spinner",7),rl(2),Du(3,"translate"),hs()),2&t&&(Gr(1),os("diameter",12),Gr(1),ol(" ",Lu(3,2,"update.processing")," "))}function CP(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms();Gr(1),ol(" ",Lu(2,1,n.errorText)," ")}}function DP(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms();Gr(1),ol(" ",Lu(2,1,1===n.data.length?"update.no-update":"update.no-updates")," ")}}function LP(t,e){if(1&t&&(ls(0,"div",8),ls(1,"div",9),ls(2,"div",10),rl(3,"-"),us(),ls(4,"div",11),rl(5),Du(6,"translate"),us(),us(),us()),2&t){var n=Ms();Gr(5),al(n.currentNodeVersion?n.currentNodeVersion:Lu(6,1,"common.unknown"))}}function TP(t,e){if(1&t&&(ls(0,"div",9),ls(1,"div",10),rl(2,"-"),us(),ls(3,"div",11),rl(4),us(),us()),2&t){var n=e.$implicit,i=Ms(2);Gr(4),al(i.nodesToUpdate[n].label)}}function EP(t,e){if(1&t&&(ds(0),ls(1,"div",1),rl(2),Du(3,"translate"),us(),ls(4,"div",8),ns(5,TP,5,1,"div",12),us(),hs()),2&t){var n=Ms();Gr(2),ol(" ",Lu(3,2,"update.already-updating")," "),Gr(3),os("ngForOf",n.indexesAlreadyBeingUpdated)}}function PP(t,e){if(1&t&&(ls(0,"span",15),rl(1),Du(2,"translate"),us()),2&t){var n=Ms(3);Gr(1),sl("",Lu(2,2,"update.selected-channel")," ",n.customChannel,"")}}function OP(t,e){if(1&t&&(ls(0,"div",9),ls(1,"div",10),rl(2,"-"),us(),ls(3,"div",11),rl(4),Du(5,"translate"),ls(6,"a",13),rl(7),us(),ns(8,PP,3,4,"span",14),us(),us()),2&t){var n=e.$implicit,i=Ms(2);Gr(4),ol(" ",Tu(5,4,"update.version-change",n)," "),Gr(2),os("href",n.updateLink,Dr),Gr(1),al(n.updateLink),Gr(1),os("ngIf",i.customChannel)}}var AP=function(t){return{number:t}};function IP(t,e){if(1&t&&(ds(0),ls(1,"div",1),rl(2),Du(3,"translate"),us(),ls(4,"div",8),ns(5,OP,9,7,"div",12),us(),ls(6,"div",1),rl(7),Du(8,"translate"),us(),hs()),2&t){var n=Ms();Gr(2),ol(" ",Tu(3,3,n.updateAvailableText,wu(8,AP,n.nodesForUpdatesFound))," "),Gr(3),os("ngForOf",n.updatesFound),Gr(2),ol(" ",Lu(8,6,"update.update-instructions")," ")}}function YP(t,e){1&t&&cs(0,"mat-spinner",7),2&t&&os("diameter",12)}function FP(t,e){1&t&&(ls(0,"span",21),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),ol("\xa0(",Lu(2,1,"update.finished"),")"))}function RP(t,e){if(1&t&&(ls(0,"div",8),ls(1,"div",9),ls(2,"div",10),rl(3,"-"),us(),ls(4,"div",11),ns(5,YP,1,1,"mat-spinner",18),rl(6),ls(7,"span",19),rl(8),us(),ns(9,FP,3,3,"span",20),us(),us(),us()),2&t){var n=Ms(2).$implicit;Gr(5),os("ngIf",!n.updateProgressInfo.closed),Gr(1),ol(" ",n.label," : "),Gr(2),al(n.updateProgressInfo.rawMsg),Gr(1),os("ngIf",n.updateProgressInfo.closed)}}function NP(t,e){1&t&&cs(0,"mat-spinner",7),2&t&&os("diameter",12)}function HP(t,e){1&t&&(ds(0),cs(1,"br"),ls(2,"span",21),rl(3),Du(4,"translate"),us(),hs()),2&t&&(Gr(3),al(Lu(4,1,"update.finished")))}function jP(t,e){if(1&t&&(ls(0,"div",22),ls(1,"div",23),ns(2,NP,1,1,"mat-spinner",18),rl(3),us(),cs(4,"mat-progress-bar",24),ls(5,"div",19),rl(6),Du(7,"translate"),cs(8,"br"),rl(9),Du(10,"translate"),cs(11,"br"),rl(12),Du(13,"translate"),Du(14,"translate"),ns(15,HP,5,3,"ng-container",2),us(),us()),2&t){var n=Ms(2).$implicit;Gr(2),os("ngIf",!n.updateProgressInfo.closed),Gr(1),ol(" ",n.label," "),Gr(1),os("mode","determinate")("value",n.updateProgressInfo.progress),Gr(2),ll(" ",Lu(7,14,"update.downloaded-file-name-prefix")," ",n.updateProgressInfo.fileName," (",n.updateProgressInfo.progress,"%) "),Gr(3),sl(" ",Lu(10,16,"update.speed-prefix")," ",n.updateProgressInfo.speed," "),Gr(3),ul(" ",Lu(13,18,"update.time-downloading-prefix")," ",n.updateProgressInfo.elapsedTime," / ",Lu(14,20,"update.time-left-prefix")," ",n.updateProgressInfo.remainingTime," "),Gr(3),os("ngIf",n.updateProgressInfo.closed)}}function BP(t,e){if(1&t&&(ls(0,"div",8),ls(1,"div",9),ls(2,"div",10),rl(3,"-"),us(),ls(4,"div",11),rl(5),ls(6,"span",25),rl(7),Du(8,"translate"),us(),us(),us(),us()),2&t){var n=Ms(2).$implicit;Gr(5),ol(" ",n.label,": "),Gr(2),al(Lu(8,2,n.updateProgressInfo.errorMsg))}}function VP(t,e){if(1&t&&(ds(0),ns(1,RP,10,4,"div",3),ns(2,jP,16,22,"div",17),ns(3,BP,9,4,"div",3),hs()),2&t){var n=Ms().$implicit;Gr(1),os("ngIf",!n.updateProgressInfo.errorMsg&&!n.updateProgressInfo.dataParsed),Gr(1),os("ngIf",!n.updateProgressInfo.errorMsg&&n.updateProgressInfo.dataParsed),Gr(1),os("ngIf",n.updateProgressInfo.errorMsg)}}function zP(t,e){if(1&t&&(ds(0),ns(1,VP,4,3,"ng-container",2),hs()),2&t){var n=e.$implicit;Gr(1),os("ngIf",n.update)}}function WP(t,e){if(1&t&&(ds(0),ls(1,"div",1),rl(2),Du(3,"translate"),us(),ls(4,"div"),ns(5,zP,2,1,"ng-container",16),us(),hs()),2&t){var n=Ms();Gr(2),ol(" ",Lu(3,2,"update.updating")," "),Gr(3),os("ngForOf",n.nodesToUpdate)}}function UP(t,e){if(1&t){var n=ps();ls(0,"app-button",26,27),vs("action",(function(){return Cn(n),Ms().closeModal()})),rl(2),Du(3,"translate"),us()}if(2&t){var i=Ms();Gr(2),ol(" ",Lu(3,1,i.cancelButtonText)," ")}}function qP(t,e){if(1&t){var n=ps();ls(0,"app-button",28,29),vs("action",(function(){Cn(n);var t=Ms();return t.state===t.updatingStates.Asking?t.update():t.closeModal()})),rl(2),Du(3,"translate"),us()}if(2&t){var i=Ms();Gr(2),ol(" ",Lu(3,1,i.confirmButtonText)," ")}}var GP=function(t){return t.InitialProcessing="InitialProcessing",t.NoUpdatesFound="NoUpdatesFound",t.Asking="Asking",t.Updating="Updating",t.Error="Error",t}({}),KP=function(){return function(){this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}}(),JP=function(){function t(t,e,n,i,r,a){this.dialogRef=t,this.data=e,this.nodeService=n,this.storageService=i,this.translateService=r,this.changeDetectorRef=a,this.state=GP.InitialProcessing,this.cancelButtonText="common.cancel",this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(hE.Channel),this.updatingStates=GP}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.smallModalWidth,e.open(t,i)},t.prototype.ngAfterViewInit=function(){this.startChecking()},t.prototype.startChecking=function(){var t=this;this.nodesToUpdate=[],this.data.forEach((function(e){t.nodesToUpdate.push({key:e.key,label:e.label?e.label:t.storageService.getDefaultLabel(e.key),update:!1,updateProgressInfo:new KP}),t.nodesToUpdate[t.nodesToUpdate.length-1].updateProgressInfo.rawMsg=t.translateService.instant("update.starting")})),this.subscription=ES(this.data.map((function(e){return t.nodeService.checkIfUpdating(e.key)}))).subscribe((function(e){e.forEach((function(e,n){e.running&&(t.indexesAlreadyBeingUpdated.push(n),t.nodesToUpdate[n].update=!0)})),t.indexesAlreadyBeingUpdated.length===t.data.length?t.update():t.checkUpdates()}),(function(e){t.changeState(GP.Error),t.errorText=Mx(e).translatableErrorMsg}))},t.prototype.checkUpdates=function(){var t=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var e=[];this.nodesToUpdate.forEach((function(t){t.update||e.push(t)})),this.subscription=ES(e.map((function(e){return t.nodeService.checkUpdate(e.key)}))).subscribe((function(n){var i=new Map;n.forEach((function(n,r){n&&n.available&&(t.nodesForUpdatesFound+=1,e[r].update=!0,i.has(n.current_version+n.available_version)||(t.updatesFound.push({currentVersion:n.current_version?n.current_version:t.translateService.instant("common.unknown"),newVersion:n.available_version,updateLink:n.release_url}),i.set(n.current_version+n.available_version,!0)))})),t.nodesForUpdatesFound>0?t.changeState(GP.Asking):0===t.indexesAlreadyBeingUpdated.length?(t.changeState(GP.NoUpdatesFound),1===t.data.length&&(t.currentNodeVersion=n[0].current_version)):t.update()}),(function(e){t.changeState(GP.Error),t.errorText=Mx(e).translatableErrorMsg}))},t.prototype.update=function(){var t=this;this.changeState(GP.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach((function(e,n){e.update&&t.progressSubscriptions.push(t.nodeService.update(e.key).subscribe((function(n){t.updateProgressInfo(n.status,e.updateProgressInfo)}),(function(t){e.updateProgressInfo.errorMsg=Mx(t).translatableErrorMsg}),(function(){e.updateProgressInfo.closed=!0})))}))},Object.defineProperty(t.prototype,"updateAvailableText",{get:function(){if(1===this.data.length)return"update.update-available";var t="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(t+="-additional"),t+(1===this.nodesForUpdatesFound?"-singular":"-plural")},enumerable:!1,configurable:!0}),t.prototype.updateProgressInfo=function(t,e){e.rawMsg=t,e.dataParsed=!1;var n=t.indexOf("Downloading"),i=t.lastIndexOf("("),r=t.lastIndexOf(")"),a=t.lastIndexOf("["),o=t.lastIndexOf("]"),s=t.lastIndexOf(":"),l=t.lastIndexOf("%");if(-1!==n&&-1!==i&&-1!==r&&-1!==a&&-1!==o&&-1!==s){var u=!1;i>r&&(u=!0),a>s&&(u=!0),s>o&&(u=!0),(l>i||l0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:dk;return(!mk(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=dk),new H((function(n){return n.add(e.schedule(vP,t,{subscriber:n,counter:0,period:t})),n}))}(1e3).subscribe((function(){return e.changeDetectorRef.detectChanges()})))},t.\u0275fac=function(e){return new(e||t)(rs(Ix),rs(Fx),rs(fE),rs(Kb),rs(hx),rs(xo))},t.\u0275cmp=Fe({type:t,selectors:[["app-update"]],decls:13,vars:12,consts:[[3,"headline"],[1,"text-container"],[4,"ngIf"],["class","list-container",4,"ngIf"],[1,"buttons"],["type","mat-raised-button","color","accent",3,"action",4,"ngIf"],["type","mat-raised-button","color","primary",3,"action",4,"ngIf"],[1,"loading-indicator",3,"diameter"],[1,"list-container"],[1,"list-element"],[1,"left-part"],[1,"right-part"],["class","list-element",4,"ngFor","ngForOf"],["target","_blank","rel","noreferrer nofollow noopener",3,"href"],["class","channel",4,"ngIf"],[1,"channel"],[4,"ngFor","ngForOf"],["class","progress-container",4,"ngIf"],["class","loading-indicator",3,"diameter",4,"ngIf"],[1,"details"],["class","closed-indication",4,"ngIf"],[1,"closed-indication"],[1,"progress-container"],[1,"name"],["color","accent",3,"mode","value"],[1,"red-text"],["type","mat-raised-button","color","accent",3,"action"],["cancelButton",""],["type","mat-raised-button","color","primary",3,"action"],["confirmButton",""]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"div",1),ns(3,xP,4,4,"ng-container",2),ns(4,CP,3,3,"ng-container",2),ns(5,DP,3,3,"ng-container",2),us(),ns(6,LP,7,3,"div",3),ns(7,EP,6,4,"ng-container",2),ns(8,IP,9,10,"ng-container",2),ns(9,WP,6,4,"ng-container",2),ls(10,"div",4),ns(11,UP,4,3,"app-button",5),ns(12,qP,4,3,"app-button",6),us(),us()),2&t&&(os("headline",Lu(1,10,e.state!==e.updatingStates.Error?"update.title":"update.error-title")),Gr(3),os("ngIf",e.state===e.updatingStates.InitialProcessing),Gr(1),os("ngIf",e.state===e.updatingStates.Error),Gr(1),os("ngIf",e.state===e.updatingStates.NoUpdatesFound),Gr(1),os("ngIf",e.state===e.updatingStates.NoUpdatesFound&&1===e.data.length),Gr(1),os("ngIf",e.state===e.updatingStates.Asking&&e.indexesAlreadyBeingUpdated.length>0),Gr(1),os("ngIf",e.state===e.updatingStates.Asking),Gr(1),os("ngIf",e.state===e.updatingStates.Updating),Gr(2),os("ngIf",e.cancelButtonText),Gr(1),os("ngIf",e.confirmButtonText))},directives:[xL,wh,fC,bh,wP,AL],pipes:[px],styles:[".list-container[_ngcontent-%COMP%], .text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),t}(),ZP=["mat-menu-item",""],$P=["*"];function QP(t,e){if(1&t){var n=ps();ls(0,"div",0),vs("keydown",(function(t){return Cn(n),Ms()._handleKeydown(t)}))("click",(function(){return Cn(n),Ms().closed.emit("click")}))("@transformMenu.start",(function(t){return Cn(n),Ms()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return Cn(n),Ms()._onAnimationDone(t)})),ls(1,"div",1),Cs(2),us(),us()}if(2&t){var i=Ms();os("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),ts("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var XP={transformMenu:jf("transformMenu",[Uf("void",Wf({opacity:0,transform:"scale(0.8)"})),Gf("void => enter",Vf([Jf(".mat-menu-content, .mat-mdc-menu-content",Bf("100ms linear",Wf({opacity:1}))),Bf("120ms cubic-bezier(0, 0, 0.2, 1)",Wf({transform:"scale(1)"}))])),Gf("* => void",Bf("100ms 25ms linear",Wf({opacity:0})))]),fadeInItems:jf("fadeInItems",[Uf("showing",Wf({opacity:1})),Gf("void => *",[Wf({opacity:0}),Bf("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},tO=new se("MatMenuContent"),eO=function(){var t=function(){function t(e,n,i,r,a,o,s){_(this,t),this._template=e,this._componentFactoryResolver=n,this._appRef=i,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=s,this._attached=new W}return b(t,[{key:"attach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new Gk(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Zk(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(eu),rs(El),rs(Wc),rs(zo),rs(iu),rs(id),rs(xo))},t.\u0275dir=Ve({type:t,selectors:[["ng-template","matMenuContent",""]],features:[Cl([{provide:tO,useExisting:t}])]}),t}(),nO=new se("MAT_MENU_PANEL"),iO=CM(SM((function t(){_(this,t)}))),rO=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this))._elementRef=t,s._focusMonitor=r,s._parentMenu=o,s.role="menuitem",s._hovered=new W,s._focused=new W,s._highlighted=!1,s._triggersSubmenu=!1,o&&o.addItem&&o.addItem(a(s)),s._document=i,s}return b(n,[{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value: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;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(wv(1)).subscribe((function(){return t._focusFirstItem(e)})):this._focusFirstItem(e)}},{key:"_focusFirstItem",value:function(t){var e=this._keyManager;if(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}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var e=Math.min(4+t,24),n="mat-elevation-z".concat(e),i=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,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}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(Yv(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(t){ir()&&"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(t){ir()&&"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Jb(t)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Jb(t)}},{key:"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="")}},{key:"classList",get:function(){return this.panelClass},set:function(t){this.panelClass=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Mc),rs(aO))},t.\u0275dir=Ve({type:t,contentQueries:function(t,e,n){var i;1&t&&(Gu(n,tO,!0),Gu(n,rO,!0),Gu(n,rO,!1)),2&t&&(zu(i=Zu())&&(e.lazyContent=i.first),zu(i=Zu())&&(e._allItems=i),zu(i=Zu())&&(e.items=i))},viewQuery:function(t,e){var n;1&t&&Uu(eu,!0),2&t&&zu(n=Zu())&&(e.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t}(),lO=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(sO);return t.\u0275fac=function(e){return uO(e||t)},t.\u0275dir=Ve({type:t,features:[fl]}),t}(),uO=Bi(lO),cO=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){return _(this,n),e.call(this,t,i,r)}return n}(lO);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Mc),rs(aO))},t.\u0275cmp=Fe({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Cl([{provide:nO,useExisting:lO},{provide:lO,useExisting:t}]),fl],ngContentSelectors:$P,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(xs(),ns(0,QP,3,6,"ng-template"))},directives:[vh],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}.cdk-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:none;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}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{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}\n'],encapsulation:2,data:{animation:[XP.transformMenu,XP.fadeInItems]},changeDetection:0}),t}(),dO=new se("mat-menu-scroll-strategy"),hO={provide:dO,deps:[Pw],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},fO=Pk({passive:!0}),pO=function(){var t=function(){function t(e,n,i,r,a,o,s,l){var u=this;_(this,t),this._overlay=e,this._element=n,this._viewContainerRef=i,this._parentMenu=a,this._menuItemInstance=o,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=C.EMPTY,this._hoverSubscription=C.EMPTY,this._menuCloseSubscription=C.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Ou,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ou,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,fO),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return b(t,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,fO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value: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 lO&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"_destroyMenu",value:function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof lO?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(gg((function(t){return"void"===t.toState})),wv(1),yk(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())}}},{key:"_initMenu",value: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")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}},{key:"_checkMenu",value:function(){ir()&&!this.menu&&function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{key:"_createOverlay",value: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}},{key:"_getOverlayConfig",value:function(){return new hw({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value: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")}))}},{key:"_setPosition",value:function(t){var e=l("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],i=e[1],r=l("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,u=o,c=n,d=i,h=0;this.triggersSubmenu()?(d=n="before"===this.menu.xPosition?"start":"end",i=c="end"===n?"start":"end",h="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",u="top"===o?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:c,overlayY:a,offsetY:h},{originX:i,originY:s,overlayX:d,overlayY:a,offsetY:h},{originX:n,originY:u,overlayX:c,overlayY:o,offsetY:-h},{originX:i,originY:u,overlayX:d,overlayY:o,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return ft(e,this._parentMenu?this._parentMenu.closed:pg(),this._parentMenu?this._parentMenu._hovered().pipe(gg((function(e){return e!==t._menuItemInstance})),gg((function(){return t._menuOpen}))):pg(),n)}},{key:"_handleMousedown",value:function(t){lM(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(gg((function(e){return e===t._menuItemInstance&&!e.disabled})),tE(0,sk)).subscribe((function(){t._openedBy="mouse",t.menu instanceof lO&&t.menu._isAnimating?t.menu._animationDone.pipe(wv(1),tE(0,sk),yk(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Gk(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(ir()&&t===this._parentMenu&&function(){throw Error("matMenuTriggerFor: menu cannot contain its own trigger. Assign a menu that is not a parent of the trigger or move the trigger outside of the menu.")}(),this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pw),rs(Pl),rs(iu),rs(dO),rs(lO,8),rs(rO,10),rs(Yk,8),rs(dM))},t.\u0275dir=Ve({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&vs("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&ts("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t}(),mO=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[hO],imports:[MM]}),t}(),gO=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[hO],imports:[[rf,MM,BM,Rw,mO],Vk,MM,mO]}),t}(),vO=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}({}),_O=function(){return function(){}}(),yO=function(){function t(){}return t.getElapsedTime=function(t){var e=new _O;e.timeRepresentation=vO.Seconds,e.totalMinutes=Math.floor(t/60).toString(),e.translationVarName="second";var n=1;t>=60&&t<3600?(e.timeRepresentation=vO.Minutes,n=60,e.translationVarName="minute"):t>=3600&&t<86400?(e.timeRepresentation=vO.Hours,n=3600,e.translationVarName="hour"):t>=86400&&t<604800?(e.timeRepresentation=vO.Days,n=86400,e.translationVarName="day"):t>=604800&&(e.timeRepresentation=vO.Weeks,n=604800,e.translationVarName="week");var i=Math.floor(t/n);return e.elapsedTime=i.toString(),(e.timeRepresentation===vO.Seconds||i>1)&&(e.translationVarName=e.translationVarName+"s"),e},t}();function bO(t,e){1&t&&cs(0,"mat-spinner",5),2&t&&os("diameter",14)}function kO(t,e){1&t&&cs(0,"mat-spinner",6),2&t&&os("diameter",18)}function wO(t,e){1&t&&(ls(0,"mat-icon",9),rl(1,"refresh"),us()),2&t&&os("inline",!0)}function MO(t,e){1&t&&(ls(0,"mat-icon",10),rl(1,"warning"),us()),2&t&&os("inline",!0)}function SO(t,e){if(1&t&&(ds(0),ns(1,wO,2,1,"mat-icon",7),ns(2,MO,2,1,"mat-icon",8),hs()),2&t){var n=Ms();Gr(1),os("ngIf",!n.showAlert),Gr(1),os("ngIf",n.showAlert)}}var xO=function(t){return{time:t}};function CO(t,e){if(1&t&&(ls(0,"span",11),rl(1),Du(2,"translate"),us()),2&t){var n=Ms();Gr(1),al(Tu(2,1,"refresh-button."+n.elapsedTime.translationVarName,wu(4,xO,n.elapsedTime.elapsedTime)))}}var DO=function(t){return{"grey-button-background":t}},LO=function(){function t(){this.refeshRate=-1}return Object.defineProperty(t.prototype,"secondsSinceLastUpdate",{set:function(t){this.elapsedTime=yO.getElapsedTime(t)},enumerable:!1,configurable:!0}),t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(t,e){1&t&&(ls(0,"button",0),Du(1,"translate"),ns(2,bO,1,1,"mat-spinner",1),ns(3,kO,1,1,"mat-spinner",2),ns(4,SO,3,2,"ng-container",3),ns(5,CO,3,6,"span",4),us()),2&t&&(os("disabled",e.showLoading)("ngClass",wu(10,DO,!e.showLoading))("matTooltip",e.showAlert?Tu(1,7,"refresh-button.error-tooltip",wu(12,xO,e.refeshRate)):""),Gr(2),os("ngIf",e.showLoading),Gr(1),os("ngIf",e.showLoading),Gr(1),os("ngIf",!e.showLoading),Gr(1),os("ngIf",e.elapsedTime))},directives:[lS,vh,jL,wh,fC,US],pipes:[px],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;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}"]}),t}();function TO(t,e){if(1&t){var n=ps();ls(0,"button",23),vs("click",(function(){return Cn(n),Ms().requestAction(null)})),ls(1,"mat-icon"),rl(2,"chevron_left"),us(),us()}}function EO(t,e){1&t&&(ds(0),cs(1,"img",24),hs())}function PO(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms();Gr(1),ol(" ",Lu(2,1,n.titleParts[n.titleParts.length-1])," ")}}var OO=function(t){return{transparent:t}};function AO(t,e){if(1&t){var n=ps();ds(0),ls(1,"div",26),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).requestAction(t.actionName)})),ls(2,"mat-icon",27),rl(3),us(),rl(4),Du(5,"translate"),us(),hs()}if(2&t){var i=e.$implicit;Gr(1),os("disabled",i.disabled),Gr(1),os("ngClass",wu(6,OO,i.disabled)),Gr(1),al(i.icon),Gr(1),ol(" ",Lu(5,4,i.name)," ")}}function IO(t,e){1&t&&cs(0,"div",28)}function YO(t,e){if(1&t&&(ds(0),ns(1,AO,6,8,"ng-container",25),ns(2,IO,1,0,"div",9),hs()),2&t){var n=Ms();Gr(1),os("ngForOf",n.optionsData),Gr(1),os("ngIf",n.returnText)}}function FO(t,e){1&t&&cs(0,"div",28)}function RO(t,e){1&t&&cs(0,"img",31),2&t&&os("src","assets/img/lang/"+Ms(2).language.iconName,Dr)}function NO(t,e){if(1&t){var n=ps();ls(0,"div",29),vs("click",(function(){return Cn(n),Ms().openLanguageWindow()})),ns(1,RO,1,1,"img",30),rl(2),Du(3,"translate"),us()}if(2&t){var i=Ms();Gr(1),os("ngIf",i.language),Gr(1),ol(" ",Lu(3,2,i.language?i.language.name:"")," ")}}function HO(t,e){if(1&t){var n=ps();ls(0,"div",32),ls(1,"a",33),vs("click",(function(){return Cn(n),Ms().requestAction(null)})),Du(2,"translate"),ls(3,"mat-icon",22),rl(4,"chevron_left"),us(),us(),us()}if(2&t){var i=Ms();Gr(1),os("matTooltip",Lu(2,2,i.returnText)),Gr(2),os("inline",!0)}}var jO=function(t,e){return{"d-lg-none":t,"d-none d-md-inline-block":e}},BO=function(t,e){return{"mouse-disabled":t,"grey-button-background":e}};function VO(t,e){if(1&t&&(ls(0,"div",27),ls(1,"a",34),ls(2,"mat-icon",22),rl(3),us(),ls(4,"span"),rl(5),Du(6,"translate"),us(),us(),us()),2&t){var n=e.$implicit,i=e.index,r=Ms();os("ngClass",Mu(9,jO,n.onlyIfLessThanLg,1!==r.tabsData.length)),Gr(1),os("disabled",i===r.selectedTabIndex)("routerLink",n.linkParts)("ngClass",Mu(12,BO,r.disableMouse,!r.disableMouse&&i!==r.selectedTabIndex)),Gr(1),os("inline",!0),Gr(1),al(n.icon),Gr(2),al(Lu(6,7,n.label))}}var zO=function(t){return{"d-none":t}};function WO(t,e){if(1&t){var n=ps();ls(0,"div",35),ls(1,"button",36),vs("click",(function(){return Cn(n),Ms().openTabSelector()})),ls(2,"mat-icon",22),rl(3),us(),ls(4,"span"),rl(5),Du(6,"translate"),us(),ls(7,"mat-icon",22),rl(8,"keyboard_arrow_down"),us(),us(),us()}if(2&t){var i=Ms();os("ngClass",wu(8,zO,1===i.tabsData.length)),Gr(1),os("ngClass",Mu(10,BO,i.disableMouse,!i.disableMouse)),Gr(1),os("inline",!0),Gr(1),al(i.tabsData[i.selectedTabIndex].icon),Gr(2),al(Lu(6,6,i.tabsData[i.selectedTabIndex].label)),Gr(2),os("inline",!0)}}function UO(t,e){if(1&t){var n=ps();ls(0,"app-refresh-button",37),vs("click",(function(){return Cn(n),Ms().sendRefreshEvent()})),us()}if(2&t){var i=Ms();os("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.showLoading)("showAlert",i.showAlert)("refeshRate",i.refeshRate)}}var qO=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 Ou,this.optionSelected=new Ou,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()})),this.refreshRequested.complete(),this.optionSelected.complete()},t.prototype.requestAction=function(t){this.optionSelected.emit(t)},t.prototype.openLanguageWindow=function(){JT.openDialog(this.dialog)},t.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},t.prototype.openTabSelector=function(){var t=this,e=[];this.tabsData.forEach((function(t){e.push({label:t.label,icon:t.icon})})),DE.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe((function(e){e&&(e-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[e].linkParts)}))},t.\u0275fac=function(e){return new(e||t)(rs(Dx),rs(jx),rs(ub))},t.\u0275cmp=Fe({type:t,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:31,vars:17,consts:[[1,"top-bar","d-lg-none"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin","d-lg-none"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container"],[1,"title","d-none","d-lg-flex"],["class","return-container",4,"ngIf"],[1,"title-text"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"inline"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"]],template:function(t,e){if(1&t&&(ls(0,"div",0),ls(1,"div",1),ns(2,TO,3,0,"button",2),us(),ls(3,"div",3),ns(4,EO,2,0,"ng-container",4),ns(5,PO,3,3,"ng-container",4),us(),ls(6,"div",1),ls(7,"button",5),ls(8,"mat-icon"),rl(9,"menu"),us(),us(),us(),us(),cs(10,"div",6),ls(11,"mat-menu",7,8),ns(13,YO,3,2,"ng-container",4),ns(14,FO,1,0,"div",9),ns(15,NO,4,4,"div",10),us(),ls(16,"div",11),ls(17,"div",12),ns(18,HO,5,4,"div",13),ls(19,"span",14),rl(20),Du(21,"translate"),us(),us(),ls(22,"div",15),ns(23,VO,7,15,"div",16),ns(24,WO,9,13,"div",17),cs(25,"div",18),ls(26,"div",19),ns(27,UO,1,4,"app-refresh-button",20),ls(28,"button",21),ls(29,"mat-icon",22),rl(30,"menu"),us(),us(),us(),us(),us()),2&t){var n=is(12);Gr(2),os("ngIf",e.returnText),Gr(2),os("ngIf",!e.titleParts||e.titleParts.length<2),Gr(1),os("ngIf",e.titleParts&&e.titleParts.length>=2),Gr(2),os("matMenuTriggerFor",n),Gr(4),os("overlapTrigger",!1),Gr(2),os("ngIf",e.optionsData&&e.optionsData.length>=1),Gr(1),os("ngIf",!e.hideLanguageButton&&e.optionsData&&e.optionsData.length>=1),Gr(1),os("ngIf",!e.hideLanguageButton),Gr(3),os("ngIf",e.returnText),Gr(2),ol(" ",Lu(21,15,e.titleParts[e.titleParts.length-1])," "),Gr(3),os("ngForOf",e.tabsData),Gr(1),os("ngIf",e.tabsData&&e.tabsData[e.selectedTabIndex]),Gr(3),os("ngIf",e.showUpdateButton),Gr(1),os("matMenuTriggerFor",n),Gr(1),os("inline",!0)}},directives:[wh,lS,pO,US,cO,bh,rO,vh,jL,uS,hb,LO],pipes:[px],styles:[".main-container[_ngcontent-%COMP%]{border-bottom:1px solid hsla(0,0%,100%,.15);padding-bottom:10px;margin-bottom:-5px;height:100px}@media (max-width:991px){.main-container[_ngcontent-%COMP%]{height:55px}}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.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[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important;border-color:rgba(0,0,0,.1)}.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:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.12)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.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}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}"]}),t}(),GO=function(){return["1"]};function KO(t,e){if(1&t&&(ls(0,"a",10),ls(1,"mat-icon",11),rl(2,"chevron_left"),us(),rl(3),Du(4,"translate"),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(ku(6,GO)))("queryParams",n.queryParams),Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,4,"paginator.first")," ")}}function JO(t,e){if(1&t&&(ls(0,"a",12),ls(1,"mat-icon",11),rl(2,"chevron_left"),us(),ls(3,"span",13),rl(4),Du(5,"translate"),us(),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(ku(6,GO)))("queryParams",n.queryParams),Gr(1),os("inline",!0),Gr(3),al(Lu(5,4,"paginator.first"))}}var ZO=function(t){return[t]};function $O(t,e){if(1&t&&(ls(0,"a",10),ls(1,"div"),ls(2,"mat-icon",11),rl(3,"chevron_left"),us(),us(),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage-1).toString())))("queryParams",n.queryParams),Gr(2),os("inline",!0)}}function QO(t,e){if(1&t&&(ls(0,"a",10),rl(1),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage-2).toString())))("queryParams",n.queryParams),Gr(1),al(n.currentPage-2)}}function XO(t,e){if(1&t&&(ls(0,"a",14),rl(1),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage-1).toString())))("queryParams",n.queryParams),Gr(1),al(n.currentPage-1)}}function tA(t,e){if(1&t&&(ls(0,"a",14),rl(1),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage+1).toString())))("queryParams",n.queryParams),Gr(1),al(n.currentPage+1)}}function eA(t,e){if(1&t&&(ls(0,"a",10),rl(1),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage+2).toString())))("queryParams",n.queryParams),Gr(1),al(n.currentPage+2)}}function nA(t,e){if(1&t&&(ls(0,"a",10),ls(1,"div"),ls(2,"mat-icon",11),rl(3,"chevron_right"),us(),us(),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(3,ZO,(n.currentPage+1).toString())))("queryParams",n.queryParams),Gr(2),os("inline",!0)}}function iA(t,e){if(1&t&&(ls(0,"a",10),rl(1),Du(2,"translate"),ls(3,"mat-icon",11),rl(4,"chevron_right"),us(),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(6,ZO,n.numberOfPages.toString())))("queryParams",n.queryParams),Gr(1),ol(" ",Lu(2,4,"paginator.last")," "),Gr(2),os("inline",!0)}}function rA(t,e){if(1&t&&(ls(0,"a",12),ls(1,"mat-icon",11),rl(2,"chevron_right"),us(),ls(3,"span",13),rl(4),Du(5,"translate"),us(),us()),2&t){var n=Ms();os("routerLink",n.linkParts.concat(wu(6,ZO,n.numberOfPages.toString())))("queryParams",n.queryParams),Gr(1),os("inline",!0),Gr(3),al(Lu(5,4,"paginator.last"))}}var aA=function(t){return{number:t}};function oA(t,e){if(1&t&&(ls(0,"div",15),rl(1),Du(2,"translate"),us()),2&t){var n=Ms();Gr(1),al(Tu(2,1,"paginator.total",wu(4,aA,n.numberOfPages)))}}function sA(t,e){if(1&t&&(ls(0,"div",16),rl(1),Du(2,"translate"),us()),2&t){var n=Ms();Gr(1),al(Tu(2,1,"paginator.total",wu(4,aA,n.numberOfPages)))}}var lA=function(){function t(t,e){this.dialog=t,this.router=e,this.linkParts=[""],this.queryParams={}}return t.prototype.openSelectionDialog=function(){for(var t=this,e=[],n=1;n<=this.numberOfPages;n++)e.push({label:n.toString()});DE.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe((function(e){e&&t.router.navigate(t.linkParts.concat([e.toString()]),{queryParams:t.queryParams})}))},t.\u0275fac=function(e){return new(e||t)(rs(jx),rs(ub))},t.\u0275cmp=Fe({type:t,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"div",2),ls(3,"div",3),rl(4,"\xa0"),cs(5,"br"),rl(6,"\xa0"),us(),ns(7,KO,5,7,"a",4),ns(8,JO,6,7,"a",5),ns(9,$O,4,5,"a",4),ns(10,QO,2,5,"a",4),ns(11,XO,2,5,"a",6),ls(12,"a",7),vs("click",(function(){return e.openSelectionDialog()})),rl(13),us(),ns(14,tA,2,5,"a",6),ns(15,eA,2,5,"a",4),ns(16,nA,4,5,"a",4),ns(17,iA,5,8,"a",4),ns(18,rA,6,8,"a",5),us(),us(),ns(19,oA,3,6,"div",8),ns(20,sA,3,6,"div",9),us()),2&t&&(Gr(7),os("ngIf",e.currentPage>3),Gr(1),os("ngIf",e.currentPage>2),Gr(1),os("ngIf",e.currentPage>1),Gr(1),os("ngIf",e.currentPage>2),Gr(1),os("ngIf",e.currentPage>1),Gr(2),al(e.currentPage),Gr(1),os("ngIf",e.currentPage3),Gr(1),os("ngIf",e.numberOfPages>2))},directives:[wh,hb,US],pipes:[px],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:1px solid hsla(0,0%,100%,.15);border-left:1px solid hsla(0,0%,100%,.15);min-width:40px;text-align:center;color:rgba(248,249,249,.5);text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),t}(),uA=function(){return["start.title"]};function cA(t,e){if(1&t&&(ls(0,"div",2),ls(1,"div"),cs(2,"app-top-bar",3),us(),cs(3,"app-loading-indicator",4),us()),2&t){var n=Ms();Gr(2),os("titleParts",ku(4,uA))("tabsData",n.tabsData)("selectedTabIndex",n.showDmsgInfo?1:0)("showUpdateButton",!1)}}function dA(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n.translatableValue))}}function hA(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n.value)}}function fA(t,e){if(1&t&&(ls(0,"div",23),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,dA,3,3,"ng-container",24),ns(5,hA,2,1,"ng-container",24),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n.filterName),": "),Gr(2),os("ngIf",n.translatableValue),Gr(1),os("ngIf",n.value)}}function pA(t,e){if(1&t){var n=ps();ls(0,"div",20),vs("click",(function(){return Cn(n),Ms(2).dataFilterer.removeFilters()})),ns(1,fA,6,5,"div",21),ls(2,"div",22),rl(3),Du(4,"translate"),us(),us()}if(2&t){var i=Ms(2);Gr(1),os("ngForOf",i.dataFilterer.currentFiltersTexts),Gr(2),al(Lu(4,2,"filters.press-to-remove"))}}function mA(t,e){if(1&t){var n=ps();ls(0,"mat-icon",25),vs("click",(function(){return Cn(n),Ms(2).dataFilterer.changeFilters()})),Du(1,"translate"),rl(2,"filter_list"),us()}2&t&&os("inline",!0)("matTooltip",Lu(1,2,"filters.filter-action"))}function gA(t,e){1&t&&(ls(0,"mat-icon",26),rl(1,"more_horiz"),us()),2&t&&(Ms(),os("matMenuTriggerFor",is(12)))}var vA=function(){return["/nodes","list"]},_A=function(){return["/nodes","dmsg"]};function yA(t,e){if(1&t&&cs(0,"app-paginator",27),2&t){var n=Ms(2);os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",n.showDmsgInfo?ku(5,_A):ku(4,vA))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function bA(t,e){if(1&t&&(ls(0,"mat-icon",42),rl(1),us()),2&t){var n=Ms(4);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function kA(t,e){if(1&t&&(ls(0,"mat-icon",42),rl(1),us()),2&t){var n=Ms(4);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function wA(t,e){if(1&t&&(ls(0,"mat-icon",42),rl(1),us()),2&t){var n=Ms(4);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function MA(t,e){if(1&t&&(ls(0,"mat-icon",42),rl(1),us()),2&t){var n=Ms(4);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function SA(t,e){1&t&&(ds(0),rl(1,"*"),hs())}function xA(t,e){if(1&t&&(ds(0),ls(1,"mat-icon",42),rl(2),us(),ns(3,SA,2,0,"ng-container",24),hs()),2&t){var n=Ms(5);Gr(1),os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow),Gr(1),os("ngIf",n.dataSorter.currentlySortingByLabel)}}function CA(t,e){if(1&t){var n=ps();ls(0,"th",38),vs("click",(function(){Cn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.dmsgServerSortData)})),rl(1),Du(2,"translate"),ns(3,xA,4,3,"ng-container",24),us()}if(2&t){var i=Ms(4);Gr(1),ol(" ",Lu(2,2,"nodes.dmsg-server")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.dmsgServerSortData)}}function DA(t,e){if(1&t&&(ls(0,"mat-icon",42),rl(1),us()),2&t){var n=Ms(5);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function LA(t,e){if(1&t){var n=ps();ls(0,"th",38),vs("click",(function(){Cn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.pingSortData)})),rl(1),Du(2,"translate"),ns(3,DA,2,2,"mat-icon",35),us()}if(2&t){var i=Ms(4);Gr(1),ol(" ",Lu(2,2,"nodes.ping")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.pingSortData)}}function TA(t,e){1&t&&(ls(0,"mat-icon",49),Du(1,"translate"),rl(2,"star"),us()),2&t&&os("inline",!0)("matTooltip",Lu(1,2,"nodes.hypervisor-info"))}function EA(t,e){if(1&t){var n=ps();ls(0,"td"),ls(1,"app-labeled-element-text",50),vs("labelEdited",(function(){return Cn(n),Ms(5).forceDataRefresh()})),us(),us()}if(2&t){var i=Ms().$implicit,r=Ms(4);Gr(1),Ds("id",i.dmsgServerPk),os("short",!0)("elementType",r.labeledElementTypes.DmsgServer)}}var PA=function(t){return{time:t}};function OA(t,e){if(1&t&&(ls(0,"td"),rl(1),Du(2,"translate"),us()),2&t){var n=Ms().$implicit;Gr(1),ol(" ",Tu(2,1,"common.time-in-ms",wu(4,PA,n.roundTripPing))," ")}}function AA(t,e){if(1&t){var n=ps();ls(0,"button",47),vs("click",(function(){Cn(n);var t=Ms().$implicit;return Ms(4).open(t)})),Du(1,"translate"),ls(2,"mat-icon",42),rl(3,"chevron_right"),us(),us()}2&t&&(os("matTooltip",Lu(1,2,"nodes.view-node")),Gr(2),os("inline",!0))}function IA(t,e){if(1&t){var n=ps();ls(0,"button",47),vs("click",(function(){Cn(n);var t=Ms().$implicit;return Ms(4).deleteNode(t)})),Du(1,"translate"),ls(2,"mat-icon"),rl(3,"close"),us(),us()}2&t&&os("matTooltip",Lu(1,1,"nodes.delete-node"))}function YA(t,e){if(1&t){var n=ps();ls(0,"tr",43),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(4).open(t)})),ls(1,"td"),ns(2,TA,3,4,"mat-icon",44),us(),ls(3,"td"),cs(4,"span",45),Du(5,"translate"),us(),ls(6,"td"),rl(7),us(),ls(8,"td"),rl(9),us(),ns(10,EA,2,3,"td",24),ns(11,OA,3,6,"td",24),ls(12,"td",46),vs("click",(function(t){return Cn(n),t.stopPropagation()})),ls(13,"button",47),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(4).copyToClipboard(t)})),Du(14,"translate"),ls(15,"mat-icon",42),rl(16,"filter_none"),us(),us(),ls(17,"button",47),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(4).showEditLabelDialog(t)})),Du(18,"translate"),ls(19,"mat-icon",42),rl(20,"short_text"),us(),us(),ns(21,AA,4,4,"button",48),ns(22,IA,4,3,"button",48),us(),us()}if(2&t){var i=e.$implicit,r=Ms(4);Gr(2),os("ngIf",i.isHypervisor),Gr(2),Us(r.nodeStatusClass(i,!0)),os("matTooltip",Lu(5,14,r.nodeStatusText(i,!0))),Gr(3),ol(" ",i.label," "),Gr(2),ol(" ",i.localPk," "),Gr(1),os("ngIf",r.showDmsgInfo),Gr(1),os("ngIf",r.showDmsgInfo),Gr(2),os("matTooltip",Lu(14,16,r.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),Gr(2),os("inline",!0),Gr(2),os("matTooltip",Lu(18,18,"labeled-element.edit-label")),Gr(2),os("inline",!0),Gr(2),os("ngIf",i.online),Gr(1),os("ngIf",!i.online)}}function FA(t,e){if(1&t){var n=ps();ls(0,"table",32),ls(1,"tr"),ls(2,"th",33),vs("click",(function(){Cn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.hypervisorSortData)})),Du(3,"translate"),ls(4,"mat-icon",34),rl(5,"star_outline"),us(),ns(6,bA,2,2,"mat-icon",35),us(),ls(7,"th",33),vs("click",(function(){Cn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.stateSortData)})),Du(8,"translate"),cs(9,"span",36),ns(10,kA,2,2,"mat-icon",35),us(),ls(11,"th",37),vs("click",(function(){Cn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.labelSortData)})),rl(12),Du(13,"translate"),ns(14,wA,2,2,"mat-icon",35),us(),ls(15,"th",38),vs("click",(function(){Cn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.keySortData)})),rl(16),Du(17,"translate"),ns(18,MA,2,2,"mat-icon",35),us(),ns(19,CA,4,4,"th",39),ns(20,LA,4,4,"th",39),cs(21,"th",40),us(),ns(22,YA,23,20,"tr",41),us()}if(2&t){var i=Ms(3);Gr(2),os("matTooltip",Lu(3,11,"nodes.hypervisor")),Gr(4),os("ngIf",i.dataSorter.currentSortingColumn===i.hypervisorSortData),Gr(1),os("matTooltip",Lu(8,13,"nodes.state-tooltip")),Gr(3),os("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Gr(2),ol(" ",Lu(13,15,"nodes.label")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.labelSortData),Gr(2),ol(" ",Lu(17,17,"nodes.key")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.keySortData),Gr(1),os("ngIf",i.showDmsgInfo),Gr(1),os("ngIf",i.showDmsgInfo),Gr(2),os("ngForOf",i.dataSource)}}function RA(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.label")))}function NA(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.inverted-order")))}function HA(t,e){1&t&&(ls(0,"div",56),ls(1,"mat-icon",61),rl(2,"star"),us(),rl(3,"\xa0 "),ls(4,"span",62),rl(5),Du(6,"translate"),us(),us()),2&t&&(Gr(1),os("inline",!0),Gr(4),al(Lu(6,2,"nodes.hypervisor")))}function jA(t,e){if(1&t){var n=ps();ls(0,"div",57),ls(1,"span",9),rl(2),Du(3,"translate"),us(),rl(4,": "),ls(5,"app-labeled-element-text",63),vs("labelEdited",(function(){return Cn(n),Ms(5).forceDataRefresh()})),us(),us()}if(2&t){var i=Ms().$implicit,r=Ms(4);Gr(2),al(Lu(3,3,"nodes.dmsg-server")),Gr(3),Ds("id",i.dmsgServerPk),os("elementType",r.labeledElementTypes.DmsgServer)}}function BA(t,e){if(1&t&&(ls(0,"div",56),ls(1,"span",9),rl(2),Du(3,"translate"),us(),rl(4),Du(5,"translate"),us()),2&t){var n=Ms().$implicit;Gr(2),al(Lu(3,2,"nodes.ping")),Gr(2),ol(": ",Tu(5,4,"common.time-in-ms",wu(7,PA,n.roundTripPing))," ")}}function VA(t,e){if(1&t){var n=ps();ls(0,"tr",43),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(4).open(t)})),ls(1,"td"),ls(2,"div",52),ls(3,"div",53),ns(4,HA,7,4,"div",55),ls(5,"div",56),ls(6,"span",9),rl(7),Du(8,"translate"),us(),rl(9,": "),ls(10,"span"),rl(11),Du(12,"translate"),us(),us(),ls(13,"div",56),ls(14,"span",9),rl(15),Du(16,"translate"),us(),rl(17),us(),ls(18,"div",57),ls(19,"span",9),rl(20),Du(21,"translate"),us(),rl(22),us(),ns(23,jA,6,5,"div",58),ns(24,BA,6,9,"div",55),us(),cs(25,"div",59),ls(26,"div",54),ls(27,"button",60),vs("click",(function(t){Cn(n);var i=e.$implicit,r=Ms(4);return t.stopPropagation(),r.showOptionsDialog(i)})),Du(28,"translate"),ls(29,"mat-icon"),rl(30),us(),us(),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(4);Gr(4),os("ngIf",i.isHypervisor),Gr(3),al(Lu(8,13,"nodes.state")),Gr(3),Us(r.nodeStatusClass(i,!1)+" title"),Gr(1),al(Lu(12,15,r.nodeStatusText(i,!1))),Gr(4),al(Lu(16,17,"nodes.label")),Gr(2),ol(": ",i.label," "),Gr(3),al(Lu(21,19,"nodes.key")),Gr(2),ol(": ",i.localPk," "),Gr(1),os("ngIf",r.showDmsgInfo),Gr(1),os("ngIf",r.showDmsgInfo),Gr(3),os("matTooltip",Lu(28,21,"common.options")),Gr(3),al("add")}}function zA(t,e){if(1&t){var n=ps();ls(0,"table",51),ls(1,"tr",43),vs("click",(function(){return Cn(n),Ms(3).dataSorter.openSortingOrderModal()})),ls(2,"td"),ls(3,"div",52),ls(4,"div",53),ls(5,"div",9),rl(6),Du(7,"translate"),us(),ls(8,"div"),rl(9),Du(10,"translate"),ns(11,RA,3,3,"ng-container",24),ns(12,NA,3,3,"ng-container",24),us(),us(),ls(13,"div",54),ls(14,"mat-icon",42),rl(15,"keyboard_arrow_down"),us(),us(),us(),us(),us(),ns(16,VA,31,23,"tr",41),us()}if(2&t){var i=Ms(3);Gr(6),al(Lu(7,6,"tables.sorting-title")),Gr(3),ol("",Lu(10,8,i.dataSorter.currentSortingColumn.label)," "),Gr(2),os("ngIf",i.dataSorter.currentlySortingByLabel),Gr(1),os("ngIf",i.dataSorter.sortingInReverseOrder),Gr(2),os("inline",!0),Gr(2),os("ngForOf",i.dataSource)}}function WA(t,e){if(1&t&&(ls(0,"div",28),ls(1,"div",29),ns(2,FA,23,19,"table",30),ns(3,zA,17,10,"table",31),us(),us()),2&t){var n=Ms(2);Gr(2),os("ngIf",n.dataSource.length>0),Gr(1),os("ngIf",n.dataSource.length>0)}}function UA(t,e){if(1&t&&cs(0,"app-paginator",27),2&t){var n=Ms(2);os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",n.showDmsgInfo?ku(5,_A):ku(4,vA))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function qA(t,e){1&t&&(ls(0,"span",67),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"nodes.empty")))}function GA(t,e){1&t&&(ls(0,"span",67),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"nodes.empty-with-filter")))}function KA(t,e){if(1&t&&(ls(0,"div",28),ls(1,"div",64),ls(2,"mat-icon",65),rl(3,"warning"),us(),ns(4,qA,3,3,"span",66),ns(5,GA,3,3,"span",66),us(),us()),2&t){var n=Ms(2);Gr(2),os("inline",!0),Gr(2),os("ngIf",0===n.allNodes.length),Gr(1),os("ngIf",0!==n.allNodes.length)}}var JA=function(t){return{"paginator-icons-fixer":t}};function ZA(t,e){if(1&t){var n=ps();ls(0,"div",5),ls(1,"div",6),ls(2,"app-top-bar",7),vs("refreshRequested",(function(){return Cn(n),Ms().forceDataRefresh(!0)}))("optionSelected",(function(t){return Cn(n),Ms().performAction(t)})),us(),us(),ls(3,"div",6),ls(4,"div",8),ls(5,"div",9),ns(6,pA,5,4,"div",10),us(),ls(7,"div",11),ls(8,"div",12),ns(9,mA,3,4,"mat-icon",13),ns(10,gA,2,1,"mat-icon",14),ls(11,"mat-menu",15,16),ls(13,"div",17),vs("click",(function(){return Cn(n),Ms().removeOffline()})),rl(14),Du(15,"translate"),us(),us(),us(),ns(16,yA,1,6,"app-paginator",18),us(),us(),ns(17,WA,4,2,"div",19),ns(18,UA,1,6,"app-paginator",18),ns(19,KA,6,3,"div",19),us(),us()}if(2&t){var i=Ms();Gr(2),os("titleParts",ku(21,uA))("tabsData",i.tabsData)("selectedTabIndex",i.showDmsgInfo?1:0)("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.updating)("showAlert",i.errorsUpdating)("refeshRate",i.storageService.getRefreshTime())("optionsData",i.options),Gr(2),os("ngClass",wu(22,JA,i.numberOfPages>1)),Gr(2),os("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),Gr(3),os("ngIf",i.allNodes&&i.allNodes.length>0),Gr(1),os("ngIf",i.dataSource.length>0),Gr(1),os("overlapTrigger",!1),Gr(2),Ds("disabled",!i.hasOfflineNodes),Gr(1),ol(" ",Lu(15,19,"nodes.delete-all-offline")," "),Gr(2),os("ngIf",i.numberOfPages>1),Gr(1),os("ngIf",0!==i.dataSource.length),Gr(1),os("ngIf",i.numberOfPages>1),Gr(1),os("ngIf",0===i.dataSource.length)}}var $A=function(){function t(t,e,n,i,r,a,o,s,l,u){var c=this;this.nodeService=t,this.router=e,this.dialog=n,this.authService=i,this.storageService=r,this.ngZone=a,this.snackbarService=o,this.clipboardService=s,this.translateService=l,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new VE(["isHypervisor"],"nodes.hypervisor",zE.Boolean),this.stateSortData=new VE(["online"],"nodes.state",zE.Boolean),this.labelSortData=new VE(["label"],"nodes.label",zE.Text),this.keySortData=new VE(["localPk"],"nodes.key",zE.Text),this.dmsgServerSortData=new VE(["dmsgServerPk"],"nodes.dmsg-server",zE.Text,["dmsgServerPk_label"]),this.pingSortData=new VE(["roundTripPing"],"nodes.ping",zE.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:TE.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:TE.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:TE.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:TE.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=Gb,this.updateOptionsMenu(!0),this.authVerificationSubscription=this.authService.checkLogin().subscribe((function(t){t===iC.AuthDisabled&&c.updateOptionsMenu(!1)})),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var d=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(d.push(this.dmsgServerSortData),d.push(this.pingSortData)),this.dataSorter=new WE(this.dialog,this.translateService,d,2,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){c.recalculateElementsToShow()})),this.dataFilterer=new gP(this.dialog,u,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){c.filteredNodes=t,c.hasOfflineNodes=!1,c.filteredNodes.forEach((function(t){t.online||(c.hasOfflineNodes=!0)})),c.dataSorter.setData(c.filteredNodes)})),this.navigationsSubscription=u.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),c.currentPageInUrl=e,c.recalculateElementsToShow()}})),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe((function(){c.nodeService.forceNodeListRefresh()}))}return t.prototype.updateOptionsMenu=function(t){this.options=[{name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}],t&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})},t.prototype.ngOnInit=function(){var t=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=gk(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))}))},t.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.performAction=function(t){"logout"===t?this.logout():"updateAll"===t&&this.updateAll()},t.prototype.nodeStatusClass=function(t,e){switch(t.online){case!0:return this.nodesHealthInfo.get(t.localPk).allServicesOk?e?"dot-green":"green-text":e?"dot-yellow online-warning":"yellow-text";default:return e?"dot-red":"red-text"}},t.prototype.nodeStatusText=function(t,e){switch(t.online){case!0:return this.nodesHealthInfo.get(t.localPk).allServicesOk?"node.statuses.online"+(e?"-tooltip":""):"node.statuses.partially-online"+(e?"-tooltip":"");default:return"node.statuses.offline"+(e?"-tooltip":"")}},t.prototype.forceDataRefresh=function(t){void 0===t&&(t=!1),t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()},t.prototype.startGettingData=function(){var t=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe((function(e){return t.updating=e})),this.ngZone.runOutsideAngular((function(){t.dataSubscription.add(t.nodeService.nodeList.subscribe((function(e){t.ngZone.run((function(){e&&(e.data?(t.allNodes=e.data,t.showDmsgInfo&&t.allNodes.forEach((function(e){e.dmsgServerPk_label=BE.getCompleteLabel(t.storageService,t.translateService,e.dmsgServerPk)})),t.dataFilterer.setData(t.allNodes),t.loading=!1,t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=e.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1)):e.error&&(t.errorsUpdating||t.snackbarService.showError(t.loading?"common.loading-error":"nodes.error-load",null,!0,e.error),t.errorsUpdating=!0))}))})))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var e=xx.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(n,n+e)}else this.nodesToShow=null;this.nodesToShow&&(this.nodesHealthInfo=new Map,this.nodesToShow.forEach((function(e){t.nodesHealthInfo.set(e.localPk,t.nodeService.getHealthStatus(e))})),this.dataSource=this.nodesToShow)},t.prototype.logout=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))}))},t.prototype.updateAll=function(){if(this.dataSource&&0!==this.dataSource.length){var t=[];this.dataSource.forEach((function(e){t.push({key:e.localPk,label:e.label})})),JP.openDialog(this.dialog,t)}else this.snackbarService.showError("nodes.no-visors-to-update")},t.prototype.recursivelyUpdateWallets=function(t,e,n){var i=this;return void 0===n&&(n=0),this.nodeService.update(t[t.length-1]).pipe(yv((function(){return pg(null)})),st((function(r){return r&&r.updated&&!r.error?i.snackbarService.showDone(i.translateService.instant("nodes.update.done",{name:e[e.length-1]})):(i.snackbarService.showError(i.translateService.instant("nodes.update.update-error",{name:e[e.length-1]})),n+=1),t.pop(),e.pop(),t.length>=1?i.recursivelyUpdateWallets(t,e,n):pg(n)})))},t.prototype.showOptionsDialog=function(t){var e=this,n=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&n.push({icon:"filter_none",label:"nodes.copy-dmsg"}),n.push({icon:"short_text",label:"labeled-element.edit-label"}),t.online||n.push({icon:"close",label:"nodes.delete-node"}),DE.openDialog(this.dialog,n,"common.options").afterClosed().subscribe((function(n){1===n?e.copySpecificTextToClipboard(t.localPk):e.showDmsgInfo?2===n?e.copySpecificTextToClipboard(t.dmsgServerPk):3===n?e.showEditLabelDialog(t):4===n&&e.deleteNode(t):2===n?e.showEditLabelDialog(t):3===n&&e.deleteNode(t)}))},t.prototype.copyToClipboard=function(t){var e=this;this.showDmsgInfo?DE.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe((function(n){1===n?e.copySpecificTextToClipboard(t.localPk):2===n&&e.copySpecificTextToClipboard(t.dmsgServerPk)})):this.copySpecificTextToClipboard(t.localPk)},t.prototype.copySpecificTextToClipboard=function(t){this.clipboardService.copy(t)&&this.snackbarService.showDone("copy.copied")},t.prototype.showEditLabelDialog=function(t){var e=this,n=this.storageService.getLabelInfo(t.localPk);n||(n={id:t.localPk,label:"",identifiedElementType:Gb.Node}),mE.openDialog(this.dialog,n).afterClosed().subscribe((function(t){t&&e.forceDataRefresh()}))},t.prototype.deleteNode=function(t){var e=this,n=SE.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.setLocalNodesAsHidden([t.localPk]),e.forceDataRefresh(),e.snackbarService.showDone("nodes.deleted")}))},t.prototype.removeOffline=function(){var t=this,e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");var n=SE.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){n.close();var e=[];t.filteredNodes.forEach((function(t){t.online||e.push(t.localPk)})),e.length>0&&(t.storageService.setLocalNodesAsHidden(e),t.forceDataRefresh(),1===e.length?t.snackbarService.showDone("nodes.deleted-singular"):t.snackbarService.showDone("nodes.deleted-plural",{number:e.length}))}))},t.prototype.open=function(t){t.online&&this.router.navigate(["nodes",t.localPk])},t.\u0275fac=function(e){return new(e||t)(rs(fE),rs(ub),rs(jx),rs(rC),rs(Kb),rs(Mc),rs(Sx),rs(LE),rs(hx),rs(z_))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","gray-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(ns(0,cA,4,5,"div",0),ns(1,ZA,20,24,"div",1)),2&t&&(os("ngIf",e.loading),Gr(1),os("ngIf",!e.loading))},directives:[wh,qO,gC,vh,cO,rO,bh,US,jL,pO,lA,lS,BE],pipes:[px],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.gray-text[_ngcontent-%COMP%]{color:#777!important}.small-column[_ngcontent-%COMP%]{width:1px}.online-warning[_ngcontent-%COMP%]{-webkit-animation:alert-blinking 1s linear infinite;animation:alert-blinking 1s linear infinite}@-webkit-keyframes alert-blinking{50%{opacity:.5}}@keyframes alert-blinking{50%{opacity:.5}}"]}),t}(),QA=["terminal"],XA=["dialogContent"],tI=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 Tx;return i.data=n,i.autoFocus=!1,i.width=xx.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.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(Yl),rs(eC),rs(hx))},t.\u0275cmp=Fe({type:t,selectors:[["app-basic-terminal"]],viewQuery:function(t,e){var n;1&t&&(Uu(QA,!0),Uu(XA,!0)),2&t&&(zu(n=Zu())&&(e.terminalElement=n.first),zu(n=Zu())&&(e.dialogContentElement=n.first))},hostBindings:function(t,e){1&t&&vs("keyup",(function(t){return e.keyEvent(t)}),!1,bi)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"mat-dialog-content",1,2),vs("click",(function(){return e.focusTerminal()})),ls(4,"div",3),cs(5,"div",null,4),us(),us(),us()),2&t&&os("headline",Lu(1,3,"actions.terminal.title")+" - "+e.data.label+" ("+e.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[xL,Wx],pipes:[px],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}"]}),t}(),eI=function(){function t(t,e){this.options=[],this.dialog=t.get(jx),this.router=t.get(ub),this.snackbarService=t.get(Sx),this.nodeService=t.get(fE),this.translateService=t.get(hx),this.storageService=t.get(Kb),this.options=[{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"}],this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title"}return t.prototype.setCurrentNode=function(t){this.currentNode=t},t.prototype.setCurrentNodeKey=function(t){this.currentNodeKey=t},t.prototype.performAction=function(t){"terminal"===t?this.terminal():"update"===t?this.update():"reboot"===t?this.reboot():null===t&&this.back()},t.prototype.dispose=function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},t.prototype.reboot=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing(),t.rebootSubscription=t.nodeService.reboot(t.currentNodeKey).subscribe((function(){t.snackbarService.showDone("actions.reboot.done"),e.close()}),(function(t){t=Mx(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.update=function(){var t=this.storageService.getLabelInfo(this.currentNodeKey);JP.openDialog(this.dialog,[{key:this.currentNodeKey,label:t?t.label:""}])},t.prototype.terminal=function(){var t=this;DE.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").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/"+t.currentNodeKey,"_blank","noopener noreferrer")}else 2===e&&tI.openDialog(t.dialog,{pk:t.currentNodeKey,label:t.currentNode?t.currentNode.label:""})}))},t.prototype.back=function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])},t}();function nI(t,e){1&t&&cs(0,"app-loading-indicator")}function iI(t,e){1&t&&(ls(0,"div",6),ls(1,"div"),ls(2,"mat-icon",7),rl(3,"error"),us(),rl(4),Du(5,"translate"),us(),us()),2&t&&(Gr(2),os("inline",!0),Gr(2),ol(" ",Lu(5,2,"node.not-found")," "))}function rI(t,e){if(1&t){var n=ps();ls(0,"div",2),ls(1,"div"),ls(2,"app-top-bar",3),vs("optionSelected",(function(t){return Cn(n),Ms().performAction(t)})),us(),us(),ns(3,nI,1,0,"app-loading-indicator",4),ns(4,iI,6,4,"div",5),us()}if(2&t){var i=Ms();Gr(2),os("titleParts",i.titleParts)("tabsData",i.tabsData)("selectedTabIndex",i.selectedTabIndex)("showUpdateButton",!1)("optionsData",i.nodeActionsHelper?i.nodeActionsHelper.options:null)("returnText",i.nodeActionsHelper?i.nodeActionsHelper.returnButtonText:""),Gr(1),os("ngIf",!i.notFound),Gr(1),os("ngIf",i.notFound)}}function aI(t,e){1&t&&cs(0,"app-node-info-content",15),2&t&&os("nodeInfo",Ms(2).node)}var oI=function(t,e){return{"main-area":t,"full-size-main-area":e}},sI=function(t){return{"d-none":t}};function lI(t,e){if(1&t){var n=ps();ls(0,"div",8),ls(1,"div",9),ls(2,"app-top-bar",10),vs("optionSelected",(function(t){return Cn(n),Ms().performAction(t)}))("refreshRequested",(function(){return Cn(n),Ms().forceDataRefresh(!0)})),us(),us(),ls(3,"div",9),ls(4,"div",11),ls(5,"div",12),cs(6,"router-outlet"),us(),us(),ls(7,"div",13),ns(8,aI,1,1,"app-node-info-content",14),us(),us(),us()}if(2&t){var i=Ms();Gr(2),os("titleParts",i.titleParts)("tabsData",i.tabsData)("selectedTabIndex",i.selectedTabIndex)("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.updating)("showAlert",i.errorsUpdating)("refeshRate",i.storageService.getRefreshTime())("optionsData",i.nodeActionsHelper?i.nodeActionsHelper.options:null)("returnText",i.nodeActionsHelper?i.nodeActionsHelper.returnButtonText:""),Gr(2),os("ngClass",Mu(12,oI,!i.showingInfo&&!i.showingFullList,i.showingInfo||i.showingFullList)),Gr(3),os("ngClass",wu(15,sI,i.showingInfo||i.showingFullList)),Gr(1),os("ngIf",!i.showingInfo&&!i.showingFullList)}}var uI=function(){function t(e,n,i,r,a,o,s){var l=this;this.storageService=e,this.nodeService=n,this.route=i,this.ngZone=r,this.snackbarService=a,this.injector=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,this.lastUpdateRequestedManually=!1,t.nodeSubject=new Ub(1),t.currentInstanceInternal=this,this.navigationsSubscription=s.events.subscribe((function(e){e.urlAfterRedirects&&(t.currentNodeKey=l.route.snapshot.params.key,l.nodeActionsHelper&&l.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),l.lastUrl=e.urlAfterRedirects,l.updateTabBar(),l.navigationsSubscription.unsubscribe(),l.nodeService.startRequestingSpecificNode(t.currentNodeKey),l.startGettingData())}))}return t.refreshCurrentDisplayedData=function(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)},t.getCurrentNodeKey=function(){return t.currentNodeKey},Object.defineProperty(t,"currentNode",{get:function(){return t.nodeSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=gk(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,this.nodeActionsHelper=new eI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new eI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);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.performAction=function(t){this.nodeActionsHelper.performAction(t)},t.prototype.forceDataRefresh=function(t){void 0===t&&(t=!1),t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()},t.prototype.startGettingData=function(){var e=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe((function(t){return e.updating=t})),this.ngZone.runOutsideAngular((function(){e.dataSubscription.add(e.nodeService.specificNode.subscribe((function(n){e.ngZone.run((function(){if(n)if(n.data&&!n.error)e.node=n.data,t.nodeSubject.next(e.node),e.nodeActionsHelper&&e.nodeActionsHelper.setCurrentNode(e.node),e.snackbarService.closeCurrentIfTemporaryError(),e.lastUpdate=n.momentOfLastCorrectUpdate,e.secondsSinceLastUpdate=Math.floor((Date.now()-n.momentOfLastCorrectUpdate)/1e3),e.errorsUpdating=!1,e.lastUpdateRequestedManually&&(e.snackbarService.showDone("common.refreshed",null),e.lastUpdateRequestedManually=!1);else if(n.error){if(n.error.originalError&&400===n.error.originalError.status)return void(e.notFound=!0);e.errorsUpdating||e.snackbarService.showError(e.node?"node.error-load":"common.loading-error",null,!0,n.error),e.errorsUpdating=!0}}))})))}))},t.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,this.nodeActionsHelper.dispose()},t.\u0275fac=function(e){return new(e||t)(rs(Kb),rs(fE),rs(z_),rs(Mc),rs(Sx),rs(zo),rs(ub))},t.\u0275cmp=Fe({type:t,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(t,e){1&t&&(ns(0,rI,5,8,"div",0),ns(1,lI,9,17,"div",1)),2&t&&(os("ngIf",!e.node),Gr(1),os("ngIf",e.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width:992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width:992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),t}();function cI(t,e){if(1&t&&(ls(0,"mat-option",8),rl(1),Du(2,"translate"),us()),2&t){var n=e.$implicit;Ds("value",n),Gr(1),sl(" ",n," ",Lu(2,3,"settings.seconds")," ")}}var dI=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.\u0275fac=function(e){return new(e||t)(rs(pL),rs(Kb),rs(Sx))},t.\u0275cmp=Fe({type:t,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"div",2),ls(3,"mat-icon",3),Du(4,"translate"),rl(5," help "),us(),us(),ls(6,"form",4),ls(7,"mat-form-field",5),ls(8,"mat-select",6),Du(9,"translate"),ns(10,cI,3,5,"mat-option",7),us(),us(),us(),us(),us()),2&t&&(Gr(3),os("inline",!0)("matTooltip",Lu(4,5,"settings.refresh-rate-help")),Gr(3),os("formGroup",e.form),Gr(2),os("placeholder",Lu(9,7,"settings.refresh-rate")),Gr(2),os("ngForOf",e.timesList))},directives:[US,jL,jD,PC,UD,xT,uP,EC,QD,bh,QM],pipes:[px],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}"]}),t}(),hI=["input"],fI=function(){return{enterDuration:150}},pI=["*"],mI=new se("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),gI=new se("mat-checkbox-click-action"),vI=0,_I={provide:_C,useExisting:Ut((function(){return kI})),multi:!0},yI=function t(){_(this,t)},bI=DM(xM(CM(SM((function t(e){_(this,t),this._elementRef=e}))))),kI=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u){var c;return _(this,n),(c=e.call(this,t))._changeDetectorRef=i,c._focusMonitor=r,c._ngZone=a,c._clickAction=s,c._animationMode=l,c._options=u,c.ariaLabel="",c.ariaLabelledby=null,c._uniqueId="mat-checkbox-".concat(++vI),c.id=c._uniqueId,c.labelPosition="after",c.name=null,c.change=new Ou,c.indeterminateChange=new Ou,c._onTouched=function(){},c._currentAnimationClass="",c._currentCheckState=0,c._controlValueAccessorChangeFn=function(){},c._checked=!1,c._disabled=!1,c._indeterminate=!1,c._options=c._options||{},c._options.color&&(c.color=c._options.color),c.tabIndex=parseInt(o)||0,c._clickAction=c._clickAction||c._options.clickAction,c}return b(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){e||Promise.resolve().then((function(){t._onTouched(),t._changeDetectorRef.markForCheck()}))})),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value: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)}))}}},{key:"_emitChangeEvent",value:function(){var t=new yI;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value: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?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(t){this._required=Jb(t)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=Jb(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=Jb(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(bI);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(xo),rs(dM),rs(Mc),as("tabindex"),rs(gI,8),rs(cg,8),rs(mI,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(Uu(hI,!0),Uu(jM,!0)),2&t&&(zu(n=Zu())&&(e._inputElement=n.first),zu(n=Zu())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(cl("id",e.id),ts("tabindex",null),Vs("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Cl([_I]),fl],ngContentSelectors:pI,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(xs(),ls(0,"label",0,1),ls(2,"div",2),ls(3,"input",3,4),vs("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),us(),ls(5,"div",5),cs(6,"div",6),us(),cs(7,"div",7),ls(8,"div",8),Xn(),ls(9,"svg",9),cs(10,"path",10),us(),ti(),cs(11,"div",11),us(),us(),ls(12,"span",12,13),vs("cdkObserveContent",(function(){return e._onLabelTextChange()})),ls(14,"span",14),rl(15,"\xa0"),us(),Cs(16),us(),us()),2&t){var n=is(1),i=is(13);ts("for",e.inputId),Gr(2),Vs("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Gr(1),os("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),ts("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),Gr(2),os("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",ku(19,fI))}},directives:[jM,Ww],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.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.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(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.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, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{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 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 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, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-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, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background: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.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-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(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms 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}\n"],encapsulation:2,changeDetection:0}),t}(),wI={provide:IC,useExisting:Ut((function(){return MI})),multi:!0},MI=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(nL);return t.\u0275fac=function(e){return SI(e||t)},t.\u0275dir=Ve({type:t,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[Cl([wI]),fl]}),t}(),SI=Bi(MI),xI=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)}}),t}(),CI=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[BM,MM,Uw,xI],MM,xI]}),t}(),DI=function(t){return{number:t}},LI=function(){function t(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"a",1),rl(2),Du(3,"translate"),ls(4,"mat-icon",2),rl(5,"chevron_right"),us(),us(),us()),2&t&&(Gr(1),os("routerLink",e.linkParts)("queryParams",e.queryParams),Gr(1),ol(" ",Tu(3,4,"view-all-link.label",wu(7,DI,e.numberOfElements))," "),Gr(2),os("inline",!0))},directives:[hb,US],pipes:[px],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;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}"]}),t}();function TI(t,e){1&t&&(ls(0,"span",14),rl(1),Du(2,"translate"),ls(3,"mat-icon",15),Du(4,"translate"),rl(5,"help"),us(),us()),2&t&&(Gr(1),ol(" ",Lu(2,3,"labels.title")," "),Gr(2),os("inline",!0)("matTooltip",Lu(4,5,"labels.info")))}function EI(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n.translatableValue))}}function PI(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n.value)}}function OI(t,e){if(1&t&&(ls(0,"div",19),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,EI,3,3,"ng-container",20),ns(5,PI,2,1,"ng-container",20),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n.filterName),": "),Gr(2),os("ngIf",n.translatableValue),Gr(1),os("ngIf",n.value)}}function AI(t,e){if(1&t){var n=ps();ls(0,"div",16),vs("click",(function(){return Cn(n),Ms().dataFilterer.removeFilters()})),ns(1,OI,6,5,"div",17),ls(2,"div",18),rl(3),Du(4,"translate"),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngForOf",i.dataFilterer.currentFiltersTexts),Gr(2),al(Lu(4,2,"filters.press-to-remove"))}}function II(t,e){if(1&t){var n=ps();ls(0,"mat-icon",21),vs("click",(function(){return Cn(n),Ms().dataFilterer.changeFilters()})),Du(1,"translate"),rl(2,"filter_list"),us()}2&t&&os("inline",!0)("matTooltip",Lu(1,2,"filters.filter-action"))}function YI(t,e){if(1&t&&(ls(0,"mat-icon",22),rl(1,"more_horiz"),us()),2&t){Ms();var n=is(9);os("inline",!0)("matMenuTriggerFor",n)}}var FI=function(){return["/settings","labels"]};function RI(t,e){if(1&t&&cs(0,"app-paginator",23),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",ku(4,FI))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function NI(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function HI(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function jI(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function BI(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td",38),ls(2,"mat-checkbox",39),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(3,"td"),rl(4),us(),ls(5,"td"),rl(6),us(),ls(7,"td"),rl(8),Du(9,"translate"),us(),ls(10,"td",29),ls(11,"button",40),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).delete(t.id)})),Du(12,"translate"),ls(13,"mat-icon",36),rl(14,"close"),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(2),os("checked",r.selections.get(i.id)),Gr(2),ol(" ",i.label," "),Gr(2),ol(" ",i.id," "),Gr(2),sl(" ",r.getLabelTypeIdentification(i)[0]," - ",Lu(9,7,r.getLabelTypeIdentification(i)[1])," "),Gr(3),os("matTooltip",Lu(12,9,"labels.delete")),Gr(2),os("inline",!0)}}function VI(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.label")))}function zI(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.inverted-order")))}function WI(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td"),ls(2,"div",33),ls(3,"div",41),ls(4,"mat-checkbox",39),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(5,"div",34),ls(6,"div",42),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10),us(),ls(11,"div",43),ls(12,"span",1),rl(13),Du(14,"translate"),us(),rl(15),us(),ls(16,"div",42),ls(17,"span",1),rl(18),Du(19,"translate"),us(),rl(20),Du(21,"translate"),us(),us(),cs(22,"div",44),ls(23,"div",35),ls(24,"button",45),vs("click",(function(t){Cn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Du(25,"translate"),ls(26,"mat-icon"),rl(27),us(),us(),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(4),os("checked",r.selections.get(i.id)),Gr(4),al(Lu(9,10,"labels.label")),Gr(2),ol(": ",i.label," "),Gr(3),al(Lu(14,12,"labels.id")),Gr(2),ol(": ",i.id," "),Gr(3),al(Lu(19,14,"labels.type")),Gr(2),sl(": ",r.getLabelTypeIdentification(i)[0]," - ",Lu(21,16,r.getLabelTypeIdentification(i)[1])," "),Gr(4),os("matTooltip",Lu(25,18,"common.options")),Gr(3),al("add")}}function UI(t,e){if(1&t&&cs(0,"app-view-all-link",46),2&t){var n=Ms(2);os("numberOfElements",n.filteredLabels.length)("linkParts",ku(3,FI))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var qI=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},GI=function(t){return{"d-lg-none d-xl-table":t}},KI=function(t){return{"d-lg-table d-xl-none":t}};function JI(t,e){if(1&t){var n=ps();ls(0,"div",24),ls(1,"div",25),ls(2,"table",26),ls(3,"tr"),cs(4,"th"),ls(5,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.labelSortData)})),rl(6),Du(7,"translate"),ns(8,NI,2,2,"mat-icon",28),us(),ls(9,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.idSortData)})),rl(10),Du(11,"translate"),ns(12,HI,2,2,"mat-icon",28),us(),ls(13,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),rl(14),Du(15,"translate"),ns(16,jI,2,2,"mat-icon",28),us(),cs(17,"th",29),us(),ns(18,BI,15,11,"tr",30),us(),ls(19,"table",31),ls(20,"tr",32),vs("click",(function(){return Cn(n),Ms().dataSorter.openSortingOrderModal()})),ls(21,"td"),ls(22,"div",33),ls(23,"div",34),ls(24,"div",1),rl(25),Du(26,"translate"),us(),ls(27,"div"),rl(28),Du(29,"translate"),ns(30,VI,3,3,"ng-container",20),ns(31,zI,3,3,"ng-container",20),us(),us(),ls(32,"div",35),ls(33,"mat-icon",36),rl(34,"keyboard_arrow_down"),us(),us(),us(),us(),us(),ns(35,WI,28,20,"tr",30),us(),ns(36,UI,1,4,"app-view-all-link",37),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngClass",Mu(27,qI,i.showShortList_,!i.showShortList_)),Gr(1),os("ngClass",wu(30,GI,i.showShortList_)),Gr(4),ol(" ",Lu(7,17,"labels.label")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.labelSortData),Gr(2),ol(" ",Lu(11,19,"labels.id")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.idSortData),Gr(2),ol(" ",Lu(15,21,"labels.type")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngClass",wu(32,KI,i.showShortList_)),Gr(6),al(Lu(26,23,"tables.sorting-title")),Gr(3),ol("",Lu(29,25,i.dataSorter.currentSortingColumn.label)," "),Gr(2),os("ngIf",i.dataSorter.currentlySortingByLabel),Gr(1),os("ngIf",i.dataSorter.sortingInReverseOrder),Gr(2),os("inline",!0),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngIf",i.showShortList_&&i.numberOfPages>1)}}function ZI(t,e){1&t&&(ls(0,"span",50),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"labels.empty")))}function $I(t,e){1&t&&(ls(0,"span",50),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"labels.empty-with-filter")))}function QI(t,e){if(1&t&&(ls(0,"div",24),ls(1,"div",47),ls(2,"mat-icon",48),rl(3,"warning"),us(),ns(4,ZI,3,3,"span",49),ns(5,$I,3,3,"span",49),us(),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),os("ngIf",0===n.allLabels.length),Gr(1),os("ngIf",0!==n.allLabels.length)}}function XI(t,e){if(1&t&&cs(0,"app-paginator",23),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",ku(4,FI))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var tY=function(t){return{"paginator-icons-fixer":t}},eY=function(){function t(t,e,n,i,r,a){var o=this;this.dialog=t,this.route=e,this.router=n,this.snackbarService=i,this.translateService=r,this.storageService=a,this.listId="ll",this.labelSortData=new VE(["label"],"labels.label",zE.Text),this.idSortData=new VE(["id"],"labels.id",zE.Text),this.typeSortData=new VE(["identifiedElementType_sort"],"labels.type",zE.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:TE.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:TE.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:TE.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:Gb.Node,label:"labels.filter-dialog.type-options.visor"},{value:Gb.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:Gb.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new WE(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){o.recalculateElementsToShow()})),this.dataFilterer=new gP(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){o.filteredLabels=t,o.dataSorter.setData(o.filteredLabels)})),this.loadData(),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),o.currentPageInUrl=e,o.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredLabels)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.loadData=function(){var t=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach((function(e){e.identifiedElementType_sort=t.getLabelTypeIdentification(e)[0]})),this.dataFilterer.setData(this.allLabels)},t.prototype.getLabelTypeIdentification=function(t){return t.identifiedElementType===Gb.Node?["1","labels.filter-dialog.type-options.visor"]:t.identifiedElementType===Gb.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:t.identifiedElementType===Gb.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0},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=SE.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.selections.forEach((function(e,n){e&&t.storageService.saveLabel(n,"",null)})),t.snackbarService.showDone("labels.deleted"),t.loadData()}))},t.prototype.showOptionsDialog=function(t){var e=this;DE.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe((function(n){1===n&&e.delete(t.id)}))},t.prototype.delete=function(t){var e=this,n=SE.createConfirmationDialog(this.dialog,"labels.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.saveLabel(t,"",null),e.snackbarService.showDone("labels.deleted"),e.loadData()}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var e=this.showShortList_?xx.maxShortListElements:xx.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(n,n+e);var i=new Map;this.labelsToShow.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.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow},t.\u0275fac=function(e){return new(e||t)(rs(jx),rs(z_),rs(ub),rs(Sx),rs(hx),rs(Kb))},t.\u0275cmp=Fe({type:t,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ns(2,TI,6,7,"span",2),ns(3,AI,5,4,"div",3),us(),ls(4,"div",4),ls(5,"div",5),ns(6,II,3,4,"mat-icon",6),ns(7,YI,2,2,"mat-icon",7),ls(8,"mat-menu",8,9),ls(10,"div",10),vs("click",(function(){return e.changeAllSelections(!0)})),rl(11),Du(12,"translate"),us(),ls(13,"div",10),vs("click",(function(){return e.changeAllSelections(!1)})),rl(14),Du(15,"translate"),us(),ls(16,"div",11),vs("click",(function(){return e.deleteSelected()})),rl(17),Du(18,"translate"),us(),us(),us(),ns(19,RI,1,5,"app-paginator",12),us(),us(),ns(20,JI,37,34,"div",13),ns(21,QI,6,3,"div",13),ns(22,XI,1,5,"app-paginator",12)),2&t&&(os("ngClass",wu(20,tY,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Gr(2),os("ngIf",e.showShortList_),Gr(1),os("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Gr(3),os("ngIf",e.allLabels&&e.allLabels.length>0),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("overlapTrigger",!1),Gr(3),ol(" ",Lu(12,14,"selection.select-all")," "),Gr(3),ol(" ",Lu(15,16,"selection.unselect-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(18,18,"selection.delete-all")," "),Gr(2),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("ngIf",!e.dataSource||0===e.dataSource.length),Gr(1),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[vh,wh,cO,rO,US,jL,bh,pO,lA,kI,lS,LI],pipes:[px],styles:[".overflow[_ngcontent-%COMP%]{display:block;overflow-x:auto}.overflow[_ngcontent-%COMP%], .overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}();function nY(t,e){1&t&&(ls(0,"span"),ls(1,"mat-icon",15),rl(2,"warning"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,2,"settings.updater-config.not-saved")," "))}var iY=function(){function t(t,e){this.snackbarService=t,this.dialog=e}return t.prototype.ngOnInit=function(){this.initialChannel=localStorage.getItem(hE.Channel),this.initialVersion=localStorage.getItem(hE.Version),this.initialArchiveURL=localStorage.getItem(hE.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(hE.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new DD({channel:new CD(this.initialChannel),version:new CD(this.initialVersion),archiveURL:new CD(this.initialArchiveURL),checksumsURL:new CD(this.initialChecksumsURL)})},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Object.defineProperty(t.prototype,"dataChanged",{get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()},enumerable:!1,configurable:!0}),t.prototype.saveSettings=function(){var t=this,e=this.form.get("channel").value.trim(),n=this.form.get("version").value.trim(),i=this.form.get("archiveURL").value.trim(),r=this.form.get("checksumsURL").value.trim();if(e||n||i||r){var a=SE.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");a.componentInstance.operationAccepted.subscribe((function(){a.close(),t.initialChannel=e,t.initialVersion=n,t.initialArchiveURL=i,t.initialChecksumsURL=r,t.hasCustomSettings=!0,localStorage.setItem(hE.UseCustomSettings,"true"),localStorage.setItem(hE.Channel,e),localStorage.setItem(hE.Version,n),localStorage.setItem(hE.ArchiveURL,i),localStorage.setItem(hE.ChecksumsURL,r),t.snackbarService.showDone("settings.updater-config.saved")}))}else this.removeSettings()},t.prototype.removeSettings=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.initialChannel="",t.initialVersion="",t.initialArchiveURL="",t.initialChecksumsURL="",t.form.get("channel").setValue(""),t.form.get("version").setValue(""),t.form.get("archiveURL").setValue(""),t.form.get("checksumsURL").setValue(""),t.hasCustomSettings=!1,localStorage.removeItem(hE.UseCustomSettings),localStorage.removeItem(hE.Channel),localStorage.removeItem(hE.Version),localStorage.removeItem(hE.ArchiveURL),localStorage.removeItem(hE.ChecksumsURL),t.snackbarService.showDone("settings.updater-config.removed")}))},t.\u0275fac=function(e){return new(e||t)(rs(Sx),rs(jx))},t.\u0275cmp=Fe({type:t,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"div",2),ls(3,"mat-icon",3),Du(4,"translate"),rl(5," help "),us(),us(),ls(6,"form",4),ls(7,"mat-form-field",5),cs(8,"input",6),Du(9,"translate"),us(),ls(10,"mat-form-field",5),cs(11,"input",7),Du(12,"translate"),us(),ls(13,"mat-form-field",5),cs(14,"input",8),Du(15,"translate"),us(),ls(16,"mat-form-field",5),cs(17,"input",9),Du(18,"translate"),us(),ls(19,"div",10),ls(20,"div",11),ns(21,nY,5,4,"span",12),us(),ls(22,"app-button",13),vs("action",(function(){return e.removeSettings()})),rl(23),Du(24,"translate"),us(),ls(25,"app-button",14),vs("action",(function(){return e.saveSettings()})),rl(26),Du(27,"translate"),us(),us(),us(),us(),us()),2&t&&(Gr(3),os("inline",!0)("matTooltip",Lu(4,14,"settings.updater-config.help")),Gr(3),os("formGroup",e.form),Gr(2),os("placeholder",Lu(9,16,"settings.updater-config.channel")),Gr(3),os("placeholder",Lu(12,18,"settings.updater-config.version")),Gr(3),os("placeholder",Lu(15,20,"settings.updater-config.archive-url")),Gr(3),os("placeholder",Lu(18,22,"settings.updater-config.checksum-url")),Gr(4),os("ngIf",e.dataChanged),Gr(1),os("forDarkBackground",!0)("disabled",!e.hasCustomSettings),Gr(1),ol(" ",Lu(24,24,"settings.updater-config.remove-settings")," "),Gr(2),os("forDarkBackground",!0)("disabled",!e.dataChanged),Gr(1),ol(" ",Lu(27,26,"settings.updater-config.save")," "))},directives:[US,jL,jD,PC,UD,xT,MC,NT,EC,QD,uL,wh,AL],pipes:[px],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),t}();function rY(t,e){if(1&t){var n=ps();ls(0,"div",8),vs("click",(function(){return Cn(n),Ms().showUpdaterSettings()})),ls(1,"span",9),rl(2),Du(3,"translate"),us(),us()}2&t&&(Gr(2),al(Lu(3,1,"settings.updater-config.open-link")))}function aY(t,e){1&t&&cs(0,"app-updater-config",10)}var oY=function(){return["start.title"]},sY=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(hE.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return t.prototype.performAction=function(t){"logout"===t&&this.logout()},t.prototype.logout=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))}))},t.prototype.showUpdaterSettings=function(){var t=this,e=SE.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.mustShowUpdaterSettings=!0}))},t.\u0275fac=function(e){return new(e||t)(rs(rC),rs(ub),rs(Sx),rs(jx))},t.\u0275cmp=Fe({type:t,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"app-top-bar",2),vs("optionSelected",(function(t){return e.performAction(t)})),us(),us(),ls(3,"div",3),cs(4,"app-refresh-rate",4),cs(5,"app-password"),cs(6,"app-label-list",5),ns(7,rY,4,3,"div",6),ns(8,aY,1,0,"app-updater-config",7),us(),us()),2&t&&(Gr(2),os("titleParts",ku(8,oY))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",e.options),Gr(4),os("showShortList",!0),Gr(1),os("ngIf",!e.mustShowUpdaterSettings),Gr(1),os("ngIf",e.mustShowUpdaterSettings))},directives:[qO,dI,qT,eY,wh,iY],pipes:[px],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t}(),lY=["button"],uY=["firstInput"];function cY(t,e){1&t&&cs(0,"app-loading-indicator",3),2&t&&os("showWhite",!1)}function dY(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),ol(" ",Lu(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function hY(t,e){1&t&&(rl(0),Du(1,"translate")),2&t&&ol(" ",Lu(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function fY(t,e){if(1&t&&(ls(0,"mat-option",14),rl(1),us()),2&t){var n=e.$implicit;os("value",n),Gr(1),al(n)}}function pY(t,e){if(1&t){var n=ps();ls(0,"form",4),ls(1,"mat-form-field"),cs(2,"input",5,6),Du(4,"translate"),ls(5,"mat-error"),ns(6,dY,3,3,"ng-container",7),us(),ns(7,hY,2,3,"ng-template",null,8,tc),us(),ls(9,"mat-form-field"),cs(10,"input",9),Du(11,"translate"),us(),ls(12,"mat-form-field"),ls(13,"mat-select",10),Du(14,"translate"),ns(15,fY,2,2,"mat-option",11),us(),ls(16,"mat-error"),rl(17),Du(18,"translate"),us(),us(),ls(19,"app-button",12,13),vs("action",(function(){return Cn(n),Ms().create()})),rl(21),Du(22,"translate"),us(),us()}if(2&t){var i=is(8),r=Ms();os("formGroup",r.form),Gr(2),os("placeholder",Lu(4,10,"transports.dialog.remote-key")),Gr(4),os("ngIf",!r.form.get("remoteKey").hasError("pattern"))("ngIfElse",i),Gr(4),os("placeholder",Lu(11,12,"transports.dialog.label")),Gr(3),os("placeholder",Lu(14,14,"transports.dialog.transport-type")),Gr(2),os("ngForOf",r.types),Gr(2),ol(" ",Lu(18,16,"transports.dialog.errors.transport-type-error")," "),Gr(2),os("disabled",!r.form.valid),Gr(2),ol(" ",Lu(22,18,"transports.create")," ")}}var mY=function(){function t(t,e,n,i,r){this.transportService=t,this.formBuilder=e,this.dialogRef=n,this.snackbarService=i,this.storageService=r,this.shouldShowError=!0}return t.openDialog=function(e){var n=new Tx;return n.autoFocus=!1,n.width=xx.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",RC.compose([RC.required,RC.minLength(66),RC.maxLength(66),RC.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",RC.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(uI.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(t){var e=this.form.get("label").value,n=!1;e&&(t&&t.id?this.storageService.saveLabel(t.id,e,Gb.Transport):n=!0),uI.refreshCurrentDisplayedData(),this.dialogRef.close(),n?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},t.prototype.onError=function(t){this.button.showError(),t=Mx(t),this.snackbarService.showError(t)},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=pg(1).pipe(tE(t),st((function(){return e.transportService.types(uI.getCurrentNodeKey())}))).subscribe((function(t){t.sort((function(t,e){return t.localeCompare(e)}));var n=t.findIndex((function(t){return"dmsg"===t.toLowerCase()}));n=-1!==n?n:0,e.types=t,e.form.get("type").setValue(t[n]),e.snackbarService.closeCurrentIfTemporaryError(),setTimeout((function(){return e.firstInput.nativeElement.focus()}))}),(function(t){t=Mx(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(xx.connectionRetryDelay)}))},t.\u0275fac=function(e){return new(e||t)(rs(lE),rs(pL),rs(Ix),rs(Sx),rs(Kb))},t.\u0275cmp=Fe({type:t,selectors:[["app-create-transport"]],viewQuery:function(t,e){var n;1&t&&(Uu(lY,!0),Uu(uY,!0)),2&t&&(zu(n=Zu())&&(e.button=n.first),zu(n=Zu())&&(e.firstInput=n.first))},decls:4,vars:5,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"value"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ns(2,cY,1,1,"app-loading-indicator",1),ns(3,pY,23,20,"form",2),us()),2&t&&(os("headline",Lu(1,3,"transports.create")),Gr(2),os("ngIf",!e.types),Gr(1),os("ngIf",e.types))},directives:[xL,wh,gC,jD,PC,UD,xT,MC,NT,EC,QD,uL,lT,uP,bh,AL,QM],pipes:[px],styles:[""]}),t}(),gY=function(){function t(){}return t.prototype.transform=function(t,e){for(var n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],i=new rE.BigNumber(t),r=n[0],a=0;i.dividedBy(1024).isGreaterThan(1);)i=i.dividedBy(1024),r=n[a+=1];var o="";return e&&!e.showValue||(o=i.toFixed(2)),(!e||e.showValue&&e.showUnit)&&(o+=" "),e&&!e.showUnit||(o+=r),o},t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ze({name:"autoScale",type:t,pure:!0}),t}(),vY=function(){function t(t){this.data=t}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.largeModalWidth,e.open(t,i)},t.\u0275fac=function(e){return new(e||t)(rs(Fx))},t.\u0275cmp=Fe({type:t,selectors:[["app-transport-details"]],decls:52,vars:47,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[1,"title"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"div"),ls(3,"div",1),ls(4,"mat-icon",2),rl(5,"list"),us(),rl(6),Du(7,"translate"),us(),ls(8,"div",3),ls(9,"span"),rl(10),Du(11,"translate"),us(),ls(12,"div"),rl(13),Du(14,"translate"),us(),us(),ls(15,"div",3),ls(16,"span"),rl(17),Du(18,"translate"),us(),rl(19),us(),ls(20,"div",3),ls(21,"span"),rl(22),Du(23,"translate"),us(),rl(24),us(),ls(25,"div",3),ls(26,"span"),rl(27),Du(28,"translate"),us(),rl(29),us(),ls(30,"div",3),ls(31,"span"),rl(32),Du(33,"translate"),us(),rl(34),us(),ls(35,"div",4),ls(36,"mat-icon",2),rl(37,"import_export"),us(),rl(38),Du(39,"translate"),us(),ls(40,"div",3),ls(41,"span"),rl(42),Du(43,"translate"),us(),rl(44),Du(45,"autoScale"),us(),ls(46,"div",3),ls(47,"span"),rl(48),Du(49,"translate"),us(),rl(50),Du(51,"autoScale"),us(),us(),us()),2&t&&(os("headline",Lu(1,21,"transports.details.title")),Gr(4),os("inline",!0),Gr(2),ol("",Lu(7,23,"transports.details.basic.title")," "),Gr(4),al(Lu(11,25,"transports.details.basic.state")),Gr(2),Us("d-inline "+(e.data.isUp?"green-text":"red-text")),Gr(1),ol(" ",Lu(14,27,"transports.statuses."+(e.data.isUp?"online":"offline"))," "),Gr(4),al(Lu(18,29,"transports.details.basic.id")),Gr(2),ol(" ",e.data.id," "),Gr(3),al(Lu(23,31,"transports.details.basic.local-pk")),Gr(2),ol(" ",e.data.localPk," "),Gr(3),al(Lu(28,33,"transports.details.basic.remote-pk")),Gr(2),ol(" ",e.data.remotePk," "),Gr(3),al(Lu(33,35,"transports.details.basic.type")),Gr(2),ol(" ",e.data.type," "),Gr(2),os("inline",!0),Gr(2),ol("",Lu(39,37,"transports.details.data.title")," "),Gr(4),al(Lu(43,39,"transports.details.data.uploaded")),Gr(2),ol(" ",Lu(45,41,e.data.sent)," "),Gr(4),al(Lu(49,43,"transports.details.data.downloaded")),Gr(2),ol(" ",Lu(51,45,e.data.recv)," "))},directives:[xL,US],pipes:[px,gY],styles:[""]}),t}();function _Y(t,e){1&t&&(ls(0,"span",15),rl(1),Du(2,"translate"),ls(3,"mat-icon",16),Du(4,"translate"),rl(5,"help"),us(),us()),2&t&&(Gr(1),ol(" ",Lu(2,3,"transports.title")," "),Gr(2),os("inline",!0)("matTooltip",Lu(4,5,"transports.info")))}function yY(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n.translatableValue))}}function bY(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n.value)}}function kY(t,e){if(1&t&&(ls(0,"div",20),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,yY,3,3,"ng-container",21),ns(5,bY,2,1,"ng-container",21),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n.filterName),": "),Gr(2),os("ngIf",n.translatableValue),Gr(1),os("ngIf",n.value)}}function wY(t,e){if(1&t){var n=ps();ls(0,"div",17),vs("click",(function(){return Cn(n),Ms().dataFilterer.removeFilters()})),ns(1,kY,6,5,"div",18),ls(2,"div",19),rl(3),Du(4,"translate"),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngForOf",i.dataFilterer.currentFiltersTexts),Gr(2),al(Lu(4,2,"filters.press-to-remove"))}}function MY(t,e){if(1&t){var n=ps();ls(0,"mat-icon",22),vs("click",(function(){return Cn(n),Ms().dataFilterer.changeFilters()})),rl(1,"filter_list"),us()}2&t&&os("inline",!0)}function SY(t,e){if(1&t&&(ls(0,"mat-icon",23),rl(1,"more_horiz"),us()),2&t){Ms();var n=is(11);os("inline",!0)("matMenuTriggerFor",n)}}var xY=function(t){return["/nodes",t,"transports"]};function CY(t,e){if(1&t&&cs(0,"app-paginator",24),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,xY,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function DY(t,e){if(1&t&&(ls(0,"mat-icon",39),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function LY(t,e){1&t&&(ds(0),rl(1,"*"),hs())}function TY(t,e){if(1&t&&(ds(0),ls(1,"mat-icon",39),rl(2),us(),ns(3,LY,2,0,"ng-container",21),hs()),2&t){var n=Ms(2);Gr(1),os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow),Gr(1),os("ngIf",n.dataSorter.currentlySortingByLabel)}}function EY(t,e){1&t&&(ds(0),rl(1,"*"),hs())}function PY(t,e){if(1&t&&(ds(0),ls(1,"mat-icon",39),rl(2),us(),ns(3,EY,2,0,"ng-container",21),hs()),2&t){var n=Ms(2);Gr(1),os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow),Gr(1),os("ngIf",n.dataSorter.currentlySortingByLabel)}}function OY(t,e){if(1&t&&(ls(0,"mat-icon",39),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function AY(t,e){if(1&t&&(ls(0,"mat-icon",39),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function IY(t,e){if(1&t&&(ls(0,"mat-icon",39),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function YY(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td",41),ls(2,"mat-checkbox",42),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(3,"td"),cs(4,"span",43),Du(5,"translate"),us(),ls(6,"td"),ls(7,"app-labeled-element-text",44),vs("labelEdited",(function(){return Cn(n),Ms(2).refreshData()})),us(),us(),ls(8,"td"),ls(9,"app-labeled-element-text",45),vs("labelEdited",(function(){return Cn(n),Ms(2).refreshData()})),us(),us(),ls(10,"td"),rl(11),us(),ls(12,"td"),rl(13),Du(14,"autoScale"),us(),ls(15,"td"),rl(16),Du(17,"autoScale"),us(),ls(18,"td",32),ls(19,"button",46),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).details(t)})),Du(20,"translate"),ls(21,"mat-icon",39),rl(22,"visibility"),us(),us(),ls(23,"button",46),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).delete(t.id)})),Du(24,"translate"),ls(25,"mat-icon",39),rl(26,"close"),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(2),os("checked",r.selections.get(i.id)),Gr(2),Us(r.transportStatusClass(i,!0)),os("matTooltip",Lu(5,16,r.transportStatusText(i,!0))),Gr(3),Ds("id",i.id),os("short",!0)("elementType",r.labeledElementTypes.Transport),Gr(2),Ds("id",i.remotePk),os("short",!0),Gr(2),ol(" ",i.type," "),Gr(2),ol(" ",Lu(14,18,i.sent)," "),Gr(3),ol(" ",Lu(17,20,i.recv)," "),Gr(3),os("matTooltip",Lu(20,22,"transports.details.title")),Gr(2),os("inline",!0),Gr(2),os("matTooltip",Lu(24,24,"transports.delete")),Gr(2),os("inline",!0)}}function FY(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.label")))}function RY(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.inverted-order")))}function NY(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td"),ls(2,"div",36),ls(3,"div",47),ls(4,"mat-checkbox",42),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(5,"div",37),ls(6,"div",48),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10,": "),ls(11,"span"),rl(12),Du(13,"translate"),us(),us(),ls(14,"div",49),ls(15,"span",1),rl(16),Du(17,"translate"),us(),rl(18,": "),ls(19,"app-labeled-element-text",50),vs("labelEdited",(function(){return Cn(n),Ms(2).refreshData()})),us(),us(),ls(20,"div",49),ls(21,"span",1),rl(22),Du(23,"translate"),us(),rl(24,": "),ls(25,"app-labeled-element-text",51),vs("labelEdited",(function(){return Cn(n),Ms(2).refreshData()})),us(),us(),ls(26,"div",48),ls(27,"span",1),rl(28),Du(29,"translate"),us(),rl(30),us(),ls(31,"div",48),ls(32,"span",1),rl(33),Du(34,"translate"),us(),rl(35),Du(36,"autoScale"),us(),ls(37,"div",48),ls(38,"span",1),rl(39),Du(40,"translate"),us(),rl(41),Du(42,"autoScale"),us(),us(),cs(43,"div",52),ls(44,"div",38),ls(45,"button",53),vs("click",(function(t){Cn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Du(46,"translate"),ls(47,"mat-icon"),rl(48),us(),us(),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(4),os("checked",r.selections.get(i.id)),Gr(4),al(Lu(9,18,"transports.state")),Gr(3),Us(r.transportStatusClass(i,!1)+" title"),Gr(1),al(Lu(13,20,r.transportStatusText(i,!1))),Gr(4),al(Lu(17,22,"transports.id")),Gr(3),Ds("id",i.id),os("elementType",r.labeledElementTypes.Transport),Gr(3),al(Lu(23,24,"transports.remote-node")),Gr(3),Ds("id",i.remotePk),Gr(3),al(Lu(29,26,"transports.type")),Gr(2),ol(": ",i.type," "),Gr(3),al(Lu(34,28,"common.uploaded")),Gr(2),ol(": ",Lu(36,30,i.sent)," "),Gr(4),al(Lu(40,32,"common.downloaded")),Gr(2),ol(": ",Lu(42,34,i.recv)," "),Gr(4),os("matTooltip",Lu(46,36,"common.options")),Gr(3),al("add")}}function HY(t,e){if(1&t&&cs(0,"app-view-all-link",54),2&t){var n=Ms(2);os("numberOfElements",n.filteredTransports.length)("linkParts",wu(3,xY,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var jY=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},BY=function(t){return{"d-lg-none d-xl-table":t}},VY=function(t){return{"d-lg-table d-xl-none":t}};function zY(t,e){if(1&t){var n=ps();ls(0,"div",25),ls(1,"div",26),ls(2,"table",27),ls(3,"tr"),cs(4,"th"),ls(5,"th",28),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.stateSortData)})),Du(6,"translate"),cs(7,"span",29),ns(8,DY,2,2,"mat-icon",30),us(),ls(9,"th",31),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.idSortData)})),rl(10),Du(11,"translate"),ns(12,TY,4,3,"ng-container",21),us(),ls(13,"th",31),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.remotePkSortData)})),rl(14),Du(15,"translate"),ns(16,PY,4,3,"ng-container",21),us(),ls(17,"th",31),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),rl(18),Du(19,"translate"),ns(20,OY,2,2,"mat-icon",30),us(),ls(21,"th",31),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.uploadedSortData)})),rl(22),Du(23,"translate"),ns(24,AY,2,2,"mat-icon",30),us(),ls(25,"th",31),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.downloadedSortData)})),rl(26),Du(27,"translate"),ns(28,IY,2,2,"mat-icon",30),us(),cs(29,"th",32),us(),ns(30,YY,27,26,"tr",33),us(),ls(31,"table",34),ls(32,"tr",35),vs("click",(function(){return Cn(n),Ms().dataSorter.openSortingOrderModal()})),ls(33,"td"),ls(34,"div",36),ls(35,"div",37),ls(36,"div",1),rl(37),Du(38,"translate"),us(),ls(39,"div"),rl(40),Du(41,"translate"),ns(42,FY,3,3,"ng-container",21),ns(43,RY,3,3,"ng-container",21),us(),us(),ls(44,"div",38),ls(45,"mat-icon",39),rl(46,"keyboard_arrow_down"),us(),us(),us(),us(),us(),ns(47,NY,49,38,"tr",33),us(),ns(48,HY,1,5,"app-view-all-link",40),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngClass",Mu(39,jY,i.showShortList_,!i.showShortList_)),Gr(1),os("ngClass",wu(42,BY,i.showShortList_)),Gr(3),os("matTooltip",Lu(6,23,"transports.state-tooltip")),Gr(3),os("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Gr(2),ol(" ",Lu(11,25,"transports.id")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.idSortData),Gr(2),ol(" ",Lu(15,27,"transports.remote-node")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.remotePkSortData),Gr(2),ol(" ",Lu(19,29,"transports.type")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Gr(2),ol(" ",Lu(23,31,"common.uploaded")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.uploadedSortData),Gr(2),ol(" ",Lu(27,33,"common.downloaded")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.downloadedSortData),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngClass",wu(44,VY,i.showShortList_)),Gr(6),al(Lu(38,35,"tables.sorting-title")),Gr(3),ol("",Lu(41,37,i.dataSorter.currentSortingColumn.label)," "),Gr(2),os("ngIf",i.dataSorter.currentlySortingByLabel),Gr(1),os("ngIf",i.dataSorter.sortingInReverseOrder),Gr(2),os("inline",!0),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngIf",i.showShortList_&&i.numberOfPages>1)}}function WY(t,e){1&t&&(ls(0,"span",58),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"transports.empty")))}function UY(t,e){1&t&&(ls(0,"span",58),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"transports.empty-with-filter")))}function qY(t,e){if(1&t&&(ls(0,"div",25),ls(1,"div",55),ls(2,"mat-icon",56),rl(3,"warning"),us(),ns(4,WY,3,3,"span",57),ns(5,UY,3,3,"span",57),us(),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),os("ngIf",0===n.allTransports.length),Gr(1),os("ngIf",0!==n.allTransports.length)}}function GY(t,e){if(1&t&&cs(0,"app-paginator",24),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,xY,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var KY=function(t){return{"paginator-icons-fixer":t}},JY=function(){function t(t,e,n,i,r,a,o){var s=this;this.dialog=t,this.transportService=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.storageService=o,this.listId="tr",this.stateSortData=new VE(["isUp"],"transports.state",zE.Boolean),this.idSortData=new VE(["id"],"transports.id",zE.Text,["id_label"]),this.remotePkSortData=new VE(["remotePk"],"transports.remote-node",zE.Text,["remote_pk_label"]),this.typeSortData=new VE(["type"],"transports.type",zE.Text),this.uploadedSortData=new VE(["sent"],"common.uploaded",zE.NumberReversed),this.downloadedSortData=new VE(["recv"],"common.downloaded",zE.NumberReversed),this.selections=new Map,this.hasOfflineTransports=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.online",keyNameInElementsArray:"isUp",type:TE.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.online-options.any"},{value:"true",label:"transports.filter-dialog.online-options.online"},{value:"false",label:"transports.filter-dialog.online-options.offline"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:TE.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:TE.TextInput,maxlength:66}],this.labeledElementTypes=Gb,this.operationSubscriptionsGroup=[],this.dataSorter=new WE(this.dialog,this.translateService,[this.stateSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){s.recalculateElementsToShow()})),this.dataFilterer=new gP(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){s.filteredTransports=t,s.hasOfflineTransports=!1,s.filteredTransports.forEach((function(t){t.isUp||(s.hasOfflineTransports=!0)})),s.dataSorter.setData(s.filteredTransports)})),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),s.currentPageInUrl=e,s.recalculateElementsToShow()}})),this.languageSubscription=this.translateService.onLangChange.subscribe((function(){s.transports=s.allTransports}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredTransports)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transports",{set:function(t){var e=this;this.allTransports=t,this.allTransports.forEach((function(t){t.id_label=BE.getCompleteLabel(e.storageService,e.translateService,t.id),t.remote_pk_label=BE.getCompleteLabel(e.storageService,e.translateService,t.remotePk)})),this.dataFilterer.setData(this.allTransports)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.transportStatusClass=function(t,e){switch(t.isUp){case!0:return e?"dot-green":"green-text";default:return e?"dot-red":"red-text"}},t.prototype.transportStatusText=function(t,e){switch(t.isUp){case!0:return"transports.statuses.online"+(e?"-tooltip":"");default:return"transports.statuses.offline"+(e?"-tooltip":"")}},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=SE.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.removeOffline=function(){var t=this,e="transports.remove-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="transports.remove-all-filtered-offline-confirmation");var n=SE.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){var e=[];t.filteredTransports.forEach((function(t){t.isUp||e.push(t.id)})),e.length>0?(n.componentInstance.showProcessing(),t.deleteRecursively(e,n)):n.close()}))},t.prototype.create=function(){mY.openDialog(this.dialog)},t.prototype.showOptionsDialog=function(t){var e=this;DE.openDialog(this.dialog,[{icon:"visibility",label:"transports.details.title"},{icon:"close",label:"transports.delete"}],"common.options").afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.id)}))},t.prototype.details=function(t){vY.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=SE.createConfirmationDialog(this.dialog,"transports.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),uI.refreshCurrentDisplayedData(),e.snackbarService.showDone("transports.deleted")}),(function(t){t=Mx(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.refreshData=function(){uI.refreshCurrentDisplayedData()},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredTransports){var e=this.showShortList_?xx.maxShortListElements:xx.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.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(uI.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(),uI.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(t,e)}),(function(t){uI.refreshCurrentDisplayedData(),t=Mx(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.\u0275fac=function(e){return new(e||t)(rs(jx),rs(lE),rs(z_),rs(ub),rs(Sx),rs(hx),rs(Kb))},t.\u0275cmp=Fe({type:t,selectors:[["app-transport-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",transports:"transports"},decls:28,vars:27,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited"],[3,"id","labelEdited"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ns(2,_Y,6,7,"span",2),ns(3,wY,5,4,"div",3),us(),ls(4,"div",4),ls(5,"div",5),ls(6,"mat-icon",6),vs("click",(function(){return e.create()})),rl(7,"add"),us(),ns(8,MY,2,1,"mat-icon",7),ns(9,SY,2,2,"mat-icon",8),ls(10,"mat-menu",9,10),ls(12,"div",11),vs("click",(function(){return e.removeOffline()})),rl(13),Du(14,"translate"),us(),ls(15,"div",12),vs("click",(function(){return e.changeAllSelections(!0)})),rl(16),Du(17,"translate"),us(),ls(18,"div",12),vs("click",(function(){return e.changeAllSelections(!1)})),rl(19),Du(20,"translate"),us(),ls(21,"div",11),vs("click",(function(){return e.deleteSelected()})),rl(22),Du(23,"translate"),us(),us(),us(),ns(24,CY,1,6,"app-paginator",13),us(),us(),ns(25,zY,49,46,"div",14),ns(26,qY,6,3,"div",14),ns(27,GY,1,6,"app-paginator",13)),2&t&&(os("ngClass",wu(25,KY,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Gr(2),os("ngIf",e.showShortList_),Gr(1),os("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Gr(3),os("inline",!0),Gr(2),os("ngIf",e.allTransports&&e.allTransports.length>0),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("overlapTrigger",!1),Gr(2),Ds("disabled",!e.hasOfflineTransports),Gr(1),ol(" ",Lu(14,17,"transports.remove-all-offline")," "),Gr(3),ol(" ",Lu(17,19,"selection.select-all")," "),Gr(3),ol(" ",Lu(20,21,"selection.unselect-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(23,23,"selection.delete-all")," "),Gr(2),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("ngIf",!e.dataSource||0===e.dataSource.length),Gr(1),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[vh,wh,US,cO,rO,jL,bh,pO,lA,kI,BE,lS,LI],pipes:[px,gY],styles:[".overflow[_ngcontent-%COMP%]{display:block;overflow-x:auto}.overflow[_ngcontent-%COMP%], .overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}();function ZY(t,e){1&t&&(ls(0,"div",5),ls(1,"mat-icon",2),rl(2,"settings"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol("",Lu(4,2,"routes.details.specific-fields-titles.app")," "))}function $Y(t,e){1&t&&(ls(0,"div",5),ls(1,"mat-icon",2),rl(2,"swap_horiz"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol("",Lu(4,2,"routes.details.specific-fields-titles.forward")," "))}function QY(t,e){1&t&&(ls(0,"div",5),ls(1,"mat-icon",2),rl(2,"arrow_forward"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol("",Lu(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function XY(t,e){if(1&t&&(ls(0,"div"),ls(1,"div",3),ls(2,"span"),rl(3),Du(4,"translate"),us(),rl(5),us(),ls(6,"div",3),ls(7,"span"),rl(8),Du(9,"translate"),us(),rl(10),us(),us()),2&t){var n=Ms(2);Gr(3),al(Lu(4,5,"routes.details.specific-fields.route-id")),Gr(2),ol(" ",n.routeRule.forwardFields?n.routeRule.forwardFields.nextRid:n.routeRule.intermediaryForwardFields.nextRid," "),Gr(3),al(Lu(9,7,"routes.details.specific-fields.transport-id")),Gr(2),sl(" ",n.routeRule.forwardFields?n.routeRule.forwardFields.nextTid:n.routeRule.intermediaryForwardFields.nextTid," ",n.getLabel(n.routeRule.forwardFields?n.routeRule.forwardFields.nextTid:n.routeRule.intermediaryForwardFields.nextTid)," ")}}function tF(t,e){if(1&t&&(ls(0,"div"),ls(1,"div",3),ls(2,"span"),rl(3),Du(4,"translate"),us(),rl(5),us(),ls(6,"div",3),ls(7,"span"),rl(8),Du(9,"translate"),us(),rl(10),us(),ls(11,"div",3),ls(12,"span"),rl(13),Du(14,"translate"),us(),rl(15),us(),ls(16,"div",3),ls(17,"span"),rl(18),Du(19,"translate"),us(),rl(20),us(),us()),2&t){var n=Ms(2);Gr(3),al(Lu(4,10,"routes.details.specific-fields.destination-pk")),Gr(2),sl(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPk:n.routeRule.forwardFields.routeDescriptor.dstPk," ",n.getLabel(n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPk:n.routeRule.forwardFields.routeDescriptor.dstPk)," "),Gr(3),al(Lu(9,12,"routes.details.specific-fields.source-pk")),Gr(2),sl(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPk:n.routeRule.forwardFields.routeDescriptor.srcPk," ",n.getLabel(n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPk:n.routeRule.forwardFields.routeDescriptor.srcPk)," "),Gr(3),al(Lu(14,14,"routes.details.specific-fields.destination-port")),Gr(2),ol(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPort:n.routeRule.forwardFields.routeDescriptor.dstPort," "),Gr(3),al(Lu(19,16,"routes.details.specific-fields.source-port")),Gr(2),ol(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPort:n.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function eF(t,e){if(1&t&&(ls(0,"div"),ls(1,"div",5),ls(2,"mat-icon",2),rl(3,"list"),us(),rl(4),Du(5,"translate"),us(),ls(6,"div",3),ls(7,"span"),rl(8),Du(9,"translate"),us(),rl(10),us(),ls(11,"div",3),ls(12,"span"),rl(13),Du(14,"translate"),us(),rl(15),us(),ls(16,"div",3),ls(17,"span"),rl(18),Du(19,"translate"),us(),rl(20),us(),ns(21,ZY,5,4,"div",6),ns(22,$Y,5,4,"div",6),ns(23,QY,5,4,"div",6),ns(24,XY,11,9,"div",4),ns(25,tF,21,18,"div",4),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),ol("",Lu(5,13,"routes.details.summary.title")," "),Gr(4),al(Lu(9,15,"routes.details.summary.keep-alive")),Gr(2),ol(" ",n.routeRule.ruleSummary.keepAlive," "),Gr(3),al(Lu(14,17,"routes.details.summary.type")),Gr(2),ol(" ",n.getRuleTypeName(n.routeRule.ruleSummary.ruleType)," "),Gr(3),al(Lu(19,19,"routes.details.summary.key-route-id")),Gr(2),ol(" ",n.routeRule.ruleSummary.keyRouteId," "),Gr(1),os("ngIf",n.routeRule.appFields),Gr(1),os("ngIf",n.routeRule.forwardFields),Gr(1),os("ngIf",n.routeRule.intermediaryForwardFields),Gr(1),os("ngIf",n.routeRule.forwardFields||n.routeRule.intermediaryForwardFields),Gr(1),os("ngIf",n.routeRule.appFields&&n.routeRule.appFields.routeDescriptor||n.routeRule.forwardFields&&n.routeRule.forwardFields.routeDescriptor)}}var nF=function(){function t(t,e,n){this.dialogRef=e,this.storageService=n,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=t}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.largeModalWidth,e.open(t,i)},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.getLabel=function(t){var e=this.storageService.getLabelInfo(t);return e?" ("+e.label+")":""},t.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(Ix),rs(Kb))},t.\u0275cmp=Fe({type:t,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"div"),ls(3,"div",1),ls(4,"mat-icon",2),rl(5,"list"),us(),rl(6),Du(7,"translate"),us(),ls(8,"div",3),ls(9,"span"),rl(10),Du(11,"translate"),us(),rl(12),us(),ls(13,"div",3),ls(14,"span"),rl(15),Du(16,"translate"),us(),rl(17),us(),ns(18,eF,26,21,"div",4),us(),us()),2&t&&(os("headline",Lu(1,8,"routes.details.title")),Gr(4),os("inline",!0),Gr(2),ol("",Lu(7,10,"routes.details.basic.title")," "),Gr(4),al(Lu(11,12,"routes.details.basic.key")),Gr(2),ol(" ",e.routeRule.key," "),Gr(3),al(Lu(16,14,"routes.details.basic.rule")),Gr(2),ol(" ",e.routeRule.rule," "),Gr(1),os("ngIf",e.routeRule.ruleSummary))},directives:[xL,US,wh],pipes:[px],styles:[""]}),t}();function iF(t,e){1&t&&(ls(0,"span",14),rl(1),Du(2,"translate"),ls(3,"mat-icon",15),Du(4,"translate"),rl(5,"help"),us(),us()),2&t&&(Gr(1),ol(" ",Lu(2,3,"routes.title")," "),Gr(2),os("inline",!0)("matTooltip",Lu(4,5,"routes.info")))}function rF(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n.translatableValue))}}function aF(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n.value)}}function oF(t,e){if(1&t&&(ls(0,"div",19),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,rF,3,3,"ng-container",20),ns(5,aF,2,1,"ng-container",20),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n.filterName),": "),Gr(2),os("ngIf",n.translatableValue),Gr(1),os("ngIf",n.value)}}function sF(t,e){if(1&t){var n=ps();ls(0,"div",16),vs("click",(function(){return Cn(n),Ms().dataFilterer.removeFilters()})),ns(1,oF,6,5,"div",17),ls(2,"div",18),rl(3),Du(4,"translate"),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngForOf",i.dataFilterer.currentFiltersTexts),Gr(2),al(Lu(4,2,"filters.press-to-remove"))}}function lF(t,e){if(1&t){var n=ps();ls(0,"mat-icon",21),vs("click",(function(){return Cn(n),Ms().dataFilterer.changeFilters()})),Du(1,"translate"),rl(2,"filter_list"),us()}2&t&&os("inline",!0)("matTooltip",Lu(1,2,"filters.filter-action"))}function uF(t,e){1&t&&(ls(0,"mat-icon",22),rl(1,"more_horiz"),us()),2&t&&(Ms(),os("matMenuTriggerFor",is(9)))}var cF=function(t){return["/nodes",t,"routes"]};function dF(t,e){if(1&t&&cs(0,"app-paginator",23),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,cF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function hF(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function fF(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function pF(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function mF(t,e){if(1&t&&(ls(0,"mat-icon",36),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function gF(t,e){if(1&t){var n=ps();ds(0),ls(1,"td"),ls(2,"app-labeled-element-text",41),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),ls(3,"td"),ls(4,"app-labeled-element-text",41),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),hs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Gr(2),Ds("id",i.src),os("short",!0)("elementType",r.labeledElementTypes.Node),Gr(2),Ds("id",i.dst),os("short",!0)("elementType",r.labeledElementTypes.Node)}}function vF(t,e){if(1&t){var n=ps();ds(0),ls(1,"td"),rl(2,"---"),us(),ls(3,"td"),ls(4,"app-labeled-element-text",42),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),hs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Gr(4),Ds("id",i.dst),os("short",!0)("elementType",r.labeledElementTypes.Transport)}}function _F(t,e){1&t&&(ds(0),ls(1,"td"),rl(2,"---"),us(),ls(3,"td"),rl(4,"---"),us(),hs())}function yF(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td",38),ls(2,"mat-checkbox",39),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(3,"td"),rl(4),us(),ls(5,"td"),rl(6),us(),ns(7,gF,5,6,"ng-container",20),ns(8,vF,5,3,"ng-container",20),ns(9,_F,5,0,"ng-container",20),ls(10,"td",29),ls(11,"button",40),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).details(t)})),Du(12,"translate"),ls(13,"mat-icon",36),rl(14,"visibility"),us(),us(),ls(15,"button",40),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).delete(t.key)})),Du(16,"translate"),ls(17,"mat-icon",36),rl(18,"close"),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(2),os("checked",r.selections.get(i.key)),Gr(2),ol(" ",i.key," "),Gr(2),ol(" ",r.getTypeName(i.type)," "),Gr(1),os("ngIf",i.appFields||i.forwardFields),Gr(1),os("ngIf",!i.appFields&&!i.forwardFields&&i.intermediaryForwardFields),Gr(1),os("ngIf",!i.appFields&&!i.forwardFields&&!i.intermediaryForwardFields),Gr(2),os("matTooltip",Lu(12,10,"routes.details.title")),Gr(2),os("inline",!0),Gr(2),os("matTooltip",Lu(16,12,"routes.delete")),Gr(2),os("inline",!0)}}function bF(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.label")))}function kF(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.inverted-order")))}function wF(t,e){if(1&t){var n=ps();ds(0),ls(1,"div",44),ls(2,"span",1),rl(3),Du(4,"translate"),us(),rl(5,": "),ls(6,"app-labeled-element-text",47),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),ls(7,"div",44),ls(8,"span",1),rl(9),Du(10,"translate"),us(),rl(11,": "),ls(12,"app-labeled-element-text",47),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),hs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Gr(3),al(Lu(4,6,"routes.source")),Gr(3),Ds("id",i.src),os("elementType",r.labeledElementTypes.Node),Gr(3),al(Lu(10,8,"routes.destination")),Gr(3),Ds("id",i.dst),os("elementType",r.labeledElementTypes.Node)}}function MF(t,e){if(1&t){var n=ps();ds(0),ls(1,"div",44),ls(2,"span",1),rl(3),Du(4,"translate"),us(),rl(5,": --- "),us(),ls(6,"div",44),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10,": "),ls(11,"app-labeled-element-text",47),vs("labelEdited",(function(){return Cn(n),Ms(3).refreshData()})),us(),us(),hs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Gr(3),al(Lu(4,4,"routes.source")),Gr(5),al(Lu(9,6,"routes.destination")),Gr(3),Ds("id",i.dst),os("elementType",r.labeledElementTypes.Transport)}}function SF(t,e){1&t&&(ds(0),ls(1,"div",44),ls(2,"span",1),rl(3),Du(4,"translate"),us(),rl(5,": --- "),us(),ls(6,"div",44),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10,": --- "),us(),hs()),2&t&&(Gr(3),al(Lu(4,2,"routes.source")),Gr(5),al(Lu(9,4,"routes.destination")))}function xF(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td"),ls(2,"div",33),ls(3,"div",43),ls(4,"mat-checkbox",39),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(5,"div",34),ls(6,"div",44),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10),us(),ls(11,"div",44),ls(12,"span",1),rl(13),Du(14,"translate"),us(),rl(15),us(),ns(16,wF,13,10,"ng-container",20),ns(17,MF,12,8,"ng-container",20),ns(18,SF,11,6,"ng-container",20),us(),cs(19,"div",45),ls(20,"div",35),ls(21,"button",46),vs("click",(function(t){Cn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Du(22,"translate"),ls(23,"mat-icon"),rl(24),us(),us(),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(4),os("checked",r.selections.get(i.key)),Gr(4),al(Lu(9,10,"routes.key")),Gr(2),ol(": ",i.key," "),Gr(3),al(Lu(14,12,"routes.type")),Gr(2),ol(": ",r.getTypeName(i.type)," "),Gr(1),os("ngIf",i.appFields||i.forwardFields),Gr(1),os("ngIf",!i.appFields&&!i.forwardFields&&i.intermediaryForwardFields),Gr(1),os("ngIf",!i.appFields&&!i.forwardFields&&!i.intermediaryForwardFields),Gr(3),os("matTooltip",Lu(22,14,"common.options")),Gr(3),al("add")}}function CF(t,e){if(1&t&&cs(0,"app-view-all-link",48),2&t){var n=Ms(2);os("numberOfElements",n.filteredRoutes.length)("linkParts",wu(3,cF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var DF=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},LF=function(t){return{"d-lg-none d-xl-table":t}},TF=function(t){return{"d-lg-table d-xl-none":t}};function EF(t,e){if(1&t){var n=ps();ls(0,"div",24),ls(1,"div",25),ls(2,"table",26),ls(3,"tr"),cs(4,"th"),ls(5,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.keySortData)})),rl(6),Du(7,"translate"),ns(8,hF,2,2,"mat-icon",28),us(),ls(9,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),rl(10),Du(11,"translate"),ns(12,fF,2,2,"mat-icon",28),us(),ls(13,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.sourceSortData)})),rl(14),Du(15,"translate"),ns(16,pF,2,2,"mat-icon",28),us(),ls(17,"th",27),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.destinationSortData)})),rl(18),Du(19,"translate"),ns(20,mF,2,2,"mat-icon",28),us(),cs(21,"th",29),us(),ns(22,yF,19,14,"tr",30),us(),ls(23,"table",31),ls(24,"tr",32),vs("click",(function(){return Cn(n),Ms().dataSorter.openSortingOrderModal()})),ls(25,"td"),ls(26,"div",33),ls(27,"div",34),ls(28,"div",1),rl(29),Du(30,"translate"),us(),ls(31,"div"),rl(32),Du(33,"translate"),ns(34,bF,3,3,"ng-container",20),ns(35,kF,3,3,"ng-container",20),us(),us(),ls(36,"div",35),ls(37,"mat-icon",36),rl(38,"keyboard_arrow_down"),us(),us(),us(),us(),us(),ns(39,xF,25,16,"tr",30),us(),ns(40,CF,1,5,"app-view-all-link",37),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngClass",Mu(31,DF,i.showShortList_,!i.showShortList_)),Gr(1),os("ngClass",wu(34,LF,i.showShortList_)),Gr(4),ol(" ",Lu(7,19,"routes.key")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.keySortData),Gr(2),ol(" ",Lu(11,21,"routes.type")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Gr(2),ol(" ",Lu(15,23,"routes.source")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.sourceSortData),Gr(2),ol(" ",Lu(19,25,"routes.destination")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.destinationSortData),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngClass",wu(36,TF,i.showShortList_)),Gr(6),al(Lu(30,27,"tables.sorting-title")),Gr(3),ol("",Lu(33,29,i.dataSorter.currentSortingColumn.label)," "),Gr(2),os("ngIf",i.dataSorter.currentlySortingByLabel),Gr(1),os("ngIf",i.dataSorter.sortingInReverseOrder),Gr(2),os("inline",!0),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngIf",i.showShortList_&&i.numberOfPages>1)}}function PF(t,e){1&t&&(ls(0,"span",52),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"routes.empty")))}function OF(t,e){1&t&&(ls(0,"span",52),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"routes.empty-with-filter")))}function AF(t,e){if(1&t&&(ls(0,"div",24),ls(1,"div",49),ls(2,"mat-icon",50),rl(3,"warning"),us(),ns(4,PF,3,3,"span",51),ns(5,OF,3,3,"span",51),us(),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),os("ngIf",0===n.allRoutes.length),Gr(1),os("ngIf",0!==n.allRoutes.length)}}function IF(t,e){if(1&t&&cs(0,"app-paginator",23),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,cF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var YF=function(t){return{"paginator-icons-fixer":t}},FF=function(){function t(t,e,n,i,r,a,o){var s=this;this.routeService=t,this.dialog=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.storageService=o,this.listId="rl",this.keySortData=new VE(["key"],"routes.key",zE.Number),this.typeSortData=new VE(["type"],"routes.type",zE.Number),this.sourceSortData=new VE(["src"],"routes.source",zE.Text,["src_label"]),this.destinationSortData=new VE(["dst"],"routes.destination",zE.Text,["dst_label"]),this.labeledElementTypes=Gb,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:TE.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:TE.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:TE.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new WE(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){s.recalculateElementsToShow()}));var l={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:TE.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((function(t,e){l.printableLabelsForValues.push({value:e+"",label:t})})),this.filterProperties=[l].concat(this.filterProperties),this.dataFilterer=new gP(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){s.filteredRoutes=t,s.dataSorter.setData(s.filteredRoutes)})),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),s.currentPageInUrl=e,s.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredRoutes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"routes",{set:function(t){var e=this;this.allRoutes=t,this.allRoutes.forEach((function(t){if(t.type=t.ruleSummary.ruleType||0===t.ruleSummary.ruleType?t.ruleSummary.ruleType:"",t.appFields||t.forwardFields){var n=t.appFields?t.appFields.routeDescriptor:t.forwardFields.routeDescriptor;t.src=n.srcPk,t.src_label=BE.getCompleteLabel(e.storageService,e.translateService,t.src),t.dst=n.dstPk,t.dst_label=BE.getCompleteLabel(e.storageService,e.translateService,t.dst)}else t.intermediaryForwardFields?(t.src="",t.src_label="",t.dst=t.intermediaryForwardFields.nextTid,t.dst_label=BE.getCompleteLabel(e.storageService,e.translateService,t.dst)):(t.src="",t.src_label="",t.dst="",t.dst_label="")})),this.dataFilterer.setData(this.allRoutes)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},t.prototype.refreshData=function(){uI.refreshCurrentDisplayedData()},t.prototype.getTypeName=function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):"Unknown"},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=SE.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;DE.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.key)}))},t.prototype.details=function(t){nF.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=SE.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),uI.refreshCurrentDisplayedData(),e.snackbarService.showDone("routes.deleted")}),(function(t){t=Mx(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var e=this.showShortList_?xx.maxShortListElements:xx.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.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(uI.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(),uI.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(t,e)}),(function(t){uI.refreshCurrentDisplayedData(),t=Mx(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.\u0275fac=function(e){return new(e||t)(rs(uE),rs(jx),rs(z_),rs(ub),rs(Sx),rs(hx),rs(Kb))},t.\u0275cmp=Fe({type:t,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ns(2,iF,6,7,"span",2),ns(3,sF,5,4,"div",3),us(),ls(4,"div",4),ls(5,"div",5),ns(6,lF,3,4,"mat-icon",6),ns(7,uF,2,1,"mat-icon",7),ls(8,"mat-menu",8,9),ls(10,"div",10),vs("click",(function(){return e.changeAllSelections(!0)})),rl(11),Du(12,"translate"),us(),ls(13,"div",10),vs("click",(function(){return e.changeAllSelections(!1)})),rl(14),Du(15,"translate"),us(),ls(16,"div",11),vs("click",(function(){return e.deleteSelected()})),rl(17),Du(18,"translate"),us(),us(),us(),ns(19,dF,1,6,"app-paginator",12),us(),us(),ns(20,EF,41,38,"div",13),ns(21,AF,6,3,"div",13),ns(22,IF,1,6,"app-paginator",12)),2&t&&(os("ngClass",wu(20,YF,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Gr(2),os("ngIf",e.showShortList_),Gr(1),os("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Gr(3),os("ngIf",e.allRoutes&&e.allRoutes.length>0),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("overlapTrigger",!1),Gr(3),ol(" ",Lu(12,14,"selection.select-all")," "),Gr(3),ol(" ",Lu(15,16,"selection.unselect-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(18,18,"selection.delete-all")," "),Gr(2),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("ngIf",!e.dataSource||0===e.dataSource.length),Gr(1),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[vh,wh,cO,rO,US,jL,bh,pO,lA,kI,lS,BE,LI],pipes:[px],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}(),RF=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.transports=e.transports,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-routing"]],decls:2,vars:6,consts:[[3,"transports","showShortList","nodePK"],[3,"routes","showShortList","nodePK"]],template:function(t,e){1&t&&(cs(0,"app-transport-list",0),cs(1,"app-route-list",1)),2&t&&(os("transports",e.transports)("showShortList",!0)("nodePK",e.nodePK),Gr(1),os("routes",e.routes)("showShortList",!0)("nodePK",e.nodePK))},directives:[JY,FF],styles:[""]}),t}(),NF=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 i=Wd(-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="+i).pipe(nt((function(t){return t.logs})))},t.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(eC))},providedIn:"root"}),t}();function HF(t,e){if(1&t&&(ls(0,"mat-option",4),rl(1),Du(2,"translate"),us()),2&t){var n=e.$implicit;os("value",n.days),Gr(1),al(Lu(2,2,n.text))}}var jF=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.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.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(Ix),rs(pL))},t.\u0275cmp=Fe({type:t,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"form",1),ls(3,"mat-form-field"),ls(4,"mat-select",2),Du(5,"translate"),ns(6,HF,3,4,"mat-option",3),us(),us(),us(),us()),2&t&&(os("headline",Lu(1,4,"apps.log.filter.title")),Gr(2),os("formGroup",e.form),Gr(2),os("placeholder",Lu(5,6,"apps.log.filter.filter")),Gr(2),os("ngForOf",e.filters))},directives:[xL,jD,PC,UD,xT,uP,EC,QD,bh,QM],pipes:[px],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t}(),BF=["content"];function VF(t,e){if(1&t&&(ls(0,"div",8),ls(1,"span",3),rl(2),us(),rl(3),us()),2&t){var n=e.$implicit;Gr(2),ol(" ",n.time," "),Gr(1),ol(" ",n.msg," ")}}function zF(t,e){1&t&&(ls(0,"div",9),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),ol(" ",Lu(2,1,"apps.log.empty")," "))}function WF(t,e){1&t&&cs(0,"app-loading-indicator",10),2&t&&os("showWhite",!1)}var UF=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 Tx;return i.data=n,i.autoFocus=!1,i.width=xx.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;jF.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=pg(1).pipe(tE(t),st((function(){return e.appsService.getLogMessages(uI.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=Mx(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(xx.connectionRetryDelay)},t.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(NF),rs(jx),rs(Sx))},t.\u0275cmp=Fe({type:t,selectors:[["app-log"]],viewQuery:function(t,e){var n;1&t&&Uu(BF,!0),2&t&&zu(n=Zu())&&(e.content=n.first)},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"div",1),ls(3,"div",2),vs("click",(function(){return e.filter()})),ls(4,"span",3),rl(5),Du(6,"translate"),us(),rl(7,"\xa0 "),ls(8,"span"),rl(9),Du(10,"translate"),us(),us(),us(),ls(11,"mat-dialog-content",null,4),ns(13,VF,4,2,"div",5),ns(14,zF,3,3,"div",6),ns(15,WF,1,1,"app-loading-indicator",7),us(),us()),2&t&&(os("headline",Lu(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),Gr(5),al(Lu(6,10,"apps.log.filter-button")),Gr(4),al(Lu(10,12,e.currentFilter.text)),Gr(4),os("ngForOf",e.logMessages),Gr(1),os("ngIf",!(e.loading||e.logMessages&&0!==e.logMessages.length)),Gr(1),os("ngIf",e.loading))},directives:[xL,Wx,bh,wh,gC],pipes:[px],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#f8f9f9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:rgba(33,95,158,.5)}"]}),t}(),qF=["button"],GF=["firstInput"],KF=function(){function t(t,e,n,i,r,a){if(this.data=t,this.appsService=e,this.formBuilder=n,this.dialogRef=i,this.snackbarService=r,this.dialog=a,this.configuringVpn=!1,this.secureMode=!1,-1!==t.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0),this.data.args&&this.data.args.length>0)for(var o=0;o0),Gr(2),os("placeholder",Lu(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),Gr(3),os("placeholder",Lu(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),Gr(4),ol(" ",Lu(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[xL,jD,PC,UD,wh,xT,MC,NT,EC,QD,uL,AL,uP,QM,bh,lP],pipes:[px],styles:[""]}),t}(),dR=["firstInput"],hR=function(){function t(t,e){this.dialogRef=t,this.formBuilder=e}return t.openDialog=function(e){var n=new Tx;return n.autoFocus=!1,n.width=xx.smallModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({password:[""]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.finish=function(){var t=this.form.get("password").value;this.dialogRef.close("-"+t)},t.\u0275fac=function(e){return new(e||t)(rs(Ix),rs(pL))},t.\u0275cmp=Fe({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(t,e){var n;1&t&&Uu(dR,!0),2&t&&zu(n=Zu())&&(e.firstInput=n.first)},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(t,e){1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"form",1),ls(3,"div",2),rl(4),Du(5,"translate"),us(),ls(6,"mat-form-field"),cs(7,"input",3,4),Du(9,"translate"),us(),ls(10,"app-button",5),vs("action",(function(){return e.finish()})),rl(11),Du(12,"translate"),us(),us(),us()),2&t&&(os("headline",Lu(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),Gr(2),os("formGroup",e.form),Gr(2),al(Lu(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),Gr(3),os("placeholder",Lu(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),Gr(4),ol(" ",Lu(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[xL,jD,PC,UD,xT,MC,NT,EC,QD,uL,AL],pipes:[px],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t}();function fR(t,e){1&t&&Cs(0)}var pR=["*"];function mR(t,e){}var gR=function(t){return{animationDuration:t}},vR=function(t,e){return{value:t,params:e}},_R=["tabBodyWrapper"],yR=["tabHeader"];function bR(t,e){}function kR(t,e){1&t&&ns(0,bR,0,0,"ng-template",9),2&t&&os("cdkPortalOutlet",Ms().$implicit.templateLabel)}function wR(t,e){1&t&&rl(0),2&t&&al(Ms().$implicit.textLabel)}function MR(t,e){if(1&t){var n=ps();ls(0,"div",6),vs("click",(function(){Cn(n);var t=e.$implicit,i=e.index,r=Ms(),a=is(1);return r._handleClick(t,a,i)})),ls(1,"div",7),ns(2,kR,1,1,"ng-template",8),ns(3,wR,1,1,"ng-template",8),us(),us()}if(2&t){var i=e.$implicit,r=e.index,a=Ms();Vs("mat-tab-label-active",a.selectedIndex==r),os("id",a._getTabLabelId(r))("disabled",i.disabled)("matRippleDisabled",i.disabled||a.disableRipple),ts("tabIndex",a._getTabIndex(i,r))("aria-posinset",r+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(r))("aria-selected",a.selectedIndex==r)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),Gr(2),os("ngIf",i.templateLabel),Gr(1),os("ngIf",!i.templateLabel)}}function SR(t,e){if(1&t){var n=ps();ls(0,"mat-tab-body",10),vs("_onCentered",(function(){return Cn(n),Ms()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return Cn(n),Ms()._setTabBodyWrapperHeight(t)})),us()}if(2&t){var i=e.$implicit,r=e.index,a=Ms();Vs("mat-tab-body-active",a.selectedIndex==r),os("id",a._getTabContentId(r))("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",a.animationDuration),ts("aria-labelledby",a._getTabLabelId(r))}}var xR=["tabListContainer"],CR=["tabList"],DR=["nextPaginator"],LR=["previousPaginator"],TR=["mat-tab-nav-bar",""],ER=new se("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),PR=function(){var t=function(){function t(e,n,i,r){_(this,t),this._elementRef=e,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return b(t,[{key:"alignToElement",value:function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Mc),rs(ER),rs(cg,8))},t.\u0275dir=Ve({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&Vs("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t}(),OR=new se("MatTabContent"),AR=function(){var t=function t(e){_(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(rs(eu))},t.\u0275dir=Ve({type:t,selectors:[["","matTabContent",""]],features:[Cl([{provide:OR,useExisting:t}])]}),t}(),IR=new se("MatTabLabel"),YR=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}($k);return t.\u0275fac=function(e){return FR(e||t)},t.\u0275dir=Ve({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Cl([{provide:IR,useExisting:t}]),fl]}),t}(),FR=Bi(YR),RR=SM((function t(){_(this,t)})),NR=new se("MAT_TAB_GROUP"),HR=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._viewContainerRef=t,r._closestTabGroup=i,r.textLabel="",r._contentPortal=null,r._stateChanges=new W,r.position=null,r.origin=null,r.isActive=!1,r}return b(n,[{key:"ngOnChanges",value:function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Gk(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(t){t&&(this._templateLabel=t)}},{key:"content",get:function(){return this._contentPortal}}]),n}(RR);return t.\u0275fac=function(e){return new(e||t)(rs(iu),rs(NR,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){var i;1&t&&(Gu(n,IR,!0),Ku(n,OR,!0,eu)),2&t&&(zu(i=Zu())&&(e.templateLabel=i.first),zu(i=Zu())&&(e._explicitContent=i.first))},viewQuery:function(t,e){var n;1&t&&Wu(eu,!0),2&t&&zu(n=Zu())&&(e._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[fl,en],ngContentSelectors:pR,decls:1,vars:0,template:function(t,e){1&t&&(xs(),ns(0,fR,1,0,"ng-template"))},encapsulation:2}),t}(),jR={translateTab:jf("translateTab",[Uf("center, void, left-origin-center, right-origin-center",Wf({transform:"none"})),Uf("left",Wf({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Uf("right",Wf({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Gf("* => left, * => right, left => center, right => center",Bf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Gf("void => left-origin-center",[Wf({transform:"translate3d(-100%, 0, 0)"}),Bf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Gf("void => right-origin-center",[Wf({transform:"translate3d(100%, 0, 0)"}),Bf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},BR=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i,a))._host=r,o._centeringSub=C.EMPTY,o._leavingSub=C.EMPTY,o}return b(n,[{key:"ngOnInit",value:function(){var t=this;r(i(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Yv(this._host._isCenterPosition(this._host._position))).subscribe((function(e){e&&!t.hasAttached()&&t.attach(t._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){t.detach()}))}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(Qk);return t.\u0275fac=function(e){return new(e||t)(rs(El),rs(iu),rs(Ut((function(){return zR}))),rs(id))},t.\u0275dir=Ve({type:t,selectors:[["","matTabBodyHost",""]],features:[fl]}),t}(),VR=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this._elementRef=e,this._dir=n,this._dirChangeSubscription=C.EMPTY,this._translateTabComplete=new W,this._onCentering=new Ou,this._beforeCentering=new Ou,this._afterLeavingCenter=new Ou,this._onCentered=new Ou(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(t){r._computePositionAnimationState(t),i.markForCheck()}))),this._translateTabComplete.pipe(lk((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()}))}return b(t,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Yk,8),rs(xo))},t.\u0275dir=Ve({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t}(),zR=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){return _(this,n),e.call(this,t,i,r)}return n}(VR);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(Yk,8),rs(xo))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var n;1&t&&Uu(Xk,!0),2&t&&zu(n=Zu())&&(e._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[fl],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(ls(0,"div",0,1),vs("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)}))("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),ns(2,mR,0,0,"ng-template",2),us()),2&t&&os("@translateTab",Mu(3,vR,e._position,wu(1,gR,e.animationDuration)))},directives:[BR],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[jR.translateTab]}}),t}(),WR=new se("MAT_TABS_CONFIG"),UR=0,qR=function t(){_(this,t)},GR=xM(CM((function t(e){_(this,t),this._elementRef=e})),"primary"),KR=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t))._changeDetectorRef=i,o._animationMode=a,o._tabs=new Iu,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=C.EMPTY,o._tabLabelSubscription=C.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new Ou,o.focusChange=new Ou,o.animationDone=new Ou,o.selectedTabChange=new Ou(!0),o._groupId=UR++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o}return b(n,[{key:"ngAfterContentChecked",value: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())}},{key:"ngAfterContentInit",value:function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 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}\n"],encapsulation:2}),t}(),ZR=SM((function t(){_(this,t)})),$R=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).elementRef=t,i}return b(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(ZR);return t.\u0275fac=function(e){return new(e||t)(rs(Pl))},t.\u0275dir=Ve({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(ts("aria-disabled",!!e.disabled),Vs("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[fl]}),t}(),QR=Pk({passive:!0}),XR=function(){var t=function(){function t(e,n,i,r,a,o,s){var l=this;_(this,t),this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=i,this._dir=r,this._ngZone=a,this._platform=o,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new W,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new W,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ou,this.indexFocused=new Ou,a.runOutsideAngular((function(){ek(e.nativeElement,"mouseleave").pipe(yk(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;ek(this._previousPaginator.nativeElement,"touchstart",QR).pipe(yk(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),ek(this._nextPaginator.nativeElement,"touchstart",QR).pipe(yk(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:pg(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new Xw(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),ft(e,n,this._items.changes).pipe(yk(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(yk(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!iw(t))switch(t.keyCode){case 36:this._keyManager.setFirstItemActive(),t.preventDefault();break;case 35:this._keyManager.setLastItemActive(),t.preventDefault();break;case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=e.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var l=this.scrollDistance,u=this.scrollDistance+r;nu&&(this.scrollDistance+=i-u+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value: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()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),gk(650,100).pipe(yk(ft(this._stopScrolling,this._destroyed))).subscribe((function(){var e=n._scrollHeader(t),i=e.distance;(0===i||i>=e.maxScrollDistance)&&n._stopInterval()})))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Zb(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(xo),rs(Bk),rs(Yk,8),rs(Mc),rs(Dk),rs(cg,8))},t.\u0275dir=Ve({type:t,inputs:{disablePagination:"disablePagination"}}),t}(),tN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){var u;return _(this,n),(u=e.call(this,t,i,r,a,o,s,l))._disableRipple=!1,u}return b(n,[{key:"_itemSelected",value:function(t){t.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Jb(t)}}]),n}(XR);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(xo),rs(Bk),rs(Yk,8),rs(Mc),rs(Dk),rs(cg,8))},t.\u0275dir=Ve({type:t,inputs:{disableRipple:"disableRipple"},features:[fl]}),t}(),eN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){return _(this,n),e.call(this,t,i,r,a,o,s,l)}return n}(tN);return t.\u0275fac=function(e){return new(e||t)(rs(Pl),rs(xo),rs(Bk),rs(Yk,8),rs(Mc),rs(Dk),rs(cg,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){var i;1&t&&Gu(n,$R,!1),2&t&&zu(i=Zu())&&(e._items=i)},viewQuery:function(t,e){var n;1&t&&(Wu(PR,!0),Wu(xR,!0),Wu(CR,!0),Uu(DR,!0),Uu(LR,!0)),2&t&&(zu(n=Zu())&&(e._inkBar=n.first),zu(n=Zu())&&(e._tabListContainer=n.first),zu(n=Zu())&&(e._tabList=n.first),zu(n=Zu())&&(e._nextPaginator=n.first),zu(n=Zu())&&(e._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&Vs("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[fl],ngContentSelectors:pR,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(xs(),ls(0,"div",0,1),vs("click",(function(){return e._handlePaginatorClick("before")}))("mousedown",(function(t){return e._handlePaginatorPress("before",t)}))("touchend",(function(){return e._stopInterval()})),cs(2,"div",2),us(),ls(3,"div",3,4),vs("keydown",(function(t){return e._handleKeydown(t)})),ls(5,"div",5,6),vs("cdkObserveContent",(function(){return e._onContentChanges()})),ls(7,"div",7),Cs(8),us(),cs(9,"mat-ink-bar"),us(),us(),ls(10,"div",8,9),vs("mousedown",(function(t){return e._handlePaginatorPress("after",t)}))("click",(function(){return e._handlePaginatorClick("after")}))("touchend",(function(){return e._stopInterval()})),cs(12,"div",2),us()),2&t&&(Vs("mat-tab-header-pagination-disabled",e._disableScrollBefore),os("matRippleDisabled",e._disableScrollBefore||e.disableRipple),Gr(5),Vs("_mat-animation-noopable","NoopAnimations"===e._animationMode),Gr(5),Vs("mat-tab-header-pagination-disabled",e._disableScrollAfter),os("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[jM,Ww,PR],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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 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}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t}(),nN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){var u;return _(this,n),(u=e.call(this,t,a,o,i,r,s,l))._disableRipple=!1,u.color="primary",u}return b(n,[{key:"_itemSelected",value:function(){}},{key:"ngAfterContentInit",value:function(){var t=this;this._items.changes.pipe(Yv(null),yk(this._destroyed)).subscribe((function(){t.updateActiveLink()})),r(i(n.prototype),"ngAfterContentInit",this).call(this)}},{key:"updateActiveLink",value:function(t){if(this._items){for(var e=this._items.toArray(),n=0;n.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 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}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{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;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t}(),rN=DM(CM(SM((function t(){_(this,t)})))),aN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l;return _(this,n),(l=e.call(this))._tabNavBar=t,l.elementRef=i,l._focusMonitor=o,l._isActive=!1,l.rippleConfig=r||{},l.tabIndex=parseInt(a)||0,"NoopAnimations"===s&&(l.rippleConfig.animation={enterDuration:0,exitDuration:0}),l}return b(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this.elementRef)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this.elementRef)}},{key:"active",get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this.elementRef))}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}]),n}(rN);return t.\u0275fac=function(e){return new(e||t)(rs(nN),rs(Pl),rs(HM,8),as("tabindex"),rs(dM),rs(cg,8))},t.\u0275dir=Ve({type:t,inputs:{active:"active"},features:[fl]}),t}(),oN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s,l,u,c){var d;return _(this,n),(d=e.call(this,t,i,s,l,u,c))._tabLinkRipple=new FM(a(d),r,i,o),d._tabLinkRipple.setupTriggerEvents(i.nativeElement),d}return b(n,[{key:"ngOnDestroy",value:function(){r(i(n.prototype),"ngOnDestroy",this).call(this),this._tabLinkRipple._removeTriggerEvents()}}]),n}(aN);return t.\u0275fac=function(e){return new(e||t)(rs(iN),rs(Pl),rs(Mc),rs(Dk),rs(HM,8),as("tabindex"),rs(dM),rs(cg,8))},t.\u0275dir=Ve({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(ts("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),Vs("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[fl]}),t}(),sN=function(){var t=function t(){_(this,t)};return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[rf,MM,ew,BM,Uw,mM],MM]}),t}(),lN=["button"],uN=["settingsButton"],cN=["firstInput"];function dN(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),ol(" ",Lu(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function hN(t,e){1&t&&(rl(0),Du(1,"translate")),2&t&&ol(" ",Lu(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function fN(t,e){1&t&&(ls(0,"mat-form-field"),cs(1,"input",20),Du(2,"translate"),us()),2&t&&(Gr(1),os("placeholder",Lu(2,1,"apps.vpn-socks-client-settings.password")))}function pN(t,e){1&t&&(ls(0,"div",21),ls(1,"mat-icon",22),rl(2,"warning"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function mN(t,e){1&t&&cs(0,"app-loading-indicator",23),2&t&&os("showWhite",!1)}function gN(t,e){1&t&&(ls(0,"div",24),ls(1,"mat-icon",22),rl(2,"error"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function vN(t,e){1&t&&(ls(0,"div",31),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),ol(" ",Lu(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function _N(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n[1]))}}function yN(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n[2])}}function bN(t,e){if(1&t&&(ls(0,"div",31),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,_N,3,3,"ng-container",7),ns(5,yN,2,1,"ng-container",7),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n[0])," "),Gr(2),os("ngIf",n[1]),Gr(1),os("ngIf",n[2])}}function kN(t,e){1&t&&(ls(0,"div",24),ls(1,"mat-icon",22),rl(2,"error"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var wN=function(t){return{highlighted:t}};function MN(t,e){if(1&t&&(ds(0),ls(1,"span",36),rl(2),us(),hs()),2&t){var n=e.$implicit,i=e.index;Gr(1),os("ngClass",wu(2,wN,i%2!=0)),Gr(1),al(n)}}function SN(t,e){if(1&t&&(ds(0),ls(1,"div",37),cs(2,"div"),us(),hs()),2&t){var n=Ms(2).$implicit;Gr(2),zs("background-image: url('assets/img/flags/"+n.country.toLocaleLowerCase()+".png');")}}function xN(t,e){if(1&t&&(ds(0),ls(1,"span",36),rl(2),us(),hs()),2&t){var n=e.$implicit,i=e.index;Gr(1),os("ngClass",wu(2,wN,i%2!=0)),Gr(1),al(n)}}function CN(t,e){if(1&t&&(ls(0,"div",31),ls(1,"span"),rl(2),Du(3,"translate"),us(),ls(4,"span"),rl(5,"\xa0 "),ns(6,SN,3,2,"ng-container",7),ns(7,xN,3,4,"ng-container",34),us(),us()),2&t){var n=Ms().$implicit,i=Ms(2);Gr(2),al(Lu(3,3,"apps.vpn-socks-client-settings.location")),Gr(4),os("ngIf",n.country),Gr(1),os("ngForOf",i.getHighlightedTextParts(n.location,i.currentFilters.location))}}function DN(t,e){if(1&t){var n=ps();ls(0,"div",32),ls(1,"button",25),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).saveChanges(t.pk,null,!1,t.location)})),ls(2,"div",33),ls(3,"div",31),ls(4,"span"),rl(5),Du(6,"translate"),us(),ls(7,"span"),rl(8,"\xa0"),ns(9,MN,3,4,"ng-container",34),us(),us(),ns(10,CN,8,5,"div",28),us(),us(),ls(11,"button",35),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).copyPk(t.pk)})),Du(12,"translate"),ls(13,"mat-icon",22),rl(14,"filter_none"),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(5),al(Lu(6,5,"apps.vpn-socks-client-settings.key")),Gr(4),os("ngForOf",r.getHighlightedTextParts(i.pk,r.currentFilters.key)),Gr(1),os("ngIf",i.location),Gr(1),os("matTooltip",Lu(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),Gr(2),os("inline",!0)}}function LN(t,e){if(1&t){var n=ps();ds(0),ls(1,"button",25),vs("click",(function(){return Cn(n),Ms().changeFilters()})),ls(2,"div",26),ls(3,"div",27),ls(4,"mat-icon",22),rl(5,"filter_list"),us(),us(),ls(6,"div"),ns(7,vN,3,3,"div",28),ns(8,bN,6,5,"div",29),ls(9,"div",30),rl(10),Du(11,"translate"),us(),us(),us(),us(),ns(12,kN,5,4,"div",12),ns(13,DN,15,9,"div",14),hs()}if(2&t){var i=Ms();Gr(4),os("inline",!0),Gr(3),os("ngIf",0===i.currentFiltersTexts.length),Gr(1),os("ngForOf",i.currentFiltersTexts),Gr(2),al(Lu(11,6,"apps.vpn-socks-client-settings.click-to-change")),Gr(2),os("ngIf",0===i.filteredProxiesFromDiscovery.length),Gr(1),os("ngForOf",i.proxiesFromDiscoveryToShow)}}var TN=function(t,e){return{currentElementsRange:t,totalElements:e}};function EN(t,e){if(1&t){var n=ps();ls(0,"div",38),ls(1,"span"),rl(2),Du(3,"translate"),us(),ls(4,"button",39),vs("click",(function(){return Cn(n),Ms().goToPreviousPage()})),ls(5,"mat-icon"),rl(6,"chevron_left"),us(),us(),ls(7,"button",39),vs("click",(function(){return Cn(n),Ms().goToNextPage()})),ls(8,"mat-icon"),rl(9,"chevron_right"),us(),us(),us()}if(2&t){var i=Ms();Gr(2),al(Tu(3,1,"apps.vpn-socks-client-settings.pagination-info",Mu(4,TN,i.currentRange,i.filteredProxiesFromDiscovery.length)))}}var PN=function(t){return{number:t}};function ON(t,e){if(1&t&&(ls(0,"div"),ls(1,"div",24),ls(2,"mat-icon",22),rl(3,"error"),us(),rl(4),Du(5,"translate"),us(),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),ol(" ",Tu(5,2,"apps.vpn-socks-client-settings.no-history",wu(5,PN,n.maxHistoryElements))," ")}}function AN(t,e){1&t&&fs(0)}function IN(t,e){1&t&&fs(0)}function YN(t,e){if(1&t&&(ds(0),ls(1,"span"),rl(2),us(),hs()),2&t){var n=Ms(2).$implicit;Gr(2),ol(" ",n.note,"")}}function FN(t,e){1&t&&(ds(0),ls(1,"span"),rl(2),Du(3,"translate"),us(),hs()),2&t&&(Gr(2),ol(" ",Lu(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function RN(t,e){if(1&t&&(ds(0),ls(1,"span"),rl(2),us(),hs()),2&t){var n=Ms(4).$implicit;Gr(2),ol(" (",n.location,")")}}function NN(t,e){if(1&t&&(ds(0),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,RN,3,1,"ng-container",7),hs()),2&t){var n=Ms(3).$implicit;Gr(2),ol(" ",Lu(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),Gr(2),os("ngIf",n.location)}}function HN(t,e){if(1&t&&(ds(0),ns(1,FN,4,3,"ng-container",7),ns(2,NN,5,4,"ng-container",7),hs()),2&t){var n=Ms(2).$implicit;Gr(1),os("ngIf",n.enteredManually),Gr(1),os("ngIf",!n.enteredManually)}}function jN(t,e){if(1&t&&(ls(0,"div",45),ls(1,"div",46),ls(2,"div",31),ls(3,"span"),rl(4),Du(5,"translate"),us(),ls(6,"span"),rl(7),us(),us(),ls(8,"div",31),ls(9,"span"),rl(10),Du(11,"translate"),us(),ns(12,YN,3,1,"ng-container",7),ns(13,HN,3,2,"ng-container",7),us(),us(),ls(14,"div",47),ls(15,"div",48),ls(16,"mat-icon",22),rl(17,"add"),us(),us(),us(),us()),2&t){var n=Ms().$implicit;Gr(4),al(Lu(5,6,"apps.vpn-socks-client-settings.key")),Gr(3),ol(" ",n.key,""),Gr(3),al(Lu(11,8,"apps.vpn-socks-client-settings.note")),Gr(2),os("ngIf",n.note),Gr(1),os("ngIf",!n.note),Gr(3),os("inline",!0)}}function BN(t,e){if(1&t){var n=ps();ls(0,"div",32),ls(1,"button",40),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms().useFromHistory(t)})),ns(2,AN,1,0,"ng-container",41),us(),ls(3,"button",42),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms().changeNote(t)})),Du(4,"translate"),ls(5,"mat-icon",22),rl(6,"edit"),us(),us(),ls(7,"button",42),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms().removeFromHistory(t.key)})),Du(8,"translate"),ls(9,"mat-icon",22),rl(10,"close"),us(),us(),ls(11,"button",43),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms().openHistoryOptions(t)})),ns(12,IN,1,0,"ng-container",41),us(),ns(13,jN,18,10,"ng-template",null,44,tc),us()}if(2&t){var i=is(14);Gr(2),os("ngTemplateOutlet",i),Gr(1),os("matTooltip",Lu(4,6,"apps.vpn-socks-client-settings.change-note")),Gr(2),os("inline",!0),Gr(2),os("matTooltip",Lu(8,8,"apps.vpn-socks-client-settings.remove-entry")),Gr(2),os("inline",!0),Gr(3),os("ngTemplateOutlet",i)}}function VN(t,e){1&t&&(ls(0,"div",49),ls(1,"mat-icon",22),rl(2,"warning"),us(),rl(3),Du(4,"translate"),us()),2&t&&(Gr(1),os("inline",!0),Gr(2),ol(" ",Lu(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var zN=function(){function t(t,e,n,i,r,a,o,s){this.data=t,this.dialogRef=e,this.appsService=n,this.formBuilder=i,this.snackbarService=r,this.dialog=a,this.proxyDiscoveryService=o,this.clipboardService=s,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new uR,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==t.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return t.openDialog=function(e,n){var i=new Tx;return i.data=n,i.autoFocus=!1,i.width=xx.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe((function(e){t.proxiesFromDiscovery=e,t.proxiesFromDiscovery.forEach((function(e){e.country&&t.countriesFromDiscovery.add(e.country.toUpperCase())})),t.filterProxies(),t.loadingFromDiscovery=!1}));var e=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];var n="";if(this.data.args&&this.data.args.length>0)for(var i=0;i=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())},t.prototype.goToPreviousPage=function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())},t.prototype.showCurrentPage=function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPagethis.maxHistoryElements){var o=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-o,o)}this.form.get("pk").setValue(t);var s=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),uI.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)},t.prototype.onServerDataChangeError=function(t){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),t=Mx(t),this.snackbarService.showError(t)},t.\u0275fac=function(e){return new(e||t)(rs(Fx),rs(Ix),rs(NF),rs(pL),rs(Sx),rs(jx),rs(QF),rs(LE))},t.\u0275cmp=Fe({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(t,e){var n;1&t&&(Uu(lN,!0),Uu(uN,!0),Uu(cN,!0)),2&t&&(zu(n=Zu())&&(e.button=n.first),zu(n=Zu())&&(e.settingsButton=n.first),zu(n=Zu())&&(e.firstInput=n.first))},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(t,e){if(1&t&&(ls(0,"app-dialog",0),Du(1,"translate"),ls(2,"mat-tab-group"),ls(3,"mat-tab",1),Du(4,"translate"),ls(5,"form",2),ls(6,"mat-form-field"),cs(7,"input",3,4),Du(9,"translate"),ls(10,"mat-error"),ns(11,dN,3,3,"ng-container",5),us(),ns(12,hN,2,3,"ng-template",null,6,tc),us(),ns(14,fN,3,3,"mat-form-field",7),ns(15,pN,5,4,"div",8),ls(16,"app-button",9,10),vs("action",(function(){return e.saveChanges()})),rl(18),Du(19,"translate"),us(),us(),us(),ls(20,"mat-tab",1),Du(21,"translate"),ns(22,mN,1,1,"app-loading-indicator",11),ns(23,gN,5,4,"div",12),ns(24,LN,14,8,"ng-container",7),ns(25,EN,10,7,"div",13),us(),ls(26,"mat-tab",1),Du(27,"translate"),ns(28,ON,6,7,"div",7),ns(29,BN,15,10,"div",14),us(),ls(30,"mat-tab",1),Du(31,"translate"),ls(32,"div",15),ls(33,"mat-checkbox",16),vs("change",(function(t){return e.setKillswitch(t)})),rl(34),Du(35,"translate"),ls(36,"mat-icon",17),Du(37,"translate"),rl(38,"help"),us(),us(),us(),ns(39,VN,5,4,"div",18),ls(40,"app-button",9,19),vs("action",(function(){return e.saveSettings()})),rl(42),Du(43,"translate"),us(),us(),us(),us()),2&t){var n=is(13);os("headline",Lu(1,26,"apps.vpn-socks-client-settings."+(e.configuringVpn?"vpn-title":"socks-title"))),Gr(3),os("label",Lu(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),Gr(2),os("formGroup",e.form),Gr(2),os("placeholder",Lu(9,30,"apps.vpn-socks-client-settings.public-key")),Gr(4),os("ngIf",!e.form.get("pk").hasError("pattern"))("ngIfElse",n),Gr(3),os("ngIf",e.configuringVpn),Gr(1),os("ngIf",e.form&&e.form.get("password").value),Gr(1),os("disabled",!e.form.valid||e.working),Gr(2),ol(" ",Lu(19,32,"apps.vpn-socks-client-settings.save")," "),Gr(2),os("label",Lu(21,34,"apps.vpn-socks-client-settings.discovery-tab")),Gr(2),os("ngIf",e.loadingFromDiscovery),Gr(1),os("ngIf",!e.loadingFromDiscovery&&0===e.proxiesFromDiscovery.length),Gr(1),os("ngIf",!e.loadingFromDiscovery&&e.proxiesFromDiscovery.length>0),Gr(1),os("ngIf",e.numberOfPages>1),Gr(1),os("label",Lu(27,36,"apps.vpn-socks-client-settings.history-tab")),Gr(2),os("ngIf",0===e.history.length),Gr(1),os("ngForOf",e.history),Gr(1),os("label",Lu(31,38,"apps.vpn-socks-client-settings.settings-tab")),Gr(3),os("checked",e.killswitch),Gr(1),ol(" ",Lu(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),Gr(2),os("inline",!0)("matTooltip",Lu(37,42,"apps.vpn-socks-client-settings.killswitch-info")),Gr(3),os("ngIf",e.killswitch!==e.initialKillswitchSetting),Gr(1),os("disabled",e.killswitch===e.initialKillswitchSetting||e.working),Gr(2),ol(" ",Lu(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[xL,JR,HR,jD,PC,UD,xT,MC,NT,EC,QD,uL,lT,wh,AL,bh,kI,US,jL,gC,lS,vh,Oh],pipes:[px],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width:767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),t}();function WN(t,e){1&t&&(ls(0,"span",14),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"apps.apps-list.title")))}function UN(t,e){if(1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(1),al(Lu(2,1,n.translatableValue))}}function qN(t,e){if(1&t&&(ds(0),rl(1),hs()),2&t){var n=Ms().$implicit;Gr(1),al(n.value)}}function GN(t,e){if(1&t&&(ls(0,"div",18),ls(1,"span"),rl(2),Du(3,"translate"),us(),ns(4,UN,3,3,"ng-container",19),ns(5,qN,2,1,"ng-container",19),us()),2&t){var n=e.$implicit;Gr(2),ol("",Lu(3,3,n.filterName),": "),Gr(2),os("ngIf",n.translatableValue),Gr(1),os("ngIf",n.value)}}function KN(t,e){if(1&t){var n=ps();ls(0,"div",15),vs("click",(function(){return Cn(n),Ms().dataFilterer.removeFilters()})),ns(1,GN,6,5,"div",16),ls(2,"div",17),rl(3),Du(4,"translate"),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngForOf",i.dataFilterer.currentFiltersTexts),Gr(2),al(Lu(4,2,"filters.press-to-remove"))}}function JN(t,e){if(1&t){var n=ps();ls(0,"mat-icon",20),vs("click",(function(){return Cn(n),Ms().dataFilterer.changeFilters()})),Du(1,"translate"),rl(2,"filter_list"),us()}2&t&&os("inline",!0)("matTooltip",Lu(1,2,"filters.filter-action"))}function ZN(t,e){1&t&&(ls(0,"mat-icon",21),rl(1,"more_horiz"),us()),2&t&&(Ms(),os("matMenuTriggerFor",is(9)))}var $N=function(t){return["/nodes",t,"apps-list"]};function QN(t,e){if(1&t&&cs(0,"app-paginator",22),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,$N,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function XN(t,e){if(1&t&&(ls(0,"mat-icon",37),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function tH(t,e){if(1&t&&(ls(0,"mat-icon",37),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function eH(t,e){if(1&t&&(ls(0,"mat-icon",37),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function nH(t,e){if(1&t&&(ls(0,"mat-icon",37),rl(1),us()),2&t){var n=Ms(2);os("inline",!0),Gr(1),al(n.dataSorter.sortingArrow)}}function iH(t,e){if(1&t){var n=ps();ls(0,"button",42),vs("click",(function(){Cn(n);var t=Ms().$implicit;return Ms(2).config(t)})),Du(1,"translate"),ls(2,"mat-icon",37),rl(3,"settings"),us(),us()}2&t&&(os("matTooltip",Lu(1,2,"apps.settings")),Gr(2),os("inline",!0))}function rH(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td",39),ls(2,"mat-checkbox",40),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(3,"td"),cs(4,"i",41),Du(5,"translate"),us(),ls(6,"td"),rl(7),us(),ls(8,"td"),rl(9),us(),ls(10,"td"),ls(11,"button",42),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeAppAutostart(t)})),Du(12,"translate"),ls(13,"mat-icon",37),rl(14),us(),us(),us(),ls(15,"td",30),ns(16,iH,4,4,"button",43),ls(17,"button",42),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).viewLogs(t)})),Du(18,"translate"),ls(19,"mat-icon",37),rl(20,"list"),us(),us(),ls(21,"button",42),vs("click",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeAppState(t)})),Du(22,"translate"),ls(23,"mat-icon",37),rl(24),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(2),os("checked",r.selections.get(i.name)),Gr(2),Us(1===i.status?"dot-green":"dot-red"),os("matTooltip",Lu(5,15,1===i.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip")),Gr(3),ol(" ",i.name," "),Gr(2),ol(" ",i.port," "),Gr(2),os("matTooltip",Lu(12,17,i.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),Gr(2),os("inline",!0),Gr(1),al(i.autostart?"done":"close"),Gr(2),os("ngIf",r.appsWithConfig.has(i.name)),Gr(1),os("matTooltip",Lu(18,19,"apps.view-logs")),Gr(2),os("inline",!0),Gr(2),os("matTooltip",Lu(22,21,"apps."+(1===i.status?"stop-app":"start-app"))),Gr(2),os("inline",!0),Gr(1),al(1===i.status?"stop":"play_arrow")}}function aH(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.label")))}function oH(t,e){1&t&&(ds(0),rl(1),Du(2,"translate"),hs()),2&t&&(Gr(1),al(Lu(2,1,"tables.inverted-order")))}function sH(t,e){if(1&t){var n=ps();ls(0,"tr"),ls(1,"td"),ls(2,"div",34),ls(3,"div",44),ls(4,"mat-checkbox",40),vs("change",(function(){Cn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),us(),us(),ls(5,"div",35),ls(6,"div",45),ls(7,"span",1),rl(8),Du(9,"translate"),us(),rl(10),us(),ls(11,"div",45),ls(12,"span",1),rl(13),Du(14,"translate"),us(),rl(15),us(),ls(16,"div",45),ls(17,"span",1),rl(18),Du(19,"translate"),us(),rl(20,": "),ls(21,"span"),rl(22),Du(23,"translate"),us(),us(),ls(24,"div",45),ls(25,"span",1),rl(26),Du(27,"translate"),us(),rl(28,": "),ls(29,"span"),rl(30),Du(31,"translate"),us(),us(),us(),cs(32,"div",46),ls(33,"div",36),ls(34,"button",47),vs("click",(function(t){Cn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Du(35,"translate"),ls(36,"mat-icon"),rl(37),us(),us(),us(),us(),us(),us()}if(2&t){var i=e.$implicit,r=Ms(2);Gr(4),os("checked",r.selections.get(i.name)),Gr(4),al(Lu(9,15,"apps.apps-list.app-name")),Gr(2),ol(": ",i.name," "),Gr(3),al(Lu(14,17,"apps.apps-list.port")),Gr(2),ol(": ",i.port," "),Gr(3),al(Lu(19,19,"apps.apps-list.state")),Gr(3),Us((1===i.status?"green-text":"red-text")+" title"),Gr(1),ol(" ",Lu(23,21,1===i.status?"apps.status-running":"apps.status-stopped")," "),Gr(4),al(Lu(27,23,"apps.apps-list.auto-start")),Gr(3),Us((i.autostart?"green-text":"red-text")+" title"),Gr(1),ol(" ",Lu(31,25,i.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),Gr(4),os("matTooltip",Lu(35,27,"common.options")),Gr(3),al("add")}}function lH(t,e){if(1&t&&cs(0,"app-view-all-link",48),2&t){var n=Ms(2);os("numberOfElements",n.filteredApps.length)("linkParts",wu(3,$N,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var uH=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},cH=function(t){return{"d-lg-none d-xl-table":t}},dH=function(t){return{"d-lg-table d-xl-none":t}};function hH(t,e){if(1&t){var n=ps();ls(0,"div",23),ls(1,"div",24),ls(2,"table",25),ls(3,"tr"),cs(4,"th"),ls(5,"th",26),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.stateSortData)})),Du(6,"translate"),cs(7,"span",27),ns(8,XN,2,2,"mat-icon",28),us(),ls(9,"th",29),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.nameSortData)})),rl(10),Du(11,"translate"),ns(12,tH,2,2,"mat-icon",28),us(),ls(13,"th",29),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.portSortData)})),rl(14),Du(15,"translate"),ns(16,eH,2,2,"mat-icon",28),us(),ls(17,"th",29),vs("click",(function(){Cn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.autoStartSortData)})),rl(18),Du(19,"translate"),ns(20,nH,2,2,"mat-icon",28),us(),cs(21,"th",30),us(),ns(22,rH,25,23,"tr",31),us(),ls(23,"table",32),ls(24,"tr",33),vs("click",(function(){return Cn(n),Ms().dataSorter.openSortingOrderModal()})),ls(25,"td"),ls(26,"div",34),ls(27,"div",35),ls(28,"div",1),rl(29),Du(30,"translate"),us(),ls(31,"div"),rl(32),Du(33,"translate"),ns(34,aH,3,3,"ng-container",19),ns(35,oH,3,3,"ng-container",19),us(),us(),ls(36,"div",36),ls(37,"mat-icon",37),rl(38,"keyboard_arrow_down"),us(),us(),us(),us(),us(),ns(39,sH,38,29,"tr",31),us(),ns(40,lH,1,5,"app-view-all-link",38),us(),us()}if(2&t){var i=Ms();Gr(1),os("ngClass",Mu(31,uH,i.showShortList_,!i.showShortList_)),Gr(1),os("ngClass",wu(34,cH,i.showShortList_)),Gr(3),os("matTooltip",Lu(6,19,"apps.apps-list.state-tooltip")),Gr(3),os("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Gr(2),ol(" ",Lu(11,21,"apps.apps-list.app-name")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.nameSortData),Gr(2),ol(" ",Lu(15,23,"apps.apps-list.port")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.portSortData),Gr(2),ol(" ",Lu(19,25,"apps.apps-list.auto-start")," "),Gr(2),os("ngIf",i.dataSorter.currentSortingColumn===i.autoStartSortData),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngClass",wu(36,dH,i.showShortList_)),Gr(6),al(Lu(30,27,"tables.sorting-title")),Gr(3),ol("",Lu(33,29,i.dataSorter.currentSortingColumn.label)," "),Gr(2),os("ngIf",i.dataSorter.currentlySortingByLabel),Gr(1),os("ngIf",i.dataSorter.sortingInReverseOrder),Gr(2),os("inline",!0),Gr(2),os("ngForOf",i.dataSource),Gr(1),os("ngIf",i.showShortList_&&i.numberOfPages>1)}}function fH(t,e){1&t&&(ls(0,"span",52),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"apps.apps-list.empty")))}function pH(t,e){1&t&&(ls(0,"span",52),rl(1),Du(2,"translate"),us()),2&t&&(Gr(1),al(Lu(2,1,"apps.apps-list.empty-with-filter")))}function mH(t,e){if(1&t&&(ls(0,"div",23),ls(1,"div",49),ls(2,"mat-icon",50),rl(3,"warning"),us(),ns(4,fH,3,3,"span",51),ns(5,pH,3,3,"span",51),us(),us()),2&t){var n=Ms();Gr(2),os("inline",!0),Gr(2),os("ngIf",0===n.allApps.length),Gr(1),os("ngIf",0!==n.allApps.length)}}function gH(t,e){if(1&t&&cs(0,"app-paginator",22),2&t){var n=Ms();os("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,$N,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var vH=function(t){return{"paginator-icons-fixer":t}},_H=function(){function t(t,e,n,i,r,a){var o=this;this.appsService=t,this.dialog=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.listId="ap",this.stateSortData=new VE(["status"],"apps.apps-list.state",zE.NumberReversed),this.nameSortData=new VE(["name"],"apps.apps-list.app-name",zE.Text),this.portSortData=new VE(["port"],"apps.apps-list.port",zE.Number),this.autoStartSortData=new VE(["autostart"],"apps.apps-list.auto-start",zE.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:TE.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:TE.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:TE.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:TE.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new WE(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){o.recalculateElementsToShow()})),this.dataFilterer=new gP(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){o.filteredApps=t,o.dataSorter.setData(o.filteredApps)})),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),o.currentPageInUrl=e,o.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredApps)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"apps",{set:function(t){this.allApps=t||[],this.dataFilterer.setData(this.allApps)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},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=SE.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=SE.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"}),DE.openDialog(this.dialog,n,"common.options").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=SE.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=SE.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(){n.refreshAgain=!0,uI.refreshCurrentDisplayedData()}),50),n.snackbarService.showDone("apps.operation-completed")}),(function(t){t=Mx(t),setTimeout((function(){n.refreshAgain=!0,uI.refreshCurrentDisplayedData()}),50),e?e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):n.snackbarService.showError(t)})))},t.prototype.viewLogs=function(t){1===t.status?UF.openDialog(this.dialog,t):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")},t.prototype.config=function(t){"skysocks"===t.name||"vpn-server"===t.name?KF.openDialog(this.dialog,t):"skysocks-client"===t.name||"vpn-client"===t.name?zN.openDialog(this.dialog,t):this.snackbarService.showError("apps.error")},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredApps){var e=this.showShortList_?xx.maxShortListElements:xx.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.appsToShow=this.filteredApps.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,this.refreshAgain&&(this.refreshAgain=!1,setTimeout((function(){return uI.refreshCurrentDisplayedData()}),2e3))},t.prototype.startChangingAppState=function(t,e){return this.appsService.changeAppState(uI.getCurrentNodeKey(),t,e)},t.prototype.startChangingAppAutostart=function(t,e){return this.appsService.changeAppAutostart(uI.getCurrentNodeKey(),t,e)},t.prototype.changeAppsValRecursively=function(t,e,n,i){var r,a=this;if(void 0===i&&(i=null),!t||0===t.length)return setTimeout((function(){return uI.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(){a.refreshAgain=!0,uI.refreshCurrentDisplayedData()}),50),a.snackbarService.showDone("apps.operation-completed")):a.changeAppsValRecursively(t,e,n,i)}),(function(t){t=Mx(t),setTimeout((function(){a.refreshAgain=!0,uI.refreshCurrentDisplayedData()}),50),i?i.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):a.snackbarService.showError(t)})))},t.\u0275fac=function(e){return new(e||t)(rs(NF),rs(jx),rs(z_),rs(ub),rs(Sx),rs(hx))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ns(2,WN,3,3,"span",2),ns(3,KN,5,4,"div",3),us(),ls(4,"div",4),ls(5,"div",5),ns(6,JN,3,4,"mat-icon",6),ns(7,ZN,2,1,"mat-icon",7),ls(8,"mat-menu",8,9),ls(10,"div",10),vs("click",(function(){return e.changeAllSelections(!0)})),rl(11),Du(12,"translate"),us(),ls(13,"div",10),vs("click",(function(){return e.changeAllSelections(!1)})),rl(14),Du(15,"translate"),us(),ls(16,"div",11),vs("click",(function(){return e.changeStateOfSelected(!0)})),rl(17),Du(18,"translate"),us(),ls(19,"div",11),vs("click",(function(){return e.changeStateOfSelected(!1)})),rl(20),Du(21,"translate"),us(),ls(22,"div",11),vs("click",(function(){return e.changeAutostartOfSelected(!0)})),rl(23),Du(24,"translate"),us(),ls(25,"div",11),vs("click",(function(){return e.changeAutostartOfSelected(!1)})),rl(26),Du(27,"translate"),us(),us(),us(),ns(28,QN,1,6,"app-paginator",12),us(),us(),ns(29,hH,41,38,"div",13),ns(30,mH,6,3,"div",13),ns(31,gH,1,6,"app-paginator",12)),2&t&&(os("ngClass",wu(32,vH,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Gr(2),os("ngIf",e.showShortList_),Gr(1),os("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Gr(3),os("ngIf",e.allApps&&e.allApps.length>0),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("overlapTrigger",!1),Gr(3),ol(" ",Lu(12,20,"selection.select-all")," "),Gr(3),ol(" ",Lu(15,22,"selection.unselect-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(18,24,"selection.start-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(21,26,"selection.stop-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(24,28,"selection.enable-autostart-all")," "),Gr(2),Ds("disabled",!e.hasSelectedElements()),Gr(1),ol(" ",Lu(27,30,"selection.disable-autostart-all")," "),Gr(2),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Gr(1),os("ngIf",e.dataSource&&e.dataSource.length>0),Gr(1),os("ngIf",!e.dataSource||0===e.dataSource.length),Gr(1),os("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[vh,wh,cO,rO,bh,US,jL,pO,lA,kI,lS,LI],pipes:[px],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}(),yH=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-apps"]],decls:1,vars:3,consts:[[3,"apps","showShortList","nodePK"]],template:function(t,e){1&t&&cs(0,"app-node-app-list",0),2&t&&os("apps",e.apps)("showShortList",!0)("nodePK",e.nodePK)},directives:[_H],styles:[""]}),t}();function bH(t,e){if(1&t&&cs(0,"app-transport-list",1),2&t){var n=Ms();os("transports",n.transports)("showShortList",!1)("nodePK",n.nodePK)}}var kH=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.transports=e.transports}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"transports","showShortList","nodePK",4,"ngIf"],[3,"transports","showShortList","nodePK"]],template:function(t,e){1&t&&ns(0,bH,1,3,"app-transport-list",0),2&t&&os("ngIf",e.transports)},directives:[wh,JY],styles:[""]}),t}();function wH(t,e){if(1&t&&cs(0,"app-route-list",1),2&t){var n=Ms();os("routes",n.routes)("showShortList",!1)("nodePK",n.nodePK)}}var MH=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(t,e){1&t&&ns(0,wH,1,3,"app-route-list",0),2&t&&os("ngIf",e.routes)},directives:[wh,FF],styles:[""]}),t}();function SH(t,e){if(1&t&&cs(0,"app-node-app-list",1),2&t){var n=Ms();os("apps",n.apps)("showShortList",!1)("nodePK",n.nodePK)}}var xH=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(t,e){1&t&&ns(0,SH,1,3,"app-node-app-list",0),2&t&&os("ngIf",e.apps)},directives:[wh,_H],styles:[""]}),t}(),CH=function(){function t(t){this.clipboardService=t,this.copyEvent=new Ou,this.errorEvent=new Ou,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.\u0275fac=function(e){return new(e||t)(rs(LE))},t.\u0275dir=Ve({type:t,selectors:[["","clipboard",""]],hostBindings:function(t,e){1&t&&vs("click",(function(){return e.copyToClipboard()}))},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t}(),DH=function(t){return{text:t}},LH=function(){return{"tooltip-word-break":!0}},TH=function(){function t(t){this.snackbarService=t,this.short=!1,this.shortTextLength=5}return t.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},t.\u0275fac=function(e){return new(e||t)(rs(Sx))},t.\u0275cmp=Fe({type:t,selectors:[["app-copy-to-clipboard-text"]],inputs:{short:"short",text:"text",shortTextLength:"shortTextLength"},decls:6,vars:14,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(t,e){1&t&&(ls(0,"div",0),vs("copyEvent",(function(){return e.onCopyToClipboardClicked()})),Du(1,"translate"),cs(2,"app-truncated-text",1),rl(3," \xa0"),ls(4,"mat-icon",2),rl(5,"filter_none"),us(),us()),2&t&&(os("clipboard",e.text)("matTooltip",Tu(1,8,e.short?"copy.tooltip-with-text":"copy.tooltip",wu(11,DH,e.text)))("matTooltipClass",ku(13,LH)),Gr(2),os("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),Gr(2),os("inline",!0))},directives:[CH,jL,AE,US],pipes:[px],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!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}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.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}']}),t}(),EH=n("WyAD"),PH=["chart"],OH=function(){function t(t){this.differ=t.find([]).create(null)}return t.prototype.ngAfterViewInit=function(){this.chart=new EH.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],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.\u0275fac=function(e){return new(e||t)(rs(Zl))},t.\u0275cmp=Fe({type:t,selectors:[["app-line-chart"]],viewQuery:function(t,e){var n;1&t&&Uu(PH,!0),2&t&&zu(n=Zu())&&(e.chartElement=n.first)},inputs:{data:"data"},decls:3,vars:0,consts:[[1,"chart-container"],["height","100"],["chart",""]],template:function(t,e){1&t&&(ls(0,"div",0),cs(1,"canvas",1,2),us())},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;height:100px;width:100%;overflow:hidden;border-radius:10px}"]}),t}(),AH=function(){return{showValue:!0}},IH=function(){return{showUnit:!0}},YH=function(){function t(t){this.nodeService=t}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe((function(e){t.data=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(rs(fE))},t.\u0275cmp=Fe({type:t,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(t,e){1&t&&(ls(0,"div",0),cs(1,"app-line-chart",1),ls(2,"div",2),ls(3,"span",3),rl(4),Du(5,"translate"),us(),ls(6,"span",4),ls(7,"span",5),rl(8),Du(9,"autoScale"),us(),ls(10,"span",6),rl(11),Du(12,"autoScale"),us(),us(),us(),us(),ls(13,"div",0),cs(14,"app-line-chart",1),ls(15,"div",2),ls(16,"span",3),rl(17),Du(18,"translate"),us(),ls(19,"span",4),ls(20,"span",5),rl(21),Du(22,"autoScale"),us(),ls(23,"span",6),rl(24),Du(25,"autoScale"),us(),us(),us(),us()),2&t&&(Gr(1),os("data",e.data.sentHistory),Gr(3),al(Lu(5,8,"common.uploaded")),Gr(4),al(Tu(9,10,e.data.totalSent,ku(24,AH))),Gr(3),al(Tu(12,13,e.data.totalSent,ku(25,IH))),Gr(3),os("data",e.data.receivedHistory),Gr(3),al(Lu(18,16,"common.downloaded")),Gr(4),al(Tu(22,18,e.data.totalReceived,ku(26,AH))),Gr(3),al(Tu(25,21,e.data.totalReceived,ku(27,IH))))},directives:[OH],pipes:[px,gY],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}"]}),t}(),FH=function(t){return{time:t}};function RH(t,e){if(1&t&&(ls(0,"mat-icon",13),Du(1,"translate"),rl(2," info "),us()),2&t){var n=Ms(2);os("inline",!0)("matTooltip",Tu(1,2,"node.details.node-info.time.minutes",wu(5,FH,n.timeOnline.totalMinutes)))}}function NH(t,e){1&t&&(ds(0),cs(1,"i",15),rl(2),Du(3,"translate"),hs()),2&t&&(Gr(2),ol(" ",Lu(3,1,"common.ok")," "))}function HH(t,e){if(1&t&&(ds(0),cs(1,"i",16),rl(2),Du(3,"translate"),hs()),2&t){var n=Ms().$implicit;Gr(2),ol(" ",n.originalValue?n.originalValue:Lu(3,1,"node.details.node-health.element-offline")," ")}}function jH(t,e){if(1&t&&(ls(0,"span",4),ls(1,"span",5),rl(2),Du(3,"translate"),us(),ns(4,NH,4,3,"ng-container",14),ns(5,HH,4,3,"ng-container",14),us()),2&t){var n=e.$implicit;Gr(2),al(Lu(3,3,n.name)),Gr(2),os("ngIf",n.isOk),Gr(1),os("ngIf",!n.isOk)}}function BH(t,e){if(1&t){var n=ps();ls(0,"div",1),ls(1,"div",2),ls(2,"span",3),rl(3),Du(4,"translate"),us(),ls(5,"span",4),ls(6,"span",5),rl(7),Du(8,"translate"),us(),ls(9,"span",6),vs("click",(function(){return Cn(n),Ms().showEditLabelDialog()})),rl(10),ls(11,"mat-icon",7),rl(12,"edit"),us(),us(),us(),ls(13,"span",4),ls(14,"span",5),rl(15),Du(16,"translate"),us(),cs(17,"app-copy-to-clipboard-text",8),us(),ls(18,"span",4),ls(19,"span",5),rl(20),Du(21,"translate"),us(),cs(22,"app-copy-to-clipboard-text",8),us(),ls(23,"span",4),ls(24,"span",5),rl(25),Du(26,"translate"),us(),cs(27,"app-copy-to-clipboard-text",8),us(),ls(28,"span",4),ls(29,"span",5),rl(30),Du(31,"translate"),us(),rl(32),Du(33,"translate"),us(),ls(34,"span",4),ls(35,"span",5),rl(36),Du(37,"translate"),us(),rl(38),Du(39,"translate"),us(),ls(40,"span",4),ls(41,"span",5),rl(42),Du(43,"translate"),us(),rl(44),Du(45,"translate"),ns(46,RH,3,7,"mat-icon",9),us(),us(),cs(47,"div",10),ls(48,"div",2),ls(49,"span",3),rl(50),Du(51,"translate"),us(),ns(52,jH,6,5,"span",11),us(),cs(53,"div",10),ls(54,"div",2),ls(55,"span",3),rl(56),Du(57,"translate"),us(),cs(58,"app-charts",12),us(),us()}if(2&t){var i=Ms();Gr(3),al(Lu(4,20,"node.details.node-info.title")),Gr(4),al(Lu(8,22,"node.details.node-info.label")),Gr(3),ol(" ",i.node.label," "),Gr(1),os("inline",!0),Gr(4),ol("",Lu(16,24,"node.details.node-info.public-key"),"\xa0"),Gr(2),Ds("text",i.node.localPk),Gr(3),ol("",Lu(21,26,"node.details.node-info.port"),"\xa0"),Gr(2),Ds("text",i.node.port),Gr(3),ol("",Lu(26,28,"node.details.node-info.dmsg-server"),"\xa0"),Gr(2),Ds("text",i.node.dmsgServerPk),Gr(3),ol("",Lu(31,30,"node.details.node-info.ping"),"\xa0"),Gr(2),ol(" ",Tu(33,32,"common.time-in-ms",wu(48,FH,i.node.roundTripPing))," "),Gr(4),al(Lu(37,35,"node.details.node-info.node-version")),Gr(2),ol(" ",i.node.version?i.node.version:Lu(39,37,"common.unknown")," "),Gr(4),al(Lu(43,39,"node.details.node-info.time.title")),Gr(2),ol(" ",Tu(45,41,"node.details.node-info.time."+i.timeOnline.translationVarName,wu(50,FH,i.timeOnline.elapsedTime))," "),Gr(2),os("ngIf",i.timeOnline.totalMinutes>60),Gr(4),al(Lu(51,44,"node.details.node-health.title")),Gr(2),os("ngForOf",i.nodeHealthInfo.services),Gr(4),al(Lu(57,46,"node.details.node-traffic-data"))}}var VH,zH,WH,UH=function(){function t(t,e,n){this.dialog=t,this.storageService=e,this.nodeService=n}return Object.defineProperty(t.prototype,"nodeInfo",{set:function(t){this.node=t,this.nodeHealthInfo=this.nodeService.getHealthStatus(t),this.timeOnline=yO.getElapsedTime(t.secondsOnline)},enumerable:!1,configurable:!0}),t.prototype.showEditLabelDialog=function(){var t=this.storageService.getLabelInfo(this.node.localPk);t||(t={id:this.node.localPk,label:"",identifiedElementType:Gb.Node}),mE.openDialog(this.dialog,t).afterClosed().subscribe((function(t){t&&uI.refreshCurrentDisplayedData()}))},t.\u0275fac=function(e){return new(e||t)(rs(jx),rs(Kb),rs(fE))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],["class","info-line",4,"ngFor","ngForOf"],[1,"d-flex","flex-column","justify-content-end","mt-3"],[3,"inline","matTooltip"],[4,"ngIf"],[1,"dot-green"],[1,"dot-red"]],template:function(t,e){1&t&&ns(0,BH,59,52,"div",0),2&t&&os("ngIf",e.node)},directives:[wh,US,TH,bh,YH,jL],pipes:[px],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;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 hsla(0,0%,100%,.15)}"]}),t}(),qH=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=uI.currentNode.subscribe((function(e){t.node=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(t,e){1&t&&cs(0,"app-node-info-content",0),2&t&&os("nodeInfo",e.node)},directives:[UH],styles:[""]}),t}(),GH=function(){return["settings.title","labels.title"]},KH=function(){function t(t){this.router=t,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return t.prototype.performAction=function(t){null===t&&this.router.navigate(["settings"])},t.\u0275fac=function(e){return new(e||t)(rs(ub))},t.\u0275cmp=Fe({type:t,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(t,e){1&t&&(ls(0,"div",0),ls(1,"div",1),ls(2,"app-top-bar",2),vs("optionSelected",(function(t){return e.performAction(t)})),us(),us(),ls(3,"div",3),cs(4,"app-label-list",4),us(),us()),2&t&&(Gr(2),os("titleParts",ku(5,GH))("tabsData",e.tabsData)("showUpdateButton",!1)("returnText",e.returnButtonText),Gr(2),os("showShortList",!1))},directives:[qO,eY],styles:[""]}),t}(),JH=[{path:"",component:vC},{path:"login",component:QT},{path:"nodes",canActivate:[nC],canActivateChild:[nC],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:$A},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:$A},{path:":key",component:uI,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:qH},{path:"routing",component:RF},{path:"apps",component:yH},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:kH},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:MH},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:xH}]}]},{path:"settings",canActivate:[nC],canActivateChild:[nC],children:[{path:"",component:sY},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:KH}]},{path:"**",redirectTo:""}],ZH=function(){function t(){}return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[Cb.forRoot(JH,{useHash:!0})],Cb]}),t}(),$H=function(){function t(){}return t.prototype.getTranslation=function(t){return ot(n("5ey7")("./"+t+".json"))},t}(),QH=function(){function t(){}return t.\u0275mod=je({type:t}),t.\u0275inj=At({factory:function(e){return new(e||t)},imports:[[mx.forRoot({loader:{provide:KS,useClass:$H}})],mx]}),t}(),XH=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.\u0275prov=Ot({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),tj={disabled:!0},ej=function(){function t(){}return t.\u0275mod=je({type:t,bootstrap:[Kx]}),t.\u0275inj=At({factory:function(e){return new(e||t)},providers:[LE,{provide:LS,useValue:{duration:3e3,verticalPosition:"top"}},{provide:Rx,useValue:{width:"600px",hasBackdrop:!0}},{provide:EM,useClass:TM},{provide:Ky,useClass:XH},{provide:HM,useValue:tj}],imports:[[Rf,fg,gL,$g,ZH,QH,DS,Gx,CT,HT,sN,cS,qS,VL,gO,mL,SP,cP,pC,CI]]}),t}();VH=[vh,_h,bh,wh,Oh,Ph,Ch,Dh,Lh,Th,Eh,jD,iD,sD,MC,WC,JC,bC,nD,oD,GC,EC,PC,eL,sL,uL,dL,nL,aL,zD,UD,QD,GD,JD,mb,db,hb,pb,Zy,fx,CS,Fk,Ox,Vx,zx,Wx,Ux,lT,xT,pT,mT,gT,_T,bT,TT,ET,NT,OT,JR,YR,HR,iN,oN,AR,lS,uS,US,jL,BL,jk,cO,rO,pO,eO,HD,FD,PD,wP,uP,lP,QM,GM,hC,fC,kI,MI,Kx,vC,QT,$A,uI,UF,JY,_H,TH,sY,qT,CH,AL,mE,xL,OH,YH,FF,RF,yH,mY,tI,nF,dI,gC,LO,LI,kH,MH,xH,lA,qO,ME,vY,jF,bx,GT,JT,$T,AE,UH,qH,DE,KF,zN,mP,BE,KH,eY,JP,iY,tR,cR,hR],zH=[Rh,Bh,Nh,qh,nf,Zh,$h,jh,Qh,Vh,Wh,Uh,Kh,px,gY],(WH=uI.\u0275cmp).directiveDefs=function(){return VH.map(Re)},WH.pipeDefs=function(){return zH.map(Ne)},function(){if(nr)throw new Error("Cannot enable prod mode after platform setup.");er=!1}(),Yf().bootstrapModule(ej).catch((function(t){return console.log(t)}))},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},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",{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_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_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\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [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 diff --git a/static/skywire-manager-src/dist/polyfills-es5.0dd9564c0b13020b755a.js b/static/skywire-manager-src/dist/polyfills-es5.0dd9564c0b13020b755a.js deleted file mode 100644 index c08870e62..000000000 --- a/static/skywire-manager-src/dist/polyfills-es5.0dd9564c0b13020b755a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"+rLv":function(t,e,n){var r=n("dyZX").document;t.exports=r&&r.documentElement},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0/R4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0TWp":function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}var a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var c=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==j.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return I},enumerable:!0,configurable:!0}),e.__load_patch=function(o,i){if(j.hasOwnProperty(o)){if(a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var c="Zone:"+o;n(c),j[o]=i(t,e,M),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state!==w||t.type!==A&&t.type!==T){var r=t.state!=E;r&&t._transitionTo(E,x),t.runCount++;var o=I;I=t,P={parent:P,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==w&&t.state!==S&&(t.type==A||t.data&&t.data.isPeriodic?r&&t._transitionTo(x,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(w,E,w))),P=P.parent,I=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(k,w);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(S,k,w),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(x,k),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(O,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(A,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(_,x,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,_),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,_),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===A&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),C++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==C&&m(),C--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(w,k)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==w&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===C&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,m)}else t[p](m,0);e&&d.push(e)}function m(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=u(t[n],e+"_"+n));return t}function g(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),b=!m&&!y&&!(!l||!p.HTMLElement),w=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!l||!p.HTMLElement),k={},x=function(t){if(t=t||h.event){var e=k[t.type];e||(e=k[t.type]=f("ON_PROPERTY"+t.type));var n,r=this||t.target||h,o=r[e];if(b&&r===p&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function E(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=f("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),l=k[s];l||(l=k[s]=f("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==h||(e=h),e&&(e[l]&&e.removeEventListener(s,x),u&&u.apply(e,v),"function"==typeof t?(e[l]=t,e.addEventListener(s,x,!1)):e[l]=null)},i.get=function(){var t=this;if(t||n!==h||(t=h),!t)return null;var e=t[l];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function _(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?s(i.name,r[i.cbIdx],i,o):t.apply(e,r)}}))}function j(t,e){t[f("OriginalDelegate")]=e}var M=!1,P=!1;function I(){try{var t=p.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function C(){if(M)return P;M=!0;try{var t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(P=!0)}catch(e){}return P}Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=f("OriginalDelegate"),r=f("Promise"),o=f("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}}));var D=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(wt){D=!1}var N={useG:!0},L={},Z={},F=new RegExp("^"+c+"(\\w+)(true|false)$"),z=f("propagationStopped");function G(t,e){var n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=c+n,i=c+r;L[t]={},L[t].false=o,L[t].true=i}function q(t,e,r){var o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",u=r&&r.rmAll||"removeAllListeners",s=f(o),l="."+o+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[L[e.type].false];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",(function(n,i,a){a.patchOnProperties=_,a.patchMethod=T,a.bindArguments=d,a.patchMacroTask=A;var s=i.__symbol__("BLACK_LISTED_EVENTS"),f=i.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[s]=n[f]),n[s]&&(i[s]=i[f]=n[s]),a.patchEventPrototype=U,a.patchEventTarget=q,a.isIEOrEdge=C,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=O,a.wrapWithCurrentZone=u,a.filterProperties=ct,a.attachOriginToPatched=j,a._redefineProperty=Object.defineProperty,a.patchCallbacks=Y,a.getGlobalObjects=function(){return{globalSources:Z,zoneSymbolEventNames:L,eventNames:at,isBrowser:b,isMix:w,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})),function(t){t[(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var e=t.Zone;e.__load_patch("defineProperty",(function(t,e,n){n._redefineProperty=lt,ft()})),e.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),e.__load_patch("EventTargetLegacy",(function(t,e,n){dt(t,n),gt(n,t)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var yt=f("zoneTask");function mt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[yt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=T(t,e+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var f=s(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!f)return f;var l=f.data.handleId;return"number"==typeof l?a[l]=f:l&&(l[yt]=f),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),"number"==typeof l||l?l:f}return n.apply(t,i)}})),i=T(t,n,(function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[yt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[yt]=null),o.zone.cancelTask(o)):e.apply(t,r)}}))}function bt(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=u[e.__symbol__("loadfalse")],i=0;i"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"3Lyj":function(t,e,n){var r=n("KroJ");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("ezU2"),v=n("Ox9q").set,d=n("tuHh"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,b="process"==h(y),w=p(l,"queueMicrotask"),k=w&&w.value;k||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!d?(c=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=k||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"45Tv":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,c=r.get,u=r.key,s=function(t,e,n){if(a(t,e,n))return c(t,e,n);var r=i(e);return null!==r?s(t,r,n):void 0};r.exp({getMetadata:function(t,e){return s(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},"49D4":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),c=n("Z6vF"),u=n("SlkY"),s=n("9gX7"),f=n("0/R4"),l=n("eeVq"),p=n("XMVh"),h=n("fyDq"),v=n("Xbzi");t.exports=function(t,e,n,d,g,y){var m=r[t],b=m,w=g?"set":"add",k=b&&b.prototype,x={},E=function(t){var e=k[t];i(k,t,"delete"==t||"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(y||k.forEach&&!l((function(){(new b).entries().next()})))){var _=new b,S=_[w](y?{}:-0,1)!=_,O=l((function(){_.has(1)})),T=p((function(t){new b(t)})),A=!y&&l((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((b=e((function(e,n){s(e,b,t);var r=v(new m,e,b);return null!=n&&u(n,g,r[w],r),r}))).prototype=k,k.constructor=b),(O||A)&&(E("delete"),E("has"),g&&E("get")),(A||S)&&E(w),y&&k.clear&&delete k.clear}else b=d.getConstructor(e,t,g,w),a(b.prototype,n),c.NEED=!0;return h(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=m),x),y||d.setStrong(b,t,g),b}},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"6FMO":function(t,e,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},"6XUM":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"6fhQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("Neub"),i=n("VCQ8"),a=n("rG8t"),c=n("6CJb"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},"6lQQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").indexOf,i=n("6CJb"),a=n("w2hq"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9AAn":function(t,e,n){"use strict";var r=n("wmvG"),o=n("s5qY");t.exports=n("4LiD")("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),f=n("OP3Y"),l=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,g,y){u(n,e,v);var m,b,w,k=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",E="values"==d,_=!1,S=t.prototype,O=S[l]||S["@@iterator"]||d&&S[d],T=O||k(d),A=d?E?k("entries"):T:void 0,j="Array"==e&&S.entries||O;if(j&&(w=f(j.call(new t)))!==Object.prototype&&w.next&&(s(w,x,!0),r||"function"==typeof w[l]||a(w,l,h)),E&&O&&"values"!==O.name&&(_=!0,T=function(){return O.call(this)}),r&&!y||!p&&!_&&S[l]||a(S,l,T),c[e]=T,c[x]=h,d)if(m={values:E?T:k("values"),keys:g?T:k("keys"),entries:A},y)for(b in m)b in S||i(S,b,m[b]);else o(o.P+o.F*(p||_),e,m);return m}},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},BaTD:function(t,e,n){n("wA6s")({target:"String",proto:!0},{repeat:n("EMWV")})},BcWx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("DYg9");r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},BqfV:function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CkkT:function(t,e,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,v){for(var d,g,y=i(e),m=o(y),b=r(c,v,3),w=a(m.length),k=0,x=n?h(e,w):u?h(e,0):void 0;w>k;k++)if((p||k in m)&&(g=b(d=m[k],k,y),t))if(n)x[k]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return k;case 2:x.push(d)}else if(f)return!1;return l?-1:s||f?f:x}}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var k,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(b?l((function(){m.valueOf.call(n)})):"Number"!=u(n))?s(new y(w(e)),n,x):w(e)},E=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;E.length>_;_++)c(y,k=E[_])&&!c(x,k)&&d(x,k,v(y,k));x.prototype=m,m.constructor=x,a(o,"Number",x)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)})),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DVgA:function(t,e,n){var r=n("zhAb"),o=n("4R4u");t.exports=Object.keys||function(t){return r(t,o)}},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0?arguments[0]:void 0)}},y={get:function(t){if(s(t)){var e=p(t);return!0===e?v(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(l(this,"WeakMap"),t,e)}},m=t.exports=n("4LiD")("WeakMap",g,y,u,!0,!0);f((function(){return 7!=(new m).set((Object.freeze||Object)(d),7).get(d)}))&&(c((r=u.getConstructor(g,"WeakMap")).prototype,y),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=m.prototype,n=e[t];i(e,t,(function(e,o){if(s(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},EMWV:function(t,e,n){"use strict";var r=n("vDBE"),o=n("hmpk");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(n){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},FJW5:function(t,e,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},FZcq:function(t,e,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),t.exports=n("g3g5").Reflect},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("wIVT"),c=n("aJMj"),u=n("OG5q"),s=n("m41k"),f=n("g9hI"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
      ")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},"I8a+":function(t,e,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),w=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>w;w++)h=m?y(v[w],w):v[w],u(n,w,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;w++)h=m?i(l,y,[f.value,w],!0):f.value,u(n,w,h);return n.length=w,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c1?arguments[1]:void 0)}})},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},Iw71:function(t,e,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},"J+6e":function(t,e,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");t.exports=n("g3g5").getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},K0xU:function(t,e,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KroJ:function(t,e,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=Function.toString,u=(""+c).split("toString");n("g3g5").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},KsdI:function(t,e,n){n("94Vg")("iterator")},Kuth:function(t,e,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var t,e=n("Iw71")("iframe"),r=i.length;for(e.style.display="none",n("+rLv").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("