diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5c4240549..0ce6031700 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements run: | @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements run: | @@ -48,7 +48,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements shell: pwsh diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e125484f8..fdcf7f1519 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements run: | @@ -25,7 +25,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements run: | @@ -44,7 +44,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20.x + go-version: 1.21.x - uses: actions/checkout@v3 - name: Install Requirements run: | diff --git a/go.mod b/go.mod index f6cabfc629..bf7b33efa2 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/skycoin/skywire -go 1.18 +go 1.21 + +toolchain go1.21.3 require ( github.com/AudriusButkevicius/pfilter v0.0.11 @@ -25,9 +27,9 @@ require ( github.com/orandin/lumberjackrus v1.0.1 github.com/pterm/pterm v0.12.66 github.com/sirupsen/logrus v1.9.3 - github.com/skycoin/dmsg v1.3.12-0.20231120175607-0b6d5135bbc5 + github.com/skycoin/dmsg v1.3.14 github.com/skycoin/skycoin v0.27.1 - github.com/skycoin/skywire-utilities v0.0.0-20231120175000-12be4345eb26 + github.com/skycoin/skywire-utilities v1.3.14 github.com/skycoin/systray v1.10.0 github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 github.com/spf13/cobra v1.7.0 diff --git a/go.sum b/go.sum index 8b48a29ad3..5307a88a02 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,5 @@ atomicgo.dev/assert v0.0.2 h1:FiKeMiZSgRrZsPo9qn/7vmr7mCsh5SZyXY4YGYiYwrg= +atomicgo.dev/assert v0.0.2/go.mod h1:ut4NcI3QDdJtlmAxQULOmA13Gz6e2DWbSAS8RUOmNYQ= atomicgo.dev/cursor v0.2.0 h1:H6XN5alUJ52FZZUkI7AlJbUc1aW38GWZalpYRPpoPOw= atomicgo.dev/cursor v0.2.0/go.mod h1:Lr4ZJB3U7DfPPOkbH7/6TOtJ4vFGHlgj1nc+n900IpU= atomicgo.dev/keyboard v0.2.9 h1:tOsIid3nlPLZ3lwgG8KZMp/SFmr7P0ssEN5JUsm78K8= @@ -22,6 +23,7 @@ github.com/MarvinJWendt/testza v0.2.12/go.mod h1:JOIegYyV7rX+7VZ9r77L/eH6CfJHHzX github.com/MarvinJWendt/testza v0.3.0/go.mod h1:eFcL4I0idjtIx8P9C6KkAuLgATNKpX4/2oUqKc6bF2c= github.com/MarvinJWendt/testza v0.4.2/go.mod h1:mSdhXiKH8sg/gQehJ63bINcCKp7RtYewEjXsvsVUPbE= github.com/MarvinJWendt/testza v0.5.2 h1:53KDo64C1z/h/d/stCYCPY69bt/OSwjq5KpFNwi+zB4= +github.com/MarvinJWendt/testza v0.5.2/go.mod h1:xu53QFE5sCdjtMCKk8YMQ2MnymimEctc4n3EjyIYvEY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= @@ -68,6 +70,7 @@ github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/frankban/quicktest v1.14.5 h1:dfYrrRyLtiqT9GyKXgdh+k4inNeTvmGbuSgZ3lx3GhA= +github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= github.com/gen2brain/dlgs v0.0.0-20220603100644-40c77870fa8d h1:dHYKX8CBAs1zSGXm3q3M15CLAEwPEkwrK1ed8FCo+Xo= @@ -82,11 +85,13 @@ github.com/gin-gonic/gin v1.9.1/go.mod h1:hPrL7YrpYKXt5YId3A/Tnip5kqbEAP+KLuI3SU github.com/go-chi/chi/v5 v5.0.10 h1:rLz5avzKpjqxrYwXNfmjkrYYXOyLJd37pz53UFHC6vk= github.com/go-chi/chi/v5 v5.0.10/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= +github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= @@ -100,10 +105,13 @@ github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEe github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo= github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU= +github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= +github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= github.com/gobwas/ws v1.2.1 h1:F2aeBZrm2NDsc7vbovKrWSogd4wvfAxg0FQ89/iqOTk= +github.com/gobwas/ws v1.2.1/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/gocarina/gocsv v0.0.0-20230616125104-99d496ca653d h1:KbPOUXFUDJxwZ04vbmDOc3yuruGvVO+LOa7cVER3yWw= github.com/gocarina/gocsv v0.0.0-20230616125104-99d496ca653d/go.mod h1:5YoVOkjYAQumqlV356Hj3xeYh4BdZuLE0/nRkf2NKkI= github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU= @@ -126,7 +134,9 @@ github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvq github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= +github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -228,6 +238,7 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY github.com/onsi/ginkgo/v2 v2.12.0 h1:UIVDowFPwpg6yMUpPjGkYvf06K3RAiJXUhCxEwQVHRI= github.com/onsi/ginkgo/v2 v2.12.0/go.mod h1:ZNEzXISYlqpb8S36iN71ifqLi3vVD1rVJGvWRCJOUpQ= github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= github.com/orandin/lumberjackrus v1.0.1 h1:7ysDQ0MHD79zIFN9/EiDHjUcgopNi5ehtxFDy8rUkWo= github.com/orandin/lumberjackrus v1.0.1/go.mod h1:xYLt6H8W93pKnQgUQaxsApS0Eb4BwHLOkxk5DVzf5H0= github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0= @@ -257,20 +268,21 @@ github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rogpeppe/go-internal v1.10.1-0.20230524175051-ec119421bb97 h1:3RPlVWzZ/PDqmVuf/FKHARG5EMid/tl7cv54Sw/QRVY= +github.com/rogpeppe/go-internal v1.10.1-0.20230524175051-ec119421bb97/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skycoin/dmsg v1.3.12-0.20231120175607-0b6d5135bbc5 h1:yGTInFb9SqchM5w0RrFA4vgq9tzhKQStURpetUor+4s= -github.com/skycoin/dmsg v1.3.12-0.20231120175607-0b6d5135bbc5/go.mod h1:HPGbmjaaKzGGOL8B0Rksc9+asBEAjnmPkJ2t1Hfl+uI= +github.com/skycoin/dmsg v1.3.14 h1:UK3/XxMFoG9xEabJ25u0jJiu143BsBhVM5tXY/gl8YI= +github.com/skycoin/dmsg v1.3.14/go.mod h1:r49d63rqTsiUUj2JG9P9Sl3MkmMbO9+YuB19vGQOfHE= github.com/skycoin/noise v0.0.0-20180327030543-2492fe189ae6 h1:1Nc5EBY6pjfw1kwW0duwyG+7WliWz5u9kgk1h5MnLuA= github.com/skycoin/noise v0.0.0-20180327030543-2492fe189ae6/go.mod h1:UXghlricA7J3aRD/k7p/zBObQfmBawwCxIVPVjz2Q3o= github.com/skycoin/skycoin v0.27.1 h1:HatxsRwVSPaV4qxH6290xPBmkH/HgiuAoY2qC+e8C9I= github.com/skycoin/skycoin v0.27.1/go.mod h1:78nHjQzd8KG0jJJVL/j0xMmrihXi70ti63fh8vXScJw= -github.com/skycoin/skywire-utilities v0.0.0-20231120175000-12be4345eb26 h1:5eFvqawoCK9vZnDlwDbOPUUy1Fxuw1Y0KPe03gwmdhs= -github.com/skycoin/skywire-utilities v0.0.0-20231120175000-12be4345eb26/go.mod h1:X5H+fKC3rD11/sm4t9V2FWy/aet7OdEilaO2Ar3waXY= +github.com/skycoin/skywire-utilities v1.3.14 h1:AzTV3oiij7b2VgpiZHJj/oy4Tojf22I+r50Riza8Xt0= +github.com/skycoin/skywire-utilities v1.3.14/go.mod h1:yFKWpL1bDRPKU3uK+cTF4PnYUMe+eyIj5N2bk4sF5Cw= github.com/skycoin/systray v1.10.0 h1:fQZJHMylpVvfmOOTLvUssfyHVDoC8Idx6Ba2BlLEuGg= github.com/skycoin/systray v1.10.0/go.mod h1:/i17Eni5GxFiboIZceeamY5LktDSFFRCvd3fBMerQ+4= github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 h1:TG/diQgUe0pntT/2D9tmUCz4VNwm9MfrtPr0SU2qSX8= @@ -461,6 +473,7 @@ google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqw gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc= gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc= gopkg.in/yaml.v1 v1.0.0-20140924161607-9f9df34309c0/go.mod h1:WDnlLJ4WF5VGsH/HVa3CI79GS0ol3YnhVnKP89i0kNg= @@ -474,6 +487,7 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gvisor.dev/gvisor v0.0.0-20221203005347-703fd9b7fbc0 h1:Wobr37noukisGxpKo5jAsLREcpj61RxrWYzD8uwveOY= +gvisor.dev/gvisor v0.0.0-20221203005347-703fd9b7fbc0/go.mod h1:Dn5idtptoW1dIos9U6A2rpebLs/MtTwFacjKb8jLdQA= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= howett.net/plist v1.0.0 h1:7CrbWYbPPO/PyNy38b2EB/+gYbjCe2DXBxgtOOZbSQM= diff --git a/pkg/visor/static/268.755c45a9f3e6ecc6.js b/pkg/visor/static/268.755c45a9f3e6ecc6.js new file mode 100644 index 0000000000..fc348fcdd2 --- /dev/null +++ b/pkg/visor/static/268.755c45a9f3e6ecc6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{4268: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.","data-update-problems":"Problema actualizando los datos."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","go-to-settings":"Ir a la configuraci\xf3n","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","loading-error":"Hubo un error obteniendo los datos iniciales. Reintentando..."},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","logs":{"title":"Registros de operaci\xf3n","no-logs":"No se encontraron registros de operaci\xf3n para este visor.","no-logs-for-filter":"No hay registros de operaci\xf3n que coincidan con el filtro seleccionado.","view-all":"Ver todos los registros en formato original >","view-rest":"Ver los {{ number }} elementos en formato original >","selected-filter":"Mostrando:","filter-ignored":"En filtro excluy\xf3 {{ number }} registros","filter-title":"Filtro","filter-all":"Todos los registros","filter-debug":"Debug o m\xe1s importante","filter-info":"Info o m\xe1s importante","filter-warning":"Warning o m\xe1s importante","filter-error":"Error o m\xe1s importante","filter-faltal":"Faltal o m\xe1s importante","filter-panic":"Panic"},"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:","no-dmsg-server":"No connectado","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"}},"rewards-info":{"title":"Informaci\xf3n de Recompensas","rewards-address":"Direcci\xf3n de recompensas:","not-registered":"No registrado","not-registered-info":"No ha especificado una direcci\xf3n de Skycoin para recibir recompensas para este visor. Si quiere registrar el visor para recibir recompensas, presione el bot\xf3n \\"Establecer direcci\xf3n\\" e introduzca la una direcci\xf3n de Skycoin.","open-in-explorer":"Abrir en el explorador de blockchain","set-address-button":"Establecer direcci\xf3n","change-address-button":"Cambiar direcci\xf3n"},"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..."},"rewards-address-config":{"title":"Configuraci\xf3n de direcci\xf3n de recompensas","info":"Aqu\xed usted puede establecer la direcci\xf3n de Skycoin a la que quiere que se env\xeden las recompensas. Si deja la direcci\xf3n vac\xeda, el registro ser\xe1 eliminado y el visor no recibir\xe1 recompensas.","more-info-link":"(M\xe1s informaci\xf3n acerca del sistema de recompensas)","address":"Direcci\xf3n ","address-error":"Por favor, coloque una direcci\xf3n Skycoin valida.","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados.","empty-warning":"La direcci\xf3n est\xe1 vac\xeda, as\xed que el registro ser\xe1 eliminado y no recibir\xe1 recompensas. \xbfRealmente desea continuar?"},"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","min-hops-error":"Por favor, coloque un n\xfamero valido.","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","modify-rewards-all":"Cambiar direcci\xf3n de recompensas","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.","no-visors-to-modify":"No hay visores para modificar.","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"}}},"bulk-rewards":{"title":"Cambiar direcci\xf3n de recompensas","info":"Introduzca la direcci\xf3n de Skycoin donde desea recibir las recompensas. La direcci\xf3n ser\xe1 establecida en todos los visores seleccionados. Si deja la direcci\xf3n vac\xeda, el registro ser\xe1 eliminado y los visores no recibir\xe1n recompensas. Tambi\xe9n puede colocar la direcci\xf3n de recompensas de cada visor individualmente usando la opci\xf3n en la pantalla de detalles del visor.","more-info-link":"(M\xe1s informaci\xf3n acerca del sistema de recompensas)","address":"Nueva direcci\xf3n","select-visors":"Visores a modificar:","current-address":"Direcci\xf3n actual:","not-registered":"Ninguna (no registrado para recompensas).","checking":"Consultando...","error-checking":"Error consultando:","processing":"Procesando...","error-processing":"Error realizando el cambio:","done":"Cambio realizado.","perform-changes":"Aplicar cambios","empty-warning":"La direcci\xf3n est\xe1 vac\xeda, as\xed que los registros ser\xe1n eliminados y no recibir\xe1 recompensas. \xbfRealmente desea continuar?"},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","checking-auth":"Revisando configuraci\xf3n de autenticaci\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","turn-off":"Apagar","logs":"Ver logs"},"update":{"confirmation":"Una terminal ser\xe1 abierta en una nueva pesta\xf1a y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente. \xbfDesea continuar?"},"turn-off":{"confirmation":"\xbfSeguro que desea apagar el visor?","done":"El visor se est\xe1 apagando."},"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"},"update-all":{"title":"Actualizar","updatable-list-text":"Por favor, presione los botones de los visores que desea actualizar. Una terminal ser\xe1 abierta en una nueva pesta\xf1a por cada visor y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente.","non-updatable-list-text":"Los siguientes visores no pueden ser actualizados v\xeda la terminal:","update-button":"Actualizar"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","view-all":"Ver todas las {{ totalLogs }} entradas","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","title-official":"Aplicaciones Oficiales","title-user":"Aplicaciones de Usuario","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty-official":"El visor no tiene ninguna aplicaci\xf3n oficial.","empty-user":"El visor no tiene ninguna aplicaci\xf3n de usuario.","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"}}},"user-app-settings":{"title":"{{ name }} (Configuraci\xf3n)","info":"Aqu\xed puede editar la configuraci\xf3n de la app como pares nombre-valor. Por favor, revise la documentaci\xf3n de la aplicaci\xf3n para ver cu\xe1les configuraciones y valores soporta esta app.","name":"Nombre {{ number }}","value":"Valor {{ number }}","remove":"Remover","add":"Agregar configuraci\xf3n","save":"Guardar","invalid-confirmation":"Una o m\xe1s configuraciones no tienen nombre y ser\xe1n ignoradas. \xbfDesea continuar?","empty-confirmation":"La lista de configuraci\xf3n est\xe1 vac\xeda. \xbfRealmente desea continuar?","changes-made":"Los cambios han sido realizados."},"skychat-settings":{"title":"Configuraci\xf3n de Skychat","localhost-only":"Permitir acceso s\xf3lo desde la m\xe1quina local","port":"Puerto","save":"Guardar","changes-made":"Los cambios han sido realizados.","port-error":"Debe ser un n\xfamero v\xe1lido entre 1025 y 65536.","non-localhost-confirmation":"Esto permitir\xe1 usar la aplicaci\xf3n desde cualquier lugar en Internet. \xbfSeguro que desea continuar?"},"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","netifc":"Interfaz de red predeterminada (opcional)","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 }}","dns":"Direcci\xf3n IP del servidor DNS personalizado","dns-error":"Valor inv\xe1lido.","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-connecting":"Conectando","status-stopped":"Detenida","status-failed":"Finaliz\xf3 con el siguiente error: {{ error }}","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-connecting-tooltip":"La aplicaci\xf3n est\xe1 actualmente conectando","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"La app finaliz\xf3 con el siguiente error: {{ error }}"},"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.","dns":"Servidor DNS personalizado","dns-info":"Permite usar un servidor DNS personalizado, lo que podr\xeda mejorar la privacidad y prevenir que algunos sitios sean bloqueados por el servidor DNS por defecto de su proveedor.","setting-none":"Ninguno","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)"}},"dns-config":{"title":"Servidor DNS personalizado","ip":"Direcci\xf3n IP del servidor DNS personalizado","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/268.c0b8e83e0a291a52.js b/pkg/visor/static/268.c0b8e83e0a291a52.js deleted file mode 100644 index a2ee859834..0000000000 --- a/pkg/visor/static/268.c0b8e83e0a291a52.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{4268: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","go-to-settings":"Ir a la configuraci\xf3n","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","loading-error":"Hubo un error obteniendo los datos iniciales. Reintentando..."},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","logs":{"title":"Registros de operaci\xf3n","no-logs":"No se encontraron registros de operaci\xf3n para este visor.","no-logs-for-filter":"No hay registros de operaci\xf3n que coincidan con el filtro seleccionado.","view-all":"Ver todos los registros en formato original >","view-rest":"Ver los {{ number }} elementos en formato original >","selected-filter":"Mostrando:","filter-ignored":"En filtro excluy\xf3 {{ number }} registros","filter-title":"Filtro","filter-all":"Todos los registros","filter-debug":"Debug o m\xe1s importante","filter-info":"Info o m\xe1s importante","filter-warning":"Warning o m\xe1s importante","filter-error":"Error o m\xe1s importante","filter-faltal":"Faltal o m\xe1s importante","filter-panic":"Panic"},"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:","no-dmsg-server":"No connectado","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"}},"rewards-info":{"title":"Informaci\xf3n de Recompensas","rewards-address":"Direcci\xf3n de recompensas:","not-registered":"No registrado","not-registered-info":"No ha especificado una direcci\xf3n de Skycoin para recibir recompensas para este visor. Si quiere registrar el visor para recibir recompensas, presione el bot\xf3n \\"Establecer direcci\xf3n\\" e introduzca la una direcci\xf3n de Skycoin.","open-in-explorer":"Abrir en el explorador de blockchain","set-address-button":"Establecer direcci\xf3n","change-address-button":"Cambiar direcci\xf3n"},"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..."},"rewards-address-config":{"title":"Configuraci\xf3n de direcci\xf3n de recompensas","info":"Aqu\xed usted puede establecer la direcci\xf3n de Skycoin a la que quiere que se env\xeden las recompensas. Si deja la direcci\xf3n vac\xeda, el registro ser\xe1 eliminado y el visor no recibir\xe1 recompensas.","more-info-link":"(M\xe1s informaci\xf3n acerca del sistema de recompensas)","address":"Direcci\xf3n ","address-error":"Por favor, coloque una direcci\xf3n Skycoin valida.","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados.","empty-warning":"La direcci\xf3n est\xe1 vac\xeda, as\xed que el registro ser\xe1 eliminado y no recibir\xe1 recompensas. \xbfRealmente desea continuar?"},"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","min-hops-error":"Por favor, coloque un n\xfamero valido.","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","modify-rewards-all":"Cambiar direcci\xf3n de recompensas","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.","no-visors-to-modify":"No hay visores para modificar.","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"}}},"bulk-rewards":{"title":"Cambiar direcci\xf3n de recompensas","info":"Introduzca la direcci\xf3n de Skycoin donde desea recibir las recompensas. La direcci\xf3n ser\xe1 establecida en todos los visores seleccionados. Si deja la direcci\xf3n vac\xeda, el registro ser\xe1 eliminado y los visores no recibir\xe1n recompensas. Tambi\xe9n puede colocar la direcci\xf3n de recompensas de cada visor individualmente usando la opci\xf3n en la pantalla de detalles del visor.","more-info-link":"(M\xe1s informaci\xf3n acerca del sistema de recompensas)","address":"Nueva direcci\xf3n","select-visors":"Visores a modificar:","current-address":"Direcci\xf3n actual:","not-registered":"Ninguna (no registrado para recompensas).","checking":"Consultando...","error-checking":"Error consultando:","processing":"Procesando...","error-processing":"Error realizando el cambio:","done":"Cambio realizado.","perform-changes":"Aplicar cambios","empty-warning":"La direcci\xf3n est\xe1 vac\xeda, as\xed que los registros ser\xe1n eliminados y no recibir\xe1 recompensas. \xbfRealmente desea continuar?"},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","checking-auth":"Revisando configuraci\xf3n de autenticaci\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","turn-off":"Apagar","logs":"Ver logs"},"update":{"confirmation":"Una terminal ser\xe1 abierta en una nueva pesta\xf1a y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente. \xbfDesea continuar?"},"turn-off":{"confirmation":"\xbfSeguro que desea apagar el visor?","done":"El visor se est\xe1 apagando."},"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"},"update-all":{"title":"Actualizar","updatable-list-text":"Por favor, presione los botones de los visores que desea actualizar. Una terminal ser\xe1 abierta en una nueva pesta\xf1a por cada visor y el proceso de actualizaci\xf3n iniciar\xe1 autom\xe1ticamente.","non-updatable-list-text":"Los siguientes visores no pueden ser actualizados v\xeda la terminal:","update-button":"Actualizar"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","view-all":"Ver todas las {{ totalLogs }} entradas","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","title-official":"Aplicaciones Oficiales","title-user":"Aplicaciones de Usuario","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty-official":"El visor no tiene ninguna aplicaci\xf3n oficial.","empty-user":"El visor no tiene ninguna aplicaci\xf3n de usuario.","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"}}},"user-app-settings":{"title":"{{ name }} (Configuraci\xf3n)","info":"Aqu\xed puede editar la configuraci\xf3n de la app como pares nombre-valor. Por favor, revise la documentaci\xf3n de la aplicaci\xf3n para ver cu\xe1les configuraciones y valores soporta esta app.","name":"Nombre {{ number }}","value":"Valor {{ number }}","remove":"Remover","add":"Agregar configuraci\xf3n","save":"Guardar","invalid-confirmation":"Una o m\xe1s configuraciones no tienen nombre y ser\xe1n ignoradas. \xbfDesea continuar?","empty-confirmation":"La lista de configuraci\xf3n est\xe1 vac\xeda. \xbfRealmente desea continuar?","changes-made":"Los cambios han sido realizados."},"skychat-settings":{"title":"Configuraci\xf3n de Skychat","localhost-only":"Permitir acceso s\xf3lo desde la m\xe1quina local","port":"Puerto","save":"Guardar","changes-made":"Los cambios han sido realizados.","port-error":"Debe ser un n\xfamero v\xe1lido entre 1025 y 65536.","non-localhost-confirmation":"Esto permitir\xe1 usar la aplicaci\xf3n desde cualquier lugar en Internet. \xbfSeguro que desea continuar?"},"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","netifc":"Interfaz de red predeterminada (opcional)","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 }}","dns":"Direcci\xf3n IP del servidor DNS personalizado","dns-error":"Valor inv\xe1lido.","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-connecting":"Conectando","status-stopped":"Detenida","status-failed":"Finaliz\xf3 con el siguiente error: {{ error }}","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-connecting-tooltip":"La aplicaci\xf3n est\xe1 actualmente conectando","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"La app finaliz\xf3 con el siguiente error: {{ error }}"},"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.","dns":"Servidor DNS personalizado","dns-info":"Permite usar un servidor DNS personalizado, lo que podr\xeda mejorar la privacidad y prevenir que algunos sitios sean bloqueados por el servidor DNS por defecto de su proveedor.","setting-none":"Ninguno","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)"}},"dns-config":{"title":"Servidor DNS personalizado","ip":"Direcci\xf3n IP del servidor DNS personalizado","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/502.93f6687395a91953.js b/pkg/visor/static/502.93f6687395a91953.js new file mode 100644 index 0000000000..11a733a061 --- /dev/null +++ b/pkg/visor/static/502.93f6687395a91953.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{502: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.","data-update-problems":"Problem updating the data."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","go-to-settings":"Go to settings","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","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","logs":{"title":"Runtime Logs","no-logs":"No runtime logs were found for this visor.","no-logs-for-filter":"No runtime logs matches the selected filter.","view-all":"View all logs in raw format >","view-rest":"View all {{ number }} elements in raw format >","selected-filter":"Showing:","filter-ignored":"The filter excluded {{ number }} entries","filter-title":"Filter","filter-all":"All logs","filter-debug":"Debug or more important","filter-info":"Info or more important","filter-warning":"Warning or more important","filter-error":"Error or more important","filter-faltal":"Faltal or more important","filter-panic":"Panic"},"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:","no-dmsg-server":"Not connected","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"}},"rewards-info":{"title":"Reward Info","rewards-address":"Reward address:","not-registered":"Not registered","not-registered-info":"You have not specified a Skycoin address for receiving rewards for this visor. If you want to register the visor for receiving rewards, press the \\"Set address\\" button and set a Skycoin address.","open-in-explorer":"Open in blockchain explorer","set-address-button":"Set address","change-address-button":"Change address"},"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..."},"rewards-address-config":{"title":"Reward Address Configuration","info":"Here you can set to which Skycoin address you want the rewards to be sent. If you leave the address empty, the registration will be deleted and the visor will not receive rewards.","more-info-link":"(More info about the reward system)","address":"Address","address-error":"Please enter a valid Skycoin address.","save-config-button":"Save configuration","done":"Changes saved.","empty-warning":"The address in empty, so the registration will be deleted and no rewards will be received. Do you really want to continue?"},"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","min-hops-error":"Please enter a valid number.","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","modify-rewards-all":"Change rewards address","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.","no-visors-to-modify":"There are no visors to modify.","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"}}},"bulk-rewards":{"title":"Change reward address","info":"Enter the Skycoin address where you want to receive the rewards. The address will be set on all the selected visors. If you leave the address empty, the registration will be deleted and the visors will not receive rewards. You can also set the reward address of each node individually using the option on the visor details page.","more-info-link":"(More info about the reward system)","address":"New address","select-visors":"Visors to alter:","current-address":"Current address:","not-registered":"None (not registered on the reward program).","checking":"Checking...","error-checking":"Error checking:","processing":"Processing...","error-processing":"Error making the change:","done":"Change done.","perform-changes":"Perform changes","empty-warning":"The address in empty, so the registrations will be deleted and no rewards will be received. Do you really want to continue?"},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication 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","turn-off":"Turn off","logs":"View logs"},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"turn-off":{"confirmation":"Are you sure you want to turn off the visor?","done":"The visor is shutting down."},"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"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","view-all":"View all {{ totalLogs }} entries","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","title-official":"Official Applications","title-user":"User Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty-official":"This visor doesn\'t have any official applications.","empty-user":"This visor doesn\'t have any user 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"}}},"user-app-settings":{"title":"{{ name }} (Settings)","info":"Here you can edit the app settings as name-value pairs. Please check the application docs to see which settings and values are supported by this app.","name":"Name {{ number }}","value":"Value {{ number }}","remove":"Remove","add":"Add setting","save":"Save","invalid-confirmation":"One or more settings do not have a name and will be ignored. Do you want to continue?","empty-confirmation":"The settings list is empty. Do you really want to continue?","changes-made":"The changes have been made."},"skychat-settings":{"title":"Skychat Settings","localhost-only":"Allow access from the local machine only","port":"Port","save":"Save","changes-made":"The changes have been made.","port-error":"Must be a valid number between 1025 and 65536.","non-localhost-confirmation":"This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"},"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","netifc":"Default network interface (optional)","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 }}","dns":"Custom DNS server IP address","dns-error":"Invalid value.","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-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"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.","dns":"Custom DNS server","dns-info":"Allows to use a custom DNS server, which could improve privacy and prevent sites from being blocked by the default DNS server of your ISP.","setting-none":"None","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)"}},"dns-config":{"title":"Custom DNS server","ip":"Custom DNS server IP address","save-config-button":"Save configuration","done":"Changes saved."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/502.a4e9fc35b045124a.js b/pkg/visor/static/502.a4e9fc35b045124a.js deleted file mode 100644 index 7b8fd9fc2c..0000000000 --- a/pkg/visor/static/502.a4e9fc35b045124a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{502: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","go-to-settings":"Go to settings","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","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","logs":{"title":"Runtime Logs","no-logs":"No runtime logs were found for this visor.","no-logs-for-filter":"No runtime logs matches the selected filter.","view-all":"View all logs in raw format >","view-rest":"View all {{ number }} elements in raw format >","selected-filter":"Showing:","filter-ignored":"The filter excluded {{ number }} entries","filter-title":"Filter","filter-all":"All logs","filter-debug":"Debug or more important","filter-info":"Info or more important","filter-warning":"Warning or more important","filter-error":"Error or more important","filter-faltal":"Faltal or more important","filter-panic":"Panic"},"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:","no-dmsg-server":"Not connected","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"}},"rewards-info":{"title":"Reward Info","rewards-address":"Reward address:","not-registered":"Not registered","not-registered-info":"You have not specified a Skycoin address for receiving rewards for this visor. If you want to register the visor for receiving rewards, press the \\"Set address\\" button and set a Skycoin address.","open-in-explorer":"Open in blockchain explorer","set-address-button":"Set address","change-address-button":"Change address"},"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..."},"rewards-address-config":{"title":"Reward Address Configuration","info":"Here you can set to which Skycoin address you want the rewards to be sent. If you leave the address empty, the registration will be deleted and the visor will not receive rewards.","more-info-link":"(More info about the reward system)","address":"Address","address-error":"Please enter a valid Skycoin address.","save-config-button":"Save configuration","done":"Changes saved.","empty-warning":"The address in empty, so the registration will be deleted and no rewards will be received. Do you really want to continue?"},"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","min-hops-error":"Please enter a valid number.","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","modify-rewards-all":"Change rewards address","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.","no-visors-to-modify":"There are no visors to modify.","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"}}},"bulk-rewards":{"title":"Change reward address","info":"Enter the Skycoin address where you want to receive the rewards. The address will be set on all the selected visors. If you leave the address empty, the registration will be deleted and the visors will not receive rewards. You can also set the reward address of each node individually using the option on the visor details page.","more-info-link":"(More info about the reward system)","address":"New address","select-visors":"Visors to alter:","current-address":"Current address:","not-registered":"None (not registered on the reward program).","checking":"Checking...","error-checking":"Error checking:","processing":"Processing...","error-processing":"Error making the change:","done":"Change done.","perform-changes":"Perform changes","empty-warning":"The address in empty, so the registrations will be deleted and no rewards will be received. Do you really want to continue?"},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication 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","turn-off":"Turn off","logs":"View logs"},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"turn-off":{"confirmation":"Are you sure you want to turn off the visor?","done":"The visor is shutting down."},"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"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","view-all":"View all {{ totalLogs }} entries","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","title-official":"Official Applications","title-user":"User Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty-official":"This visor doesn\'t have any official applications.","empty-user":"This visor doesn\'t have any user 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"}}},"user-app-settings":{"title":"{{ name }} (Settings)","info":"Here you can edit the app settings as name-value pairs. Please check the application docs to see which settings and values are supported by this app.","name":"Name {{ number }}","value":"Value {{ number }}","remove":"Remove","add":"Add setting","save":"Save","invalid-confirmation":"One or more settings do not have a name and will be ignored. Do you want to continue?","empty-confirmation":"The settings list is empty. Do you really want to continue?","changes-made":"The changes have been made."},"skychat-settings":{"title":"Skychat Settings","localhost-only":"Allow access from the local machine only","port":"Port","save":"Save","changes-made":"The changes have been made.","port-error":"Must be a valid number between 1025 and 65536.","non-localhost-confirmation":"This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"},"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","netifc":"Default network interface (optional)","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 }}","dns":"Custom DNS server IP address","dns-error":"Invalid value.","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-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"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.","dns":"Custom DNS server","dns-info":"Allows to use a custom DNS server, which could improve privacy and prevent sites from being blocked by the default DNS server of your ISP.","setting-none":"None","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)"}},"dns-config":{"title":"Custom DNS server","ip":"Custom DNS server IP address","save-config-button":"Save configuration","done":"Changes saved."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/974.09ece36b855cb059.js b/pkg/visor/static/974.09ece36b855cb059.js deleted file mode 100644 index 202f21c744..0000000000 --- a/pkg/visor/static/974.09ece36b855cb059.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{3974: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","go-to-settings":"Go to settings","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","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","logs":{"title":"Runtime Logs","no-logs":"No runtime logs were found for this visor.","no-logs-for-filter":"No runtime logs matches the selected filter.","view-all":"View all logs in raw format >","view-rest":"View all {{ number }} elements in raw format >","selected-filter":"Showing:","filter-ignored":"The filter excluded {{ number }} entries","filter-title":"Filter","filter-all":"All logs","filter-debug":"Debug or more important","filter-info":"Info or more important","filter-warning":"Warning or more important","filter-error":"Error or more important","filter-faltal":"Faltal or more important","filter-panic":"Panic"},"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:","no-dmsg-server":"Not connected","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"}},"rewards-info":{"title":"Reward Info","rewards-address":"Reward address:","not-registered":"Not registered","not-registered-info":"You have not specified a Skycoin address for receiving rewards for this visor. If you want to register the visor for receiving rewards, press the \\"Set address\\" button and set a Skycoin address.","open-in-explorer":"Open in blockchain explorer","set-address-button":"Set address","change-address-button":"Change address"},"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..."},"rewards-address-config":{"title":"Reward Address Configuration","info":"Here you can set to which Skycoin address you want the rewards to be sent. If you leave the address empty, the registration will be deleted and the visor will not receive rewards.","more-info-link":"(More info about the reward system)","address":"Address","address-error":"Please enter a valid Skycoin address.","save-config-button":"Save configuration","done":"Changes saved.","empty-warning":"The address in empty, so the registrations will be deleted and no rewards will be received. Do you really want to continue?"},"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","min-hops-error":"Please enter a valid number.","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","modify-rewards-all":"Change rewards address","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.","no-visors-to-modify":"There are no visors to modify.","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"}}},"bulk-rewards":{"title":"Change reward address","info":"Enter the Skycoin address where you want to receive the rewards. The address will be set on all the selected visors. If you leave the address empty, the registration will be deleted and the visors will not receive rewards. You can also set the reward address of each node individually using the option on the visor details page.","more-info-link":"(More info about the reward system)","address":"New address","select-visors":"Visors to alter:","current-address":"Current address:","not-registered":"None (not registered on the reward program).","checking":"Checking...","error-checking":"Error checking:","processing":"Processing...","error-processing":"Error making the change:","done":"Change done.","perform-changes":"Perform changes","empty-warning":"The address in empty, so the registration will be deleted and no rewards will be received. Do you really want to continue?"},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication 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","turn-off":"Turn off","logs":"View logs"},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"turn-off":{"confirmation":"Are you sure you want to turn off the visor?","done":"The visor is shutting down."},"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"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","view-all":"View all {{ totalLogs }} entries","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","title-official":"Official Applications","title-user":"User Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty-official":"This visor doesn\'t have any official applications.","empty-user":"This visor doesn\'t have any user 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"}}},"user-app-settings":{"title":"{{ name }} (Settings)","info":"Here you can edit the app settings as name-value pairs. Please check the application docs to see which settings and values are supported by this app.","name":"Name {{ number }}","value":"Value {{ number }}","remove":"Remove","add":"Add setting","save":"Save","invalid-confirmation":"One or more settings do not have a name and will be ignored. Do you want to continue?","empty-confirmation":"The settings list is empty. Do you really want to continue?","changes-made":"The changes have been made."},"skychat-settings":{"title":"Skychat Settings","localhost-only":"Allow access from the local machine only","port":"Port","save":"Save","changes-made":"The changes have been made.","port-error":"Must be a valid number between 1025 and 65536.","non-localhost-confirmation":"This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"},"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","netifc":"Default network interface (optional)","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 }}","dns":"Custom DNS server IP address","dns-error":"Invalid value.","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-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"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.","dns":"Custom DNS server","dns-info":"Allows to use a custom DNS server, which could improve privacy and prevent sites from being blocked by the default DNS server of your ISP.","setting-none":"None","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)"}},"dns-config":{"title":"Custom DNS server","ip":"Custom DNS server IP address","save-config-button":"Save configuration","done":"Changes saved."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/974.e57677e8327af0db.js b/pkg/visor/static/974.e57677e8327af0db.js new file mode 100644 index 0000000000..c61019ccdc --- /dev/null +++ b/pkg/visor/static/974.e57677e8327af0db.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{3974: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.","data-update-problems":"Problem updating the data."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","go-to-settings":"Go to settings","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","loading-error":"An error occurred while getting the initial data. Retrying..."},"node":{"title":"Visor details","not-found":"Visor not found.","logs":{"title":"Runtime Logs","no-logs":"No runtime logs were found for this visor.","no-logs-for-filter":"No runtime logs matches the selected filter.","view-all":"View all logs in raw format >","view-rest":"View all {{ number }} elements in raw format >","selected-filter":"Showing:","filter-ignored":"The filter excluded {{ number }} entries","filter-title":"Filter","filter-all":"All logs","filter-debug":"Debug or more important","filter-info":"Info or more important","filter-warning":"Warning or more important","filter-error":"Error or more important","filter-faltal":"Faltal or more important","filter-panic":"Panic"},"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:","no-dmsg-server":"Not connected","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"}},"rewards-info":{"title":"Reward Info","rewards-address":"Reward address:","not-registered":"Not registered","not-registered-info":"You have not specified a Skycoin address for receiving rewards for this visor. If you want to register the visor for receiving rewards, press the \\"Set address\\" button and set a Skycoin address.","open-in-explorer":"Open in blockchain explorer","set-address-button":"Set address","change-address-button":"Change address"},"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..."},"rewards-address-config":{"title":"Reward Address Configuration","info":"Here you can set to which Skycoin address you want the rewards to be sent. If you leave the address empty, the registration will be deleted and the visor will not receive rewards.","more-info-link":"(More info about the reward system)","address":"Address","address-error":"Please enter a valid Skycoin address.","save-config-button":"Save configuration","done":"Changes saved.","empty-warning":"The address in empty, so the registrations will be deleted and no rewards will be received. Do you really want to continue?"},"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","min-hops-error":"Please enter a valid number.","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","modify-rewards-all":"Change rewards address","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.","no-visors-to-modify":"There are no visors to modify.","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"}}},"bulk-rewards":{"title":"Change reward address","info":"Enter the Skycoin address where you want to receive the rewards. The address will be set on all the selected visors. If you leave the address empty, the registration will be deleted and the visors will not receive rewards. You can also set the reward address of each node individually using the option on the visor details page.","more-info-link":"(More info about the reward system)","address":"New address","select-visors":"Visors to alter:","current-address":"Current address:","not-registered":"None (not registered on the reward program).","checking":"Checking...","error-checking":"Error checking:","processing":"Processing...","error-processing":"Error making the change:","done":"Change done.","perform-changes":"Perform changes","empty-warning":"The address in empty, so the registration will be deleted and no rewards will be received. Do you really want to continue?"},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","checking-auth":"Checking authentication 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","turn-off":"Turn off","logs":"View logs"},"update":{"confirmation":"A terminal will be opened in a new tab and the update procedure will be started automatically. Do you want to continue?"},"turn-off":{"confirmation":"Are you sure you want to turn off the visor?","done":"The visor is shutting down."},"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"},"update-all":{"title":"Update","updatable-list-text":"Please press the buttons of the visors you want to update. A terminal will be opened in a new tab for each visor and the update procedure will be started automatically.","non-updatable-list-text":"The following visors can not be updated via the terminal:","update-button":"Update"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","view-all":"View all {{ totalLogs }} entries","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","title-official":"Official Applications","title-user":"User Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty-official":"This visor doesn\'t have any official applications.","empty-user":"This visor doesn\'t have any user 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"}}},"user-app-settings":{"title":"{{ name }} (Settings)","info":"Here you can edit the app settings as name-value pairs. Please check the application docs to see which settings and values are supported by this app.","name":"Name {{ number }}","value":"Value {{ number }}","remove":"Remove","add":"Add setting","save":"Save","invalid-confirmation":"One or more settings do not have a name and will be ignored. Do you want to continue?","empty-confirmation":"The settings list is empty. Do you really want to continue?","changes-made":"The changes have been made."},"skychat-settings":{"title":"Skychat Settings","localhost-only":"Allow access from the local machine only","port":"Port","save":"Save","changes-made":"The changes have been made.","port-error":"Must be a valid number between 1025 and 65536.","non-localhost-confirmation":"This will allow to use the app from anywhere on the internet. Are you sure you vant to continue?"},"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","netifc":"Default network interface (optional)","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 }}","dns":"Custom DNS server IP address","dns-error":"Invalid value.","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-connecting":"Connecting","status-stopped":"Stopped","status-failed":"Ended with the following error: {{ error }}","status-running-tooltip":"App is currently running","status-connecting-tooltip":"App is currently connecting","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"The app finished with the following error: {{ error }}"},"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.","dns":"Custom DNS server","dns-info":"Allows to use a custom DNS server, which could improve privacy and prevent sites from being blocked by the default DNS server of your ISP.","setting-none":"None","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)"}},"dns-config":{"title":"Custom DNS server","ip":"Custom DNS server IP address","save-config-button":"Save configuration","done":"Changes saved."}}}')}}]); \ No newline at end of file diff --git a/pkg/visor/static/assets/i18n/en.json b/pkg/visor/static/assets/i18n/en.json index 7208802ac0..11e95661be 100644 --- a/pkg/visor/static/assets/i18n/en.json +++ b/pkg/visor/static/assets/i18n/en.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Unknown", "close": "Close", - "window-size-error": "The window is too narrow for the content." + "window-size-error": "The window is too narrow for the content.", + "data-update-problems": "Problem updating the data." }, "labeled-element": { diff --git a/pkg/visor/static/assets/i18n/es.json b/pkg/visor/static/assets/i18n/es.json index bfeaa503ba..b7c28e138d 100644 --- a/pkg/visor/static/assets/i18n/es.json +++ b/pkg/visor/static/assets/i18n/es.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Desconocido", "close": "Cerrar", - "window-size-error": "La ventana es demasiado estrecha para el contenido." + "window-size-error": "La ventana es demasiado estrecha para el contenido.", + "data-update-problems": "Problema actualizando los datos." }, "labeled-element": { diff --git a/pkg/visor/static/assets/i18n/es_base.json b/pkg/visor/static/assets/i18n/es_base.json index 702795066f..e3b5cd9133 100644 --- a/pkg/visor/static/assets/i18n/es_base.json +++ b/pkg/visor/static/assets/i18n/es_base.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Unknown", "close": "Close", - "window-size-error": "The window is too narrow for the content." + "window-size-error": "The window is too narrow for the content.", + "data-update-problems": "Problem updating the data." }, "labeled-element": { diff --git a/pkg/visor/static/assets/scss/_responsive_tables.scss b/pkg/visor/static/assets/scss/_responsive_tables.scss index 16a527d3b2..24fd7cb490 100644 --- a/pkg/visor/static/assets/scss/_responsive_tables.scss +++ b/pkg/visor/static/assets/scss/_responsive_tables.scss @@ -306,7 +306,5 @@ $responsive-table-colors: ( // Allows to remove the margin at the right of the last mat-icon element inside // generic-title-container, to make it be shown correctly when there is a paginator. .paginator-icons-fixer { - mat-icon:last-of-type { - margin-right: 0 !important; - } + margin-right: 0 !important; } diff --git a/pkg/visor/static/index.html b/pkg/visor/static/index.html index 63505548ab..2db82b29ce 100644 --- a/pkg/visor/static/index.html +++ b/pkg/visor/static/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/pkg/visor/static/main.4a7fb11987dcc572.js b/pkg/visor/static/main.4a7fb11987dcc572.js deleted file mode 100644 index 4605e9612c..0000000000 --- a/pkg/visor/static/main.4a7fb11987dcc572.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{2904:(de,ge,Y)=>{"use strict";function O(t){return"function"==typeof t}let v=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function f(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;f(t)},complete(){}},M=Array.isArray||(t=>t&&"number"==typeof t.length);function p(t){return null!==t&&"object"==typeof t}const x=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class T{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof T)e.remove(this);else if(null!==e)for(let a=0;an.concat(e instanceof x?e.errors:e),[])}T.EMPTY=((t=new T).closed=!0,t);const S="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class A extends T{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!n){this.destination=h;break}if("object"==typeof n){n instanceof A?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,n,e,i)}}[S](){return this}static create(n,e,i){const o=new A(n,e,i);return o.syncErrorThrowable=!1,o}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class U extends A{constructor(n,e,i,o){super(),this._parentSubscriber=n;let s,a=this;O(e)?s=e:e&&(s=e.next,i=e.error,o=e.complete,e!==h&&(a=Object.create(e),O(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=i,this._complete=o}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=u;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):f(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;f(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw i;f(i)}}__tryOrSetError(n,e,i){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return u.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=o,n.syncErrorThrown=!0,!0):(f(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const oe="function"==typeof Symbol&&Symbol.observable||"@@observable";function ye(t){return t}function X(t){return 0===t.length?ye:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let he=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:s}=this,a=function K(t,n,e){if(t){if(t instanceof A)return t;if(t[S])return t[S]()}return t||n||e?new A(t,n,e):new A(h)}(e,i,o);if(a.add(s?s.call(a,this.source):this.source||u.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){u.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function B(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof A?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=q(i))((o,s)=>{let a;a=this.subscribe(l=>{try{e(l)}catch(d){s(d),a&&a.unsubscribe()}},s,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[oe](){return this}pipe(...e){return 0===e.length?this:X(e)(this)}toPromise(e){return new(e=q(e))((i,o)=>{let s;this.subscribe(a=>s=a,a=>o(a),()=>i(s))})}}return t.create=n=>new t(n),t})();function q(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const ee=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class ae extends T{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class le extends A{constructor(n){super(n),this.destination=n}}let J=(()=>{class t extends he{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[S](){return new le(this)}lift(e){const i=new Te(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ee;if(!this.isStopped){const{observers:i}=this,o=i.length,s=i.slice();for(let a=0;anew Te(n,e),t})();class Te extends J{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):T.EMPTY}}function Se(t){return t&&"function"==typeof t.schedule}function ke(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Be(t,n))}}class Be{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new tt(n,this.project,this.thisArg))}}class tt extends A{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const st=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function Ni(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const Yi=t=>{if(t&&"function"==typeof t[oe])return(t=>n=>{const e=t[oe]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(Ge(t))return st(t);if(Ni(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,f),n))(t);if(t&&"function"==typeof t[an])return(t=>n=>{const e=t[an]();for(;;){let i;try{i=e.next()}catch(o){return n.error(o),n}if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${p(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function W(t,n){return new he(e=>{const i=new T;let o=0;return i.add(n.schedule(function(){o!==t.length?(e.next(t[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function ue(t,n){return n?function fe(t,n){if(null!=t){if(function te(t){return t&&"function"==typeof t[oe]}(t))return function dr(t,n){return new he(e=>{const i=new T;return i.add(n.schedule(()=>{const o=t[oe]();i.add(o.subscribe({next(s){i.add(n.schedule(()=>e.next(s)))},error(s){i.add(n.schedule(()=>e.error(s)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(Ni(t))return function Xe(t,n){return new he(e=>{const i=new T;return i.add(n.schedule(()=>t.then(o=>{i.add(n.schedule(()=>{e.next(o),i.add(n.schedule(()=>e.complete()))}))},o=>{i.add(n.schedule(()=>e.error(o)))}))),i})}(t,n);if(Ge(t))return W(t,n);if(function pe(t){return t&&"function"==typeof t[an]}(t)||"string"==typeof t)return function se(t,n){if(!t)throw new Error("Iterable cannot be null");return new he(e=>{const i=new T;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(n.schedule(()=>{o=t[an](),i.add(n.schedule(function(){if(e.closed)return;let s,a;try{const l=o.next();s=l.value,a=l.done}catch(l){return void e.error(l)}a?e.complete():(e.next(s),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof he?t:new he(Yi(t))}class be extends A{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Me extends A{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Ie(t,n){if(n.closed)return;if(t instanceof he)return t.subscribe(n);let e;try{e=Yi(t)(n)}catch(i){n.error(i)}return e}function Ye(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(Ye((o,s)=>ue(t(o,s)).pipe(ke((a,l)=>n(o,a,s,l))),e)):("number"==typeof n&&(e=n),i=>i.lift(new ut(t,e)))}class ut{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new gt(n,this.project,this.concurrent))}}class gt extends Me{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function fn(t=Number.POSITIVE_INFINITY){return Ye(ye,t)}function Rn(t,n){return n?W(t,n):new he(st(t))}function bt(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return Se(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof he?t[0]:fn(n)(Rn(t,e))}function qt(){return function(n){return n.lift(new Gn(n))}}class Gn{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const o=new oi(n,i),s=e.subscribe(o);return o.closed||(o.connection=i.connect()),s}}class oi extends A{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,o=n._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class Kr extends he{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new T,n.add(this.source.subscribe(new Hi(this.getSubject(),this))),n.closed&&(this._connection=null,n=T.EMPTY)),n}refCount(){return qt()(this)}}const Io=(()=>{const t=Kr.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}}})();class Hi extends le{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}class Nn{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,o=this.subjectFactory(),s=i(o).subscribe(n);return s.add(e.subscribe(o)),s}}function zd(){return new J}function dl(){return t=>qt()(function si(t,n){return function(i){let o;if(o="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new Nn(o,n));const s=Object.create(i,Io);return s.source=i,s.subjectFactory=o,s}}(zd)(t))}function Sn(t){for(let n in t)if(t[n]===Sn)return n;throw Error("Could not find renamed property on target object.")}function va(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Bi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Bi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function ya(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const Bg=Sn({__forward_ref__:Sn});function pn(t){return t.__forward_ref__=pn,t.toString=function(){return Bi(this())},t}function Dt(t){return _t(t)?t():t}function _t(t){return"function"==typeof t&&t.hasOwnProperty(Bg)&&t.__forward_ref__===pn}function Ud(t){return t&&!!t.\u0275providers}const hs="https://g.co/ng/security#xss";class Fe extends Error{constructor(n,e){super(function En(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function ai(t,n){throw new Fe(-201,!1)}function Zr(t,n){null==t&&function wn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ne(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Nt(t){return{providers:t.providers||[],imports:t.imports||[]}}function hc(t){return df(t,fc)||df(t,hf)}function df(t,n){return t.hasOwnProperty(n)?t[n]:null}function qd(t){return t&&(t.hasOwnProperty(Kd)||t.hasOwnProperty(Ug))?t[Kd]:null}const fc=Sn({\u0275prov:Sn}),Kd=Sn({\u0275inj:Sn}),hf=Sn({ngInjectableDef:Sn}),Ug=Sn({ngInjectorDef:Sn});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let pc;function Wi(t){const n=pc;return pc=t,n}function ul(t,n,e){const i=hc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ct.Optional?null:void 0!==n?n:void ai(Bi(t))}const Cn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),hl={},Zd="__NG_DI_FLAG__",mc="ngTempTokenPath",Gg=/\n/gm,pf="__source";let Ca;function gs(t){const n=Ca;return Ca=t,n}function Kg(t,n=Ct.Default){if(void 0===Ca)throw new Fe(-203,!1);return null===Ca?ul(t,void 0,n):Ca.get(t,n&Ct.Optional?null:void 0,n)}function we(t,n=Ct.Default){return(function ff(){return pc}()||Kg)(Dt(t),n)}function Qe(t,n=Ct.Default){return we(t,gc(n))}function gc(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Xd(t){const n=[];for(let e=0;e((Oo=Oo||{})[Oo.OnPush=0]="OnPush",Oo[Oo.Default=1]="Default",Oo))(),Dr=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Dr||(Dr={})),Dr))();const lo={},cn=[],_c=Sn({\u0275cmp:Sn}),bc=Sn({\u0275dir:Sn}),vc=Sn({\u0275pipe:Sn}),_f=Sn({\u0275mod:Sn}),Zo=Sn({\u0275fac:Sn}),pl=Sn({__NG_ELEMENT_ID__:Sn}),bf=Sn({__NG_ENV_ID__:Sn});function Jd(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const s=n.length;if(o+s===i||t.charCodeAt(o+s)<=32)return o}e=o+1}}function hi(t,n,e){let i=0;for(;in){a=s-1;break}}}for(;ss?"":o[F+1].toLowerCase();const ie=8&i?G:null;if(ie&&-1!==Jd(ie,_,0)||2&i&&_!==G){if(co(i))return!1;a=!0}}}}else{if(!a&&!co(i)&&!co(d))return!1;if(a&&co(d))continue;a=!1,i=d|1&i}}return co(i)||a}function co(t){return 0==(1&t)}function Qd(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let s=!1;for(;o-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!co(a)&&(n+=yf(s,o),o=""),i=a,s=s||!co(i);e++}return""!==o&&(n+=yf(s,o)),n}function Ke(t){return Ko(()=>{const n=wf(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Oo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Dr.Emulated,styles:t.styles||cn,_:null,schemas:t.schemas||null,tView:null,id:""};Cf(e);const i=t.dependencies;return e.directiveDefs=gl(i,!1),e.pipeDefs=gl(i,!0),e.id=function xf(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function wc(t,n,e){const i=t.\u0275cmp;i.directiveDefs=gl(n,!1),i.pipeDefs=gl(e,!0)}function r_(t){return gn(t)||hr(t)}function o_(t){return null!==t}function Vt(t){return Ko(()=>({type:t.type,bootstrap:t.bootstrap||cn,declarations:t.declarations||cn,imports:t.imports||cn,exports:t.exports||cn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Mf(t,n){if(null==t)return lo;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),e[o]=i,n&&(n[o]=s)}return e}function Ze(t){return Ko(()=>{const n=wf(t);return Cf(n),n})}function ur(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[_c]||null}function hr(t){return t[bc]||null}function fr(t){return t[vc]||null}function Yr(t,n){const e=t[_f]||null;if(!e&&!0===n)throw new Error(`Type ${Bi(t)} does not have '\u0275mod' property.`);return e}function wf(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||cn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Mf(t.inputs,n),outputs:Mf(t.outputs)}}function Cf(t){t.features?.forEach(n=>n(t))}function gl(t,n){if(!t)return null;const e=n?fr:r_;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(o_)}const Ut=0,lt=1,Ht=2,Jn=3,uo=4,Bs=5,pr=6,Ao=7,li=8,La=9,Vs=10,Et=11,js=12,Cc=13,zs=14,Si=15,Us=16,bs=17,Xr=18,_l=19,kf=20,vs=21,Xo=22,xc=23,kc=24,en=25,nu=1,Sf=2,ho=7,Sc=8,Ea=9,ii=11;function Hr(t){return Array.isArray(t)&&"object"==typeof t[nu]}function Mr(t){return Array.isArray(t)&&!0===t[nu]}function Dc(t){return 0!=(4&t.flags)}function Ws(t){return t.componentOffset>-1}function Tc(t){return 1==(1&t.flags)}function fo(t){return!!t.template}function iu(t){return 0!=(512&t[Ht])}function $s(t,n){return t.hasOwnProperty(Zo)?t[Zo]:null}let m_=Cn.WeakRef??class p_{constructor(n){this.ref=n}deref(){return this.ref}},__=0,Fo=null,Gs=!1;function $i(t){const n=Fo;return Fo=t,n}class If{constructor(){this.id=__++,this.ref=function g_(t){return new m_(t)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,e]of this.producers){const i=e.producerNode.deref();if(void 0!==i&&e.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(e.seenValueVersion))return!0}else this.producers.delete(n),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=Gs;Gs=!0;try{for(const[e,i]of this.consumers){const o=i.consumerNode.deref();void 0!==o&&o.trackingVersion===i.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(e),o?.producers.delete(this.id))}}finally{Gs=n}}producerAccessed(){if(Gs)throw new Error("");if(null===Fo)return;let n=Fo.producers.get(this.id);void 0===n?(n={consumerNode:Fo.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Fo.trackingVersion},Fo.producers.set(this.id,n),this.consumers.set(Fo.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=Fo.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Fo?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let Pf=null;const Je=()=>{};class w_ extends If{constructor(n,e,i){super(),this.watch=n,this.schedule=e,this.dirty=!1,this.cleanupFn=Je,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=$i(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Je,this.watch(this.registerOnCleanup)}finally{$i(n)}}cleanup(){this.cleanupFn()}}class C_{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gi(){return Yn}function Yn(t){return t.type.prototype.ngOnChanges&&(t.setInput=Of),Ic}function Ic(){const t=Af(this),n=t?.current;if(n){const e=t.previous;if(e===lo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Of(t,n,e,i){const o=this.declaredInputs[e],s=Af(t)||function x_(t,n){return t[Pc]=n}(t,{previous:lo,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new C_(d&&d.currentValue,n,l===lo),t[i]=n}Gi.ngInherit=!0;const Pc="__ngSimpleChanges__";function Af(t){return t[Pc]||null}const Ro=function(t,n,e){},No="svg";function Un(t){for(;Array.isArray(t);)t=t[Ut];return t}function Oc(t,n){return Un(n[t])}function wr(t,n){return Un(n[t.index])}function cu(t,n){return t.data[n]}function ys(t,n){return t[n]}function Tr(t,n){const e=n[t];return Hr(e)?e:e[Ut]}function mo(t){return 128==(128&t[Ht])}function Ms(t,n){return null==n?null:t[n]}function Rf(t){t[bs]=0}function E_(t){1024&t[Ht]||(t[Ht]|=1024,Yf(t,1))}function Nf(t){1024&t[Ht]&&(t[Ht]&=-1025,Yf(t,-1))}function Yf(t,n){let e=t[Jn];if(null===e)return;e[Bs]+=n;let i=e;for(e=e[Jn];null!==e&&(1===n&&1===i[Bs]||-1===n&&0===i[Bs]);)e[Bs]+=n,i=e,e=e[Jn]}const Tt={lFrame:SM(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Vf(){return Tt.bindingsEnabled}function Pa(){return null!==Tt.skipHydrationRootTNode}function Ve(){return Tt.lFrame.lView}function dn(){return Tt.lFrame.tView}function Pe(t){return Tt.lFrame.contextLView=t,t[li]}function Oe(t){return Tt.lFrame.contextLView=null,t}function nr(){let t=Ac();for(;null!==t&&64===t.type;)t=t.parent;return t}function Ac(){return Tt.lFrame.currentTNode}function Br(t,n){const e=Tt.lFrame;e.currentTNode=t,e.isParent=n}function tn(){return Tt.lFrame.isParent}function m(){Tt.lFrame.isParent=!1}function ne(){const t=Tt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function At(){return Tt.lFrame.bindingIndex++}function Wt(t){const n=Tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function bl(t,n){const e=Tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,du(n)}function du(t){Tt.lFrame.currentDirectiveIndex=t}function Fc(t){const n=Tt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function jf(){return Tt.lFrame.currentQueryIndex}function yl(t){Tt.lFrame.currentQueryIndex=t}function qP(t){const n=t[lt];return 2===n.type?n.declTNode:1===n.type?t[pr]:null}function xM(t,n,e){if(e&Ct.SkipSelf){let o=n,s=t;for(;!(o=o.parent,null!==o||e&Ct.Host||(o=qP(s),null===o||(s=s[zs],10&o.type))););if(null===o)return!1;n=o,t=s}const i=Tt.lFrame=kM();return i.currentTNode=n,i.lView=t,!0}function Y_(t){const n=kM(),e=t[lt];Tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function kM(){const t=Tt.lFrame,n=null===t?null:t.child;return null===n?SM(t):n}function SM(t){const n={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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function DM(){const t=Tt.lFrame;return Tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const TM=DM;function H_(){const t=DM();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function jr(){return Tt.lFrame.selectedIndex}function Ml(t){Tt.lFrame.selectedIndex=t}function fi(){const t=Tt.lFrame;return cu(t.tView,t.selectedIndex)}function wl(){Tt.lFrame.currentNamespace=No}function zf(){!function JP(){Tt.lFrame.currentNamespace=null}()}let EM=!0;function Uf(){return EM}function Oa(t){EM=t}function Wf(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[d]<0&&(t[bs]+=65536),(l>12>16&&(3&t[Ht])===n&&(t[Ht]+=4096,PM(l,s)):PM(l,s)}const Rc=-1;class uu{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function OM(t){return t!==Rc}function qf(t){return 32767&t}function Kf(t,n){let e=function rO(t){return t>>16}(t),i=n;for(;e>0;)i=i[zs],e--;return i}let j_=!0;function Zf(t){const n=j_;return j_=t,n}const AM=255,FM=5;let oO=0;const Cs={};function Xf(t,n){const e=RM(t,n);if(-1!==e)return e;const i=n[lt];i.firstCreatePass&&(t.injectorIndex=n.length,z_(i.data,t),z_(n,null),z_(i.blueprint,null));const o=U_(t,n),s=t.injectorIndex;if(OM(o)){const a=qf(o),l=Kf(o,n),d=l[lt].data;for(let _=0;_<8;_++)n[s+_]=l[a+_]|d[a+_]}return n[s+8]=o,s}function z_(t,n){t.push(0,0,0,0,0,0,0,0,n)}function RM(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function U_(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=zM(o),null===i)return Rc;if(e++,o=o[zs],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Rc}function W_(t,n,e){!function sO(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(pl)&&(i=e[pl]),null==i&&(i=e[pl]=oO++);const o=i&AM;n.data[t+(o>>FM)]|=1<=0?n&AM:dO:n}(e);if("function"==typeof s){if(!xM(n,t,i))return i&Ct.Host?NM(o,0,i):YM(n,e,i,o);try{const a=s(i);if(null!=a||i&Ct.Optional)return a;ai()}finally{TM()}}else if("number"==typeof s){let a=null,l=RM(t,n),d=Rc,_=i&Ct.Host?n[Si][pr]:null;for((-1===l||i&Ct.SkipSelf)&&(d=-1===l?U_(t,n):n[l+8],d!==Rc&&jM(i,!1)?(a=n[lt],l=qf(d),n=Kf(d,n)):l=-1);-1!==l;){const E=n[lt];if(VM(s,l,E.data)){const F=lO(l,n,e,a,i,_);if(F!==Cs)return F}d=n[l+8],d!==Rc&&jM(i,n[lt].data[l+8]===_)&&VM(s,l,n)?(a=E,l=qf(d),n=Kf(d,n)):l=-1}}return o}function lO(t,n,e,i,o,s){const a=n[lt],l=a.data[t+8],E=Jf(l,a,e,null==i?Ws(l)&&j_:i!=a&&0!=(3&l.type),o&Ct.Host&&s===l);return null!==E?Cl(n,a,E,l):Cs}function Jf(t,n,e,i,o){const s=t.providerIndexes,a=n.data,l=1048575&s,d=t.directiveStart,E=s>>20,G=o?l+E:t.directiveEnd;for(let ie=i?l:l+E;ie=d&&_e.type===e)return ie}if(o){const ie=a[d];if(ie&&fo(ie)&&ie.type===e)return d}return null}function Cl(t,n,e,i){let o=t[e];const s=n.data;if(function tO(t){return t instanceof uu}(o)){const a=o;a.resolving&&function ao(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Fe(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Mn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}(s[e]));const l=Zf(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Wi(a.injectImpl):null;xM(t,i,Ct.Default);try{o=t[e]=a.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function QP(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:s}=n.type.prototype;if(i){const a=Yn(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}o&&(e.preOrderHooks??=[]).push(0-t,o),s&&((e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s))}(e,s[e],n)}finally{null!==d&&Wi(d),Zf(l),a.resolving=!1,TM()}}return o}function VM(t,n,e){return!!(e[n+(t>>FM)]&1<{const n=t.prototype.constructor,e=n[Zo]||$_(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const s=o[Zo]||$_(o);if(s&&s!==e)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function $_(t){return _t(t)?()=>{const n=$_(Dt(t));return n&&n()}:$s(t)}function zM(t){const n=t[lt],e=n.type;return 2===e?n.declTNode:1===e?t[pr]:null}function Aa(t){return function aO(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{const i=function G_(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...s){if(this instanceof o)return i.apply(this,s),this;const a=new o(...s);return l.annotation=a,l;function l(d,_,E){const F=d.hasOwnProperty(Hc)?d[Hc]:Object.defineProperty(d,Hc,{value:[]})[Hc];for(;F.length<=E;)F.push(null);return(F[E]=F[E]||[]).push(a),d}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function pu(t,n){t.forEach(e=>Array.isArray(e)?pu(e,n):n(e))}function WM(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Qf(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function mu(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function gO(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function q_(t,n){const e=jc(t,n);if(e>=0)return t[1|e]}function jc(t,n){return function $M(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const s=i+(o-i>>1),a=t[s<n?o=s:i=s+1}return~(o<((Jr=Jr||{})[Jr.Important=1]="Important",Jr[Jr.DashCase=2]="DashCase",Jr))();const NO=/^>|^->||--!>|)/,HO="\u200b$1\u200b";const eb=new Map;let BO=0;const nb="__ngContext__";function Lr(t,n){Hr(n)?(t[nb]=n[_l],function jO(t){eb.set(t[_l],t)}(n)):t[nb]=n}let ib;function rb(t,n){return ib(t,n)}function vu(t){const n=t[Jn];return Mr(n)?n[Jn]:n}function ob(t){return uw(t[js])}function sb(t){return uw(t[uo])}function uw(t){for(;null!==t&&!Mr(t);)t=t[uo];return t}function Wc(t,n,e,i,o){if(null!=i){let s,a=!1;Mr(i)?s=i:Hr(i)&&(a=!0,i=i[Ut]);const l=Un(i);0===t&&null!==e?null==o?gw(n,e,l):kl(n,e,l,o||null,!0):1===t&&null!==e?kl(n,e,l,o||null,!0):2===t?function dp(t,n,e){const i=lp(t,n);i&&function aA(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,l,a):3===t&&n.destroyNode(l),null!=s&&function dA(t,n,e,i,o){const s=e[ho];s!==Un(e)&&Wc(n,t,i,s,o);for(let l=ii;ln.replace(YO,HO))}(n))}function ap(t,n,e){return t.createElement(n,e)}function fw(t,n){const e=t[Ea],i=e.indexOf(n);Nf(n),e.splice(i,1)}function lb(t,n){if(t.length<=ii)return;const e=ii+n,i=t[e];if(i){const o=i[Us];null!==o&&o!==t&&fw(o,i),n>0&&(t[e-1][uo]=i[uo]);const s=Qf(t,ii+n);!function QO(t,n){Mu(t,n,n[Et],2,null,null),n[Ut]=null,n[pr]=null}(i[lt],i);const a=s[Xr];null!==a&&a.detachView(s[lt]),i[Jn]=null,i[uo]=null,i[Ht]&=-129}return i}function pw(t,n){if(!(256&n[Ht])){const e=n[Et];n[xc]?.destroy(),n[kc]?.destroy(),e.destroyNode&&Mu(t,n,e,3,null,null),function nA(t){let n=t[js];if(!n)return cb(t[lt],t);for(;n;){let e=null;if(Hr(n))e=n[js];else{const i=n[ii];i&&(e=i)}if(!e){for(;n&&!n[uo]&&n!==t;)Hr(n)&&cb(n[lt],n),n=n[Jn];null===n&&(n=t),Hr(n)&&cb(n[lt],n),e=n&&n[uo]}n=e}}(n)}}function cb(t,n){if(!(256&n[Ht])){n[Ht]&=-129,n[Ht]|=256,function sA(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),s+=2}else e[s].call(i[e[s+1]]);null!==i&&(n[Ao]=null);const o=n[vs];if(null!==o){n[vs]=null;for(let s=0;s-1){const{encapsulation:s}=t.data[i.directiveStart+o];if(s===Dr.None||s===Dr.Emulated)return null}return wr(i,e)}}(t,n.parent,e)}function kl(t,n,e,i,o){t.insertBefore(n,e,i,o)}function gw(t,n,e){t.appendChild(n,e)}function _w(t,n,e,i,o){null!==i?kl(t,n,e,i,o):gw(t,n,e)}function lp(t,n){return t.parentNode(n)}function bw(t,n,e){return yw(t,n,e)}let ub,up,mb,hp,yw=function vw(t,n,e){return 40&t.type?wr(t,e):null};function cp(t,n,e,i){const o=db(t,i,n),s=n[Et],l=bw(i.parent||n[pr],i,n);if(null!=o)if(Array.isArray(e))for(let d=0;dt,createScript:t=>t,createScriptURL:t=>t})}catch{}return up}()?.createHTML(t)||t}function Lw(t){return function gb(){if(void 0===hp&&(hp=null,Cn.trustedTypes))try{hp=Cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return hp}()?.createScriptURL(t)||t}class Sl{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hs})`}}class _A extends Sl{getTypeName(){return"HTML"}}class bA extends Sl{getTypeName(){return"Style"}}class vA extends Sl{getTypeName(){return"Script"}}class yA extends Sl{getTypeName(){return"URL"}}class MA extends Sl{getTypeName(){return"ResourceURL"}}function _o(t){return t instanceof Sl?t.changingThisBreaksApplicationSecurity:t}function xs(t,n){const e=function wA(t){return t instanceof Sl&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${hs})`)}return e===n}class TA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString($c(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class LA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=$c(n),e}}const IA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fp(t){return(t=String(t)).match(IA)?t:"unsafe:"+t}function qs(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function Cu(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Iw=qs("area,br,col,hr,img,wbr"),Pw=qs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ow=qs("rp,rt"),_b=Cu(Iw,Cu(Pw,qs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Cu(Ow,qs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cu(Ow,Pw)),bb=qs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Aw=Cu(bb,qs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),PA=qs("script,style,template");class OA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!_b.hasOwnProperty(e))return this.sanitizedSomething=!0,!PA.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();_b.hasOwnProperty(e)&&!Iw.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Fw(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const AA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FA=/([^\#-~ |!])/g;function Fw(t){return t.replace(/&/g,"&").replace(AA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(FA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let pp;function Rw(t,n){let e=null;try{pp=pp||function Ew(t){const n=new LA(t);return function EA(){try{return!!(new window.DOMParser).parseFromString($c(""),"text/html")}catch{return!1}}()?new TA(n):n}(t);let i=n?String(n):"";e=pp.getInertBodyElement(i);let o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=s,s=e.innerHTML,e=pp.getInertBodyElement(i)}while(i!==s);return $c((new OA).sanitizeChildren(vb(e)||e))}finally{if(e){const i=vb(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function vb(t){return"content"in t&&function RA(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Dn=(()=>((Dn=Dn||{})[Dn.NONE=0]="NONE",Dn[Dn.HTML=1]="HTML",Dn[Dn.STYLE=2]="STYLE",Dn[Dn.SCRIPT=3]="SCRIPT",Dn[Dn.URL=4]="URL",Dn[Dn.RESOURCE_URL=5]="RESOURCE_URL",Dn))();function Vo(t){const n=xu();return n?n.sanitize(Dn.URL,t)||"":xs(t,"URL")?_o(t):fp(xt(t))}function Nw(t){const n=xu();if(n)return Lw(n.sanitize(Dn.RESOURCE_URL,t)||"");if(xs(t,"ResourceURL"))return Lw(_o(t));throw new Fe(904,!1)}function xu(){const t=Ve();return t&&t[Vs].sanitizer}class Re{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ne({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const ku=new Re("ENVIRONMENT_INITIALIZER"),Hw=new Re("INJECTOR",-1),Bw=new Re("INJECTOR_DEF_TYPES");class Vw{get(n,e=hl){if(e===hl){const i=new Error(`NullInjectorError: No provider for ${Bi(n)}!`);throw i.name="NullInjectorError",i}return e}}function zA(...t){return{\u0275providers:jw(0,t),\u0275fromNgModule:!0}}function jw(t,...n){const e=[],i=new Set;let o;return pu(n,s=>{const a=s;Mb(a,e,[],i)&&(o||=[],o.push(a))}),void 0!==o&&zw(o,e),e}function zw(t,n){for(let e=0;e{n.push(s)})}}function Mb(t,n,e,i){if(!(t=Dt(t)))return!1;let o=null,s=qd(t);const a=!s&&gn(t);if(s||a){if(a&&!a.standalone)return!1;o=t}else{const d=t.ngModule;if(s=qd(d),!s)return!1;o=d}const l=i.has(o);if(a){if(l)return!1;if(i.add(o),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of d)Mb(_,n,e,i)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let _;i.add(o);try{pu(s.imports,E=>{Mb(E,n,e,i)&&(_||=[],_.push(E))})}finally{}void 0!==_&&zw(_,n)}if(!l){const _=$s(o)||(()=>new o);n.push({provide:o,useFactory:_,deps:cn},{provide:Bw,useValue:o,multi:!0},{provide:ku,useValue:()=>we(o),multi:!0})}const d=s.providers;null==d||l||wb(d,E=>{n.push(E)})}}return o!==t&&void 0!==t.providers}function wb(t,n){for(let e of t)Ud(e)&&(e=e.\u0275providers),Array.isArray(e)?wb(e,n):n(e)}const UA=Sn({provide:String,useValue:Sn});function Cb(t){return null!==t&&"object"==typeof t&&UA in t}function Dl(t){return"function"==typeof t}const xb=new Re("Set Injector scope."),mp={},$A={};let kb;function gp(){return void 0===kb&&(kb=new Vw),kb}class ks{}class Sb extends ks{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tb(n,a=>this.processProvider(a)),this.records.set(Hw,Gc(void 0,this)),o.has("environment")&&this.records.set(ks,Gc(void 0,this));const s=this.records.get(xb);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Bw.multi,cn,Ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=gs(this),i=Wi(void 0);try{return n()}finally{gs(e),Wi(i)}}get(n,e=hl,i=Ct.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(bf))return n[bf](this);i=gc(i);const o=gs(this),s=Wi(void 0);try{if(!(i&Ct.SkipSelf)){let l=this.records.get(n);if(void 0===l){const d=function XA(t){return"function"==typeof t||"object"==typeof t&&t instanceof Re}(n)&&hc(n);l=d&&this.injectableDefInScope(d)?Gc(Db(n),mp):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&Ct.Self?gp():this.parent).get(n,e=i&Ct.Optional&&e===hl?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[mc]=a[mc]||[]).unshift(Bi(n)),o)throw a;return function Xg(t,n,e,i){const o=t[mc];throw n[pf]&&o.unshift(n[pf]),t.message=function Jg(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=Bi(n);if(Array.isArray(n))o=n.map(Bi).join(" -> ");else if("object"==typeof n){let s=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];s.push(a+":"+("string"==typeof l?JSON.stringify(l):Bi(l)))}o=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(Gg,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[mc]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{Wi(s),gs(o)}}resolveInjectorInitializers(){const n=gs(this),e=Wi(void 0);try{const i=this.get(ku.multi,cn,Ct.Self);for(const o of i)o()}finally{gs(n),Wi(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Bi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fe(205,!1)}processProvider(n){let e=Dl(n=Dt(n))?n:Dt(n&&n.provide);const i=function qA(t){return Cb(t)?Gc(void 0,t.useValue):Gc($w(t),mp)}(n);if(Dl(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=Gc(void 0,mp,!0),o.factory=()=>Xd(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===mp&&(e.value=$A,e.value=e.factory()),"object"==typeof e.value&&e.value&&function ZA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Dt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Db(t){const n=hc(t),e=null!==n?n.factory:$s(t);if(null!==e)return e;if(t instanceof Re)throw new Fe(204,!1);if(t instanceof Function)return function GA(t){const n=t.length;if(n>0)throw mu(n,"?"),new Fe(204,!1);const e=function uf(t){return t&&(t[fc]||t[hf])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Fe(204,!1)}function $w(t,n,e){let i;if(Dl(t)){const o=Dt(t);return $s(o)||Db(o)}if(Cb(t))i=()=>Dt(t.useValue);else if(function Ww(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Xd(t.deps||[]));else if(function Uw(t){return!(!t||!t.useExisting)}(t))i=()=>we(Dt(t.useExisting));else{const o=Dt(t&&(t.useClass||t.provide));if(!function KA(t){return!!t.deps}(t))return $s(o)||Db(o);i=()=>new o(...Xd(t.deps))}return i}function Gc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Tb(t,n){for(const e of t)Array.isArray(e)?Tb(e,n):e&&Ud(e)?Tb(e.\u0275providers,n):n(e)}const Su=new Re("AppId",{providedIn:"root",factory:()=>JA}),JA="ng",Gw=new Re("Platform Initializer"),Fa=new Re("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Vi=new Re("AnimationModuleType"),Lb=new Re("CSP nonce",{providedIn:"root",factory:()=>function wu(){if(void 0!==mb)return mb;if(typeof document<"u")return document;throw new Fe(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Kw=(t,n)=>null;function Zw(t,n){return Kw(t,n)}class aF{}class Qw{}class cF{resolveComponentFactory(n){throw function lF(t){const n=Error(`No component factory found for ${Bi(t)}.`);return n.ngComponent=t,n}(n)}}let Tl=(()=>{class t{}return t.NULL=new cF,t})();function dF(){return qc(nr(),Ve())}function qc(t,n){return new vt(wr(t,n))}let vt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=dF,t})();function uF(t){return t instanceof vt?t.nativeElement:t}class Eu{}let Ks=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function hF(){const t=Ve(),e=Tr(nr().index,t);return(Hr(e)?e:t)[Et]}(),t})(),fF=(()=>{class t{}return t.\u0275prov=Ne({token:t,providedIn:"root",factory:()=>null}),t})();class Ll{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const pF=new Ll("16.0.2"),Bb={};function Iu(t){for(;t;){t[Ht]|=64;const n=vu(t);if(iu(t)&&!n)return t;t=n}return null}function Vb(t){return t.ngOriginalError}class Ss{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Vb(n);for(;e&&Vb(e);)e=Vb(e);return e||null}}const iC=new Re("",{providedIn:"root",factory:()=>!1});function jb(t){return t.ownerDocument.defaultView}function Zs(t){return t instanceof Function?t():t}class sC extends If{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){Iu(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,e,i){const o=$i(this);this.trackingVersion++;try{n(e,i)}finally{$i(o)}}destroy(){this.trackingVersion++}}let wp=null;function aC(){return wp??=new sC,wp}function lC(t,n){return t[n]??aC()}function cC(t,n){const e=aC();e.hasReadASignal&&(t[n]=wp,e.lView=t,wp=new sC)}const jt={};function c(t){dC(dn(),Ve(),jr()+t,!1)}function dC(t,n,e,i){if(!i)if(3==(3&n[Ht])){const s=t.preOrderCheckHooks;null!==s&&$f(n,s,e)}else{const s=t.preOrderHooks;null!==s&&Gf(n,s,0,e)}Ml(e)}function pC(t,n=null,e=null,i){const o=mC(t,n,e,i);return o.resolveInjectorInitializers(),o}function mC(t,n=null,e=null,i,o=new Set){const s=[e||cn,zA(t)];return i=i||("object"==typeof t?void 0:Bi(t)),new Sb(s,n||gp(),i||null,o)}let Ti=(()=>{class t{static create(e,i){if(Array.isArray(e))return pC({name:""},i,e,"");{const o=e.name??"";return pC({name:o},e.parent,e.providers,o)}}}return t.THROW_IF_NOT_FOUND=hl,t.NULL=new Vw,t.\u0275prov=Ne({token:t,providedIn:"any",factory:()=>we(Hw)}),t.__NG_ELEMENT_ID__=-1,t})();function N(t,n=Ct.Default){const e=Ve();return null===e?we(t,n):HM(nr(),e,Dt(t),n)}function Ra(){throw new Error("invalid")}function Cp(t,n,e,i,o,s,a,l,d,_,E){const F=n.blueprint.slice();return F[Ut]=o,F[Ht]=140|i,(null!==_||t&&2048&t[Ht])&&(F[Ht]|=2048),Rf(F),F[Jn]=F[zs]=t,F[li]=e,F[Vs]=a||t&&t[Vs],F[Et]=l||t&&t[Et],F[La]=d||t&&t[La]||null,F[pr]=s,F[_l]=function VO(){return BO++}(),F[Xo]=E,F[kf]=_,F[Si]=2==n.type?t[Si]:F,F}function Zc(t,n,e,i,o){let s=t.data[n];if(null===s)s=function zb(t,n,e,i,o){const s=Ac(),a=tn(),d=t.data[n]=function AF(t,n,e,i,o,s){let a=n?n.injectorIndex:-1,l=0;return Pa()&&(l|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=d),null!==s&&(a?null==s.child&&null!==d.parent&&(s.child=d):null===s.next&&(s.next=d,d.prev=s)),d}(t,n,e,i,o),function Di(){return Tt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=e,s.value=i,s.attrs=o;const a=function Ho(){const t=Tt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Br(s,!0),s}function Pu(t,n,e,i){if(0===e)return-1;const o=n.length;for(let s=0;sen&&dC(t,n,en,!1),Ro(l?2:0,o),l)s.runInContext(e,i,o);else{const _=$i(null);try{e(i,o)}finally{$i(_)}}}finally{l&&null===n[xc]&&cC(n,xc),Ml(a),Ro(l?3:1,o)}}function Ub(t,n,e){if(Dc(n)){const i=$i(null);try{const s=n.directiveEnd;for(let a=n.directiveStart;anull;function vC(t,n,e,i){for(let o in t)if(t.hasOwnProperty(o)){e=null===e?{}:e;const s=t[o];null===i?yC(e,n,o,s):i.hasOwnProperty(o)&&yC(e,n,i[o],s)}return e}function yC(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function bo(t,n,e,i,o,s,a,l){const d=wr(n,e);let E,_=n.inputs;!l&&null!=_&&(E=_[i])?(Jb(t,e,E,i,o),Ws(n)&&function NF(t,n){const e=Tr(n,t);16&e[Ht]||(e[Ht]|=64)}(e,n.index)):3&n.type&&(i=function RF(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=a?a(o,n.value||"",i):o,s.setProperty(d,i,o))}function qb(t,n,e,i){if(Vf()){const o=null===i?null:{"":-1},s=function zF(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let s=0;s0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(e,i,s)}}(t,n,i,Pu(t,e,o.hostVars,jt),o)}function Ds(t,n,e,i,o,s){const a=wr(t,n);!function Zb(t,n,e,i,o,s,a){if(null==s)t.removeAttribute(n,o,e);else{const l=null==a?xt(s):a(s,i||"",o);t.setAttribute(n,o,l,e)}}(n[Et],a,s,t.value,e,i,o)}function KF(t,n,e,i,o,s){const a=s[n];if(null!==a)for(let l=0;l{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,o){const s=typeof Zone>"u"?null:Zone.current,a=new w_(e,_=>{this.all.has(_)&&this.queue.set(_,s)},o);let l;this.all.add(a),a.notify();const d=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=i?.onDestroy(d),{destroy:d}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}}return t.\u0275prov=Ne({token:t,providedIn:"root",factory:()=>new t}),t})();function kp(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,s=0;if(null!==n)for(let a=0;a0&&ev(e)}}function ev(t){for(let i=ob(t);null!==i;i=sb(i))for(let o=ii;o0&&ev(s)}const e=t[lt].components;if(null!==e)for(let i=0;i0&&ev(o)}}class Au{get rootNodes(){const n=this._lView,e=n[lt];return Ou(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[li]}set context(n){this._lView[li]=n}get destroyed(){return 256==(256&this._lView[Ht])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Jn];if(Mr(n)){const e=n[Sc],i=e?e.indexOf(this):-1;i>-1&&(lb(n,i),Qf(e,i))}this._attachedToViewContainer=!1}pw(this._lView[lt],this._lView)}onDestroy(n){!function Hf(t,n){if(256==(256&t[Ht]))throw new Fe(911,!1);null===t[vs]&&(t[vs]=[]),t[vs].push(n)}(this._lView,n)}markForCheck(){Iu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ht]&=-129}reattach(){this._lView[Ht]|=128}detectChanges(){Sp(this._lView[lt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function tA(t,n){Mu(t,n,n[Et],2,null,null)}(this._lView[lt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Fe(902,!1);this._appRef=n}}class lR extends Au{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Sp(n[lt],n,n[li],!1)}checkNoChanges(){}get context(){return null}}class IC extends Tl{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=gn(n);return new Fu(e,this.ngModule)}}function PC(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class dR{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=gc(i);const o=this.injector.get(n,Bb,i);return o!==Bb||e===Bb?o:this.parentInjector.get(n,e,i)}}class Fu extends Qw{get inputs(){return PC(this.componentDef.inputs)}get outputs(){return PC(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function Mc(t){return t.map(i_).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let s=(o=o||this.ngModule)instanceof ks?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new dR(n,s):n,l=a.get(Eu,null);if(null===l)throw new Fe(407,!1);const E={rendererFactory:l,sanitizer:a.get(fF,null),effectManager:a.get(EC,null)},F=l.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",ie=i?function LF(t,n,e,i){const s=i.get(iC,!1)||e===Dr.ShadowDom,a=t.selectRootElement(n,s);return function EF(t){bC(t)}(a),a}(F,i,this.componentDef.encapsulation,a):ap(F,G,function cR(t){const n=t.toLowerCase();return"svg"===n?No:"math"===n?"math":null}(G)),_e=this.componentDef.onPush?576:528,xe=Gb(0,null,null,1,0,null,null,null,null,null,null),Ae=Cp(null,xe,null,_e,null,null,E,F,a,null,null);let ze,Ee;Y_(Ae);try{const qe=this.componentDef;let dt,Rt=null;qe.findHostDirectiveDefs?(dt=[],Rt=new Map,qe.findHostDirectiveDefs(qe,dt,Rt),dt.push(qe)):dt=[qe];const sn=function hR(t,n){const e=t[lt],i=en;return t[i]=n,Zc(e,i,2,"#host",null)}(Ae,ie),Ri=function fR(t,n,e,i,o,s,a){const l=o[lt];!function pR(t,n,e,i){for(const o of t)n.mergedAttrs=Sa(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(kp(n,n.mergedAttrs,!0),null!==e&&Sw(i,e,n))}(i,t,n,a);let d=null;null!==n&&(d=Zw(n,o[La]));const _=s.rendererFactory.createRenderer(n,e),E=Cp(o,_C(e),null,e.onPush?64:16,o[t.index],t,s,_,null,null,d);return l.firstCreatePass&&Kb(l,t,i.length-1),xp(o,E),o[t.index]=E}(sn,ie,qe,dt,Ae,E,F);Ee=cu(xe,en),ie&&function gR(t,n,e,i){if(i)hi(t,e,["ng-version",pF.full]);else{const{attrs:o,classes:s}=function tu(t){const n=[],e=[];let i=1,o=2;for(;i0&&kw(t,e,s.join(" "))}}(F,qe,ie,i),void 0!==e&&function _R(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Sa(o.hostAttrs,e=Sa(e,o.hostAttrs))}}(i)}function tv(t){return t===lo?{}:t===cn?[]:t}function yR(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function MR(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,s)=>{n(i,o,s),e(i,o,s)}:n}function wR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function Tp(t){return!!nv(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function nv(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ts(t,n,e){return t[n]=e}function Er(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function El(t,n,e,i){const o=Er(t,n,e);return Er(t,n+1,i)||o}function Jt(t,n,e,i){const o=Ve();return Er(o,At(),n)&&(dn(),Ds(fi(),o,t,n,e,i)),Jt}function Jc(t,n,e,i){return Er(t,At(),e)?n+xt(e)+i:jt}function Qc(t,n,e,i,o,s){const l=El(t,function Le(){return Tt.lFrame.bindingIndex}(),e,o);return Wt(2),l?n+xt(e)+i+xt(o)+s:jt}function V(t,n,e,i,o,s,a,l){const d=Ve(),_=dn(),E=t+en,F=_.firstCreatePass?function GR(t,n,e,i,o,s,a,l,d){const _=n.consts,E=Zc(n,t,4,a||null,Ms(_,l));qb(n,e,E,Ms(_,d)),Wf(n,E);const F=E.tView=Gb(2,E,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,_,null);return null!==n.queries&&(n.queries.template(n,E),F.queries=n.queries.embeddedTView(E)),E}(E,_,d,n,e,i,o,s,a):_.data[E];Br(F,!1);const G=KC(_,d,F,t);Uf()&&cp(_,d,G,F),Lr(G,d),xp(d,d[E]=xC(G,d,G,F)),Tc(F)&&Wb(_,d,F),null!=a&&$b(d,F,l)}let KC=function ZC(t,n,e,i){return Oa(!0),n[Et].createComment("")};function ci(t){return ys(function P(){return Tt.lFrame.contextLView}(),en+t)}function w(t,n,e){const i=Ve();return Er(i,At(),n)&&bo(dn(),fi(),i,t,n,i[Et],e,!1),w}function lv(t,n,e,i,o){const a=o?"class":"style";Jb(t,e,n.inputs[a],a,i)}function k(t,n,e,i){const o=Ve(),s=dn(),a=en+t,l=o[Et],d=s.firstCreatePass?function XR(t,n,e,i,o,s){const a=n.consts,d=Zc(n,t,2,i,Ms(a,o));return qb(n,e,d,Ms(a,s)),null!==d.attrs&&kp(d,d.attrs,!1),null!==d.mergedAttrs&&kp(d,d.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,d),d}(a,s,o,n,e,i):s.data[a],_=XC(s,o,d,l,n,t);o[a]=_;const E=Tc(d);return Br(d,!0),Sw(l,_,d),32!=(32&d.flags)&&Uf()&&cp(s,o,_,d),0===function P_(){return Tt.lFrame.elementDepthCount}()&&Lr(_,o),function O_(){Tt.lFrame.elementDepthCount++}(),E&&(Wb(s,o,d),Ub(s,d,o)),null!==i&&$b(o,d),k}function C(){let t=nr();tn()?m():(t=t.parent,Br(t,!1));const n=t;(function F_(t){return Tt.skipHydrationRootTNode===t})(n)&&function Yo(){Tt.skipHydrationRootTNode=null}(),function A_(){Tt.lFrame.elementDepthCount--}();const e=dn();return e.firstCreatePass&&(Wf(e,t),Dc(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function nO(t){return 0!=(8&t.flags)}(n)&&lv(e,n,Ve(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function iO(t){return 0!=(16&t.flags)}(n)&&lv(e,n,Ve(),n.stylesWithoutHost,!1),C}function Ce(t,n,e,i){return k(t,n,e,i),C(),Ce}let XC=(t,n,e,i,o,s)=>(Oa(!0),ap(i,o,function LM(){return Tt.lFrame.currentNamespace}()));function Ue(t,n,e){const i=Ve(),o=dn(),s=t+en,a=o.firstCreatePass?function e3(t,n,e,i,o){const s=n.consts,a=Ms(s,i),l=Zc(n,t,8,"ng-container",a);return null!==a&&kp(l,a,!0),qb(n,e,l,Ms(s,o)),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,e):o.data[s];Br(a,!0);const l=JC(o,i,a,t);return i[s]=l,Uf()&&cp(o,i,l,a),Lr(l,i),Tc(a)&&(Wb(o,i,a),Ub(o,a,i)),null!=e&&$b(i,a),Ue}function We(){let t=nr();const n=dn();return tn()?m():(t=t.parent,Br(t,!1)),n.firstCreatePass&&(Wf(n,t),Dc(t)&&n.queries.elementEnd(t)),We}function Jo(t,n,e){return Ue(t,n,e),We(),Jo}let JC=(t,n,e,i)=>(Oa(!0),ab(n[Et],""));function et(){return Ve()}function Bu(t){return!!t&&"function"==typeof t.then}function QC(t){return!!t&&"function"==typeof t.subscribe}function ve(t,n,e,i){const o=Ve(),s=dn(),a=nr();return ex(s,o,o[Et],a,t,n,i),ve}function cv(t,n){const e=nr(),i=Ve(),o=dn();return ex(o,i,TC(Fc(o.data),e,i),e,t,n),cv}function ex(t,n,e,i,o,s,a){const l=Tc(i),_=t.firstCreatePass&&DC(t),E=n[li],F=SC(n);let G=!0;if(3&i.type||a){const xe=wr(i,n),Ae=a?a(xe):xe,ze=F.length,Ee=a?dt=>a(Un(dt[i.index])):i.index;let qe=null;if(!a&&l&&(qe=function r3(t,n,e,i){const o=t.cleanup;if(null!=o)for(let s=0;sd?l[d]:null}"string"==typeof a&&(s+=2)}return null}(t,n,o,i.index)),null!==qe)(qe.__ngLastListenerFn__||qe).__ngNextListenerFn__=s,qe.__ngLastListenerFn__=s,G=!1;else{s=nx(i,n,E,s,!1);const dt=e.listen(Ae,o,s);F.push(s,dt),_&&_.push(o,Ee,ze,ze+1)}}else s=nx(i,n,E,s,!1);const ie=i.outputs;let _e;if(G&&null!==ie&&(_e=ie[o])){const xe=_e.length;if(xe)for(let Ae=0;Ae-1?Tr(t.index,n):n);let d=tx(n,e,i,a),_=s.__ngNextListenerFn__;for(;_;)d=tx(n,e,_,a)&&d,_=_.__ngNextListenerFn__;return o&&!1===d&&a.preventDefault(),d}}function z(t=1){return function KP(t){return(Tt.lFrame.contextLView=function ZP(t,n){for(;t>0;)n=n[zs],t--;return n}(t,Tt.lFrame.contextLView))[li]}(t)}function o3(t,n){let e=null;const i=function e_(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function uv(t){return 2|t}function Il(t){return(131068&t)>>2}function hv(t,n){return-131069&t|n<<2}function fv(t){return 1|t}function ux(t,n,e,i,o){const s=t[e+1],a=null===n;let l=i?Na(s):Il(s),d=!1;for(;0!==l&&(!1===d||a);){const E=t[l+1];u3(t[l],n)&&(d=!0,t[l+1]=i?fv(E):uv(E)),l=i?Na(E):Il(E)}d&&(t[e+1]=i?uv(s):fv(s))}function u3(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&jc(t,n)>=0}const rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hx(t){return t.substring(rr.key,rr.keyEnd)}function h3(t){return t.substring(rr.value,rr.valueEnd)}function fx(t,n){const e=rr.textEnd;return e===n?-1:(n=rr.keyEnd=function m3(t,n,e){for(;n32;)n++;return n}(t,rr.key=n,e),sd(t,n,e))}function px(t,n){const e=rr.textEnd;let i=rr.key=sd(t,n,e);return e===i?-1:(i=rr.keyEnd=function g3(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=gx(t,i,e),i=rr.value=sd(t,i,e),i=rr.valueEnd=function _3(t,n,e){let i=-1,o=-1,s=-1,a=n,l=a;for(;a32&&(l=a),s=o,o=i,i=-33&d}return l}(t,i,e),gx(t,i,e))}function mx(t){rr.key=0,rr.keyEnd=0,rr.value=0,rr.valueEnd=0,rr.textEnd=t.length}function sd(t,n,e){for(;n=0;e=px(n,e))yx(t,hx(n),h3(n))}function eo(t){es(x3,Ls,t,!0)}function Ls(t,n){for(let e=function f3(t){return mx(t),fx(t,sd(t,0,rr.textEnd))}(n);e>=0;e=fx(n,e))go(t,hx(n),!0)}function Qo(t,n,e,i){const o=Ve(),s=dn(),a=Wt(2);s.firstUpdatePass&&vx(s,t,a,i),n!==jt&&Er(o,a,n)&&Mx(s,s.data[jr()],o,o[Et],t,o[a+1]=function S3(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Bi(_o(t)))),t}(n,e),i,a)}function es(t,n,e,i){const o=dn(),s=Wt(2);o.firstUpdatePass&&vx(o,null,s,i);const a=Ve();if(e!==jt&&Er(a,s,e)){const l=o.data[jr()];if(Cx(l,i)&&!bx(o,s)){let d=i?l.classesWithoutHost:l.stylesWithoutHost;null!==d&&(e=ya(d,e||"")),lv(o,l,a,e,i)}else!function k3(t,n,e,i,o,s,a,l){o===jt&&(o=cn);let d=0,_=0,E=0=t.expandoStartIndex}function vx(t,n,e,i){const o=t.data;if(null===o[e+1]){const s=o[jr()],a=bx(t,e);Cx(s,i)&&null===n&&!a&&(n=!1),n=function v3(t,n,e,i){const o=Fc(t);let s=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=Vu(e=pv(null,t,n,e,i),n.attrs,i),s=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==o)if(e=pv(o,t,n,e,i),null===s){let d=function y3(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Il(i))return t[Na(i)]}(t,n,i);void 0!==d&&Array.isArray(d)&&(d=pv(null,t,n,d[1],i),d=Vu(d,n.attrs,i),function M3(t,n,e,i){t[Na(e?n.classBindings:n.styleBindings)]=i}(t,n,i,d))}else s=function w3(t,n,e){let i;const o=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(_=!0)):E=e,o)if(0!==d){const G=Na(t[l+1]);t[i+1]=Op(G,l),0!==G&&(t[G+1]=hv(t[G+1],i)),t[l+1]=function a3(t,n){return 131071&t|n<<17}(t[l+1],i)}else t[i+1]=Op(l,0),0!==l&&(t[l+1]=hv(t[l+1],i)),l=i;else t[i+1]=Op(d,0),0===l?l=i:t[d+1]=hv(t[d+1],i),d=i;_&&(t[i+1]=uv(t[i+1])),ux(t,E,i,!0),ux(t,E,i,!1),function d3(t,n,e,i,o){const s=o?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&jc(s,n)>=0&&(e[i+1]=fv(e[i+1]))}(n,E,t,i,s),a=Op(l,d),s?n.classBindings=a:n.styleBindings=a}(o,s,n,e,a,i)}}function pv(t,n,e,i,o){let s=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const d=t[o],_=Array.isArray(d),E=_?d[1]:d,F=null===E;let G=e[o+1];G===jt&&(G=F?cn:void 0);let ie=F?q_(G,i):E===i?G:void 0;if(_&&!Ap(ie)&&(ie=q_(d,i)),Ap(ie)&&(l=ie,a))return l;const _e=t[o+1];o=a?Na(_e):Il(_e)}if(null!==n){let d=s?n.residualClasses:n.residualStyles;null!=d&&(l=q_(d,i))}return l}function Ap(t){return void 0!==t}function Cx(t,n){return 0!=(t.flags&(n?8:16))}function I(t,n=""){const e=Ve(),i=dn(),o=t+en,s=i.firstCreatePass?Zc(i,o,1,n,null):i.data[o],a=xx(i,e,s,n,t);e[o]=a,Uf()&&cp(i,e,a,s),Br(s,!1)}let xx=(t,n,e,i,o)=>(Oa(!0),function sp(t,n){return t.createText(n)}(n[Et],i));function re(t){return ce("",t,""),re}function ce(t,n,e){const i=Ve(),o=Jc(i,t,n,e);return o!==jt&&Xs(i,jr(),o),ce}function vo(t,n,e,i,o){const s=Ve(),a=Qc(s,t,n,e,i,o);return a!==jt&&Xs(s,jr(),a),vo}function Js(t,n,e){const i=Ve();return Er(i,At(),n)&&bo(dn(),fi(),i,t,n,i[Et],e,!0),Js}function mv(t,n,e){const i=Ve();if(Er(i,At(),n)){const s=dn(),a=fi();bo(s,a,i,t,n,TC(Fc(s.data),a,i),e,!0)}return mv}const Ol=void 0;var G3=["en",[["a","p"],["AM","PM"],Ol],[["AM","PM"],Ol,Ol],[["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"]],Ol,[["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"]],Ol,[["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}",Ol,"{1} 'at' {0}",Ol],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $3(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ad={};function zr(t){const n=function q3(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=zx(n);if(e)return e;const i=n.split("-")[0];if(e=zx(i),e)return e;if("en"===i)return G3;throw new Fe(701,!1)}function zx(t){return t in ad||(ad[t]=Cn.ng&&Cn.ng.common&&Cn.ng.common.locales&&Cn.ng.common.locales[t]),ad[t]}var ct=(()=>((ct=ct||{})[ct.LocaleId=0]="LocaleId",ct[ct.DayPeriodsFormat=1]="DayPeriodsFormat",ct[ct.DayPeriodsStandalone=2]="DayPeriodsStandalone",ct[ct.DaysFormat=3]="DaysFormat",ct[ct.DaysStandalone=4]="DaysStandalone",ct[ct.MonthsFormat=5]="MonthsFormat",ct[ct.MonthsStandalone=6]="MonthsStandalone",ct[ct.Eras=7]="Eras",ct[ct.FirstDayOfWeek=8]="FirstDayOfWeek",ct[ct.WeekendRange=9]="WeekendRange",ct[ct.DateFormat=10]="DateFormat",ct[ct.TimeFormat=11]="TimeFormat",ct[ct.DateTimeFormat=12]="DateTimeFormat",ct[ct.NumberSymbols=13]="NumberSymbols",ct[ct.NumberFormats=14]="NumberFormats",ct[ct.CurrencyCode=15]="CurrencyCode",ct[ct.CurrencySymbol=16]="CurrencySymbol",ct[ct.CurrencyName=17]="CurrencyName",ct[ct.Currencies=18]="Currencies",ct[ct.Directionality=19]="Directionality",ct[ct.PluralCase=20]="PluralCase",ct[ct.ExtraData=21]="ExtraData",ct))();const ld="en-US";let Ux=ld;function bv(t,n,e,i,o){if(t=Dt(t),Array.isArray(t))for(let s=0;s>20;if(Dl(t)||!t.multi){const ie=new uu(d,o,N),_e=yv(l,n,o?E:E+G,F);-1===_e?(W_(Xf(_,a),s,l),vv(s,t,n.length),n.push(l),_.directiveStart++,_.directiveEnd++,o&&(_.providerIndexes+=1048576),e.push(ie),a.push(ie)):(e[_e]=ie,a[_e]=ie)}else{const ie=yv(l,n,E+G,F),_e=yv(l,n,E,E+G),Ae=_e>=0&&e[_e];if(o&&!Ae||!o&&!(ie>=0&&e[ie])){W_(Xf(_,a),s,l);const ze=function WN(t,n,e,i,o){const s=new uu(t,e,N);return s.multi=[],s.index=n,s.componentProviders=0,mk(s,o,i&&!e),s}(o?UN:zN,e.length,o,i,d);!o&&Ae&&(e[_e].providerFactory=ze),vv(s,t,n.length,0),n.push(l),_.directiveStart++,_.directiveEnd++,o&&(_.providerIndexes+=1048576),e.push(ze),a.push(ze)}else vv(s,t,ie>-1?ie:_e,mk(e[o?_e:ie],d,!o&&i));!o&&i&&Ae&&e[_e].componentProviders++}}}function vv(t,n,e,i){const o=Dl(n),s=function WA(t){return!!t.useClass}(n);if(o||s){const d=(s?Dt(n.useClass):n).prototype.ngOnDestroy;if(d){const _=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const E=_.indexOf(e);-1===E?_.push(e,[i,d]):_[E+1].push(i,d)}else _.push(e,d)}}}function mk(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function yv(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function jN(t,n,e){const i=dn();if(i.firstCreatePass){const o=fo(t);bv(e,i.data,i.blueprint,o,!0),bv(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class cd{}class gk{}class wv extends cd{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new IC(this);const o=Yr(n);this._bootstrapComponents=Zs(o.bootstrap),this._r3Injector=mC(n,e,[{provide:cd,useValue:this},{provide:Tl,useValue:this.componentFactoryResolver},...i],Bi(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Cv extends gk{constructor(n){super(),this.moduleType=n}create(n){return new wv(this.moduleType,n,[])}}class _k extends cd{constructor(n){super(),this.componentFactoryResolver=new IC(this),this.instance=null;const e=new Sb([...n.providers,{provide:cd,useValue:this},{provide:Tl,useValue:this.componentFactoryResolver}],n.parent||gp(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function xv(t,n,e=null){return new _k({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let qN=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=jw(0,e.type),o=i.length>0?xv([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,o)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Ne({token:t,providedIn:"environment",factory:()=>new t(we(ks))}),t})();function bk(t){t.getStandaloneInjector=n=>n.get(qN).getOrCreateStandaloneInjector(t)}function qn(t,n,e){const i=ne()+t,o=Ve();return o[i]===jt?Ts(o,i,e?n.call(e):n()):function Ru(t,n){return t[n]}(o,i)}function He(t,n,e,i){return kk(Ve(),ne(),t,n,e,i)}function mn(t,n,e,i,o){return Sk(Ve(),ne(),t,n,e,i,o)}function Gu(t,n){const e=t[n];return e===jt?void 0:e}function kk(t,n,e,i,o,s){const a=n+e;return Er(t,a,o)?Ts(t,a+1,s?i.call(s,o):i(o)):Gu(t,a+1)}function Sk(t,n,e,i,o,s,a){const l=n+e;return El(t,l,o,s)?Ts(t,l+2,a?i.call(a,o,s):i(o,s)):Gu(t,l+2)}function R(t,n){const e=dn();let i;const o=t+en;e.firstCreatePass?(i=function u4(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];const s=i.factory||(i.factory=$s(i.type)),a=Wi(N);try{const l=Zf(!1),d=s();return Zf(l),function ZR(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ve(),o,d),d}finally{Wi(a)}}function H(t,n,e){const i=t+en,o=Ve(),s=ys(o,i);return qu(o,i)?kk(o,ne(),n,s.transform,e,s):s.transform(e)}function kt(t,n,e,i){const o=t+en,s=Ve(),a=ys(s,o);return qu(s,o)?Sk(s,ne(),n,a.transform,e,i,a):a.transform(e,i)}function qu(t,n){return t[lt].data[n].pure}function Sv(t){return n=>{setTimeout(t,void 0,n)}}const ht=class m4 extends J{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,s=e||(()=>null),a=i;if(n&&"object"==typeof n){const d=n;o=d.next?.bind(d),s=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(s=Sv(s),o&&(o=Sv(o)),a&&(a=Sv(a)));const l=super.subscribe({next:o,error:s,complete:a});return n instanceof T&&n.add(l),l}};function g4(){return this._results[Symbol.iterator]()}class Al{get changes(){return this._changes||(this._changes=new ht)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Al.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=g4)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Bo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function pO(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=v4,t})();const _4=mr,b4=class extends _4{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e,null)}createEmbeddedViewImpl(n,e,i){const o=this._declarationTContainer.tView,s=Cp(this._declarationLView,o,n,16,null,o.declTNode,null,null,null,e||null,i||null);s[Us]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[Xr];return null!==l&&(s[Xr]=l.createEmbeddedView(o)),Qb(o,s,n),new Au(s)}};function v4(){return Hp(nr(),Ve())}function Hp(t,n){return 4&t.type?new b4(n,t,qc(t,n)):null}let or=(()=>{class t{}return t.__NG_ELEMENT_ID__=S4,t})();function S4(){return Fk(nr(),Ve())}const D4=or,Ok=class extends D4{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return qc(this._hostTNode,this._hostLView)}get injector(){return new Nc(this._hostTNode,this._hostLView)}get parentInjector(){const n=U_(this._hostTNode,this._hostLView);if(OM(n)){const e=Kf(n,this._hostLView),i=qf(n);return new Nc(e[lt].data[i+8],e)}return new Nc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=Ak(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-ii}createEmbeddedView(n,e,i){let o,s;"number"==typeof i?o=i:null!=i&&(o=i.index,s=i.injector);const l=n.createEmbeddedViewImpl(e||{},s,null);return this.insertImpl(l,o,false),l}createComponent(n,e,i,o,s){const a=n&&!function fu(t){return"function"==typeof t}(n);let l;if(a)l=e;else{const xe=e||{};l=xe.index,i=xe.injector,o=xe.projectableNodes,s=xe.environmentInjector||xe.ngModuleRef}const d=a?n:new Fu(gn(n)),_=i||this.parentInjector;if(!s&&null==d.ngModule){const Ae=(a?_:this.parentInjector).get(ks,null);Ae&&(s=Ae)}gn(d.componentType??{});const ie=d.create(_,o,null,s);return this.insertImpl(ie.hostView,l,false),ie}insert(n,e){return this.insertImpl(n,e,!1)}insertImpl(n,e,i){const o=n._lView,s=o[lt];if(function L_(t){return Mr(t[Jn])}(o)){const d=this.indexOf(n);if(-1!==d)this.detach(d);else{const _=o[Jn],E=new Ok(_,_[pr],_[Jn]);E.detach(E.indexOf(n))}}const a=this._adjustIndex(e),l=this._lContainer;if(function iA(t,n,e,i){const o=ii+i,s=e.length;i>0&&(e[o-1][uo]=n),i0)i.push(a[l/2]);else{const _=s[l+1],E=n[-d];for(let F=ii;F{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=Qe(Hv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const s=o();if(Bu(s))e.push(s);else if(QC(s)){const a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),oS=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Is=new Re("LocaleId",{providedIn:"root",factory:()=>Qe(Is,Ct.Optional|Ct.SkipSelf)||function r5(){return typeof $localize<"u"&&$localize.locale||ld}()});class s5{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let sS=(()=>{class t{compileModuleSync(e){return new Cv(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=Zs(Yr(e).declarations).reduce((a,l)=>{const d=gn(l);return d&&a.push(new Fu(d)),a},[]);return new s5(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const c5=(()=>Promise.resolve(0))();function Vv(t){typeof Zone>"u"?c5.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function cS(...t){}class ft{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ht(!1),this.onMicrotaskEmpty=new ht(!1),this.onStable=new ht(!1),this.onError=new ht(!1),typeof Zone>"u")throw new Fe(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function d5(){let t=Cn.requestAnimationFrame,n=Cn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function f5(t){const n=()=>{!function h5(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Cn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,zv(t),t.isCheckStableRunning=!0,jv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),zv(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,s,a,l)=>{try{return dS(t),e.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),uS(t)}},onInvoke:(e,i,o,s,a,l,d)=>{try{return dS(t),e.invoke(o,s,a,l,d)}finally{t.shouldCoalesceRunChangeDetection&&n(),uS(t)}},onHasTask:(e,i,o,s)=>{e.hasTask(o,s),i===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,zv(t),jv(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,o,s)=>(e.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ft.isInAngularZone())throw new Fe(909,!1)}static assertNotInAngularZone(){if(ft.isInAngularZone())throw new Fe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+o,n,u5,cS,cS);try{return s.runTask(a,e,i)}finally{s.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const u5={};function jv(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function zv(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function dS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uS(t){t._nesting--,jv(t)}class p5{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ht,this.onMicrotaskEmpty=new ht,this.onStable=new ht,this.onError=new ht}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const hS=new Re("",{providedIn:"root",factory:fS});function fS(){const t=Qe(ft);let n=!0;return bt(new he(o=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(n),o.complete()})}),new he(o=>{let s;t.runOutsideAngular(()=>{s=t.onStable.subscribe(()=>{ft.assertNotInAngularZone(),Vv(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const a=t.onUnstable.subscribe(()=>{ft.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe(dl()))}const pS=new Re(""),Vp=new Re("");let $v,Uv=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,$v||(function m5(t){$v=t}(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ft.assertNotInAngularZone(),Vv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Vv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:o})}whenStable(e,i,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(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(we(ft),we(Wv),we(Vp))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),Wv=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return $v?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Ya=null;const mS=new Re("AllowMultipleToken"),Gv=new Re("PlatformDestroyListeners"),qv=new Re("appBootstrapListener");class _S{constructor(n,e){this.name=n,this.token=e}}function vS(t,n,e=[]){const i=`Platform: ${n}`,o=new Re(i);return(s=[])=>{let a=Kv();if(!a||a.injector.get(mS,!1)){const l=[...e,...s,{provide:o,useValue:!0}];t?t(l):function b5(t){if(Ya&&!Ya.get(mS,!1))throw new Fe(400,!1);(function gS(){!function y_(t){Pf=t}(()=>{throw new Fe(600,!1)})})(),Ya=t;const n=t.get(MS);(function bS(t){t.get(Gw,null)?.forEach(e=>e())})(t)}(function yS(t=[],n){return Ti.create({name:n,providers:[{provide:xb,useValue:"platform"},{provide:Gv,useValue:new Set([()=>Ya=null])},...t]})}(l,i))}return function y5(t){const n=Kv();if(!n)throw new Fe(401,!1);return n}()}}function Kv(){return Ya?.get(MS)??null}let MS=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function M5(t="zone.js",n){return"noop"===t?new p5:"zone.js"===t?new ft(n):t}(i?.ngZone,function wS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const s=function GN(t,n,e){return new wv(t,n,e)}(e.moduleType,this.injector,function DS(t){return[{provide:ft,useFactory:t},{provide:ku,multi:!0,useFactory:()=>{const n=Qe(C5,{optional:!0});return()=>n.initialize()}},{provide:SS,useFactory:w5},{provide:hS,useFactory:fS}]}(()=>o)),a=s.injector.get(Ss,null);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:d=>{a.handleError(d)}});s.onDestroy(()=>{jp(this._modules,s),l.unsubscribe()})}),function CS(t,n,e){try{const i=e();return Bu(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(a,o,()=>{const l=s.injector.get(Bv);return l.runInitializers(),l.donePromise.then(()=>(function Wx(t){Zr(t,"Expected localeId to be defined"),"string"==typeof t&&(Ux=t.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Is,ld)||ld),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,i=[]){const o=xS({},i);return function g5(t,n,e){const i=new Cv(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(e){const i=e.injector.get(Ha);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new Fe(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Fe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(Gv,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(we(Ti))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function xS(t,n){return Array.isArray(n)?n.reduce(xS,t):{...t,...n}}let Ha=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Qe(SS),this.componentTypes=[],this.components=[],this.isStable=Qe(hS),this._injector=Qe(ks)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof Qw;if(!this._injector.get(Bv).done)throw!o&&function Ta(t){const n=gn(t)||hr(t)||fr(t);return null!==n&&n.standalone}(e),new Fe(405,!1);let a;a=o?e:this._injector.get(Tl).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function _5(t){return t.isBoundToModule}(a)?void 0:this._injector.get(cd),_=a.create(Ti.NULL,[],i||a.selector,l),E=_.location.nativeElement,F=_.injector.get(pS,null);return F?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),jp(this.components,_),F?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Fe(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;jp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(qv,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>jp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Fe(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function jp(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const SS=new Re("",{providedIn:"root",factory:()=>Qe(Ss).handleError.bind(void 0)});function w5(){const t=Qe(ft),n=Qe(Ss);return e=>t.runOutsideAngular(()=>n.handleError(e))}let C5=(()=>{class t{constructor(){this.zone=Qe(ft),this.applicationRef=Qe(Ha)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();let pi=(()=>{class t{}return t.__NG_ELEMENT_ID__=k5,t})();function k5(t){return function S5(t,n,e){if(Ws(t)&&!e){const i=Tr(t.index,n);return new Au(i,i)}return 47&t.type?new Au(n[Si],n):null}(nr(),Ve(),16==(16&t))}class IS{constructor(){}supports(n){return Tp(n)}create(n){return new P5(n)}}const I5=(t,n)=>n;class P5{constructor(n){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=n||I5}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,s=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(o,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,o)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,s,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,s,o)):n=this._addAfter(new O5(e,i),s,o),n}_verifyReinsertion(n,e,i,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,s=n._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new PS),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new PS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class O5{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class A5{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class PS{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new A5,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function OS(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const s=o._prev,a=o._next;return s&&(s._next=a),a&&(a._prev=s),o._next=null,o._prev=null,o}const i=new R5(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class R5{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function FS(){return new Zu([new IS])}let Zu=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||FS()),deps:[[t,new gu,new xl]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new Fe(901,!1)}}return t.\u0275prov=Ne({token:t,providedIn:"root",factory:FS}),t})();function RS(){return new Xu([new AS])}let Xu=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||RS()),deps:[[t,new gu,new xl]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new Fe(901,!1)}}return t.\u0275prov=Ne({token:t,providedIn:"root",factory:RS}),t})();const H5=vS(null,"core",[]);let B5=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(we(Ha))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),jS=(()=>{class t{get whenAllTasksComplete(){return 0===this.collection.size&&this.complete(),this.promise}constructor(){this.taskId=0,this.collection=new Set,this.ngZone=Qe(ft),this.completed=!1,this.ngZone.runOutsideAngular(()=>{this.promise=new Promise(e=>{this.resolve=e})})}add(){if(this.completed)return-1;const e=this.taskId++;return this.collection.add(e),e}remove(e){this.completed||(this.collection.delete(e),0===this.collection.size&&this.complete())}ngOnDestroy(){this.complete(),this.collection.clear()}complete(){this.completed=!0,this.resolve()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hd(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let ny=null;function Ba(){return ny}class J5{}const It=new Re("DocumentToken");let iy=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return Qe(eY)},providedIn:"platform"}),t})();const Q5=new Re("Location Initialized");let eY=(()=>{class t extends iy{constructor(){super(),this._doc=Qe(It),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ba().getBaseHref(this._doc)}onPopState(e){const i=Ba().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ba().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return new t},providedIn:"platform"}),t})();function ry(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function US(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Qs(t){return t&&"?"!==t[0]?"?"+t:t}let Rl=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return Qe($S)},providedIn:"root"}),t})();const WS=new Re("appBaseHref");let $S=(()=>{class t extends Rl{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Qe(It).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return ry(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Qs(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,s){const a=this.prepareExternalUrl(o+Qs(s));this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,s){const a=this.prepareExternalUrl(o+Qs(s));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(we(iy),we(WS,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tY=(()=>{class t extends Rl{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=ry(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,s){let a=this.prepareExternalUrl(o+Qs(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,s){let a=this.prepareExternalUrl(o+Qs(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(we(iy),we(WS,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),Ju=(()=>{class t{constructor(e){this._subject=new ht,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function rY(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(US(GS(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Qs(i))}normalize(e){return t.stripTrailingSlash(function iY(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,GS(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qs(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Qs(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=Qs,t.joinWithSlash=ry,t.stripTrailingSlash=US,t.\u0275fac=function(e){return new(e||t)(we(Rl))},t.\u0275prov=Ne({token:t,factory:function(){return function nY(){return new Ju(we(Rl))}()},providedIn:"root"}),t})();function GS(t){return t.replace(/\/index.html$/,"")}var ji=(()=>((ji=ji||{})[ji.Format=0]="Format",ji[ji.Standalone=1]="Standalone",ji))(),rn=(()=>((rn=rn||{})[rn.Narrow=0]="Narrow",rn[rn.Abbreviated=1]="Abbreviated",rn[rn.Wide=2]="Wide",rn[rn.Short=3]="Short",rn))(),mi=(()=>((mi=mi||{})[mi.Short=0]="Short",mi[mi.Medium=1]="Medium",mi[mi.Long=2]="Long",mi[mi.Full=3]="Full",mi))(),St=(()=>((St=St||{})[St.Decimal=0]="Decimal",St[St.Group=1]="Group",St[St.List=2]="List",St[St.PercentSign=3]="PercentSign",St[St.PlusSign=4]="PlusSign",St[St.MinusSign=5]="MinusSign",St[St.Exponential=6]="Exponential",St[St.SuperscriptingExponent=7]="SuperscriptingExponent",St[St.PerMille=8]="PerMille",St[St.Infinity=9]="Infinity",St[St.NaN=10]="NaN",St[St.TimeSeparator=11]="TimeSeparator",St[St.CurrencyDecimal=12]="CurrencyDecimal",St[St.CurrencyGroup=13]="CurrencyGroup",St))();function $p(t,n){return Uo(zr(t)[ct.DateFormat],n)}function Gp(t,n){return Uo(zr(t)[ct.TimeFormat],n)}function qp(t,n){return Uo(zr(t)[ct.DateTimeFormat],n)}function zo(t,n){const e=zr(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===St.CurrencyDecimal)return e[ct.NumberSymbols][St.Decimal];if(n===St.CurrencyGroup)return e[ct.NumberSymbols][St.Group]}return i}function KS(t){if(!t[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Uo(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function sy(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const _Y=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Qu={},bY=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ar=(()=>((ar=ar||{})[ar.Short=0]="Short",ar[ar.ShortGMT=1]="ShortGMT",ar[ar.Long=2]="Long",ar[ar.Extended=3]="Extended",ar))(),Pt=(()=>((Pt=Pt||{})[Pt.FullYear=0]="FullYear",Pt[Pt.Month=1]="Month",Pt[Pt.Date=2]="Date",Pt[Pt.Hours=3]="Hours",Pt[Pt.Minutes=4]="Minutes",Pt[Pt.Seconds=5]="Seconds",Pt[Pt.FractionalSeconds=6]="FractionalSeconds",Pt[Pt.Day=7]="Day",Pt))(),Kt=(()=>((Kt=Kt||{})[Kt.DayPeriods=0]="DayPeriods",Kt[Kt.Days=1]="Days",Kt[Kt.Months=2]="Months",Kt[Kt.Eras=3]="Eras",Kt))();function ZS(t,n,e,i){let o=function DY(t){if(QS(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[o,s=1,a=1]=t.split("-").map(l=>+l);return Kp(o,s-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(_Y))return function TY(t){const n=new Date(0);let e=0,i=0;const o=t[8]?n.setUTCFullYear:n.setFullYear,s=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),o.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,l=Number(t[5]||0)-i,d=Number(t[6]||0),_=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(n,a,l,d,_),n}(i)}const n=new Date(t);if(!QS(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=ea(e,n)||n;let l,a=[];for(;n;){if(l=bY.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const E=a.pop();if(!E)break;n=E}}let d=o.getTimezoneOffset();i&&(d=JS(i,d),o=function SY(t,n,e){const i=e?-1:1,o=t.getTimezoneOffset();return function kY(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(JS(n,o)-o))}(o,i,!0));let _="";return a.forEach(E=>{const F=function xY(t){if(ly[t])return ly[t];let n;switch(t){case"G":case"GG":case"GGG":n=Qn(Kt.Eras,rn.Abbreviated);break;case"GGGG":n=Qn(Kt.Eras,rn.Wide);break;case"GGGGG":n=Qn(Kt.Eras,rn.Narrow);break;case"y":n=Ki(Pt.FullYear,1,0,!1,!0);break;case"yy":n=Ki(Pt.FullYear,2,0,!0,!0);break;case"yyy":n=Ki(Pt.FullYear,3,0,!1,!0);break;case"yyyy":n=Ki(Pt.FullYear,4,0,!1,!0);break;case"Y":n=Qp(1);break;case"YY":n=Qp(2,!0);break;case"YYY":n=Qp(3);break;case"YYYY":n=Qp(4);break;case"M":case"L":n=Ki(Pt.Month,1,1);break;case"MM":case"LL":n=Ki(Pt.Month,2,1);break;case"MMM":n=Qn(Kt.Months,rn.Abbreviated);break;case"MMMM":n=Qn(Kt.Months,rn.Wide);break;case"MMMMM":n=Qn(Kt.Months,rn.Narrow);break;case"LLL":n=Qn(Kt.Months,rn.Abbreviated,ji.Standalone);break;case"LLLL":n=Qn(Kt.Months,rn.Wide,ji.Standalone);break;case"LLLLL":n=Qn(Kt.Months,rn.Narrow,ji.Standalone);break;case"w":n=ay(1);break;case"ww":n=ay(2);break;case"W":n=ay(1,!0);break;case"d":n=Ki(Pt.Date,1);break;case"dd":n=Ki(Pt.Date,2);break;case"c":case"cc":n=Ki(Pt.Day,1);break;case"ccc":n=Qn(Kt.Days,rn.Abbreviated,ji.Standalone);break;case"cccc":n=Qn(Kt.Days,rn.Wide,ji.Standalone);break;case"ccccc":n=Qn(Kt.Days,rn.Narrow,ji.Standalone);break;case"cccccc":n=Qn(Kt.Days,rn.Short,ji.Standalone);break;case"E":case"EE":case"EEE":n=Qn(Kt.Days,rn.Abbreviated);break;case"EEEE":n=Qn(Kt.Days,rn.Wide);break;case"EEEEE":n=Qn(Kt.Days,rn.Narrow);break;case"EEEEEE":n=Qn(Kt.Days,rn.Short);break;case"a":case"aa":case"aaa":n=Qn(Kt.DayPeriods,rn.Abbreviated);break;case"aaaa":n=Qn(Kt.DayPeriods,rn.Wide);break;case"aaaaa":n=Qn(Kt.DayPeriods,rn.Narrow);break;case"b":case"bb":case"bbb":n=Qn(Kt.DayPeriods,rn.Abbreviated,ji.Standalone,!0);break;case"bbbb":n=Qn(Kt.DayPeriods,rn.Wide,ji.Standalone,!0);break;case"bbbbb":n=Qn(Kt.DayPeriods,rn.Narrow,ji.Standalone,!0);break;case"B":case"BB":case"BBB":n=Qn(Kt.DayPeriods,rn.Abbreviated,ji.Format,!0);break;case"BBBB":n=Qn(Kt.DayPeriods,rn.Wide,ji.Format,!0);break;case"BBBBB":n=Qn(Kt.DayPeriods,rn.Narrow,ji.Format,!0);break;case"h":n=Ki(Pt.Hours,1,-12);break;case"hh":n=Ki(Pt.Hours,2,-12);break;case"H":n=Ki(Pt.Hours,1);break;case"HH":n=Ki(Pt.Hours,2);break;case"m":n=Ki(Pt.Minutes,1);break;case"mm":n=Ki(Pt.Minutes,2);break;case"s":n=Ki(Pt.Seconds,1);break;case"ss":n=Ki(Pt.Seconds,2);break;case"S":n=Ki(Pt.FractionalSeconds,1);break;case"SS":n=Ki(Pt.FractionalSeconds,2);break;case"SSS":n=Ki(Pt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Xp(ar.Short);break;case"ZZZZZ":n=Xp(ar.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Xp(ar.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Xp(ar.Long);break;default:return null}return ly[t]=n,n}(E);_+=F?F(o,e,d):"''"===E?"'":E.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_}function Kp(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function ea(t,n){const e=function oY(t){return zr(t)[ct.LocaleId]}(t);if(Qu[e]=Qu[e]||{},Qu[e][n])return Qu[e][n];let i="";switch(n){case"shortDate":i=$p(t,mi.Short);break;case"mediumDate":i=$p(t,mi.Medium);break;case"longDate":i=$p(t,mi.Long);break;case"fullDate":i=$p(t,mi.Full);break;case"shortTime":i=Gp(t,mi.Short);break;case"mediumTime":i=Gp(t,mi.Medium);break;case"longTime":i=Gp(t,mi.Long);break;case"fullTime":i=Gp(t,mi.Full);break;case"short":const o=ea(t,"shortTime"),s=ea(t,"shortDate");i=Zp(qp(t,mi.Short),[o,s]);break;case"medium":const a=ea(t,"mediumTime"),l=ea(t,"mediumDate");i=Zp(qp(t,mi.Medium),[a,l]);break;case"long":const d=ea(t,"longTime"),_=ea(t,"longDate");i=Zp(qp(t,mi.Long),[d,_]);break;case"full":const E=ea(t,"fullTime"),F=ea(t,"fullDate");i=Zp(qp(t,mi.Full),[E,F])}return i&&(Qu[e][n]=i),i}function Zp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function ns(t,n,e="-",i,o){let s="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,s=e));let a=String(t);for(;a.length0||l>-e)&&(l+=e),t===Pt.Hours)0===l&&-12===e&&(l=12);else if(t===Pt.FractionalSeconds)return function vY(t,n){return ns(t,3).substring(0,n)}(l,n);const d=zo(a,St.MinusSign);return ns(l,n,d,i,o)}}function Qn(t,n,e=ji.Format,i=!1){return function(o,s){return function MY(t,n,e,i,o,s){switch(e){case Kt.Months:return function lY(t,n,e){const i=zr(t),s=Uo([i[ct.MonthsFormat],i[ct.MonthsStandalone]],n);return Uo(s,e)}(n,o,i)[t.getMonth()];case Kt.Days:return function aY(t,n,e){const i=zr(t),s=Uo([i[ct.DaysFormat],i[ct.DaysStandalone]],n);return Uo(s,e)}(n,o,i)[t.getDay()];case Kt.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(s){const _=function hY(t){const n=zr(t);return KS(n),(n[ct.ExtraData][2]||[]).map(i=>"string"==typeof i?sy(i):[sy(i[0]),sy(i[1])])}(n),E=function fY(t,n,e){const i=zr(t);KS(i);const s=Uo([i[ct.ExtraData][0],i[ct.ExtraData][1]],n)||[];return Uo(s,e)||[]}(n,o,i),F=_.findIndex(G=>{if(Array.isArray(G)){const[ie,_e]=G,xe=a>=ie.hours&&l>=ie.minutes,Ae=a<_e.hours||a===_e.hours&&l<_e.minutes;if(ie.hours<_e.hours){if(xe&&Ae)return!0}else if(xe||Ae)return!0}else if(G.hours===a&&G.minutes===l)return!0;return!1});if(-1!==F)return E[F]}return function sY(t,n,e){const i=zr(t),s=Uo([i[ct.DayPeriodsFormat],i[ct.DayPeriodsStandalone]],n);return Uo(s,e)}(n,o,i)[a<12?0:1];case Kt.Eras:return function cY(t,n){return Uo(zr(t)[ct.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(o,s,t,n,e,i)}}function Xp(t){return function(n,e,i){const o=-1*i,s=zo(e,St.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case ar.Short:return(o>=0?"+":"")+ns(a,2,s)+ns(Math.abs(o%60),2,s);case ar.ShortGMT:return"GMT"+(o>=0?"+":"")+ns(a,1,s);case ar.Long:return"GMT"+(o>=0?"+":"")+ns(a,2,s)+":"+ns(Math.abs(o%60),2,s);case ar.Extended:return 0===i?"Z":(o>=0?"+":"")+ns(a,2,s)+":"+ns(Math.abs(o%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}const wY=0,Jp=4;function XS(t){return Kp(t.getFullYear(),t.getMonth(),t.getDate()+(Jp-t.getDay()))}function ay(t,n=!1){return function(e,i){let o;if(n){const s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();o=1+Math.floor((a+s)/7)}else{const s=XS(e),a=function CY(t){const n=Kp(t,wY,1).getDay();return Kp(t,0,1+(n<=Jp?Jp:Jp+7)-n)}(s.getFullYear()),l=s.getTime()-a.getTime();o=1+Math.round(l/6048e5)}return ns(o,t,zo(i,St.MinusSign))}}function Qp(t,n=!1){return function(e,i){return ns(XS(e).getFullYear(),t,zo(i,St.MinusSign),n)}}const ly={};function JS(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function QS(t){return t instanceof Date&&!isNaN(t.valueOf())}function iD(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(s)}return null}const py=/\s+/,rD=[];let Pn=(()=>{class t{constructor(e,i,o,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=rD,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(py):rD}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(py):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(py).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(N(Zu),N(Xu),N(vt),N(Ks))},t.\u0275dir=Ze({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class VY{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let gi=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,s,a)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new VY(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===s?void 0:s);else if(null!==s){const l=i.get(s);i.move(l,a),sD(l,o)}});for(let o=0,s=i.length;o{sD(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(Zu))},t.\u0275dir=Ze({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function sD(t,n){t.context.$implicit=n.item}let Ft=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new jY,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){aD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){aD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr))},t.\u0275dir=Ze({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class jY{constructor(){this.$implicit=null,this.ngIf=null}}function aD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Bi(n)}'.`)}class my{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let th=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),gy=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new my(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(th,9))},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),lD=(()=>{class t{constructor(e,i,o){o._addDefault(new my(e,i))}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(th,9))},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),fd=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(N(or))},t.\u0275dir=Ze({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gi]}),t})();const tH=new Re("DATE_PIPE_DEFAULT_TIMEZONE"),nH=new Re("DATE_PIPE_DEFAULT_OPTIONS");let dD=(()=>{class t{constructor(e,i,o){this.locale=e,this.defaultTimezone=i,this.defaultOptions=o}transform(e,i,o,s){if(null==e||""===e||e!=e)return null;try{return ZS(e,i??this.defaultOptions?.dateFormat??"mediumDate",s||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(a){throw function is(t,n){return new Fe(2100,!1)}()}}}return t.\u0275fac=function(e){return new(e||t)(N(Is,16),N(tH,24),N(nH,24))},t.\u0275pipe=ur({name:"date",type:t,pure:!0,standalone:!0}),t})(),ta=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const hD="browser";function fD(t){return"server"===t}let gH=(()=>{class t{}return t.\u0275prov=Ne({token:t,providedIn:"root",factory:()=>new _H(we(It),window)}),t})();class _H{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function bH(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const s=o.shadowRoot;if(s){const a=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(a)return a}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],o-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=pD(this.window.history)||pD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function pD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class mD{}class WH extends J5{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class My extends WH{static makeCurrent(){!function X5(t){ny||(ny=t)}(new My)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function $H(){return ih=ih||document.querySelector("base"),ih?ih.getAttribute("href"):null}();return null==e?null:function GH(t){rm=rm||document.createElement("a"),rm.setAttribute("href",t);const n=rm.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){ih=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return iD(document.cookie,n)}}let rm,ih=null,KH=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const wy=new Re("EventManagerPlugins");let yD=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(s=>s.supports(e)),!i)throw new Fe(5101,!1);return this._eventNameToPlugin.set(e,i),i}}return t.\u0275fac=function(e){return new(e||t)(we(wy),we(ft))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();class MD{constructor(n){this._doc=n}}const Cy="ng-app-id";let wD=(()=>{class t{constructor(e,i,o,s={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fD(s),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${Cy}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const s=o.get(e);return s.usage+=i,s.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===e)return o.delete(i),s.removeAttribute(Cy),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Cy,this.appId),a}}addStyleToHost(e,i){const o=this.getStyleElement(e,i);e.appendChild(o);const s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Su),we(Lb,8),we(Fa))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const xy={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ky=/%COMP%/g,QH=new Re("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function xD(t,n){return n.map(e=>e.replace(ky,t))}let Sy=(()=>{class t{constructor(e,i,o,s,a,l,d,_=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestory=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=_,this.rendererByCompId=new Map,this.platformIsServer=fD(l),this.defaultRenderer=new Dy(e,a,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Dr.ShadowDom&&(i={...i,encapsulation:Dr.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof SD?o.applyToHost(e):o instanceof Ty&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let s=o.get(i.id);if(!s){const a=this.doc,l=this.ngZone,d=this.eventManager,_=this.sharedStylesHost,E=this.removeStylesOnCompDestory,F=this.platformIsServer;switch(i.encapsulation){case Dr.Emulated:s=new SD(d,_,i,this.appId,E,a,l,F);break;case Dr.ShadowDom:return new iB(d,_,e,i,a,l,this.nonce,F);default:s=new Ty(d,_,i,E,a,l,F)}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return t.\u0275fac=function(e){return new(e||t)(we(yD),we(wD),we(Su),we(QH),we(It),we(Fa),we(ft),we(Lb))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();class Dy{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(xy[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(kD(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(kD(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new Fe(5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const s=xy[o];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=xy[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(Jr.DashCase|Jr.Important)?n.style.setProperty(e,i,o&Jr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Jr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=Ba().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function kD(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class iB extends Dy{constructor(n,e,i,o,s,a,l,d){super(n,s,a,d),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _=xD(o.id,o.styles);for(const E of _){const F=document.createElement("style");l&&F.setAttribute("nonce",l),F.textContent=E,this.shadowRoot.appendChild(F)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ty extends Dy{constructor(n,e,i,o,s,a,l,d){super(n,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=d?xD(d,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class SD extends Ty{constructor(n,e,i,o,s,a,l,d){const _=o+"-"+i.id;super(n,e,i,s,a,l,d,_),this.contentAttr=function eB(t){return"_ngcontent-%COMP%".replace(ky,t)}(_),this.hostAttr=function tB(t){return"_nghost-%COMP%".replace(ky,t)}(_)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let rB=(()=>{class t extends MD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const DD=["alt","control","meta","shift"],oB={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let aB=(()=>{class t extends MD{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const s=t.parseEventName(i),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ba().onAndCancel(e,s.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),DD.forEach(_=>{const E=i.indexOf(_);E>-1&&(i.splice(E,1),a+=_+".")}),a+=s,0!=i.length||0===s.length)return null;const d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(e,i){let o=oB[e.key]||e.key,s="";return i.indexOf("code.")>-1&&(o=e.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),DD.forEach(a=>{a!==o&&(0,sB[a])(e)&&(s+=a+".")}),s+=o,s===i)}static eventCallback(e,i,o){return s=>{t.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const LD=[{provide:Fa,useValue:hD},{provide:Gw,useValue:function lB(){My.makeCurrent()},multi:!0},{provide:It,useFactory:function dB(){return function gA(t){mb=t}(document),document},deps:[]}],uB=vS(H5,"browser",LD),hB=new Re(""),ED=[{provide:Vp,useClass:class qH{addToWindow(n){Cn.getAngularTestability=(i,o=!0)=>{const s=n.findTestabilityInTree(i,o);if(null==s)throw new Fe(5103,!1);return s},Cn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Cn.getAllAngularRootElements=()=>n.getAllRootElements(),Cn.frameworkStabilizers||(Cn.frameworkStabilizers=[]),Cn.frameworkStabilizers.push(i=>{const o=Cn.getAllAngularTestabilities();let s=o.length,a=!1;const l=function(d){a=a||d,s--,0==s&&i(a)};o.forEach(function(d){d.whenStable(l)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Ba().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:pS,useClass:Uv,deps:[ft,Wv,Vp]},{provide:Uv,useClass:Uv,deps:[ft,Wv,Vp]}],ID=[{provide:xb,useValue:"root"},{provide:Ss,useFactory:function cB(){return new Ss},deps:[]},{provide:wy,useClass:rB,multi:!0,deps:[It,ft,Fa]},{provide:wy,useClass:aB,multi:!0,deps:[It]},Sy,wD,yD,{provide:Eu,useExisting:Sy},{provide:mD,useClass:KH,deps:[]},[]];let PD=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Su,useValue:e.appId}]}}}return t.\u0275fac=function(e){return new(e||t)(we(hB,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[...ID,...ED],imports:[ta,B5]}),t})(),OD=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:function(e){let i=null;return i=e?new e:function pB(){return new OD(we(It))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let Ey=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(e){let i=null;return i=e?new(e||t):we(RD),i},providedIn:"root"}),t})(),RD=(()=>{class t extends Ey{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Dn.NONE:return i;case Dn.HTML:return xs(i,"HTML")?_o(i):Rw(this._doc,String(i)).toString();case Dn.STYLE:return xs(i,"Style")?_o(i):i;case Dn.SCRIPT:if(xs(i,"Script"))return _o(i);throw new Fe(5200,!1);case Dn.URL:return xs(i,"URL")?_o(i):fp(String(i));case Dn.RESOURCE_URL:if(xs(i,"ResourceURL"))return _o(i);throw new Fe(5201,!1);default:throw new Fe(5202,!1)}}bypassSecurityTrustHtml(e){return function CA(t){return new _A(t)}(e)}bypassSecurityTrustStyle(e){return function xA(t){return new bA(t)}(e)}bypassSecurityTrustScript(e){return function kA(t){return new vA(t)}(e)}bypassSecurityTrustUrl(e){return function SA(t){return new yA(t)}(e)}bypassSecurityTrustResourceUrl(e){return function DA(t){return new MA(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:function(e){let i=null;return i=e?new e:function bB(t){return new RD(t.get(It))}(we(Ti)),i},providedIn:"root"}),t})();class YD{}class vB{}const na="*";function ia(t,n){return{type:7,name:t,definitions:n,options:{}}}function Wr(t,n=null){return{type:4,styles:n,timings:t}}function BD(t,n=null){return{type:2,steps:t,options:n}}function ei(t){return{type:6,styles:t,offset:null}}function yo(t,n,e){return{type:0,name:t,styles:n,options:e}}function Pr(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Iy(t=null){return{type:9,options:t}}function Py(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function VD(t){Promise.resolve().then(t)}class rh{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){VD(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class jD{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const s=this.players.length;0==s?VD(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==s&&this._onFinish()}),a.onDestroy(()=>{++i==s&&this._onDestroy()}),a.onStart(()=>{++o==s&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const Oy="!";function zD(t){return new Fe(3e3,!1)}function ja(t){switch(t.length){case 0:return new rh;case 1:return t[0];default:return new jD(t)}}function UD(t,n,e=new Map,i=new Map){const o=[],s=[];let a=-1,l=null;if(n.forEach(d=>{const _=d.get("offset"),E=_==a,F=E&&l||new Map;d.forEach((G,ie)=>{let _e=ie,xe=G;if("offset"!==ie)switch(_e=t.normalizePropertyName(_e,o),xe){case Oy:xe=e.get(ie);break;case na:xe=i.get(ie);break;default:xe=t.normalizeStyleValue(ie,_e,xe,o)}F.set(_e,xe)}),E||s.push(F),l=F,a=_}),o.length)throw function jB(t){return new Fe(3502,!1)}();return s}function Ay(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Fy(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Fy(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Fy(e,"destroy",t)))}}function Fy(t,n,e){const s=Ry(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(s._data=a),s}function Ry(t,n,e,i,o="",s=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:s,disabled:!!a}}function Mo(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function WD(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const eV=(()=>typeof document>"u"?null:document.documentElement)();function Ny(t){const n=t.parentNode||t.host||null;return n===eV?null:n}let Nl=null,$D=!1;function GD(t,n){for(;n;){if(n===t)return!0;n=Ny(n)}return!1}function qD(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let KD=(()=>{class t{validateStyleProperty(e){return function nV(t){Nl||(Nl=function iV(){return typeof document<"u"?document.body:null}()||{},$D=!!Nl.style&&"WebkitAppearance"in Nl.style);let n=!0;return Nl.style&&!function tV(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Nl.style,!n&&$D&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Nl.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return GD(e,i)}getParentElement(e){return Ny(e)}query(e,i,o){return qD(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,s,a,l=[],d){return new rh(o,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),Yy=(()=>{class t{}return t.NOOP=new KD,t})();const rV=1e3,Hy="ng-enter",om="ng-leave",sm="ng-trigger",am=".ng-trigger",XD="ng-animating",By=".ng-animating";function ra(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Vy(parseFloat(n[1]),n[2])}function Vy(t,n){return"s"===n?t*rV:t}function lm(t,n,e){return t.hasOwnProperty("duration")?t:function sV(t,n,e){let o,s=0,a="";if("string"==typeof t){const l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(zD()),{duration:0,delay:0,easing:""};o=Vy(parseFloat(l[1]),l[2]);const d=l[3];null!=d&&(s=Vy(parseFloat(d),l[4]));const _=l[5];_&&(a=_)}else o=t;if(!e){let l=!1,d=n.length;o<0&&(n.push(function yB(){return new Fe(3100,!1)}()),l=!0),s<0&&(n.push(function MB(){return new Fe(3101,!1)}()),l=!0),l&&n.splice(d,0,zD())}return{duration:o,delay:s,easing:a}}(t,n,e)}function oh(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function JD(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function za(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function Ps(t,n,e){n.forEach((i,o)=>{const s=zy(o);e&&!e.has(o)&&e.set(o,t.style[s]),t.style[s]=i})}function Yl(t,n){n.forEach((e,i)=>{const o=zy(i);t.style[o]=""})}function sh(t){return Array.isArray(t)?1==t.length?t[0]:BD(t):t}const jy=new RegExp("{{\\s*(.+?)\\s*}}","g");function eT(t){let n=[];if("string"==typeof t){let e;for(;e=jy.exec(t);)n.push(e[1]);jy.lastIndex=0}return n}function ah(t,n,e){const i=t.toString(),o=i.replace(jy,(s,a)=>{let l=n[a];return null==l&&(e.push(function CB(t){return new Fe(3003,!1)}()),l=""),l.toString()});return o==i?t:o}function cm(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const cV=/-+([a-z0-9])/g;function zy(t){return t.replace(cV,(...n)=>n[1].toUpperCase())}function wo(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function xB(t){return new Fe(3004,!1)}()}}function tT(t,n){return window.getComputedStyle(t)[n]}const dm="*";function hV(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function fV(t,n,e){if(":"==t[0]){const d=function pV(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof d)return void n.push(d);t=d}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function NB(t){return new Fe(3015,!1)}()),n;const o=i[1],s=i[2],a=i[3];n.push(nT(o,a));"<"==s[0]&&!(o==dm&&a==dm)&&n.push(nT(a,o))}(i,e,n)):e.push(t),e}const um=new Set(["true","1"]),hm=new Set(["false","0"]);function nT(t,n){const e=um.has(t)||hm.has(t),i=um.has(n)||hm.has(n);return(o,s)=>{let a=t==dm||t==o,l=n==dm||n==s;return!a&&e&&"boolean"==typeof o&&(a=o?um.has(t):hm.has(t)),!l&&i&&"boolean"==typeof s&&(l=s?um.has(n):hm.has(n)),a&&l}}const mV=new RegExp("s*:selfs*,?","g");function Uy(t,n,e,i){return new gV(t).build(n,e,i)}class gV{constructor(n){this._driver=n}build(n,e,i){const o=new vV(e);return this._resetContextStyleTimingState(o),wo(this,sh(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const s=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function SB(){return new Fe(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const d=l,_=d.name;_.toString().split(/\s*,\s*/).forEach(E=>{d.name=E,s.push(this.visitState(d,e))}),d.name=_}else if(1==l.type){const d=this.visitTransition(l,e);i+=d.queryCount,o+=d.depCount,a.push(d)}else e.errors.push(function DB(){return new Fe(3007,!1)}())}),{type:7,name:n.name,states:s,transitions:a,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const s=new Set,a=o||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(d=>{eT(d).forEach(_=>{a.hasOwnProperty(_)||s.add(_)})})}),s.size&&(cm(s.values()),e.errors.push(function TB(t,n){return new Fe(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=wo(this,sh(n.animation),e);return{type:1,matchers:hV(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Hl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>wo(this,i,e)),options:Hl(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const s=n.steps.map(a=>{e.currentTime=i;const l=wo(this,a,e);return o=Math.max(o,e.currentTime),l});return e.currentTime=o,{type:3,steps:s,options:Hl(n.options)}}visitAnimate(n,e){const i=function MV(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return Wy(lm(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=Wy(0,0,"");return s.dynamic=!0,s.strValue=e,s}const o=lm(e,n);return Wy(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,s=n.styles?n.styles:ei({});if(5==s.type)o=this.visitKeyframes(s,e);else{let a=n.styles,l=!1;if(!a){l=!0;const _={};i.easing&&(_.easing=i.easing),a=ei(_)}e.currentTime+=i.duration+i.delay;const d=this.visitStyle(a,e);d.isEmptyStep=l,o=d}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of o)"string"==typeof l?l===na?i.push(l):e.errors.push(new Fe(3002,!1)):i.push(JD(l));let s=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!s))for(let d of l.values())if(d.toString().indexOf("{{")>=0){s=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,d)=>{const _=e.collectedStyles.get(e.currentQuerySelector),E=_.get(d);let F=!0;E&&(s!=o&&s>=E.startTime&&o<=E.endTime&&(e.errors.push(function EB(t,n,e,i,o){return new Fe(3010,!1)}()),F=!1),s=E.startTime),F&&_.set(d,{startTime:s,endTime:o}),e.options&&function lV(t,n,e){const i=n.params||{},o=eT(t);o.length&&o.forEach(s=>{i.hasOwnProperty(s)||e.push(function wB(t){return new Fe(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function IB(){return new Fe(3011,!1)}()),i;let s=0;const a=[];let l=!1,d=!1,_=0;const E=n.steps.map(ze=>{const Ee=this._makeStyleAst(ze,e);let qe=null!=Ee.offset?Ee.offset:function yV(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(Ee.styles),dt=0;return null!=qe&&(s++,dt=Ee.offset=qe),d=d||dt<0||dt>1,l=l||dt<_,_=dt,a.push(dt),Ee});d&&e.errors.push(function PB(){return new Fe(3012,!1)}()),l&&e.errors.push(function OB(){return new Fe(3200,!1)}());const F=n.steps.length;let G=0;s>0&&s{const qe=G>0?Ee==ie?1:G*Ee:a[Ee],dt=qe*Ae;e.currentTime=_e+xe.delay+dt,xe.duration=dt,this._validateStyleAst(ze,e),ze.offset=qe,i.styles.push(ze)}),i}visitReference(n,e){return{type:8,animation:wo(this,sh(n.animation),e),options:Hl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Hl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Hl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[s,a]=function _V(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(mV,"")),t=t.replace(/@\*/g,am).replace(/@\w+/g,e=>am+"-"+e.slice(1)).replace(/:animating/g,By),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+s:s,Mo(e.collectedStyles,e.currentQuerySelector,new Map);const l=wo(this,sh(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:l,originalSelector:n.selector,options:Hl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function FB(){return new Fe(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:lm(n.timings,e.errors,!0);return{type:12,animation:wo(this,sh(n.animation),e),timings:i,options:null}}}class vV{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Hl(t){return t?(t=oh(t)).params&&(t.params=function bV(t){return t?oh(t):null}(t.params)):t={},t}function Wy(t,n,e){return{duration:t,delay:n,easing:e}}function $y(t,n,e,i,o,s,a=null,l=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:s,totalTime:o+s,easing:a,subTimeline:l}}class fm{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const xV=new RegExp(":enter","g"),SV=new RegExp(":leave","g");function Gy(t,n,e,i,o,s=new Map,a=new Map,l,d,_=[]){return(new DV).buildKeyframes(t,n,e,i,o,s,a,l,d,_)}class DV{buildKeyframes(n,e,i,o,s,a,l,d,_,E=[]){_=_||new fm;const F=new qy(n,e,_,o,s,E,[]);F.options=d;const G=d.delay?ra(d.delay):0;F.currentTimeline.delayNextStep(G),F.currentTimeline.setStyles([a],null,F.errors,d),wo(this,i,F);const ie=F.timelines.filter(_e=>_e.containsAnimation());if(ie.length&&l.size){let _e;for(let xe=ie.length-1;xe>=0;xe--){const Ae=ie[xe];if(Ae.element===e){_e=Ae;break}}_e&&!_e.allowOnlyTimelineStyles()&&_e.setStyles([l],null,F.errors,d)}return ie.length?ie.map(_e=>_e.buildKeyframes()):[$y(e,[],[],[],0,G,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),s=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,o,o.options);s!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const s=o?.delay;if(s){const a="number"==typeof s?s:ra(ah(s,o?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let s=e.currentTimeline.currentTime;const a=null!=i.duration?ra(i.duration):null,l=null!=i.delay?ra(i.delay):null;return 0!==a&&n.forEach(d=>{const _=e.appendInstructionToTimeline(d,a,l);s=Math.max(s,_.duration+_.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),wo(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const s=n.options;if(s&&(s.params||s.delay)&&(o=e.createSubContext(s),o.transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=pm);const a=ra(s.delay);o.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>wo(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?ra(n.options.delay):0;n.steps.forEach(a=>{const l=e.createSubContext(n.options);s&&l.delayNextStep(s),wo(this,a,l),o=Math.max(o,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return lm(e.params?ah(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const s=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(s):i.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,s=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(d=>{l.forwardTime((d.offset||0)*s),l.setStyles(d.styles,d.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(o+s),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},s=o.delay?ra(o.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=pm);let a=i;const l=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=l.length;let d=null;l.forEach((_,E)=>{e.currentQueryIndex=E;const F=e.createSubContext(n.options,_);s&&F.delayNextStep(s),_===e.element&&(d=F.currentTimeline),wo(this,n.animation,F),F.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,F.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,s=n.timings,a=Math.abs(s.duration),l=a*(e.currentQueryTotal-1);let d=a*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=l-d;break;case"full":d=i.currentStaggerTime}const E=e.currentTimeline;d&&E.delayNextStep(d);const F=E.currentTime;wo(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-F+(o.startTime-i.currentTimeline.startTime)}}const pm={};class qy{constructor(n,e,i,o,s,a,l,d){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=s,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new mm(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=ra(i.duration)),null!=i.delay&&(o.delay=ra(i.delay));const s=i.params;if(s){let a=o.params;a||(a=this.options.params={}),Object.keys(s).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=ah(s[l],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,s=new qy(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=pm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},s=new TV(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(s),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,s,a){let l=[];if(o&&l.push(this.element),n.length>0){n=(n=n.replace(xV,"."+this._enterClassName)).replace(SV,"."+this._leaveClassName);let _=this._driver.query(this.element,n,1!=i);0!==i&&(_=i<0?_.slice(_.length+i,_.length):_.slice(0,i)),l.push(..._)}return!s&&0==l.length&&a.push(function RB(t){return new Fe(3014,!1)}()),l}}class mm{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new mm(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||na),this._currentKeyframe.set(e,na);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const s=o&&o.params||{},a=function LV(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let s of i)e.set(s,na)}else za(o,e)}),e}(n,this._globalTimelineStyles);for(let[l,d]of a){const _=ah(d,s,i);this._pendingStyles.set(l,_),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??na),this._updateStyle(l,_)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((l,d)=>{const _=za(l,new Map,this._backFill);_.forEach((E,F)=>{E===Oy?n.add(F):E===na&&e.add(F)}),i||_.set("offset",d/this.duration),o.push(_)});const s=n.size?cm(n.values()):[],a=e.size?cm(e.values()):[];if(i){const l=o[0],d=new Map(l);l.set("offset",0),d.set("offset",1),o=[l,d]}return $y(this.element,o,s,a,this.duration,this.startTime,this.easing,!1)}}class TV extends mm{constructor(n,e,i,o,s,a,l=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=s,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],a=i+e,l=e/a,d=za(n[0]);d.set("offset",0),s.push(d);const _=za(n[0]);_.set("offset",oT(l)),s.push(_);const E=n.length-1;for(let F=1;F<=E;F++){let G=za(n[F]);const ie=G.get("offset");G.set("offset",oT((e+ie*i)/a)),s.push(G)}i=a,e=0,o="",n=s}return $y(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function oT(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class Ky{}const EV=new Set(["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"]);class IV extends Ky{normalizePropertyName(n,e){return zy(n)}normalizeStyleValue(n,e,i,o){let s="";const a=i.toString().trim();if(EV.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&o.push(function kB(t,n){return new Fe(3005,!1)}())}return a+s}}function sT(t,n,e,i,o,s,a,l,d,_,E,F,G){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:s,toState:i,toStyles:a,timelines:l,queriedElements:d,preStyleProps:_,postStyleProps:E,totalTime:F,errors:G}}const Zy={};class aT{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function PV(t,n,e,i,o){return t.some(s=>s(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,s,a,l,d,_,E){const F=[],G=this.ast.options&&this.ast.options.params||Zy,_e=this.buildStyles(i,l&&l.params||Zy,F),xe=d&&d.params||Zy,Ae=this.buildStyles(o,xe,F),ze=new Set,Ee=new Map,qe=new Map,dt="void"===o,Rt={params:OV(xe,G),delay:this.ast.options?.delay},sn=E?[]:Gy(n,e,this.ast.animation,s,a,_e,Ae,Rt,_,F);let Ri=0;if(sn.forEach(us=>{Ri=Math.max(us.duration+us.delay,Ri)}),F.length)return sT(e,this._triggerName,i,o,dt,_e,Ae,[],[],Ee,qe,Ri,F);sn.forEach(us=>{const ba=us.element,UP=Mo(Ee,ba,new Set);us.preStyleProps.forEach(cc=>UP.add(cc));const lf=Mo(qe,ba,new Set);us.postStyleProps.forEach(cc=>lf.add(cc)),ba!==e&&ze.add(ba)});const ds=cm(ze.values());return sT(e,this._triggerName,i,o,dt,_e,Ae,sn,ds,Ee,qe,Ri)}}function OV(t,n){const e=oh(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class AV{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=oh(this.defaultParams);return Object.keys(n).forEach(s=>{const a=n[s];null!==a&&(o[s]=a)}),this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{a&&(a=ah(a,o,e));const d=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,d,a,e),i.set(l,a)})}),i}}class RV{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new AV(o.style,o.options&&o.options.params||{},i))}),lT(this.states,"true","1"),lT(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new aT(n,o,this.states))}),this.fallbackTransition=function NV(t,n,e){return new aT(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(a=>a.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function lT(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const YV=new fm;class HV{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],s=Uy(this._driver,e,i,[]);if(i.length)throw function zB(t){return new Fe(3503,!1)}();this._animations.set(n,s)}_buildPlayer(n,e,i){const o=n.element,s=UD(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],s=this._animations.get(n);let a;const l=new Map;if(s?(a=Gy(this._driver,e,s,Hy,om,new Map,new Map,i,YV,o),a.forEach(E=>{const F=Mo(l,E.element,new Map);E.postStyleProps.forEach(G=>F.set(G,null))})):(o.push(function UB(){return new Fe(3300,!1)}()),a=[]),o.length)throw function WB(t){return new Fe(3504,!1)}();l.forEach((E,F)=>{E.forEach((G,ie)=>{E.set(ie,this._driver.computeStyle(F,ie,na))})});const _=ja(a.map(E=>{const F=l.get(E.element);return this._buildPlayer(E,new Map,F)}));return this._playersById.set(n,_),_.onDestroy(()=>this.destroy(n)),this.players.push(_),_}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function $B(t){return new Fe(3301,!1)}();return e}listen(n,e,i,o){const s=Ry(e,"","","");return Ay(this._getPlayer(n),i,s,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const cT="ng-animate-queued",Xy="ng-animate-disabled",UV=[],dT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},WV={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo="__ng_removed";class Jy{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function KV(t){return t??null}(i?n.value:n),i){const s=oh(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const lh="void",Qy=new Jy(lh);class $V{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,$o(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function GB(t,n){return new Fe(3302,!1)}();if(null==i||0==i.length)throw function qB(t){return new Fe(3303,!1)}();if(!function ZV(t){return"start"==t||"done"==t}(i))throw function KB(t,n){return new Fe(3400,!1)}();const s=Mo(this._elementListeners,n,[]),a={name:e,phase:i,callback:o};s.push(a);const l=Mo(this._engine.statesByElement,n,new Map);return l.has(e)||($o(n,sm),$o(n,sm+"-"+e),l.set(e,Qy)),()=>{this._engine.afterFlush(()=>{const d=s.indexOf(a);d>=0&&s.splice(d,1),this._triggers.has(e)||l.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function ZB(t){return new Fe(3401,!1)}();return e}trigger(n,e,i,o=!0){const s=this._getTrigger(e),a=new e0(this.id,e,n);let l=this._engine.statesByElement.get(n);l||($o(n,sm),$o(n,sm+"-"+e),this._engine.statesByElement.set(n,l=new Map));let d=l.get(e);const _=new Jy(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&_.absorbOptions(d.options),l.set(e,_),d||(d=Qy),_.value!==lh&&d.value===_.value){if(!function QV(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{Yl(n,Ae),Ps(n,ze)})}return}const G=Mo(this._engine.playersByElement,n,[]);G.forEach(xe=>{xe.namespaceId==this.id&&xe.triggerName==e&&xe.queued&&xe.destroy()});let ie=s.matchTransition(d.value,_.value,n,_.params),_e=!1;if(!ie){if(!o)return;ie=s.fallbackTransition,_e=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:ie,fromState:d,toState:_,player:a,isFallbackTransition:_e}),_e||($o(n,cT),a.onStart(()=>{pd(n,cT)})),a.onDone(()=>{let xe=this.players.indexOf(a);xe>=0&&this.players.splice(xe,1);const Ae=this._engine.playersByElement.get(n);if(Ae){let ze=Ae.indexOf(a);ze>=0&&Ae.splice(ze,1)}}),this.players.push(a),G.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,am,!0);i.forEach(o=>{if(o[Wo])return;const s=this._engine.fetchNamespacesByElement(o);s.size?s.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const s=this._engine.statesByElement.get(n),a=new Map;if(s){const l=[];if(s.forEach((d,_)=>{if(a.set(_,d.value),this._triggers.has(_)){const E=this.trigger(n,_,lh,o);E&&l.push(E)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ja(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(s=>{const a=s.name;if(o.has(a))return;o.add(a);const d=this._triggers.get(a).fallbackTransition,_=i.get(a)||Qy,E=new Jy(lh),F=new e0(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:d,fromState:_,toState:E,player:F,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Wo];(!s||s===dT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){$o(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const s=i.element,a=this._elementListeners.get(s);a&&a.forEach(l=>{if(l.name==i.triggerName){const d=Ry(s,i.triggerName,i.fromState.value,i.toState.value);d._data=n,Ay(i.player,l.phase,d,l.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const s=i.transition.ast.depCount,a=o.transition.ast.depCount;return 0==s||0==a?s-a:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class GV{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,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=(o,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new $V(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const d=o.get(l);if(d){const _=i.indexOf(d);i.splice(_+1,0,n),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const s=this._fetchNamespace(o.namespaceId);s&&e.add(s)}return e}trigger(n,e,i,o){if(gm(e)){const s=this._fetchNamespace(n);if(s)return s.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!gm(e))return;const s=e[Wo];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),$o(n,Xy)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),pd(n,Xy))}removeNode(n,e,i,o){if(gm(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,s){this.collectedLeaveElements.push(e),e[Wo]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,i,o,s){return gm(e)?this._fetchNamespace(n).listen(e,i,o,s):()=>{}}_buildInstruction(n,e,i,o,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,am,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,By,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ja(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Wo];if(e&&e.setForRemoval){if(n[Wo]=dT,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Xy)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ja(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function XB(t){return new Fe(3402,!1)}()}_flushAnimations(n,e){const i=new fm,o=[],s=new Map,a=[],l=new Map,d=new Map,_=new Map,E=new Set;this.disabledNodes.forEach(mt=>{E.add(mt);const wt=this.driver.query(mt,".ng-animate-queued",!0);for(let Ot=0;Ot{const Ot=Hy+xe++;_e.set(wt,Ot),mt.forEach(yn=>$o(yn,Ot))});const Ae=[],ze=new Set,Ee=new Set;for(let mt=0;mtze.add(yn)):Ee.add(wt))}const qe=new Map,dt=fT(G,Array.from(ze));dt.forEach((mt,wt)=>{const Ot=om+xe++;qe.set(wt,Ot),mt.forEach(yn=>$o(yn,Ot))}),n.push(()=>{ie.forEach((mt,wt)=>{const Ot=_e.get(wt);mt.forEach(yn=>pd(yn,Ot))}),dt.forEach((mt,wt)=>{const Ot=qe.get(wt);mt.forEach(yn=>pd(yn,Ot))}),Ae.forEach(mt=>{this.processLeaveNode(mt)})});const Rt=[],sn=[];for(let mt=this._namespaceList.length-1;mt>=0;mt--)this._namespaceList[mt].drainQueuedTransitions(e).forEach(Ot=>{const yn=Ot.player,vr=Ot.element;if(Rt.push(yn),this.collectedEnterElements.length){const Nr=vr[Wo];if(Nr&&Nr.setForMove){if(Nr.previousTriggersValues&&Nr.previousTriggersValues.has(Ot.triggerName)){const dc=Nr.previousTriggersValues.get(Ot.triggerName),qo=this.statesByElement.get(Ot.element);if(qo&&qo.has(Ot.triggerName)){const Hg=qo.get(Ot.triggerName);Hg.value=dc,qo.set(Ot.triggerName,Hg)}}return void yn.destroy()}}const Ns=!F||!this.driver.containsElement(F,vr),Eo=qe.get(vr),cl=_e.get(vr),Ci=this._buildInstruction(Ot,i,cl,Eo,Ns);if(Ci.errors&&Ci.errors.length)return void sn.push(Ci);if(Ns)return yn.onStart(()=>Yl(vr,Ci.fromStyles)),yn.onDestroy(()=>Ps(vr,Ci.toStyles)),void o.push(yn);if(Ot.isFallbackTransition)return yn.onStart(()=>Yl(vr,Ci.fromStyles)),yn.onDestroy(()=>Ps(vr,Ci.toStyles)),void o.push(yn);const GP=[];Ci.timelines.forEach(Nr=>{Nr.stretchStartingKeyframe=!0,this.disabledNodes.has(Nr.element)||GP.push(Nr)}),Ci.timelines=GP,i.append(vr,Ci.timelines),a.push({instruction:Ci,player:yn,element:vr}),Ci.queriedElements.forEach(Nr=>Mo(l,Nr,[]).push(yn)),Ci.preStyleProps.forEach((Nr,dc)=>{if(Nr.size){let qo=d.get(dc);qo||d.set(dc,qo=new Set),Nr.forEach((Hg,Z1)=>qo.add(Z1))}}),Ci.postStyleProps.forEach((Nr,dc)=>{let qo=_.get(dc);qo||_.set(dc,qo=new Set),Nr.forEach((Hg,Z1)=>qo.add(Z1))})});if(sn.length){const mt=[];sn.forEach(wt=>{mt.push(function JB(t,n){return new Fe(3505,!1)}())}),Rt.forEach(wt=>wt.destroy()),this.reportError(mt)}const Ri=new Map,ds=new Map;a.forEach(mt=>{const wt=mt.element;i.has(wt)&&(ds.set(wt,wt),this._beforeAnimationBuild(mt.player.namespaceId,mt.instruction,Ri))}),o.forEach(mt=>{const wt=mt.element;this._getPreviousPlayers(wt,!1,mt.namespaceId,mt.triggerName,null).forEach(yn=>{Mo(Ri,wt,[]).push(yn),yn.destroy()})});const us=Ae.filter(mt=>mT(mt,d,_)),ba=new Map;hT(ba,this.driver,Ee,_,na).forEach(mt=>{mT(mt,d,_)&&us.push(mt)});const lf=new Map;ie.forEach((mt,wt)=>{hT(lf,this.driver,new Set(mt),d,Oy)}),us.forEach(mt=>{const wt=ba.get(mt),Ot=lf.get(mt);ba.set(mt,new Map([...Array.from(wt?.entries()??[]),...Array.from(Ot?.entries()??[])]))});const cc=[],WP=[],$P={};a.forEach(mt=>{const{element:wt,player:Ot,instruction:yn}=mt;if(i.has(wt)){if(E.has(wt))return Ot.onDestroy(()=>Ps(wt,yn.toStyles)),Ot.disabled=!0,Ot.overrideTotalTime(yn.totalTime),void o.push(Ot);let vr=$P;if(ds.size>1){let Eo=wt;const cl=[];for(;Eo=Eo.parentNode;){const Ci=ds.get(Eo);if(Ci){vr=Ci;break}cl.push(Eo)}cl.forEach(Ci=>ds.set(Ci,vr))}const Ns=this._buildAnimation(Ot.namespaceId,yn,Ri,s,lf,ba);if(Ot.setRealPlayer(Ns),vr===$P)cc.push(Ot);else{const Eo=this.playersByElement.get(vr);Eo&&Eo.length&&(Ot.parentPlayer=ja(Eo)),o.push(Ot)}}else Yl(wt,yn.fromStyles),Ot.onDestroy(()=>Ps(wt,yn.toStyles)),WP.push(Ot),E.has(wt)&&o.push(Ot)}),WP.forEach(mt=>{const wt=s.get(mt.element);if(wt&&wt.length){const Ot=ja(wt);mt.setRealPlayer(Ot)}}),o.forEach(mt=>{mt.parentPlayer?mt.syncPlayerEvents(mt.parentPlayer):mt.destroy()});for(let mt=0;mt!Ns.destroyed);vr.length?XV(this,wt,vr):this.processLeaveNode(wt)}return Ae.length=0,cc.forEach(mt=>{this.players.push(mt),mt.onDone(()=>{mt.destroy();const wt=this.players.indexOf(mt);this.players.splice(wt,1)}),mt.play()}),cc}elementContainsData(n,e){let i=!1;const o=e[Wo];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,s){let a=[];if(e){const l=this.playersByQueriedElement.get(n);l&&(a=l)}else{const l=this.playersByElement.get(n);if(l){const d=!s||s==lh;l.forEach(_=>{_.queued||!d&&_.triggerName!=o||a.push(_)})}}return(i||o)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||o&&o!=l.triggerName))),a}_beforeAnimationBuild(n,e,i){const s=e.element,a=e.isRemovalTransition?void 0:n,l=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const _=d.element,E=_!==s,F=Mo(i,_,[]);this._getPreviousPlayers(_,E,a,l,e.toState).forEach(ie=>{const _e=ie.getRealPlayer();_e.beforeDestroy&&_e.beforeDestroy(),ie.destroy(),F.push(ie)})}Yl(s,e.fromStyles)}_buildAnimation(n,e,i,o,s,a){const l=e.triggerName,d=e.element,_=[],E=new Set,F=new Set,G=e.timelines.map(_e=>{const xe=_e.element;E.add(xe);const Ae=xe[Wo];if(Ae&&Ae.removedBeforeQueried)return new rh(_e.duration,_e.delay);const ze=xe!==d,Ee=function JV(t){const n=[];return pT(t,n),n}((i.get(xe)||UV).map(Ri=>Ri.getRealPlayer())).filter(Ri=>!!Ri.element&&Ri.element===xe),qe=s.get(xe),dt=a.get(xe),Rt=UD(this._normalizer,_e.keyframes,qe,dt),sn=this._buildPlayer(_e,Rt,Ee);if(_e.subTimeline&&o&&F.add(xe),ze){const Ri=new e0(n,l,xe);Ri.setRealPlayer(sn),_.push(Ri)}return sn});_.forEach(_e=>{Mo(this.playersByQueriedElement,_e.element,[]).push(_e),_e.onDone(()=>function qV(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,_e.element,_e))}),E.forEach(_e=>$o(_e,XD));const ie=ja(G);return ie.onDestroy(()=>{E.forEach(_e=>pd(_e,XD)),Ps(d,e.toStyles)}),F.forEach(_e=>{Mo(o,_e,[]).push(ie)}),ie}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new rh(n.duration,n.delay)}}class e0{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new rh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>Ay(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Mo(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function gm(t){return t&&1===t.nodeType}function uT(t,n){const e=t.style.display;return t.style.display=n??"none",e}function hT(t,n,e,i,o){const s=[];e.forEach(d=>s.push(uT(d)));const a=[];i.forEach((d,_)=>{const E=new Map;d.forEach(F=>{const G=n.computeStyle(_,F,o);E.set(F,G),(!G||0==G.length)&&(_[Wo]=WV,a.push(_))}),t.set(_,E)});let l=0;return e.forEach(d=>uT(d,s[l++])),a}function fT(t,n){const e=new Map;if(t.forEach(l=>e.set(l,[])),0==n.length)return e;const i=1,o=new Set(n),s=new Map;function a(l){if(!l)return i;let d=s.get(l);if(d)return d;const _=l.parentNode;return d=e.has(_)?_:o.has(_)?i:a(_),s.set(l,d),d}return n.forEach(l=>{const d=a(l);d!==i&&e.get(d).push(l)}),e}function $o(t,n){t.classList?.add(n)}function pd(t,n){t.classList?.remove(n)}function XV(t,n,e){ja(e).onDone(()=>t.processLeaveNode(n))}function pT(t,n){for(let e=0;eo.add(s)):n.set(t,i),e.delete(t),!0}class _m{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new GV(n,e,i),this._timelineEngine=new HV(n,e,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,e,i,o,s){const a=n+"-"+o;let l=this._triggerCache[a];if(!l){const d=[],E=Uy(this._driver,s,d,[]);if(d.length)throw function VB(t,n){return new Fe(3404,!1)}();l=function FV(t,n,e){return new RV(t,n,e)}(o,E,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,o,l)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[s,a]=WD(i);this._timelineEngine.command(s,e,a,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,s){if("@"==i.charAt(0)){const[a,l]=WD(i);return this._timelineEngine.listen(a,e,l,s)}return this._transitionEngine.listen(n,e,i,o,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let t8=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Ps(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ps(this._element,this._initialStyles),this._endStyles&&(Ps(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Yl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Yl(this._element,this._endStyles),this._endStyles=null),Ps(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function t0(t){let n=null;return t.forEach((e,i)=>{(function n8(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class gT{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:tT(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class i8{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return GD(n,e)}getParentElement(n){return Ny(n)}query(n,e,i){return qD(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,s,a=[]){const d={duration:i,delay:o,fill:0==o?"both":"forwards"};s&&(d.easing=s);const _=new Map,E=a.filter(ie=>ie instanceof gT);(function dV(t,n){return 0===t||0===n})(i,o)&&E.forEach(ie=>{ie.currentSnapshot.forEach((_e,xe)=>_.set(xe,_e))});let F=function aV(t){return t.length?t[0]instanceof Map?t:t.map(n=>JD(n)):[]}(e).map(ie=>za(ie));F=function uV(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((s,a)=>{i.has(a)||o.push(a),i.set(a,s)}),o.length)for(let s=1;sa.set(l,tT(t,l)))}}return n}(n,F,_);const G=function e8(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=t0(n[0]),n.length>1&&(i=t0(n[n.length-1]))):n instanceof Map&&(e=t0(n)),e||i?new t8(t,e,i):null}(n,F);return new gT(n,F,d,G)}}let r8=(()=>{class t extends YD{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Dr.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?BD(e):e;return _T(this._renderer,null,i,"register",[o]),new o8(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(we(Eu),we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();class o8 extends vB{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new s8(this._id,n,e||{},this._renderer)}}class s8{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return _T(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function _T(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const bT="@.disabled";let a8=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,a)=>{const l=a?.parentNode(s);l&&a.removeChild(l,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let E=this._rendererCache.get(s);return E||(E=new vT("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,E)),E}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const d=E=>{Array.isArray(E)?E.forEach(d):this.engine.registerTrigger(a,l,e,E.name,E)};return i.data.animation.forEach(d),new l8(this,l,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[a,l]=s;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(we(Eu),we(_m),we(ft))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();class vT{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==bT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class l8 extends vT{constructor(n,e,i,o,s){super(e,i,o,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==bT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function c8(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let s=e.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function d8(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i)}}let u8=(()=>{class t extends _m{constructor(e,i,o,s){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Yy),we(Ky),we(Ha))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const yT=[{provide:YD,useClass:r8},{provide:Ky,useFactory:function h8(){return new IV}},{provide:_m,useClass:u8},{provide:Eu,useFactory:function f8(t,n,e){return new a8(t,n,e)},deps:[Sy,_m,ft]}],n0=[{provide:Yy,useFactory:()=>new i8},{provide:Vi,useValue:"BrowserAnimations"},...yT],MT=[{provide:Yy,useClass:KD},{provide:Vi,useValue:"NoopAnimations"},...yT];let p8=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?MT:n0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:n0,imports:[PD]}),t})();function $e(...t){let n=t[t.length-1];return Se(n)?(t.pop(),W(t,n)):Rn(t)}function Bl(t,n){return Ye(t,n,1)}function _i(t,n){return function(i){return i.lift(new m8(t,n))}}class m8{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new g8(n,this.predicate,this.thisArg))}}class g8 extends A{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}function gr(t,n){return"function"==typeof n?e=>e.pipe(gr((i,o)=>ue(t(i,o)).pipe(ke((s,a)=>n(i,s,o,a))))):e=>e.lift(new _8(t))}class _8{constructor(n){this.project=n}call(n,e){return e.subscribe(new b8(n,this.project))}}class b8 extends Me{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(o){return void this.destination.error(o)}this._innerSub(e)}_innerSub(n){const e=this.innerSubscription;e&&e.unsubscribe();const i=new be(this),o=this.destination;o.add(i),this.innerSubscription=Ie(n,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}class vm{}class r0{}class rs{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),s=o.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(a):this.headers.set(s,[a])}})}:()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{let o;if(o="string"==typeof i?[i]:"number"==typeof i?[i.toString()]:i.map(s=>s.toString()),o.length>0){const s=e.toLowerCase();this.headers.set(s,o),this.maybeSetNormalizedName(e,s)}})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof rs?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new rs;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof rs?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const s=n.value;if(s){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===s.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class v8{encodeKey(n){return wT(n)}encodeValue(n){return wT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const M8=/%(\d[a-f0-9])/gi,w8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wT(t){return encodeURIComponent(t).replace(M8,(n,e)=>w8[e]??n)}function ym(t){return`${t}`}class Ua{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new v8,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function y8(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[a,l]=-1==s?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,s)),n.decodeValue(o.slice(s+1))],d=e.get(a)||[];d.push(l),e.set(a,d)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(ym):[ym(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Ua({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(ym(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(ym(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class C8{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function CT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function xT(t){return typeof Blob<"u"&&t instanceof Blob}function kT(t){return typeof FormData<"u"&&t instanceof FormData}class ch{constructor(n,e,i,o){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function x8(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,s=o):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new rs),this.context||(this.context=new C8),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":lF.set(G,n.setHeaders[G]),d)),n.setParams&&(_=Object.keys(n.setParams).reduce((F,G)=>F.set(G,n.setParams[G]),_)),new ch(e,i,s,{params:_,headers:d,context:E,reportProgress:l,responseType:o,withCredentials:a})}}var Zi=(()=>((Zi=Zi||{})[Zi.Sent=0]="Sent",Zi[Zi.UploadProgress=1]="UploadProgress",Zi[Zi.ResponseHeader=2]="ResponseHeader",Zi[Zi.DownloadProgress=3]="DownloadProgress",Zi[Zi.Response=4]="Response",Zi[Zi.User=5]="User",Zi))();class o0{constructor(n,e=200,i="OK"){this.headers=n.headers||new rs,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class s0 extends o0{constructor(n={}){super(n),this.type=Zi.ResponseHeader}clone(n={}){return new s0({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class md extends o0{constructor(n={}){super(n),this.type=Zi.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new md({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ST extends o0{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function a0(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Vl=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let s;if(e instanceof ch)s=e;else{let d,_;d=o.headers instanceof rs?o.headers:new rs(o.headers),o.params&&(_=o.params instanceof Ua?o.params:new Ua({fromObject:o.params})),s=new ch(e,i,void 0!==o.body?o.body:null,{headers:d,context:o.context,params:_,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=$e(s).pipe(Bl(d=>this.handler.handle(d)));if(e instanceof ch||"events"===o.observe)return a;const l=a.pipe(_i(d=>d instanceof md));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ke(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(ke(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(ke(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return l.pipe(ke(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ua).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,a0(o,i))}post(e,i,o={}){return this.request("POST",e,a0(o,i))}put(e,i,o={}){return this.request("PUT",e,a0(o,i))}}return t.\u0275fac=function(e){return new(e||t)(we(vm))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function DT(t,n){return n(t)}function S8(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const T8=new Re(""),dh=new Re(""),TT=new Re("");function L8(){let t=null;return(n,e)=>(null===t&&(t=(Qe(T8,{optional:!0})??[]).reduceRight(S8,DT)),t(n,e))}let LT=(()=>{class t extends vm{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(dh),...this.injector.get(TT,[])]));this.chain=i.reduceRight((o,s)=>function D8(t,n,e){return(i,o)=>e.runInContext(()=>n(i,s=>t(s,o)))}(o,s,this.injector),DT)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(we(r0),we(ks))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const O8=/^\)\]\}',?\n/;let IT=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");const i=this.xhrFactory;return(i.\u0275loadImpl?ue(i.\u0275loadImpl()):$e(null)).pipe(gr(()=>new he(s=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((Ee,qe)=>a.setRequestHeader(Ee,qe.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Ee=e.detectContentTypeHeader();null!==Ee&&a.setRequestHeader("Content-Type",Ee)}if(e.responseType){const Ee=e.responseType.toLowerCase();a.responseType="json"!==Ee?Ee:"text"}const l=e.serializeBody();let d=null;const _=()=>{if(null!==d)return d;const Ee=a.statusText||"OK",qe=new rs(a.getAllResponseHeaders()),dt=function A8(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||e.url;return d=new s0({headers:qe,status:a.status,statusText:Ee,url:dt}),d},E=()=>{let{headers:Ee,status:qe,statusText:dt,url:Rt}=_(),sn=null;204!==qe&&(sn=typeof a.response>"u"?a.responseText:a.response),0===qe&&(qe=sn?200:0);let Ri=qe>=200&&qe<300;if("json"===e.responseType&&"string"==typeof sn){const ds=sn;sn=sn.replace(O8,"");try{sn=""!==sn?JSON.parse(sn):null}catch(us){sn=ds,Ri&&(Ri=!1,sn={error:us,text:sn})}}Ri?(s.next(new md({body:sn,headers:Ee,status:qe,statusText:dt,url:Rt||void 0})),s.complete()):s.error(new ST({error:sn,headers:Ee,status:qe,statusText:dt,url:Rt||void 0}))},F=Ee=>{const{url:qe}=_(),dt=new ST({error:Ee,status:a.status||0,statusText:a.statusText||"Unknown Error",url:qe||void 0});s.error(dt)};let G=!1;const ie=Ee=>{G||(s.next(_()),G=!0);let qe={type:Zi.DownloadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(qe.total=Ee.total),"text"===e.responseType&&a.responseText&&(qe.partialText=a.responseText),s.next(qe)},_e=Ee=>{let qe={type:Zi.UploadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(qe.total=Ee.total),s.next(qe)};let xe;a.addEventListener("load",E),a.addEventListener("error",F),a.addEventListener("timeout",F),a.addEventListener("abort",F),e.reportProgress&&(a.addEventListener("progress",ie),null!==l&&a.upload&&a.upload.addEventListener("progress",_e));const Ae=()=>{xe??=function R8(){const t=setTimeout(()=>{},F8);return()=>clearTimeout(t)}()},ze=()=>{xe?.()};return a.addEventListener("loadstart",Ae),a.addEventListener("loadend",ze),a.send(l),s.next({type:Zi.Sent}),()=>{a.removeEventListener("loadstart",Ae),a.removeEventListener("loadend",ze),a.removeEventListener("error",F),a.removeEventListener("abort",F),a.removeEventListener("load",E),a.removeEventListener("timeout",F),xe?.(),e.reportProgress&&(a.removeEventListener("progress",ie),null!==l&&a.upload&&a.upload.removeEventListener("progress",_e)),a.readyState!==a.DONE&&a.abort()}})))}}return t.\u0275fac=function(e){return new(e||t)(we(mD))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const F8=2147483647,l0=new Re("XSRF_ENABLED"),PT=new Re("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),OT=new Re("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class AT{}let H8=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=iD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Fa),we(PT))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function B8(t,n){const e=t.url.toLowerCase();if(!Qe(l0)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Qe(AT).getToken(),o=Qe(OT);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var Ui=(()=>((Ui=Ui||{})[Ui.Interceptors=0]="Interceptors",Ui[Ui.LegacyInterceptors=1]="LegacyInterceptors",Ui[Ui.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ui[Ui.NoXsrfProtection=3]="NoXsrfProtection",Ui[Ui.JsonpSupport=4]="JsonpSupport",Ui[Ui.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ui))();function gd(t,n){return{\u0275kind:t,\u0275providers:n}}function V8(...t){const n=[Vl,IT,LT,{provide:vm,useExisting:LT},{provide:r0,useExisting:IT},{provide:dh,useValue:B8,multi:!0},{provide:l0,useValue:!0},{provide:AT,useClass:H8}];for(const e of t)n.push(...e.\u0275providers);return function yb(t){return{\u0275providers:t}}(n)}const FT=new Re("LEGACY_INTERCEPTOR_FN");let z8=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[V8(gd(Ui.LegacyInterceptors,[{provide:FT,useFactory:L8},{provide:dh,useExisting:FT,multi:!0}]))]}),t})();function Wa(t){return!!t&&(t instanceof he||"function"==typeof t.lift&&"function"==typeof t.subscribe)}class Or extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ee;return this._value}next(n){super.next(this._value=n)}}class K8 extends A{notifyNext(n,e,i,o,s){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class Z8 extends A{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function X8(t,n,e,i,o=new Z8(t,e,i)){if(!o.closed)return n instanceof he?n.subscribe(o):Yi(n)(o)}const RT={};function Mm(...t){let n,e;return Se(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&M(t[0])&&(t=t[0]),Rn(t,e).lift(new J8(n))}class J8{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new Q8(n,this.resultSelector))}}class Q8 extends K8{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(RT),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function $a(...t){return function e6(){return fn(1)}()($e(...t))}const oa=new he(t=>t.complete());function Cm(t){return t?function t6(t){return new he(n=>t.schedule(()=>n.complete()))}(t):oa}function jl(t){return new he(n=>{let e;try{e=t()}catch(o){return void n.error(o)}return(e?ue(e):Cm()).subscribe(n)})}function Ar(t,n){return new he(n?e=>n.schedule(n6,0,{error:t,subscriber:e}):e=>e.error(t))}function n6({error:t,subscriber:n}){n.error(t)}const NT=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Kn(t){return n=>0===t?Cm():n.lift(new i6(t))}class i6{constructor(n){if(this.total=n,this.total<0)throw new NT}call(n,e){return e.subscribe(new r6(n,this.total))}}class r6 extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Go(...t){const n=t[t.length-1];return Se(n)?(t.pop(),e=>$a(t,e,n)):e=>$a(t,e)}function xm(t=null){return n=>n.lift(new o6(t))}class o6{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new s6(n,this.defaultValue))}}class s6 extends A{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function YT(t=c6){return n=>n.lift(new a6(t))}class a6{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new l6(n,this.errorFactory))}}class l6 extends A{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function c6(){return new wm}function zl(t,n){const e=arguments.length>=2;return i=>i.pipe(t?_i((o,s)=>t(o,s,i)):ye,Kn(1),e?xm(n):YT(()=>new wm))}function Ga(){}function bi(t,n,e){return function(o){return o.lift(new d6(t,n,e))}}class d6{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new u6(n,this.nextOrObserver,this.error,this.complete))}}class u6 extends A{constructor(n,e,i,o){super(n),this._tapNext=Ga,this._tapError=Ga,this._tapComplete=Ga,this._tapError=i||Ga,this._tapComplete=o||Ga,O(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Ga,this._tapError=e.error||Ga,this._tapComplete=e.complete||Ga)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Co(t){return function(e){const i=new h6(t),o=e.lift(i);return i.caught=o}}class h6{constructor(n){this.selector=n}call(n,e){return e.subscribe(new f6(n,this.selector,this.caught))}}class f6 extends Me{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new be(this);this.add(i);const o=Ie(e,i);o!==i&&this.add(o)}}}class m6{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new g6(n,this.accumulator,this.seed,this.hasSeed))}}class g6 extends A{constructor(n,e,i,o){super(n),this.accumulator=e,this._seed=i,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(o){this.destination.error(o)}this.seed=i,this.destination.next(i)}}function c0(t){return function(e){return 0===t?Cm():e.lift(new _6(t))}}class _6{constructor(n){if(this.total=n,this.total<0)throw new NT}call(n,e){return e.subscribe(new b6(n,this.total))}}class b6 extends A{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,o=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,o=this.ring;for(let s=0;sn.lift(new C6(t))}class C6{constructor(n){this.callback=n}call(n,e){return e.subscribe(new x6(n,this.callback))}}class x6 extends A{constructor(n,e){super(n),this.add(new T(e))}}const Gt="primary",hh=Symbol("RouteTitle");class k6{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function _d(t){return new k6(t)}function S6(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[s]===o)}return t===n}function BT(t){return t.length>0?t[t.length-1]:null}function qa(t){return Wa(t)?t:Bu(t)?ue(Promise.resolve(t)):$e(t)}const T6={exact:function zT(t,n,e){if(!Ul(t.segments,n.segments)||!Sm(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!zT(t.children[i],n.children[i],e))return!1;return!0},subset:UT},VT={exact:function L6(t,n){return Os(t,n)},subset:function E6(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>HT(t[e],n[e]))},ignored:()=>!0};function jT(t,n,e){return T6[e.paths](t.root,n.root,e.matrixParams)&&VT[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function UT(t,n,e){return WT(t,n,n.segments,e)}function WT(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!Ul(o,e)||n.hasChildren()||!Sm(o,e,i))}if(t.segments.length===e.length){if(!Ul(t.segments,e)||!Sm(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!UT(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!(Ul(t.segments,o)&&Sm(t.segments,o,i)&&t.children[Gt])&&WT(t.children[Gt],n,s,i)}}function Sm(t,n,e){return n.every((i,o)=>VT[e](t[o].parameters,i.parameters))}class bd{constructor(n=new Hn([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_d(this.queryParams)),this._queryParamMap}toString(){return O6.serialize(this)}}class Hn{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dm(this)}}class fh{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=_d(this.parameters)),this._parameterMap}toString(){return qT(this)}}function Ul(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let ph=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return new d0},providedIn:"root"}),t})();class d0{parse(n){const e=new U6(n);return new bd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${mh(n.root,!0)}`,i=function R6(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${Tm(e)}=${Tm(o)}`).join("&"):`${Tm(e)}=${Tm(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),o="string"==typeof n.fragment?`#${function A6(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${o}`}}const O6=new d0;function Dm(t){return t.segments.map(n=>qT(n)).join("/")}function mh(t,n){if(!t.hasChildren())return Dm(t);if(n){const e=t.children[Gt]?mh(t.children[Gt],!1):"",i=[];return Object.entries(t.children).forEach(([o,s])=>{o!==Gt&&i.push(`${o}:${mh(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function P6(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===Gt&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==Gt&&(e=e.concat(n(o,i)))}),e}(t,(i,o)=>o===Gt?[mh(t.children[Gt],!1)]:[`${o}:${mh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Gt]?`${Dm(t)}/${e[0]}`:`${Dm(t)}/(${e.join("//")})`}}function $T(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tm(t){return $T(t).replace(/%3B/gi,";")}function u0(t){return $T(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Lm(t){return decodeURIComponent(t)}function GT(t){return Lm(t.replace(/\+/g,"%20"))}function qT(t){return`${u0(t.path)}${function F6(t){return Object.keys(t).map(n=>`;${u0(n)}=${u0(t[n])}`).join("")}(t.parameters)}`}const N6=/^[^\/()?;#]+/;function h0(t){const n=t.match(N6);return n?n[0]:""}const Y6=/^[^\/()?;=#]+/,B6=/^[^=?&#]+/,j6=/^[^&#]+/;class U6{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hn([],{}):new Hn([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Gt]=new Hn(n,e)),i}parseSegment(){const n=h0(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Fe(4009,!1);return this.capture(n),new fh(Lm(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function H6(t){const n=t.match(Y6);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=h0(this.remaining);o&&(i=o,this.capture(i))}n[Lm(e)]=Lm(i)}parseQueryParam(n){const e=function V6(t){const n=t.match(B6);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function z6(t){const n=t.match(j6);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const o=GT(e),s=GT(i);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(s)}else n[o]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=h0(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new Fe(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=Gt);const a=this.parseChildren();e[s]=1===Object.keys(a).length?a[Gt]:new Hn([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Fe(4011,!1)}}function KT(t){return t.segments.length>0?new Hn([],{[Gt]:t}):t}function ZT(t){const n={};for(const i of Object.keys(t.children)){const s=ZT(t.children[i]);if(i===Gt&&0===s.segments.length&&s.hasChildren())for(const[a,l]of Object.entries(s.children))n[a]=l;else(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function W6(t){if(1===t.numberOfChildren&&t.children[Gt]){const n=t.children[Gt];return new Hn(t.segments.concat(n.segments),n.children)}return t}(new Hn(t.segments,n))}function Wl(t){return t instanceof bd}function XT(t){let n;const o=KT(function e(s){const a={};for(const d of s.children){const _=e(d);a[d.outlet]=_}const l=new Hn(s.url,a);return s===t&&(n=l),l}(t.root));return n??o}function JT(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(0===n.length)return f0(o,o,o,e,i);const s=function G6(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new e2(!0,0,t);let n=0,e=!1;const i=t.reduce((o,s,a)=>{if("object"==typeof s&&null!=s){if(s.outlets){const l={};return Object.entries(s.outlets).forEach(([d,_])=>{l[d]="string"==typeof _?_.split("/"):_}),[...o,{outlets:l}]}if(s.segmentPath)return[...o,s.segmentPath]}return"string"!=typeof s?[...o,s]:0===a?(s.split("/").forEach((l,d)=>{0==d&&"."===l||(0==d&&""===l?e=!0:".."===l?n++:""!=l&&o.push(l))}),o):[...o,s]},[]);return new e2(e,n,i)}(n);if(s.toRoot())return f0(o,o,new Hn([],{}),e,i);const a=function q6(t,n,e){if(t.isAbsolute)return new Im(n,!0,0);if(!e)return new Im(n,!1,NaN);if(null===e.parent)return new Im(e,!0,0);const i=Em(t.commands[0])?0:1;return function K6(t,n,e){let i=t,o=n,s=e;for(;s>o;){if(s-=o,i=i.parent,!i)throw new Fe(4005,!1);o=i.segments.length}return new Im(i,!1,o-s)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?_h(a.segmentGroup,a.index,s.commands):t2(a.segmentGroup,a.index,s.commands);return f0(o,a.segmentGroup,l,e,i)}function Em(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function gh(t){return"object"==typeof t&&null!=t&&t.outlets}function f0(t,n,e,i,o){let a,s={};i&&Object.entries(i).forEach(([d,_])=>{s[d]=Array.isArray(_)?_.map(E=>`${E}`):`${_}`}),a=t===n?e:QT(t,n,e);const l=KT(ZT(a));return new bd(l,s,o)}function QT(t,n,e){const i={};return Object.entries(t.children).forEach(([o,s])=>{i[o]=s===n?e:QT(s,n,e)}),new Hn(t.segments,i)}class e2{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Em(i[0]))throw new Fe(4003,!1);const o=i.find(gh);if(o&&o!==BT(i))throw new Fe(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Im{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function t2(t,n,e){if(t||(t=new Hn([],{})),0===t.segments.length&&t.hasChildren())return _h(t,n,e);const i=function X6(t,n,e){let i=0,o=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return s;const a=t.segments[o],l=e[i];if(gh(l))break;const d=`${l}`,_=i0&&void 0===d)break;if(d&&_&&"object"==typeof _&&void 0===_.outlets){if(!r2(d,_,a))return s;i+=2}else{if(!r2(d,{},a))return s;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(o[s]=t2(t.children[s],n,a))}),Object.entries(t.children).forEach(([s,a])=>{void 0===i[s]&&(o[s]=a)}),new Hn(t.segments,o)}}function p0(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=p0(new Hn([],{}),0,i))}),n}function n2(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function r2(t,n,e){return t==e.path&&Os(n,e.parameters)}const bh="imperative";class As{constructor(n,e){this.id=n,this.url=e}}class m0 extends As{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ka extends As{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pm extends As{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class vh extends As{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class g0 extends As{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Q6 extends As{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ej extends As{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tj extends As{constructor(n,e,i,o,s){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nj extends As{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ij extends As{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rj{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oj{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sj{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aj{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lj{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cj{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class o2{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new yh,this.attachRef=null}}let yh=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new dj,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class s2{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=_0(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=_0(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=b0(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return b0(n,this._root).map(e=>e.value)}}function _0(t,n){if(t===n.value)return n;for(const e of n.children){const i=_0(t,e);if(i)return i}return null}function b0(t,n){if(t===n.value)return[n];for(const e of n.children){const i=b0(t,e);if(i.length)return i.unshift(n),i}return[]}class sa{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function vd(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class a2 extends s2{constructor(n,e){super(n),this.snapshot=e,v0(this,n)}toString(){return this.snapshot.toString()}}function l2(t,n){const e=function uj(t,n){const a=new Om([],{},{},"",{},Gt,n,null,{});return new d2("",new sa(a,[]))}(0,n),i=new Or([new fh("",{})]),o=new Or({}),s=new Or({}),a=new Or({}),l=new Or(""),d=new Cr(i,o,a,l,s,Gt,n,e.root);return d.snapshot=e.root,new a2(new sa(d,[]),e)}class Cr{constructor(n,e,i,o,s,a,l,d){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=s,this.outlet=a,this.component=l,this._futureSnapshot=d,this.title=this.dataSubject?.pipe(ke(_=>_[hh]))??$e(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ke(n=>_d(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ke(n=>_d(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function c2(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],s=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(s.component)break;i--}}return function hj(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Om{get title(){return this.data?.[hh]}constructor(n,e,i,o,s,a,l,d,_){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s,this.outlet=a,this.component=l,this.routeConfig=d,this._resolve=_}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_d(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_d(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class d2 extends s2{constructor(n,e){super(e),this.url=n,v0(this,e)}toString(){return u2(this._root)}}function v0(t,n){n.value._routerState=t,n.children.forEach(e=>v0(t,e))}function u2(t){const n=t.children.length>0?` { ${t.children.map(u2).join(", ")} } `:"";return`${t.value}${n}`}function y0(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Os(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Os(n.params,e.params)||t.paramsSubject.next(e.params),function D6(t,n){if(t.length!==n.length)return!1;for(let e=0;eOs(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||M0(t.parent,n.parent))}let Am=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=Gt,this.activateEvents=new ht,this.deactivateEvents=new ht,this.attachEvents=new ht,this.detachEvents=new ht,this.parentContexts=Qe(yh),this.location=Qe(or),this.changeDetector=Qe(pi),this.environmentInjector=Qe(ks),this.inputBinder=Qe(Fm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Fe(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Fe(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Fe(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Fe(4013,!1);this._activatedRoute=e;const o=this.location,a=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new fj(e,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gi]}),t})();class fj{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Cr?this.route:n===yh?this.childContexts:this.parent.get(n,e)}}const Fm=new Re("");let h2=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:i}=e,o=Mm([i.queryParams,i.params,i.data]).pipe(gr(([s,a,l],d)=>(l={...s,...a,...l},0===d?$e(l):Promise.resolve(l)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const a=function Z5(t){const n=gn(t);if(!n)return null;const e=new Fu(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone}}}(i.component);if(a)for(const{templateName:l}of a.inputs)e.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function Mh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function mj(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Mh(t,i,o);return Mh(t,i)})}(t,n,e);return new sa(i,o)}{if(t.shouldAttach(n.value)){const s=t.retrieve(n.value);if(null!==s){const a=s.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>Mh(t,l)),a}}const i=function gj(t){return new Cr(new Or(t.url),new Or(t.params),new Or(t.queryParams),new Or(t.fragment),new Or(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(s=>Mh(t,s));return new sa(i,o)}}const w0="ngNavigationCancelingError";function f2(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Wl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=p2(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function p2(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[w0]=!0,i.cancellationCode=n,e&&(i.url=e),i}function m2(t){return g2(t)&&Wl(t.url)}function g2(t){return t&&t[w0]}let _2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["ng-component"]],standalone:!0,features:[bk],decls:1,vars:0,template:function(e,i){1&e&&Ce(0,"router-outlet")},dependencies:[Am],encapsulation:2}),t})();function C0(t){const n=t.children&&t.children.map(C0),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Gt&&(e.component=_2),e}function os(t){return t.outlet||Gt}function wh(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Cj{constructor(n,e,i,o,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=s}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),y0(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=vd(e);n.children.forEach(s=>{const a=s.value.outlet;this.deactivateRoutes(s,o[a],i),delete o[a]}),Object.values(o).forEach(s=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(o===s)if(o.component){const a=i.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=vd(n);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],o);if(i&&i.outlet){const a=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=vd(n);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const o=vd(e);n.children.forEach(s=>{this.activateRoutes(s,o[s.value.outlet],i),this.forwardEvent(new cj(s.value.snapshot))}),n.children.length&&this.forwardEvent(new aj(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(y0(o),o===s)if(o.component){const a=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const a=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),y0(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=wh(o.snapshot);a.attachRef=null,a.route=o,a.injector=l,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class b2{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Rm{constructor(n,e){this.component=n,this.route=e}}function xj(t,n,e){const i=t._root;return Ch(i,n?n._root:null,e,[i.value])}function yd(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function zg(t){return null!==hc(t)}(t)?n.get(t):t:i}function Ch(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=vd(n);return t.children.forEach(a=>{(function Sj(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=e?e.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const d=function Dj(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!Ul(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Ul(t.url,n.url)||!Os(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!M0(t,n)||!Os(t.queryParams,n.queryParams);default:return!M0(t,n)}}(a,s,s.routeConfig.runGuardsAndResolvers);d?o.canActivateChecks.push(new b2(i)):(s.data=a.data,s._resolvedData=a._resolvedData),Ch(t,n,s.component?l?l.children:null:e,i,o),d&&l&&l.outlet&&l.outlet.isActivated&&o.canDeactivateChecks.push(new Rm(l.outlet.component,a))}else a&&xh(n,l,o),o.canActivateChecks.push(new b2(i)),Ch(t,null,s.component?l?l.children:null:e,i,o)})(a,s[a.value.outlet],e,i.concat([a.value]),o),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,l])=>xh(l,e.getContext(a),o)),o}function xh(t,n,e){const i=vd(t),o=t.value;Object.entries(i).forEach(([s,a])=>{xh(a,o.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new Rm(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function kh(t){return"function"==typeof t}function v2(t){return t instanceof wm||"EmptyError"===t?.name}const Nm=Symbol("INITIAL_VALUE");function Md(){return gr(t=>Mm(t.map(n=>n.pipe(Kn(1),Go(Nm)))).pipe(ke(n=>{for(const e of n)if(!0!==e){if(e===Nm)return Nm;if(!1===e||e instanceof bd)return e}return!0}),_i(n=>n!==Nm),Kn(1)))}function y2(t){return function Z(...t){return X(t)}(bi(n=>{if(Wl(n))throw f2(0,n)}),ke(n=>!0===n))}class Ym{constructor(n){this.segmentGroup=n||null}}class M2{constructor(n){this.urlTree=n}}function wd(t){return Ar(new Ym(t))}function w2(t){return Ar(new M2(t))}class Gj{constructor(n,e){this.urlSerializer=n,this.urlTree=e}noMatchError(n){return new Fe(4002,!1)}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return $e(i);if(o.numberOfChildren>1||!o.children[Gt])return Ar(new Fe(4e3,!1));o=o.children[Gt]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const s=this.createSegmentGroup(n,e.root,i,o);return new bd(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([o,s])=>{if("string"==typeof s&&s.startsWith(":")){const l=s.substring(1);i[o]=e[l]}else i[o]=s}),i}createSegmentGroup(n,e,i,o){const s=this.createSegments(n,e.segments,i,o);let a={};return Object.entries(e.children).forEach(([l,d])=>{a[l]=this.createSegmentGroup(n,d,i,o)}),new Hn(s,a)}createSegments(n,e,i,o){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,o):this.findOrReturn(s,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new Fe(4001,!1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}const x0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qj(t,n,e,i,o){const s=k0(t,n,e);return s.matched?(i=function _j(t,n){return t.providers&&!t._injector&&(t._injector=xv(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function Uj(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?$e(o.map(a=>{const l=yd(a,t);return qa(function Oj(t){return t&&kh(t.canMatch)}(l)?l.canMatch(n,e):t.runInContext(()=>l(n,e)))})).pipe(Md(),y2()):$e(!0)}(i,n,e).pipe(ke(a=>!0===a?s:{...x0}))):$e(s)}function k0(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...x0}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||S6)(e,t,n);if(!o)return{...x0};const s={};Object.entries(o.posParams??{}).forEach(([l,d])=>{s[l]=d.path});const a=o.consumed.length>0?{...s,...o.consumed[o.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function C2(t,n,e,i){return e.length>0&&function Xj(t,n,e){return e.some(i=>Hm(t,n,i)&&os(i)!==Gt)}(t,e,i)?{segmentGroup:new Hn(n,Zj(i,new Hn(e,t.children))),slicedSegments:[]}:0===e.length&&function Jj(t,n,e){return e.some(i=>Hm(t,n,i))}(t,e,i)?{segmentGroup:new Hn(t.segments,Kj(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Hn(t.segments,t.children),slicedSegments:e}}function Kj(t,n,e,i,o){const s={};for(const a of i)if(Hm(t,e,a)&&!o[os(a)]){const l=new Hn([],{});s[os(a)]=l}return{...o,...s}}function Zj(t,n){const e={};e[Gt]=n;for(const i of t)if(""===i.path&&os(i)!==Gt){const o=new Hn([],{});e[os(i)]=o}return e}function Hm(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class n7{constructor(n,e,i,o,s,a,l){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=l,this.allowRedirects=!0,this.applyRedirects=new Gj(this.urlSerializer,this.urlTree)}noMatchError(n){return new Fe(4002,!1)}recognize(){const n=C2(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Gt).pipe(Co(e=>{if(e instanceof M2)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof Ym?this.noMatchError(e):e}),ke(e=>{const i=new Om([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Gt,this.rootComponentType,null,{}),o=new sa(i,e),s=new d2("",o),a=function $6(t,n,e=null,i=null){return JT(XT(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root),{state:s,tree:a}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,Gt).pipe(Co(i=>{throw i instanceof Ym?this.noMatchError(i):i}))}inheritParamsAndData(n){const e=n.value,i=c2(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o,!0)}processChildren(n,e,i){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return ue(o).pipe(Bl(s=>{const a=i.children[s],l=function Mj(t,n){const e=t.filter(i=>os(i)===n);return e.push(...t.filter(i=>os(i)!==n)),e}(e,s);return this.processSegmentGroup(n,l,a,s)}),function p6(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(o){return o.lift(new m6(t,n,e))}}((s,a)=>(s.push(...a),s)),xm(null),function v6(t,n){const e=arguments.length>=2;return i=>i.pipe(t?_i((o,s)=>t(o,s,i)):ye,c0(1),e?xm(n):YT(()=>new wm))}(),Ye(s=>{if(null===s)return wd(i);const a=x2(s);return function i7(t){t.sort((n,e)=>n.value.outlet===Gt?-1:e.value.outlet===Gt?1:n.value.outlet.localeCompare(e.value.outlet))}(a),$e(a)}))}processSegment(n,e,i,o,s,a){return ue(e).pipe(Bl(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,o,s,a).pipe(Co(d=>{if(d instanceof Ym)return $e(null);throw d}))),zl(l=>!!l),Co(l=>{if(v2(l))return function e7(t,n,e){return 0===n.length&&!t.children[e]}(i,o,s)?$e([]):wd(i);throw l}))}processSegmentAgainstRoute(n,e,i,o,s,a,l){return function Qj(t,n,e,i){return!!(os(t)===i||i!==Gt&&Hm(n,e,t))&&("**"===t.path||k0(n,t,e).matched)}(i,o,s,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,s,a,l):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,s,a):wd(o):wd(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const s=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?w2(s):this.applyRedirects.lineralizeSegments(i,s).pipe(Ye(a=>{const l=new Hn(a,{});return this.processSegment(n,e,l,a,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a){const{matched:l,consumedSegments:d,remainingSegments:_,positionalParamSegments:E}=k0(e,o,s);if(!l)return wd(e);const F=this.applyRedirects.applyRedirectCommands(d,o.redirectTo,E);return o.redirectTo.startsWith("/")?w2(F):this.applyRedirects.lineralizeSegments(o,F).pipe(Ye(G=>this.processSegment(n,i,e,G.concat(_),a,!1)))}matchSegmentAgainstRoute(n,e,i,o,s,a){let l;if("**"===i.path){const d=o.length>0?BT(o).parameters:{};l=$e({snapshot:new Om(o,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,k2(i),os(i),i.component??i._loadedComponent??null,i,S2(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else l=qj(e,i,o,n).pipe(ke(({matched:d,consumedSegments:_,remainingSegments:E,parameters:F})=>d?{snapshot:new Om(_,F,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,k2(i),os(i),i.component??i._loadedComponent??null,i,S2(i)),consumedSegments:_,remainingSegments:E}:null));return l.pipe(gr(d=>null===d?wd(e):this.getChildConfig(n=i._injector??n,i,o).pipe(gr(({routes:_})=>{const E=i._loadedInjector??n,{snapshot:F,consumedSegments:G,remainingSegments:ie}=d,{segmentGroup:_e,slicedSegments:xe}=C2(e,G,ie,_);if(0===xe.length&&_e.hasChildren())return this.processChildren(E,_,_e).pipe(ke(ze=>null===ze?null:[new sa(F,ze)]));if(0===_.length&&0===xe.length)return $e([new sa(F,[])]);const Ae=os(i)===s;return this.processSegment(E,_,_e,xe,Ae?Gt:s,!0).pipe(ke(ze=>[new sa(F,ze)]))}))))}getChildConfig(n,e,i){return e.children?$e({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?$e({routes:e._loadedRoutes,injector:e._loadedInjector}):function zj(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?$e(!0):$e(o.map(a=>{const l=yd(a,t);return qa(function Lj(t){return t&&kh(t.canLoad)}(l)?l.canLoad(n,e):t.runInContext(()=>l(n,e)))})).pipe(Md(),y2())}(n,e,i).pipe(Ye(o=>o?this.configLoader.loadChildren(n,e).pipe(bi(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function $j(t){return Ar(p2(!1,3))}())):$e({routes:[],injector:n})}}function r7(t){const n=t.value.routeConfig;return n&&""===n.path}function x2(t){const n=[],e=new Set;for(const i of t){if(!r7(i)){n.push(i);continue}const o=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=x2(i.children);n.push(new sa(i.value,o))}return n.filter(i=>!e.has(i))}function k2(t){return t.data||{}}function S2(t){return t.resolve||{}}function D2(t){return"string"==typeof t.title||null===t.title}function S0(t){return gr(n=>{const e=t(n);return e?ue(e).pipe(ke(()=>n)):$e(n)})}const Cd=new Re("ROUTES");let D0=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Qe(sS)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return $e(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=qa(e.loadComponent()).pipe(ke(T2),bi(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),km(()=>{this.componentLoaders.delete(e)})),o=new Kr(i,()=>new J).pipe(qt());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return $e({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(ke(l=>{this.onLoadEndListener&&this.onLoadEndListener(i);let d,_;return Array.isArray(l)?_=l:(d=l.create(e).injector,_=d.get(Cd,[],Ct.Self|Ct.Optional).flat()),{routes:_.map(C0),injector:d}}),km(()=>{this.childrenLoaders.delete(i)})),a=new Kr(s,()=>new J).pipe(qt());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return qa(e()).pipe(ke(T2),Ye(i=>i instanceof gk||Array.isArray(i)?$e(i):ue(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function T2(t){return function u7(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let Bm=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new J,this.configLoader=Qe(D0),this.environmentInjector=Qe(ks),this.urlSerializer=Qe(ph),this.rootContexts=Qe(yh),this.inputBindingEnabled=null!==Qe(Fm,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>$e(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new oj(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new rj(o))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new Or({id:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:bh,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_i(i=>0!==i.id),ke(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),gr(i=>{let o=!1,s=!1;return $e(i).pipe(bi(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),gr(a=>{const l=e.browserUrlTree.toString(),d=!e.navigated||a.extractedUrl.toString()!==l||l!==e.currentUrlTree.toString();if(!d&&"reload"!==(a.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const E="";return this.events.next(new vh(a.id,e.serializeUrl(i.rawUrl),E,0)),e.rawUrlTree=a.rawUrl,a.resolve(null),oa}if(e.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return L2(a.source)&&(e.browserUrlTree=a.extractedUrl),$e(a).pipe(gr(E=>{const F=this.transitions?.getValue();return this.events.next(new m0(E.id,this.urlSerializer.serialize(E.extractedUrl),E.source,E.restoredState)),F!==this.transitions?.getValue()?oa:Promise.resolve(E)}),function o7(t,n,e,i,o,s){return Ye(a=>function t7(t,n,e,i,o,s,a="emptyOnly"){return new n7(t,n,e,i,o,a,s).recognize()}(t,n,e,i,a.extractedUrl,o,s).pipe(ke(({state:l,tree:d})=>({...a,targetSnapshot:l,urlAfterRedirects:d}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),bi(E=>{if(i.targetSnapshot=E.targetSnapshot,i.urlAfterRedirects=E.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:E.urlAfterRedirects},"eager"===e.urlUpdateStrategy){if(!E.extras.skipLocationChange){const G=e.urlHandlingStrategy.merge(E.urlAfterRedirects,E.rawUrl);e.setBrowserUrl(G,E)}e.browserUrlTree=E.urlAfterRedirects}const F=new Q6(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot);this.events.next(F)}));if(d&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:E,extractedUrl:F,source:G,restoredState:ie,extras:_e}=a,xe=new m0(E,this.urlSerializer.serialize(F),G,ie);this.events.next(xe);const Ae=l2(0,this.rootComponentType).snapshot;return $e(i={...a,targetSnapshot:Ae,urlAfterRedirects:F,extras:{..._e,skipLocationChange:!1,replaceUrl:!1}})}{const E="";return this.events.next(new vh(a.id,e.serializeUrl(i.extractedUrl),E,1)),e.rawUrlTree=a.rawUrl,a.resolve(null),oa}}),bi(a=>{const l=new ej(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),ke(a=>i={...a,guards:xj(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function Fj(t,n){return Ye(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:a}}=e;return 0===a.length&&0===s.length?$e({...e,guardsResult:!0}):function Rj(t,n,e,i){return ue(t).pipe(Ye(o=>function jj(t,n,e,i,o){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?$e(s.map(l=>{const d=wh(n)??o,_=yd(l,d);return qa(function Pj(t){return t&&kh(t.canDeactivate)}(_)?_.canDeactivate(t,n,e,i):d.runInContext(()=>_(t,n,e,i))).pipe(zl())})).pipe(Md()):$e(!0)}(o.component,o.route,e,n,i)),zl(o=>!0!==o,!0))}(a,i,o,t).pipe(Ye(l=>l&&function Tj(t){return"boolean"==typeof t}(l)?function Nj(t,n,e,i){return ue(n).pipe(Bl(o=>$a(function Hj(t,n){return null!==t&&n&&n(new sj(t)),$e(!0)}(o.route.parent,i),function Yj(t,n){return null!==t&&n&&n(new lj(t)),$e(!0)}(o.route,i),function Vj(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(a=>function kj(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>jl(()=>$e(a.guards.map(d=>{const _=wh(a.node)??e,E=yd(d,_);return qa(function Ij(t){return t&&kh(t.canActivateChild)}(E)?E.canActivateChild(i,t):_.runInContext(()=>E(i,t))).pipe(zl())})).pipe(Md())));return $e(s).pipe(Md())}(t,o.path,e),function Bj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return $e(!0);const o=i.map(s=>jl(()=>{const a=wh(n)??e,l=yd(s,a);return qa(function Ej(t){return t&&kh(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(zl())}));return $e(o).pipe(Md())}(t,o.route,e))),zl(o=>!0!==o,!0))}(i,s,t,n):$e(l)),ke(l=>({...e,guardsResult:l})))})}(this.environmentInjector,a=>this.events.next(a)),bi(a=>{if(i.guardsResult=a.guardsResult,Wl(a.guardsResult))throw f2(0,a.guardsResult);const l=new tj(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(l)}),_i(a=>!!a.guardsResult||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),S0(a=>{if(a.guards.canActivateChecks.length)return $e(a).pipe(bi(l=>{const d=new nj(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),gr(l=>{let d=!1;return $e(l).pipe(function s7(t,n){return Ye(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return $e(e);let s=0;return ue(o).pipe(Bl(a=>function a7(t,n,e,i){const o=t.routeConfig,s=t._resolve;return void 0!==o?.title&&!D2(o)&&(s[hh]=o.title),function l7(t,n,e,i){const o=function c7(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return $e({});const s={};return ue(o).pipe(Ye(a=>function d7(t,n,e,i){const o=wh(n)??i,s=yd(t,o);return qa(s.resolve?s.resolve(n,e):o.runInContext(()=>s(n,e)))}(t[a],n,e,i).pipe(zl(),bi(l=>{s[a]=l}))),c0(1),function y6(t){return n=>n.lift(new M6(t))}(s),Co(a=>v2(a)?oa:Ar(a)))}(s,t,n,i).pipe(ke(a=>(t._resolvedData=a,t.data=c2(t,e).resolve,o&&D2(o)&&(t.data[hh]=o.title),null)))}(a.route,i,t,n)),bi(()=>s++),c0(1),Ye(a=>s===o.length?$e(e):oa))})}(e.paramsInheritanceStrategy,this.environmentInjector),bi({next:()=>d=!0,complete:()=>{d||(e.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),bi(l=>{const d=new ij(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),S0(a=>{const l=d=>{const _=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&_.push(this.configLoader.loadComponent(d.routeConfig).pipe(bi(E=>{d.component=E}),ke(()=>{})));for(const E of d.children)_.push(...l(E));return _};return Mm(l(a.targetSnapshot.root)).pipe(xm(),Kn(1))}),S0(()=>this.afterPreactivation()),ke(a=>{const l=function pj(t,n,e){const i=Mh(t,n._root,e?e._root:void 0);return new a2(i,n)}(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:l}}),bi(a=>{e.currentUrlTree=a.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),e.routerState=a.targetRouterState,"deferred"===e.urlUpdateStrategy&&(a.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,a),e.browserUrlTree=a.urlAfterRedirects)}),((t,n,e,i)=>ke(o=>(new Cj(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)))(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),Kn(1),bi({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Ka(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),km(()=>{o||s||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Co(a=>{if(s=!0,g2(a)){m2(a)||(e.navigated=!0,e.restoreHistory(i,!0));const l=new Pm(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(l),m2(a)){const d=e.urlHandlingStrategy.merge(a.url,e.rawUrlTree),_={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||L2(i.source)};e.scheduleNavigation(d,bh,null,_,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const l=new g0(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(l);try{i.resolve(e.errorHandler(a))}catch(d){i.reject(d)}}return oa}))}))}cancelNavigationTransition(e,i,o){const s=new Pm(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(s),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function L2(t){return t!==bh}let E2=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===Gt);return i}getResolvedTitleForRoute(e){return e.data[hh]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return Qe(h7)},providedIn:"root"}),t})(),h7=(()=>{class t extends E2{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(we(OD))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),I2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return Qe(p7)},providedIn:"root"}),t})();class f7{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let p7=(()=>{class t extends f7{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Vm=new Re("",{providedIn:"root",factory:()=>({})});let m7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:function(){return Qe(g7)},providedIn:"root"}),t})(),g7=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var xo=(()=>((xo=xo||{})[xo.COMPLETE=0]="COMPLETE",xo[xo.FAILED=1]="FAILED",xo[xo.REDIRECTING=2]="REDIRECTING",xo))();function P2(t,n){t.events.pipe(_i(e=>e instanceof Ka||e instanceof Pm||e instanceof g0||e instanceof vh),ke(e=>e instanceof Ka||e instanceof vh?xo.COMPLETE:e instanceof Pm&&(0===e.code||1===e.code)?xo.REDIRECTING:xo.FAILED),_i(e=>e!==xo.REDIRECTING),Kn(1)).subscribe(()=>{n()})}function _7(t){throw t}function b7(t,n,e){return n.parse("/")}const v7={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},y7={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hn=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Qe(oS),this.isNgZoneEnabled=!1,this.options=Qe(Vm,{optional:!0})||{},this.pendingTasks=Qe(jS),this.errorHandler=this.options.errorHandler||_7,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||b7,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Qe(m7),this.routeReuseStrategy=Qe(I2),this.titleStrategy=Qe(E2),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Qe(Cd,{optional:!0})?.flat()??[],this.navigationTransitions=Qe(Bm),this.urlSerializer=Qe(ph),this.location=Qe(Ju),this.componentInputBindingEnabled=!!Qe(Fm,{optional:!0}),this.isNgZoneEnabled=Qe(ft)instanceof ft&&ft.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new bd,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=l2(0,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),bh,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const d={...o};delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const l=this.parseUrl(e);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(C0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,_=d?this.currentUrlTree.fragment:a;let F,E=null;switch(l){case"merge":E={...this.currentUrlTree.queryParams,...s};break;case"preserve":E=this.currentUrlTree.queryParams;break;default:E=s||null}null!==E&&(E=this.removeEmptyProps(E));try{F=XT(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),F=this.currentUrlTree.root}return JT(F,e,E,_??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=Wl(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,bh,null,i)}navigate(e,i={skipLocationChange:!1}){return function M7(t){for(let n=0;n{const s=e[o];return null!=s&&(i[o]=s),i},{})}scheduleNavigation(e,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,_;a?(l=a.resolve,d=a.reject,_=a.promise):_=new Promise((F,G)=>{l=F,d=G});const E=this.pendingTasks.add();return P2(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(E))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:l,reject:d,promise:_,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_.catch(F=>Promise.reject(F))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const s={...i.extras.state,...this.generateNgRouterState(i.id,(this.browserPageId??0)+1)};this.location.go(o,"",s)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-(this.browserPageId??this.currentPageId);0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Za=(()=>{class t{constructor(e,i,o,s,a,l){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new J;const d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===d||"area"===d,this.isAnchorElement?this.subscription=e.events.subscribe(_=>{_ instanceof Ka&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=hd(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=hd(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=hd(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,o,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function Yw(t,n,e){return function jA(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Nw:Vo}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,s=this.el.nativeElement;null!==i?o.setAttribute(s,e,i):o.removeAttribute(s,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(N(hn),N(Cr),Aa("tabindex"),N(Ks),N(vt),N(Rl))},t.\u0275dir=Ze({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,i){1&e&&ve("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&Jt("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Gi]}),t})();class O2{}let x7=(()=>{class t{constructor(e,i,o,s,a){this.router=e,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(_i(e=>e instanceof Ka),Bl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const s of i){s.providers&&!s._injector&&(s._injector=xv(s.providers,e,`Route: ${s.path}`));const a=s._injector??e,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ue(o).pipe(fn())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):$e(null);const s=o.pipe(Ye(a=>null===a?$e(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?ue([s,this.loader.loadComponent(i)]).pipe(fn()):s})}}return t.\u0275fac=function(e){return new(e||t)(we(hn),we(sS),we(ks),we(O2),we(D0))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const T0=new Re("");let A2=(()=>{class t{constructor(e,i,o,s,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof m0?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ka?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof vh&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof o2&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new o2(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){Ra()},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function aa(t,n){return{\u0275kind:t,\u0275providers:n}}function R2(){const t=Qe(Ti);return n=>{const e=t.get(Ha);if(n!==e.components[0])return;const i=t.get(hn),o=t.get(N2);1===t.get(L0)&&i.initialNavigation(),t.get(Y2,null,Ct.Optional)?.setUpPreloading(),t.get(T0,null,Ct.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const N2=new Re("",{factory:()=>new J}),L0=new Re("",{providedIn:"root",factory:()=>1}),Y2=new Re("");function T7(t){return aa(0,[{provide:Y2,useExisting:x7},{provide:O2,useExisting:t}])}const H2=new Re("ROUTER_FORROOT_GUARD"),E7=[Ju,{provide:ph,useClass:d0},hn,yh,{provide:Cr,useFactory:function F2(t){return t.routerState.root},deps:[hn]},D0,[]];function I7(){return new _S("Router",hn)}let B2=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[E7,[],{provide:Cd,multi:!0,useValue:e},{provide:H2,useFactory:F7,deps:[[hn,new xl,new gu]]},{provide:Vm,useValue:i||{}},i?.useHash?{provide:Rl,useClass:tY}:{provide:Rl,useClass:$S},{provide:T0,useFactory:()=>{const t=Qe(gH),n=Qe(ft),e=Qe(Vm),i=Qe(Bm),o=Qe(ph);return e.scrollOffset&&t.setOffset(e.scrollOffset),new A2(o,i,t,n,e)}},i?.preloadingStrategy?T7(i.preloadingStrategy).\u0275providers:[],{provide:_S,multi:!0,useFactory:I7},i?.initialNavigation?R7(i):[],i?.bindToComponentInputs?aa(8,[h2,{provide:Fm,useExisting:h2}]).\u0275providers:[],[{provide:V2,useFactory:R2},{provide:qv,multi:!0,useExisting:V2}]]}}static forChild(e){return{ngModule:t,providers:[{provide:Cd,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(we(H2,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();function F7(t){return"guarded"}function R7(t){return["disabled"===t.initialNavigation?aa(3,[{provide:Hv,multi:!0,useFactory:()=>{const n=Qe(hn);return()=>{n.setUpLocationChangeListener()}}},{provide:L0,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?aa(2,[{provide:L0,useValue:0},{provide:Hv,multi:!0,deps:[Ti],useFactory:n=>{const e=n.get(Q5,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(hn),s=n.get(N2);P2(o,()=>{i(!0)}),n.get(Bm).afterPreactivation=()=>(i(!0),s.closed?$e(void 0):s),o.initialNavigation()}))}}]).\u0275providers:[]]}const V2=new Re("");class Y7 extends T{constructor(n,e){super()}schedule(n,e=0){return this}}class jm extends Y7{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(s){i=!0,o=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),o}_unsubscribe(){const n=this.id,e=this.scheduler,i=e.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&i.splice(o,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}}let j2=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,o){return new this.SchedulerAction(this,e).schedule(o,i)}}return t.now=()=>Date.now(),t})();class ss extends j2{constructor(n,e=j2.now){super(n,()=>ss.delegate&&ss.delegate!==this?ss.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return ss.delegate&&ss.delegate!==this?ss.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const xd=new ss(jm);class no{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(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()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return $e(this.value);case"E":return Ar(this.error);case"C":return Cm()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new no("N",n):no.undefinedValueNotification}static createError(n){return new no("E",void 0,n)}static createComplete(){return no.completeNotification}}function Ei(t,n=xd){const i=function H7(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return o=>o.lift(new B7(i,n))}no.completeNotification=new no("C"),no.undefinedValueNotification=new no("N",void 0);class B7{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new E0(n,this.delay,this.scheduler))}}class E0 extends A{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,o=n.scheduler,s=n.destination;for(;i.length>0&&i[0].time-o.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const a=Math.max(0,i[0].time-o.now());this.schedule(n,a)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(E0.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new V7(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(no.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(no.createComplete()),this.unsubscribe()}}class V7{constructor(n,e){this.time=n,this.notification=e}}var Xa=(()=>((Xa=Xa||{}).NoConnection="NoConnection",Xa.Unknown="Unknown",Xa))();class j7{}const z2="common.operation-error";function Qt(t){if(t&&t.type&&!t.srcElement)return t;const n=new j7;if(n.originalError=t,!t||"string"==typeof t)return n.originalServerErrorMsg=t||"",n.translatableErrorMsg=t||z2,n.type=Xa.Unknown,n;n.originalServerErrorMsg=function U7(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{}}return null}(t);return null!=t.status&&(0===t.status||504===t.status)&&(n.type=Xa.NoConnection,n.translatableErrorMsg="common.no-connection-error"),n.type||(n.type=Xa.Unknown,n.translatableErrorMsg=n.originalServerErrorMsg?function z7(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch{}if(t.startsWith("400")||t.startsWith("403")){const e=t.split(" - ",2);t=2===e.length?e[1]:t}const 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}(n.originalServerErrorMsg):z2),n}const G7=new class $7 extends ss{}(class W7 extends jm{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(n,e,i):n.flush(this)}});class zm extends A{constructor(n,e,i=0){super(n),this.scheduler=e,this.delay=i}static dispatch(n){const{notification:e,destination:i}=n;e.observe(i),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(zm.dispatch,this.delay,new K7(n,this.destination)))}_next(n){this.scheduleMessage(no.createNext(n))}_error(n){this.scheduleMessage(no.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(no.createComplete()),this.unsubscribe()}}class K7{constructor(n,e){this.notification=n,this.destination=e}}class ko extends J{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){if(!this.isStopped){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift()}super.next(n)}nextTimeWindow(n){this.isStopped||(this._events.push(new Z7(this._getNow(),n)),this._trimBufferThenGetEvents()),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=i.length;let a;if(this.closed)throw new ee;if(this.isStopped||this.hasError?a=T.EMPTY:(this.observers.push(n),a=new ae(this,n)),o&&n.add(n=new zm(n,o)),e)for(let l=0;le&&(a=Math.max(a,s-e)),a>0&&o.splice(0,a),o}}class Z7{constructor(n,e){this.time=n,this.value=e}}const Um="refreshSeconds",Wm="labelsData",$m="localNodesData",U2="nodesData";var Xi=(()=>((Xi=Xi||{}).Node="nd",Xi.Transport="tp",Xi.DmsgServer="ds",Xi))();let Ji=(()=>{class t{constructor(){this.currentRefreshTimeSubject=new ko(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set}initialize(e){this.storage=localStorage,this.hypervisorPk=e,this.migrateDataToHvStorage(),this.currentRefreshTime=parseInt(this.getDataForHv(Um),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(s=>{this.savedLocalNodes.set(s.publicKey,s),s.hidden||this.savedVisibleLocalNodes.add(s.publicKey)}),this.getSavedLabels().forEach(s=>this.savedLabels.set(s.id,s)),this.loadLegacyNodeData();const i=[];this.savedLocalNodes.forEach(s=>i.push(s));const o=[];this.savedLabels.forEach(s=>o.push(s)),this.saveLocalNodes(i),this.saveLabels(o)}getDataForHv(e){return this.storage.getItem(this.hypervisorPk+e)}setDataForHv(e,i){return this.storage.setItem(this.hypervisorPk+e,i)}migrateDataToHvStorage(){const e=this.storage.getItem(Um);if(e){const s=parseInt(e,10)||10;this.setRefreshTime(s),this.storage.removeItem(Um)}const i=this.storage.getItem($m);if(i){const s=JSON.parse(i)||[];this.saveLocalNodes(s),this.storage.removeItem($m)}const o=this.storage.getItem(Wm);if(o){const s=JSON.parse(o)||[];this.saveLabels(s),this.storage.removeItem(Wm)}}loadLegacyNodeData(){const e=JSON.parse(this.storage.getItem(U2))||[];if(e.length>0){const i=this.getSavedLocalNodes(),o=this.getSavedLabels();e.forEach(s=>{i.push({publicKey:s.publicKey,hidden:s.deleted,ip:null}),this.savedLocalNodes.set(s.publicKey,i[i.length-1]),s.deleted||this.savedVisibleLocalNodes.add(s.publicKey),o.push({id:s.publicKey,identifiedElementType:Xi.Node,label:s.label}),this.savedLabels.set(s.publicKey,o[o.length-1])}),this.saveLocalNodes(i),this.saveLabels(o),this.storage.removeItem(U2)}}setRefreshTime(e){this.setDataForHv(Um,e.toString()),this.currentRefreshTime=e,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}getRefreshTimeObservable(){return this.currentRefreshTimeSubject.asObservable()}getRefreshTime(){return this.currentRefreshTime}includeVisibleLocalNodes(e,i){this.changeLocalNodesHiddenProperty(e,i,!1)}setLocalNodesAsHidden(e,i){this.changeLocalNodesHiddenProperty(e,i,!0)}changeLocalNodesHiddenProperty(e,i,o){if(e.length!==i.length)throw new Error("Invalid params");const s=new Map,a=new Map;e.forEach((_,E)=>{s.set(_,i[E]),a.set(_,i[E])});let l=!1;const d=this.getSavedLocalNodes();d.forEach(_=>{s.has(_.publicKey)&&(a.has(_.publicKey)&&a.delete(_.publicKey),_.ip!==s.get(_.publicKey)&&(_.ip=s.get(_.publicKey),l=!0,this.savedLocalNodes.set(_.publicKey,_)),_.hidden!==o&&(_.hidden=o,l=!0,this.savedLocalNodes.set(_.publicKey,_),o?this.savedVisibleLocalNodes.delete(_.publicKey):this.savedVisibleLocalNodes.add(_.publicKey)))}),a.forEach((_,E)=>{l=!0;const F={publicKey:E,hidden:o,ip:_};d.push(F),this.savedLocalNodes.set(E,F),o?this.savedVisibleLocalNodes.delete(E):this.savedVisibleLocalNodes.add(E)}),l&&this.saveLocalNodes(d)}getSavedLocalNodes(){return JSON.parse(this.getDataForHv($m))||[]}getSavedVisibleLocalNodes(){return this.savedVisibleLocalNodes}saveLocalNodes(e){this.setDataForHv($m,JSON.stringify(e))}getSavedLabels(){return JSON.parse(this.getDataForHv(Wm))||[]}saveLabels(e){this.setDataForHv(Wm,JSON.stringify(e))}saveLabel(e,i,o){if(i){let s=!1;const a=this.getSavedLabels().map(l=>(l.id===e&&l.identifiedElementType===o&&(s=!0,l.label=i,this.savedLabels.set(l.id,{label:l.label,id:l.id,identifiedElementType:l.identifiedElementType})),l));if(s)this.saveLabels(a);else{const l={label:i,id:e,identifiedElementType:o};a.push(l),this.savedLabels.set(e,l),this.saveLabels(a)}}else{this.savedLabels.has(e)&&this.savedLabels.delete(e);let s=!1;const a=this.getSavedLabels().filter(l=>l.id!==e||(s=!0,!1));s&&this.saveLabels(a)}}getDefaultLabel(e){return e?e.ip?e.ip:e.localPk.substr(0,8):""}getLabelInfo(e){return this.savedLabels.has(e)?this.savedLabels.get(e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function _n(t){return null!=t&&"false"!=`${t}`}function So(t,n=0){return function X7(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Gm(t){return Array.isArray(t)?t:[t]}function Qi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function la(t){return t instanceof vt?t.nativeElement:t}function Sh(t,n,e,i){return O(e)&&(i=e,e=void 0),i?Sh(t,n,e).pipe(ke(o=>M(o)?i(...o):i(o))):new he(o=>{W2(t,n,function s(a){o.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},o,e)})}function W2(t,n,e,i,o){let s;if(function e9(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const a=t;t.addEventListener(n,e,o),s=()=>a.removeEventListener(n,e,o)}else if(function Q7(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const a=t;t.on(n,e),s=()=>a.off(n,e)}else if(function J7(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const a=t;t.addListener(n,e),s=()=>a.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,l=t.length;a0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let r9=1;const o9=Promise.resolve(),qm={};function $2(t){return t in qm&&(delete qm[t],!0)}const G2={setImmediate(t){const n=r9++;return qm[n]=!0,o9.then(()=>$2(n)&&t()),n},clearImmediate(t){$2(t)}},I0=new class a9 extends ss{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,s=e.length;n=n||e.shift();do{if(i=n.execute(n.state,n.delay))break}while(++o0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=G2.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(G2.clearImmediate(e),n.scheduled=void 0)}});class c9{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new d9(n,this.durationSelector))}}class d9 extends Me{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(n)}catch(o){return this.destination.error(o)}const i=Ie(e,new be(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:n,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function P0(t){return!M(t)&&t-parseFloat(t)+1>=0}function Dh(t=0,n,e){let i=-1;return P0(n)?i=Number(n)<1?1:Number(n):Se(n)&&(e=n),Se(e)||(e=xd),new he(o=>{const s=P0(t)?t:+t-e.now();return e.schedule(u9,s,{index:0,period:i,subscriber:o})})}function u9(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}function q2(t,n=xd){return function l9(t){return function(e){return e.lift(new c9(t))}}(()=>Dh(t,n))}let O0;try{O0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{O0=!1}let kd,ui=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function mH(t){return t===hD}(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&&!O0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(we(Fa))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const K2=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Z2(){if(kd)return kd;if("object"!=typeof document||!document)return kd=new Set(K2),kd;let t=document.createElement("input");return kd=new Set(K2.filter(n=>(t.setAttribute("type",n),t.type===n))),kd}let Th,$l,A0;function Ja(t){return function h9(){if(null==Th&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Th=!0}))}finally{Th=Th||!1}return Th}()?t:!!t.capture}function f9(){if(null==$l){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $l=!1,$l;if("scrollBehavior"in document.documentElement.style)$l=!0;else{const t=Element.prototype.scrollTo;$l=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return $l}function F0(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Qa(t){return t.composedPath?t.composedPath()[0]:t.target}function R0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const g9=new Re("cdk-dir-doc",{providedIn:"root",factory:function _9(){return Qe(It)}}),b9=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Do=(()=>{class t{constructor(e){this.value="ltr",this.change=new ht,e&&(this.value=function v9(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?b9.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(we(g9,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),X2=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new he(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(q2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):$e()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_i(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=la(i),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Sh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(we(ft),we(ui),we(It,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Sd=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new J,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(q2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft),we(It,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Eh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),J2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Lh,Eh,Lh,Eh]}),t})();function Bn(t){return n=>n.lift(new w9(t))}class w9{constructor(n){this.notifier=n}call(n,e){const i=new C9(n),o=Ie(this.notifier,new be(i));return o&&!i.seenValue?(i.add(o),e.subscribe(i)):i}}class C9 extends Me{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class k9{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new S9(n,this.predicate,this.inclusive))}}class S9 extends A{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(o){return void e.error(o)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;e?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class N0{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Dd extends N0{constructor(n,e,i,o,s){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=s}}class Gl extends N0{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class D9 extends N0{constructor(n){super(),this.element=n instanceof vt?n.nativeElement:n}}class Zm{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Dd?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Gl?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof D9?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class T9 extends Zm{constructor(n,e,i,o,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=a=>{const l=a.element,d=this._document.createComment("dom-portal");l.parentNode.insertBefore(d,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(l,d)})},this._document=s}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Ti.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let L9=(()=>{class t extends Gl{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(N(mr),N(or))},t.\u0275dir=Ze({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[nt]}),t})(),el=(()=>{class t extends Zm{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ht,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(s,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(N(Tl),N(or),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[nt]}),t})(),Td=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();function Fs(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const eL=f9();class z9{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Qi(-this._previousScrollPosition.left),n.style.top=Qi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,s=i.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),eL&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eL&&(i.scrollBehavior=s,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class U9{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(_i(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tL{enable(){}disable(){}attach(){}}function Y0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function nL(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class W9{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();Y0(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $9=(()=>{class t{constructor(e,i,o,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new tL,this.close=a=>new U9(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new z9(this._viewportRuler,this._document),this.reposition=a=>new W9(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(we(X2),we(Sd),we(ft),we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Ah{constructor(n){if(this.scrollStrategy=new tL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class G9{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let iL=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),q9=(()=>{class t extends iL{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ft,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),K9=(()=>{class t extends iL{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Qa(s)},this._clickListener=s=>{const a=Qa(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let _=d.length-1;_>-1;_--){const E=d[_];if(E._outsidePointerEvents.observers.length<1||!E.hasAttached())continue;if(E.overlayElement.contains(a)||E.overlayElement.contains(l))break;const F=E._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>F.next(s)):F.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ui),we(ft,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tg=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||R0()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;sthis._backdropClick.next(F),this._backdropTransitionendHandler=F=>{this._disposeBackdrop(F.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Kn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Qi(this._config.width),n.height=Qi(this._config.height),n.minWidth=Qi(this._config.minWidth),n.minHeight=Qi(this._config.minHeight),n.maxWidth=Qi(this._config.maxWidth),n.maxHeight=Qi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=Gm(e||[]).filter(s=>!!s);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Bn(bt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const rL="cdk-overlay-connected-position-bounding-box",Z9=/([A-Za-z%]+)$/;class X9{get positions(){return this._preferredPositions}constructor(n,e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J,this._resizeSubscription=T.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(rL),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,s=[];let a;for(let l of this._preferredPositions){let d=this._getOriginPoint(n,o,l),_=this._getOverlayPoint(d,e,l),E=this._getOverlayFit(_,e,i,l);if(E.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,d);this._canFitWithFlexibleDimensions(E,_,i)?s.push({position:l,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,l)}):(!a||a.overlayFit.visibleAread&&(d=E,l=_)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ql(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(rL),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,s;if("center"==i.originX)o=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,l=this._isRtl()?n.left:n.right;o="start"==i.originX?a:l}return e.left<0&&(o-=e.left),s="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(n,e,i){let o,s;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+s}}_getOverlayFit(n,e,i,o){const s=sL(e);let{x:a,y:l}=n,d=this._getOffset(o,"x"),_=this._getOffset(o,"y");d&&(a+=d),_&&(l+=_);let G=0-l,ie=l+s.height-i.height,_e=this._subtractOverflows(s.width,0-a,a+s.width-i.width),xe=this._subtractOverflows(s.height,G,ie),Ae=_e*xe;return{visibleArea:Ae,isCompletelyWithinViewport:s.width*s.height===Ae,fitsInViewportVertically:xe===s.height,fitsInViewportHorizontally:_e==s.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,s=i.right-e.x,a=oL(this._overlayRef.getConfig().minHeight),l=oL(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=o)&&(n.fitsInViewportHorizontally||null!=l&&l<=s)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=sL(e),s=this._viewportRect,a=Math.max(n.x+o.width-s.width,0),l=Math.max(n.y+o.height-s.height,0),d=Math.max(s.top-i.top-n.y,0),_=Math.max(s.left-i.left-n.x,0);let E=0,F=0;return E=o.width<=s.width?_||-a:n.x_e&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-_e/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)G=i.width-n.x+this._viewportMargin,E=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)F=n.x,E=i.right-n.x;else{const ie=Math.min(i.right-n.x+i.left,n.x),_e=this._lastBoundingBoxSize.width;E=2*ie,F=n.x-ie,E>_e&&!this._isInitialRender&&!this._growAfterOpen&&(F=n.x-_e/2)}return{top:a,left:F,bottom:l,right:G,width:E,height:s}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Qi(i.height),o.top=Qi(i.top),o.bottom=Qi(i.bottom),o.width=Qi(i.width),o.left=Qi(i.left),o.right=Qi(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Qi(s)),a&&(o.maxWidth=Qi(a))}this._lastBoundingBoxSize=i,ql(this._boundingBox.style,o)}_resetBoundingBoxStyles(){ql(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ql(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){const E=this._viewportRuler.getViewportScrollPosition();ql(i,this._getExactOverlayY(e,n,E)),ql(i,this._getExactOverlayX(e,n,E))}else i.position="static";let l="",d=this._getOffset(e,"x"),_=this._getOffset(e,"y");d&&(l+=`translateX(${d}px) `),_&&(l+=`translateY(${_}px)`),i.transform=l.trim(),a.maxHeight&&(o?i.maxHeight=Qi(a.maxHeight):s&&(i.maxHeight="")),a.maxWidth&&(o?i.maxWidth=Qi(a.maxWidth):s&&(i.maxWidth="")),ql(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=Qi(s.y),o}_getExactOverlayX(n,e,i){let a,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=Qi(s.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:nL(n,i),isOriginOutsideView:Y0(n,i),isOverlayClipped:nL(e,i),isOverlayOutsideView:Y0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Gm(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof vt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function ql(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function oL(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(Z9);return e&&"px"!==e?null:parseFloat(n)}return t||null}function sL(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const aL="cdk-global-overlay-wrapper";class J9{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aL),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:a,maxHeight:l}=i,d=!("100%"!==o&&"100vw"!==o||a&&"100%"!==a&&"100vw"!==a),_=!("100%"!==s&&"100vh"!==s||l&&"100%"!==l&&"100vh"!==l),E=this._xPosition,F=this._xOffset,G="rtl"===this._overlayRef.getConfig().direction;let ie="",_e="",xe="";d?xe="flex-start":"center"===E?(xe="center",G?_e=F:ie=F):G?"left"===E||"end"===E?(xe="flex-end",ie=F):("right"===E||"start"===E)&&(xe="flex-start",_e=F):"left"===E||"start"===E?(xe="flex-start",ie=F):("right"===E||"end"===E)&&(xe="flex-end",_e=F),n.position=this._cssPosition,n.marginLeft=d?"0":ie,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=d?"0":_e,e.justifyContent=xe,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(aL),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Q9=(()=>{class t{constructor(e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new J9}flexibleConnectedTo(e){return new X9(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(we(Sd),we(It),we(ui),we(tg))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ez=0,io=(()=>{class t{constructor(e,i,o,s,a,l,d,_,E,F,G,ie){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=_,this._directionality=E,this._location=F,this._outsideClickDispatcher=G,this._animationsModuleType=ie}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new Ah(e);return a.direction=a.direction||this._directionality.value,new Fh(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ez++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ha)),new T9(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(we($9),we(tg),we(Tl),we(Q9),we(q9),we(Ti),we(ft),we(It),we(Do),we(Ju),we(K9),we(Vi,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const tz=[{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"}],lL=new Re("cdk-connected-overlay-scroll-strategy");let H0=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),t})(),cL=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=_n(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=_n(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=_n(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=_n(e)}get push(){return this._push}set push(e){this._push=_n(e)}constructor(e,i,o,s,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=T.EMPTY,this._attachSubscription=T.EMPTY,this._detachSubscription=T.EMPTY,this._positionSubscription=T.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ht,this.positionChange=new ht,this.attach=new ht,this.detach=new ht,this.overlayKeydown=new ht,this.overlayOutsideClick=new ht,this._templatePortal=new Gl(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tz);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Fs(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ah({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof H0?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function x9(t,n=!1){return e=>e.lift(new k9(t,n))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(mr),N(or),N(lL),N(Do,8))},t.\u0275dir=Ze({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Gi]}),t})();const iz={provide:lL,deps:[io],useFactory:function nz(t){return()=>t.scrollStrategies.reposition()}};let Ld=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[io,iz],imports:[Lh,Td,J2,J2]}),t})();function B0(t,n=xd){return e=>e.lift(new rz(t,n))}class rz{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new oz(n,this.dueTime,this.scheduler))}}class oz extends A{constructor(n,e,i){super(n),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sz,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){const n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}function sz(t){t.debouncedNext()}function V0(t){return n=>n.lift(new az(t))}class az{constructor(n){this.total=n}call(n,e){return e.subscribe(new lz(n,this.total))}}class lz extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}function j0(t,n){return e=>e.lift(new cz(t,n))}class cz{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new dz(n,this.compare,this.keySelector))}}class dz extends A{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:o}=this;e=o?o(n):n}catch(o){return this.destination.error(o)}let i=!1;if(this.hasKey)try{const{compare:o}=this;i=o(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}let dL=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uz=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=la(e);return new he(o=>{const a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new J,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(we(dL))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uL=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=So(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new ht,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(B0(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(uz),N(vt),N(ft))},t.\u0275dir=Ze({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),z0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[dL]}),t})();const hL=new Set;let Kl,hz=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):pz}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function fz(t,n){if(!hL.has(t))try{Kl||(Kl=document.createElement("style"),n&&(Kl.nonce=n),Kl.setAttribute("type","text/css"),document.head.appendChild(Kl)),Kl.sheet&&(Kl.sheet.insertRule(`@media ${t} {body{ }}`,0),hL.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(Lb,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function pz(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let U0=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return fL(Gm(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let s=Mm(fL(Gm(e)).map(a=>this._registerQuery(a).observable));return s=$a(s.pipe(Kn(1)),s.pipe(V0(1),B0(0))),s.pipe(ke(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:_})=>{l.matches=l.matches||d,l.breakpoints[_]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new he(a=>{const l=d=>this._zone.run(()=>a.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Go(i),ke(({matches:a})=>({query:e,matches:a})),Bn(this._destroySubject)),mql:i};return this._queries.set(e,s),s}}return t.\u0275fac=function(e){return new(e||t)(we(hz),we(ft))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fL(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function ng(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const mL="cdk-describedby-message",ig="cdk-describedby-host";let W0=0,bz=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+W0++,this._document=e,this._id=Qe(Su)+"-"+W0++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const s=$0(i,o);"string"!=typeof i?(gL(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;const s=$0(i,o);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${ig}="${this._id}"]`);for(let i=0;i0!=o.indexOf(mL));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);(function gz(t,n,e){const i=ng(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(ig,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,function _z(t,n,e){const o=ng(t,n).filter(s=>s!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(ig)}_isElementDescribedByMessage(e,i){const o=ng(e,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&-1!=o.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),s=e.getAttribute("aria-label");return!(!o||s&&s.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ui))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $0(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function gL(t,n){t.id||(t.id=`${mL}-${n}-${W0++}`)}class _L{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=T.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,n instanceof Al&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(bi(e=>this._pressedLetters.push(e)),B0(n),_i(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const s=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(s>0?s:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const s=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(s=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Al?this._items.toArray():this._items}}class vz extends _L{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class bL extends _L{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let rg=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Mz(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function yz(t){try{return t.frameElement}catch{return null}}(function Lz(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===yL(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),s=yL(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Dz(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function Tz(t){return!function Cz(t){return function kz(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function wz(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function xz(t){return function Sz(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||vL(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(we(ui))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function vL(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function yL(t){if(!vL(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class Ez{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,s=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Kn(1)).subscribe(n)}}let G0=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new Ez(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(we(rg),we(ft),we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function q0(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function K0(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const Iz=new Re("cdk-input-modality-detector-options"),Pz={ignoreKeys:[18,17,224,91,16]},Ed=Ja({passive:!0,capture:!0});let Oz=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new Or(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Qa(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(q0(a)?"keyboard":"mouse"),this._mostRecentTarget=Qa(a))},this._onTouchstart=a=>{K0(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Qa(a))},this._options={...Pz,...s},this.modalityDetected=this._modality.pipe(V0(1)),this.modalityChanged=this.modalityDetected.pipe(j0()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ed),o.addEventListener("mousedown",this._onMousedown,Ed),o.addEventListener("touchstart",this._onTouchstart,Ed)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ed),document.removeEventListener("mousedown",this._onMousedown,Ed),document.removeEventListener("touchstart",this._onTouchstart,Ed))}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft),we(It),we(Iz,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Az=new Re("liveAnnouncerElement",{providedIn:"root",factory:function Fz(){return null}}),Rz=new Re("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Nz=0,Z0=(()=>{class t{constructor(e,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let s,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{constructor(e,i,o,s,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{for(let _=Qa(l);_;_=_.parentElement)"focus"===l.type?this._onFocus(l,_):this._onBlur(l,_)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const o=la(e);if(!this._platform.isBrowser||1!==o.nodeType)return $e(null);const s=function m9(t){if(function p9(){if(null==A0){const t=typeof document<"u"?document.head:null;A0=!(!t||!t.createShadowRoot&&!t.attachShadow)}return A0}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new J,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=la(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const s=la(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,d])=>this._originChanged(l,i,d)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),s=Qa(e);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,og),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,og)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Bn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,og),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,og),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const s=e.labels;if(s)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new ht}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(tl))},t.\u0275dir=Ze({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const wL="cdk-high-contrast-black-on-white",CL="cdk-high-contrast-white-on-black",X0="cdk-high-contrast-active";let xL=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Qe(U0).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(X0,wL,CL),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(X0,wL):2===i&&e.add(X0,CL)}}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J0=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(we(xL))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[z0]}),t})();function Bz(t,n){}class sg{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let kL=(()=>{class t extends Zm{constructor(e,i,o,s,a,l,d,_){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=d,this._focusMonitor=_,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=E=>{this._portalOutlet.hasAttached();const F=this._portalOutlet.attachDomPortal(E);return this._contentAttached(),F},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=o}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=F0(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=F0();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=F0())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(G0),N(It,8),N(sg),N(rg),N(ft),N(Fh),N(tl))},t.\u0275cmp=Ke({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&pt(el,7),2&e){let o;it(o=rt())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Jt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[nt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&V(0,Bz,0,0,"ng-template",0)},dependencies:[el],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class Q0{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new J,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Fs(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const SL=new Re("DialogScrollStrategy"),Vz=new Re("DialogData"),jz=new Re("DefaultDialogConfig"),Uz={provide:SL,deps:[io],useFactory:function zz(t){return()=>t.scrollStrategies.block()}};let Wz=0,DL=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,s,a,l){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=jl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Go(void 0))),this._scrollStrategy=l}open(e,i){(i={...this._defaultOptions||new sg,...i}).id=i.id||"cdk-dialog-"+Wz++,i.id&&this.getDialogById(i.id);const s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new Q0(a,i),d=this._attachContainer(a,l,i);return l.containerInstance=d,this._attachDialogContent(e,l,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){e1(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){e1(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),e1(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Ah({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){const s=o.injector||o.viewContainerRef?.injector,a=[{provide:sg,useValue:o},{provide:Q0,useValue:i},{provide:Fh,useValue:e}];let l;o.container?"function"==typeof o.container?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=kL;const d=new Dd(l,o.viewContainerRef,Ti.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,s){if(e instanceof mr){const a=this._createInjector(s,i,o,void 0);let l={$implicit:s.data,dialogRef:i};s.templateContext&&(l={...l,..."function"==typeof s.templateContext?s.templateContext():s.templateContext}),o.attachTemplatePortal(new Gl(e,null,l,a))}else{const a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new Dd(e,s.viewContainerRef,a,s.componentFactoryResolver));i.componentInstance=l.instance}}_createInjector(e,i,o,s){const a=e.injector||e.viewContainerRef?.injector,l=[{provide:Vz,useValue:e.data},{provide:Q0,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,o)):l.push(...e.providers)),e.direction&&(!a||!a.get(Do,null,{optional:!0}))&&l.push({provide:Do,useValue:{value:e.direction,change:$e()}}),Ti.create({parent:a||s,providers:l})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const s=i[o];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Ti),we(jz,8),we(t,12),we(tg),we(SL))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function e1(t,n){let e=t.length;for(;e--;)n(t[e])}let $z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[DL,Uz],imports:[Ld,Td,J0,Td]}),t})();const Gz=["text"];function qz(t,n){if(1&t&&Ce(0,"mat-pseudo-checkbox",6),2&t){const e=z();w("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Kz(t,n){1&t&&Ce(0,"mat-pseudo-checkbox",7),2&t&&w("disabled",z().disabled)}function Zz(t,n){if(1&t&&(k(0,"span",8),I(1),C()),2&t){const e=z();c(1),ce("(",e.group.label,")")}}const Xz=[[["mat-icon"]],"*"],Jz=["mat-icon","*"],eU=new Re("mat-sanity-checks",{providedIn:"root",factory:function Qz(){return!0}});let Wn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!R0()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(we(xL),we(eU,8),we(It))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Lh,Lh]}),t})();function Id(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=_n(n)}constructor(...n){super(...n),this._disabled=!1}}}function Rh(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function Nh(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=_n(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function EL(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?So(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function IL(t){return class extends t{updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}let nU=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.dirty||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),t1=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class iU{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const PL=Ja({passive:!0,capture:!0});class rU{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=Qa(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(s=>s.handleEvent(n))})}}addHandler(n,e,i,o){const s=this._events.get(e);if(s){const a=s.get(i);a?a.add(o):s.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,PL)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const s=o.get(e);s&&(s.delete(i),0===s.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,PL)))}}const OL={enterDuration:225,exitDuration:150},AL=Ja({passive:!0,capture:!0}),FL=["mousedown","touchstart"],RL=["mouseup","mouseleave","touchend","touchcancel"];class Pd{constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=la(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s={...OL,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const a=i.radius||function sU(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),l=n-o.left,d=e-o.top,_=s.enterDuration,E=document.createElement("div");E.classList.add("mat-ripple-element"),E.style.left=l-a+"px",E.style.top=d-a+"px",E.style.height=2*a+"px",E.style.width=2*a+"px",null!=i.color&&(E.style.backgroundColor=i.color),E.style.transitionDuration=`${_}ms`,this._containerElement.appendChild(E);const F=window.getComputedStyle(E),ie=F.transitionDuration,_e="none"===F.transitionProperty||"0s"===ie||"0s, 0s"===ie||0===o.width&&0===o.height,xe=new iU(this,E,i,_e);E.style.transform="scale3d(1, 1, 1)",xe.state=0,i.persistent||(this._mostRecentTransientRipple=xe);let Ae=null;return!_e&&(_||s.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ze=()=>this._finishRippleTransition(xe),Ee=()=>this._destroyRipple(xe);E.addEventListener("transitionend",ze),E.addEventListener("transitioncancel",Ee),Ae={onTransitionEnd:ze,onTransitionCancel:Ee}}),this._activeRipples.set(xe,Ae),(_e||!_)&&this._finishRippleTransition(xe),xe}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...OL,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=la(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,FL.forEach(i=>{Pd._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{RL.forEach(e=>{this._triggerElement.addEventListener(e,this,AL)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=q0(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(FL.forEach(e=>Pd._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&RL.forEach(e=>n.removeEventListener(e,this,AL)))}}Pd._eventManager=new rU;const n1=new Re("mat-ripple-global-options");let Zl=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,s,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Pd(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(ui),N(n1,8),N(Vi,8))},t.\u0275dir=Ze({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Hh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Wn]}),t})(),aU=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return t.\u0275fac=function(e){return new(e||t)(N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&nn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),t})(),lU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn]}),t})();const NL=new Re("MAT_OPTION_PARENT_COMPONENT"),YL=new Re("MatOptgroup");let cU=0;class dU{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let uU=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=_n(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,s){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+cU++,this.onSelectionChange=new ht,this._stateChanges=new J}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Fs(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new dU(this,e))}}return t.\u0275fac=function(e){Ra()},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(Gz,7),2&e){let o;it(o=rt())&&(i._text=o.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),Xl=(()=>{class t extends uU{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(NL,8),N(YL,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,i){1&e&&ve("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&e&&(Js("id",i.id),Jt("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),nn("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[nt],ngContentSelectors:Jz,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Ir(Xz),V(0,qz,1,2,"mat-pseudo-checkbox",0),Tn(1),k(2,"span",1,2),Tn(4,1),C(),V(5,Kz,1,1,"mat-pseudo-checkbox",3),V(6,Zz,2,1,"span",4),Ce(7,"div",5)),2&e&&(w("ngIf",i.multiple),c(5),w("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),c(1),w("ngIf",i.group&&i.group._inert),c(1),w("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Zl,Ft,aU],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),HL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Hh,ta,Wn,lU]}),t})();function pU(t,n){}class Ln{constructor(){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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const r1="mdc-dialog--open",BL="mdc-dialog--opening",VL="mdc-dialog--closing";let _U=(()=>{class t extends kL{constructor(e,i,o,s,a,l,d,_){super(e,i,o,s,a,l,d,_),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(G0),N(It,8),N(Ln),N(rg),N(ft),N(Fh),N(tl))},t.\u0275cmp=Ke({type:t,selectors:[["ng-component"]],features:[nt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();const jL="--mat-dialog-transition-duration";function zL(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?So(t.substring(0,t.length-2)):t.endsWith("s")?1e3*So(t.substring(0,t.length-1)):"0"===t?0:null}let bU=(()=>{class t extends _U{constructor(e,i,o,s,a,l,d,_,E){super(e,i,o,s,a,l,d,E),this._animationMode=_,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?zL(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?zL(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(jL,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(BL,r1)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(r1),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(r1),this._animationsEnabled?(this._hostElement.style.setProperty(jL,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(VL)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(BL,VL)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(G0),N(It,8),N(Ln),N(rg),N(ft),N(Fh),N(Vi,8),N(tl))},t.\u0275cmp=Ke({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,i){2&e&&(Js("id",i._config.id),Jt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),nn("_mat-animation-noopable",!i._animationsEnabled))},features:[nt],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,pU,0,0,"ng-template",2),C()())},dependencies:[el],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),t})();class On{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(_i(o=>"opened"===o.state),Kn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(_i(o=>"closed"===o.state),Kn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),bt(this.backdropClick(),this.keydownEvents().pipe(_i(o=>27===o.keyCode&&!this.disableClose&&!Fs(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),UL(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(_i(e=>"closing"===e.state),Kn(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function UL(t,n,e){return t._closeInteractionType=n,t.close(e)}const vi=new Re("MatMdcDialogData"),WL=new Re("mat-mdc-dialog-default-options"),$L=new Re("mat-mdc-dialog-scroll-strategy"),yU={provide:$L,deps:[io],useFactory:function vU(t){return()=>t.scrollStrategies.block()}};let MU=0,wU=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,s,a,l,d,_,E,F){this._overlay=e,this._defaultOptions=o,this._parentDialog=s,this._dialogRefConstructor=d,this._dialogContainerType=_,this._dialogDataToken=E,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.dialogConfigClass=Ln,this.afterAllClosed=jl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Go(void 0))),this._scrollStrategy=l,this._dialog=i.get(DL)}open(e,i){let o;(i={...this._defaultOptions||new Ln,...i}).id=i.id||`${this._idPrefix}${MU++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const s=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:sg,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,l,d)=>(o=new this._dialogRefConstructor(a,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){Ra()},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),xn=(()=>{class t extends wU{constructor(e,i,o,s,a,l,d,_){super(e,i,s,l,d,a,On,bU,vi,_),this._idPrefix="mat-mdc-dialog-"}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Ti),we(Ju,8),we(WL,8),we($L),we(t,12),we(tg),we(Vi,8))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),CU=0,xU=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=GL(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){UL(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(N(On,8),N(vt),N(xn))},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&ve("click",function(s){return i._onButtonClick(s)}),2&e&&Jt("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Gi]}),t})(),kU=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o,this.id="mat-mdc-dialog-title-"+CU++}ngOnInit(){this._dialogRef||(this._dialogRef=GL(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(N(On,8),N(vt),N(xn))},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,i){2&e&&Js("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),ag=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),t})();function GL(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let SU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[xn,yU],imports:[$z,Ld,Td,Wn,Wn]}),t})();const KL=["mat-button",""],ZL=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],XL=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],JL=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",TU=["mat-icon-button",""],LU=["*"],QL={capture:!0},eE=["focus","click","mouseenter","touchstart"],Bh="mat-button-ripple-uninitialized";let EU=(()=>{class t{constructor(){this._document=Qe(It,{optional:!0}),this._animationMode=Qe(Vi,{optional:!0}),this._globalRippleOptions=Qe(n1,{optional:!0}),this._platform=Qe(ui),this._ngZone=Qe(ft),this._onInteraction=e=>{if(e.target===this._document)return;const o=e.target.closest(`[${Bh}]`);o&&(o.removeAttribute(Bh),this._appendRipple(o))},this._ngZone.runOutsideAngular(()=>{for(const e of eE)this._document?.addEventListener(e,this._onInteraction,QL)})}ngOnDestroy(){for(const e of eE)this._document?.removeEventListener(e,this._onInteraction,QL)}_appendRipple(e){if(!this._document)return;const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const o=new IU(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);o.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new Pd(o,this._ngZone,i,this._platform).setupTriggerEvents(e),e.append(i)}_createMatRipple(e){if(!this._document)return;e.querySelector(".mat-mdc-button-ripple")?.remove(),e.removeAttribute(Bh);const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const o=new Zl(new vt(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,e.append(i),o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class IU{constructor(n,e,i){this._button=n,this._globalRippleOptions=e,this._setRippleConfig(e,i)}_setRippleConfig(n,e){this.rippleConfig=n||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const PU=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],OU=Rh(Id(Nh(class{constructor(t){this._elementRef=t}})));let o1=(()=>{class t extends OU{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(e){this._ripple=e}constructor(e,i,o,s){super(e),this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=Qe(tl),this._rippleLoader=Qe(EU),this._isFab=!1;const a=e.nativeElement.classList;for(const l of PU)this._hasHostAttributes(l.selector)&&l.mdcClasses.forEach(d=>{a.add(d)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}}return t.\u0275fac=function(e){Ra()},t.\u0275dir=Ze({type:t,features:[nt]}),t})(),FU=(()=>{class t extends o1{constructor(e,i,o,s){super(e,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){Ra()},t.\u0275dir=Ze({type:t,features:[nt]}),t})(),$r=(()=>{class t extends o1{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:KL,ngContentSelectors:XL,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(ZL),Ce(0,"span",0),Tn(1),k(2,"span",1),Tn(3,1),C(),Tn(4,2),Ce(5,"span",2)(6,"span",3)),2&e&&nn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),RU=(()=>{class t extends FU{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString())("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[nt],attrs:KL,ngContentSelectors:XL,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(ZL),Ce(0,"span",0),Tn(1),k(2,"span",1),Tn(3,1),C(),Tn(4,2),Ce(5,"span",2)(6,"span",3)),2&e&&nn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',JL],encapsulation:2,changeDetection:0}),t})(),nl=(()=>{class t extends o1{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:TU,ngContentSelectors:LU,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(),Ce(0,"span",0),Tn(1),Ce(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',JL],encapsulation:2,changeDetection:0}),t})(),tE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Hh,Wn]}),t})();function YU(t,n){if(1&t){const e=et();k(0,"div",2)(1,"button",3),ve("click",function(){return Pe(e),Oe(z().action())}),I(2),C()()}if(2&t){const e=z();c(2),ce(" ",e.data.action," ")}}const HU=["label"];function BU(t,n){}const VU=Math.pow(2,31)-1;class lg{constructor(n,e){this._overlayRef=e,this._afterDismissed=new J,this._afterOpened=new J,this._onAction=new J,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,VU))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const s1=new Re("MatSnackBarData");class cg{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let jU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),t})(),zU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),t})(),UU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),t})(),WU=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(N(lg),N(s1))},t.\u0275cmp=Ke({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(k(0,"div",0),I(1),C(),V(2,YU,3,1,"div",1)),2&e&&(c(1),ce(" ",i.data.message,"\n"),c(1),w("ngIf",i.hasAction))},dependencies:[Ft,$r,jU,zU,UU],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),t})();const $U={snackBarState:ia("state",[yo("void, hidden",ei({transform:"scale(0.8)",opacity:0})),yo("visible",ei({transform:"scale(1)",opacity:1})),Pr("* => visible",Wr("150ms cubic-bezier(0, 0, 0.2, 1)")),Pr("* => void, * => hidden",Wr("75ms cubic-bezier(0.4, 0.0, 1, 1)",ei({opacity:0})))])};let GU=0,qU=(()=>{class t extends Zm{constructor(e,i,o,s,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=s,this.snackBarConfig=a,this._document=Qe(It),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new J,this._onExit=new J,this._onEnter=new J,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+GU++,this.attachDomPortal=l=>{this._assertNotAttached();const d=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),d},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Kn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(ft),N(vt),N(pi),N(ui),N(cg))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(el,7),2&e){let o;it(o=rt())&&(i._portalOutlet=o.first)}},features:[nt]}),t})(),KU=(()=>{class t extends qU{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&pt(HU,7),2&e){let o;it(o=rt())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&cv("@state.done",function(s){return i.onAnimationEnd(s)}),2&e&&mv("@state",i._animationState)},features:[nt],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1,2)(3,"div",3),V(4,BU,0,0,"ng-template",4),C(),Ce(5,"div"),C()()),2&e&&(c(5),Jt("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[el],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[$U.snackBarState]}}),t})(),nE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Ld,Td,ta,tE,Wn,Wn]}),t})();const a1=new Re("mat-snack-bar-default-options",{providedIn:"root",factory:function ZU(){return new cg}});let XU=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,s,a,l){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const s={...this._defaultConfig,...o};return s.data={message:e,action:i},s.announcementMessage===e&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const s=Ti.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:cg,useValue:i}]}),a=new Dd(this.snackBarContainerComponent,i.viewContainerRef,s),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){const o={...new cg,...this._defaultConfig,...i},s=this._createOverlay(o),a=this._attachSnackBarContainer(s,o),l=new lg(a,s);if(e instanceof mr){const d=new Gl(e,null,{$implicit:o.data,snackBarRef:l});l.instance=a.attachTemplatePortal(d)}else{const d=this._createInjector(o,l),_=new Dd(e,void 0,d),E=a.attachComponentPortal(_);l.instance=E.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Bn(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Ah;i.direction=e.direction;let o=this._overlay.position().global();const s="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!s||"end"===e.horizontalPosition&&s,l=!a&&"center"!==e.horizontalPosition;return a?o.left("0"):l?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return Ti.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:lg,useValue:i},{provide:s1,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Z0),we(Ti),we(U0),we(t,12),we(a1))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})(),JU=(()=>{class t extends XU{constructor(e,i,o,s,a,l){super(e,i,o,s,a,l),this.simpleSnackBarComponent=WU,this.snackBarContainerComponent=KU,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Z0),we(Ti),we(U0),we(t,12),we(a1))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:nE}),t})();function l1(...t){if(1===t.length){const n=t[0];if(M(n))return dg(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return dg(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return dg(t=1===t.length&&M(t[0])?t[0]:t,null).pipe(ke(e=>n(...e)))}return dg(t,null)}function dg(t,n){return new he(e=>{const i=t.length;if(0===i)return void e.complete();const o=new Array(i);let s=0,a=0;for(let l=0;l{_||(_=!0,a++),o[l]=E},error:E=>e.error(E),complete:()=>{s++,(s===i||!_)&&(a===i&&e.next(n?n.reduce((E,F,G)=>(E[F]=o[G],E),{}):o),e.complete())}}))}})}const QU=["*"];let ug;function Vh(t){return function eW(){if(void 0===ug&&(ug=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(ug=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return ug}()?.createHTML(t)||t}function iE(t){return Error(`Unable to find icon with the name "${t}"`)}function rE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function oE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Jl{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let hg=(()=>{class t{constructor(e,i,o,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,s){return this._addSvgIconConfig(e,i,new Jl(o,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,s){const a=this._sanitizer.sanitize(Dn.HTML,o);if(!a)throw oE(o);const l=Vh(a);return this._addSvgIconConfig(e,i,new Jl("",l,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new Jl(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const s=this._sanitizer.sanitize(Dn.HTML,i);if(!s)throw oE(i);const a=Vh(s);return this._addSvgIconSetConfig(e,new Jl("",a,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Dn.RESOURCE_URL,e);if(!i)throw rE(e);const o=this._cachedIconsByUrl.get(i);return o?$e(fg(o)):this._loadSvgIconFromConfig(new Jl(e,null)).pipe(bi(s=>this._cachedIconsByUrl.set(i,s)),ke(s=>fg(s)))}getNamedSvgIcon(e,i=""){const o=sE(i,e);let s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Ar(iE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?$e(fg(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ke(i=>fg(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?$e(o):l1(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Co(l=>{const _=`Loading icon set URL: ${this._sanitizer.sanitize(Dn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(_)),$e(null)})))).pipe(ke(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw iE(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const s=i[o];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,e,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(bi(i=>e.svgText=i),ke(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?$e(null):this._fetchIcon(e).pipe(bi(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const a=s.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,o);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),o);const l=this._svgElementFromString(Vh(""));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(Vh("")),o=e.attributes;for(let s=0;sVh(_)),km(()=>this._inProgressUrlFetches.delete(a)),dl());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(sE(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),aE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lW=aE.map(t=>`[${t}]`).join(", "),cW=/^url\(['"]?#(.*?)['"]?\)$/;let vn=(()=>{class t extends rW{get inline(){return this._inline}set inline(e){this._inline=_n(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,s,a,l){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=T.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(lW),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const l=i[s],d=l.getAttribute(a),_=d?d.match(cW):null;if(_){let E=o.get(l);E||(E=[],o.set(l,E)),E.push({name:a,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Kn(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${s.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(hg),Aa("aria-hidden"),N(sW),N(Ss),N(oW,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Jt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),nn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[nt],ngContentSelectors:QU,decls:1,vars:0,template:function(e,i){1&e&&(Ir(),Tn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),dW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Wn]}),t})();function jh(t){return(jh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function Lt(t,n,e){return(n=function hW(t){var n=function uW(t,n){if("object"!==jh(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!==jh(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===jh(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lE(t,n,e){let i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:n,refCount:!1,scheduler:e},o=>o.lift(function fW({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let o,a,s=0,l=!1,d=!1;return function(E){let F;s++,!o||l?(l=!1,o=new ko(t,n,i),F=o.subscribe(this),a=E.subscribe({next(G){o.next(G)},error(G){l=!0,o.error(G)},complete(){d=!0,a=void 0,o.complete()}}),d&&(a=void 0)):F=o.subscribe(this),this.add(()=>{s--,F.unsubscribe(),F=void 0,a&&!d&&e&&0===s&&(a.unsubscribe(),a=void 0,o=void 0)})}}(i))}class zh{}let cE=(()=>{class t extends zh{getTranslation(e){return $e({})}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})();class c1{}let dE=(()=>{class t{handle(e){return e.key}}return Lt(t,"\u0275fac",function(e){return new(e||t)}),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})();function pg(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;let o,s,a,e=typeof t;if(e==typeof n&&"object"==e){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(s in a=Object.create(null),t){if(!pg(t[s],n[s]))return!1;a[s]=!0}for(s in n)if(!(s in a)&&typeof n[s]<"u")return!1;return!0}if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(s=0;s{d1(n[i])?i in t?e[i]=uE(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}class mg{}let hE=(()=>{class t extends mg{constructor(...e){super(...e),Lt(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(e,i){let o;return o="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,o}getValue(e,i){let o="string"==typeof i?i.split("."):[i];i="";do{i+=o.shift(),!il(e)||!il(e[i])||"object"!=typeof e[i]&&o.length?o.length?i+=".":e=void 0:(e=e[i],i="")}while(o.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,s)=>{let a=this.getValue(i,s);return il(a)?a:o}):e}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})();class gg{}let fE=(()=>{class t extends gg{compile(e,i){return e}compileTranslations(e,i){return e}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})();class pE{constructor(){Lt(this,"defaultLang",void 0),Lt(this,"currentLang",this.defaultLang),Lt(this,"translations",{}),Lt(this,"langs",[]),Lt(this,"onTranslationChange",new ht),Lt(this,"onLangChange",new ht),Lt(this,"onDefaultLangChange",new ht)}}const u1=new Re("USE_STORE"),h1=new Re("USE_DEFAULT_LANG"),f1=new Re("DEFAULT_LANGUAGE"),p1=new Re("USE_EXTEND");let To=(()=>{class t{get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,s,a,l=!0,d=!1,_=!1,E){Lt(this,"store",void 0),Lt(this,"currentLoader",void 0),Lt(this,"compiler",void 0),Lt(this,"parser",void 0),Lt(this,"missingTranslationHandler",void 0),Lt(this,"useDefaultLang",void 0),Lt(this,"isolate",void 0),Lt(this,"extend",void 0),Lt(this,"loadingTranslations",void 0),Lt(this,"pending",!1),Lt(this,"_onTranslationChange",new ht),Lt(this,"_onLangChange",new ht),Lt(this,"_onDefaultLangChange",new ht),Lt(this,"_defaultLang",void 0),Lt(this,"_currentLang",void 0),Lt(this,"_langs",[]),Lt(this,"_translations",{}),Lt(this,"_translationRequests",{}),this.store=e,this.currentLoader=i,this.compiler=o,this.parser=s,this.missingTranslationHandler=a,this.useDefaultLang=l,this.isolate=d,this.extend=_,E&&this.setDefaultLang(E)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(null==this.defaultLang&&(this.defaultLang=e),i.pipe(Kn(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return $e(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(Kn(1)).subscribe(o=>{this.changeLang(e)}),i):(this.changeLang(e),$e(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;const i=this.currentLoader.getTranslation(e).pipe(lE(1),Kn(1));return this.loadingTranslations=i.pipe(ke(o=>this.compiler.compileTranslations(o,e)),lE(1),Kn(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?{...o,...this.translations[e]}:o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=(o||this.extend)&&this.translations[e]?uE(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,o){let s;if(i instanceof Array){let a={},l=!1;for(let d of i)a[d]=this.getParsedResult(e,d,o),Wa(a[d])&&(l=!0);return l?l1(i.map(_=>Wa(a[_])?a[_]:$e(a[_]))).pipe(ke(_=>{let E={};return _.forEach((F,G)=>{E[i[G]]=F}),E})):a}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,i),o)),typeof s>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof s>"u"){let a={key:i,translateService:this};typeof o<"u"&&(a.interpolateParams=o),s=this.missingTranslationHandler.handle(a)}return typeof s<"u"?s:i}get(e,i){if(!il(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Bl(o=>Wa(o=this.getParsedResult(o,e,i))?o:$e(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,i);return Wa(o)?o:$e(o)}}getStreamOnTranslationChange(e,i){if(!il(e)||!e.length)throw new Error('Parameter "key" required');return $a(jl(()=>this.get(e,i)),this.onTranslationChange.pipe(gr(o=>{const s=this.getParsedResult(o.translations,e,i);return"function"==typeof s.subscribe?s:$e(s)})))}stream(e,i){if(!il(e)||!e.length)throw new Error('Parameter "key" required');return $a(jl(()=>this.get(e,i)),this.onLangChange.pipe(gr(o=>{const s=this.getParsedResult(o.translations,e,i);return Wa(s)?s:$e(s)})))}instant(e,i){if(!il(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,i);if(Wa(o)){if(e instanceof Array){let s={};return e.forEach((a,l)=>{s[e[l]]=e[l]}),s}return e}return o}set(e,i,o=this.currentLang){this.translations[o][e]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return Lt(t,"\u0275fac",function(e){return new(e||t)(we(pE),we(zh),we(gg),we(mg),we(c1),we(h1),we(u1),we(p1),we(f1))}),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})(),yt=(()=>{class t{constructor(e,i){Lt(this,"translate",void 0),Lt(this,"_ref",void 0),Lt(this,"value",""),Lt(this,"lastKey",null),Lt(this,"lastParams",[]),Lt(this,"onTranslationChange",void 0),Lt(this,"onLangChange",void 0),Lt(this,"onDefaultLangChange",void 0),this.translate=e,this._ref=i}updateValue(e,i,o){let s=a=>{this.value=void 0!==a?a:e,this.lastKey=e,this._ref.markForCheck()};if(o){let a=this.translate.getParsedResult(o,e,i);Wa(a.subscribe)?a.subscribe(s):s(a)}this.translate.get(e,i).subscribe(s)}transform(e,...i){if(!e||!e.length)return e;if(pg(e,this.lastKey)&&pg(i,this.lastParams))return this.value;let o;if(il(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let s=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return Lt(t,"\u0275fac",function(e){return new(e||t)(N(To,16),N(pi,16))}),Lt(t,"\u0275pipe",ur({name:"translate",type:t,pure:!1})),Lt(t,"\u0275prov",Ne({token:t,factory:t.\u0275fac})),t})(),mE=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:zh,useClass:cE},e.compiler||{provide:gg,useClass:fE},e.parser||{provide:mg,useClass:hE},e.missingTranslationHandler||{provide:c1,useClass:dE},pE,{provide:u1,useValue:e.isolate},{provide:h1,useValue:e.useDefaultLang},{provide:p1,useValue:e.extend},{provide:f1,useValue:e.defaultLanguage},To]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:zh,useClass:cE},e.compiler||{provide:gg,useClass:fE},e.parser||{provide:mg,useClass:hE},e.missingTranslationHandler||{provide:c1,useClass:dE},{provide:u1,useValue:e.isolate},{provide:h1,useValue:e.useDefaultLang},{provide:p1,useValue:e.extend},{provide:f1,useValue:e.defaultLanguage},To]}}}return Lt(t,"\u0275fac",function(e){return new(e||t)}),Lt(t,"\u0275mod",Vt({type:t})),Lt(t,"\u0275inj",Nt({})),t})();function pW(t,n){if(1&t&&(k(0,"div",5)(1,"mat-icon",6),I(2),C()()),2&t){const e=z();c(1),w("inline",!0),c(1),re(e.config.icon)}}function mW(t,n){if(1&t&&(k(0,"div",7),I(1),R(2,"translate"),R(3,"translate"),C()),2&t){const e=z();c(1),vo(" ",H(2,2,"common.error")," ",kt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var ca=(()=>((ca=ca||{}).Error="error",ca.Done="done",ca.Warning="warning",ca))(),da=(()=>((da=da||{}).Red="red-background",da.Green="green-background",da.Yellow="yellow-background",da))();let gW=(()=>{class t{constructor(e,i){this.snackbarRef=i,this.config=e}close(){this.snackbarRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(N(s1),N(lg))},t.\u0275cmp=Ke({type:t,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(e,i){1&e&&(k(0,"div"),V(1,pW,3,2,"div",0),k(2,"div",1),I(3),R(4,"translate"),V(5,mW,4,7,"div",2),C(),Ce(6,"div",3),k(7,"mat-icon",4),ve("click",function(){return i.close()}),I(8,"close"),C()()),2&e&&(eo("main-container "+i.config.color),c(1),w("ngIf",i.config.icon),c(2),ce(" ",kt(4,5,i.config.text,i.config.textTranslationParams)," "),c(2),w("ngIf",i.config.smallText))},dependencies:[Ft,vn,yt],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;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:#0000004d}.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;user-select:none}']}),t})(),kn=(()=>{class t{constructor(e){this.snackBar=e,this.lastWasTemporaryError=!1}showError(e,i=null,o=!1,s=null,a=null){e=Qt(e),s=s?Qt(s):null,this.lastWasTemporaryError=o,this.show(e.translatableErrorMsg,i,s?s.translatableErrorMsg:null,a,ca.Error,da.Red,15e3)}showWarning(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,ca.Warning,da.Yellow,15e3)}showDone(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,ca.Done,da.Green,5e3)}closeCurrent(){this.snackBar.dismiss()}closeCurrentIfTemporaryError(){this.lastWasTemporaryError&&this.snackBar.dismiss()}show(e,i,o,s,a,l,d){this.snackBar.openFromComponent(gW,{duration:d,panelClass:"snackbar-container",data:{text:e,textTranslationParams:i,smallText:o,smallTextTranslationParams:s,icon:a,color:l}})}}return t.\u0275fac=function(e){return new(e||t)(we(JU))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Bt={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}};class _W{constructor(n){Object.assign(this,n)}}let _g=(()=>{class t{constructor(e){this.translate=e,this.currentLanguage=new ko(1),this.languages=new ko(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}loadLanguageSettings(){if(this.settingsLoaded)return;this.settingsLoaded=!0;const e=[];Bt.languages.forEach(i=>{const o=new _W(i);this.languagesInternal.push(o),e.push(o.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(Bt.defaultLanguage),this.translate.onLangChange.subscribe(i=>this.onLanguageChanged(i)),this.loadCurrentLanguage()}changeLanguage(e){this.translate.use(e)}onLanguageChanged(e){this.currentLanguage.next(this.languagesInternal.find(i=>i.code===e.lang)),localStorage.setItem(this.storageKey,e.lang)}loadCurrentLanguage(){let e=localStorage.getItem(this.storageKey);e=e||Bt.defaultLanguage,setTimeout(()=>this.translate.use(e),16)}}return t.\u0275fac=function(e){return new(e||t)(we(To))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bW={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class m1 extends Te{constructor(n,e){if(super(),n instanceof he)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},bW);if(this._output=new J,"string"==typeof n)i.url=n;else for(let o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new ko}}lift(n){const e=new m1(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new ko),this._output=new J}multiplex(n,e,i){const o=this;return new he(s=>{try{o.next(n())}catch(l){s.error(l)}const a=o.subscribe(l=>{try{i(l)&&s.next(l)}catch(d){s.error(d)}},l=>s.error(l),()=>s.complete());return()=>{try{o.next(e())}catch(l){s.error(l)}a.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:n,protocol:e,url:i,binaryType:o}=this._config,s=this._output;let a=null;try{a=e?new n(i,e):new n(i),this._socket=a,o&&(this._socket.binaryType=o)}catch(d){return void s.error(d)}const l=new T(()=>{this._socket=null,a&&1===a.readyState&&a.close()});a.onopen=d=>{const{_socket:_}=this;if(!_)return a.close(),void this._resetState();const{openObserver:E}=this._config;E&&E.next(d);const F=this.destination;this.destination=A.create(G=>{if(1===a.readyState)try{const{serializer:ie}=this._config;a.send(ie(G))}catch(ie){this.destination.error(ie)}},G=>{const{closingObserver:ie}=this._config;ie&&ie.next(void 0),G&&G.code?a.close(G.code,G.reason):s.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:G}=this._config;G&&G.next(void 0),a.close(),this._resetState()}),F&&F instanceof ko&&l.add(F.subscribe(this.destination))},a.onerror=d=>{this._resetState(),s.error(d)},a.onclose=d=>{this._resetState();const{closeObserver:_}=this._config;_&&_.next(d),d.wasClean?s.complete():s.error(d)},a.onmessage=d=>{try{const{deserializer:_}=this._config;s.next(_(d))}catch(_){s.error(_)}}}_subscribe(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&1===i.readyState&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&1===n.readyState&&n.close(),this._resetState(),super.unsubscribe()}}var rl=(()=>((rl=rl||{}).Json="json",rl.Text="text",rl))(),Ql=(()=>((Ql=Ql||{}).Json="json",Ql))();class ec{constructor(n){this.responseType=rl.Json,this.requestType=Ql.Json,this.ignoreAuth=!1,Object.assign(this,n)}}let ol=(()=>{class t{constructor(e,i,o){this.http=e,this.router=i,this.ngZone=o,this.apiPrefix="api/",this.wsApiPrefix="api/"}get(e,i=null){return this.request("GET",e,{},i)}post(e,i={},o=null){return this.request("POST",e,i,o)}put(e,i={},o=null){return this.request("PUT",e,i,o)}delete(e,i=null){return this.request("DELETE",e,{},i)}ws(e,i={}){const a=function yW(t){return new m1(t)}((location.protocol.startsWith("https")?"wss://":"ws://")+location.host+"/"+this.wsApiPrefix+e);return a.next(i),a}request(e,i,o,s){return o=o||{},s=s||new ec,i.startsWith("/")&&(i=i.substr(1,i.length-1)),this.http.request(e,this.apiPrefix+i,{...this.getRequestOptions(s),responseType:s.responseType,withCredentials:!0,body:this.getPostBody(o,s)}).pipe(ke(a=>this.successHandler(a)),Co(a=>this.errorHandler(a,s)))}getRequestOptions(e){const i={};return i.headers=new rs,e.requestType===Ql.Json&&(i.headers=i.headers.append("Content-Type","application/json")),i}getPostBody(e,i){if(i.requestType===Ql.Json)return JSON.stringify(e);const o=new FormData;return Object.keys(e).forEach(s=>o.append(s,e[s])),o}successHandler(e){if("string"==typeof e&&"manager token is null"===e)throw new Error(e);return e}errorHandler(e,i){if(!i.ignoreAuth){if(401===e.status){const o=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(o,{replaceUrl:!0}))}if(e.error&&"string"==typeof e.error&&e.error.includes("change password")){const o=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(o,{replaceUrl:!0}))}}return Ar(Qt(e))}}return t.\u0275fac=function(e){return new(e||t)(we(Vl),we(hn),we(ft))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const MW=["determinateSpinner"];function wW(t,n){if(1&t&&(wl(),k(0,"svg",11),Ce(1,"circle",12),C()),2&t){const e=z();Jt("viewBox",e._viewBox()),c(1),Pl("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Jt("r",e._circleRadius())}}const CW=Rh(class{constructor(t){this._elementRef=t}},"primary"),xW=new Re("mat-progress-spinner-default-options",{providedIn:"root",factory:function kW(){return{diameter:gE}}}),gE=100;let tc=(()=>{class t extends CW{constructor(e,i,o){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=gE,this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,So(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=So(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=So(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Vi,8),N(xW))},t.\u0275cmp=Ke({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&pt(MW,5),2&e){let o;it(o=rt())&&(i._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(e,i){2&e&&(Jt("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),Pl("width",i.diameter,"px")("height",i.diameter,"px")("--mdc-circular-progress-size",i.diameter+"px")("--mdc-circular-progress-active-indicator-width",i.diameter+"px"),nn("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[nt],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,i){if(1&e&&(V(0,wW,2,8,"ng-template",null,0,Es),k(2,"div",1,2),wl(),k(4,"svg",3),Ce(5,"circle",4),C()(),zf(),k(6,"div",5)(7,"div",6)(8,"div",7),Jo(9,8),C(),k(10,"div",9),Jo(11,8),C(),k(12,"div",10),Jo(13,8),C()()()),2&e){const o=ci(1);c(4),Jt("viewBox",i._viewBox()),c(1),Pl("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),Jt("r",i._circleRadius()),c(4),w("ngTemplateOutlet",o),c(2),w("ngTemplateOutlet",o),c(2),w("ngTemplateOutlet",o)}},dependencies:[fd],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),DW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[ta,Wn]}),t})();const TW=function(t){return{"white-theme":t}};let as=(()=>{class t{constructor(){this.showWhite=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"mat-spinner",1),C()),2&e&&(w("ngClass",He(2,TW,i.showWhite)),c(1),w("diameter",50))},dependencies:[Pn,tc],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t})();function LW(t,n){1&t&&(k(0,"div",5)(1,"div"),Ce(2,"img",6),k(3,"div"),I(4),R(5,"translate"),C()()()),2&t&&(c(4),re(H(5,1,"common.window-size-error")))}function EW(t,n){1&t&&Ce(0,"router-outlet")}function IW(t,n){1&t&&Ce(0,"app-loading-indicator",7)}const PW=function(t){return{background:t}};let g1=(()=>{class t{constructor(e,i,o,s,a,l){this.storage=e,this.snackbarService=s,this.languageService=a,this.apiService=l,this.inVpnClient=!1,this.inLoginPage=!1,this.hypervisorPkObtained=!1,this.pkErrorShown=!1,this.pkErrorsFound=0,t.currentInstance=this,o.afterOpened.subscribe(()=>s.closeCurrent()),history.scrollRestoration&&(history.scrollRestoration="manual"),i.events.subscribe(d=>{d instanceof Ka&&(s.closeCurrent(),o.closeAll())}),o.afterAllClosed.subscribe(()=>s.closeCurrentIfTemporaryError()),i.events.subscribe(d=>{if(this.inVpnClient=i.url.includes("/vpn/")||i.url.includes("vpnlogin"),d.url){const _=this.inLoginPage;this.inLoginPage=d.url.includes("login"),_&&!this.inLoginPage&&!this.hypervisorPkObtained&&this.checkHypervisorPk(0)}i.url.length>2&&(document.title=this.inVpnClient?"Skywire VPN":"Skywire Manager")}),this.languageService.loadLanguageSettings(),this.checkHypervisorPk(0)}processLoginDone(){this.inLoginPage=!1,this.hypervisorPkObtained||this.checkHypervisorPk(0)}checkHypervisorPk(e){this.obtainPkSubscription&&this.obtainPkSubscription.unsubscribe(),this.obtainPkSubscription=$e(1).pipe(Ei(e),Ye(()=>this.apiService.get("about"))).subscribe(i=>{i.public_key?(this.finishStartup(i.public_key),this.hypervisorPkObtained=!0):(this.pkErrorShown||(this.snackbarService.showError("start.loading-error",null,!0),this.pkErrorShown=!0),this.checkHypervisorPk(1e3))},i=>{if(this.pkErrorsFound+=1,this.pkErrorsFound>4&&!this.pkErrorShown){const o=Qt(i);this.snackbarService.showError("start.loading-error",null,!0,o),this.pkErrorShown=!0}this.inLoginPage||this.checkHypervisorPk(1e3)})}finishStartup(e){this.storage.initialize(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Ji),N(hn),N(xn),N(kn),N(_g),N(ol))},t.\u0275cmp=Ke({type:t,selectors:[["app-root"]],decls:5,vars:6,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[4,"ngIf"],["class","h-100",4,"ngIf"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"],[1,"h-100"]],template:function(e,i){1&e&&(V(0,LW,6,3,"div",0),k(1,"div",1),Ce(2,"div",2),V(3,EW,1,0,"router-outlet",3),V(4,IW,1,0,"app-loading-indicator",4),C()),2&e&&(w("ngIf",i.inVpnClient),c(2),w("ngClass",He(4,PW,i.inVpnClient)),c(1),w("ngIf",i.hypervisorPkObtained||i.inLoginPage),c(1),w("ngIf",!i.hypervisorPkObtained&&!i.inLoginPage))},dependencies:[Pn,Ft,Am,as,yt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;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}"]}),t})(),Wh=(()=>{class t{set forceFail(e){this.forceFailInternal=e}constructor(e){this.router=e,this.forceFailInternal=!1}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),$e(!1)):$e(!0)}}return t.\u0275fac=function(e){return new(e||t)(we(hn))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Fr=(()=>((Fr=Fr||{})[Fr.AuthDisabled=0]="AuthDisabled",Fr[Fr.Logged=1]="Logged",Fr[Fr.NotLogged=2]="NotLogged",Fr))();let $h=(()=>{class t{constructor(e,i,o){this.apiService=e,this.translateService=i,this.authGuardService=o}login(e){return this.apiService.post("login",{username:"admin",password:e},new ec({ignoreAuth:!0})).pipe(bi(i=>{if(!0!==i)throw new Error;this.authGuardService.forceFail=!1}))}checkLogin(){return this.apiService.get("user",new ec({ignoreAuth:!0})).pipe(ke(e=>e.username?Fr.Logged:Fr.AuthDisabled),Co(e=>(e=Qt(e)).originalError&&401===e.originalError.status?(this.authGuardService.forceFail=!0,$e(Fr.NotLogged)):Ar(e)))}logout(){return this.apiService.post("logout",{}).pipe(bi(e=>{if(!0!==e)throw new Error;this.authGuardService.forceFail=!0}))}changePassword(e,i){return this.apiService.post("change-password",{old_password:e,new_password:i},new ec({responseType:rl.Text,ignoreAuth:!0})).pipe(ke(o=>{if("string"==typeof o&&"true"===o.trim())return!0;throw"Please do not change the default password."===o?new Error(this.translateService.instant("settings.password.errors.default-password")):new Error(this.translateService.instant("common.operation-error"))}),Co(o=>((o=Qt(o)).originalError&&401===o.originalError.status&&(o.translatableErrorMsg="settings.password.errors.bad-old-password"),Ar(o))))}initialConfig(e){return this.apiService.post("create-account",{username:"admin",password:e},new ec({responseType:rl.Text,ignoreAuth:!0})).pipe(ke(i=>{if("string"==typeof i&&"true"===i.trim())return!0;throw new Error(i)}),Co(i=>((i=Qt(i)).originalError&&500===i.originalError.status&&(i.translatableErrorMsg="settings.password.initial-config.error"),Ar(i))))}}return t.\u0275fac=function(e){return new(e||t)(we(ol),we(To),we(Wh))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class OW{}class er{constructor(){this.persistentScrollPosKey="scroll-pos"}ngOnInit(){let n=this.getLocalValue(this.persistentScrollPosKey);n=n?n.value:"0",window.scrollTo(0,Number(n)),setTimeout(()=>window.scrollTo(0,Number(n)),1)}saveScrollPosition(n){this.saveLocalValue(this.persistentScrollPosKey,window.scrollY+"")}saveLocalValue(n,e){const i=window.history.state;i[n]=e,i[n+"_time"]=(new Date).getTime(),window.history.replaceState(i,"",window.location.pathname+window.location.hash)}getLocalValue(n){if(!window.history.state||void 0===window.history.state[n])return null;const e=new OW;return e.value=window.history.state[n],e.date=window.history.state[n+"_time"],e}}er.mustCallNgOnInitSuper=Symbol("You must call super.ngOnInit."),er.\u0275fac=function(n){return new(n||er)},er.\u0275cmp=Ke({type:er,selectors:[["app-page-base"]],hostBindings:function(n,e){1&n&&ve("scroll",function(o){return e.saveScrollPosition(o)},0,jb)},decls:0,vars:0,template:function(n,e){},encapsulation:2});let AW=(()=>{class t extends er{constructor(e,i){super(),this.authService=e,this.router=i}ngOnInit(){return this.verificationSubscription=this.authService.checkLogin().subscribe(e=>{this.router.navigate(e!==Fr.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},()=>{this.router.navigate(["nodes"],{replaceUrl:!0})}),super.ngOnInit()}ngOnDestroy(){this.verificationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N($h),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-start"]],features:[nt],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"app-loading-indicator"),C())},dependencies:[as]}),t})(),_E=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(N(Ks),N(vt))},t.\u0275dir=Ze({type:t}),t})(),nc=(()=>{class t extends _E{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,features:[nt]}),t})();const ls=new Re("NgValueAccessor"),RW={provide:ls,useExisting:pn(()=>Ii),multi:!0},YW=new Re("CompositionEventMode");let Ii=(()=>{class t extends _E{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function NW(){const t=Ba()?Ba().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Ks),N(vt),N(YW,8))},t.\u0275dir=Ze({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(e,i){1&e&&ve("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[un([RW]),nt]}),t})();function sl(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function vE(t){return null!=t&&"number"==typeof t.length}const xr=new Re("NgValidators"),al=new Re("NgAsyncValidators"),HW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Yt{static min(n){return function yE(t){return n=>{if(sl(n.value)||sl(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(sl(n.value)||sl(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function wE(t){return sl(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function CE(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function xE(t){return sl(t.value)||HW.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function kE(t){return n=>sl(n.value)||!vE(n.value)?null:n.value.length{if(sl(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return OE(n)}static composeAsync(n){return AE(n)}}function SE(t){return n=>vE(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function bg(t){return null}function TE(t){return null!=t}function LE(t){return Bu(t)?ue(t):t}function EE(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function IE(t,n){return n.map(e=>e(t))}function PE(t){return t.map(n=>function BW(t){return!t.validate}(n)?n:e=>n.validate(e))}function OE(t){if(!t)return null;const n=t.filter(TE);return 0==n.length?null:function(e){return EE(IE(e,n))}}function _1(t){return null!=t?OE(PE(t)):null}function AE(t){if(!t)return null;const n=t.filter(TE);return 0==n.length?null:function(e){return l1(IE(e,n).map(LE)).pipe(ke(EE))}}function b1(t){return null!=t?AE(PE(t)):null}function FE(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function RE(t){return t._rawValidators}function NE(t){return t._rawAsyncValidators}function v1(t){return t?Array.isArray(t)?t:[t]:[]}function vg(t,n){return Array.isArray(t)?t.includes(n):t===n}function YE(t,n){const e=v1(n);return v1(t).forEach(o=>{vg(e,o)||e.push(o)}),e}function HE(t,n){return v1(n).filter(e=>!vg(t,e))}class BE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=_1(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=b1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Gr extends BE{get formDirective(){return null}get path(){return null}}class Rs extends BE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class VE{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Pi=(()=>{class t extends VE{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Rs,2))},t.\u0275dir=Ze({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&nn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[nt]}),t})(),Oi=(()=>{class t extends VE{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,10))},t.\u0275dir=Ze({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&nn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[nt]}),t})();const Gh="VALID",Mg="INVALID",Od="PENDING",qh="DISABLED";function w1(t){return(wg(t)?t.validators:t)||null}function C1(t,n){return(wg(n)?n.asyncValidators:t)||null}function wg(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function zE(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new Fe(1e3,"");if(!i[e])throw new Fe(1001,"")}function UE(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new Fe(1002,"")})}class Cg{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Gh}get invalid(){return this.status===Mg}get pending(){return this.status==Od}get disabled(){return this.status===qh}get enabled(){return this.status!==qh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(YE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(YE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(HE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(HE(n,this._rawAsyncValidators))}hasValidator(n){return vg(this._rawValidators,n)}hasAsyncValidator(n){return vg(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Od,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=qh,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Gh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Gh||this.status===Od)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?qh:Gh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Od,this._hasOwnPendingAsyncValidator=!0;const e=LE(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ht,this.statusChanges=new ht}_calculateStatus(){return this._allControlsDisabled()?qh:this.errors?Mg:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Od)?Od:this._anyControlsHaveStatus(Mg)?Mg:Gh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){wg(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function UW(t){return Array.isArray(t)?_1(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function WW(t){return Array.isArray(t)?b1(t):t||null}(this._rawAsyncValidators)}}class Ad extends Cg{constructor(n,e,i){super(w1(e),C1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){UE(this,0,n),Object.keys(n).forEach(i=>{zE(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,s)=>{i=e(i,o,s)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const WE=Ad;class $E extends Ad{}const ic=new Re("CallSetDisabledState",{providedIn:"root",factory:()=>Kh}),Kh="always";function xg(t,n){return[...n.path,t]}function Zh(t,n,e=Kh){x1(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function GW(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&GE(t,n)})}(t,n),function KW(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function qW(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&GE(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function $W(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function kg(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Dg(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Sg(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function x1(t,n){const e=RE(t);null!==n.validator?t.setValidators(FE(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=NE(t);null!==n.asyncValidator?t.setAsyncValidators(FE(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Sg(n._rawValidators,o),Sg(n._rawAsyncValidators,o)}function Dg(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=RE(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.validator);s.length!==o.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const o=NE(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.asyncValidator);s.length!==o.length&&(e=!0,t.setAsyncValidators(s))}}}const i=()=>{};return Sg(n._rawValidators,i),Sg(n._rawAsyncValidators,i),e}function GE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qE(t,n){x1(t,n)}function KE(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const e$={provide:Gr,useExisting:pn(()=>Jh)},Xh=(()=>Promise.resolve())();let Jh=(()=>{class t extends Gr{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ht,this.form=new Ad({},_1(e),b1(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Xh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Zh(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Xh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Xh.then(()=>{const i=this._findContainer(e.path),o=new Ad({});qE(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Xh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Xh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,KE(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(N(xr,10),N(al,10),N(ic,8))},t.\u0275dir=Ze({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ve("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([e$]),nt]}),t})();function ZE(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function XE(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Fd=class extends Cg{constructor(n=null,e,i){super(w1(e),C1(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wg(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=XE(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){ZE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ZE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){XE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Tg=Fd;let JE=(()=>{class t extends Gr{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return xg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,features:[nt]}),t})(),Ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const r$={provide:ls,useExisting:pn(()=>T1),multi:!0};let T1=(()=>{class t extends nc{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ve("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[un([r$]),nt]}),t})(),nI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const L1=new Re("NgModelWithFormControlWarning"),c$={provide:Gr,useExisting:pn(()=>ti)};let ti=(()=>{class t extends Gr{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ht,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Dg(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Zh(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){kg(e.control||null,e,!1),function QW(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,KE(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(kg(i||null,e),(t=>t instanceof Fd)(o)&&(Zh(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);qE(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function ZW(t,n){return Dg(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){x1(this.form,this),this._oldForm&&Dg(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(N(xr,10),N(al,10),N(ic,8))},t.\u0275dir=Ze({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ve("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([c$]),nt,Gi]}),t})();const d$={provide:Gr,useExisting:pn(()=>Qh)};let Qh=(()=>{class t extends JE{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){sI(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(al,10))},t.\u0275dir=Ze({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[un([d$]),nt]}),t})();const u$={provide:Gr,useExisting:pn(()=>ef)};let ef=(()=>{class t extends Gr{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return xg(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){sI(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(al,10))},t.\u0275dir=Ze({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[un([u$]),nt]}),t})();function sI(t){return!(t instanceof Qh||t instanceof ti||t instanceof ef)}const h$={provide:Rs,useExisting:pn(()=>yi)};let yi=(()=>{class t extends Rs{set isDisabled(e){}constructor(e,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new ht,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function D1(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(s=>{s.constructor===Ii?e=s:function JW(t){return Object.getPrototypeOf(t.constructor)===nc}(s)?i=s:o=s}),o||i||e||null}(0,s)}ngOnChanges(e){this._added||this._setUpControl(),function S1(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return xg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(al,10),N(ls,10),N(L1,8))},t.\u0275dir=Ze({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[un([h$]),nt,Gi]}),t})();let rc=(()=>{class t{constructor(){this._validator=bg}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):bg,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,features:[Gi]}),t})();const k$={provide:xr,useExisting:pn(()=>kr),multi:!0};let kr=(()=>{class t extends rc{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function cI(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>SE(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Jt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[un([k$]),nt]}),t})(),gI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[nI]}),t})();class _I extends Cg{constructor(n,e,i){super(w1(e),C1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){UE(this,0,n),n.forEach((i,o)=>{zE(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function bI(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let vI=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const o=this._reduceControls(e);let s={};return bI(i)?s=i:null!==i&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Ad(o,s)}record(e,i=null){const o=this._reduceControls(e);return new $E(o,i)}control(e,i,o){let s={};return this.useNonNullable?(bI(i)?s=i:(s.validators=i,s.asyncValidators=o),new Fd(e,{...s,nonNullable:!0})):new Fd(e,i,o)}array(e,i,o){const s=e.map(a=>this._createControl(a));return new _I(s,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return e instanceof Fd||e instanceof Cg?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_r=(()=>{class t extends vI{group(e,i=null){return super.group(e,i)}control(e,i,o){return super.control(e,i,o)}array(e,i,o){return super.array(e,i,o)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),D$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:ic,useValue:e.callSetDisabledState??Kh}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[gI]}),t})(),T$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:L1,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ic,useValue:e.callSetDisabledState??Kh}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[gI]}),t})();const L$=["matFormFieldNotchedOutline",""],E$=["*"],I$=["textField"],P$=["iconPrefixContainer"],O$=["textPrefixContainer"];function A$(t,n){1&t&&Ce(0,"span",19)}function F$(t,n){if(1&t){const e=et();k(0,"label",17),ve("cdkObserveContent",function(){return Pe(e),Oe(z(2)._refreshOutlineNotchWidth())}),Tn(1,1),V(2,A$,1,0,"span",18),C()}if(2&t){const e=z(2);w("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Jt("for",e._control.id)("aria-owns",e._control.id),c(2),w("ngIf",!e.hideRequiredMarker&&e._control.required)}}function R$(t,n){1&t&&V(0,F$,3,6,"label",16),2&t&&w("ngIf",z()._hasFloatingLabel())}function N$(t,n){1&t&&Ce(0,"div",20)}function Y$(t,n){}function H$(t,n){1&t&&V(0,Y$,0,0,"ng-template",22),2&t&&(z(2),w("ngTemplateOutlet",ci(1)))}function B$(t,n){if(1&t&&(k(0,"div",21),V(1,H$,1,1,"ng-template",9),C()),2&t){const e=z();w("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),c(1),w("ngIf",!e._forceDisplayInfixLabel())}}function V$(t,n){1&t&&(k(0,"div",23,24),Tn(2,2),C())}function j$(t,n){1&t&&(k(0,"div",25,26),Tn(2,3),C())}function z$(t,n){}function U$(t,n){1&t&&V(0,z$,0,0,"ng-template",22),2&t&&(z(),w("ngTemplateOutlet",ci(1)))}function W$(t,n){1&t&&(k(0,"div",27),Tn(1,4),C())}function $$(t,n){1&t&&(k(0,"div",28),Tn(1,5),C())}function G$(t,n){1&t&&Ce(0,"div",29)}function q$(t,n){1&t&&(k(0,"div",30),Tn(1,6),C()),2&t&&w("@transitionMessages",z()._subscriptAnimationState)}function K$(t,n){if(1&t&&(k(0,"mat-hint",34),I(1),C()),2&t){const e=z(2);w("id",e._hintLabelId),c(1),re(e.hintLabel)}}function Z$(t,n){if(1&t&&(k(0,"div",31),V(1,K$,2,2,"mat-hint",32),Tn(2,7),Ce(3,"div",33),Tn(4,8),C()),2&t){const e=z();w("@transitionMessages",e._subscriptAnimationState),c(1),w("ngIf",e.hintLabel)}}const X$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],J$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let yI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-label"]]}),t})(),Q$=0;const MI=new Re("MatError");let ua=(()=>{class t{constructor(e,i){this.id="mat-mdc-error-"+Q$++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Aa("aria-live"),N(vt))},t.\u0275dir=Ze({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&Js("id",i.id)},inputs:{id:"id"},features:[un([{provide:MI,useExisting:t}])]}),t})(),eG=0,wI=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+eG++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(Js("id",i.id),Jt("align",null),nn("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),t})();const tG=new Re("MatPrefix"),nG=new Re("MatSuffix");let CI=(()=>{class t{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function iG(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),t})();const xI="mdc-line-ripple--active",Lg="mdc-line-ripple--deactivating";let kI=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const s=this._elementRef.nativeElement.classList,a=s.contains(Lg);"opacity"===o.propertyName&&a&&s.remove(xI,Lg)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Lg),e.add(xI)}deactivate(){this._elementRef.nativeElement.classList.add(Lg)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft))},t.\u0275dir=Ze({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),t})(),SI=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft))},t.\u0275cmp=Ke({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:L$,ngContentSelectors:E$,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(Ir(),Ce(0,"div",0),k(1,"div",1),Tn(2),C(),Ce(3,"div",2)),2&e&&(c(1),Pl("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),t})();const rG={transitionMessages:ia("transitionMessages",[yo("enter",ei({opacity:1,transform:"translateY(0%)"})),Pr("void => enter",[ei({opacity:0,transform:"translateY(-5px)"}),Wr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let A1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t}),t})();const F1=new Re("MatFormField"),oG=new Re("MAT_FORM_FIELD_DEFAULT_OPTIONS");let DI=0,tr=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=_n(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,s,a,l,d,_){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=d,this._document=_,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+DI++,this._hintLabelId="mat-mdc-hint-"+DI++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new J,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Bn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),bt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Bn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Bn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,o=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${s+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(ft),N(Do),N(ui),N(oG,8),N(Vi,8),N(It))},t.\u0275cmp=Ke({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,yI,5),sr(o,yI,7),sr(o,A1,5),sr(o,tG,5),sr(o,nG,5),sr(o,MI,5),sr(o,wI,5)),2&e){let s;it(s=rt())&&(i._labelChildNonStatic=s.first),it(s=rt())&&(i._labelChildStatic=s.first),it(s=rt())&&(i._formFieldControl=s.first),it(s=rt())&&(i._prefixChildren=s),it(s=rt())&&(i._suffixChildren=s),it(s=rt())&&(i._errorChildren=s),it(s=rt())&&(i._hintChildren=s)}},viewQuery:function(e,i){if(1&e&&(pt(I$,5),pt(P$,5),pt(O$,5),pt(CI,5),pt(SI,5),pt(kI,5)),2&e){let o;it(o=rt())&&(i._textField=o.first),it(o=rt())&&(i._iconPrefixContainer=o.first),it(o=rt())&&(i._textPrefixContainer=o.first),it(o=rt())&&(i._floatingLabel=o.first),it(o=rt())&&(i._notchedOutline=o.first),it(o=rt())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&nn("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[un([{provide:F1,useExisting:t}])],ngContentSelectors:J$,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(Ir(X$),V(0,R$,1,1,"ng-template",null,0,Es),k(2,"div",1,2),ve("click",function(s){return i._control.onContainerClick(s)}),V(4,N$,1,0,"div",3),k(5,"div",4),V(6,B$,2,3,"div",5),V(7,V$,3,0,"div",6),V(8,j$,3,0,"div",7),k(9,"div",8),V(10,U$,1,1,"ng-template",9),Tn(11),C(),V(12,W$,2,0,"div",10),V(13,$$,2,0,"div",11),C(),V(14,G$,1,0,"div",12),C(),k(15,"div",13),V(16,q$,2,1,"div",14),V(17,Z$,5,2,"div",15),C()),2&e&&(c(2),nn("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),c(2),w("ngIf",!i._hasOutline()&&!i._control.disabled),c(2),w("ngIf",i._hasOutline()),c(1),w("ngIf",i._hasIconPrefix),c(1),w("ngIf",i._hasTextPrefix),c(2),w("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),c(2),w("ngIf",i._hasTextSuffix),c(1),w("ngIf",i._hasIconSuffix),c(1),w("ngIf",!i._hasOutline()),c(1),nn("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),w("ngSwitch",i._getDisplayedMessages()),c(1),w("ngSwitchCase","error"),c(1),w("ngSwitchCase","hint"))},dependencies:[Ft,fd,th,gy,uL,wI,CI,SI,kI],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[rG.transitionMessages]},changeDetection:0}),t})(),Eg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,ta,z0,Wn]}),t})();const EI=Ja({passive:!0});let lG=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return oa;const i=la(e),o=this._monitoredElements.get(i);if(o)return o.subject;const s=new J,a="cdk-text-field-autofilled",l=d=>{"cdk-text-field-autofill-start"!==d.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===d.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,EI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,EI)}}),s}stopMonitoring(e){const i=la(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const dG=new Re("MAT_INPUT_VALUE_ACCESSOR"),uG=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let hG=0;const fG=IL(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new J}});let br=(()=>{class t extends fG{get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Yt.required)??!1}set required(e){this._required=_n(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Z2().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=_n(e)}constructor(e,i,o,s,a,l,d,_,E,F){super(l,s,a,o),this._elementRef=e,this._platform=i,this._autofillMonitor=_,this._formField=F,this._uid="mat-input-"+hG++,this.focused=!1,this.stateChanges=new J,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(_e=>Z2().has(_e)),this._iOSKeyupListener=_e=>{const xe=_e.target;!xe.value&&0===xe.selectionStart&&0===xe.selectionEnd&&(xe.setSelectionRange(1,1),xe.setSelectionRange(0,0))};const G=this._elementRef.nativeElement,ie=G.nodeName.toLowerCase();this._inputValueAccessor=d||G,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&E.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ie,this._isTextarea="textarea"===ie,this._isInFormField=!!F,this._isNativeSelect&&(this.controlType=G.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){uG.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(Rs,10),N(Jh,8),N(ti,8),N(t1),N(dG,10),N(lG),N(ft),N(F1,8))},t.\u0275dir=Ze({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&ve("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Js("id",i.id)("disabled",i.disabled)("required",i.required),Jt("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),nn("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[un([{provide:A1,useExisting:t}]),nt,Gi]}),t})(),pG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Eg,Eg,cG,Wn]}),t})();const mG=["tooltip"],II=new Re("mat-tooltip-scroll-strategy"),bG={provide:II,deps:[io],useFactory:function _G(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},yG=new Re("mat-tooltip-default-options",{providedIn:"root",factory:function vG(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),PI="tooltip-panel",OI=Ja({passive:!0});let SG=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=_n(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=So(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=So(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,s,a,l,d,_,E,F,G,ie){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=d,this._focusMonitor=_,this._dir=F,this._defaultOptions=G,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new J,this._scrollStrategy=E,this._document=ie,G&&(this._showDelay=G.showDelay,this._hideDelay=G.hideDelay,G.position&&(this.position=G.position),G.positionAtOrigin&&(this.positionAtOrigin=G.positionAtOrigin),G.touchGestures&&(this.touchGestures=G.touchGestures)),F.change.pipe(Bn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Bn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,OI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Dd(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Bn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof vt)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Bn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${PI}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Bn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Bn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Bn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Fs(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...s.main}),this._addOffset({...o.fallback,...s.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Kn(1),Bn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:s}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===s?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const d=`${this._cssClassPrefix}-${PI}-`;l.removePanelClass(d+this._currentPosition),l.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,OI)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){Ra()},t.\u0275dir=Ze({type:t,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),Mi=(()=>{class t extends SG{constructor(e,i,o,s,a,l,d,_,E,F,G,ie){super(e,i,o,s,a,l,d,_,E,F,G,ie),this._tooltipComponent=TG,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const o=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=o?-8:8:"end"===e.originX&&(e.offsetX=o?8:-8),e}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(vt),N(X2),N(or),N(ft),N(ui),N(bz),N(tl),N(II),N(Do,8),N(yG,8),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[nt]}),t})(),DG=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J,this._animationsDisabled="NoopAnimations"===i}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(e?s:o),i.classList.add(e?o:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(N(pi),N(Vi,8))},t.\u0275dir=Ze({type:t}),t})(),TG=(()=>{class t extends DG{constructor(e,i,o){super(e,o),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return t.\u0275fac=function(e){return new(e||t)(N(pi),N(vt),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&pt(mG,7),2&e){let o;it(o=rt())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ve("mouseleave",function(s){return i._handleMouseLeave(s)}),2&e&&Pl("zoom",i.isVisible()?1:null)},features:[nt],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(k(0,"div",0,1),ve("animationend",function(s){return i._handleAnimationEnd(s)}),k(2,"div",2),I(3),C()()),2&e&&(nn("mdc-tooltip--multiline",i._isMultiline),w("ngClass",i.tooltipClass),c(3),re(i.message))},dependencies:[Pn],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),t})(),LG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[bG],imports:[J0,ta,Ld,Wn,Wn,Eh]}),t})();const EG=["button1"],IG=["button2"];function PG(t,n){1&t&&Ce(0,"mat-spinner",5),2&t&&w("diameter",z().loadingSize)}function OG(t,n){1&t&&(k(0,"mat-icon"),I(1,"error_outline"),C())}const AG=function(t){return{"for-dark-background":t}},FG=["*"];var qr=(()=>((qr=qr||{})[qr.Normal=0]="Normal",qr[qr.Error=1]="Error",qr[qr.Loading=2]="Loading",qr))();let Fi=(()=>{class t{constructor(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=20,this.action=new ht,this.state=qr.Normal,this.buttonStates=qr}ngOnDestroy(){this.action.complete()}click(){this.disabled||(this.reset(),this.action.emit())}reset(e=!0){this.state=qr.Normal,e&&(this.disabled=!1)}focus(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}showEnabled(){this.disabled=!1}showDisabled(){this.disabled=!0}showLoading(e=!0){this.state=qr.Loading,e&&(this.disabled=!0)}showError(e=!0){this.state=qr.Error,e&&(this.disabled=!1)}get isLoading(){return this.state===qr.Loading}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-button"]],viewQuery:function(e,i){if(1&e&&(pt(EG,5),pt(IG,5)),2&e){let o;it(o=rt())&&(i.button1=o.first),it(o=rt())&&(i.button2=o.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:FG,decls:6,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[1,"d-flex"],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(Ir(),k(0,"button",0,1),ve("click",function(){return i.click()}),k(2,"div",2),V(3,PG,1,1,"mat-spinner",3),V(4,OG,2,0,"mat-icon",4),Tn(5),C()()),2&e&&(w("disabled",i.disabled)("color",i.color)("ngClass",He(5,AG,i.forDarkBackground)),c(3),w("ngIf",i.state===i.buttonStates.Loading),c(1),w("ngIf",i.state===i.buttonStates.Error))},dependencies:[Pn,Ft,$r,vn,tc],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:15px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t})();const RG=["button"],NG=["firstInput"],YG=function(t){return{"element-disabled":t}};function HG(t,n){if(1&t&&(k(0,"mat-form-field",12)(1,"div",5)(2,"label",6),I(3),R(4,"translate"),C(),Ce(5,"input",13),C(),k(6,"mat-error")(7,"span"),I(8),R(9,"translate"),C()()()),2&t){const e=z();w("ngClass",He(7,YG,e.working)),c(3),re(H(4,3,"settings.password.old-password")),c(5),re(H(9,5,"settings.password.errors.old-password-required"))}}const BG=function(t){return{"rounded-elevated-box":t}},AI=function(t,n){return{"white-form-field":t,"element-disabled":n}},VG=function(t,n){return{"mt-2 app-button":t,"float-right":n}};let FI=(()=>{class t{constructor(e,i,o,s){this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.workingState=new ht,this.forInitialConfig=!1}ngOnInit(){this.form=new WE({oldPassword:new Tg("",this.forInitialConfig?null:Yt.required),newPassword:new Tg("",Yt.compose([Yt.required,Yt.minLength(6),Yt.maxLength(64)])),newPasswordConfirmation:new Tg("",[Yt.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(()=>this.form.controls.newPasswordConfirmation.updateValueAndValidity())}ngAfterViewInit(){this.forInitialConfig&&setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}get working(){return!!this.button&&this.button.isLoading}changePassword(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.workingState.next(!0),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(()=>{this.dialog.closeAll(),this.snackbarService.showDone("settings.password.initial-config.done"),this.workingState.next(!1)},e=>{this.button.showError(),e=Qt(e),this.snackbarService.showError(e,null,!0),this.workingState.next(!1)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(()=>{this.router.navigate(["nodes"]),this.snackbarService.showDone("settings.password.password-changed"),this.workingState.next(!1)},e=>{this.button.showError(),e=Qt(e),this.snackbarService.showError(e),this.workingState.next(!1)}))}validatePasswords(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N($h),N(hn),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-password"]],viewQuery:function(e,i){if(1&e&&(pt(RG,5),pt(NG,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},inputs:{forInitialConfig:"forInitialConfig"},outputs:{workingState:"workingState"},decls:33,vars:40,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[1,"help-icon",3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",3,"ngClass",4,"ngIf"],[1,"field-container"],["for","remoteKey",1,"field-label"],["type","password","formControlName","newPassword","maxlength","64","matInput",""],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput",""],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field",3,"ngClass"],["type","password","formControlName","oldPassword","maxlength","64","matInput",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),R(4,"translate"),I(5," help "),C()(),k(6,"form",3),V(7,HG,10,9,"mat-form-field",4),k(8,"mat-form-field",0)(9,"div",5)(10,"label",6),I(11),R(12,"translate"),C(),Ce(13,"input",7,8),C(),k(15,"mat-error")(16,"span"),I(17),R(18,"translate"),C()()(),k(19,"mat-form-field",0)(20,"div",5)(21,"label",6),I(22),R(23,"translate"),C(),Ce(24,"input",9),C(),k(25,"mat-error")(26,"span"),I(27),R(28,"translate"),C()()(),k(29,"app-button",10,11),ve("action",function(){return i.changePassword()}),I(31),R(32,"translate"),C()()()()),2&e&&(w("ngClass",He(29,BG,!i.forInitialConfig)),c(2),eo((i.forInitialConfig?"":"white-")+"form-help-icon-container"),c(1),w("inline",!0)("matTooltip",H(4,17,i.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),c(3),w("formGroup",i.form),c(1),w("ngIf",!i.forInitialConfig),c(1),w("ngClass",mn(31,AI,!i.forInitialConfig,i.working)),c(3),re(H(12,19,i.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),c(6),re(H(18,21,"settings.password.errors.new-password-error")),c(2),w("ngClass",mn(34,AI,!i.forInitialConfig,i.working)),c(3),re(H(23,23,i.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),c(5),re(H(28,25,"settings.password.errors.passwords-not-match")),c(2),w("ngClass",mn(37,VG,!i.forInitialConfig,i.forInitialConfig))("disabled",!i.form.valid)("forDarkBackground",!i.forInitialConfig),c(2),ce(" ",H(32,27,i.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},dependencies:[Pn,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,vn,Mi,Fi,yt],styles:[".help-icon[_ngcontent-%COMP%]{display:inline}mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),t})();function jG(t,n){1&t&&(k(0,"button",5)(1,"mat-icon"),I(2,"close"),C()())}function zG(t,n){1&t&&Jo(0)}const RI=function(t){return{"content-margin":t}};function UG(t,n){if(1&t&&(k(0,"mat-dialog-content",6),V(1,zG,1,0,"ng-container",7),C()),2&t){const e=z(),i=ci(8);w("ngClass",He(2,RI,e.includeVerticalMargins)),c(1),w("ngTemplateOutlet",i)}}function WG(t,n){1&t&&Jo(0)}function $G(t,n){if(1&t&&(k(0,"div",6),V(1,WG,1,0,"ng-container",7),C()),2&t){const e=z(),i=ci(8);w("ngClass",He(2,RI,e.includeVerticalMargins)),c(1),w("ngTemplateOutlet",i)}}function GG(t,n){1&t&&Tn(0)}const qG=["*"];let Zn=(()=>{class t{set dialog(e){e.disableClose=!0,this.dialogInternal=e}constructor(e){this.matDialog=e,this.includeScrollableArea=!0,this.includeVerticalMargins=!0}onKeyUp(){this.closePopup()}closePopup(){this.disableDismiss||this.matDialog.openDialogs[this.matDialog.openDialogs.length-1].id===this.dialogInternal.id&&this.dialogInternal.close()}}return t.\u0275fac=function(e){return new(e||t)(N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-dialog"]],hostBindings:function(e,i){1&e&&ve("keyup.esc",function(){return i.onKeyUp()},0,jb)},inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins",dialog:"dialog"},ngContentSelectors:qG,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(e,i){1&e&&(Ir(),k(0,"div",0)(1,"span"),I(2),C(),V(3,jG,3,0,"button",1),C(),Ce(4,"div",2),V(5,UG,2,4,"mat-dialog-content",3),V(6,$G,2,4,"div",3),V(7,GG,1,0,"ng-template",null,4,Es)),2&e&&(c(2),re(i.headline),c(1),w("ngIf",!i.disableDismiss),c(2),w("ngIf",i.includeScrollableArea),c(1),w("ngIf",!i.includeScrollableArea))},dependencies:[Pn,Ft,fd,xU,kU,ag,nl,vn],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-mdc-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;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:700;display:flex;align-items:center}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex-grow:1}@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-mdc-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px;padding:0}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t})(),KG=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.smallModalWidth,e.open(t,i)}constructor(e){this.dialogRef=e,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-initial-setup"]],decls:3,vars:6,consts:[[3,"headline","dialog","disableDismiss"],[3,"forInitialConfig","workingState"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"app-password",1),ve("workingState",function(s){return i.disableDismiss=s}),C()()),2&e&&(w("headline",H(1,4,"settings.password.initial-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("forInitialConfig",!0))},dependencies:[FI,Zn,yt]}),t})();var R1=Y(9774),Ig=Y.n(R1);class N1{}class ZG{}var ro=(()=>((ro=ro||{}).Connecting="connecting",ro.Unhealthy="unhealthy",ro.Healthy="healthy",ro))(),oo=(()=>((oo=oo||{}).UseCustomSettings="updaterUseCustomSettings",oo.Channel="updaterChannel",oo.Version="updaterVersion",oo.ArchiveURL="updaterArchiveURL",oo.ChecksumsURL="updaterChecksumsURL",oo))();let ha=(()=>{class t{constructor(e,i){this.apiService=e,this.storageService=i}getNodes(){let e=[];return this.apiService.get("visors-summary").pipe(ke(i=>{i&&i.forEach(d=>{const _=new N1;_.online=d.online,_.localPk=d.overview.local_pk,_.version=d.overview.build_info.version,_.autoconnectTransports=d.public_autoconnect,_.buildTag=d.build_tag?d.build_tag:"",_.rewardsAddress=d.reward_address,_.ip=d.overview&&d.overview.local_ip&&d.overview.local_ip.trim()?d.overview.local_ip:null;const E=this.storageService.getLabelInfo(_.localPk);if(_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),!_.online)return _.dmsgServerPk="",_.roundTripPing="",void e.push(_);_.health={servicesHealth:d.health.services_health},_.dmsgServerPk=d.dmsg_stats.server_public_key,_.roundTripPing=this.nsToMs(d.dmsg_stats.round_trip),_.isHypervisor=d.is_hypervisor,e.push(_)});const o=new Map,s=[],a=[];e.forEach(d=>{o.set(d.localPk,d),d.online&&(s.push(d.localPk),a.push(d.ip))}),this.storageService.includeVisibleLocalNodes(s,a);const l=[];return this.storageService.getSavedLocalNodes().forEach(d=>{if(!o.has(d.publicKey)&&!d.hidden){const _=new N1;_.localPk=d.publicKey;const E=this.storageService.getLabelInfo(d.publicKey);_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),_.online=!1,_.dmsgServerPk="",_.roundTripPing="",l.push(_)}o.has(d.publicKey)&&!o.get(d.publicKey).online&&d.hidden&&o.delete(d.publicKey)}),e=[],o.forEach(d=>e.push(d)),e=e.concat(l),e}))}nsToMs(e){let i=new(Ig())(e).dividedBy(1e6);return i=i.isLessThan(10)?i.decimalPlaces(2):i.decimalPlaces(0),i.toString(10)}getNode(e){return this.apiService.get(`visors/${e}/summary`).pipe(ke(i=>{const o=new N1;o.localPk=i.overview.local_pk,o.version=i.overview.build_info.version,o.secondsOnline=Math.floor(Number.parseFloat(i.uptime)),o.minHops=i.min_hops,o.buildTag=i.build_tag,o.skybianBuildVersion=i.skybian_build_version,o.isSymmeticNat=i.overview.is_symmetic_nat,o.publicIp=i.overview.public_ip,o.autoconnectTransports=i.public_autoconnect,o.rewardsAddress=i.reward_address,o.ip=i.overview.local_ip&&i.overview.local_ip.trim()?i.overview.local_ip:null;const s=this.storageService.getLabelInfo(o.localPk);o.label=s&&s.label?s.label:this.storageService.getDefaultLabel(o),o.health={servicesHealth:i.health.services_health},o.transports=[],i.overview.transports&&i.overview.transports.forEach(l=>{o.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),o.persistentTransports=[],i.persistent_transports&&i.persistent_transports.forEach(l=>{o.persistentTransports.push({pk:l.pk,type:l.type})}),o.routes=[],i.routes&&i.routes.forEach(l=>{o.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),o.apps=[],i.overview.apps&&i.overview.apps.forEach(l=>{o.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,detailedStatus:l.detailed_status,args:l.args})});let a=!1;return i.dmsg_stats&&(o.dmsgServerPk=i.dmsg_stats.server_public_key,o.roundTripPing=this.nsToMs(i.dmsg_stats.round_trip),a=!0),a||(o.dmsgServerPk="-",o.roundTripPing="-1"),o}))}setRewardsAddress(e,i){return this.apiService.put(`visors/${e}/reward`,{reward_address:i})}getRewardsAddress(e){return this.apiService.get(`visors/${e}/reward`)}getRuntimeLogs(e){return this.apiService.get(`visors/${e}/runtime-logs`)}deleteRewardsAddress(e){return this.apiService.delete(`visors/${e}/reward`)}shutdown(e){return this.apiService.post(`visors/${e}/shutdown`)}checkIfUpdating(e){return this.apiService.get(`visors/${e}/update/ws/running`)}checkUpdate(e){let i="stable";return i=localStorage.getItem(oo.Channel)||i,this.apiService.get(`visors/${e}/update/available/${i}`)}update(e){const i={channel:"stable"};if(localStorage.getItem(oo.UseCustomSettings)){const s=localStorage.getItem(oo.Channel);s&&(i.channel=s);const a=localStorage.getItem(oo.Version);a&&(i.version=a);const l=localStorage.getItem(oo.ArchiveURL);l&&(i.archive_url=l);const d=localStorage.getItem(oo.ChecksumsURL);d&&(i.checksums_url=d)}return this.apiService.ws(`visors/${e}/update/ws`,i)}}return t.\u0275fac=function(e){return new(e||t)(we(ol),we(Ji))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class XG{}let NI=(()=>{class t{constructor(e,i){this.storageService=e,this.nodeService=i,this.dataSubject=new Or(null),this.lastEmitedData=new XG,this.firstCallToGetDataMade=!1,this.storageService.getRefreshTimeObservable().subscribe(o=>{this.dataRefreshDelay=1e3*o,this.forceRefresh()})}startRequestingData(){return this.firstCallToGetDataMade||this.getData(0),this.dataSubject.asObservable()}stopRequestingData(){this.updateSubscription&&(this.updateSubscription.unsubscribe(),this.firstCallToGetDataMade=!1)}getData(e){this.firstCallToGetDataMade=!0,this.updateSubscription&&this.updateSubscription.unsubscribe(),this.updateSubscription=$e(1).pipe(Ei(e),bi(()=>{this.lastEmitedData.updating=!0,this.dataSubject.next(this.lastEmitedData)}),Ei(120),Ye(()=>this.nodeService.getNodes())).subscribe(i=>{this.lastEmitedData={data:i,error:null,momentOfLastCorrectUpdate:Date.now(),updating:!1},this.dataSubject.next(this.lastEmitedData),this.getData(this.dataRefreshDelay)},i=>{i=Qt(i),this.lastEmitedData={data:this.lastEmitedData.data,error:i,momentOfLastCorrectUpdate:this.lastEmitedData.momentOfLastCorrectUpdate,updating:!1},this.dataSubject.next(this.lastEmitedData),this.getData(Bt.connectionRetryDelay)})}forceRefresh(){this.getData(0)}}return t.\u0275fac=function(e){return new(e||t)(we(Ji),we(ha))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function JG(t,n){if(1&t){const e=et();k(0,"button",3),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().closePopup(s))}),Ce(1,"img",4),k(2,"div",5),I(3),C()()}if(2&t){const e=n.$implicit;c(1),w("src","assets/img/lang/"+e.iconName,Vo),c(2),re(e.name)}}let YI=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.mediumModalWidth,e.open(t,i)}constructor(e,i){this.dialogRef=e,this.languageService=i,this.languages=[]}ngOnInit(){this.subscription=this.languageService.languages.subscribe(e=>{this.languages=e})}ngOnDestroy(){this.subscription.unsubscribe()}closePopup(e=null){e&&this.languageService.changeLanguage(e.code),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(_g))},t.\u0275cmp=Ke({type:t,selectors:[["app-select-language"]],decls:4,vars:5,consts:[[3,"headline","dialog"],[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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),V(3,JG,4,2,"button",2),C()()),2&e&&(w("headline",H(1,3,"language.title"))("dialog",i.dialogRef),c(3),w("ngForOf",i.languages))},dependencies:[gi,$r,Zn,yt],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;height:auto!important;margin:20px;font-size:.7rem;line-height:unset;padding:0!important;color:unset}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .mdc-button__label{width:100%}@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%]{color:#202226!important;background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t})();function QG(t,n){1&t&&Ce(0,"img",2),2&t&&w("src","assets/img/lang/"+z().language.iconName,Vo)}let eq=(()=>{class t{constructor(e,i){this.languageService=e,this.dialog=i}ngOnInit(){this.subscription=this.languageService.currentLanguage.subscribe(e=>{this.language=e})}ngOnDestroy(){this.subscription.unsubscribe()}openLanguageWindow(){YI.openDialog(this.dialog)}}return t.\u0275fac=function(e){return new(e||t)(N(_g),N(xn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"button",0),ve("click",function(){return i.openLanguageWindow()}),R(1,"translate"),V(2,QG,1,1,"img",1),C()),2&e&&(w("matTooltip",H(1,2,"language.title")),c(2),w("ngIf",i.language))},dependencies:[Ft,$r,Mi,yt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:1;padding:0!important}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})();const tq=function(t){return{"element-disabled":t}};let HI=(()=>{class t extends er{constructor(e,i,o,s,a,l){super(),this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.route=a,this.multipleNodeDataService=l,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}ngOnInit(){return this.multipleNodeDataService.stopRequestingData(),this.routeSubscription=this.route.paramMap.subscribe(e=>{this.vpnKey=e.get("key"),this.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),this.verificationSubscription=this.authService.checkLogin().subscribe(i=>{i!==Fr.NotLogged&&(g1.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})},5))})}),this.form=new WE({password:new Tg("",Yt.required)}),super.ngOnInit()}ngOnDestroy(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}login(){!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(()=>this.onLoginSuccess(),e=>this.onLoginError(e)))}configure(){KG.openDialog(this.dialog)}onLoginSuccess(){g1.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}onLoginError(e){e=Qt(e),this.loading=!1,this.snackbarService.showError(e.originalError&&401===e.originalError.status?"login.incorrect-password":e.translatableErrorMsg)}}return t.\u0275fac=function(e){return new(e||t)(N($h),N(hn),N(kn),N(xn),N(Cr),N(NI))},t.\u0275cmp=Ke({type:t,selectors:[["app-login"]],features:[nt],decls:14,vars:11,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",3,"ngClass"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"app-lang-button"),k(2,"div",1),Ce(3,"img",2),k(4,"form",3)(5,"div",4)(6,"input",5),ve("keydown.enter",function(){return i.login()}),R(7,"translate"),C(),k(8,"button",6),ve("click",function(){return i.login()}),k(9,"mat-icon"),I(10,"chevron_right"),C()()()(),k(11,"div",7),ve("click",function(){return i.configure()}),I(12),R(13,"translate"),C()()()),2&e&&(c(4),w("formGroup",i.form),c(1),w("ngClass",He(9,tq,i.loading)),c(1),w("placeholder",H(7,5,"login.password")),c(2),w("disabled",!i.form.valid||i.loading),c(4),re(H(13,7,"login.initial-config")))},dependencies:[Pn,Ai,Ii,Pi,Oi,ti,yi,vn,eq,yt],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;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;z-index:10}.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 #0000001a,0 6px 20px #0000001a;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})();const nq=["firstInput"];let Y1=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.storageService=s,this.snackbarService=a}ngOnInit(){this.form=this.formBuilder.group({label:[this.data.label]})}ngAfterViewInit(){setTimeout(()=>this.firstInput.nativeElement.focus())}save(){const e=this.form.get("label").value.trim();e!==this.data.label?(this.storageService.saveLabel(this.data.id,e,this.data.identifiedElementType),e?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(Ji),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-label"]],viewQuery:function(e,i){if(1&e&&pt(nq,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","label","maxlength","66","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.save()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"labeled-element.edit-label"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"edit-label.label")),c(5),re(H(12,9,"common.save")))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const iq=["cancelButton"],rq=["confirmButton"];function oq(t,n){if(1&t&&(k(0,"div"),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;c(1),ce(" - ",H(2,1,e)," ")}}function sq(t,n){if(1&t&&(k(0,"div",8),V(1,oq,3,3,"div",9),C()),2&t){const e=z();c(1),w("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function aq(t,n){if(1&t&&(k(0,"div",1),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.data.lowerText)," ")}}function lq(t,n){if(1&t){const e=et();k(0,"app-button",10,11),ve("action",function(){return Pe(e),Oe(z().closeModal())}),I(2),R(3,"translate"),C()}if(2&t){const e=z();c(2),ce(" ",H(3,1,e.data.cancelButtonText)," ")}}var cs=(()=>((cs=cs||{}).Asking="Asking",cs.Processing="Processing",cs.Done="Done",cs))();let cq=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.disableDismiss=!1,this.state=cs.Asking,this.confirmationStates=cs,this.operationAccepted=new ht,this.disableDismiss=!!i.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}ngAfterViewInit(){this.data.cancelButtonText?setTimeout(()=>this.cancelButton.focus()):setTimeout(()=>this.confirmButton.focus())}ngOnDestroy(){this.operationAccepted.complete()}closeModal(){this.dialogRef.close()}sendOperationAcceptedEvent(){this.operationAccepted.emit()}showAsking(e){e&&(this.data=e),this.state=cs.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}showProcessing(){this.state=cs.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}showDone(e,i,o=null){this.doneTitle=e||this.data.headerText,this.doneText=i,this.doneList=o,this.confirmButton.reset(),setTimeout(()=>this.confirmButton.focus()),this.state=cs.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi))},t.\u0275cmp=Ke({type:t,selectors:[["app-confirmation"]],viewQuery:function(e,i){if(1&e&&(pt(iq,5),pt(rq,5)),2&e){let o;it(o=rt())&&(i.cancelButton=o.first),it(o=rt())&&(i.confirmButton=o.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:14,consts:[[3,"headline","dialog","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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),V(5,sq,2,1,"div",2),V(6,aq,3,3,"div",3),k(7,"div",4),V(8,lq,4,3,"app-button",5),k(9,"app-button",6,7),ve("action",function(){return i.state===i.confirmationStates.Asking?i.sendOperationAcceptedEvent():i.closeModal()}),I(11),R(12,"translate"),C()()()),2&e&&(w("headline",H(1,8,i.state!==i.confirmationStates.Done?i.data.headerText:i.doneTitle))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),ce(" ",H(4,10,i.state!==i.confirmationStates.Done?i.data.text:i.doneText)," "),c(2),w("ngIf",i.data.list&&i.state!==i.confirmationStates.Done||i.doneList&&i.state===i.confirmationStates.Done),c(1),w("ngIf",i.data.lowerText&&i.state!==i.confirmationStates.Done),c(2),w("ngIf",i.data.cancelButtonText&&i.state!==i.confirmationStates.Done),c(3),ce(" ",H(12,12,i.state!==i.confirmationStates.Done?i.data.confirmButtonText:"confirmation.close")," "))},dependencies:[gi,Ft,Fi,Zn,yt],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}"]}),t})();class Zt{static createConfirmationDialog(n,e){const i={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!1},o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,n.open(cq,o)}static checkIfTagIsUpdatable(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase()||n.toUpperCase()==="Mac".toUpperCase()||n.toUpperCase()==="Macos".toUpperCase()||n.toUpperCase()==="Mac OS".toUpperCase()||n.toUpperCase()==="Darwin".toUpperCase())}static checkIfTagCanOpenterminal(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase())}static checkIfIpValidOrEmpty(n){if(!n)return!0;const e=n.split(".");if(4!==e.length)return!1;for(const i of e){const o=Number.parseInt(i,10);if(isNaN(o)||o+""!==i||o<0||o>255)return!1}return!0}}function dq(t,n){if(1&t&&(k(0,"mat-icon",6),I(1),C()),2&t){const e=z().$implicit;w("inline",!0),c(1),re(e.icon)}}function uq(t,n){if(1&t){const e=et();k(0,"div",2)(1,"button",3),ve("click",function(){const s=Pe(e).index;return Oe(z().closePopup(s+1))}),k(2,"div",4),V(3,dq,2,2,"mat-icon",5),k(4,"span"),I(5),R(6,"translate"),C()()()()}if(2&t){const e=n.$implicit;c(3),w("ngIf",e.icon),c(2),re(H(6,2,e.label))}}let Rr=(()=>{class t{static openDialog(e,i,o){const s=new Ln;return s.data={options:i,title:o},s.autoFocus=!1,s.width=Bt.smallModalWidth,e.open(t,s)}constructor(e,i){this.data=e,this.dialogRef=i}closePopup(e){this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-select-option"]],decls:3,vars:6,consts:[[3,"headline","dialog","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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,uq,7,4,"div",1),C()),2&e&&(w("headline",H(1,4,i.data.title))("dialog",i.dialogRef)("includeVerticalMargins",!1),c(2),w("ngForOf",i.data.options))},dependencies:[gi,Ft,$r,vn,Zn,yt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px;line-height:1}.grey-button-background[_ngcontent-%COMP%]{justify-content:left!important;min-height:45px}"]}),t})();var $n=(()=>(($n=$n||{}).TextInput="TextInput",$n.Select="Select",$n))();let tf=(()=>{class t{constructor(e){this.dom=e}copy(e){let i=null,o=!1;try{i=this.dom.createElement("textarea"),i.style.height="0px",i.style.left="-100px",i.style.opacity="0",i.style.position="fixed",i.style.top="-100px",i.style.width="0px",this.dom.body.appendChild(i),i.value=e,i.select(),this.dom.execCommand("copy"),o=!0}finally{i&&i.parentNode&&i.parentNode.removeChild(i)}return o}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();function pq(t,n){if(1&t&&(Ue(0),k(1,"span",2),I(2),C(),We()),2&t){const e=z();c(2),re(e.shortText)}}function mq(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z();c(2),re(e.text)}}const gq=function(){return{"tooltip-word-break":!0}};let BI=(()=>{class t{constructor(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}get shortText(){if(this.text.length>2*this.shortTextLength){const e=this.text.length;return`${this.text.slice(0,this.shortTextLength)}...${this.text.slice(e-this.shortTextLength,e)}`}return this.text}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0),V(1,pq,3,1,"ng-container",1),V(2,mq,3,1,"ng-container",1),C()),2&e&&(w("matTooltip",i.short&&i.showTooltip?i.text:"")("matTooltipClass",qn(4,gq)),c(1),w("ngIf",i.short),c(1),w("ngIf",!i.short))},dependencies:[Ft,Mi],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;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 _q(t,n){if(1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.labelComponents.prefix)," ")}}function bq(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z();c(1),ce(" ",e.labelComponents.prefixSeparator," ")}}function vq(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z();c(1),ce(" ",e.labelComponents.label," ")}}function yq(t,n){if(1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.labelComponents.translatableLabel)," ")}}const Mq=function(t){return{text:t}},wq=function(){return{"tooltip-word-break":!0}};class Cq{constructor(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}let fa=(()=>{class t{set id(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)}get id(){return this.idInternal?this.idInternal:""}static getLabelComponents(e,i){let o;o=!!e.getSavedVisibleLocalNodes().has(i);const s=new Cq;return s.labelInfo=e.getLabelInfo(i),s.labelInfo&&s.labelInfo.label?(o&&(s.prefix="labeled-element.local-element",s.prefixSeparator=" - "),s.label=s.labelInfo.label):e.getSavedVisibleLocalNodes().has(i)?s.prefix="labeled-element.unnamed-local-visor":s.translatableLabel="labeled-element.unnamed-element",s}static getCompleteLabel(e,i,o){const s=t.getLabelComponents(e,o);return(s.prefix?i.instant(s.prefix):"")+s.prefixSeparator+s.label+(s.translatableLabel?i.instant(s.translatableLabel):"")}constructor(e,i,o,s,a){this.dialog=e,this.storageService=i,this.clipboardService=o,this.snackbarService=s,this.router=a,this.short=!1,this.shortTextLength=5,this.elementType=Xi.Node,this.labelEdited=new ht}ngOnDestroy(){this.labelEdited.complete()}processClick(){const 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"}),e.push({icon:"settings",label:"labeled-element.go-to-settings"}),Rr.openDialog(this.dialog,e,"common.options").afterClosed().subscribe(i=>{if(1===i)this.clipboardService.copy(this.id)&&this.snackbarService.showDone("copy.copied");else if(i>2)if(3===i&&this.labelComponents.labelInfo){const o=Zt.createConfirmationDialog(this.dialog,"labeled-element.remove-label-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.closeModal(),this.storageService.saveLabel(this.id,null,this.elementType),this.snackbarService.showDone("edit-label.label-removed-warning"),this.labelEdited.emit()})}else this.router.navigate(["/settings"]);else if(2===i){let o=this.labelComponents.labelInfo;o||(o={id:this.id,label:"",identifiedElementType:this.elementType}),Y1.openDialog(this.dialog,o).afterClosed().subscribe(s=>{s&&this.labelEdited.emit()})}})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Ji),N(tf),N(kn),N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0),ve("click",function(s){return s.stopPropagation(),s.preventDefault(),i.processClick()}),R(1,"translate"),k(2,"span",1),V(3,_q,3,3,"span",2),V(4,bq,2,1,"span",2),V(5,vq,2,1,"span",2),V(6,yq,3,3,"span",2),C(),Ce(7,"br")(8,"app-truncated-text",3),I(9," \xa0"),k(10,"mat-icon",4),I(11,"settings"),C()()),2&e&&(w("matTooltip",kt(1,11,i.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",He(14,Mq,i.id)))("matTooltipClass",qn(16,wq)),c(3),w("ngIf",i.labelComponents&&i.labelComponents.prefix),c(1),w("ngIf",i.labelComponents&&i.labelComponents.prefixSeparator),c(1),w("ngIf",i.labelComponents&&i.labelComponents.label),c(1),w("ngIf",i.labelComponents&&i.labelComponents.translatableLabel),c(2),w("short",i.short)("showTooltip",!1)("shortTextLength",i.shortTextLength)("text",i.id),c(2),w("inline",!0))},dependencies:[Ft,vn,Mi,BI,yt],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;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;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t})();class Vn{constructor(n,e,i,o){this.properties=n,this.label=e,this.sortingMode=i,this.labelProperties=o}get id(){return this.properties.join("")}}var Xt=(()=>((Xt=Xt||{}).Text="Text",Xt.Number="Number",Xt.NumberReversed="NumberReversed",Xt.Boolean="Boolean",Xt))();class Rd{get sortingArrow(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}get currentSortingColumn(){return this.sortBy}get sortingInReverseOrder(){return this.sortReverse}get dataSorted(){return this.dataUpdatedSubject.asObservable()}get currentlySortingByLabel(){return this.sortByLabel}constructor(n,e,i,o,s,a){this.dialog=n,this.translateService=e,this.storageService=i,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new J,this.sortableColumns=o,this.id=a,this.defaultColumnIndex=s,this.sortBy=o[s];const l=this.storageService.getDataForHv(this.columnStorageKeyPrefix+a);if(l){const d=o.find(_=>_.id===l);d&&(this.sortBy=d)}this.sortReverse="true"===this.storageService.getDataForHv(this.orderStorageKeyPrefix+a),this.sortByLabel="true"===this.storageService.getDataForHv(this.labelStorageKeyPrefix+a)}dispose(){this.dataUpdatedSubject.complete()}setTieBreakerColumnIndex(n){this.tieBreakerColumnIndex=n}setData(n){this.data=n,this.sortData()}changeSortingOrder(n){if(this.sortBy===n||n.labelProperties)if(n.labelProperties){const e=[{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")}];Rr.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(n,i>2,i%2==0)})}else this.sortReverse=!this.sortReverse,this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(n,!1,!1)}changeSortingParams(n,e,i){this.sortBy=n,this.sortByLabel=e,this.sortReverse=i,this.storageService.setDataForHv(this.columnStorageKeyPrefix+this.id,n.id),this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.storageService.setDataForHv(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}openSortingOrderModal(){const n=[],e=[];this.sortableColumns.forEach(i=>{const o=this.translateService.instant(i.label);n.push({label:o}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),n.push({label:o+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(n.push({label:o+" "+this.translateService.instant("tables.label")}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),n.push({label:o+" "+this.translateService.instant("tables.label")+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))}),Rr.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(e[i-1].sortBy,e[i-1].sortByLabel,e[i-1].sortReverse)})}sortData(){this.data&&(this.data.sort((n,e)=>{let i=this.getSortResponse(this.sortBy,n,e,!0);return 0===i&&null!==this.tieBreakerColumnIndex&&this.sortableColumns[this.tieBreakerColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.tieBreakerColumnIndex],n,e,!1)),0===i&&this.sortableColumns[this.defaultColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.defaultColumnIndex],n,e,!1)),i}),this.dataUpdatedSubject.next())}getSortResponse(n,e,i,o){let a=e,l=i;(this.sortByLabel&&o&&n.labelProperties?n.labelProperties:n.properties).forEach(E=>{a=a[E],l=l[E]});const d=this.sortByLabel&&o?Xt.Text:n.sortingMode;let _=0;return d===Xt.Text?_=this.sortReverse?l.localeCompare(a):a.localeCompare(l):d===Xt.NumberReversed?_=this.sortReverse?a-l:l-a:d===Xt.Number?_=this.sortReverse?l-a:a-l:d===Xt.Boolean&&(a&&!l?_=-1:!a&&l&&(_=1),_*=this.sortReverse?-1:1),_}}class xq{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,e&&e.length&&(n?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(s=>this._markSelected(s)),e.filter(s=>!i.has(s)).forEach(s=>this._unmarkSelected(s));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let e of this._selection)if(this.compareWith(n,e))return e;return n}return n}}const kq=["trigger"],Sq=["panel"];function Dq(t,n){if(1&t&&(k(0,"span",10),I(1),C()),2&t){const e=z();c(1),re(e.placeholder)}}function Tq(t,n){if(1&t&&(k(0,"span",14),I(1),C()),2&t){const e=z(2);c(1),re(e.triggerValue)}}function Lq(t,n){1&t&&Tn(0,0,["*ngSwitchCase","true"])}function Eq(t,n){1&t&&(k(0,"span",11),V(1,Tq,2,1,"span",12),V(2,Lq,1,0,"ng-content",13),C()),2&t&&(w("ngSwitch",!!z().customTrigger),c(2),w("ngSwitchCase",!0))}function Iq(t,n){if(1&t){const e=et();wl(),zf(),k(0,"div",15,16),ve("@transformPanel.done",function(o){return Pe(e),Oe(z()._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){return Pe(e),Oe(z()._handleKeydown(o))}),Tn(2,1),C()}if(2&t){const e=z();(function Px(t,n,e){es(go,Ls,Jc(Ve(),t,n,e),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),w("ngClass",e.panelClass)("@transformPanel","showing"),Jt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Pq=[[["mat-select-trigger"]],"*"],Oq=["mat-select-trigger","*"],Aq={transformPanelWrap:ia("transformPanelWrap",[Pr("* => void",Py("@transformPanel",[Iy()],{optional:!0}))]),transformPanel:ia("transformPanel",[yo("void",ei({opacity:0,transform:"scale(1, 0.8)"})),Pr("void => showing",Wr("120ms cubic-bezier(0, 0, 0.2, 1)",ei({opacity:1,transform:"scale(1, 1)"}))),Pr("* => void",Wr("100ms linear",ei({opacity:0})))])};let VI=0;const jI=new Re("mat-select-scroll-strategy"),Rq=new Re("MAT_SELECT_CONFIG"),Nq={provide:jI,deps:[io],useFactory:function Fq(t){return()=>t.scrollStrategies.reposition()}},zI=new Re("MatSelectTrigger");class Yq{constructor(n,e){this.source=n,this.value=e}}const Hq=Nh(EL(Id(IL(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new J}}))));let Bq=(()=>{class t extends Hq{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Yt.required)??!1}set required(e){this._required=_n(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=_n(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=_n(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=So(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,o,s,a,l,d,_,E,F,G,ie,_e,xe){super(a,s,d,_,F),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=l,this._parentFormField=E,this._liveAnnouncer=_e,this._defaultOptions=xe,this._panelOpen=!1,this._compareWith=(Ae,ze)=>Ae===ze,this._uid="mat-select-"+VI++,this._triggerAriaLabelledBy=null,this._destroy=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+VI++,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=jl(()=>{const Ae=this.options;return Ae?Ae.changes.pipe(Go(Ae),gr(()=>bt(...Ae.map(ze=>ze.onSelectionChange)))):this._ngZone.onStable.pipe(Kn(1),gr(()=>this.optionSelectionChanges))}),this.openedChange=new ht,this._openedStream=this.openedChange.pipe(_i(Ae=>Ae),ke(()=>{})),this._closedStream=this.openedChange.pipe(_i(Ae=>!Ae),ke(()=>{})),this.selectionChange=new ht,this.valueChange=new ht,this.ngControl&&(this.ngControl.valueAccessor=this),null!=xe?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=xe.typeaheadDebounceInterval),this._scrollStrategyFactory=ie,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(G)||0,this.id=this.id}ngOnInit(){this._selectionModel=new xq(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(j0(),Bn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Bn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Go(null),Bn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,s=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&s&&!Fs(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const d=this.selected;d&&l!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,s=40===o||38===o,a=i.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(a||13!==o&&32!==o||!i.activeItem||Fs(e))if(!a&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const l=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(l?d.select():d.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&s&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Kn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new vz(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=bt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Bn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),bt(...this.options.map(i=>i._stateChanges)).pipe(Bn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(N(Sd),N(pi),N(ft),N(t1),N(vt),N(Do,8),N(Jh,8),N(ti,8),N(F1,8),N(Rs,10),Aa("tabindex"),N(jI),N(Z0),N(Rq,8))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&(pt(kq,5),pt(Sq,5),pt(cL,5)),2&e){let o;it(o=rt())&&(i.trigger=o.first),it(o=rt())&&(i.panel=o.first),it(o=rt())&&(i._overlayDir=o.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[nt,Gi]}),t})(),Vq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-select-trigger"]],features:[un([{provide:zI,useExisting:t}])]}),t})(),Nd=(()=>{class t extends Bq{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Bn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const o=this.panel.nativeElement,s=function hU(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),s=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Yq(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof H0?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=_n(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,zI,5),sr(o,Xl,5),sr(o,YL,5)),2&e){let s;it(s=rt())&&(i.customTrigger=s.first),it(s=rt())&&(i.options=s),it(s=rt())&&(i.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","true",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&ve("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Jt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),nn("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[un([{provide:A1,useExisting:t},{provide:NL,useExisting:t}]),nt],ngContentSelectors:Oq,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Ir(Pq),k(0,"div",0,1),ve("click",function(){return i.toggle()}),k(3,"div",2),V(4,Dq,2,1,"span",3),V(5,Eq,3,2,"span",4),C(),k(6,"div",5)(7,"div",6),wl(),k(8,"svg",7),Ce(9,"path",8),C()()()(),V(10,Iq,3,9,"ng-template",9),ve("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const o=ci(1);Jt("aria-owns",i.panelOpen?i.id+"-panel":null),c(3),w("ngSwitch",i.empty),Jt("id",i._valueId),c(1),w("ngSwitchCase",!0),c(1),w("ngSwitchCase",!1),c(5),w("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Pn,th,gy,lD,cL,H0],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Aq.transformPanel]},changeDetection:0}),t})(),jq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[Nq],imports:[ta,Ld,HL,Wn,Eh,Eg,HL,Wn]}),t})();function zq(t,n){if(1&t&&Ce(0,"input",9),2&t){const e=z().$implicit;w("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)}}function Uq(t,n){if(1&t&&(k(0,"div",14),Ce(1,"div",15),C()),2&t){const e=z().$implicit,i=z(2).$implicit;di("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),c(1),di("background-image: url('"+e.image+"');")}}function Wq(t,n){if(1&t&&(k(0,"mat-option",12),V(1,Uq,2,4,"div",13),I(2),R(3,"translate"),C()),2&t){const e=n.$implicit,i=z(2).$implicit;w("value",e.value),c(1),w("ngIf",i.printableLabelGeneralSettings&&e.image),c(1),ce(" ",H(3,3,e.label)," ")}}function $q(t,n){if(1&t&&(k(0,"mat-select",10),V(1,Wq,4,5,"mat-option",11),C()),2&t){const e=z().$implicit;w("formControlName",e.keyNameInFiltersObject),c(1),w("ngForOf",e.printableLabelsForValues)}}function Gq(t,n){if(1&t&&(Ue(0),k(1,"mat-form-field")(2,"div",5)(3,"label",6),I(4),R(5,"translate"),C(),V(6,zq,1,2,"input",7),V(7,$q,2,2,"mat-select",8),C()(),We()),2&t){const e=n.$implicit,i=z();c(4),re(H(5,3,e.filterName)),c(2),w("ngIf",e.type===i.filterFieldTypes.TextInput),c(1),w("ngIf",e.type===i.filterFieldTypes.Select)}}let qq=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o,this.filterFieldTypes=$n}ngOnInit(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=[this.data.currentFilters[i.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(e)}apply(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=this.form.get(i.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-filters-selection"]],decls:8,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],[1,"field-container"],["for","remoteKey",1,"field-label"],["matInput","",3,"formControlName","maxlength",4,"ngIf"],[3,"formControlName",4,"ngIf"],["matInput","",3,"formControlName","maxlength"],[3,"formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1),V(3,Gq,8,5,"ng-container",2),C(),k(4,"app-button",3,4),ve("action",function(){return i.apply()}),I(6),R(7,"translate"),C()()),2&e&&(w("headline",H(1,5,"filters.filter-action"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(1),w("ngForOf",i.data.filterPropertiesList),c(3),ce(" ",H(7,7,"common.ok")," "))},dependencies:[gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Nd,Xl,Fi,Zn,yt],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%}"]}),t})();class Yd{get currentFiltersTexts(){return this.currentFiltersTextsInternal}get currentUrlQueryParams(){return this.currentUrlQueryParamsInternal}get dataFiltered(){return this.dataUpdatedSubject.asObservable()}constructor(n,e,i,o,s){this.dialog=n,this.route=e,this.router=i,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new J,this.filterPropertiesList=o,this.currentFilters={},this.filterPropertiesList.forEach(a=>{a.keyNameInFiltersObject=s+"_"+a.keyNameInElementsArray,this.currentFilters[a.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(a=>{Object.keys(this.currentFilters).forEach(l=>{a.has(l)&&(this.currentFilters[l]=a.get(l))}),this.currentUrlQueryParamsInternal={},a.keys.forEach(l=>{this.currentUrlQueryParamsInternal[l]=a.get(l)}),this.filter()})}dispose(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}setData(n){this.data=n,this.filter()}removeFilters(){const n=Zt.createConfirmationDialog(this.dialog,"filters.remove-confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.closeModal(),this.router.navigate([],{queryParams:{}})})}changeFilters(){qq.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(e=>{e&&this.router.navigate([],{queryParams:e})})}filter(){if(this.data){let n,e=!1;Object.keys(this.currentFilters).forEach(i=>{this.currentFilters[i]&&(e=!0)}),e?(n=function hq(t,n,e){if(t){const i=[];return Object.keys(n).forEach(s=>{if(n[s])for(const a of e)if(a.keyNameInFiltersObject===s){i.push(a);break}}),t.filter(s=>{let a=!0;return i.forEach(l=>{const d=String(s[l.keyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase()),_=l.secondaryKeyNameInElementsArray&&String(s[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase());!d&&!_&&(a=!1)}),a})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(n=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(n)}}updateCurrentFilters(){this.currentFiltersTextsInternal=function fq(t,n){const e=[];return n.forEach(i=>{if(t[i.keyNameInFiltersObject]){let o,s;i.printableLabelsForValues&&i.printableLabelsForValues.forEach(a=>{a.value===t[i.keyNameInFiltersObject]&&(s=a.label)}),s||(o=t[i.keyNameInFiltersObject]),e.push({filterName:i.filterName,translatableValue:s,value:o})}}),e}(this.currentFilters,this.filterPropertiesList)}}function Kq(t,n){if(1&t){const e=et();k(0,"div",5)(1,"div",6)(2,"div",7),I(3),C(),k(4,"div",8),I(5),C()(),k(6,"div",9)(7,"app-button",10),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).openTerminal(s.key))}),I(8),R(9,"translate"),C()()()}if(2&t){const e=n.$implicit;c(3),re(e.label),c(2),re(e.version),c(3),ce(" ",H(9,3,"update-all.update-button")," ")}}function Zq(t,n){if(1&t&&(Ue(0),k(1,"div",2),I(2),R(3,"translate"),C(),k(4,"div",3),V(5,Kq,10,5,"div",4),C(),We()),2&t){const e=z();c(2),ce(" ",H(3,2,"update-all.updatable-list-text")," "),c(3),w("ngForOf",e.updatableNodes)}}function Xq(t,n){if(1&t&&(k(0,"div",8),I(1),C()),2&t){const e=z().$implicit;c(1),re(e.tag)}}function Jq(t,n){if(1&t&&(k(0,"div",5)(1,"div",6)(2,"div",7),I(3),C(),k(4,"div",8),I(5),C(),V(6,Xq,2,1,"div",11),C()()),2&t){const e=n.$implicit;c(3),re(e.label),c(2),re(e.version),c(1),w("ngIf",e.tag)}}function Qq(t,n){if(1&t&&(Ue(0),k(1,"div",2),I(2),R(3,"translate"),C(),k(4,"div",3),V(5,Jq,7,3,"div",4),C(),We()),2&t){const e=z();c(2),ce(" ",H(3,2,"update-all.non-updatable-list-text")," "),c(3),w("ngForOf",e.nonUpdatableNodes)}}let eK=(()=>{class t{static openDialog(e,i,o){const s=new Ln;return s.data=[i,o],s.autoFocus=!1,s.width=Bt.smallModalWidth,e.open(t,s)}constructor(e,i){this.dialogRef=e,this.updatableNodes=i[0],this.nonUpdatableNodes=i[1]}openTerminal(e){const i=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+o+"/pty/"+e+"?commands=update","_blank","noopener noreferrer")}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi))},t.\u0275cmp=Ke({type:t,selectors:[["app-update-all"]],decls:4,vars:6,consts:[[3,"headline","dialog"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,Zq,6,4,"ng-container",1),V(3,Qq,6,4,"ng-container",1),C()),2&e&&(w("headline",H(1,4,"update-all.title"))("dialog",i.dialogRef),c(2),w("ngIf",i.updatableNodes&&i.updatableNodes.length>0),c(1),w("ngIf",i.nonUpdatableNodes&&i.nonUpdatableNodes.length>0))},dependencies:[gi,Ft,Fi,Zn,yt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word;line-height:1.2}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),t})();const tK=["input"],nK=["label"],iK=["*"],rK=new Re("mat-checkbox-default-options",{providedIn:"root",factory:UI});function UI(){return{color:"accent",clickAction:"check-indeterminate"}}const oK={provide:ls,useExisting:pn(()=>pa),multi:!0};class sK{}let aK=0;const WI=UI(),lK=EL(Rh(Nh(Id(class{constructor(t){this._elementRef=t}}))));let cK=(()=>{class t extends lK{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=_n(e)}constructor(e,i,o,s,a,l,d){super(i),this._changeDetectorRef=o,this._ngZone=s,this._animationMode=l,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ht,this.indeterminateChange=new ht,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||WI,this.color=this.defaultColor=this._options.color||WI.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++aK}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=_n(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=_n(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=_n(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){Ra()},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&(pt(tK,5),pt(nK,5),pt(Zl,5)),2&e){let o;it(o=rt())&&(i._inputElement=o.first),it(o=rt())&&(i._labelElement=o.first),it(o=rt())&&(i.ripple=o.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[nt]}),t})(),pa=(()=>{class t extends cK{constructor(e,i,o,s,a,l){super("mat-mdc-checkbox-",e,i,o,s,a,l),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new sK;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(ft),Aa("tabindex"),N(Vi,8),N(rK,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(Js("id",i.id),Jt("tabindex",null)("aria-label",null)("aria-labelledby",null),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[un([oK]),nt],ngContentSelectors:iK,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(e,i){if(1&e&&(Ir(),k(0,"div",0),ve("click",function(s){return i._preventBubblingFromLabel(s)}),k(1,"div",1,2)(3,"div",3),ve("click",function(){return i._onTouchTargetClick()}),C(),k(4,"input",4,5),ve("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(s){return i._onInteractionEvent(s)}),C(),Ce(6,"div",6),k(7,"div",7),wl(),k(8,"svg",8),Ce(9,"path",9),C(),zf(),Ce(10,"div",10),C(),Ce(11,"div",11),C(),k(12,"label",12,13),Tn(14),C()()),2&e){const o=ci(2);nn("mdc-form-field--align-end","before"==i.labelPosition),c(4),nn("mdc-checkbox--selected",i.checked),w("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),Jt("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),c(7),w("matRippleTrigger",o)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),c(1),w("for",i.inputId)}},dependencies:[Zl],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),$I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),hK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Hh,$I,Wn,$I]}),t})();const fK=["button"];function pK(t,n){1&t&&(k(0,"span",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.checking"),""))}function mK(t,n){if(1&t&&(k(0,"span",23)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5),R(6,"translate"),C()()),2&t){const e=z(2).$implicit;c(2),ce(" ",H(3,2,"bulk-rewards.error-checking"),""),c(3),ce(" ",H(6,4,e.operationError),"")}}function gK(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z(2).$implicit;c(1),ce(" ",e.currentAddress,"")}}function _K(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.not-registered"),""))}function bK(t,n){if(1&t&&(Ue(0,15),k(1,"mat-checkbox",16)(2,"div")(3,"div",17),I(4),C(),k(5,"div",18)(6,"span",19),I(7),R(8,"translate"),C(),V(9,pK,3,3,"span",20),V(10,mK,7,6,"span",21),V(11,gK,2,1,"span",12),V(12,_K,3,3,"span",12),C()()(),We()),2&t){const e=z(),o=e.$implicit;w("formGroupName",e.index),c(4),ce(" ",o.label," "),c(3),re(H(8,7,"bulk-rewards.current-address")),c(2),w("ngIf",null===o.currentAddress&&!o.operationError),c(1),w("ngIf",o.operationError),c(1),w("ngIf",o.currentAddress&&!o.operationError),c(1),w("ngIf",""===o.currentAddress&&!o.operationError)}}function vK(t,n){1&t&&(k(0,"span",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.processing"),""))}function yK(t,n){if(1&t&&(k(0,"span",23)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5),R(6,"translate"),C()()),2&t){const e=z(2).$implicit;c(2),ce(" ",H(3,2,"bulk-rewards.error-processing"),""),c(3),ce(" ",H(6,4,e.operationError),"")}}function MK(t,n){1&t&&(k(0,"span",28),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.done"),""))}function wK(t,n){if(1&t&&(Ue(0),k(1,"div",24),I(2,"-"),C(),k(3,"div",25),I(4),k(5,"div",26),V(6,vK,3,3,"span",20),V(7,yK,7,6,"span",21),V(8,MK,3,3,"span",27),C()(),We()),2&t){const e=z().$implicit;c(4),ce(" ",e.label," "),c(2),w("ngIf",e.processing&&!e.operationError),c(1),w("ngIf",e.operationError),c(1),w("ngIf",!e.processing&&!e.operationError)}}const CK=function(t){return{"element-margin":t}};function xK(t,n){if(1&t&&(k(0,"div",13),V(1,bK,13,9,"ng-container",14),V(2,wK,9,4,"ng-container",12),C()),2&t){const e=z();w("ngClass",He(3,CK,e.processingStarted)),c(1),w("ngIf",!e.processingStarted),c(1),w("ngIf",e.processingStarted)}}function kK(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"bulk-rewards.perform-changes")))}function SK(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.close")))}const DK=function(t){return{"element-disabled":t}};let TK=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.nodeService=o,this.formBuilder=s,this.dialog=a,this.processingStarted=!1,this.processingFinished=!1,this.currentlyProcessed=0,this.form=s.group({address:["",Yt.compose([Yt.minLength(20),Yt.maxLength(40)])],nodes:s.array([])}),i.nodes.forEach(l=>{const d=this.formBuilder.group({selected:[!0]});this.form.get("nodes").push(d)}),this.startChecking()}formValid(){if(!this.processingStarted){if(!this.form.valid)return!1;let e=0;return this.form.get("nodes").controls.forEach((i,o)=>{i.get("selected")?.value&&(e+=1)}),e>0}return!0}get disableDismiss(){return this.processingStarted&&!this.processingFinished}startChecking(){this.nodesToEdit=[],this.data.nodes.forEach(e=>{this.nodesToEdit.push({key:e.key,label:e.label,currentAddress:null,operationError:"",processing:!1})}),this.operationSubscriptions=[],this.nodesToEdit.forEach((e,i)=>{this.operationSubscriptions.push(this.nodeService.getRewardsAddress(e.key).subscribe(o=>{this.nodesToEdit[i].currentAddress=o},o=>{this.nodesToEdit[i].operationError=o.translatableErrorMsg?o.translatableErrorMsg:o.originalServerErrorMsg}))})}checkBeforeProcessing(){if(this.form.valid)if(this.form.get("address").value)this.startProcessing();else{const i=Zt.createConfirmationDialog(this.dialog,"bulk-rewards.empty-warning");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.startProcessing()})}}startProcessing(){this.processingStarted=!0,this.button.showLoading(),this.closeoperationSubscriptions();const e=[];this.form.get("nodes").controls.forEach((o,s)=>{o.get("selected")?.value&&(this.nodesToEdit[s].operationError="",this.nodesToEdit[s].processing=!0,e.push(this.nodesToEdit[s]))}),this.nodesToEdit=e;const i=this.form.get("address").value;this.form.get("address").disable(),this.currentlyProcessed=0,this.operationSubscriptions=[],this.nodesToEdit.forEach((o,s)=>{let a=this.nodeService.setRewardsAddress(o.key,i);i||(a=this.nodeService.deleteRewardsAddress(o.key)),this.operationSubscriptions.push($e(0).pipe(Ei(100),Ye(()=>a)).subscribe(l=>{this.nodesToEdit[s].processing=!1,this.currentlyProcessed+=1,this.currentlyProcessed===this.nodesToEdit.length&&(this.processingFinished=!0,this.button.reset())},l=>{this.nodesToEdit[s].processing=!1,this.nodesToEdit[s].operationError=l.translatableErrorMsg?l.translatableErrorMsg:l.originalServerErrorMsg,this.currentlyProcessed+=1,this.currentlyProcessed===this.nodesToEdit.length&&(this.processingFinished=!0,this.button.reset())}))})}ngOnDestroy(){this.closeoperationSubscriptions()}closeoperationSubscriptions(){this.operationSubscriptions&&this.operationSubscriptions.forEach(e=>e.unsubscribe())}closeModal(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(ha),N(_r),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-bulk-reward-address-changer"]],viewQuery:function(e,i){if(1&e&&pt(fK,5),2&e){let o;it(o=rt())&&(i.button=o.first)}},decls:30,vars:28,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[1,"text-container"],["href","https://github.com/skycoin/skywire/blob/master/mainnet_rules.md","target","_blank","rel","noreferrer nofollow noopener"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","address","maxlength","40","matInput","",3,"ngClass"],["formArrayName","nodes",1,"list-container"],["class","list-element",3,"ngClass",4,"ngFor","ngForOf"],[1,"buttons"],["type","mat-raised-button","color","primary",3,"disabled","action"],["button",""],[4,"ngIf"],[1,"list-element",3,"ngClass"],[3,"formGroupName",4,"ngIf"],[3,"formGroupName"],["color","primary","formControlName","selected"],[1,"contents"],[1,"address","contents"],[1,"address-label"],["class","blinking",4,"ngIf"],["class","red-text",4,"ngIf"],[1,"blinking"],[1,"red-text"],[1,"left-area"],[1,"right-area","contents"],[1,"address"],["class","green-text",4,"ngIf"],[1,"green-text"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"div",2)(4,"span"),I(5),R(6,"translate"),C(),k(7,"a",3),I(8),R(9,"translate"),C()(),k(10,"mat-form-field")(11,"div",4)(12,"label",5),I(13),R(14,"translate"),C(),Ce(15,"input",6),C(),k(16,"mat-error")(17,"span"),I(18),R(19,"translate"),C()()(),k(20,"div",2),I(21),R(22,"translate"),C(),k(23,"div",7),V(24,xK,3,5,"div",8),C()(),k(25,"div",9)(26,"app-button",10,11),ve("action",function(){return i.processingStarted?i.closeModal():i.checkBeforeProcessing()}),V(28,kK,3,3,"ng-container",12),V(29,SK,3,3,"ng-container",12),C()()()),2&e&&(w("headline",H(1,14,"bulk-rewards.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("formGroup",i.form),c(3),ce("",H(6,16,"bulk-rewards.info")," "),c(3),ce(" ",H(9,18,"bulk-rewards.more-info-link")," "),c(5),re(H(14,20,"rewards-address-config.address")),c(2),w("ngClass",He(26,DK,i.processingStarted)),c(3),re(H(19,22,"rewards-address-config.address-error")),c(3),ce(" ",H(22,24,"bulk-rewards.select-visors")," "),c(3),w("ngForOf",i.nodesToEdit),c(2),w("disabled",!i.formValid()),c(2),w("ngIf",!i.processingStarted),c(1),w("ngIf",i.processingStarted))},dependencies:[Pn,gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,Qh,ef,tr,ua,br,pa,Fi,Zn,yt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}mat-form-field[_ngcontent-%COMP%]{margin-top:10px}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .element-margin[_ngcontent-%COMP%]{margin:15px 0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-area[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-area[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{white-space:normal;line-height:1.2}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .address[_ngcontent-%COMP%]{font-size:.7rem;color:#777}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .address[_ngcontent-%COMP%] .address-label[_ngcontent-%COMP%]{opacity:.7}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t})();const LK=["mat-menu-item",""];function EK(t,n){1&t&&(wl(),k(0,"svg",3),Ce(1,"polygon",4),C())}const IK=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],PK=["mat-icon, [matMenuItemIcon]","*"];function OK(t,n){if(1&t){const e=et();k(0,"div",0),ve("keydown",function(o){return Pe(e),Oe(z()._handleKeydown(o))})("click",function(){return Pe(e),Oe(z().closed.emit("click"))})("@transformMenu.start",function(o){return Pe(e),Oe(z()._onAnimationStart(o))})("@transformMenu.done",function(o){return Pe(e),Oe(z()._onAnimationDone(o))}),k(1,"div",1),Tn(2),C()()}if(2&t){const e=z();w("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Jt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const AK=["*"],H1=new Re("MAT_MENU_PANEL"),FK=Nh(Id(class{}));let ma=(()=>{class t extends FK{constructor(e,i,o,s,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new J,this._focused=new J,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",Wr("120ms cubic-bezier(0, 0, 0.2, 1)",ei({opacity:1,transform:"scale(1)"}))),Pr("* => void",Wr("100ms 25ms linear",ei({opacity:0})))]),fadeInItems:ia("fadeInItems",[yo("showing",ei({opacity:1})),Pr("void => *",[ei({opacity:0}),Wr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let NK=0;const GI=new Re("mat-menu-default-options",{providedIn:"root",factory:function YK(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let nf=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=_n(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=_n(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=s,this._directDescendantItems=new Al,this._classList={},this._panelAnimationState="void",this._animationDone=new J,this.closed=new ht,this.close=this.closed,this.panelId="mat-menu-panel-"+NK++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new bL(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Go(this._directDescendantItems),gr(e=>bt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),s=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[s]&&!o[s].disabled?i.setActiveItem(s):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Go(this._directDescendantItems),gr(i=>bt(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:Fs(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Kn(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Go(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(GI),N(pi))},t.\u0275dir=Ze({type:t,contentQueries:function(e,i,o){if(1&e&&(sr(o,RK,5),sr(o,ma,5),sr(o,ma,4)),2&e){let s;it(s=rt())&&(i.lazyContent=s.first),it(s=rt())&&(i._allItems=s),it(s=rt())&&(i.items=s)}},viewQuery:function(e,i){if(1&e&&pt(mr,5),2&e){let o;it(o=rt())&&(i.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),Hd=(()=>{class t extends nf{constructor(e,i,o,s){super(e,i,o,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(GI),N(pi))},t.\u0275cmp=Ke({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration","true"],hostVars:3,hostBindings:function(e,i){2&e&&Jt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[un([{provide:H1,useExisting:t}]),nt],ngContentSelectors:AK,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(Ir(),V(0,OK,3,6,"ng-template"))},dependencies:[Pn],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Pg.transformMenu,Pg.fadeInItems]},changeDetection:0}),t})();const qI=new Re("mat-menu-scroll-strategy"),BK={provide:qI,deps:[io],useFactory:function HK(t){return()=>t.scrollStrategies.reposition()}},KI=Ja({passive:!0});let VK=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,s,a,l,d,_,E){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=d,this._focusMonitor=_,this._ngZone=E,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=T.EMPTY,this._hoverSubscription=T.EMPTY,this._menuCloseSubscription=T.EMPTY,this._changeDetectorRef=Qe(pi),this._handleTouchStart=F=>{K0(F)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ht,this.onMenuOpen=this.menuOpened,this.menuClosed=new ht,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof nf?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,KI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,KI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),s=o.positionStrategy;this._setPosition(e,s),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof nf&&(e._startAnimation(),e._directDescendantItems.changes.pipe(Bn(e.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof nf?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(_i(o=>"void"===o.toState),Kn(1),Bn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Ah({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const s="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(s,a)):e.setPositionClasses(s,a)})}_setPosition(e,i){let[o,s]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[d,_]=[a,l],[E,F]=[o,s],G=0;if(this.triggersSubmenu()){if(F=o="before"===e.xPosition?"start":"end",s=E="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const ie=this._parentMaterialMenu.items.first;this._parentInnerPadding=ie?ie._getHostElement().offsetTop:0}G="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d="top"===a?"bottom":"top",_="top"===l?"bottom":"top");i.withPositions([{originX:o,originY:d,overlayX:E,overlayY:a,offsetY:G},{originX:s,originY:d,overlayX:F,overlayY:a,offsetY:G},{originX:o,originY:_,overlayX:E,overlayY:l,offsetY:-G},{originX:s,originY:_,overlayX:F,overlayY:l,offsetY:-G}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return bt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:$e(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(_i(a=>a!==this._menuItemInstance),_i(()=>this._menuOpen)):$e(),i)}_handleMousedown(e){q0(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(_i(e=>e===this._menuItemInstance&&!e.disabled),Ei(0,I0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof nf&&this.menu._isAnimating?this.menu._animationDone.pipe(Kn(1),Ei(0,I0),Bn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Gl(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(vt),N(or),N(qI),N(H1,8),N(ma,10),N(Do,8),N(tl),N(ft))},t.\u0275dir=Ze({type:t,hostVars:3,hostBindings:function(e,i){1&e&&ve("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),2&e&&Jt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),Bd=(()=>{class t extends VK{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[nt]}),t})(),jK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[BK],imports:[ta,Hh,Wn,Ld,Eh,Wn]}),t})();const ZI=function(){return["1"]};function zK(t,n){if(1&t&&(k(0,"a",10)(1,"mat-icon",11),I(2,"chevron_left"),C(),I(3),R(4,"translate"),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(qn(6,ZI)))("queryParams",e.queryParams),c(1),w("inline",!0),c(2),ce(" ",H(4,4,"paginator.first")," ")}}function UK(t,n){if(1&t&&(k(0,"a",12)(1,"mat-icon",11),I(2,"chevron_left"),C(),k(3,"span",13),I(4),R(5,"translate"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(qn(6,ZI)))("queryParams",e.queryParams),c(1),w("inline",!0),c(3),re(H(5,4,"paginator.first"))}}const ll=function(t){return[t]};function WK(t,n){if(1&t&&(k(0,"a",10)(1,"div")(2,"mat-icon",11),I(3,"chevron_left"),C()()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage-1).toString())))("queryParams",e.queryParams),c(2),w("inline",!0)}}function $K(t,n){if(1&t&&(k(0,"a",10),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage-2).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage-2)}}function GK(t,n){if(1&t&&(k(0,"a",14),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage-1).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage-1)}}function qK(t,n){if(1&t&&(k(0,"a",14),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage+1).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage+1)}}function KK(t,n){if(1&t&&(k(0,"a",10),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage+2).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage+2)}}function ZK(t,n){if(1&t&&(k(0,"a",10)(1,"div")(2,"mat-icon",11),I(3,"chevron_right"),C()()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ll,(e.currentPage+1).toString())))("queryParams",e.queryParams),c(2),w("inline",!0)}}function XK(t,n){if(1&t&&(k(0,"a",10),I(1),R(2,"translate"),k(3,"mat-icon",11),I(4,"chevron_right"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(6,ll,e.numberOfPages.toString())))("queryParams",e.queryParams),c(1),ce(" ",H(2,4,"paginator.last")," "),c(2),w("inline",!0)}}function JK(t,n){if(1&t&&(k(0,"a",12)(1,"mat-icon",11),I(2,"chevron_right"),C(),k(3,"span",13),I(4),R(5,"translate"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(6,ll,e.numberOfPages.toString())))("queryParams",e.queryParams),c(1),w("inline",!0),c(3),re(H(5,4,"paginator.last"))}}const XI=function(t){return{number:t}};function QK(t,n){if(1&t&&(k(0,"div",15),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"paginator.total",He(4,XI,e.numberOfPages)))}}function eZ(t,n){if(1&t&&(k(0,"div",16),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"paginator.total",He(4,XI,e.numberOfPages)))}}let Vd=(()=>{class t{constructor(e,i){this.dialog=e,this.router=i,this.linkParts=[""],this.queryParams={}}openSelectionDialog(){const e=[];for(let i=1;i<=this.numberOfPages;i++)e.push({label:i.toString()});Rr.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe(i=>{i&&this.router.navigate(this.linkParts.concat([i.toString()]),{queryParams:this.queryParams})})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),I(4,"\xa0"),Ce(5,"br"),I(6,"\xa0"),C(),V(7,zK,5,7,"a",4),V(8,UK,6,7,"a",5),V(9,WK,4,5,"a",4),V(10,$K,2,5,"a",4),V(11,GK,2,5,"a",6),k(12,"a",7),ve("click",function(){return i.openSelectionDialog()}),I(13),C(),V(14,qK,2,5,"a",6),V(15,KK,2,5,"a",4),V(16,ZK,4,5,"a",4),V(17,XK,5,8,"a",4),V(18,JK,6,8,"a",5),C()(),V(19,QK,3,6,"div",8),V(20,eZ,3,6,"div",9),C()),2&e&&(c(7),w("ngIf",i.currentPage>3),c(1),w("ngIf",i.currentPage>2),c(1),w("ngIf",i.currentPage>1),c(1),w("ngIf",i.currentPage>2),c(1),w("ngIf",i.currentPage>1),c(2),re(i.currentPage),c(1),w("ngIf",i.currentPage3),c(1),w("ngIf",i.numberOfPages>2))},dependencies:[Ft,Za,vn,yt],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:#f8f9f980;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})();function rf(t){return n=>n.lift(new tZ(t,n))}class tZ{constructor(n,e){this.notifier=n,this.source=e}call(n,e){return e.subscribe(new nZ(n,this.notifier,this.source))}}class nZ extends Me{constructor(n,e,i){super(n),this.notifier=e,this.source=i}error(n){if(!this.isStopped){let e=this.errors,i=this.retries,o=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{e=new J;try{const{notifier:s}=this;i=s(e)}catch(s){return super.error(s)}o=Ie(i,new be(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=o,e.next(n)}}_unsubscribe(){const{errors:n,retriesSubscription:e}=this;n&&(n.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:n}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=n,this.source.subscribe(this)}}let ga=(()=>{class t{constructor(e){this.apiService=e}changeAppState(e,i,o){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,{status:o?1:0})}changeAppAutostart(e,i,o){return this.changeAppSettings(e,i,{autostart:o})}changeAppSettings(e,i,o){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,o)}getLogMessages(e,i,o){const a=ZS(-1!==o?Date.now()-864e5*o:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get(this.getLogMessagesUrl(e,i)+`?since=${a}`).pipe(ke(l=>l.logs))}getLogMessagesUrl(e,i){return`visors/${e}/apps/${encodeURIComponent(i)}/logs`}}return t.\u0275fac=function(e){return new(e||t)(we(ol))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var An=(()=>((An=An||{}).None="None",An.Favorite="Favorite",An.Blocked="Blocked",An))(),Sr=(()=>((Sr=Sr||{}).BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",Sr.OnlyBytes="OnlyBytes",Sr.OnlyBits="OnlyBits",Sr))();let oc=(()=>{class t{constructor(e,i){this.router=e,this.storageService=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new ko(1),this.historySubject=new ko(1),this.favoritesSubject=new ko(1),this.blockedSubject=new ko(1)}initialize(){this.migrateDataToHvStorage(),this.serversMap=new Map;const e=this.storageService.getDataForHv(this.savedServersStorageKey);if(e){const i=JSON.parse(e);i.serverList.forEach(o=>{this.serversMap.set(o.pk,o)}),this.savedDataVersion=i.version,i.selectedServerPk&&this.updateCurrentServerPk(i.selectedServerPk)}this.launchListEvents()}migrateDataToHvStorage(){const e=localStorage.getItem(this.savedServersStorageKey);e&&(this.storageService.setDataForHv(this.savedServersStorageKey,e),localStorage.removeItem(this.savedServersStorageKey));const i=localStorage.getItem(this.checkIpSettingStorageKey);i&&(this.storageService.setDataForHv(this.checkIpSettingStorageKey,i),localStorage.removeItem(this.checkIpSettingStorageKey));const o=localStorage.getItem(this.dataUnitsSettingStorageKey);o&&(this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,o),localStorage.removeItem(this.dataUnitsSettingStorageKey))}get currentServer(){return this.serversMap.get(this.currentServerPk)}get currentServerObservable(){return this.currentServerSubject.asObservable()}get history(){return this.historySubject.asObservable()}get favorites(){return this.favoritesSubject.asObservable()}get blocked(){return this.blockedSubject.asObservable()}getSavedVersion(e,i){return i&&this.checkIfDataWasChanged(),this.serversMap.get(e)}getCheckIpSetting(){const e=this.storageService.getDataForHv(this.checkIpSettingStorageKey);return null==e||"false"!==e}setCheckIpSetting(e){this.storageService.setDataForHv(this.checkIpSettingStorageKey,e?"true":"false")}getDataUnitsSetting(){return this.storageService.getDataForHv(this.dataUnitsSettingStorageKey)??Sr.BitsSpeedAndBytesVolume}setDataUnitsSetting(e){this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,e)}updateFromDiscovery(e){this.checkIfDataWasChanged(),e.forEach(i=>{if(this.serversMap.has(i.pk)){const o=this.serversMap.get(i.pk);o.countryCode=i.countryCode,o.name=i.name,o.location=i.location,o.note=i.note}}),this.saveData()}updateServer(e){this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData()}processFromDiscovery(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.countryCode=e.countryCode,i.name=e.name,i.location=e.location,i.note=e.note,this.saveData(),i):{countryCode:e.countryCode,name:e.name,customName:null,pk:e.pk,lastUsed:0,inHistory:!1,flag:An.None,location:e.location,personalNote:null,note:e.note,enteredManually:!1,usedWithPassword:!1}}processFromManual(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.customName=e.name,i.personalNote=e.note,i.enteredManually=!0,this.saveData(),i):{countryCode:"zz",name:"",customName:e.name,pk:e.pk,lastUsed:0,inHistory:!1,flag:An.None,location:"",personalNote:e.note,note:"",enteredManually:!0,usedWithPassword:!1}}changeFlag(e,i){this.checkIfDataWasChanged();const o=this.serversMap.get(e.pk);o&&(e=o),e.flag!==i&&(e.flag=i,this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData())}removeFromHistory(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e);!i||!i.inHistory||(i.inHistory=!1,this.cleanServers(),this.saveData())}modifyCurrentServer(e){this.checkIfDataWasChanged(),e.pk!==this.currentServerPk&&(this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.updateCurrentServerPk(e.pk),this.cleanServers(),this.saveData())}compareCurrentServer(e){if(this.checkIfDataWasChanged(),e){if(!this.currentServerPk||this.currentServerPk!==e){if(this.currentServerPk=e,!this.serversMap.get(e)){const o=this.processFromManual({pk:e});this.serversMap.set(o.pk,o),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}updateHistory(){this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;let e=[];this.serversMap.forEach(o=>{o.inHistory&&e.push(o)}),e=e.sort((o,s)=>s.lastUsed-o.lastUsed);let i=0;e.forEach(o=>{i{!i.inHistory&&i.flag===An.None&&i.pk!==this.currentServerPk&&!i.customName&&!i.personalNote&&e.push(i.pk)}),e.forEach(i=>{this.serversMap.delete(i)})}saveData(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);if(i&&(e=JSON.parse(i).version),e!==this.savedDataVersion)return void this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"storage"}});this.savedDataVersion+=1;const o={version:this.savedDataVersion,serverList:Array.from(this.serversMap.values()),selectedServerPk:this.currentServerPk},s=JSON.stringify(o);this.storageService.setDataForHv(this.savedServersStorageKey,s),this.launchListEvents()}checkIfDataWasChanged(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);i&&(e=JSON.parse(i).version),e!==this.savedDataVersion&&this.initialize()}launchListEvents(){const e=[],i=[],o=[];this.serversMap.forEach(s=>{s.inHistory&&e.push(s),s.flag===An.Favorite&&i.push(s),s.flag===An.Blocked&&o.push(s)}),this.historySubject.next(e),this.favoritesSubject.next(i),this.blockedSubject.next(o)}updateCurrentServerPk(e){this.currentServerPk=e,this.currentServerSubject.next(this.currentServer)}}return t.\u0275fac=function(e){return new(e||t)(we(hn),we(Ji))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var on=(()=>((on=on||{}).Stopped="stopped",on.Connecting="Connecting",on.Running="Running",on.ShuttingDown="Shutting down",on.Reconnecting="Connection failed, reconnecting",on))();class iZ{constructor(){this.updateDate=Date.now()}}class rZ{}class oZ{constructor(){this.latency=0,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.connectionDuration=0,this.error=""}}var jn=(()=>((jn=jn||{})[jn.PerformingInitialCheck=1]="PerformingInitialCheck",jn[jn.Off=10]="Off",jn[jn.Starting=20]="Starting",jn[jn.Running=100]="Running",jn[jn.Disconnecting=200]="Disconnecting",jn))(),wi=(()=>((wi=wi||{})[wi.Busy=1]="Busy",wi[wi.Ok=2]="Ok",wi[wi.MustStop=3]="MustStop",wi[wi.SamePkRunning=4]="SamePkRunning",wi[wi.SamePkStopped=5]="SamePkStopped",wi))();let sc=(()=>{class t{constructor(e,i,o,s,a,l,d){this.apiService=e,this.appsService=i,this.router=o,this.vpnSavedDataService=s,this.http=a,this.snackbarService=l,this.translateService=d,this.vpnClientAppName="vpn-client",this.standardWaitTime=2e3,this.stateSubject=new Or(null),this.errorSubject=new Or(!1),this.working=!0,this.requestedServer=null,this.requestedPassword=null,this.updatesStopped=!1,this.currentEventData=new iZ,this.currentEventData.busy=!0,this.lastServiceState=jn.PerformingInitialCheck}initialize(e){e&&(this.nodeKey?e!==this.nodeKey?this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"pkChange"}}):this.updatesStopped&&(this.updatesStopped=!1,this.updateData()):(this.nodeKey=e,this.vpnSavedDataService.initialize(),this.updateData()))}get backendState(){return this.stateSubject.asObservable()}get errorsConnecting(){return this.errorSubject.asObservable()}updateData(){this.continuallyUpdateData(0)}start(){return!this.working&&this.lastServiceState<20&&(this.changeAppState(!0),!0)}stop(){return!this.working&&this.lastServiceState>=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}getIpData(){return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(rf(e=>$a(e.pipe(Ei(this.standardWaitTime),Kn(4)),Ar(""))),ke(e=>{let i="";i=e&&e.ip_address?e.ip_address:this.translateService.instant("common.unknown");let o="";return o=e&&e.country_name?e.country_name:this.translateService.instant("common.unknown"),[i,o]}))}changeServerUsingHistory(e,i){return this.requestedServer=e,this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerUsingDiscovery(e,i){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerManually(e,i){return this.requestedServer=this.vpnSavedDataService.processFromManual(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}updateRequestedServerPasswordSetting(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;const e=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);e&&(e.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(e))}changeServer(){return!this.working&&(this.stop()||this.processServerChange(),!0)}checkNewPk(e){return this.working?wi.Busy:this.lastServiceState!==jn.Off?e===this.vpnSavedDataService.currentServer.pk?wi.SamePkRunning:wi.MustStop:this.vpnSavedDataService.currentServer&&e===this.vpnSavedDataService.currentServer.pk?wi.SamePkStopped:wi.Ok}processServerChange(){this.dataSubscription&&this.dataSubscription.unsubscribe();const e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe(()=>{this.vpnSavedDataService.modifyCurrentServer(this.requestedServer),this.requestedServer=null,this.requestedPassword=null,this.working=!1,this.start()},i=>{i=Qt(i),this.snackbarService.showError("vpn.server-change.backend-error",null,!1,i.originalServerErrorMsg),this.working=!1,this.requestedServer=null,this.requestedPassword=null,this.sendUpdate(),this.updateData()})}changeAppState(e){if(this.working)return;this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();const i={status:1};e?(this.lastServiceState=jn.Starting,this.connectionHistoryPk=null):(this.lastServiceState=jn.Disconnecting,i.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,i).pipe(Co(o=>this.getVpnClientState().pipe(Ye(s=>{if(s){if(e&&s.running)return $e(!0);if(!e&&!s.running)return $e(!0)}return Ar(o)}))),rf(o=>$a(o.pipe(Ei(this.standardWaitTime),Kn(3)),o.pipe(Ye(s=>Ar(s)))))).subscribe(o=>{this.working=!1;const s=this.processAppData(o);this.lastServiceState=s.running?jn.Running:jn.Off,this.currentEventData.vpnClientAppData=s,this.currentEventData.updateDate=Date.now(),this.sendUpdate(),this.updateData(),!e&&this.requestedServer&&this.processServerChange()},o=>{o=Qt(o),this.snackbarService.showError(this.lastServiceState===jn.Starting?"vpn.status-page.problem-starting-error":this.lastServiceState===jn.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,o.originalServerErrorMsg),this.working=!1,this.sendUpdate(),this.updateData()})}continuallyUpdateData(e){if(this.working&&this.lastServiceState!==jn.PerformingInitialCheck)return;this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();let i=0;this.continuousUpdateSubscription=$e(0).pipe(Ei(e),Ye(()=>this.getVpnClientState()),rf(o=>o.pipe(Ye(s=>(this.errorSubject.next(!0),(s=Qt(s)).originalError&&s.originalError.status&&401===s.originalError.status?Ar(s):this.lastServiceState!==jn.PerformingInitialCheck||i<4?(i+=1,$e(s).pipe(Ei(this.standardWaitTime))):Ar(s)))))).subscribe(o=>{o?(this.errorSubject.next(!1),this.lastServiceState===jn.PerformingInitialCheck&&(this.working=!1),this.vpnSavedDataService.compareCurrentServer(o.serverPk),this.lastServiceState=o.running?jn.Running:jn.Off,this.currentEventData.vpnClientAppData=o,this.currentEventData.updateDate=Date.now(),this.sendUpdate()):this.lastServiceState===jn.PerformingInitialCheck&&(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null,this.updatesStopped=!0),this.continuallyUpdateData(this.standardWaitTime)},o=>{(o=Qt(o)).originalError&&o.originalError.status&&401===o.originalError.status||(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null),this.updatesStopped=!0})}stopContinuallyUpdatingData(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}getVpnClientState(){let e;const i=new ec;return i.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/summary`,i).pipe(Ye(o=>{let s;if(o&&o.overview&&o.overview.apps&&o.overview.apps.length>0&&o.overview.apps.forEach(a=>{a.name===this.vpnClientAppName&&(s=a)}),s&&(e=this.processAppData(s)),e.minHops=o.min_hops?o.min_hops:0,e&&e.running){const a=new ec;return a.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/apps/${this.vpnClientAppName}/connections`,a)}return $e(null)}),ke(o=>{if(o&&o.length>0){const s=new oZ;o.forEach(a=>{s.latency+=a.latency/o.length,s.uploadSpeed+=a.upload_speed/o.length,s.downloadSpeed+=a.download_speed/o.length,s.totalUploaded+=a.bandwidth_sent,s.totalDownloaded+=a.bandwidth_received,a.error&&(s.error=a.error),a.connection_duration>s.connectionDuration&&(s.connectionDuration=a.connection_duration)}),(!this.connectionHistoryPk||this.connectionHistoryPk!==e.serverPk)&&(this.connectionHistoryPk=e.serverPk,this.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),s.latency=Math.round(s.latency),s.uploadSpeed=Math.round(s.uploadSpeed),s.downloadSpeed=Math.round(s.downloadSpeed),s.totalUploaded=Math.round(s.totalUploaded),s.totalDownloaded=Math.round(s.totalDownloaded),this.uploadSpeedHistory.splice(0,1),this.uploadSpeedHistory.push(s.uploadSpeed),s.uploadSpeedHistory=this.uploadSpeedHistory,this.downloadSpeedHistory.splice(0,1),this.downloadSpeedHistory.push(s.downloadSpeed),s.downloadSpeedHistory=this.downloadSpeedHistory,this.latencyHistory.splice(0,1),this.latencyHistory.push(s.latency),s.latencyHistory=this.latencyHistory,e.connectionData=s}return e}))}processAppData(e){const i=new rZ;if(i.running=0!==e.status&&2!==e.status,i.connectionDuration=e.connection_duration,i.appState=on.Stopped,i.running?e.detailed_status===on.Connecting||3===e.status?i.appState=on.Connecting:e.detailed_status===on.Running?i.appState=on.Running:e.detailed_status===on.ShuttingDown?i.appState=on.ShuttingDown:e.detailed_status===on.Reconnecting&&(i.appState=on.Reconnecting):2===e.status&&(i.lastErrorMsg=e.detailed_status,i.lastErrorMsg||(i.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),i.killswitch=!1,e.args&&e.args.length>0)for(let o=0;o{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.vpnSavedDataService=a}ngOnInit(){this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){let e=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);e=e||this.data.server;const i=this.form.get("value").value;i!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?e.customName=i:e.personalNote=i,this.vpnSavedDataService.updateServer(e),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(oc))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,i){if(1&e&&pt(sZ,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","value","maxlength","100","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.process()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-label")),c(5),ce(" ",H(12,9,"vpn.server-options.edit-value.apply-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const lZ=["firstInput"];let JI=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=e,this.data=i,this.formBuilder=o}ngOnInit(){this.form=this.formBuilder.group({password:["",this.data?void 0:Yt.required]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){this.dialogRef.close("-"+this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,i){if(1&e&&pt(lZ,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:12,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","password","type","password","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.process()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,6,"vpn.server-list.password-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,8,"vpn.server-list.password-dialog.password"+(i.data?"-if-any":"")+"-label")),c(4),w("disabled",!i.form.valid),c(1),ce(" ",H(12,10,"vpn.server-list.password-dialog.continue-button")," "))},dependencies:[Ai,Ii,Pi,Oi,ti,yi,tr,br,Fi,Zn,yt]}),t})(),lr=(()=>{class t{static changeCurrentPk(e){this.currentPk=e}static setDefaultTabForServerList(e){sessionStorage.setItem(t.serverListTabStorageKey,e)}static get vpnTabsData(){const e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}static getLatencyValueString(e){return e<1e3?"time-in-ms":"time-in-segs"}static getPrintableLatency(e){return e<1e3?e+"":(e/1e3).toFixed(1)}static processServerChange(e,i,o,s,a,l,d,_,E,F,G){let ie;if(_&&(E||F)||E&&(_||F)||F&&(_||E))throw new Error("Invalid call");if(_)ie=_.pk;else if(E)ie=E.pk;else{if(!F)throw new Error("Invalid call");ie=F.pk}const _e=o.getSavedVersion(ie,!0),xe=_e&&(G||_e.usedWithPassword),Ae=i.checkNewPk(ie);if(Ae!==wi.Busy)if(Ae!==wi.SamePkRunning||xe)if(Ae===wi.MustStop||Ae===wi.SamePkRunning&&xe){const ze=Zt.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");ze.componentInstance.operationAccepted.subscribe(()=>{ze.componentInstance.closeModal(),_?i.changeServerUsingHistory(_,G):E?i.changeServerUsingDiscovery(E,G):F&&i.changeServerManually(F,G),t.redirectAfterServerChange(e,l,d)})}else if(Ae!==wi.SamePkStopped||xe)_?i.changeServerUsingHistory(_,G):E?i.changeServerUsingDiscovery(E,G):F&&i.changeServerManually(F,G),t.redirectAfterServerChange(e,l,d);else{const ze=Zt.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");ze.componentInstance.operationAccepted.subscribe(()=>{ze.componentInstance.closeModal(),F&&_e&&o.processFromManual(F),i.start(),t.redirectAfterServerChange(e,l,d)})}else s.showWarning("vpn.server-change.already-selected-warning");else s.showError("vpn.server-change.busy-error")}static redirectAfterServerChange(e,i,o){i&&i.close(),e.navigate(["vpn",o,"status"])}static openServerOptions(e,i,o,s,a,l){const d=[],_=[];return e.usedWithPassword?(d.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),_.push(201),d.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),_.push(202)):e.enteredManually&&(d.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),_.push(202)),d.push({icon:"edit",label:"vpn.server-options.edit-name"}),_.push(101),d.push({icon:"subject",label:"vpn.server-options.edit-label"}),_.push(102),(!e||e.flag!==An.Favorite)&&(d.push({icon:"star",label:"vpn.server-options.make-favorite"}),_.push(1)),e&&e.flag===An.Favorite&&(d.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),_.push(-1)),(!e||e.flag!==An.Blocked)&&(d.push({icon:"pan_tool",label:"vpn.server-options.block"}),_.push(2)),e&&e.flag===An.Blocked&&(d.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),_.push(-2)),e&&e.inHistory&&(d.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),_.push(-3)),Rr.openDialog(l,d,"common.options").afterClosed().pipe(Ye(E=>{if(E){const F=o.getSavedVersion(e.pk,!0);if(e=F||e,_[E-=1]>200){if(201===_[E]){let G=!1;const ie=Zt.createConfirmationDialog(l,"vpn.server-options.connect-without-password-confirmation");return ie.componentInstance.operationAccepted.subscribe(()=>{G=!0,t.processServerChange(i,s,o,a,l,null,t.currentPk,e,null,null,null),ie.componentInstance.closeModal()}),ie.afterClosed().pipe(ke(()=>G))}return JI.openDialog(l,!1).afterClosed().pipe(ke(G=>!(!G||"-"===G||(t.processServerChange(i,s,o,a,l,null,t.currentPk,e,null,null,G.substr(1)),0))))}if(_[E]>100)return aZ.openDialog(l,{editName:101===_[E],server:e}).afterClosed();if(1===_[E])return t.makeFavorite(e,o,a,l);if(-1===_[E])return o.changeFlag(e,An.None),a.showDone("vpn.server-options.remove-from-favorites-done"),$e(!0);if(2===_[E])return t.blockServer(e,o,s,a,l);if(-2===_[E])return o.changeFlag(e,An.None),a.showDone("vpn.server-options.unblock-done"),$e(!0);if(-3===_[E])return t.removeFromHistory(e,o,a,l)}return $e(!1)}))}static removeFromHistory(e,i,o,s){let a=!1;const l=Zt.createConfirmationDialog(s,"vpn.server-options.remove-from-history-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.removeFromHistory(e.pk),o.showDone("vpn.server-options.remove-from-history-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(ke(()=>a))}static makeFavorite(e,i,o,s){if(e.flag!==An.Blocked)return i.changeFlag(e,An.Favorite),o.showDone("vpn.server-options.make-favorite-done"),$e(!0);let a=!1;const l=Zt.createConfirmationDialog(s,"vpn.server-options.make-favorite-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.changeFlag(e,An.Favorite),o.showDone("vpn.server-options.make-favorite-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(ke(()=>a))}static blockServer(e,i,o,s,a){if(e.flag!==An.Favorite&&(!i.currentServer||i.currentServer.pk!==e.pk))return i.changeFlag(e,An.Blocked),s.showDone("vpn.server-options.block-done"),$e(!0);let l=!1;const d=i.currentServer&&i.currentServer.pk===e.pk;let _;_=e.flag!==An.Favorite?"vpn.server-options.block-selected-confirmation":d?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation";const E=Zt.createConfirmationDialog(a,_);return E.componentInstance.operationAccepted.subscribe(()=>{l=!0,i.changeFlag(e,An.Blocked),s.showDone("vpn.server-options.block-done"),d&&o.stop(),E.componentInstance.closeModal()}),E.afterClosed().pipe(ke(()=>l))}}return t.serverListTabStorageKey="ServerListTab",t.currentPk="",t})();var cr=(()=>((cr=cr||{})[cr.Seconds=0]="Seconds",cr[cr.Minutes=1]="Minutes",cr[cr.Hours=2]="Hours",cr[cr.Days=3]="Days",cr[cr.Weeks=4]="Weeks",cr))();class cZ{}class Og{static getElapsedTime(n){const e=new cZ;e.timeRepresentation=cr.Seconds,e.totalMinutes=Math.floor(n/60).toString(),e.translationVarName="second";let i=1;n>=60&&n<3600?(e.timeRepresentation=cr.Minutes,i=60,e.translationVarName="minute"):n>=3600&&n<86400?(e.timeRepresentation=cr.Hours,i=3600,e.translationVarName="hour"):n>=86400&&n<604800?(e.timeRepresentation=cr.Days,i=86400,e.translationVarName="day"):n>=604800&&(e.timeRepresentation=cr.Weeks,i=604800,e.translationVarName="week");const o=Math.floor(n/i);return e.elapsedTime=o.toString(),(e.timeRepresentation===cr.Seconds||o>1)&&(e.translationVarName=e.translationVarName+"s"),e}}function dZ(t,n){1&t&&Ce(0,"mat-spinner",6),2&t&&w("diameter",14)}function uZ(t,n){1&t&&Ce(0,"mat-spinner",7),2&t&&w("diameter",18)}function hZ(t,n){1&t&&(k(0,"mat-icon",10),I(1,"refresh"),C()),2&t&&w("inline",!0)}function fZ(t,n){1&t&&(k(0,"mat-icon",11),I(1,"warning"),C()),2&t&&w("inline",!0)}function pZ(t,n){if(1&t&&(Ue(0),V(1,hZ,2,1,"mat-icon",8),V(2,fZ,2,1,"mat-icon",9),We()),2&t){const e=z();c(1),w("ngIf",!e.showAlert),c(1),w("ngIf",e.showAlert)}}const QI=function(t){return{time:t}};function mZ(t,n){if(1&t&&(k(0,"span",12),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"refresh-button."+e.elapsedTime.translationVarName,He(4,QI,e.elapsedTime.elapsedTime)))}}const gZ=function(t){return{"grey-button-background":t}};let _Z=(()=>{class t{constructor(){this.refeshRate=-1}set secondsSinceLastUpdate(e){this.elapsedTime=Og.getElapsedTime(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:7,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],[1,"internal-container"],["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(e,i){1&e&&(k(0,"button",0),R(1,"translate"),k(2,"div",1),V(3,dZ,1,1,"mat-spinner",2),V(4,uZ,1,1,"mat-spinner",3),V(5,pZ,3,2,"ng-container",4),V(6,mZ,3,6,"span",5),C()()),2&e&&(w("disabled",i.showLoading)("ngClass",He(10,gZ,!i.showLoading))("matTooltip",i.showAlert?kt(1,7,"refresh-button.error-tooltip",He(12,QI,i.refeshRate)):""),c(3),w("ngIf",i.showLoading),c(1),w("ngIf",i.showLoading),c(1),w("ngIf",!i.showLoading),c(1),w("ngIf",i.elapsedTime))},dependencies:[Pn,Ft,$r,vn,Mi,tc,yt],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%] .internal-container[_ngcontent-%COMP%]{display:flex;align-items:center}.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})(),sf=(()=>{class t{transform(e,i){let s,o=!0;i?i.showPerSecond?i.useBits?(s=t.measurementsPerSecInBits,o=!1):s=t.measurementsPerSec:i.useBits?(s=t.accumulatedMeasurementsInBits,o=!1):s=t.accumulatedMeasurements:s=t.accumulatedMeasurements;let a=new R1.BigNumber(e);o||(a=a.multipliedBy(8));let l=s[0],d=0;for(;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),d+=1,l=s[d];let _="";return(!i||i.showValue)&&(_=i&&i.limitDecimals?new R1.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!i||i.showValue&&i.showUnit)&&(_+=" "),(!i||i.showUnit)&&(_+=l),_}}return t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ur({name:"autoScale",type:t,pure:!0}),t})();function bZ(t,n){if(1&t){const e=et();k(0,"button",23),ve("click",function(){return Pe(e),Oe(z().requestAction(null))}),k(1,"mat-icon"),I(2,"chevron_left"),C()()}}function vZ(t,n){1&t&&(Ue(0),Ce(1,"img",24),We())}function yZ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z();c(1),ce(" ",H(2,1,e.titleParts[e.titleParts.length-1])," ")}}const MZ=function(t){return{transparent:t}};function wZ(t,n){if(1&t){const e=et();Ue(0),k(1,"div",26),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).requestAction(s.actionName))}),k(2,"mat-icon",27),I(3),C(),I(4),R(5,"translate"),C(),We()}if(2&t){const e=n.$implicit;c(1),w("disabled",e.disabled),c(1),w("ngClass",He(6,MZ,e.disabled)),c(1),re(e.icon),c(1),ce(" ",H(5,4,e.name)," ")}}function CZ(t,n){1&t&&Ce(0,"div",28)}function xZ(t,n){if(1&t&&(Ue(0),V(1,wZ,6,8,"ng-container",25),V(2,CZ,1,0,"div",9),We()),2&t){const e=z();c(1),w("ngForOf",e.optionsData),c(1),w("ngIf",e.returnText)}}function kZ(t,n){1&t&&Ce(0,"div",28)}function SZ(t,n){1&t&&Ce(0,"img",31),2&t&&w("src","assets/img/lang/"+z(2).language.iconName,Vo)}function DZ(t,n){if(1&t){const e=et();k(0,"div",29),ve("click",function(){return Pe(e),Oe(z().openLanguageWindow())}),V(1,SZ,1,1,"img",30),I(2),R(3,"translate"),C()}if(2&t){const e=z();c(1),w("ngIf",e.language),c(1),ce(" ",H(3,2,e.language?e.language.name:"")," ")}}function TZ(t,n){if(1&t){const e=et();k(0,"div",32)(1,"a",33),ve("click",function(){return Pe(e),Oe(z().requestAction(null))}),R(2,"translate"),k(3,"mat-icon",34),I(4,"chevron_left"),C()()()}if(2&t){const e=z();c(1),w("matTooltip",H(2,2,e.returnText)),c(2),w("inline",!0)}}function LZ(t,n){if(1&t&&(k(0,"span",35),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.titleParts[e.titleParts.length-1])," ")}}function EZ(t,n){1&t&&Ce(0,"img",36)}const IZ=function(t,n){return{"d-lg-none":t,"d-none d-md-inline-block":n}},eP=function(t,n){return{"mouse-disabled":t,"grey-button-background":n}};function PZ(t,n){if(1&t&&(k(0,"div",27)(1,"a",37)(2,"mat-icon",34),I(3),C(),k(4,"span"),I(5),R(6,"translate"),C()()()),2&t){const e=n.$implicit,i=n.index,o=z();w("ngClass",mn(9,IZ,e.onlyIfLessThanLg,1!==o.tabsData.length)),c(1),w("disabled",i===o.selectedTabIndex)("routerLink",e.linkParts)("ngClass",mn(12,eP,o.disableMouse,!o.disableMouse&&i!==o.selectedTabIndex)),c(1),w("inline",!0),c(1),re(e.icon),c(2),re(H(6,7,e.label))}}const OZ=function(t){return{"d-none":t}};function AZ(t,n){if(1&t){const e=et();k(0,"div",38)(1,"button",39),ve("click",function(){return Pe(e),Oe(z().openTabSelector())}),k(2,"div",40)(3,"mat-icon",34),I(4),C(),k(5,"span"),I(6),R(7,"translate"),C(),k(8,"mat-icon",34),I(9,"keyboard_arrow_down"),C()()()()}if(2&t){const e=z();w("ngClass",He(8,OZ,1===e.tabsData.length)),c(1),w("ngClass",mn(10,eP,e.disableMouse,!e.disableMouse)),c(2),w("inline",!0),c(1),re(e.tabsData[e.selectedTabIndex].icon),c(2),re(H(7,6,e.tabsData[e.selectedTabIndex].label)),c(2),w("inline",!0)}}function FZ(t,n){if(1&t){const e=et();k(0,"app-refresh-button",45),ve("click",function(){return Pe(e),Oe(z(2).sendRefreshEvent())}),C()}if(2&t){const e=z(2);w("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.showLoading)("showAlert",e.showAlert)("refeshRate",e.refeshRate)}}function RZ(t,n){if(1&t&&(k(0,"div",41),V(1,FZ,1,4,"app-refresh-button",42),k(2,"button",43)(3,"div",44)(4,"mat-icon",34),I(5,"menu"),C()()()()),2&t){const e=z(),i=ci(12);c(1),w("ngIf",e.showUpdateButton),c(1),w("matMenuTriggerFor",i),c(2),w("inline",!0)}}function NZ(t,n){if(1&t){const e=et();k(0,"div",53)(1,"div",54),ve("click",function(){return Pe(e),Oe(z(2).openLanguageWindow())}),Ce(2,"img",55),I(3),R(4,"translate"),C()()}if(2&t){const e=z(2);c(2),w("src","assets/img/lang/"+e.language.iconName,Vo),c(1),ce(" ",H(4,2,e.language?e.language.name:"")," ")}}function YZ(t,n){1&t&&(k(0,"div",56),R(1,"translate"),k(2,"mat-icon",34),I(3,"warning"),C(),I(4),R(5,"translate"),C()),2&t&&(w("matTooltip",H(1,3,"vpn.connection-error.info")),c(2),w("inline",!0),c(2),ce(" ",H(5,5,"vpn.connection-error.text")," "))}function HZ(t,n){1&t&&(k(0,"div",63)(1,"mat-icon",61),I(2,"brightness_1"),C()()),2&t&&(c(1),w("inline",!0))}const BZ=function(t,n){return{"animation-container":t,"d-none":n}},VZ=function(t){return{time:t}},tP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function jZ(t,n){if(1&t&&(k(0,"table",57)(1,"tr")(2,"td",58),R(3,"translate"),k(4,"div",27)(5,"div",59)(6,"div",60)(7,"mat-icon",61),I(8,"brightness_1"),C(),I(9),R(10,"translate"),C()()(),V(11,HZ,3,1,"div",62),k(12,"mat-icon",61),I(13,"brightness_1"),C(),I(14),R(15,"translate"),C(),k(16,"td",58),R(17,"translate"),k(18,"mat-icon",34),I(19,"swap_horiz"),C(),I(20),R(21,"translate"),C()(),k(22,"tr")(23,"td",58),R(24,"translate"),k(25,"mat-icon",34),I(26,"arrow_upward"),C(),I(27),R(28,"autoScale"),C(),k(29,"td",58),R(30,"translate"),k(31,"mat-icon",34),I(32,"arrow_downward"),C(),I(33),R(34,"autoScale"),C()()()),2&t){const e=z(2);c(2),eo(e.vpnData.stateClass+" state-td"),w("matTooltip",H(3,18,e.vpnData.state+"-info")),c(2),w("ngClass",mn(39,BZ,e.showVpnStateAnimation,!e.showVpnStateAnimation)),c(3),w("inline",!0),c(2),ce(" ",H(10,20,e.vpnData.state)," "),c(2),w("ngIf",e.showVpnStateAnimatedDot),c(1),w("inline",!0),c(2),ce(" ",H(15,22,e.vpnData.state)," "),c(2),w("matTooltip",H(17,24,"vpn.connection-info.latency-info")),c(2),w("inline",!0),c(2),ce(" ",kt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),He(42,VZ,e.getPrintableLatency(e.vpnData.latency)))," "),c(3),w("matTooltip",H(24,29,"vpn.connection-info.upload-info")),c(2),w("inline",!0),c(2),ce(" ",kt(28,31,e.vpnData.uploadSpeed,He(44,tP,e.showVpnDataStatsInBits))," "),c(2),w("matTooltip",H(30,34,"vpn.connection-info.download-info")),c(2),w("inline",!0),c(2),ce(" ",kt(34,36,e.vpnData.downloadSpeed,He(46,tP,e.showVpnDataStatsInBits))," ")}}function zZ(t,n){1&t&&Ce(0,"mat-spinner",64),2&t&&w("diameter",20)}function UZ(t,n){if(1&t&&(k(0,"div")(1,"div",46),V(2,NZ,5,4,"div",47),Ce(3,"div",48),V(4,YZ,6,7,"div",49),C(),k(5,"div",50),V(6,jZ,35,48,"table",51),V(7,zZ,1,1,"mat-spinner",52),C()()),2&t){const e=z();c(2),w("ngIf",!e.hideLanguageButton&&e.language),c(2),w("ngIf",e.errorsConnectingToVpn),c(2),w("ngIf",e.vpnData),c(1),w("ngIf",!e.vpnData)}}function WZ(t,n){1&t&&(k(0,"div",65)(1,"div",66)(2,"mat-icon",34),I(3,"error_outline"),C(),I(4),R(5,"translate"),C(),k(6,"div",67),I(7),R(8,"translate"),C()()),2&t&&(c(2),w("inline",!0),c(2),ce(" ",H(5,3,"vpn.remote-access-title")," "),c(3),ce(" ",H(8,5,"vpn.remote-access-text")," "))}const nP=function(t,n){return{"d-lg-none":t,"d-none":n}},$Z=function(t){return{"normal-height":t}},GZ=function(t,n){return{"d-none d-lg-flex":t,"d-flex":n}};let ac=(()=>{class t{set localVpnKey(e){this.localVpnKeyInternal=e,e?this.startGettingVpnInfo():this.stopGettingVpnInfo()}constructor(e,i,o,s,a){this.languageService=e,this.dialog=i,this.router=o,this.vpnClientService=s,this.vpnSavedDataService=a,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new ht,this.optionSelected=new ht,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=[]}ngOnInit(){this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(i=>{this.language=i})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(i=>{this.hideLanguageButton=!(i.length>1)}));const e=window.location.hostname;!e.toLowerCase().includes("localhost")&&!e.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}ngOnDestroy(){this.langSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}startGettingVpnInfo(){this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(e=>{e&&(this.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===on.Stopped?(this.vpnData.state="vpn.connection-info.state-disconnected",this.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===on.Connecting?(this.vpnData.state="vpn.connection-info.state-connecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===on.Running?(this.vpnData.state="vpn.connection-info.state-connected",this.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===on.ShuttingDown?(this.vpnData.state="vpn.connection-info.state-disconnecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===on.Reconnecting&&(this.vpnData.state="vpn.connection-info.state-reconnecting",this.vpnData.stateClass="yellow-clear-text"),this.initialVpnStateObtained?this.lastVpnState!==this.vpnData.state&&(this.lastVpnState=this.vpnData.state,this.showVpnStateAnimation=!1,this.showVpnStateChangeAnimationSubscription&&this.showVpnStateChangeAnimationSubscription.unsubscribe(),this.showVpnStateChangeAnimationSubscription=$e(0).pipe(Ei(1)).subscribe(()=>this.showVpnStateAnimation=!0)):(this.initialVpnStateObtained=!0,this.lastVpnState=this.vpnData.state),this.showVpnStateAnimatedDot=!1,this.showVpnStateAnimatedDotSubscription&&this.showVpnStateAnimatedDotSubscription.unsubscribe(),this.showVpnStateAnimatedDotSubscription=$e(0).pipe(Ei(1)).subscribe(()=>this.showVpnStateAnimatedDot=!0))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(e=>{this.errorsConnectingToVpn=e})}stopGettingVpnInfo(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}getLatencyValueString(e){return lr.getLatencyValueString(e)}getPrintableLatency(e){return lr.getPrintableLatency(e)}requestAction(e){this.optionSelected.emit(e)}openLanguageWindow(){YI.openDialog(this.dialog)}sendRefreshEvent(){this.refreshRequested.emit()}openTabSelector(){const e=[];this.tabsData.forEach(i=>{e.push({label:i.label,icon:i.icon})}),Rr.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe(i=>{i&&(i-=1)!==this.selectedTabIndex&&this.router.navigate(this.tabsData[i].linkParts)})}updateVpnDataStatsUnit(){const e=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=e===Sr.BitsSpeedAndBytesVolume||e===Sr.OnlyBits}}return t.\u0275fac=function(e){return new(e||t)(N(_g),N(xn),N(hn),N(sc),N(oc))},t.\u0275cmp=Ke({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",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,"d-flex"],[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"],[1,"icon-container"],[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(e,i){if(1&e&&(k(0,"div",0)(1,"div",1),V(2,bZ,3,0,"button",2),C(),k(3,"div",3),V(4,vZ,2,0,"ng-container",4),V(5,yZ,3,3,"ng-container",4),C(),k(6,"div",1)(7,"button",5)(8,"mat-icon"),I(9,"menu"),C()()()(),Ce(10,"div",6),k(11,"mat-menu",7,8),V(13,xZ,3,2,"ng-container",4),V(14,kZ,1,0,"div",9),V(15,DZ,4,4,"div",10),C(),k(16,"div",11)(17,"div",12)(18,"div",13),V(19,TZ,5,4,"div",14),V(20,LZ,3,3,"span",15),V(21,EZ,1,0,"img",16),C(),k(22,"div",17),V(23,PZ,7,15,"div",18),V(24,AZ,10,13,"div",19),Ce(25,"div",20),V(26,RZ,6,3,"div",21),C()(),V(27,UZ,8,4,"div",4),C(),V(28,WZ,9,7,"div",22)),2&e){const o=ci(12);w("ngClass",mn(20,nP,!i.showVpnInfo,i.showVpnInfo)),c(2),w("ngIf",i.returnText),c(2),w("ngIf",!i.titleParts||i.titleParts.length<2),c(1),w("ngIf",i.titleParts&&i.titleParts.length>=2),c(2),w("matMenuTriggerFor",o),c(3),w("ngClass",mn(23,nP,!i.showVpnInfo,i.showVpnInfo)),c(1),w("overlapTrigger",!1),c(2),w("ngIf",i.optionsData&&i.optionsData.length>=1),c(1),w("ngIf",!i.hideLanguageButton&&i.optionsData&&i.optionsData.length>=1),c(1),w("ngIf",!i.hideLanguageButton),c(1),w("ngClass",He(26,$Z,!i.showVpnInfo)),c(2),w("ngClass",mn(28,GZ,!i.showVpnInfo,i.showVpnInfo)),c(1),w("ngIf",i.returnText),c(1),w("ngIf",!i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo),c(2),w("ngForOf",i.tabsData),c(1),w("ngIf",i.tabsData&&i.tabsData[i.selectedTabIndex]),c(2),w("ngIf",!i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo&&i.remoteAccess)}},dependencies:[Pn,gi,Ft,Za,RU,$r,nl,vn,Mi,Hd,ma,Bd,tc,_Z,yt,sf],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!important;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{display:flex;place-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.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:700}.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;user-select:none;width:auto;line-height:1}.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;animation:_ngcontent-%COMP%_state-icon-animation 1s linear 1}@keyframes _ngcontent-%COMP%_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;animation:_ngcontent-%COMP%_state-animation 1s linear 1;opacity:0}@keyframes _ngcontent-%COMP%_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 5px 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}"]}),t})();const iP=function(){return["start.title"]};function qZ(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3),C(),Ce(3,"app-loading-indicator",4),C()),2&t){const e=z();c(2),w("titleParts",qn(4,iP))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function KZ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function ZZ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function XZ(t,n){if(1&t&&(k(0,"div",23)(1,"span"),I(2),R(3,"translate"),C(),V(4,KZ,3,3,"ng-container",24),V(5,ZZ,2,1,"ng-container",24),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function JZ(t,n){if(1&t){const e=et();k(0,"div",20),ve("click",function(){return Pe(e),Oe(z(2).dataFilterer.removeFilters())}),V(1,XZ,6,5,"div",21),k(2,"div",22),I(3),R(4,"translate"),C()()}if(2&t){const e=z(2);c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function QZ(t,n){if(1&t){const e=et();k(0,"mat-icon",25),ve("click",function(){return Pe(e),Oe(z(2).dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function eX(t,n){1&t&&(k(0,"mat-icon",26),I(1,"more_horiz"),C()),2&t&&(z(),w("matMenuTriggerFor",ci(12)))}const rP=function(){return["/nodes","list"]},oP=function(){return["/nodes","dmsg"]};function tX(t,n){if(1&t&&Ce(0,"app-paginator",27),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?qn(5,oP):qn(4,rP))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function nX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function iX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function rX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function oX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function sX(t,n){1&t&&(Ue(0),I(1,"*"),We())}function aX(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",42),I(2),C(),V(3,sX,2,0,"ng-container",24),We()),2&t){const e=z(5);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function lX(t,n){if(1&t){const e=et();k(0,"th",38),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.dmsgServerSortData))}),I(1),R(2,"translate"),V(3,aX,4,3,"ng-container",24),C()}if(2&t){const e=z(4);c(1),ce(" ",H(2,2,"nodes.dmsg-server")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.dmsgServerSortData)}}function cX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(5);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function dX(t,n){if(1&t){const e=et();k(0,"th",38),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.pingSortData))}),I(1),R(2,"translate"),V(3,cX,2,2,"mat-icon",35),C()}if(2&t){const e=z(4);c(1),ce(" ",H(2,2,"nodes.ping")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.pingSortData)}}function uX(t,n){1&t&&(k(0,"mat-icon",49),R(1,"translate"),I(2,"star"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"nodes.hypervisor-info"))}function hX(t,n){if(1&t){const e=et();k(0,"app-labeled-element-text",51),ve("labelEdited",function(){return Pe(e),Oe(z(6).forceDataRefresh())}),C()}if(2&t){const e=z(2).$implicit,i=z(4);In("id",e.dmsgServerPk),w("short",!0)("elementType",i.labeledElementTypes.DmsgServer)}}function fX(t,n){if(1&t&&(k(0,"td"),V(1,hX,1,3,"app-labeled-element-text",50),C()),2&t){const e=z().$implicit;c(1),w("ngIf",e.dmsgServerPk)}}const sP=function(t){return{time:t}};function pX(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z(2).$implicit;c(1),ce(" ",kt(2,1,"common.time-in-ms",He(4,sP,e.roundTripPing))," ")}}function mX(t,n){if(1&t&&(k(0,"td"),V(1,pX,3,6,"ng-container",24),C()),2&t){const e=z().$implicit;c(1),w("ngIf",e.dmsgServerPk)}}function gX(t,n){1&t&&(k(0,"button",52),R(1,"translate"),k(2,"mat-icon",42),I(3,"chevron_right"),C()()),2&t&&(w("matTooltip",H(1,2,"nodes.view-node")),c(2),w("inline",!0))}function _X(t,n){if(1&t){const e=et();k(0,"button",46),ve("click",function(o){Pe(e);const s=z().$implicit,a=z(4);return o.stopPropagation(),o.preventDefault(),Oe(a.deleteNode(s))}),R(1,"translate"),k(2,"mat-icon"),I(3,"close"),C()()}2&t&&w("matTooltip",H(1,1,"nodes.delete-node"))}const bX=function(t,n){return{"click-effect":t,"non-selectable":n}},aP=function(t){return["/nodes",t]};function vX(t,n){if(1&t){const e=et();k(0,"a",43)(1,"td"),V(2,uX,3,4,"mat-icon",44),C(),k(3,"td"),Ce(4,"span",45),R(5,"translate"),C(),k(6,"td"),I(7),C(),k(8,"td"),I(9),C(),V(10,fX,2,1,"td",24),V(11,mX,2,1,"td",24),k(12,"td",40)(13,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.copyToClipboard(a))}),R(14,"translate"),k(15,"mat-icon",42),I(16,"filter_none"),C()(),k(17,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.showEditLabelDialog(a))}),R(18,"translate"),k(19,"mat-icon",42),I(20,"short_text"),C()(),V(21,gX,4,4,"button",47),V(22,_X,4,3,"button",48),C()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",mn(22,bX,e.online,!e.online))("routerLink",e.online?He(25,aP,e.localPk):null),c(2),w("ngIf",e.isHypervisor),c(2),eo(i.nodeStatusClass(e,!0)),w("matTooltip",H(5,16,i.nodeStatusText(e,!0))),c(3),ce(" ",e.label," "),c(2),ce(" ",e.localPk," "),c(1),w("ngIf",i.showDmsgInfo),c(1),w("ngIf",i.showDmsgInfo),c(2),w("matTooltip",H(14,18,i.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),c(2),w("inline",!0),c(2),w("matTooltip",H(18,20,"labeled-element.edit-label")),c(2),w("inline",!0),c(2),w("ngIf",e.online),c(1),w("ngIf",!e.online)}}function yX(t,n){if(1&t){const e=et();k(0,"table",32)(1,"tr")(2,"th",33),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.hypervisorSortData))}),R(3,"translate"),k(4,"mat-icon",34),I(5,"star_outline"),C(),V(6,nX,2,2,"mat-icon",35),C(),k(7,"th",33),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.stateSortData))}),R(8,"translate"),Ce(9,"span",36),V(10,iX,2,2,"mat-icon",35),C(),k(11,"th",37),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.labelSortData))}),I(12),R(13,"translate"),V(14,rX,2,2,"mat-icon",35),C(),k(15,"th",38),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.keySortData))}),I(16),R(17,"translate"),V(18,oX,2,2,"mat-icon",35),C(),V(19,lX,4,4,"th",39),V(20,dX,4,4,"th",39),Ce(21,"th",40),C(),V(22,vX,23,27,"a",41),C()}if(2&t){const e=z(3);c(2),w("matTooltip",H(3,11,"nodes.hypervisor")),c(4),w("ngIf",e.dataSorter.currentSortingColumn===e.hypervisorSortData),c(1),w("matTooltip",H(8,13,"nodes.state-tooltip")),c(3),w("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),c(2),ce(" ",H(13,15,"nodes.label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),c(2),ce(" ",H(17,17,"nodes.key")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),c(1),w("ngIf",e.showDmsgInfo),c(1),w("ngIf",e.showDmsgInfo),c(2),w("ngForOf",e.dataSource)}}function MX(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function wX(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function CX(t,n){1&t&&(k(0,"div",62)(1,"mat-icon",67),I(2,"star"),C(),I(3,"\xa0 "),k(4,"span",68),I(5),R(6,"translate"),C()()),2&t&&(c(1),w("inline",!0),c(4),re(H(6,2,"nodes.hypervisor")))}function xX(t,n){if(1&t){const e=et();k(0,"div",63)(1,"span",9),I(2),R(3,"translate"),C(),I(4,": "),k(5,"app-labeled-element-text",69),ve("labelEdited",function(){return Pe(e),Oe(z(5).forceDataRefresh())}),C()()}if(2&t){const e=z().$implicit,i=z(4);c(2),re(H(3,3,"nodes.dmsg-server")),c(3),In("id",e.dmsgServerPk),w("elementType",i.labeledElementTypes.DmsgServer)}}function kX(t,n){if(1&t&&(k(0,"div",62)(1,"span",9),I(2),R(3,"translate"),C(),I(4),R(5,"translate"),C()),2&t){const e=z().$implicit;c(2),re(H(3,2,"nodes.ping")),c(2),ce(": ",kt(5,4,"common.time-in-ms",He(7,sP,e.roundTripPing))," ")}}const SX=function(t){return{"selectable click-effect":t}};function DX(t,n){if(1&t){const e=et();k(0,"a",59)(1,"tr",60)(2,"td",60)(3,"div",55)(4,"div",56),V(5,CX,7,4,"div",61),k(6,"div",62)(7,"span",9),I(8),R(9,"translate"),C(),I(10,": "),k(11,"span"),I(12),R(13,"translate"),C()(),k(14,"div",62)(15,"span",9),I(16),R(17,"translate"),C(),I(18),C(),k(19,"div",63)(20,"span",9),I(21),R(22,"translate"),C(),I(23),C(),V(24,xX,6,5,"div",64),V(25,kX,6,9,"div",61),C(),Ce(26,"div",65),k(27,"div",57)(28,"button",66),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.showOptionsDialog(a))}),R(29,"translate"),k(30,"mat-icon"),I(31),C()()()()()()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",He(25,SX,e.online))("routerLink",e.online?He(27,aP,e.localPk):null),c(5),w("ngIf",e.isHypervisor),c(3),re(H(9,15,"nodes.state")),c(3),eo(i.nodeStatusClass(e,!1)+" title"),c(1),re(H(13,17,i.nodeStatusText(e,!1))),c(4),re(H(17,19,"nodes.label")),c(2),ce(": ",e.label," "),c(3),re(H(22,21,"nodes.key")),c(2),ce(": ",e.localPk," "),c(1),w("ngIf",i.showDmsgInfo),c(1),w("ngIf",i.showDmsgInfo),c(3),w("matTooltip",H(29,23,"common.options")),c(3),re("add")}}function TX(t,n){if(1&t){const e=et();k(0,"table",53)(1,"tr",54),ve("click",function(){return Pe(e),Oe(z(3).dataSorter.openSortingOrderModal())}),k(2,"td")(3,"div",55)(4,"div",56)(5,"div",9),I(6),R(7,"translate"),C(),k(8,"div"),I(9),R(10,"translate"),V(11,MX,3,3,"ng-container",24),V(12,wX,3,3,"ng-container",24),C()(),k(13,"div",57)(14,"mat-icon",42),I(15,"keyboard_arrow_down"),C()()()()(),V(16,DX,32,29,"a",58),C()}if(2&t){const e=z(3);c(6),re(H(7,6,"tables.sorting-title")),c(3),ce("",H(10,8,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource)}}function LX(t,n){if(1&t&&(k(0,"div",28)(1,"div",29),V(2,yX,23,19,"table",30),V(3,TX,17,10,"table",31),C()()),2&t){const e=z(2);c(2),w("ngIf",e.dataSource.length>0),c(1),w("ngIf",e.dataSource.length>0)}}function EX(t,n){if(1&t&&Ce(0,"app-paginator",27),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?qn(5,oP):qn(4,rP))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function IX(t,n){1&t&&(k(0,"span",73),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"nodes.empty")))}function PX(t,n){1&t&&(k(0,"span",73),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"nodes.empty-with-filter")))}function OX(t,n){if(1&t&&(k(0,"div",28)(1,"div",70)(2,"mat-icon",71),I(3,"warning"),C(),V(4,IX,3,3,"span",72),V(5,PX,3,3,"span",72),C()()),2&t){const e=z(2);c(2),w("inline",!0),c(2),w("ngIf",0===e.allNodes.length),c(1),w("ngIf",0!==e.allNodes.length)}}const AX=function(t){return{"paginator-icons-fixer":t}};function FX(t,n){if(1&t){const e=et();k(0,"div",5)(1,"div",6)(2,"app-top-bar",7),ve("refreshRequested",function(){return Pe(e),Oe(z().forceDataRefresh(!0))})("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))}),C()(),k(3,"div",6)(4,"div",8)(5,"div",9),V(6,JZ,5,4,"div",10),C(),k(7,"div",11)(8,"div",12),V(9,QZ,3,4,"mat-icon",13),V(10,eX,2,1,"mat-icon",14),k(11,"mat-menu",15,16)(13,"div",17),ve("click",function(){return Pe(e),Oe(z().removeOffline())}),I(14),R(15,"translate"),C()()(),V(16,tX,1,6,"app-paginator",18),C()(),V(17,LX,4,2,"div",19),V(18,EX,1,6,"app-paginator",18),V(19,OX,6,3,"div",19),C()()}if(2&t){const e=z();c(2),w("titleParts",qn(21,iP))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.options),c(2),w("ngClass",He(22,AX,e.numberOfPages>1)),c(2),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",e.allNodes&&e.allNodes.length>0),c(1),w("ngIf",e.dataSource.length>0),c(1),w("overlapTrigger",!1),c(2),In("disabled",!e.hasOfflineNodes),c(1),ce(" ",H(15,19,"nodes.delete-all-offline")," "),c(2),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0!==e.dataSource.length),c(1),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0===e.dataSource.length)}}let lP=(()=>{class t extends er{constructor(e,i,o,s,a,l,d,_,E,F,G){super(),this.nodeService=e,this.multipleNodeDataService=i,this.router=o,this.dialog=s,this.authService=a,this.storageService=l,this.ngZone=d,this.snackbarService=_,this.clipboardService=E,this.translateService=F,this.persistentServerDataResponseKey="serv-dat-response",this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new Vn(["isHypervisor"],"nodes.hypervisor",Xt.Boolean),this.stateSortData=new Vn(["online"],"nodes.state",Xt.Boolean),this.labelSortData=new Vn(["label"],"nodes.label",Xt.Text),this.keySortData=new Vn(["localPk"],"nodes.key",Xt.Text),this.dmsgServerSortData=new Vn(["dmsgServerPk"],"nodes.dmsg-server",Xt.Text,["dmsgServerPk_label"]),this.pingSortData=new Vn(["roundTripPing"],"nodes.ping",Xt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:$n.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:$n.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:$n.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:$n.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=Xi,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(_e=>{this.canLogOut=_e!==Fr.AuthDisabled,this.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);const ie=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(ie.push(this.dmsgServerSortData),ie.push(this.pingSortData)),this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,ie,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Yd(this.dialog,G,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_e=>{this.filteredNodes=_e,this.hasOfflineNodes=!1,this.filteredNodes.forEach(xe=>{xe.online||(this.hasOfflineNodes=!0)}),this.dataSorter.setData(this.filteredNodes)}),this.navigationsSubscription=G.paramMap.subscribe(_e=>{if(_e.has("page")){let xe=Number.parseInt(_e.get("page"),10);(isNaN(xe)||xe<1)&&(xe=1),this.currentPageInUrl=xe,this.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(()=>{this.multipleNodeDataService.forceRefresh()})}updateOptionsMenu(){this.options=[],this.options.push({name:"nodes.modify-rewards-all",actionName:"modifyRewardsAll",icon:"edit"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}ngOnInit(){return this.startGettingData(!0),this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Dh(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))}),super.ngOnInit()}ngOnDestroy(){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()}performAction(e){"logout"===e?this.logout():"updateAll"===e?this.updateAll():"modifyRewardsAll"===e&&this.changeRewardsToAll()}nodeStatusClass(e,i){return e.online?e.health&&e.health.servicesHealth===ro.Unhealthy?i?"dot-yellow blinking":"yellow-text":e.health&&e.health.servicesHealth===ro.Healthy?i?"dot-green":"green-text":i?"dot-outline-gray":"":i?"dot-red":"red-text"}nodeStatusText(e,i){return e.online?e.health&&e.health.servicesHealth===ro.Healthy?"node.statuses.online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===ro.Unhealthy?"node.statuses.partially-online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===ro.Connecting?"node.statuses.connecting"+(i?"-tooltip":""):"node.statuses.unknown"+(i?"-tooltip":""):"node.statuses.offline"+(i?"-tooltip":"")}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.multipleNodeDataService.forceRefresh()}startGettingData(e){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.multipleNodeDataService.startRequestingData();i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),this.updating=!s||s.updating,s&&!s.updating&&(s.data&&!s.error?(this.allNodes=s.data,this.showDmsgInfo&&this.allNodes.forEach(a=>{a.dmsgServerPk_label=fa.getCompleteLabel(this.storageService,this.translateService,a.dmsgServerPk)}),this.dataFilterer.setData(this.allNodes),this.loading=!1,this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=s.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-s.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1)):s.error&&(this.errorsUpdating||this.snackbarService.showError(this.loading?"common.loading-error":"nodes.error-load",null,!0,s.error),this.errorsUpdating=!0)),i&&this.startGettingData(!1)})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){const e=Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(i,i+e)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}logout(){const e=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}updateAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-update");const e=[],i=[];this.dataSource.forEach(o=>{if(o.online){const s={key:o.localPk,label:o.label,version:o.version,tag:o.buildTag};Zt.checkIfTagIsUpdatable(o.buildTag)?e.push(s):i.push(s)}}),eK.openDialog(this.dialog,e,i)}changeRewardsToAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-modify");const e=[];this.dataSource.forEach(o=>{o.online&&e.push({key:o.localPk,label:o.label})}),TK.openDialog(this.dialog,{nodes:e})}recursivelyUpdateWallets(e,i,o=0){return this.nodeService.update(e[e.length-1]).pipe(Co(()=>$e(null)),Ye(s=>(s&&s.updated&&!s.error?this.snackbarService.showDone(this.translateService.instant("nodes.update.done",{name:i[i.length-1]})):(this.snackbarService.showError(this.translateService.instant("nodes.update.update-error",{name:i[i.length-1]})),o+=1),e.pop(),i.pop(),e.length>=1?this.recursivelyUpdateWallets(e,i,o):$e(o))))}showOptionsDialog(e){const i=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&i.push({icon:"filter_none",label:"nodes.copy-dmsg"}),i.push({icon:"short_text",label:"labeled-element.edit-label"}),e.online||i.push({icon:"close",label:"nodes.delete-node"}),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.copySpecificTextToClipboard(e.localPk):this.showDmsgInfo?2===o?this.copySpecificTextToClipboard(e.dmsgServerPk):3===o?this.showEditLabelDialog(e):4===o&&this.deleteNode(e):2===o?this.showEditLabelDialog(e):3===o&&this.deleteNode(e)})}copyToClipboard(e){this.showDmsgInfo?Rr.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(o=>{1===o?this.copySpecificTextToClipboard(e.localPk):2===o&&this.copySpecificTextToClipboard(e.dmsgServerPk)}):this.copySpecificTextToClipboard(e.localPk)}copySpecificTextToClipboard(e){this.clipboardService.copy(e)&&this.snackbarService.showDone("copy.copied")}showEditLabelDialog(e){let i=this.storageService.getLabelInfo(e.localPk);i||(i={id:e.localPk,label:"",identifiedElementType:Xi.Node}),Y1.openDialog(this.dialog,i).afterClosed().subscribe(o=>{o&&this.forceDataRefresh()})}deleteNode(e){const i=Zt.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.setLocalNodesAsHidden([e.localPk],[e.ip]),this.forceDataRefresh(),this.snackbarService.showDone("nodes.deleted")})}removeOffline(){let e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");const i=Zt.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close();const o=[],s=[];this.filteredNodes.forEach(a=>{a.online||(o.push(a.localPk),s.push(a.ip))}),o.length>0&&(this.storageService.setLocalNodesAsHidden(o,s),this.forceDataRefresh(),1===o.length?this.snackbarService.showDone("nodes.deleted-singular"):this.snackbarService.showDone("nodes.deleted-plural",{number:o.length}))})}}return t.\u0275fac=function(e){return new(e||t)(N(ha),N(NI),N(hn),N(xn),N($h),N(Ji),N(ft),N(kn),N(tf),N(To),N(Cr))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-list"]],features:[nt],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 link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable","link-row",3,"ngClass","routerLink"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-button","","class","big-action-button transparent-button",3,"matTooltip",4,"ngIf"],["mat-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"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"selectable","click-effect",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[1,"link-row",3,"ngClass","routerLink"],[1,"d-block"],["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(e,i){1&e&&(V(0,qZ,4,5,"div",0),V(1,FX,20,24,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Pn,gi,Ft,Za,$r,nl,vn,Mi,Hd,ma,Bd,as,Vd,ac,fa,yt],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}.non-selectable[_ngcontent-%COMP%]{cursor:not-allowed}"]}),t})();const RX=["content"],B1=function(t){return{number:t}};function NX(t,n){if(1&t&&(k(0,"div",14),I(1),R(2,"translate"),C()),2&t){const e=z(2);c(1),ce(" ",kt(2,1,"node.logs.filter-ignored",He(4,B1,e.logEntries.length-e.filteredLogEntries.length))," ")}}function YX(t,n){if(1&t){const e=et();k(0,"div",9),ve("click",function(){return Pe(e),Oe(z().showFilters())}),k(1,"div",10)(2,"div")(3,"span"),I(4),R(5,"translate"),C(),k(6,"span",11),I(7),R(8,"translate"),C()(),V(9,NX,3,6,"div",12),C(),Ce(10,"div",13),C()}if(2&t){const e=z();c(4),ce("",H(5,3,"node.logs.selected-filter")," "),c(3),re(H(8,5,"node.logs."+e.levelDetails.get(e.currentMinimumLevel).levelFilterName)),c(2),w("ngIf",e.logEntries.length>e.filteredLogEntries.length)}}function HX(t,n){if(1&t&&(k(0,"div",15)(1,"a",16),I(2),R(3,"translate"),C()()),2&t){const e=z();c(1),w("href",e.getFullLogsUrl(),Vo),c(1),ce(" ",kt(3,2,"node.logs.view-rest",He(5,B1,e.totalLogs))," ")}}function BX(t,n){1&t&&(Ue(0),I(1,":"),We())}function VX(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z().$implicit;c(1),ce(" ",e.msg," ")}}function jX(t,n){if(1&t&&(Ue(0),k(1,"span",21),I(2),C(),k(3,"span"),I(4),C(),We()),2&t){const e=n.$implicit;c(2),ce(" ",e.name," "),c(2),ce(' ="',e.value,'" ')}}function zX(t,n){if(1&t&&(k(0,"div",15)(1,"span",18),I(2),C(),k(3,"span"),I(4),C(),I(5," [ "),k(6,"span",18),I(7),C(),k(8,"span",19),I(9),C(),I(10," ]"),V(11,BX,2,0,"ng-container",4),V(12,VX,2,1,"span",4),V(13,jX,5,2,"ng-container",20),C()),2&t){const e=n.$implicit,i=z(2);c(2),ce(" ",e.time," "),c(1),eo(i.levelDetails.get(e.level).colorClass),c(1),ce(" ",i.levelDetails.get(e.level).name," "),c(3),ce(" ",e.func," "),c(2),ce(" ",e._module," "),c(2),w("ngIf",e.msg),c(1),w("ngIf",e.msg),c(1),w("ngForOf",e.extra)}}function UX(t,n){if(1&t&&(Ue(0),V(1,zX,14,9,"div",17),We()),2&t){const e=z();c(1),w("ngForOf",e.filteredLogEntries)}}function WX(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.view-all")," "))}function $X(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z(2);c(1),ce(" ",kt(2,1,"node.logs.view-rest",He(4,B1,e.totalLogs))," ")}}function GX(t,n){if(1&t&&(k(0,"div",15)(1,"a",16),V(2,WX,3,3,"ng-container",4),V(3,$X,3,6,"ng-container",4),C()()),2&t){const e=z();c(1),w("href",e.getFullLogsUrl(),Vo),c(1),w("ngIf",!e.hasMoreLogMessages),c(1),w("ngIf",e.hasMoreLogMessages)}}function qX(t,n){1&t&&(k(0,"div",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.no-logs")," "))}function KX(t,n){1&t&&(k(0,"div",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.no-logs-for-filter")," "))}function ZX(t,n){1&t&&Ce(0,"app-loading-indicator",23),2&t&&w("showWhite",!1)}function XX(t,n){1&t&&(k(0,"mat-icon",26),I(1,"refresh"),C()),2&t&&w("inline",!0)}const JX=function(t){return{time:t}};function QX(t,n){if(1&t&&(k(0,"div",24),V(1,XX,2,1,"mat-icon",25),k(2,"span"),I(3),R(4,"translate"),C()()),2&t){const e=z();c(1),w("ngIf",!e.showAlert),c(2),re(kt(4,2,"refresh-button."+e.elapsedTime.translationVarName,He(5,JX,e.elapsedTime.elapsedTime)))}}var $t=(()=>(($t=$t||{})[$t.PanicLevel=0]="PanicLevel",$t[$t.FatalLevel=1]="FatalLevel",$t[$t.ErrorLevel=2]="ErrorLevel",$t[$t.WarnLevel=3]="WarnLevel",$t[$t.InfoLevel=4]="InfoLevel",$t[$t.DebugLevel=5]="DebugLevel",$t[$t.TraceLevel=6]="TraceLevel",$t[$t.Unknown=7]="Unknown",$t))();class eJ{constructor(){this.extra=[]}}let tJ=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.largeModalWidth,e.open(t,i)}constructor(e,i,o,s,a){this.dialogRef=e,this.nodeService=i,this.snackbarService=o,this.ngZone=s,this.dialog=a,this.levelDetails=new Map([[$t.PanicLevel,{name:"PANIC",colorClass:"panic-level-color",levelFilterName:"filter-panic",importance:8}],[$t.FatalLevel,{name:"FATAL",colorClass:"fatal-level-color",levelFilterName:"filter-faltal",importance:7}],[$t.ErrorLevel,{name:"ERROR",colorClass:"error-level-color",levelFilterName:"filter-error",importance:6}],[$t.WarnLevel,{name:"WARNING",colorClass:"warning-level-color",levelFilterName:"filter-warning",importance:5}],[$t.InfoLevel,{name:"INFO",colorClass:"info-level-color",levelFilterName:"filter-info",importance:4}],[$t.DebugLevel,{name:"DEBUG",colorClass:"debug-level-color",levelFilterName:"filter-debug",importance:3}],[$t.TraceLevel,{name:"TRACE",colorClass:"trace-level-color",levelFilterName:"filter-all",importance:2}],[$t.Unknown,{name:"UNKNOWN LOG",colorClass:"unknown-level-color",levelFilterName:"filter-all",importance:1}]]),this.currentMinimumLevel=$t.Unknown,this.loading=!0,this.LoadingMoment=0,this.maxElementsPerPage=1e3,this.logEntries=[],this.filteredLogEntries=[],this.hasMoreLogMessages=!1,this.totalLogs=0,this.shouldShowError=!0}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription(),this.removeTimeSubscription()}showFilters(){const e=[{icon:"",label:"node.logs.filter-all"},{icon:"",label:"node.logs.filter-debug"},{icon:"",label:"node.logs.filter-info"},{icon:"",label:"node.logs.filter-warning"},{icon:"",label:"node.logs.filter-error"},{icon:"",label:"node.logs.filter-faltal"},{icon:"",label:"node.logs.filter-panic"}],i=[$t.Unknown,$t.DebugLevel,$t.InfoLevel,$t.WarnLevel,$t.ErrorLevel,$t.FatalLevel,$t.PanicLevel];for(let o=0;o<=i.length;o++)this.currentMinimumLevel===i[o]&&(e[o].icon="check");Rr.openDialog(this.dialog,e,"node.logs.filter-title").afterClosed().subscribe(o=>{this.currentMinimumLevel=i[o-1],this.filter()})}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=$e(1).pipe(Ei(e),Ye(()=>this.nodeService.getRuntimeLogs(Mt.getCurrentNodeKey()))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}removeTimeSubscription(){this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}onLogsReceived(e){let i=0;this.totalLogs=e.length,this.hasMoreLogMessages=this.totalLogs-this.maxElementsPerPage>0,e.forEach(o=>{const s=new eJ;s.time=o.time,s._module=o._module,s.msg=o.msg,s.func=o.func;const a=o.level?o.level.toLowerCase():"";if(s.level=a.includes("panic")?$t.PanicLevel:a.includes("fatal")?$t.FatalLevel:a.includes("error")?$t.ErrorLevel:a.includes("warn")?$t.WarnLevel:a.includes("info")?$t.InfoLevel:a.includes("debug")?$t.DebugLevel:a.includes("trace")?$t.TraceLevel:$t.Unknown,o.current_backoff){const d=Math.floor(o.current_backoff/1e9),_=Math.floor(d/60),E=Math.floor(d%60);s.extra.push(_?{name:"current_backoff",value:_+"m"+E+"s"}:{name:"current_backoff",value:E+"s"})}o.error&&s.extra.push({name:"error",value:o.error});const l=new Set;l.add("time"),l.add("_module"),l.add("msg"),l.add("func"),l.add("level"),l.add("current_backoff"),l.add("error"),l.add("log_line");for(const d in o)l.has(d)||s.extra.push({name:d,value:o[d]});this.totalLogs-i<=this.maxElementsPerPage&&this.logEntries.push(s),i+=1}),this.loading=!1,this.LoadingMoment=Date.now(),this.startUpdatingTime(),this.filter()}filter(){this.filteredLogEntries=[];const e=this.levelDetails.get(this.currentMinimumLevel).importance;this.logEntries.forEach(i=>{const o=this.levelDetails.get(i.level).importance;e<=o&&this.filteredLogEntries.push(i)}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}startUpdatingTime(){this.elapsedTime=Og.getElapsedTime(Math.floor((Date.now()-this.LoadingMoment)/1e3)),this.removeTimeSubscription(),this.timeUpdateSubscription=Dh(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.elapsedTime=Og.getElapsedTime(Math.floor((Date.now()-this.LoadingMoment)/1e3))}))}getFullLogsUrl(){return window.location.origin+"/api/visors/"+Mt.getCurrentNodeKey()+"/runtime-logs"}onLogsError(e){e=Qt(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(ha),N(kn),N(ft),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-logs"]],viewQuery:function(e,i){if(1&e&&pt(RX,5),2&e){let o;it(o=rt())&&(i.content=o.first)}},decls:13,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],["class","top-dialog-button",3,"click",4,"ngIf"],["content",""],["class","log-entry",4,"ngIf"],[4,"ngIf"],["class","log-empty-msg",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"update-button","subtle-transparent-button",3,"click"],["class","update-time",4,"ngIf"],[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"actual-value"],["class","small",4,"ngIf"],[1,"top-dialog-button-margin"],[1,"small"],[1,"log-entry"],["target","_blank",1,"view-raw-link",3,"href"],["class","log-entry",4,"ngFor","ngForOf"],[1,"transparent"],[1,"module-color"],[4,"ngFor","ngForOf"],[1,"extra-data-color"],[1,"log-empty-msg"],[3,"showWhite"],[1,"update-time"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,YX,11,7,"div",1),k(3,"mat-dialog-content",null,2),V(5,HX,4,7,"div",3),V(6,UX,2,1,"ng-container",4),V(7,GX,4,3,"div",3),V(8,qX,3,3,"div",5),V(9,KX,3,3,"div",5),V(10,ZX,1,1,"app-loading-indicator",6),k(11,"div",7),ve("click",function(){return i.loadData(0)}),V(12,QX,5,7,"div",8),C()()()),2&e&&(w("headline",H(1,12,"node.logs.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),c(2),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0),c(3),w("ngIf",!i.loading&&i.hasMoreLogMessages),c(1),w("ngIf",!i.loading),c(1),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0),c(1),w("ngIf",!(i.loading||i.logEntries&&0!==i.logEntries.length)),c(1),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0&&i.filteredLogEntries.length<1),c(1),w("ngIf",i.loading),c(2),w("ngIf",!i.loading))},dependencies:[gi,Ft,ag,vn,Zn,as,yt],styles:[".top-dialog-button[_ngcontent-%COMP%]{color:#777!important}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{text-align:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .actual-value[_ngcontent-%COMP%]{color:#202226}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-size:.6rem}.log-entry[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.log-entry[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.log-entry[_ngcontent-%COMP%]:first-of-type{margin-top:0}.log-entry[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.log-empty-msg[_ngcontent-%COMP%]{text-align:center}.view-raw-link[_ngcontent-%COMP%]{color:#215f9e}.update-button[_ngcontent-%COMP%]{display:flex;justify-content:center;cursor:pointer}.update-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;margin-right:5px}.update-button[_ngcontent-%COMP%] .update-time[_ngcontent-%COMP%]{text-align:center;font-size:.7rem;color:#202226;margin:0 5px}.panic-level-color[_ngcontent-%COMP%], .fatal-level-color[_ngcontent-%COMP%]{color:red}.error-level-color[_ngcontent-%COMP%]{color:#d10000}.warning-level-color[_ngcontent-%COMP%]{color:#e27505}.info-level-color[_ngcontent-%COMP%]{color:#0d9519}.debug-level-color[_ngcontent-%COMP%]{color:#0065ff}.trace-level-color[_ngcontent-%COMP%]{color:#468cf5}.unknown-level-color[_ngcontent-%COMP%]{color:#e27505}.module-color[_ngcontent-%COMP%]{color:#a119fc}.extra-data-color[_ngcontent-%COMP%]{color:#ad8021}"]}),t})();class cP{constructor(n,e){this.canBeUpdated=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=n.get(xn),this.router=n.get(hn),this.snackbarService=n.get(kn),this.nodeService=n.get(ha),this.storageService=n.get(Ji),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}updateOptions(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.options.push({name:"actions.menu.turn-off",actionName:"shutdown",icon:"power_settings_new"})}setCurrentNode(n){this.currentNode=n,this.canBeUpdated=!!Zt.checkIfTagIsUpdatable(n.buildTag),this.canOpenTerminal=Zt.checkIfTagCanOpenterminal(n.buildTag),this.updateOptions()}setCurrentNodeKey(n){this.currentNodeKey=n}performAction(n,e){"terminal"===n?this.terminal():"update"===n?this.update():"logs"===n?this.runtimeLogs():"shutdown"===n?this.shutdown():null===n&&this.back()}dispose(){this.updateSubscription&&this.updateSubscription.unsubscribe(),this.shutdownSubscription&&this.shutdownSubscription.unsubscribe()}shutdown(){const n=Zt.createConfirmationDialog(this.dialog,"actions.turn-off.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.showProcessing(),this.shutdownSubscription=this.nodeService.shutdown(this.currentNodeKey).subscribe(()=>{this.snackbarService.showDone("actions.turn-off.done"),n.close(),this.router.navigate(["nodes"])},e=>{e=Qt(e),n.componentInstance.showDone("confirmation.error-header-text",e.translatableErrorMsg)})})}update(){const n=Zt.createConfirmationDialog(this.dialog,"actions.update.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{const e=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(e+"//"+i+"/pty/"+this.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),n.close()})}terminal(){const n=window.location.protocol,e=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(n+"//"+e+"/pty/"+this.currentNodeKey,"_blank","noopener noreferrer")}runtimeLogs(){tJ.openDialog(this.dialog)}back(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}class nJ{constructor(){this.trafficData=new iJ}}class iJ{constructor(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}class rJ{constructor(){this.lastEmitedData=new nJ,this.dataSubject=new Or(null),this.whenUpdateWasScheduled=0,this.stopRequestedDate=-1}}let oJ=(()=>{class t{constructor(e,i){this.storageService=e,this.nodeService=i,this.maxTrafficHistorySlots=10,this.expirationTime=6e4,this.nodesMap=new Map,this.storageService.getRefreshTimeObservable().subscribe(o=>{this.dataRefreshDelay=1e3*o,this.nodesMap.forEach(s=>{this.forceSpecificNodeRefresh(s.pk)})}),this.checkForExpired()}checkForExpired(){$e(1).pipe(Ei(5e3)).subscribe(()=>{try{this.nodesMap.forEach(e=>{this.finishIfExpired(e)})}catch{}this.checkForExpired()})}startRequestingData(e){let i=this.nodesMap.get(e);return i?i.stopRequestedDate=-1:(i=new rJ,i.pk=e,this.nodesMap.set(e,i),this.startDataSubscription(0,i)),i.dataSubject.asObservable()}stopRequestingSpecificNode(e){const i=this.nodesMap.get(e);i&&(i.stopRequestedDate=Date.now())}startDataSubscription(e,i){i.updateSubscription&&i.updateSubscription.unsubscribe(),i.updateSubscription=$e(1).pipe(Ei(e),bi(()=>{i.lastEmitedData.updating=!0,i.dataSubject.next(i.lastEmitedData)}),Ei(120),Ye(()=>this.nodeService.getNode(i.pk))).subscribe(o=>{this.updateTrafficData(o.transports,i.lastEmitedData.trafficData,i.whenUpdateWasScheduled);let s=this.calculateRemainingTime(i.whenUpdateWasScheduled);s<1e3&&(i.whenUpdateWasScheduled=Date.now(),s=this.dataRefreshDelay),i.lastEmitedData={data:o,error:null,momentOfLastCorrectUpdate:Date.now(),updating:!1,trafficData:i.lastEmitedData.trafficData},i.dataSubject.next(i.lastEmitedData),this.startDataSubscription(s,i)},o=>{o=Qt(o),i.lastEmitedData={data:i.lastEmitedData.data,error:o,momentOfLastCorrectUpdate:i.lastEmitedData.momentOfLastCorrectUpdate,updating:!1,trafficData:i.lastEmitedData.trafficData},i.dataSubject.next(i.lastEmitedData),o.originalError&&400===o.originalError.status?(i.dataSubject.complete(),i.updateSubscription.unsubscribe(),this.nodesMap.delete(i.pk)):this.startDataSubscription(Bt.connectionRetryDelay,i)})}calculateRemainingTime(e){if(e<1)return 0;let i=this.dataRefreshDelay-(Date.now()-e);return i<0&&(i=0),i}updateTrafficData(e,i,o){if(i.totalSent=0,i.totalReceived=0,e&&e.length>0&&(i.totalSent=e.reduce((s,a)=>s+a.sent,0),i.totalReceived=e.reduce((s,a)=>s+a.recv,0)),0===i.sentHistory.length)for(let s=0;sthis.maxTrafficHistorySlots&&(a=this.maxTrafficHistorySlots),0===a)i.sentHistory[i.sentHistory.length-1]=i.totalSent,i.receivedHistory[i.receivedHistory.length-1]=i.totalReceived;else for(let l=0;lthis.maxTrafficHistorySlots&&(i.sentHistory.splice(0,i.sentHistory.length-this.maxTrafficHistorySlots),i.receivedHistory.splice(0,i.receivedHistory.length-this.maxTrafficHistorySlots))}}forceSpecificNodeRefresh(e){const i=this.nodesMap.get(e);i&&this.startDataSubscription(0,i)}finishIfExpired(e){e.stopRequestedDate>0&&Date.now()-e.stopRequestedDate>this.expirationTime&&(e.dataSubject.complete(),e.updateSubscription.unsubscribe(),this.nodesMap.delete(e.pk))}}return t.\u0275fac=function(e){return new(e||t)(we(Ji),we(ha))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function sJ(t,n){1&t&&Ce(0,"app-loading-indicator")}function aJ(t,n){1&t&&(k(0,"div",6)(1,"div")(2,"mat-icon",7),I(3,"error"),C(),I(4),R(5,"translate"),C()()),2&t&&(c(2),w("inline",!0),c(2),ce(" ",H(5,2,"node.not-found")," "))}function lJ(t,n){if(1&t){const e=et();k(0,"div",2)(1,"div")(2,"app-top-bar",3),ve("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))}),C()(),V(3,sJ,1,0,"app-loading-indicator",4),V(4,aJ,6,4,"div",5),C()}if(2&t){const e=z();c(2),w("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("showUpdateButton",!1)("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound)}}function cJ(t,n){if(1&t&&Ce(0,"app-node-info-content",15),2&t){const e=z(2);w("nodeInfo",e.node)("trafficData",e.trafficData)}}const dJ=function(t,n){return{"main-area":t,"full-size-main-area":n}},uJ=function(t){return{"d-none":t}};function hJ(t,n){if(1&t){const e=et();k(0,"div",8)(1,"div",9)(2,"app-top-bar",10),ve("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))})("refreshRequested",function(){return Pe(e),Oe(z().forceDataRefresh(!0))}),C()(),k(3,"div",9)(4,"div",11)(5,"div",12),Ce(6,"router-outlet"),C()(),k(7,"div",13),V(8,cJ,1,2,"app-node-info-content",14),C()()()}if(2&t){const e=z();c(2),w("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),c(2),w("ngClass",mn(12,dJ,!e.showingInfo&&!e.showingFullList,e.showingInfo||e.showingFullList)),c(3),w("ngClass",He(15,uJ,e.showingInfo||e.showingFullList)),c(1),w("ngIf",!e.showingInfo&&!e.showingFullList)}}let Mt=(()=>{class t extends er{static refreshCurrentDisplayedData(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)}static getCurrentNodeKey(){return t.currentNodeKey}static get currentNode(){return t.nodeSubject.asObservable()}static get currentTrafficData(){return t.trafficDataSubject.asObservable()}constructor(e,i,o,s,a,l,d){super(),this.storageService=e,this.singleNodeDataService=i,this.route=o,this.ngZone=s,this.snackbarService=a,this.injector=l,this.persistentDataResponseKey="serv-dat-response",this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.initialRouteEventFired=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new ko(1),t.trafficDataSubject=new ko(1),t.currentInstanceInternal=this,this.navigationsSubscription=d.events.subscribe(_=>{_.urlAfterRedirects&&(this.lastUrl=_.urlAfterRedirects,this.processRouteUpdate(),this.initialRouteEventFired=!0)})}ngOnInit(){return this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Dh(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))}),this.initSubscription=$e(0).pipe(Ei(500)).subscribe(()=>{this.initialRouteEventFired||(this.lastUrl=window.location.href,this.processRouteUpdate())}),super.ngOnInit()}processRouteUpdate(){t.currentNodeKey=this.route.snapshot.params.key,this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.updateTabBar(),this.navigationsSubscription.unsubscribe(),this.startGettingData(!0)}updateTabBar(){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 cP(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 cP(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);let 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=[]}performAction(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.singleNodeDataService.forceSpecificNodeRefresh(t.currentNodeKey)}startGettingData(e){const i=e?this.getLocalValue(this.persistentDataResponseKey):null;let o=this.singleNodeDataService.startRequestingData(t.currentNodeKey);i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{if(i||this.saveLocalValue(this.persistentDataResponseKey,JSON.stringify(s)),this.updating=!s||s.updating,s&&!s.updating)if(s.data&&!s.error)this.node=s.data,this.trafficData=s.trafficData,t.nodeSubject.next(this.node),t.trafficDataSubject.next(this.trafficData),this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNode(this.node),this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=s.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-s.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1);else if(s.error){if(s.error.originalError&&400===s.error.originalError.status)return void(this.notFound=!0);this.errorsUpdating||this.snackbarService.showError(this.node?"node.error-load":"common.loading-error",null,!0,s.error),this.errorsUpdating=!0}i&&this.startGettingData(!1)})}ngOnDestroy(){this.singleNodeDataService.stopRequestingSpecificNode(t.currentNodeKey),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.initSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,t.trafficDataSubject.complete(),t.trafficDataSubject=void 0,this.nodeActionsHelper.dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Ji),N(oJ),N(Cr),N(ft),N(kn),N(Ti),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node"]],features:[nt],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","trafficData",4,"ngIf"],[3,"nodeInfo","trafficData"]],template:function(e,i){1&e&&(V(0,lJ,5,8,"div",0),V(1,hJ,9,17,"div",1)),2&e&&(w("ngIf",!i.node),c(1),w("ngIf",i.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 fJ(t,n){if(1&t&&(k(0,"mat-option",10),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;In("value",e),c(1),vo(" ",e," ",H(2,3,"settings.seconds")," ")}}let pJ=(()=>{class t{constructor(e,i,o){this.formBuilder=e,this.storageService=i,this.snackbarService=o,this.timesList=["3","5","10","15","30","60","90","150","300"]}ngOnInit(){this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(e=>{this.storageService.setRefreshTime(e),this.snackbarService.showDone("settings.refresh-rate-confirmation")})}ngOnDestroy(){this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(_r),N(Ji),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-refresh-rate"]],decls:14,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[1,"help-icon",3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","refreshRate"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),R(4,"translate"),I(5," help "),C()(),k(6,"form",4)(7,"mat-form-field",5)(8,"div",6)(9,"label",7),I(10),R(11,"translate"),C(),k(12,"mat-select",8),V(13,fJ,3,5,"mat-option",9),C()()()()()()),2&e&&(c(3),w("inline",!0)("matTooltip",H(4,5,"settings.refresh-rate-help")),c(3),w("formGroup",i.form),c(4),re(H(11,7,"settings.refresh-rate")),c(3),w("ngForOf",i.timesList))},dependencies:[gi,Ai,Pi,Oi,ti,yi,tr,vn,Mi,Nd,Xl,yt],styles:[".help-icon[_ngcontent-%COMP%]{display:inline}mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{margin-bottom:0!important}"]}),t})();const mJ=function(t){return{number:t}};let Ag=(()=>{class t{constructor(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"a",1),I(2),R(3,"translate"),k(4,"mat-icon",2),I(5,"chevron_right"),C()()()),2&e&&(c(1),w("routerLink",i.linkParts)("queryParams",i.queryParams),c(1),ce(" ",kt(3,4,"view-all-link.label",He(7,mJ,i.numberOfElements))," "),c(2),w("inline",!0))},dependencies:[Za,vn,yt],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:7px}"]}),t})();function gJ(t,n){1&t&&(k(0,"span",14),I(1),R(2,"translate"),k(3,"mat-icon",15),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"labels.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"labels.info")))}function _J(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function bJ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function vJ(t,n){if(1&t&&(k(0,"div",19)(1,"span"),I(2),R(3,"translate"),C(),V(4,_J,3,3,"ng-container",20),V(5,bJ,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function yJ(t,n){if(1&t){const e=et();k(0,"div",16),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,vJ,6,5,"div",17),k(2,"div",18),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function MJ(t,n){if(1&t){const e=et();k(0,"mat-icon",21),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function wJ(t,n){if(1&t&&(k(0,"mat-icon",22),I(1,"more_horiz"),C()),2&t){z();const e=ci(9);w("inline",!0)("matMenuTriggerFor",e)}}const V1=function(){return["/settings","labels"]};function CJ(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",qn(4,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function xJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function kJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function SJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function DJ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td",38)(2,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),I(4),C(),k(5,"td"),I(6),C(),k(7,"td"),I(8),R(9,"translate"),C(),k(10,"td",29)(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).delete(s.id))}),R(12,"translate"),k(13,"mat-icon",36),I(14,"close"),C()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("checked",i.selections.get(e.id)),c(2),ce(" ",e.label," "),c(2),ce(" ",e.id," "),c(2),vo(" ",i.getLabelTypeIdentification(e)[0]," - ",H(9,7,i.getLabelTypeIdentification(e)[1])," "),c(3),w("matTooltip",H(12,9,"labels.delete")),c(2),w("inline",!0)}}function TJ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function LJ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function EJ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",34)(6,"div",42)(7,"span",1),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",43)(12,"span",1),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",42)(17,"span",1),I(18),R(19,"translate"),C(),I(20),R(21,"translate"),C()(),Ce(22,"div",44),k(23,"div",35)(24,"button",45),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(25,"translate"),k(26,"mat-icon"),I(27),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(4),w("checked",i.selections.get(e.id)),c(4),re(H(9,10,"labels.label")),c(2),ce(": ",e.label," "),c(3),re(H(14,12,"labels.id")),c(2),ce(": ",e.id," "),c(3),re(H(19,14,"labels.type")),c(2),vo(": ",i.getLabelTypeIdentification(e)[0]," - ",H(21,16,i.getLabelTypeIdentification(e)[1])," "),c(4),w("matTooltip",H(25,18,"common.options")),c(3),re("add")}}function IJ(t,n){if(1&t&&Ce(0,"app-view-all-link",46),2&t){const e=z(2);w("numberOfElements",e.filteredLabels.length)("linkParts",qn(3,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const PJ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},OJ=function(t){return{"d-lg-none d-xl-table":t}},AJ=function(t){return{"d-lg-table d-xl-none":t}};function FJ(t,n){if(1&t){const e=et();k(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ce(4,"th"),k(5,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.labelSortData))}),I(6),R(7,"translate"),V(8,xJ,2,2,"mat-icon",28),C(),k(9,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.idSortData))}),I(10),R(11,"translate"),V(12,kJ,2,2,"mat-icon",28),C(),k(13,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(14),R(15,"translate"),V(16,SJ,2,2,"mat-icon",28),C(),Ce(17,"th",29),C(),V(18,DJ,15,11,"tr",30),C(),k(19,"table",31)(20,"tr",32),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),I(25),R(26,"translate"),C(),k(27,"div"),I(28),R(29,"translate"),V(30,TJ,3,3,"ng-container",20),V(31,LJ,3,3,"ng-container",20),C()(),k(32,"div",35)(33,"mat-icon",36),I(34,"keyboard_arrow_down"),C()()()()(),V(35,EJ,28,20,"tr",30),C(),V(36,IJ,1,4,"app-view-all-link",37),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(27,PJ,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(30,OJ,e.showShortList_)),c(4),ce(" ",H(7,17,"labels.label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),c(2),ce(" ",H(11,19,"labels.id")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),c(2),ce(" ",H(15,21,"labels.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(32,AJ,e.showShortList_)),c(6),re(H(26,23,"tables.sorting-title")),c(3),ce("",H(29,25,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function RJ(t,n){1&t&&(k(0,"span",50),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"labels.empty")))}function NJ(t,n){1&t&&(k(0,"span",50),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"labels.empty-with-filter")))}function YJ(t,n){if(1&t&&(k(0,"div",24)(1,"div",47)(2,"mat-icon",48),I(3,"warning"),C(),V(4,RJ,3,3,"span",49),V(5,NJ,3,3,"span",49),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allLabels.length),c(1),w("ngIf",0!==e.allLabels.length)}}function HJ(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",qn(4,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const BJ=function(t){return{"paginator-icons-fixer":t}};let dP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredLabels)}constructor(e,i,o,s,a,l){this.dialog=e,this.route=i,this.router=o,this.snackbarService=s,this.translateService=a,this.storageService=l,this.listId="ll",this.labelSortData=new Vn(["label"],"labels.label",Xt.Text),this.idSortData=new Vn(["id"],"labels.id",Xt.Text),this.typeSortData=new Vn(["identifiedElementType_sort"],"labels.type",Xt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:$n.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:$n.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:$n.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:Xi.Node,label:"labels.filter-dialog.type-options.visor"},{value:Xi.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:Xi.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Yd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredLabels=_,this.dataSorter.setData(this.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}loadData(){this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(e=>{e.identifiedElementType_sort=this.getLabelTypeIdentification(e)[0]}),this.dataFilterer.setData(this.allLabels)}getLabelTypeIdentification(e){return e.identifiedElementType===Xi.Node?["1","labels.filter-dialog.type-options.visor"]:e.identifiedElementType===Xi.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:e.identifiedElementType===Xi.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.close(),this.selections.forEach((i,o)=>{i&&this.storageService.saveLabel(o,"",null)}),this.snackbarService.showDone("labels.deleted"),this.loadData()})}showOptionsDialog(e){Rr.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(o=>{1===o&&this.delete(e.id)})}delete(e){const i=Zt.createConfirmationDialog(this.dialog,"labels.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.saveLabel(e,"",null),this.snackbarService.showDone("labels.deleted"),this.loadData()})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredLabels){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(i,i+e);const s=new Map;this.labelsToShow.forEach(l=>{s.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,gJ,6,7,"span",2),V(3,yJ,5,4,"div",3),C(),k(4,"div",4)(5,"div",5),V(6,MJ,3,4,"mat-icon",6),V(7,wJ,2,2,"mat-icon",7),k(8,"mat-menu",8,9)(10,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(11),R(12,"translate"),C(),k(13,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(14),R(15,"translate"),C(),k(16,"div",11),ve("click",function(){return i.deleteSelected()}),I(17),R(18,"translate"),C()()(),V(19,CJ,1,5,"app-paginator",12),C()(),V(20,FJ,37,34,"div",13),V(21,YJ,6,3,"div",13),V(22,HJ,1,5,"app-paginator",12)),2&e&&(w("ngClass",He(20,BJ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allLabels&&i.allLabels.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(12,14,"selection.select-all")," "),c(3),ce(" ",H(15,16,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(18,18,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,nl,vn,Mi,Hd,ma,Bd,pa,Ag,Vd,yt],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}"]}),t})();function VJ(t,n){1&t&&Ce(0,"app-password")}function jJ(t,n){1&t&&(k(0,"div",8),Ce(1,"mat-spinner",9),I(2),R(3,"translate"),C()),2&t&&(c(1),w("diameter",11),c(1),ce(" ",H(3,2,"settings.checking-auth")," "))}const zJ=function(){return["start.title"]};let UJ=(()=>{class t extends er{constructor(e,i,o,s){super(),this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.persistentAuthDataResponseKey="serv-aut-response",this.tabsData=[],this.options=[],this.waitBeforeShowingLoading=!0,this.authChecked=!1,this.authActive=!1,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.updateOptionsMenu()}ngOnInit(){return setTimeout(()=>{this.waitBeforeShowingLoading=!1},500),this.checkAuth(0,!0),super.ngOnInit()}checkAuth(e,i){const o=i?this.getLocalValue(this.persistentAuthDataResponseKey):null;let s=this.authService.checkLogin();o&&(s=$e(JSON.parse(o.value))),this.authSubscription=$e(1).pipe(Ei(e),Ye(()=>s)).subscribe(a=>{o||this.saveLocalValue(this.persistentAuthDataResponseKey,JSON.stringify(a)),this.authChecked=!0,this.authActive=a===Fr.Logged,this.updateOptionsMenu(),o&&this.checkAuth(0,!1)},()=>{this.checkAuth(15e3,!1)})}ngOnDestroy(){this.authSubscription.unsubscribe()}updateOptionsMenu(){this.options=[],this.authActive&&(this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}])}performAction(e){"logout"===e&&this.logout()}logout(){const e=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}}return t.\u0275fac=function(e){return new(e||t)(N($h),N(hn),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-settings"]],features:[nt],decls:8,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"],[4,"ngIf"],["class","white-theme checking-container",4,"ngIf"],[3,"showShortList"],[1,"white-theme","checking-container"],[3,"diameter"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"app-top-bar",2),ve("optionSelected",function(s){return i.performAction(s)}),C()(),k(3,"div",3),Ce(4,"app-refresh-rate",4),V(5,VJ,1,0,"app-password",5),V(6,jJ,4,4,"div",6),Ce(7,"app-label-list",7),C()()),2&e&&(c(2),w("titleParts",qn(8,zJ))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",i.options),c(3),w("ngIf",i.authChecked&&i.authActive),c(1),w("ngIf",!i.authChecked&&!i.waitBeforeShowingLoading),c(1),w("showShortList",!0))},dependencies:[Ft,tc,FI,pJ,ac,dP,yt],styles:[".checking-container[_ngcontent-%COMP%]{font-size:10px;opacity:.5}.checking-container[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{display:inline-block}.show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t})(),j1=(()=>{class t{constructor(e){this.apiService=e}create(e,i,o){const s={remote_pk:i};return o&&(s.transport_type=o),this.apiService.post(`visors/${e}/transports`,s)}delete(e,i){return this.apiService.delete(`visors/${e}/transports/${i}`)}savePersistentTransportsData(e,i){return this.apiService.put(`visors/${e}/persistent-transports`,i)}getPersistentTransports(e){return this.apiService.get(`visors/${e}/persistent-transports`)}types(e){return this.apiService.get(`visors/${e}/transport-types`)}changeAutoconnectSetting(e,i){const o={};return o.public_autoconnect=i,this.apiService.put(`visors/${e}/public-autoconnect`,o)}}return t.\u0275fac=function(e){return new(e||t)(we(ol))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const WJ=["button"],$J=["firstInput"];function GJ(t,n){1&t&&Ce(0,"app-loading-indicator",5),2&t&&w("showWhite",!1)}function qJ(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"transports.dialog.errors.remote-key-length-error")))}function KJ(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.dialog.errors.remote-key-chars-error")))}function ZJ(t,n){if(1&t&&(k(0,"mat-option",19),I(1),C()),2&t){const e=n.$implicit;w("value",e),c(1),re(e)}}const Fg=function(t){return{"element-disabled":t}};function XJ(t,n){if(1&t){const e=et();k(0,"form",6)(1,"mat-form-field",7)(2,"div",8)(3,"label",9),I(4),R(5,"translate"),C(),Ce(6,"input",10,11),C(),k(8,"mat-error"),V(9,qJ,4,3,"ng-container",12),C(),V(10,KJ,3,3,"ng-template",null,13,Es),C(),k(12,"mat-form-field",7)(13,"div",8)(14,"label",9),I(15),R(16,"translate"),C(),Ce(17,"input",14),C()(),k(18,"mat-form-field",7)(19,"div",8)(20,"label",9),I(21),R(22,"translate"),C(),k(23,"mat-select",15),V(24,ZJ,2,2,"mat-option",16),C()(),k(25,"mat-error")(26,"span"),I(27),R(28,"translate"),C()()(),k(29,"mat-checkbox",17),ve("change",function(o){return Pe(e),Oe(z().setMakePersistent(o))}),I(30),R(31,"translate"),k(32,"mat-icon",18),R(33,"translate"),I(34,"help"),C()()()}if(2&t){const e=ci(11),i=z();w("formGroup",i.form),c(1),w("ngClass",He(28,Fg,i.disableDismiss)),c(3),re(H(5,16,"transports.dialog.remote-key")),c(5),w("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",e),c(3),w("ngClass",He(30,Fg,i.disableDismiss)),c(3),re(H(16,18,"transports.dialog.label")),c(3),w("ngClass",He(32,Fg,i.disableDismiss)),c(3),re(H(22,20,"transports.dialog.transport-type")),c(3),w("ngForOf",i.types),c(3),re(H(28,22,"transports.dialog.errors.transport-type-error")),c(2),w("checked",i.makePersistent)("ngClass",He(34,Fg,i.disableDismiss)),c(1),ce(" ",H(31,24,"transports.dialog.make-persistent")," "),c(2),w("inline",!0)("matTooltip",H(33,26,"transports.dialog.persistent-tooltip"))}}let JJ=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.mediumModalWidth,e.open(t,i)}constructor(e,i,o,s,a,l){this.transportService=e,this.formBuilder=i,this.dialogRef=o,this.snackbarService=s,this.storageService=a,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}ngOnInit(){this.form=this.formBuilder.group({remoteKey:["",Yt.compose([Yt.required,Yt.minLength(66),Yt.maxLength(66),Yt.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",Yt.required]}),this.loadData(0)}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setMakePersistent(e){this.makePersistent=!!e.checked}create(){if(!this.form.valid||this.button.disabled)return;this.button.showLoading();const e=this.form.get("remoteKey").value,i=this.form.get("type").value,o=this.form.get("label").value;if(this.makePersistent){const s=this.transportService.getPersistentTransports(Mt.getCurrentNodeKey());this.operationSubscription=s.subscribe(a=>{const l=a||[];let d=!1;l.forEach(_=>{_.pk.toUpperCase()===e.toUpperCase()&&_.type.toUpperCase()===i.toUpperCase()&&(d=!0)}),d?this.createTransport(e,i,o,!0):this.createPersistent(l,e,i,o)},a=>{this.onError(a)})}else this.createTransport(e,i,o,!1)}createPersistent(e,i,o,s){e.push({pk:i,type:o}),this.operationSubscription=this.transportService.savePersistentTransportsData(Mt.getCurrentNodeKey(),e).subscribe(()=>{this.createTransport(i,o,s,!0)},a=>{this.onError(a)})}createTransport(e,i,o,s){this.operationSubscription=this.transportService.create(Mt.getCurrentNodeKey(),e,i).subscribe(a=>{let l=!1;o&&(a&&a.id?this.storageService.saveLabel(a.id,o,Xi.Transport):l=!0),Mt.refreshCurrentDisplayedData(),this.dialogRef.close(),l?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},a=>{s?(Mt.refreshCurrentDisplayedData(),this.dialogRef.close(),this.snackbarService.showWarning("transports.dialog.only-persistent-created")):this.onError(a)})}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}loadData(e){this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=$e(1).pipe(Ei(e),Ye(()=>this.transportService.types(Mt.getCurrentNodeKey()))).subscribe(i=>{i.sort((s,a)=>"stcp"===s.toLowerCase()?1:"stcp"===a.toLowerCase()?-1:s.localeCompare(a));let o=i.findIndex(s=>"dmsg"===s.toLowerCase());o=-1!==o?o:0,this.types=i,this.form.get("type").setValue(i[o]),this.snackbarService.closeCurrentIfTemporaryError(),setTimeout(()=>this.firstInput.nativeElement.focus())},i=>{i=Qt(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(j1),N(_r),N(On),N(kn),N(Ji),N(ha))},t.\u0275cmp=Ke({type:t,selectors:[["app-create-transport"]],viewQuery:function(e,i){if(1&e&&(pt(WJ,5),pt($J,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:8,vars:11,consts:[[3,"headline","dialog","disableDismiss"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","remoteKey","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput",""],["formControlName","type"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,GJ,1,1,"app-loading-indicator",1),V(3,XJ,35,36,"form",2),k(4,"app-button",3,4),ve("action",function(){return i.create()}),I(6),R(7,"translate"),C()()),2&e&&(w("headline",H(1,7,"transports.create"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("ngIf",!i.types),c(1),w("ngIf",i.types),c(1),w("disabled",!i.form.valid),c(2),ce(" ",H(7,9,"transports.create")," "))},dependencies:[Pn,gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,vn,Mi,Nd,Xl,pa,Fi,Zn,as,yt],styles:["mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}"]}),t})();function QJ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),k(3,"mat-icon",6),R(4,"translate"),I(5,"help"),C(),We()),2&t&&(c(1),ce(" ",H(2,3,"common.yes")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"transports.persistent-transport-tooltip")))}function eQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.no")))}let tQ=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i){this.data=e,this.dialogRef=i}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-transport-details"]],decls:51,vars:45,consts:[[1,"info-dialog",3,"headline","dialog"],[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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div")(3,"div",1)(4,"mat-icon",2),I(5,"list"),C(),I(6),R(7,"translate"),C(),k(8,"div",3)(9,"span"),I(10),R(11,"translate"),C(),V(12,QJ,6,7,"ng-container",4),V(13,eQ,3,3,"ng-container",4),C(),k(14,"div",3)(15,"span"),I(16),R(17,"translate"),C(),I(18),C(),k(19,"div",3)(20,"span"),I(21),R(22,"translate"),C(),I(23),C(),k(24,"div",3)(25,"span"),I(26),R(27,"translate"),C(),I(28),C(),k(29,"div",3)(30,"span"),I(31),R(32,"translate"),C(),I(33),C(),k(34,"div",5)(35,"mat-icon",2),I(36,"import_export"),C(),I(37),R(38,"translate"),C(),k(39,"div",3)(40,"span"),I(41),R(42,"translate"),C(),I(43),R(44,"autoScale"),C(),k(45,"div",3)(46,"span"),I(47),R(48,"translate"),C(),I(49),R(50,"autoScale"),C()()()),2&e&&(w("headline",H(1,21,"transports.details.title"))("dialog",i.dialogRef),c(4),w("inline",!0),c(2),ce("",H(7,23,"transports.details.basic.title")," "),c(4),re(H(11,25,"transports.details.basic.persistent")),c(2),w("ngIf",i.data.isPersistent),c(1),w("ngIf",!i.data.isPersistent),c(3),re(H(17,27,"transports.details.basic.id")),c(2),ce(" ",i.data.id," "),c(3),re(H(22,29,"transports.details.basic.local-pk")),c(2),ce(" ",i.data.localPk," "),c(3),re(H(27,31,"transports.details.basic.remote-pk")),c(2),ce(" ",i.data.remotePk," "),c(3),re(H(32,33,"transports.details.basic.type")),c(2),ce(" ",i.data.type," "),c(2),w("inline",!0),c(2),ce("",H(38,35,"transports.details.data.title")," "),c(4),re(H(42,37,"transports.details.data.uploaded")),c(2),ce(" ",H(44,39,i.data.sent)," "),c(4),re(H(48,41,"transports.details.data.downloaded")),c(2),ce(" ",H(50,43,i.data.recv)," "))},dependencies:[Ft,vn,Mi,Zn,yt,sf],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),t})();function nQ(t,n){1&t&&(k(0,"span",15),I(1),R(2,"translate"),k(3,"mat-icon",16),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"transports.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"transports.info")))}function iQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function rQ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function oQ(t,n){if(1&t&&(k(0,"div",20)(1,"span"),I(2),R(3,"translate"),C(),V(4,iQ,3,3,"ng-container",21),V(5,rQ,2,1,"ng-container",21),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function sQ(t,n){if(1&t){const e=et();k(0,"div",17),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,oQ,6,5,"div",18),k(2,"div",19),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function aQ(t,n){if(1&t){const e=et();k(0,"mat-icon",22),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),I(1,"filter_list"),C()}2&t&&w("inline",!0)}function lQ(t,n){if(1&t&&(k(0,"mat-icon",23),I(1,"more_horiz"),C()),2&t){z();const e=ci(11);w("inline",!0)("matMenuTriggerFor",e)}}const z1=function(t){return["/nodes",t,"transports"]};function cQ(t,n){if(1&t&&Ce(0,"app-paginator",24),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function dQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function uQ(t,n){1&t&&(Ue(0),I(1,"*"),We())}function hQ(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",39),I(2),C(),V(3,uQ,2,0,"ng-container",21),We()),2&t){const e=z(2);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function fQ(t,n){1&t&&(Ue(0),I(1,"*"),We())}function pQ(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",39),I(2),C(),V(3,fQ,2,0,"ng-container",21),We()),2&t){const e=z(2);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function mQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function gQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function _Q(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function bQ(t,n){if(1&t){const e=et();k(0,"button",48),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).changeIfPersistent([o],!1))}),R(1,"translate"),k(2,"mat-icon",49),I(3,"star"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.persistent-transport-button-tooltip")),c(2),w("inline",!0))}function vQ(t,n){if(1&t){const e=et();k(0,"button",48),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).changeIfPersistent([o],!0))}),R(1,"translate"),k(2,"mat-icon",50),I(3,"star_outline"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.non-persistent-transport-button-tooltip")),c(2),w("inline",!0))}function yQ(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function MQ(t,n){if(1&t){const e=et();k(0,"td")(1,"app-labeled-element-text",51),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C(),V(2,yQ,3,3,"span",21),C()}if(2&t){const e=z().$implicit,i=z(2);c(1),In("id",e.id),w("short",!0)("elementType",i.labeledElementTypes.Transport),c(1),w("ngIf",e.notFound)}}function wQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function CQ(t,n){if(1&t&&(k(0,"td"),I(1),R(2,"autoScale"),C()),2&t){const e=z().$implicit;c(1),ce(" ",H(2,1,e.sent)," ")}}function xQ(t,n){if(1&t&&(k(0,"td"),I(1),R(2,"autoScale"),C()),2&t){const e=z().$implicit;c(1),ce(" ",H(2,1,e.recv)," ")}}function kQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function SQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function DQ(t,n){if(1&t){const e=et();k(0,"button",52),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).details(o))}),R(1,"translate"),k(2,"mat-icon",39),I(3,"visibility"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.details.title")),c(2),w("inline",!0))}function TQ(t,n){if(1&t){const e=et();k(0,"button",52),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).delete(o))}),R(1,"translate"),k(2,"mat-icon",39),I(3,"close"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.delete")),c(2),w("inline",!0))}const uP=function(t){return{offline:t}};function LQ(t,n){if(1&t){const e=et();k(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),V(4,bQ,4,4,"button",45),V(5,vQ,4,4,"button",45),C(),V(6,MQ,3,4,"td",21),V(7,wQ,3,3,"td",21),k(8,"td")(9,"app-labeled-element-text",46),ve("labelEdited",function(){return Pe(e),Oe(z(2).refreshData())}),C()(),k(10,"td"),I(11),C(),V(12,CQ,3,3,"td",21),V(13,xQ,3,3,"td",21),V(14,kQ,3,3,"td",21),V(15,SQ,3,3,"td",21),k(16,"td",32),V(17,DQ,4,4,"button",47),V(18,TQ,4,4,"button",47),C()()}if(2&t){const e=n.$implicit,i=z(2);w("ngClass",He(15,uP,e.notFound)),c(2),w("checked",i.selections.get(e.id)),c(2),w("ngIf",e.isPersistent),c(1),w("ngIf",!e.isPersistent),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(2),In("id",e.remotePk),w("short",!0),c(2),ce(" ",e.type," "),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(1),w("ngIf",e.notFound),c(2),w("ngIf",!e.notFound),c(1),w("ngIf",!e.notFound)}}function EQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function IQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function PQ(t,n){1&t&&(k(0,"div",59)(1,"div",59)(2,"mat-icon",62),I(3,"star"),C(),I(4,"\xa0 "),k(5,"span",63),I(6),R(7,"translate"),C()()()),2&t&&(c(2),w("inline",!0),c(4),re(H(7,2,"transports.persistent")))}function OQ(t,n){if(1&t){const e=et();k(0,"app-labeled-element-text",64),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()}if(2&t){const e=z().$implicit,i=z(2);In("id",e.id),w("elementType",i.labeledElementTypes.Transport)}}function AQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function FQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"autoScale"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.sent))}}function RQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function NQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"autoScale"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.recv))}}function YQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function HQ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",37),V(6,PQ,8,4,"div",55),k(7,"div",56)(8,"span",1),I(9),R(10,"translate"),C(),I(11,": "),V(12,OQ,1,2,"app-labeled-element-text",57),V(13,AQ,3,3,"ng-container",21),C(),k(14,"div",56)(15,"span",1),I(16),R(17,"translate"),C(),I(18,": "),k(19,"app-labeled-element-text",58),ve("labelEdited",function(){return Pe(e),Oe(z(2).refreshData())}),C()(),k(20,"div",59)(21,"span",1),I(22),R(23,"translate"),C(),I(24),C(),k(25,"div",59)(26,"span",1),I(27),R(28,"translate"),C(),I(29,": "),V(30,FQ,3,3,"ng-container",21),V(31,RQ,3,3,"ng-container",21),C(),k(32,"div",59)(33,"span",1),I(34),R(35,"translate"),C(),I(36,": "),V(37,NQ,3,3,"ng-container",21),V(38,YQ,3,3,"ng-container",21),C()(),Ce(39,"div",60),k(40,"div",38)(41,"button",61),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(42,"translate"),k(43,"mat-icon"),I(44),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("ngClass",He(30,uP,e.notFound)),c(2),w("checked",i.selections.get(e.id)),c(2),w("ngIf",e.isPersistent),c(3),re(H(10,18,"transports.id")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),re(H(17,20,"transports.remote-node")),c(3),In("id",e.remotePk),c(3),re(H(23,22,"transports.type")),c(2),ce(": ",e.type," "),c(3),re(H(28,24,"common.uploaded")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),re(H(35,26,"common.downloaded")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),w("matTooltip",H(42,28,"common.options")),c(3),re("add")}}function BQ(t,n){if(1&t&&Ce(0,"app-view-all-link",65),2&t){const e=z(2);w("numberOfElements",e.filteredTransports.length)("linkParts",He(3,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const VQ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},jQ=function(t){return{"d-lg-none d-xl-table":t}},zQ=function(t){return{"d-lg-table d-xl-none":t}};function UQ(t,n){if(1&t){const e=et();k(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),Ce(4,"th"),k(5,"th",28),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.persistentSortData))}),R(6,"translate"),k(7,"mat-icon",29),I(8,"star_outline"),C(),V(9,dQ,2,2,"mat-icon",30),C(),k(10,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.idSortData))}),I(11),R(12,"translate"),V(13,hQ,4,3,"ng-container",21),C(),k(14,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.remotePkSortData))}),I(15),R(16,"translate"),V(17,pQ,4,3,"ng-container",21),C(),k(18,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(19),R(20,"translate"),V(21,mQ,2,2,"mat-icon",30),C(),k(22,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.uploadedSortData))}),I(23),R(24,"translate"),V(25,gQ,2,2,"mat-icon",30),C(),k(26,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.downloadedSortData))}),I(27),R(28,"translate"),V(29,_Q,2,2,"mat-icon",30),C(),Ce(30,"th",32),C(),V(31,LQ,19,17,"tr",33),C(),k(32,"table",34)(33,"tr",35),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),I(38),R(39,"translate"),C(),k(40,"div"),I(41),R(42,"translate"),V(43,EQ,3,3,"ng-container",21),V(44,IQ,3,3,"ng-container",21),C()(),k(45,"div",38)(46,"mat-icon",39),I(47,"keyboard_arrow_down"),C()()()()(),V(48,HQ,45,32,"tr",40),C(),V(49,BQ,1,5,"app-view-all-link",41),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(39,VQ,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(42,jQ,e.showShortList_)),c(3),w("matTooltip",H(6,23,"transports.persistent-tooltip")),c(4),w("ngIf",e.dataSorter.currentSortingColumn===e.persistentSortData),c(2),ce(" ",H(12,25,"transports.id")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),c(2),ce(" ",H(16,27,"transports.remote-node")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.remotePkSortData),c(2),ce(" ",H(20,29,"transports.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),ce(" ",H(24,31,"common.uploaded")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.uploadedSortData),c(2),ce(" ",H(28,33,"common.downloaded")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.downloadedSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(44,zQ,e.showShortList_)),c(6),re(H(39,35,"tables.sorting-title")),c(3),ce("",H(42,37,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function WQ(t,n){1&t&&(k(0,"span",69),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.empty")))}function $Q(t,n){1&t&&(k(0,"span",69),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.empty-with-filter")))}function GQ(t,n){if(1&t&&(k(0,"div",25)(1,"div",66)(2,"mat-icon",67),I(3,"warning"),C(),V(4,WQ,3,3,"span",68),V(5,$Q,3,3,"span",68),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allTransports.length),c(1),w("ngIf",0!==e.allTransports.length)}}function qQ(t,n){if(1&t&&Ce(0,"app-paginator",24),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const KQ=function(t){return{"paginator-icons-fixer":t}};let hP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredTransports)}set node(e){this.currentNode=e,this.allTransports=e.transports,this.nodePK=e.localPk;const i=new Map;e.persistentTransports.forEach(o=>i.set(this.getPersistentTransportID(o.pk,o.type),o)),this.allTransports.forEach(o=>{i.has(this.getPersistentTransportID(o.remotePk,o.type))?(o.isPersistent=!0,i.delete(this.getPersistentTransportID(o.remotePk,o.type))):o.isPersistent=!1}),i.forEach((o,s)=>{this.allTransports.push({id:this.getPersistentTransportID(o.pk,o.type),localPk:e.localPk,remotePk:o.pk,type:o.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(o=>{o.id_label=fa.getCompleteLabel(this.storageService,this.translateService,o.id),o.remote_pk_label=fa.getCompleteLabel(this.storageService,this.translateService,o.remotePk)}),this.dataFilterer.setData(this.allTransports)}constructor(e,i,o,s,a,l,d,_){this.dialog=e,this.transportService=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.nodeService=_,this.listId="tr",this.persistentSortData=new Vn(["isPersistent"],"transports.persistent",Xt.Boolean),this.idSortData=new Vn(["id"],"transports.id",Xt.Text,["id_label"]),this.remotePkSortData=new Vn(["remotePk"],"transports.remote-node",Xt.Text,["remote_pk_label"]),this.typeSortData=new Vn(["type"],"transports.type",Xt.Text),this.uploadedSortData=new Vn(["sent"],"common.uploaded",Xt.NumberReversed),this.downloadedSortData=new Vn(["recv"],"common.downloaded",Xt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:$n.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:$n.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:$n.TextInput,maxlength:66}],this.labeledElementTypes=Xi,this.operationSubscriptionsGroup=[],this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Yd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(F=>{this.filteredTransports=F,this.dataSorter.setData(this.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(F=>{if(F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.node=this.currentNode})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((o,s)=>{o&&i.push(s)}),this.deleteRecursively(i,e)})}create(){JJ.openDialog(this.dialog)}showOptionsDialog(e){const i=[];i.push(e.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),e.notFound||(i.push({icon:"visibility",label:"transports.details.title"}),i.push({icon:"close",label:"transports.delete"})),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.changeIfPersistent([e],!e.isPersistent):2===o?this.details(e):3===o&&this.delete(e)})}changeIfPersistentOfSelected(e){const i=[];this.allTransports.forEach(o=>{this.selections.has(o.id)&&this.selections.get(o.id)&&i.push(o)}),this.changeIfPersistent(i,e)}changeIfPersistent(e,i){if(e.length<1)return;let o="transports.";o+=1===e.length?i?"make-persistent-confirmation":"make"+(e[0].notFound?"-offline":"")+"-non-persistent-confirmation":i?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation";const s=Zt.createConfirmationDialog(this.dialog,o);s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.persistentTransportSubscription=this.transportService.getPersistentTransports(this.nodePK).subscribe(a=>{const l=a||[];let d=!1;const _=new Map;if(e.forEach(E=>_.set(this.getPersistentTransportID(E.remotePk,E.type),E)),i)l.forEach(E=>{_.has(this.getPersistentTransportID(E.pk,E.type))&&_.delete(this.getPersistentTransportID(E.pk,E.type))}),d=0===_.size,d||_.forEach(E=>{l.push({pk:E.remotePk,type:E.type})});else{d=!0;for(let E=0;E{s.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.changes-made")},E=>{E=Qt(E),s.componentInstance.showDone("confirmation.error-header-text",E.translatableErrorMsg)})},a=>{a=Qt(a),s.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}details(e){tQ.openDialog(this.dialog,e)}delete(e){const o=Zt.createConfirmationDialog(this.dialog,"transports.delete-"+(e.isPersistent?"persistent-":"")+"confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e.id).subscribe(()=>{o.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")},s=>{s=Qt(s),o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}refreshData(){Mt.refreshCurrentDisplayedData()}getPersistentTransportID(e,i){return e.toUpperCase()+i.toUpperCase()}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredTransports){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(i,i+e);const s=new Map;this.transportsToShow.forEach(l=>{s.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}startDeleting(e){return this.transportService.delete(Mt.getCurrentNodeKey(),e)}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")):this.deleteRecursively(e,i)},o=>{Mt.refreshCurrentDisplayedData(),o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(j1),N(Cr),N(hn),N(kn),N(To),N(Ji),N(ha))},t.\u0275cmp=Ke({type:t,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-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,nQ,6,7,"span",2),V(3,sQ,5,4,"div",3),C(),k(4,"div",4)(5,"div",5)(6,"mat-icon",6),ve("click",function(){return i.create()}),I(7,"add"),C(),V(8,aQ,2,1,"mat-icon",7),V(9,lQ,2,2,"mat-icon",8),k(10,"mat-menu",9,10)(12,"div",11),ve("click",function(){return i.changeAllSelections(!0)}),I(13),R(14,"translate"),C(),k(15,"div",11),ve("click",function(){return i.changeAllSelections(!1)}),I(16),R(17,"translate"),C(),k(18,"div",12),ve("click",function(){return i.changeIfPersistentOfSelected(!0)}),I(19),R(20,"translate"),C(),k(21,"div",12),ve("click",function(){return i.changeIfPersistentOfSelected(!1)}),I(22),R(23,"translate"),C(),k(24,"div",12),ve("click",function(){return i.deleteSelected()}),I(25),R(26,"translate"),C()()(),V(27,cQ,1,6,"app-paginator",13),C()(),V(28,UQ,50,46,"div",14),V(29,GQ,6,3,"div",14),V(30,qQ,1,6,"app-paginator",13)),2&e&&(w("ngClass",He(29,KQ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("inline",!0),c(2),w("ngIf",i.allTransports&&i.allTransports.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(14,19,"selection.select-all")," "),c(3),ce(" ",H(17,21,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(20,23,"transports.make-selected-persistent")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(23,25,"transports.make-selected-non-persistent")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(26,27,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,nl,vn,Mi,Hd,ma,Bd,pa,Ag,Vd,fa,yt,sf],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}"]}),t})();function ZQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"settings"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.app")," "))}function XQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"swap_horiz"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.forward")," "))}function JQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"arrow_forward"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function QQ(t,n){if(1&t&&(k(0,"div")(1,"div",3)(2,"span"),I(3),R(4,"translate"),C(),I(5),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C()()),2&t){const e=z(2);c(3),re(H(4,5,"routes.details.specific-fields.route-id")),c(2),ce(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),c(3),re(H(9,7,"routes.details.specific-fields.transport-id")),c(2),vo(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function eee(t,n){if(1&t&&(k(0,"div")(1,"div",3)(2,"span"),I(3),R(4,"translate"),C(),I(5),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",3)(12,"span"),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",3)(17,"span"),I(18),R(19,"translate"),C(),I(20),C()()),2&t){const e=z(2);c(3),re(H(4,10,"routes.details.specific-fields.destination-pk")),c(2),vo(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),c(3),re(H(9,12,"routes.details.specific-fields.source-pk")),c(2),vo(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),c(3),re(H(14,14,"routes.details.specific-fields.destination-port")),c(2),ce(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),c(3),re(H(19,16,"routes.details.specific-fields.source-port")),c(2),ce(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function tee(t,n){if(1&t&&(k(0,"div")(1,"div",5)(2,"mat-icon",2),I(3,"list"),C(),I(4),R(5,"translate"),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",3)(12,"span"),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",3)(17,"span"),I(18),R(19,"translate"),C(),I(20),C(),V(21,ZQ,5,4,"div",6),V(22,XQ,5,4,"div",6),V(23,JQ,5,4,"div",6),V(24,QQ,11,9,"div",4),V(25,eee,21,18,"div",4),C()),2&t){const e=z();c(2),w("inline",!0),c(2),ce("",H(5,13,"routes.details.summary.title")," "),c(4),re(H(9,15,"routes.details.summary.keep-alive")),c(2),ce(" ",e.routeRule.ruleSummary.keepAlive," "),c(3),re(H(14,17,"routes.details.summary.type")),c(2),ce(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),c(3),re(H(19,19,"routes.details.summary.key-route-id")),c(2),ce(" ",e.routeRule.ruleSummary.keyRouteId," "),c(1),w("ngIf",e.routeRule.appFields),c(1),w("ngIf",e.routeRule.forwardFields),c(1),w("ngIf",e.routeRule.intermediaryForwardFields),c(1),w("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),c(1),w("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}let nee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=i,this.storageService=o,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}getRuleTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):e.toString()}closePopup(){this.dialogRef.close()}getLabel(e){const i=this.storageService.getLabelInfo(e);return i?" ("+i.label+")":""}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-route-details"]],decls:19,vars:17,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div")(3,"div",1)(4,"mat-icon",2),I(5,"list"),C(),I(6),R(7,"translate"),C(),k(8,"div",3)(9,"span"),I(10),R(11,"translate"),C(),I(12),C(),k(13,"div",3)(14,"span"),I(15),R(16,"translate"),C(),I(17),C(),V(18,tee,26,21,"div",4),C()()),2&e&&(w("headline",H(1,9,"routes.details.title"))("dialog",i.dialogRef),c(4),w("inline",!0),c(2),ce("",H(7,11,"routes.details.basic.title")," "),c(4),re(H(11,13,"routes.details.basic.key")),c(2),ce(" ",i.routeRule.key," "),c(3),re(H(16,15,"routes.details.basic.rule")),c(2),ce(" ",i.routeRule.rule," "),c(1),w("ngIf",i.routeRule.ruleSummary))},dependencies:[Ft,vn,Zn,yt]}),t})(),fP=(()=>{class t{constructor(e){this.apiService=e}get(e,i){return this.apiService.get(`visors/${e}/routes/${i}`)}delete(e,i){return this.apiService.delete(`visors/${e}/routes/${i}`)}setMinHops(e,i){return this.apiService.post(`visors/${e}/min-hops`,{min_hops:i})}}return t.\u0275fac=function(e){return new(e||t)(we(ol))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function iee(t,n){1&t&&(k(0,"span",14),I(1),R(2,"translate"),k(3,"mat-icon",15),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"routes.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"routes.info")))}function ree(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function oee(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function see(t,n){if(1&t&&(k(0,"div",19)(1,"span"),I(2),R(3,"translate"),C(),V(4,ree,3,3,"ng-container",20),V(5,oee,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function aee(t,n){if(1&t){const e=et();k(0,"div",16),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,see,6,5,"div",17),k(2,"div",18),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function lee(t,n){if(1&t){const e=et();k(0,"mat-icon",21),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function cee(t,n){1&t&&(k(0,"mat-icon",22),I(1,"more_horiz"),C()),2&t&&(z(),w("matMenuTriggerFor",ci(9)))}const U1=function(t){return["/nodes",t,"routes"]};function dee(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function uee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function hee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function fee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function pee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function mee(t,n){if(1&t){const e=et();Ue(0),k(1,"td")(2,"app-labeled-element-text",41),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),k(3,"td")(4,"app-labeled-element-text",41),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(2),In("id",e.src),w("short",!0)("elementType",i.labeledElementTypes.Node),c(2),In("id",e.dst),w("short",!0)("elementType",i.labeledElementTypes.Node)}}function gee(t,n){if(1&t){const e=et();Ue(0),k(1,"td"),I(2,"---"),C(),k(3,"td")(4,"app-labeled-element-text",42),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(4),In("id",e.dst),w("short",!0)("elementType",i.labeledElementTypes.Transport)}}function _ee(t,n){1&t&&(Ue(0),k(1,"td"),I(2,"---"),C(),k(3,"td"),I(4,"---"),C(),We())}function bee(t,n){if(1&t){const e=et();k(0,"tr")(1,"td",38)(2,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),I(4),C(),k(5,"td"),I(6),C(),V(7,mee,5,6,"ng-container",20),V(8,gee,5,3,"ng-container",20),V(9,_ee,5,0,"ng-container",20),k(10,"td",29)(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).details(s))}),R(12,"translate"),k(13,"mat-icon",36),I(14,"visibility"),C()(),k(15,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).delete(s.key))}),R(16,"translate"),k(17,"mat-icon",36),I(18,"close"),C()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("checked",i.selections.get(e.key)),c(2),ce(" ",e.key," "),c(2),ce(" ",i.getTypeName(e.type)," "),c(1),w("ngIf",e.appFields||e.forwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),c(2),w("matTooltip",H(12,10,"routes.details.title")),c(2),w("inline",!0),c(2),w("matTooltip",H(16,12,"routes.delete")),c(2),w("inline",!0)}}function vee(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function yee(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function Mee(t,n){if(1&t){const e=et();Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": "),k(6,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),k(7,"div",44)(8,"span",1),I(9),R(10,"translate"),C(),I(11,": "),k(12,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(3),re(H(4,6,"routes.source")),c(3),In("id",e.src),w("elementType",i.labeledElementTypes.Node),c(3),re(H(10,8,"routes.destination")),c(3),In("id",e.dst),w("elementType",i.labeledElementTypes.Node)}}function wee(t,n){if(1&t){const e=et();Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": --- "),C(),k(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10,": "),k(11,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(3),re(H(4,4,"routes.source")),c(5),re(H(9,6,"routes.destination")),c(3),In("id",e.dst),w("elementType",i.labeledElementTypes.Transport)}}function Cee(t,n){1&t&&(Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": --- "),C(),k(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10,": --- "),C(),We()),2&t&&(c(3),re(H(4,2,"routes.source")),c(5),re(H(9,4,"routes.destination")))}function xee(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",34)(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",44)(12,"span",1),I(13),R(14,"translate"),C(),I(15),C(),V(16,Mee,13,10,"ng-container",20),V(17,wee,12,8,"ng-container",20),V(18,Cee,11,6,"ng-container",20),C(),Ce(19,"div",45),k(20,"div",35)(21,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(22,"translate"),k(23,"mat-icon"),I(24),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(4),w("checked",i.selections.get(e.key)),c(4),re(H(9,10,"routes.key")),c(2),ce(": ",e.key," "),c(3),re(H(14,12,"routes.type")),c(2),ce(": ",i.getTypeName(e.type)," "),c(1),w("ngIf",e.appFields||e.forwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),c(3),w("matTooltip",H(22,14,"common.options")),c(3),re("add")}}function kee(t,n){if(1&t&&Ce(0,"app-view-all-link",48),2&t){const e=z(2);w("numberOfElements",e.filteredRoutes.length)("linkParts",He(3,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const See=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},Dee=function(t){return{"d-lg-none d-xl-table":t}},Tee=function(t){return{"d-lg-table d-xl-none":t}};function Lee(t,n){if(1&t){const e=et();k(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ce(4,"th"),k(5,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.keySortData))}),I(6),R(7,"translate"),V(8,uee,2,2,"mat-icon",28),C(),k(9,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(10),R(11,"translate"),V(12,hee,2,2,"mat-icon",28),C(),k(13,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.sourceSortData))}),I(14),R(15,"translate"),V(16,fee,2,2,"mat-icon",28),C(),k(17,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.destinationSortData))}),I(18),R(19,"translate"),V(20,pee,2,2,"mat-icon",28),C(),Ce(21,"th",29),C(),V(22,bee,19,14,"tr",30),C(),k(23,"table",31)(24,"tr",32),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),I(29),R(30,"translate"),C(),k(31,"div"),I(32),R(33,"translate"),V(34,vee,3,3,"ng-container",20),V(35,yee,3,3,"ng-container",20),C()(),k(36,"div",35)(37,"mat-icon",36),I(38,"keyboard_arrow_down"),C()()()()(),V(39,xee,25,16,"tr",30),C(),V(40,kee,1,5,"app-view-all-link",37),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(31,See,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(34,Dee,e.showShortList_)),c(4),ce(" ",H(7,19,"routes.key")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),c(2),ce(" ",H(11,21,"routes.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),ce(" ",H(15,23,"routes.source")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.sourceSortData),c(2),ce(" ",H(19,25,"routes.destination")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.destinationSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(36,Tee,e.showShortList_)),c(6),re(H(30,27,"tables.sorting-title")),c(3),ce("",H(33,29,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function Eee(t,n){1&t&&(k(0,"span",52),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"routes.empty")))}function Iee(t,n){1&t&&(k(0,"span",52),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"routes.empty-with-filter")))}function Pee(t,n){if(1&t&&(k(0,"div",24)(1,"div",49)(2,"mat-icon",50),I(3,"warning"),C(),V(4,Eee,3,3,"span",51),V(5,Iee,3,3,"span",51),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allRoutes.length),c(1),w("ngIf",0!==e.allRoutes.length)}}function Oee(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Aee=function(t){return{"paginator-icons-fixer":t}};let pP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredRoutes)}set routes(e){this.allRoutes=e,this.allRoutes.forEach(i=>{if(i.type=i.ruleSummary.ruleType||0===i.ruleSummary.ruleType?i.ruleSummary.ruleType:"",i.appFields||i.forwardFields){const o=i.appFields?i.appFields.routeDescriptor:i.forwardFields.routeDescriptor;i.src=o.srcPk,i.src_label=fa.getCompleteLabel(this.storageService,this.translateService,i.src),i.dst=o.dstPk,i.dst_label=fa.getCompleteLabel(this.storageService,this.translateService,i.dst)}else i.intermediaryForwardFields?(i.src="",i.src_label="",i.dst=i.intermediaryForwardFields.nextTid,i.dst_label=fa.getCompleteLabel(this.storageService,this.translateService,i.dst)):(i.src="",i.src_label="",i.dst="",i.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}constructor(e,i,o,s,a,l,d){this.routeService=e,this.dialog=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.listId="rl",this.keySortData=new Vn(["key"],"routes.key",Xt.Number),this.typeSortData=new Vn(["type"],"routes.type",Xt.Number),this.sourceSortData=new Vn(["src"],"routes.source",Xt.Text,["src_label"]),this.destinationSortData=new Vn(["dst"],"routes.destination",Xt.Text,["dst_label"]),this.labeledElementTypes=Xi,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:$n.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:$n.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:$n.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()});const E={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:$n.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((F,G)=>{E.printableLabelsForValues.push({value:G+"",label:F})}),this.filterProperties=[E].concat(this.filterProperties),this.dataFilterer=new Yd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(F=>{this.filteredRoutes=F,this.dataSorter.setData(this.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(F=>{if(F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}refreshData(){Mt.refreshCurrentDisplayedData()}getTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):"Unknown"}changeSelection(e){this.selections.get(e.key)?this.selections.set(e.key,!1):this.selections.set(e.key,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((o,s)=>{o&&i.push(s)}),this.deleteRecursively(i,e)})}showOptionsDialog(e){Rr.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(o=>{1===o?this.details(e):2===o&&this.delete(e.key)})}details(e){nee.openDialog(this.dialog,e)}delete(e){const i=Zt.createConfirmationDialog(this.dialog,"routes.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e).subscribe(()=>{i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")},o=>{o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(i,i+e);const s=new Map;this.routesToShow.forEach(l=>{s.set(l.key,!0),this.selections.has(l.key)||this.selections.set(l.key,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}startDeleting(e){return this.routeService.delete(Mt.getCurrentNodeKey(),e.toString())}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")):this.deleteRecursively(e,i)},o=>{Mt.refreshCurrentDisplayedData(),o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(fP),N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,iee,6,7,"span",2),V(3,aee,5,4,"div",3),C(),k(4,"div",4)(5,"div",5),V(6,lee,3,4,"mat-icon",6),V(7,cee,2,1,"mat-icon",7),k(8,"mat-menu",8,9)(10,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(11),R(12,"translate"),C(),k(13,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(14),R(15,"translate"),C(),k(16,"div",11),ve("click",function(){return i.deleteSelected()}),I(17),R(18,"translate"),C()()(),V(19,dee,1,6,"app-paginator",12),C()(),V(20,Lee,41,38,"div",13),V(21,Pee,6,3,"div",13),V(22,Oee,1,6,"app-paginator",12)),2&e&&(w("ngClass",He(20,Aee,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allRoutes&&i.allRoutes.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(12,14,"selection.select-all")," "),c(3),ce(" ",H(15,16,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(18,18,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,nl,vn,Mi,Hd,ma,Bd,pa,Ag,Vd,fa,yt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})(),Fee=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.node=e,this.routes=e.routes}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-routing"]],features:[nt],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&Ce(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(w("node",i.node)("showShortList",!0),c(1),w("routes",i.routes)("showShortList",!0)("nodePK",i.nodePK))},dependencies:[hP,pP]}),t})();function Ree(t,n){if(1&t&&(k(0,"mat-option",6),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;w("value",e.days),c(1),re(H(2,2,e.text))}}let Nee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o}ngOnInit(){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(e=>{this.dialogRef.close(this.filters.find(i=>i.days===e))})}ngOnDestroy(){this.formSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-log-filter"]],decls:10,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","filter"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),k(8,"mat-select",4),V(9,Ree,3,4,"mat-option",5),C()()()()()),2&e&&(w("headline",H(1,5,"apps.log.filter.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"apps.log.filter.filter")),c(3),w("ngForOf",i.filters))},dependencies:[gi,Ai,Pi,Oi,ti,yi,tr,Nd,Xl,Zn,yt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t})();const Yee=["content"],Hee=function(t){return{totalLogs:t}};function Bee(t,n){if(1&t&&(k(0,"app-button",11)(1,"div",12),I(2),R(3,"translate"),C()()),2&t){const e=z();c(2),ce(" ",kt(3,1,"apps.log.view-all",He(4,Hee,e.totalLogs))," ")}}function Vee(t,n){if(1&t&&(k(0,"div",13)(1,"span",14),I(2),C(),I(3),C()),2&t){const e=n.$implicit;c(2),ce(" ",e.time," "),c(1),ce(" ",e.msg," ")}}function jee(t,n){1&t&&(k(0,"div",15),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"apps.log.empty")," "))}function zee(t,n){1&t&&Ce(0,"app-loading-indicator",16),2&t&&w("showWhite",!1)}let Uee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.dialogRef=i,this.appsService=o,this.dialog=s,this.snackbarService=a,this.apiService=l,this.logMessages=[],this.hasMoreLogMessages=!1,this.totalLogs=0,this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription()}filter(){Nee.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(e=>{e&&(this.currentFilter=e,this.logMessages=[],this.loadData(0))})}getLogsUrl(){return"/"+this.apiService.apiPrefix+this.appsService.getLogMessagesUrl(Mt.getCurrentNodeKey(),this.data.name)}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=$e(1).pipe(Ei(e),Ye(()=>this.appsService.getLogMessages(Mt.getCurrentNodeKey(),this.data.name,this.currentFilter.days))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}onLogsReceived(e=[]){this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError();let i=0;this.hasMoreLogMessages=!1,this.totalLogs=e.length,e.forEach(o=>{if(i<5e3){const s=o.startsWith("[")?0:-1,a=-1!==s?o.indexOf("]"):-1;this.logMessages.push(-1!==s&&-1!==a?{time:o.substr(s,a+1),msg:o.substr(a+1)}:{time:"",msg:o})}else this.hasMoreLogMessages=!0;i+=1}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}onLogsError(e){e=Qt(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(ga),N(xn),N(kn),N(ol))},t.\u0275cmp=Ke({type:t,selectors:[["app-log"]],viewQuery:function(e,i){if(1&e&&pt(Yee,5),2&e){let o;it(o=rt())&&(i.content=o.first)}},decls:19,vars:17,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"actual-value"],[1,"top-dialog-button-margin"],["content",""],["target","_blank",3,"href"],["class","full-logs-button","color","primary",4,"ngIf"],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],["color","primary",1,"full-logs-button"],[1,"text-container"],[1,"app-log-message"],[1,"transparent"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),ve("click",function(){return i.filter()}),k(3,"div",2)(4,"div")(5,"span"),I(6),R(7,"translate"),C(),k(8,"span",3),I(9),R(10,"translate"),C()()(),Ce(11,"div",4),C(),k(12,"mat-dialog-content",null,5)(14,"a",6),V(15,Bee,4,6,"app-button",7),C(),V(16,Vee,4,2,"div",8),V(17,jee,3,3,"div",9),V(18,zee,1,1,"app-loading-indicator",10),C()()),2&e&&(w("headline",H(1,11,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),c(6),ce("",H(7,13,"apps.log.filter-button")," "),c(3),re(H(10,15,i.currentFilter.text)),c(5),w("href",i.getLogsUrl(),Vo),c(1),w("ngIf",i.hasMoreLogMessages),c(1),w("ngForOf",i.logMessages),c(1),w("ngIf",!(i.loading||i.logMessages&&0!==i.logMessages.length)),c(1),w("ngIf",i.loading))},dependencies:[gi,Ft,ag,Fi,Zn,as,yt],styles:[".mat-mdc-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}.top-dialog-button[_ngcontent-%COMP%]{color:#777!important}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{text-align:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .actual-value[_ngcontent-%COMP%]{color:#202226}.full-logs-button[_ngcontent-%COMP%] button{width:100%!important;display:block;text-align:center;margin-bottom:15px}.full-logs-button[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%}"]}),t})();const Wee=["button"],$ee=["firstInput"],Rg=function(t){return{"element-disabled":t}};function Gee(t,n){if(1&t&&(k(0,"mat-form-field",2)(1,"div",3)(2,"label",4),I(3),R(4,"translate"),C(),Ce(5,"input",12),C()()),2&t){const e=z();w("ngClass",He(4,Rg,e.disableDismiss)),c(3),re(H(4,2,"apps.vpn-socks-server-settings.netifc"))}}function qee(t,n){if(1&t){const e=et();k(0,"div",13)(1,"mat-checkbox",14),ve("change",function(o){return Pe(e),Oe(z().setSecureMode(o))}),I(2),R(3,"translate"),k(4,"mat-icon",15),R(5,"translate"),I(6,"help"),C()()()}if(2&t){const e=z();c(1),w("checked",e.secureMode)("ngClass",He(9,Rg,e.disableDismiss)),c(1),ce(" ",H(3,5,"apps.vpn-socks-server-settings.secure-mode-check")," "),c(2),w("inline",!0)("matTooltip",H(5,7,"apps.vpn-socks-server-settings.secure-mode-info"))}}let Kee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}ngOnInit(){if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(()=>{this.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(let e=0;ethis.firstInput.nativeElement.focus())}ngOnDestroy(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setSecureMode(e){this.button.disabled||(this.secureMode=!!e.checked)}saveChanges(){if(!this.form.valid||this.button.disabled)return;const e=this.form.get("password").value?"apps.vpn-socks-server-settings.change-passowrd-confirmation":"apps.vpn-socks-server-settings.remove-passowrd-confirmation",i=Zt.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.continueSavingChanges()})}continueSavingChanges(){this.button.showLoading();const e={passcode:this.form.get("password").value};this.configuringVpn&&(e.secure=this.secureMode,e.netifc=this.form.get("netifc").value),this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,e).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-server-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}validatePasswords(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(ga),N(_r),N(On),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-settings"]],viewQuery:function(e,i){if(1&e&&(pt(Wee,5),pt($ee,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:27,vars:27,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["id","password","type","password","formControlName","password","maxlength","100","matInput",""],["firstInput",""],["id","passwordConfirmation","type","password","formControlName","passwordConfirmation","maxlength","100","matInput",""],[3,"ngClass",4,"ngIf"],["class","main-theme settings-option",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["id","netifc","type","text","formControlName","netifc","matInput",""],[1,"main-theme","settings-option"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field",2)(4,"div",3)(5,"label",4),I(6),R(7,"translate"),C(),Ce(8,"input",5,6),C()(),k(10,"mat-form-field",2)(11,"div",3)(12,"label",4),I(13),R(14,"translate"),C(),Ce(15,"input",7,6),C(),k(17,"mat-error")(18,"span"),I(19),R(20,"translate"),C()()(),V(21,Gee,6,6,"mat-form-field",8),V(22,qee,7,11,"div",9),C(),k(23,"app-button",10,11),ve("action",function(){return i.saveChanges()}),I(25),R(26,"translate"),C()()),2&e&&(w("headline",H(1,13,"apps.vpn-socks-server-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("formGroup",i.form),c(1),w("ngClass",He(23,Rg,i.disableDismiss)),c(3),re(H(7,15,"apps.vpn-socks-server-settings.new-password")),c(4),w("ngClass",He(25,Rg,i.disableDismiss)),c(3),re(H(14,17,"apps.vpn-socks-server-settings.repeat-password")),c(6),re(H(20,19,"apps.vpn-socks-server-settings.passwords-not-match")),c(2),w("ngIf",i.configuringVpn),c(1),w("ngIf",i.configuringVpn),c(1),w("disabled",!i.form.valid),c(2),ce(" ",H(26,21,"apps.vpn-socks-server-settings.save")," "))},dependencies:[Pn,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,vn,Mi,pa,Fi,Zn,yt],styles:["mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}"]}),t})();const Zee=["firstInput"];let Xee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i||"",o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=e,this.data=i,this.formBuilder=o}ngOnInit(){this.form=this.formBuilder.group({note:[this.data]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("note").value.trim();this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-skysocks-client-note"]],viewQuery:function(e,i){if(1&e&&pt(Zee,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","note","maxlength","100","matInput",""],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.finish()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"apps.vpn-socks-client-settings.change-note-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"apps.vpn-socks-client-settings.change-note-dialog.note")),c(5),re(H(12,9,"common.save")))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const _a={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Democratic Republic",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (North)",KR:"Korea (South)",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",ME:"Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown"};function Jee(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit,i=z(2);c(1),re(i.completeCountriesList[e.toUpperCase()])}}function Qee(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.toUpperCase())}}function ete(t,n){if(1&t&&(k(0,"mat-option",10)(1,"div",12),Ce(2,"div"),C(),V(3,Jee,2,1,"ng-container",2),V(4,Qee,2,1,"ng-container",2),C()),2&t){const e=n.$implicit,i=z(2);w("value",e.toUpperCase()),c(2),di("background-image: url('assets/img/flags/"+e.toLocaleLowerCase()+".png');"),c(1),w("ngIf",i.completeCountriesList[e.toUpperCase()]),c(1),w("ngIf",!i.completeCountriesList[e.toUpperCase()])}}function tte(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"apps.vpn-socks-client-settings.filter-dialog.any-country")," "))}function nte(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.completeCountriesList[e.form.get("country").value])}}function ite(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.form.get("country").value)}}function rte(t,n){if(1&t&&(Ue(0),k(1,"div",12),Ce(2,"div"),C(),V(3,nte,2,1,"ng-container",2),V(4,ite,2,1,"ng-container",2),We()),2&t){const e=z(2);c(2),di("background-image: url('assets/img/flags/"+e.form.get("country").value.toLocaleLowerCase()+".png');"),c(1),w("ngIf",e.completeCountriesList[e.form.get("country").value]),c(1),w("ngIf",!e.completeCountriesList[e.form.get("country").value])}}function ote(t,n){if(1&t&&(k(0,"mat-form-field")(1,"div",3)(2,"label",4),I(3),R(4,"translate"),C(),k(5,"mat-select",9)(6,"mat-option",10),I(7),R(8,"translate"),C(),V(9,ete,5,5,"mat-option",11),k(10,"mat-select-trigger"),V(11,tte,3,3,"ng-container",2),V(12,rte,5,4,"ng-container",2),C()()()()),2&t){const e=z();c(3),re(H(4,6,"apps.vpn-socks-client-settings.filter-dialog.country")),c(3),w("value","-"),c(1),re(H(8,8,"apps.vpn-socks-client-settings.filter-dialog.any-country")),c(2),w("ngForOf",e.data.availableCountries),c(2),w("ngIf","-"===e.form.get("country").value),c(1),w("ngIf","-"!==e.form.get("country").value)}}class mP{constructor(){this.country="",this.location="",this.key=""}}let ste=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o,this.completeCountriesList=_a}ngOnInit(){this.form=this.formBuilder.group({country:[this.data.currentFilters.country?this.data.currentFilters.country:"-"],"location-text":[this.data.currentFilters.location],"key-text":[this.data.currentFilters.key]})}apply(){const e=new mP;let i=this.form.get("country").value.trim();"-"===i&&(i=""),e.country=i,e.location=this.form.get("location-text").value.trim(),e.key=this.form.get("key-text").value.trim(),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-filter"]],decls:20,vars:15,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngIf"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","location-text","maxlength","100","matInput",""],["formControlName","key-text","maxlength","66","matInput",""],["type","mat-raised-button","color","primary",1,"float-right",3,"action"],["button",""],["formControlName","country","id","country"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"flag-container"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1),V(3,ote,13,10,"mat-form-field",2),k(4,"mat-form-field")(5,"div",3)(6,"label",4),I(7),R(8,"translate"),C(),Ce(9,"input",5),C()(),k(10,"mat-form-field")(11,"div",3)(12,"label",4),I(13),R(14,"translate"),C(),Ce(15,"input",6),C()()(),k(16,"app-button",7,8),ve("action",function(){return i.apply()}),I(18),R(19,"translate"),C()()),2&e&&(w("headline",H(1,7,"apps.vpn-socks-client-settings.filter-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(1),w("ngIf",i.data.availableCountries.length>0),c(4),re(H(8,9,"apps.vpn-socks-client-settings.filter-dialog.location")),c(6),re(H(14,11,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),c(5),ce(" ",H(19,13,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},dependencies:[gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Nd,Vq,Xl,Fi,Zn,yt]}),t})();const ate=["firstInput"];let lte=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.smallModalWidth,e.open(t,i)}constructor(e,i){this.dialogRef=e,this.formBuilder=i}ngOnInit(){this.form=this.formBuilder.group({password:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("password").value;this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,i){if(1&e&&pt(ate,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:16,vars:14,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"info"],[1,"field-container"],["for","remoteKey",1,"field-label"],["type","password","id","password","formControlName","password","maxlength","100","matInput",""],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"div",2),I(4),R(5,"translate"),C(),k(6,"mat-form-field")(7,"div",3)(8,"label",4),I(9),R(10,"translate"),C(),Ce(11,"input",5,6),C()()(),k(13,"app-button",7),ve("action",function(){return i.finish()}),I(14),R(15,"translate"),C()()),2&e&&(w("headline",H(1,6,"apps.vpn-socks-client-settings.password-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(2),re(H(5,8,"apps.vpn-socks-client-settings.password-dialog.info")),c(5),re(H(10,10,"apps.vpn-socks-client-settings.password-dialog.password")),c(5),ce(" ",H(15,12,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t})(),cte=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}getServices(e){const i=[];return this.http.get(this.discoveryServiceUrl+(e?"proxy":"vpn")).pipe(rf(o=>o.pipe(Ei(4e3))),ke(o=>(o||(o=[]),o.forEach(s=>{const a=new ZG,l=s.address.split(":");2===l.length&&(a.address=s.address,a.pk=l[0],a.port=l[1],a.location="",s.geo&&(s.geo.country&&(a.country=s.geo.country,a.location+=_a[s.geo.country.toUpperCase()]?_a[s.geo.country.toUpperCase()]:s.geo.country),s.geo.region&&s.geo.country&&(a.location+=", "),s.geo.region&&(a.region=s.geo.region,a.location+=a.region)),i.push(a))}),i)))}}return t.\u0275fac=function(e){return new(e||t)(we(Vl))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function dte(t,n){}const ute=function(t){return{animationDuration:t}},hte=function(t,n){return{value:t,params:n}};function fte(t,n){1&t&&Tn(0)}const gP=["*"],pte=["tabListContainer"],mte=["tabList"],gte=["tabListInner"],_te=["nextPaginator"],bte=["previousPaginator"],vte=["tabBodyWrapper"],yte=["tabHeader"];function Mte(t,n){}function wte(t,n){1&t&&V(0,Mte,0,0,"ng-template",14),2&t&&w("cdkPortalOutlet",z().$implicit.templateLabel)}function Cte(t,n){1&t&&I(0),2&t&&re(z().$implicit.textLabel)}function xte(t,n){if(1&t){const e=et();k(0,"div",6,7),ve("click",function(){const o=Pe(e),s=o.$implicit,a=o.index,l=z(),d=ci(1);return Oe(l._handleClick(s,d,a))})("cdkFocusChange",function(o){const a=Pe(e).index;return Oe(z()._tabFocusChanged(o,a))}),Ce(2,"span",8)(3,"div",9),k(4,"span",10)(5,"span",11),V(6,wte,1,1,"ng-template",12),V(7,Cte,1,1,"ng-template",null,13,Es),C()()()}if(2&t){const e=n.$implicit,i=n.index,o=ci(1),s=ci(8),a=z();nn("mdc-tab--active",a.selectedIndex===i),w("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),Jt("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),c(3),w("matRippleTrigger",o)("matRippleDisabled",e.disabled||a.disableRipple),c(3),w("ngIf",e.templateLabel)("ngIfElse",s)}}function kte(t,n){if(1&t){const e=et();k(0,"mat-tab-body",15),ve("_onCentered",function(){return Pe(e),Oe(z()._removeTabBodyWrapperHeight())})("_onCentering",function(o){return Pe(e),Oe(z()._setTabBodyWrapperHeight(o))}),C()}if(2&t){const e=n.$implicit,i=n.index,o=z();nn("mat-mdc-tab-body-active",o.selectedIndex===i),w("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),Jt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))}}const Ste={translateTab:ia("translateTab",[yo("center, void, left-origin-center, right-origin-center",ei({transform:"none"})),yo("left",ei({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),yo("right",ei({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Pr("* => left, * => right, left => center, right => center",Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Pr("void => left-origin-center",[ei({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Pr("void => right-origin-center",[ei({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Dte=(()=>{class t extends el{constructor(e,i,o,s){super(e,i,s),this._host=o,this._centeringSub=T.EMPTY,this._leavingSub=T.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Go(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(Tl),N(or),N(pn(()=>_P)),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","matTabBodyHost",""]],features:[nt]}),t})(),Tte=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=T.EMPTY,this._translateTabComplete=new J,this._onCentering=new ht,this._beforeCentering=new ht,this._afterLeavingCenter=new ht,this._onCentered=new ht(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),o.markForCheck()})),this._translateTabComplete.pipe(j0((s,a)=>s.fromState===a.fromState&&s.toState===a.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Do,8),N(pi))},t.\u0275dir=Ze({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),_P=(()=>{class t extends Tte{constructor(e,i,o){super(e,i,o)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Do,8),N(pi))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&pt(el,5),2&e){let o;it(o=rt())&&(i._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[nt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(k(0,"div",0,1),ve("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),V(2,dte,0,0,"ng-template",2),C()),2&e&&w("@translateTab",mn(3,hte,i._position,He(1,ute,i.animationDuration)))},dependencies:[Dte],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Ste.translateTab]}}),t})();const Lte=new Re("MatTabContent");let Ete=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(N(mr))},t.\u0275dir=Ze({type:t,selectors:[["","matTabContent",""]],features:[un([{provide:Lte,useExisting:t}])]}),t})();const Ite=new Re("MatTabLabel"),bP=new Re("MAT_TAB");let Pte=(()=>{class t extends L9{constructor(e,i,o){super(e,i),this._closestTab=o}}return t.\u0275fac=function(e){return new(e||t)(N(mr),N(or),N(bP,8))},t.\u0275dir=Ze({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[un([{provide:Ite,useExisting:t}]),nt]}),t})();const W1="mdc-tab-indicator--active",vP="mdc-tab-indicator--no-transition";class Ote{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){const e=this._items.find(o=>o.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const o=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}}function Ate(t){return class extends t{constructor(...n){super(...n),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(n){const e=_n(n);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(n){const e=this.elementRef.nativeElement;if(!n||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(W1);const i=e.getBoundingClientRect(),o=n.width/i.width,s=n.left-i.left;e.classList.add(vP),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${o})`),e.getBoundingClientRect(),e.classList.remove(vP),e.classList.add(W1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(W1)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const n=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=n.createElement("span"),this._inkBarContentElement=n.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Rte=Id(class{}),Nte=Ate((()=>{class t extends Rte{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,features:[nt]}),t})());let yP=(()=>{class t extends Nte{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Jt("aria-disabled",!!i.disabled),nn("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[nt]}),t})();const Yte=Id(class{}),MP=new Re("MAT_TAB_GROUP");let Hte=(()=>{class t extends Yte{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new J,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Gl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(MP,8))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(mr,7),2&e){let o;it(o=rt())&&(i._implicitContent=o.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[nt,Gi]}),t})(),wP=(()=>{class t extends Hte{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,Ete,7,mr),sr(o,Pte,5)),2&e){let s;it(s=rt())&&(i._explicitContent=s.first),it(s=rt())&&(i.templateLabel=s.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[un([{provide:bP,useExisting:t}]),nt],ngContentSelectors:gP,decls:1,vars:0,template:function(e,i){1&e&&(Ir(),V(0,fte,1,0,"ng-template"))},encapsulation:2}),t})();const CP=Ja({passive:!0});let jte=(()=>{class t{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_n(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=So(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,o,s,a,l,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=s,this._ngZone=a,this._platform=l,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new J,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new J,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ht,this.indexFocused=new ht,a.runOutsideAngular(()=>{Sh(e.nativeElement,"mouseleave").pipe(Bn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Sh(this._previousPaginator.nativeElement,"touchstart",CP).pipe(Bn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Sh(this._nextPaginator.nativeElement,"touchstart",CP).pipe(Bn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:$e("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bL(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Kn(1)).subscribe(o),bt(e,i,this._items.changes,this._itemsResized()).pipe(Bn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?oa:this._items.changes.pipe(Go(this._items),gr(e=>new he(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(s=>i.next(s));return e.forEach(s=>o.observe(s.elementRef.nativeElement)),()=>{o.disconnect()}}))),V0(1),_i(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){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())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Fs(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:a}=i.elementRef.nativeElement;let l,d;"ltr"==this._getLayoutDirection()?(l=s,d=l+a):(d=this._tabListInner.nativeElement.offsetWidth-s,l=d-a);const _=this.scrollDistance,E=this.scrollDistance+o;l<_?this.scrollDistance-=_-l:d>E&&(this.scrollDistance+=Math.min(d-E,l-_))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Dh(650,100).pipe(Bn(bt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:s}=this._scrollHeader(e);(0===s||s>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Sd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),zte=(()=>{class t extends jte{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=_n(e)}constructor(e,i,o,s,a,l,d){super(e,i,o,s,a,l,d),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Sd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{disableRipple:"disableRipple"},features:[nt]}),t})(),Ute=(()=>{class t extends zte{constructor(e,i,o,s,a,l,d){super(e,i,o,s,a,l,d)}ngAfterContentInit(){this._inkBar=new Ote(this._items),super.ngAfterContentInit()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Sd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,o){if(1&e&&sr(o,yP,4),2&e){let s;it(s=rt())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(pt(pte,7),pt(mte,7),pt(gte,7),pt(_te,5),pt(bte,5)),2&e){let o;it(o=rt())&&(i._tabListContainer=o.first),it(o=rt())&&(i._tabList=o.first),it(o=rt())&&(i._tabListInner=o.first),it(o=rt())&&(i._nextPaginator=o.first),it(o=rt())&&(i._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&nn("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[nt],ngContentSelectors:gP,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Ir(),k(0,"button",0,1),ve("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),Ce(2,"div",2),C(),k(3,"div",3,4),ve("keydown",function(s){return i._handleKeydown(s)}),k(5,"div",5,6),ve("cdkObserveContent",function(){return i._onContentChanges()}),k(7,"div",7,8),Tn(9),C()()(),k(10,"button",9,10),ve("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Ce(12,"div",2),C()),2&e&&(nn("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),w("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),c(3),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode),c(7),nn("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),w("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Zl,uL],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),t})();const xP=new Re("MAT_TABS_CONFIG");let Wte=0;const $te=Rh(Nh(class{constructor(t){this._elementRef=t}}),"primary");let Gte=(()=>{class t extends $te{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=_n(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=So(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=So(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_n(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=_n(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,s){super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new Al,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=T.EMPTY,this._tabLabelSubscription=T.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ht,this.focusChange=new ht,this.animationDone=new ht,this.selectedTabChange=new ht(!0),this._groupId=Wte++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,s)=>o.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Go(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Kte;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=bt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(xP,8),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[nt]}),t})(),qte=(()=>{class t extends Gte{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=_n(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=_n(e)}constructor(e,i,o,s){super(e,i,o,s),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!o||null==o.fitInkBarToContent)&&o.fitInkBarToContent,this.stretchTabs=!o||null==o.stretchTabs||o.stretchTabs}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(xP,8),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,o){if(1&e&&sr(o,wP,5),2&e){let s;it(s=rt())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(pt(vte,5),pt(yte,5)),2&e){let o;it(o=rt())&&(i._tabBodyWrapper=o.first),it(o=rt())&&(i._tabHeader=o.first)}},hostAttrs:["ngSkipHydration","true",1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&nn("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[un([{provide:MP,useExisting:t}]),nt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(k(0,"mat-tab-header",0,1),ve("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),V(2,xte,9,17,"div",2),C(),k(3,"div",3,4),V(5,kte,1,11,"mat-tab-body",5),C()),2&e&&(w("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),c(2),w("ngForOf",i._tabs),c(1),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode),c(2),w("ngForOf",i._tabs))},dependencies:[Pn,gi,Ft,el,Zl,Hz,_P,yP,Ute],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),t})();class Kte{}let Zte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[ta,Wn,Td,Hh,z0,J0,Wn]}),t})(),Xte=(()=>{class t{constructor(e){this.dialog=e,this.tabNames=[""],this.selectedTab=0,this.tabChanged=new ht}ngOnDestroy(){this.tabChanged.complete()}showTabSelector(){const e=[];this.tabNames.forEach((i,o)=>{e.push({icon:o===this.selectedTab?"check":"",label:i})}),Rr.openDialog(this.dialog,e,"node.logs.filter-title").afterClosed().subscribe(i=>{this.tabChanged.emit(i-1)})}}return t.\u0275fac=function(e){return new(e||t)(N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-tab-selector"]],inputs:{tabNames:"tabNames",selectedTab:"selectedTab"},outputs:{tabChanged:"tabChanged"},decls:9,vars:4,consts:[[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"tab-name"],[1,"icon",3,"inline"],[1,"top-dialog-button-margin"]],template:function(e,i){1&e&&(k(0,"div",0),ve("click",function(){return i.showTabSelector()}),k(1,"div",1)(2,"div",2)(3,"span"),I(4),R(5,"translate"),C()(),k(6,"mat-icon",3),I(7,"expand_more"),C()(),Ce(8,"div",4),C()),2&e&&(c(4),re(H(5,2,i.tabNames[i.selectedTab])),c(2),w("inline",!0))},dependencies:[vn,yt],styles:[".top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{display:flex}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .tab-name[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;align-self:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:20px;flex-shrink:0;align-self:center}"]}),t})();const Jte=["button"],Qte=["settingsButton"],ene=["firstInput"],tne=["tabGroup"];function nne(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"apps.vpn-socks-client-settings.remote-key-length-error")))}function ine(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.vpn-socks-client-settings.remote-key-chars-error")))}const lc=function(t){return{"element-disabled":t}};function rne(t,n){if(1&t&&(k(0,"mat-form-field",7)(1,"div",8)(2,"label",9),I(3),R(4,"translate"),C(),Ce(5,"input",24),C()()),2&t){const e=z();w("ngClass",He(4,lc,e.disableDismiss)),c(3),re(H(4,2,"apps.vpn-socks-client-settings.password"))}}function one(t,n){1&t&&(k(0,"div",25)(1,"mat-icon",26),I(2,"warning"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function sne(t,n){1&t&&Ce(0,"app-loading-indicator",27),2&t&&w("showWhite",!1)}function ane(t,n){1&t&&(k(0,"div",28)(1,"mat-icon",26),I(2,"error"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function lne(t,n){1&t&&(k(0,"div",35),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function cne(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e[1]))}}function dne(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e[2])}}function une(t,n){if(1&t&&(k(0,"div",35)(1,"span"),I(2),R(3,"translate"),C(),V(4,cne,3,3,"ng-container",20),V(5,dne,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e[0])," "),c(2),w("ngIf",e[1]),c(1),w("ngIf",e[2])}}function hne(t,n){1&t&&(k(0,"div",28)(1,"mat-icon",26),I(2,"error"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}const kP=function(t){return{highlighted:t}};function fne(t,n){if(1&t&&(Ue(0),k(1,"span",7),I(2),C(),We()),2&t){const e=n.$implicit,i=n.index;c(1),w("ngClass",He(2,kP,i%2!=0)),c(1),re(e)}}function pne(t,n){if(1&t&&(Ue(0),k(1,"div",42),Ce(2,"div"),C(),We()),2&t){const e=z(2).$implicit;c(2),di("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function mne(t,n){if(1&t&&(Ue(0),k(1,"span",7),I(2),C(),We()),2&t){const e=n.$implicit,i=n.index;c(1),w("ngClass",He(2,kP,i%2!=0)),c(1),re(e)}}function gne(t,n){if(1&t&&(k(0,"div",35)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5,"\xa0 "),V(6,pne,3,2,"ng-container",20),V(7,mne,3,4,"ng-container",39),C()()),2&t){const e=z().$implicit,i=z(2);c(2),re(H(3,3,"apps.vpn-socks-client-settings.location")),c(4),w("ngIf",e.country),c(1),w("ngForOf",i.getHighlightedTextParts(e.location,i.currentFilters.location))}}function _ne(t,n){if(1&t){const e=et();k(0,"div",36)(1,"button",37),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).saveChanges(s.pk,null,!1,s.location))}),k(2,"div",38)(3,"div",35)(4,"span"),I(5),R(6,"translate"),C(),k(7,"span"),I(8,"\xa0"),V(9,fne,3,4,"ng-container",39),C()(),V(10,gne,8,5,"div",32),C()(),k(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).copyPk(s.pk))}),R(12,"translate"),k(13,"mat-icon",41),I(14,"filter_none"),C()()()}if(2&t){const e=n.$implicit,i=z(2);c(1),w("ngClass",He(10,lc,i.disableDismiss)),c(4),re(H(6,6,"apps.vpn-socks-client-settings.key")),c(4),w("ngForOf",i.getHighlightedTextParts(e.pk,i.currentFilters.key)),c(1),w("ngIf",e.location),c(1),w("matTooltip",H(12,8,"apps.vpn-socks-client-settings.copy-pk-info")),c(2),w("inline",!0)}}function bne(t,n){if(1&t){const e=et();Ue(0),k(1,"button",29),ve("click",function(){return Pe(e),Oe(z().changeFilters())}),k(2,"div",30)(3,"div",31)(4,"mat-icon",26),I(5,"filter_list"),C()(),k(6,"div"),V(7,lne,3,3,"div",32),V(8,une,6,5,"div",33),k(9,"div",34),I(10),R(11,"translate"),C()()()(),V(12,hne,5,4,"div",19),V(13,_ne,15,12,"div",22),We()}if(2&t){const e=z();c(4),w("inline",!0),c(3),w("ngIf",0===e.currentFiltersTexts.length),c(1),w("ngForOf",e.currentFiltersTexts),c(2),re(H(11,6,"apps.vpn-socks-client-settings.click-to-change")),c(2),w("ngIf",0===e.filteredProxiesFromDiscovery.length),c(1),w("ngForOf",e.proxiesFromDiscoveryToShow)}}const vne=function(t,n){return{currentElementsRange:t,totalElements:n}};function yne(t,n){if(1&t){const e=et();k(0,"div",43)(1,"span"),I(2),R(3,"translate"),C(),k(4,"button",44),ve("click",function(){return Pe(e),Oe(z().goToPreviousPage())}),k(5,"mat-icon"),I(6,"chevron_left"),C()(),k(7,"button",44),ve("click",function(){return Pe(e),Oe(z().goToNextPage())}),k(8,"mat-icon"),I(9,"chevron_right"),C()()()}if(2&t){const e=z();c(2),re(kt(3,1,"apps.vpn-socks-client-settings.pagination-info",mn(4,vne,e.currentRange,e.filteredProxiesFromDiscovery.length)))}}const Mne=function(t){return{number:t}};function wne(t,n){if(1&t&&(k(0,"div")(1,"div",28)(2,"mat-icon",26),I(3,"error"),C(),I(4),R(5,"translate"),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),ce(" ",kt(5,2,"apps.vpn-socks-client-settings.no-history",He(5,Mne,e.maxHistoryElements))," ")}}function Cne(t,n){1&t&&Jo(0)}function xne(t,n){1&t&&Jo(0)}function kne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z(2).$implicit;c(2),ce(" ",e.note,"")}}function Sne(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),ce(" ",H(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function Dne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z(4).$implicit;c(2),ce(" (",e.location,")")}}function Tne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),V(4,Dne,3,1,"ng-container",20),We()),2&t){const e=z(3).$implicit;c(2),ce(" ",H(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),c(2),w("ngIf",e.location)}}function Lne(t,n){if(1&t&&(Ue(0),V(1,Sne,4,3,"ng-container",20),V(2,Tne,5,4,"ng-container",20),We()),2&t){const e=z(2).$implicit;c(1),w("ngIf",e.enteredManually),c(1),w("ngIf",!e.enteredManually)}}function Ene(t,n){if(1&t&&(k(0,"div",49)(1,"div",50)(2,"div",35)(3,"span"),I(4),R(5,"translate"),C(),k(6,"span"),I(7),C()(),k(8,"div",35)(9,"span"),I(10),R(11,"translate"),C(),V(12,kne,3,1,"ng-container",20),V(13,Lne,3,2,"ng-container",20),C()(),k(14,"div",51)(15,"div",52)(16,"mat-icon",26),I(17,"add"),C()()()()),2&t){const e=z().$implicit;c(4),re(H(5,6,"apps.vpn-socks-client-settings.key")),c(3),ce(" ",e.key,""),c(3),re(H(11,8,"apps.vpn-socks-client-settings.note")),c(2),w("ngIf",e.note),c(1),w("ngIf",!e.note),c(3),w("inline",!0)}}function Ine(t,n){if(1&t){const e=et();k(0,"div",36)(1,"button",45),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().useFromHistory(s))}),V(2,Cne,1,0,"ng-container",46),C(),k(3,"button",47),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().changeNote(s))}),R(4,"translate"),k(5,"mat-icon",41),I(6,"edit"),C()(),k(7,"button",47),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().removeFromHistory(s.key))}),R(8,"translate"),k(9,"mat-icon",41),I(10,"close"),C()(),k(11,"button",48),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().openHistoryOptions(s))}),V(12,xne,1,0,"ng-container",46),C(),V(13,Ene,18,10,"ng-template",null,2,Es),C()}if(2&t){const e=ci(14),i=z();c(1),w("ngClass",He(12,lc,i.disableDismiss)),c(1),w("ngTemplateOutlet",e),c(1),w("matTooltip",H(4,8,"apps.vpn-socks-client-settings.change-note")),c(2),w("inline",!0),c(2),w("matTooltip",H(8,10,"apps.vpn-socks-client-settings.remove-entry")),c(2),w("inline",!0),c(2),w("ngClass",He(14,lc,i.disableDismiss)),c(1),w("ngTemplateOutlet",e)}}function Pne(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"apps.vpn-socks-client-settings.dns-error")))}function One(t,n){1&t&&(k(0,"div",59)(1,"mat-icon",26),I(2,"warning"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}function Ane(t,n){if(1&t){const e=et();k(0,"mat-tab",5),R(1,"translate"),k(2,"form",6)(3,"mat-form-field",7)(4,"div",8)(5,"label",9),I(6),R(7,"translate"),C(),Ce(8,"input",53),C(),k(9,"mat-error"),V(10,Pne,4,3,"ng-container",20),C()(),k(11,"div",54)(12,"mat-checkbox",55),I(13),R(14,"translate"),k(15,"mat-icon",56),R(16,"translate"),I(17,"help"),C()()(),V(18,One,5,4,"div",57),k(19,"app-button",16,58),ve("action",function(){return Pe(e),Oe(z().saveSettings())}),I(21),R(22,"translate"),C()()()}if(2&t){const e=z();w("label",H(1,12,e.tabLabels[3])),c(2),w("formGroup",e.settingsForm),c(1),w("ngClass",He(22,lc,e.disableDismiss)),c(3),re(H(7,14,"apps.vpn-socks-client-settings.dns")),c(4),w("ngIf",!e.settingsForm.get("dns").valid),c(2),w("ngClass",He(24,lc,e.disableDismiss)),c(1),ce(" ",H(14,16,"apps.vpn-socks-client-settings.killswitch-check")," "),c(2),w("inline",!0)("matTooltip",H(16,18,"apps.vpn-socks-client-settings.killswitch-info")),c(3),w("ngIf",e.settingsChanged),c(1),w("disabled",!e.settingsForm.valid||!e.settingsChanged||e.working),c(2),ce(" ",H(22,20,"apps.vpn-socks-client-settings.save-settings")," ")}}let Fne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l,d,_,E){this.data=e,this.dialogRef=i,this.appsService=o,this.formBuilder=s,this.snackbarService=a,this.dialog=l,this.proxyDiscoveryService=d,this.clipboardService=_,this.storageService=E,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.tabLabels=[],this.currentTab=0,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new mP,this.currentFiltersTexts=[],this.configuringVpn=!1,this.initialKillswitchSetting=!1,this.initialDnsSetting="",this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")?(this.configuringVpn=!0,this.tabLabels=["apps.vpn-socks-client-settings.remote-visor-tab","apps.vpn-socks-client-settings.discovery-tab","apps.vpn-socks-client-settings.history-tab","apps.vpn-socks-client-settings.settings-tab"]):this.tabLabels=["apps.vpn-socks-client-settings.remote-visor-tab","apps.vpn-socks-client-settings.discovery-tab","apps.vpn-socks-client-settings.history-tab"]}ngOnInit(){this.migrateDataToHvStorage(),this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(o=>{this.proxiesFromDiscovery=o,this.proxiesFromDiscovery.forEach(s=>{s.country&&this.countriesFromDiscovery.add(s.country.toUpperCase())}),this.filterProxies(),this.loadingFromDiscovery=!1});const e=this.storageService.getDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];let i="";if(this.data.args&&this.data.args.length>0)for(let o=0;othis.firstInput.nativeElement.focus())}ngOnDestroy(){this.discoverySubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}migrateDataToHvStorage(){const e=localStorage.getItem(this.socksHistoryStorageKey);e&&(this.storageService.setDataForHv(this.socksHistoryStorageKey,e),localStorage.removeItem(this.socksHistoryStorageKey));const i=localStorage.getItem(this.vpnHistoryStorageKey);i&&(this.storageService.setDataForHv(this.vpnHistoryStorageKey,i),localStorage.removeItem(this.vpnHistoryStorageKey))}get disableDismiss(){return this.button&&this.button.isLoading||this.settingsButton&&this.settingsButton.isLoading}tabChangeRequested(e){this.tabGroup.selectedIndex=e}tabIdexChanged(){this.currentTab=this.tabGroup.selectedIndex}validateIp(){if(this.settingsForm){const e=this.settingsForm.get("dns").value;return Zt.checkIfIpValidOrEmpty(e)?null:{invalid:!0}}return null}get settingsChanged(){return this.initialKillswitchSetting!==this.settingsForm.get("killswitch").value||this.initialDnsSetting!==this.settingsForm.get("dns").value}changeFilters(){const e=[];this.countriesFromDiscovery.forEach(o=>e.push(o)),ste.openDialog(this.dialog,{currentFilters:this.currentFilters,availableCountries:e}).afterClosed().subscribe(o=>{o&&(this.currentFilters=o,this.filterProxies())})}getHighlightedTextParts(e,i){if(!i)return[e];const o=e.toLowerCase(),s=i.toLowerCase();let a=!0,l=0;const d=[];for(;a;){const _=o.indexOf(s,l);-1===_?a=!1:(d.push(e.substring(l,_)),d.push(e.substring(_,_+i.length)),l=_+i.length)}return d.push(e.substring(l)),d}filterProxies(){this.filteredProxiesFromDiscovery=this.currentFilters.country||this.currentFilters.location||this.currentFilters.key?this.proxiesFromDiscovery.filter(e=>!(this.currentFilters.country&&(!e.country||!e.country.toUpperCase().includes(this.currentFilters.country.toUpperCase()))||this.currentFilters.location&&!e.location.toLowerCase().includes(this.currentFilters.location.toLowerCase())||this.currentFilters.key&&!e.address.toLowerCase().includes(this.currentFilters.key.toLowerCase()))):this.proxiesFromDiscovery,this.updateCurrentFilters(),this.updatePagination()}updateCurrentFilters(){if(this.currentFiltersTexts=[],this.currentFilters.country){const e=_a[this.currentFilters.country.toUpperCase()]?_a[this.currentFilters.country.toUpperCase()]:this.currentFilters.country.toUpperCase();this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.country","",e])}this.currentFilters.location&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.location","",this.currentFilters.location]),this.currentFilters.key&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.pub-key","",this.currentFilters.key])}updatePagination(){this.currentPage=1,this.numberOfPages=Math.ceil(this.filteredProxiesFromDiscovery.length/this.maxElementsPerPage),this.showCurrentPage()}goToNextPage(){this.currentPage>=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}goToPreviousPage(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}showCurrentPage(){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.currentPage{1===o?this.useFromHistory(e):2===o?this.changeNote(e):3===o&&this.removeFromHistory(e.key)})}removeFromHistory(e){const o=Zt.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.remove-from-history-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{this.history=this.history.filter(a=>a.key!==e);const s=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),o.close()})}changeNote(e){Xee.openDialog(this.dialog,e.note).afterClosed().subscribe(i=>{if(i){i=i.substr(1,i.length-1),this.history.forEach(s=>{s.key===e.key&&(s.note=i)});const o=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,o),i?this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"):this.snackbarService.showWarning("apps.vpn-socks-client-settings.default-note-warning")}})}useFromHistory(e){e.hasPassword?lte.openDialog(this.dialog).afterClosed().subscribe(i=>{i&&(i=i.substr(1,i.length-1),this.saveChanges(e.key,i,e.enteredManually,e.location,e.note))}):this.saveChanges(e.key,null,e.enteredManually,e.location,e.note)}saveChanges(e=null,i=null,o=null,s=null,a=null){if(!this.form.valid&&!e||this.working)return;o=!e||o,i=e?i:this.form.get("password").value,e=e||this.form.get("pk").value;const d=Zt.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.change-key-confirmation");d.componentInstance.operationAccepted.subscribe(()=>{d.close(),this.continueSavingChanges(e,i,o,s,a)})}saveSettings(){if(this.working)return;const e={killswitch:this.settingsForm.get("killswitch").value,dns:this.settingsForm.get("dns").value};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,e).subscribe(()=>{this.initialKillswitchSetting=e.killswitch,this.initialDnsSetting=e.dns,this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.settingsButton.reset(!1),this.button.reset(!1),Mt.refreshCurrentDisplayedData()},i=>{this.working=!1,this.settingsButton.showError(!1),this.button.reset(!1),i=Qt(i),this.snackbarService.showError(i)})}copyPk(e){this.clipboardService.copy(e)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}continueSavingChanges(e,i,o,s,a){if(this.working)return;this.button.showLoading(!1),this.settingsButton&&this.settingsButton.showLoading(!1),this.working=!0;const l={pk:e};this.configuringVpn&&(l.passcode=i||""),this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,l).subscribe(()=>this.onServerDataChangeSuccess(e,!!i,o,s,a),d=>this.onServerDataChangeError(d))}onServerDataChangeSuccess(e,i,o,s,a){this.history=this.history.filter(_=>_.key!==e);const l={key:e,enteredManually:o};if(i&&(l.hasPassword=i),s&&(l.location=s),a&&(l.note=a),this.history=[l].concat(this.history),this.history.length>this.maxHistoryElements){const _=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-_,_)}this.form.get("pk").setValue(e);const d=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,d),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton&&this.settingsButton.reset(!1)}onServerDataChangeError(e){this.working=!1,this.button.showError(!1),this.settingsButton&&this.settingsButton.reset(!1),e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(ga),N(_r),N(kn),N(xn),N(cte),N(tf),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,i){if(1&e&&(pt(Jte,5),pt(Qte,5),pt(ene,5),pt(tne,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.settingsButton=o.first),it(o=rt())&&(i.firstInput=o.first),it(o=rt())&&(i.tabGroup=o.first)}},decls:38,vars:40,consts:[[3,"headline","dialog","disableDismiss","includeVerticalMargins","includeScrollableArea"],[3,"tabNames","selectedTab","tabChanged"],["content",""],[3,"selectedIndexChange"],["tabGroup",""],[3,"label"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["id","pk","formControlName","pk","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[3,"ngClass",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"],[4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[3,"label",4,"ngIf"],["id","password","type","password","formControlName","password","maxlength","100","matInput",""],[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"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"ngClass","click"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[1,"option-button-icon",3,"inline"],[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,"ngClass","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,"ngClass","click"],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],["formControlName","dns","maxlength","15","matInput",""],[1,"main-theme","settings-option"],["color","primary","formControlName","killswitch",3,"ngClass"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],[1,"settings-changed-warning"]],template:function(e,i){if(1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"app-tab-selector",1),ve("tabChanged",function(s){return i.tabChangeRequested(s)}),C(),k(3,"mat-dialog-content",null,2)(5,"mat-tab-group",3,4),ve("selectedIndexChange",function(){return i.tabIdexChanged()}),k(7,"mat-tab",5),R(8,"translate"),k(9,"form",6)(10,"mat-form-field",7)(11,"div",8)(12,"label",9),I(13),R(14,"translate"),C(),Ce(15,"input",10,11),C(),k(17,"mat-error"),V(18,nne,4,3,"ng-container",12),C(),V(19,ine,3,3,"ng-template",null,13,Es),C(),V(21,rne,6,6,"mat-form-field",14),V(22,one,5,4,"div",15),k(23,"app-button",16,17),ve("action",function(){return i.saveChanges()}),I(25),R(26,"translate"),C()()(),k(27,"mat-tab",5),R(28,"translate"),V(29,sne,1,1,"app-loading-indicator",18),V(30,ane,5,4,"div",19),V(31,bne,14,8,"ng-container",20),V(32,yne,10,7,"div",21),C(),k(33,"mat-tab",5),R(34,"translate"),V(35,wne,6,7,"div",20),V(36,Ine,15,16,"div",22),C(),V(37,Ane,23,26,"mat-tab",23),C()()()),2&e){const o=ci(20);w("headline",H(1,26,"apps.vpn-socks-client-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss)("includeVerticalMargins",!1)("includeScrollableArea",!1),c(2),w("tabNames",i.tabLabels)("selectedTab",i.currentTab),c(5),w("label",H(8,28,i.tabLabels[0])),c(2),w("formGroup",i.form),c(1),w("ngClass",He(38,lc,i.disableDismiss)),c(3),re(H(14,30,"apps.vpn-socks-client-settings.public-key")),c(5),w("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",o),c(3),w("ngIf",i.configuringVpn),c(1),w("ngIf",i.form&&i.form.get("password").value),c(1),w("disabled",!i.form.valid||i.working),c(2),ce(" ",H(26,32,"apps.vpn-socks-client-settings.save")," "),c(2),w("label",H(28,34,i.tabLabels[1])),c(2),w("ngIf",i.loadingFromDiscovery),c(1),w("ngIf",!i.loadingFromDiscovery&&0===i.proxiesFromDiscovery.length),c(1),w("ngIf",!i.loadingFromDiscovery&&i.proxiesFromDiscovery.length>0),c(1),w("ngIf",i.numberOfPages>1),c(1),w("label",H(34,36,i.tabLabels[2])),c(2),w("ngIf",0===i.history.length),c(1),w("ngForOf",i.history),c(1),w("ngIf",i.configuringVpn)}},dependencies:[Pn,gi,Ft,fd,Ai,Ii,Pi,Oi,kr,ti,yi,ag,tr,ua,br,wP,qte,$r,nl,vn,Mi,pa,Fi,Zn,as,Xte,yt],styles:["mat-tab-header{border-bottom:solid 1px rgba(0,0,0,.12)}@media (max-width: 767px){ mat-tab-header{display:none!important}}app-tab-selector[_ngcontent-%COMP%]{display:none}@media (max-width: 767px){app-tab-selector[_ngcontent-%COMP%]{display:block!important}}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:5px}.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);height:auto;justify-content:left}.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}.list-button[_ngcontent-%COMP%] .option-button-icon[_ngcontent-%COMP%]{font-size:14px;margin:0!important;overflow:visible!important}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px;display:flex;align-items:center}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px;display:flex}.settings-option[_ngcontent-%COMP%]{margin-top:20px}.settings-option[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative}"]}),t})();const Rne=["button"],SP=function(t){return{"element-disabled":t}},DP=function(t){return{number:t}};function Nne(t,n){if(1&t){const e=et();Ue(0,7),k(1,"div",8)(2,"mat-form-field",9)(3,"div",10)(4,"label",11),I(5),R(6,"translate"),C(),Ce(7,"input",12),C()(),k(8,"mat-form-field",9)(9,"div",10)(10,"label",13),I(11),R(12,"translate"),C(),Ce(13,"input",14),C()(),k(14,"button",15),ve("click",function(){const s=Pe(e).index;return Oe(z().removeSetting(s))}),R(15,"translate"),k(16,"mat-icon",16),I(17,"close"),C()()(),We()}if(2&t){const e=n.index,i=z();c(1),w("formGroupName",e),c(1),w("ngClass",He(15,SP,i.disableDismiss)),c(3),re(kt(6,7,"apps.user-app-settings.name",He(17,DP,e+1))),c(3),w("ngClass",He(19,SP,i.disableDismiss)),c(3),re(kt(12,10,"apps.user-app-settings.value",He(21,DP,e+1))),c(3),w("matTooltip",H(15,13,"apps.user-app-settings.remove")),c(2),w("inline",!0)}}const Yne=function(t){return{name:t}};let Hne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l,this.appName="",this.appName=e.name}ngOnInit(){if(this.form=this.formBuilder.group({settings:this.formBuilder.array([])}),this.data.args&&this.data.args.length>0)for(let e=0;e{let a=s.get("name").value,l=s.get("value").value;a=a&&a.trim(),l=l&&l.trim(),a?(o[a]=l,i+=1):e=!0}),e||0===i){const a=Zt.createConfirmationDialog(this.dialog,"apps.user-app-settings."+(0===i?"empty-confirmation":"invalid-confirmation"));a.componentInstance.operationAccepted.subscribe(()=>{a.close(),this.continueSavingChanges(o)})}else this.continueSavingChanges(o)}continueSavingChanges(e){this.button.showLoading();const i={custom_setting:e};this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,i).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.user-app-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(ga),N(_r),N(On),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-user-app-settings"]],viewQuery:function(e,i){if(1&e&&pt(Rne,5),2&e){let o;it(o=rt())&&(i.button=o.first)}},decls:15,vars:20,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup"],["formArrayName","settings",4,"ngFor","ngForOf"],[1,"add-setting",3,"click"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["formArrayName","settings"],[1,"settings-row",3,"formGroupName"],[3,"ngClass"],[1,"field-container"],["for","name",1,"field-label"],["id","name","formControlName","name","matInput",""],["for","value",1,"field-label"],["id","value","formControlName","value","matInput",""],["mat-button","",1,"transparent-button",3,"matTooltip","click"],[3,"inline"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),k(5,"form",2),V(6,Nne,18,23,"ng-container",3),C(),k(7,"div")(8,"a",4),ve("click",function(){return i.addSetting()}),I(9),R(10,"translate"),C()(),k(11,"app-button",5,6),ve("action",function(){return i.saveChanges()}),I(13),R(14,"translate"),C()()),2&e&&(w("headline",kt(1,9,"apps.user-app-settings.title",He(18,Yne,i.appName)))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),re(H(4,12,"apps.user-app-settings.info")),c(2),w("formGroup",i.form),c(1),w("ngForOf",i.settingsControls),c(3),ce("+ ",H(10,14,"apps.user-app-settings.add"),""),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(14,16,"apps.user-app-settings.save")," "))},dependencies:[Pn,gi,Ai,Ii,Pi,Oi,ti,yi,Qh,ef,tr,br,$r,vn,Mi,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}.settings-row[_ngcontent-%COMP%]{display:flex}mat-form-field[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px}button[_ngcontent-%COMP%]{flex-shrink:0;width:50px;padding:0!important;align-self:center;border-radius:10px}button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin:0!important}.add-setting[_ngcontent-%COMP%]{color:#215f9e!important;cursor:pointer}"]}),t})();const Bne=["button"],TP=function(t){return{"element-disabled":t}};let Vne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l}ngOnInit(){if(this.form=this.formBuilder.group({localhostOnly:[!0],port:["",Yt.compose([Yt.required,Yt.min(1025),Yt.max(65536)])]}),this.formSubscription=this.form.get("localhostOnly").valueChanges.subscribe(e=>{if(!e){this.form.get("localhostOnly").setValue(!0);const i=Zt.createConfirmationDialog(this.dialog,"apps.skychat-settings.non-localhost-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.form.get("localhostOnly").setValue(!1,{emitEvent:!1})})}}),this.data.args&&this.data.args.length>0)for(let e=0;e1)}}function gie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-official")))}function _ie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-user")))}function bie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-with-filter")))}function vie(t,n){if(1&t&&(k(0,"div",23)(1,"div",58)(2,"mat-icon",59),I(3,"warning"),C(),V(4,gie,3,3,"span",60),V(5,_ie,3,3,"span",60),V(6,bie,3,3,"span",60),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allAppsForType.length&&e.showOfficialApps),c(1),w("ngIf",0===e.allAppsForType.length&&!e.showOfficialApps),c(1),w("ngIf",0!==e.allAppsForType.length)}}function yie(t,n){if(1&t&&Ce(0,"app-paginator",22),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",mn(4,LP,e.nodePK,e.showOfficialApps))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Mie=function(t){return{"paginator-icons-fixer":t}};let IP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter&&this.dataSorter.setData(this.filteredApps)}set apps(e){this.allApps=e||[],this.allApps&&(this.allAppsForType=[],this.allApps.forEach(i=>{(this.showOfficialApps&&this.officialAppsList.has(i.name)||!this.showOfficialApps&&!this.officialAppsList.has(i.name))&&this.allAppsForType.push(i)}),this.dataFilterer&&this.dataFilterer.setData(this.allAppsForType))}constructor(e,i,o,s,a,l,d){this.appsService=e,this.dialog=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.listIdForOfficialApps="op",this.listIdForUserApps="up",this.officialAppsList=new Set(["skychat","skysocks","skysocks-client","vpn-client","vpn-server"]),this.showOfficialApps=!0,this.stateSortData=new Vn(["status"],"apps.apps-list.state",Xt.NumberReversed),this.nameSortData=new Vn(["name"],"apps.apps-list.app-name",Xt.Text),this.portSortData=new Vn(["port"],"apps.apps-list.port",Xt.Number),this.autoStartSortData=new Vn(["autostart"],"apps.apps-list.auto-start",Xt.Boolean),this.selections=new Map,this.appsWithoutConfig=new Set,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:$n.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:$n.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:$n.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:$n.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.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("showOfficialApps")&&(this.showOfficialApps=_.get("showOfficialApps").toUpperCase()==="true".toUpperCase()),_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}ngOnInit(){const e=this.showOfficialApps?this.listIdForOfficialApps:this.listIdForUserApps;this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,e),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataSorter&&this.dataSorter.setData(this.filteredApps),this.dataFilterer=new Yd(this.dialog,this.route,this.router,this.filterProperties,e),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(o=>{this.filteredApps=o,this.dataSorter.setData(this.filteredApps)}),this.allAppsForType&&this.dataFilterer.setData(this.allAppsForType)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}getLink(e){if("skychat"===e.name.toLocaleLowerCase()&&this.nodeIp&&0!==e.status&&2!==e.status){let i="8001",o="127.0.0.1";if(e.args)for(let s=0;s{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}changeStateOfSelected(e){const i=[];if(this.selections.forEach((o,s)=>{o&&(e&&(0===this.appsMap.get(s).status||2===this.appsMap.get(s).status)||!e&&0!==this.appsMap.get(s).status&&2!==this.appsMap.get(s).status)&&i.push(s)}),e)this.changeAppsValRecursively(i,!1,e);else{const o=Zt.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!1,e,o)})}}changeAutostartOfSelected(e){const i=[];this.selections.forEach((s,a)=>{s&&(e&&!this.appsMap.get(a).autostart||!e&&this.appsMap.get(a).autostart)&&i.push(a)});const o=Zt.createConfirmationDialog(this.dialog,e?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!0,e,o)})}showOptionsDialog(e){const i=[{icon:"list",label:"apps.view-logs"},{icon:0===e.status||2===e.status?"play_arrow":"stop",label:"apps."+(0===e.status||2===e.status?"start-app":"stop-app")},{icon:e.autostart?"close":"done",label:e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithoutConfig.has(e.name)||i.push({icon:"settings",label:"apps.settings"}),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.viewLogs(e):2===o?this.changeAppState(e):3===o?this.changeAppAutostart(e):4===o&&this.config(e)})}changeAppState(e){if(0===e.status||2===e.status)this.changeSingleAppVal(this.startChangingAppState(e.name,!0));else{const i=Zt.createConfirmationDialog(this.dialog,"apps.stop-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppState(e.name,!1),i)})}}changeAppAutostart(e){const i=Zt.createConfirmationDialog(this.dialog,e.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppAutostart(e.name,!e.autostart),i)})}changeSingleAppVal(e,i=null){this.operationSubscriptionsGroup.push(e.subscribe(()=>{i&&i.close(),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")},o=>{o=Qt(o),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),i?i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg):this.snackbarService.showError(o)}))}viewLogs(e){0!==e.status&&2!==e.status?Uee.openDialog(this.dialog,e):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}config(e){"skychat"===e.name?Vne.openDialog(this.dialog,e):"skysocks"===e.name||"vpn-server"===e.name?Kee.openDialog(this.dialog,e):"skysocks-client"===e.name||"vpn-client"===e.name?Fne.openDialog(this.dialog,e):Hne.openDialog(this.dialog,e)}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredApps){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(i,i+e),this.appsMap=new Map,this.appsToShow.forEach(a=>{this.appsMap.set(a.name,a),this.selections.has(a.name)||this.selections.set(a.name,!1)});const s=[];this.selections.forEach((a,l)=>{this.appsMap.has(l)||s.push(l)}),s.forEach(a=>{this.selections.delete(a)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(()=>Mt.refreshCurrentDisplayedData(),2e3))}startChangingAppState(e,i){return this.appsService.changeAppState(Mt.getCurrentNodeKey(),e,i).pipe(ke(o=>(null!=o.status&&this.dataSource.forEach(s=>{s.name===e&&(s.status=o.status,s.detailedStatus=o.detailed_status)}),o)))}startChangingAppAutostart(e,i){return this.appsService.changeAppAutostart(Mt.getCurrentNodeKey(),e,i)}changeAppsValRecursively(e,i,o,s=null){if(!e||0===e.length)return setTimeout(()=>Mt.refreshCurrentDisplayedData(),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(s&&s.close());let a;a=i?this.startChangingAppAutostart(e[e.length-1],o):this.startChangingAppState(e[e.length-1],o),this.operationSubscriptionsGroup.push(a.subscribe(()=>{e.pop(),0===e.length?(s&&s.close(),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")):this.changeAppsValRecursively(e,i,o,s)},l=>{l=Qt(l),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),s?s.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):this.snackbarService.showError(l)}))}}return t.\u0275fac=function(e){return new(e||t)(N(ga),N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showOfficialApps:"showOfficialApps",showShortList:"showShortList",apps:"apps"},decls:33,vars:35,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,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,jne,3,3,"span",2),V(3,zne,3,3,"span",2),V(4,Gne,5,4,"div",3),C(),k(5,"div",4)(6,"div",5),V(7,qne,3,4,"mat-icon",6),V(8,Kne,2,1,"mat-icon",7),k(9,"mat-menu",8,9)(11,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(12),R(13,"translate"),C(),k(14,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(15),R(16,"translate"),C(),k(17,"div",11),ve("click",function(){return i.changeStateOfSelected(!0)}),I(18),R(19,"translate"),C(),k(20,"div",11),ve("click",function(){return i.changeStateOfSelected(!1)}),I(21),R(22,"translate"),C(),k(23,"div",11),ve("click",function(){return i.changeAutostartOfSelected(!0)}),I(24),R(25,"translate"),C(),k(26,"div",11),ve("click",function(){return i.changeAutostartOfSelected(!1)}),I(27),R(28,"translate"),C()()(),V(29,Zne,1,7,"app-paginator",12),C()(),V(30,mie,41,38,"div",13),V(31,vie,7,4,"div",13),V(32,yie,1,7,"app-paginator",12)),2&e&&(w("ngClass",He(33,Mie,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_&&i.showOfficialApps),c(1),w("ngIf",i.showShortList_&&!i.showOfficialApps),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allAppsForType&&i.allAppsForType.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(13,21,"selection.select-all")," "),c(3),ce(" ",H(16,23,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(19,25,"selection.start-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(22,27,"selection.stop-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(25,29,"selection.enable-autostart-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(28,31,"selection.disable-autostart-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,nl,vn,Mi,Hd,ma,Bd,pa,Ag,Vd,yt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.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}"]}),t})(),wie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps,this.nodeIp=e.ip}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-apps"]],features:[nt],decls:2,vars:10,consts:[[3,"showOfficialApps","apps","showShortList","nodePK","nodeIp"]],template:function(e,i){1&e&&Ce(0,"app-node-app-list",0)(1,"app-node-app-list",0),2&e&&(w("showOfficialApps",!0)("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp),c(1),w("showOfficialApps",!1)("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp))},dependencies:[IP]}),t})();function Cie(t,n){1&t&&Ce(0,"app-transport-list",1),2&t&&w("node",z().node)("showShortList",!1)}let xie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>this.node=e),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-transports"]],features:[nt],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,i){1&e&&V(0,Cie,1,2,"app-transport-list",0),2&e&&w("ngIf",i.node)},dependencies:[Ft,hP]}),t})();function kie(t,n){if(1&t&&Ce(0,"app-route-list",1),2&t){const e=z();w("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}let Sie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.routes=e.routes}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-routes"]],features:[nt],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&V(0,kie,1,3,"app-route-list",0),2&e&&w("ngIf",i.routes)},dependencies:[Ft,pP]}),t})();function Die(t,n){if(1&t&&Ce(0,"app-node-app-list",1),2&t){const e=z();w("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}let Tie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-apps"]],features:[nt],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,i){1&e&&V(0,Die,1,3,"app-node-app-list",0),2&e&&w("ngIf",i.apps)},dependencies:[Ft,IP]}),t})();const Lie=["button"],Eie=["firstInput"],Iie=function(t){return{"element-disabled":t}};let PP=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.routeService=a}ngOnInit(){this.form=this.formBuilder.group({min:[this.data.minHops,Yt.compose([Yt.required,Yt.maxLength(3),Yt.pattern("^[0-9]+$")])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}save(){!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)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(fP))},t.\u0275cmp=Ke({type:t,selectors:[["app-router-config"]],viewQuery:function(e,i){if(1&e&&(pt(Lie,5),pt(Eie,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:21,vars:22,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup","ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","min","maxlength","3","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),k(5,"form",2)(6,"mat-form-field")(7,"div",3)(8,"label",4),I(9),R(10,"translate"),C(),Ce(11,"input",5,6),C(),k(13,"mat-error")(14,"span"),I(15),R(16,"translate"),C()()()(),k(17,"app-button",7,8),ve("action",function(){return i.save()}),I(19),R(20,"translate"),C()()),2&e&&(w("headline",H(1,10,"router-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),re(H(4,12,"router-config.info")),c(2),w("formGroup",i.form)("ngClass",He(20,Iie,i.disableDismiss)),c(4),re(H(10,14,"router-config.min-hops")),c(6),re(H(16,16,"router-config.min-hops-error")),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(20,18,"router-config.save-config-button")," "))},dependencies:[Pn,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}"]}),t})();const Pie=["button"],Oie=["firstInput"],Aie=function(t){return{"element-disabled":t}};let Fie=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.nodeService=a,this.dialog=l}ngOnInit(){this.form=this.formBuilder.group({address:[this.data.currentAddress,Yt.compose([Yt.minLength(20),Yt.maxLength(40)])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}startSaving(){if(this.form.valid&&!this.operationSubscription)if(this.form.get("address").value)this.finishSaving();else{const i=Zt.createConfirmationDialog(this.dialog,"rewards-address-config.empty-warning");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.finishSaving()})}}finishSaving(){this.button.showLoading();const e=this.form.get("address").value;let i=this.nodeService.setRewardsAddress(this.data.nodePk,e);e||(i=this.nodeService.deleteRewardsAddress(this.data.nodePk)),this.operationSubscription=i.subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("rewards-address-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(ha),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-rewards-address-config"]],viewQuery:function(e,i){if(1&e&&(pt(Pie,5),pt(Oie,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:25,vars:25,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],["href","https://github.com/skycoin/skywire/blob/master/mainnet_rules.md","target","_blank","rel","noreferrer nofollow noopener"],[3,"formGroup","ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","address","maxlength","40","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1)(3,"span"),I(4),R(5,"translate"),C(),k(6,"a",2),I(7),R(8,"translate"),C()(),k(9,"form",3)(10,"mat-form-field")(11,"div",4)(12,"label",5),I(13),R(14,"translate"),C(),Ce(15,"input",6,7),C(),k(17,"mat-error")(18,"span"),I(19),R(20,"translate"),C()()()(),k(21,"app-button",8,9),ve("action",function(){return i.startSaving()}),I(23),R(24,"translate"),C()()),2&e&&(w("headline",H(1,11,"rewards-address-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(4),ce("",H(5,13,"rewards-address-config.info")," "),c(3),ce(" ",H(8,15,"rewards-address-config.more-info-link")," "),c(2),w("formGroup",i.form)("ngClass",He(23,Aie,i.disableDismiss)),c(4),re(H(14,17,"rewards-address-config.address")),c(6),re(H(20,19,"rewards-address-config.address-error")),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(24,21,"rewards-address-config.save-config-button")," "))},dependencies:[Pn,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}"]}),t})(),Rie=(()=>{class t{constructor(e){this.clipboardService=e,this.copyEvent=new ht,this.errorEvent=new ht,this.value=""}ngOnDestroy(){this.copyEvent.complete(),this.errorEvent.complete()}copyToClipboard(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}return t.\u0275fac=function(e){return new(e||t)(N(tf))},t.\u0275dir=Ze({type:t,selectors:[["","clipboard",""]],hostBindings:function(e,i){1&e&&ve("click",function(){return i.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t})();function Nie(t,n){if(1&t&&(Ue(0),Ce(1,"app-truncated-text",3),k(2,"mat-icon",4),I(3,"filter_none"),C(),We()),2&t){const e=z();c(1),w("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),c(1),w("inline",!0)}}function Yie(t,n){if(1&t&&(k(0,"div",5)(1,"div",6),I(2),C(),k(3,"mat-icon",4),I(4,"filter_none"),C()()),2&t){const e=z();c(2),re(e.text),c(1),w("inline",!0)}}const Hie=function(t){return{text:t}},Bie=function(){return{"tooltip-word-break":!0}};let $1=(()=>{class t{constructor(e){this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}onCopyToClipboardClicked(){this.snackbarService.showDone("copy.copied")}}return t.\u0275fac=function(e){return new(e||t)(N(kn))},t.\u0275cmp=Ke({type:t,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"],[1,"text-margin",3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line","text-margin"]],template:function(e,i){1&e&&(k(0,"div",0),ve("copyEvent",function(){return i.onCopyToClipboardClicked()}),R(1,"translate"),V(2,Nie,4,5,"ng-container",1),V(3,Yie,5,2,"div",2),C()),2&e&&(w("clipboard",i.text)("matTooltip",kt(1,5,i.short||i.shortSimple?"copy.tooltip-with-text":"copy.tooltip",He(8,Hie,i.text)))("matTooltipClass",qn(10,Bie)),c(2),w("ngIf",!i.shortSimple),c(1),w("ngIf",i.shortSimple))},dependencies:[Ft,vn,Mi,Rie,BI,yt],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;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%] .text-margin[_ngcontent-%COMP%]{margin-right:5px}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none;flex-shrink:0;display:inline!important}']}),t})();var Vie=Y(6149);const jie=["chart"];let G1=(()=>{class t{constructor(e){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}ngAfterViewInit(){this.chart=new Vie.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:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}ngDoCheck(){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))}ngOnDestroy(){this.chart&&this.chart.destroy()}updateMinAndMax(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}return t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(N(Zu))},t.\u0275cmp=Ke({type:t,selectors:[["app-line-chart"]],viewQuery:function(e,i){if(1&e&&pt(jie,5),2&e){let o;it(o=rt())&&(i.chartElement=o.first)}},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"canvas",null,1),C()),2&e&&di("height: "+i.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t})();const OP=function(){return{showValue:!0}},AP=function(){return{showUnit:!0}};function zie(t,n){if(1&t&&(k(0,"div",1),Ce(1,"app-line-chart",2),k(2,"div",3)(3,"span",4),I(4),R(5,"translate"),C(),k(6,"span",5)(7,"span",6),I(8),R(9,"autoScale"),C(),k(10,"span",7),I(11),R(12,"autoScale"),C()()()()),2&t){const e=z();c(1),w("data",e.trafficData.sentHistory),c(3),re(H(5,4,"common.uploaded")),c(4),re(kt(9,6,e.trafficData.totalSent,qn(12,OP))),c(3),re(kt(12,9,e.trafficData.totalSent,qn(13,AP)))}}function Uie(t,n){if(1&t&&(k(0,"div",1),Ce(1,"app-line-chart",2),k(2,"div",3)(3,"span",4),I(4),R(5,"translate"),C(),k(6,"span",5)(7,"span",6),I(8),R(9,"autoScale"),C(),k(10,"span",7),I(11),R(12,"autoScale"),C()()()()),2&t){const e=z();c(1),w("data",e.trafficData.receivedHistory),c(3),re(H(5,4,"common.downloaded")),c(4),re(kt(9,6,e.trafficData.totalReceived,qn(12,OP))),c(3),re(kt(12,9,e.trafficData.totalReceived,qn(13,AP)))}}let Wie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-charts"]],inputs:{trafficData:"trafficData"},decls:2,vars:2,consts:[["class","small-rounded-elevated-box chart",4,"ngIf"],[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,i){1&e&&(V(0,zie,13,14,"div",0),V(1,Uie,13,14,"div",0)),2&e&&(w("ngIf",i.trafficData),c(1),w("ngIf",i.trafficData))},dependencies:[Ft,G1,yt,sf],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})();function $ie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),Ce(4,"app-copy-to-clipboard-text",9),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.public-ip")," "),c(2),In("text",e.node.publicIp)}}function Gie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),Ce(4,"app-copy-to-clipboard-text",9),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.ip")," "),c(2),In("text",e.node.ip)}}function qie(t,n){if(1&t&&(Ue(0),Ce(1,"app-copy-to-clipboard-text",9),We()),2&t){const e=z(2);c(1),In("text",e.node.dmsgServerPk)}}function Kie(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.node-info.no-dmsg-server")," "))}function Zie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),I(4),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.skybian-version")," "),c(2),ce(" ",e.node.skybianBuildVersion," ")}}const q1=function(t){return{time:t}};function Xie(t,n){if(1&t&&(k(0,"mat-icon",16),R(1,"translate"),I(2," info "),C()),2&t){const e=z(2);w("inline",!0)("matTooltip",kt(1,2,"node.details.node-info.time.minutes",He(5,q1,e.timeOnline.totalMinutes)))}}function Jie(t,n){if(1&t&&(Ue(0),Ce(1,"app-copy-to-clipboard-text",18),k(2,"a",19)(3,"mat-icon",20),R(4,"translate"),I(5," open_in_browser "),C()(),We()),2&t){const e=z(2);c(1),In("text",e.node.rewardsAddress),c(1),w("href","https://explorer.skycoin.com/app/address/"+e.node.rewardsAddress,Vo),c(1),w("inline",!0)("matTooltip",H(4,4,"node.details.rewards-info.open-in-explorer"))}}function Qie(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),k(3,"mat-icon",16),R(4,"translate"),I(5,"info"),C(),We()),2&t&&(c(1),ce(" ",H(2,3,"node.details.rewards-info.not-registered")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"node.details.rewards-info.not-registered-info")))}function ere(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.rewards-info.change-address-button")," "))}function tre(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.rewards-info.set-address-button")," "))}function nre(t,n){if(1&t){const e=et();k(0,"div",1)(1,"div",2)(2,"span",3),I(3),R(4,"translate"),C(),k(5,"span",4)(6,"span",5),I(7),R(8,"translate"),C(),k(9,"span",6),ve("click",function(){return Pe(e),Oe(z().showEditLabelDialog())}),k(10,"span",7),I(11),C(),k(12,"mat-icon",8),I(13,"edit"),C()()(),k(14,"span",4)(15,"span",5),I(16),R(17,"translate"),C(),Ce(18,"app-copy-to-clipboard-text",9),C(),k(19,"span",4)(20,"span",5),I(21),R(22,"translate"),C(),I(23),R(24,"translate"),C(),V(25,$ie,5,4,"span",10),V(26,Gie,5,4,"span",10),k(27,"span",4)(28,"span",5),I(29),R(30,"translate"),C(),V(31,qie,2,1,"ng-container",11),V(32,Kie,3,3,"ng-container",11),C(),k(33,"span",4)(34,"span",5),I(35),R(36,"translate"),C(),I(37),R(38,"translate"),C(),k(39,"span",4)(40,"span",5),I(41),R(42,"translate"),C(),I(43),R(44,"translate"),C(),k(45,"span",4)(46,"span",5),I(47),R(48,"translate"),C(),I(49),R(50,"translate"),C(),V(51,Zie,5,4,"span",10),k(52,"span",4)(53,"span",5),I(54),R(55,"translate"),C(),I(56),R(57,"translate"),V(58,Xie,3,7,"mat-icon",12),C()(),Ce(59,"div",13),k(60,"div",2)(61,"span",3),I(62),R(63,"translate"),C(),k(64,"span",4)(65,"span",5),I(66),R(67,"translate"),C(),V(68,Jie,6,6,"ng-container",11),V(69,Qie,6,7,"ng-container",11),C(),k(70,"div",14)(71,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeRewardsAddressConfig())}),V(72,ere,3,3,"ng-container",11),V(73,tre,3,3,"ng-container",11),C()()(),Ce(74,"div",13),k(75,"div",2)(76,"span",3),I(77),R(78,"translate"),C(),k(79,"span",4)(80,"span",5),I(81),R(82,"translate"),C(),I(83),R(84,"translate"),k(85,"mat-icon",16),R(86,"translate"),I(87,"info"),C()(),k(88,"div",14)(89,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeTransportsConfig())}),I(90),R(91,"translate"),C()()(),Ce(92,"div",13),k(93,"div",2)(94,"span",3),I(95),R(96,"translate"),C(),k(97,"span",4)(98,"span",5),I(99),R(100,"translate"),C(),I(101),C(),k(102,"div",14)(103,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeRouterConfig())}),I(104),R(105,"translate"),C()()(),Ce(106,"div",13),k(107,"div",2)(108,"span",3),I(109),R(110,"translate"),C(),k(111,"span",4)(112,"span",5),I(113),R(114,"translate"),C(),Ce(115,"i"),I(116),R(117,"translate"),C()(),Ce(118,"div",13),k(119,"div",2)(120,"span",3),I(121),R(122,"translate"),C(),Ce(123,"app-charts",17),C()()}if(2&t){const e=z();c(3),re(H(4,49,"node.details.node-info.title")),c(4),ce("",H(8,51,"node.details.node-info.label")," "),c(4),re(e.node.label),c(1),w("inline",!0),c(4),ce("",H(17,53,"node.details.node-info.public-key")," "),c(2),In("text",e.node.localPk),c(3),ce("",H(22,55,"node.details.node-info.symmetic-nat")," "),c(2),ce(" ",H(24,57,e.node.isSymmeticNat?"common.yes":"common.no")," "),c(2),w("ngIf",!e.node.isSymmeticNat),c(1),w("ngIf",e.node.ip),c(3),ce("",H(30,59,"node.details.node-info.dmsg-server")," "),c(2),w("ngIf",e.hasDmsgServer()),c(1),w("ngIf",!e.hasDmsgServer()),c(3),ce("",H(36,61,"node.details.node-info.ping")," "),c(2),ce(" ",kt(38,63,"common.time-in-ms",He(107,q1,e.node.roundTripPing))," "),c(4),ce("",H(42,66,"node.details.node-info.node-version")," "),c(2),ce(" ",e.node.version?e.node.version:H(44,68,"common.unknown")," "),c(4),ce("",H(48,70,"node.details.node-info.build-type")," "),c(2),ce(" ",e.node.buildTag?e.node.buildTag:H(50,72,"node.details.node-info.unknown-build")," "),c(2),w("ngIf",e.node.skybianBuildVersion),c(3),ce("",H(55,74,"node.details.node-info.time.title")," "),c(2),ce(" ",kt(57,76,"node.details.node-info.time."+e.timeOnline.translationVarName,He(109,q1,e.timeOnline.elapsedTime))," "),c(2),w("ngIf",e.timeOnline.totalMinutes>60),c(4),re(H(63,79,"node.details.rewards-info.title")),c(4),ce("",H(67,81,"node.details.rewards-info.rewards-address")," "),c(2),w("ngIf",e.node.rewardsAddress),c(1),w("ngIf",!e.node.rewardsAddress),c(2),w("forDarkBackground",!0),c(1),w("ngIf",e.node.rewardsAddress),c(1),w("ngIf",!e.node.rewardsAddress),c(4),re(H(78,83,"node.details.transports-info.title")),c(4),ce("",H(82,85,"node.details.transports-info.autoconnect")," "),c(2),ce(" ",H(84,87,"node.details.transports-info."+(e.node.autoconnectTransports?"enabled":"disabled"))," "),c(2),w("inline",!0)("matTooltip",H(86,89,"node.details.transports-info.autoconnect-info")),c(4),w("forDarkBackground",!0),c(1),ce(" ",H(91,91,"node.details.transports-info."+(e.node.autoconnectTransports?"disable":"enable")+"-button")," "),c(5),re(H(96,93,"node.details.router-info.title")),c(4),ce("",H(100,95,"node.details.router-info.min-hops")," "),c(2),ce(" ",e.node.minHops," "),c(2),w("forDarkBackground",!0),c(1),ce(" ",H(105,97,"node.details.router-info.change-config-button")," "),c(5),ce("",H(110,99,"node.details.node-health.title")," "),c(4),re(H(114,101,"node.details.node-health.uptime-tracker")),c(2),eo(e.nodeHealthClass),c(1),ce(" ",H(117,103,e.nodeHealthText)," "),c(5),re(H(122,105,"node.details.node-traffic-data")),c(2),w("trafficData",e.trafficData)}}let FP=(()=>{class t{set nodeInfo(e){this.node=e,this.timeOnline=Og.getElapsedTime(e.secondsOnline),e.health&&e.health.servicesHealth===ro.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):e.health&&e.health.servicesHealth===ro.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):e.health&&e.health.servicesHealth===ro.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}constructor(e,i,o,s){this.dialog=e,this.storageService=i,this.transportService=o,this.snackbarService=s}ngOnDestroy(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}showEditLabelDialog(){let e=this.storageService.getLabelInfo(this.node.localPk);e||(e={id:this.node.localPk,label:"",identifiedElementType:Xi.Node}),Y1.openDialog(this.dialog,e).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}changeRewardsAddressConfig(){Fie.openDialog(this.dialog,{nodePk:this.node.localPk,currentAddress:this.node.rewardsAddress}).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}changeRouterConfig(){PP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}hasDmsgServer(){return!(!this.node||0===this.node.dmsgServerPk.replace(/0/g,"").length)}changeTransportsConfig(){const e=Zt.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=this.transportService.changeAutoconnectSetting(this.node.localPk,!this.node.autoconnectTransports);this.autoconnectSubscription=i.subscribe(()=>{e.close(),this.snackbarService.showDone(this.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),Mt.refreshCurrentDisplayedData()},o=>{o=Qt(o),e.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)})})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Ji),N(j1),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo",trafficData:"trafficData"},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"],[1,"text-with-small-right-margin"],[1,"edit-icon",3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[3,"inline","matTooltip"],[1,"d-flex","flex-column","justify-content-end","mt-3",3,"trafficData"],[1,"text-with-right-margin",3,"text"],["target","_blank","rel","noreferrer nofollow noopener",3,"href"],[1,"link-icon","transparent-button",3,"inline","matTooltip"]],template:function(e,i){1&e&&V(0,nre,124,111,"div",0),2&e&&w("ngIf",i.node)},dependencies:[Ft,vn,Mi,$1,Fi,Wie,yt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-word;margin-top:7px}.info-line[_ngcontent-%COMP%] .text-with-right-margin[_ngcontent-%COMP%]{margin-right:5px}.info-line[_ngcontent-%COMP%] .text-with-small-right-margin[_ngcontent-%COMP%]{margin-right:3px}.info-line[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{font-size:20px;line-height:1;color:#fff!important;cursor:pointer}.info-line[_ngcontent-%COMP%] .edit-icon[_ngcontent-%COMP%]{display:inline!important}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;-webkit-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}"]}),t})(),ire=(()=>{class t extends er{ngOnInit(){return this.nodeSubscription=Mt.currentNode.subscribe(e=>{this.node=e}),this.trafficDataSubscription=Mt.currentTrafficData.subscribe(e=>{this.trafficData=e}),super.ngOnInit()}ngOnDestroy(){this.nodeSubscription.unsubscribe(),this.trafficDataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=bn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-node-info"]],features:[nt],decls:1,vars:2,consts:[[3,"nodeInfo","trafficData"]],template:function(e,i){1&e&&Ce(0,"app-node-info-content",0),2&e&&w("nodeInfo",i.node)("trafficData",i.trafficData)},dependencies:[FP]}),t})();const rre=function(){return["settings.title","labels.title"]};let ore=(()=>{class t{constructor(e){this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}performAction(e){null===e&&this.router.navigate(["settings"])}}return t.\u0275fac=function(e){return new(e||t)(N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"app-top-bar",2),ve("optionSelected",function(s){return i.performAction(s)}),C()(),k(3,"div",3),Ce(4,"app-label-list",4),C()()),2&e&&(c(2),w("titleParts",qn(5,rre))("tabsData",i.tabsData)("showUpdateButton",!1)("returnText",i.returnButtonText),c(2),w("showShortList",!1))},dependencies:[ac,dP]}),t})();const sre=["firstInput"];function are(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"vpn.server-list.add-server-dialog.pk-length-error")))}function lre(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.add-server-dialog.pk-chars-error")))}let cre=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l,d,_){this.dialogRef=e,this.data=i,this.formBuilder=o,this.dialog=s,this.router=a,this.vpnClientService=l,this.vpnSavedDataService=d,this.snackbarService=_}ngOnInit(){this.form=this.formBuilder.group({pk:["",Yt.compose([Yt.required,Yt.minLength(66),Yt.maxLength(66),Yt.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){if(!this.form.valid)return;const e={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};lr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,e,this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(xn),N(hn),N(sc),N(oc),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(e,i){if(1&e&&pt(sre,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:35,vars:23,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","pk","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput",""],["formControlName","name","maxlength","100","matInput",""],["formControlName","note","maxlength","100","matInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){if(1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C(),k(10,"mat-error"),V(11,are,4,3,"ng-container",6),C(),V(12,lre,3,3,"ng-template",null,7,Es),C(),k(14,"mat-form-field")(15,"div",2)(16,"label",3),I(17),R(18,"translate"),C(),Ce(19,"input",8),C()(),k(20,"mat-form-field")(21,"div",2)(22,"label",3),I(23),R(24,"translate"),C(),Ce(25,"input",9),C()(),k(26,"mat-form-field")(27,"div",2)(28,"label",3),I(29),R(30,"translate"),C(),Ce(31,"input",10),C()()(),k(32,"app-button",11),ve("action",function(){return i.process()}),I(33),R(34,"translate"),C()()),2&e){const o=ci(13);w("headline",H(1,11,"vpn.server-list.add-server-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,13,"vpn.server-list.add-server-dialog.pk-label")),c(5),w("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",o),c(6),re(H(18,15,"vpn.server-list.add-server-dialog.password-label")),c(6),re(H(24,17,"vpn.server-list.add-server-dialog.name-label")),c(6),re(H(30,19,"vpn.server-list.add-server-dialog.note-label")),c(3),w("disabled",!i.form.valid),c(1),ce(" ",H(34,21,"vpn.server-list.add-server-dialog.use-server-button")," ")}},dependencies:[Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,ua,br,Fi,Zn,yt]}),t})();class dre{constructor(){this.countryCode="ZZ"}}let ure=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}getServers(){return this.servers?$e(this.servers):this.http.get(this.discoveryServiceUrl).pipe(rf(e=>e.pipe(Ei(4e3))),ke(e=>{const i=[];return e&&e.forEach(o=>{const s=new dre,a=o.address.split(":");2===a.length&&(s.pk=a[0],s.location="",o.geo&&(o.geo.country&&(s.countryCode=o.geo.country),o.geo.region&&(s.location=o.geo.region)),s.name=a[0],s.note="",i.push(s))}),this.servers=i,i}))}}return t.\u0275fac=function(e){return new(e||t)(we(Vl))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function hre(t,n){1&t&&Jo(0)}const RP=function(){return["vpn.title"]};function fre(t,n){if(1&t&&(k(0,"div",3)(1,"div",4),Ce(2,"app-top-bar",5),k(3,"div",6)(4,"div",7)(5,"div",8),V(6,hre,1,0,"ng-container",9),C()()()(),Ce(7,"app-loading-indicator",10),C()),2&t){const e=z(),i=ci(2);c(2),w("titleParts",qn(6,RP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(4),w("ngTemplateOutlet",i)}}function pre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.public")))}const Ng=function(t,n){return["/vpn",t,"servers",n,1]};function mre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Ng,e.currentLocalPk,e.lists.Public)),c(2),re(H(3,2,"vpn.server-list.tabs.public"))}}function gre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.history")))}function _re(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Ng,e.currentLocalPk,e.lists.History)),c(2),re(H(3,2,"vpn.server-list.tabs.history"))}}function bre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.favorites")))}function vre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Ng,e.currentLocalPk,e.lists.Favorites)),c(2),re(H(3,2,"vpn.server-list.tabs.favorites"))}}function yre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.blocked")))}function Mre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Ng,e.currentLocalPk,e.lists.Blocked)),c(2),re(H(3,2,"vpn.server-list.tabs.blocked"))}}function wre(t,n){1&t&&Ce(0,"br")}function Cre(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function xre(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function kre(t,n){if(1&t&&(k(0,"div",28)(1,"span"),I(2),R(3,"translate"),C(),V(4,Cre,3,3,"ng-container",21),V(5,xre,2,1,"ng-container",21),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function Sre(t,n){if(1&t){const e=et();k(0,"div",25),ve("click",function(){return Pe(e),Oe(z(3).dataFilterer.removeFilters())}),k(1,"div",26)(2,"mat-icon",19),I(3,"search"),C(),I(4),R(5,"translate"),C(),V(6,kre,6,5,"div",27),C()}if(2&t){const e=z(3);c(2),w("inline",!0),c(2),ce(" ",H(5,3,"vpn.server-list.current-filters"),""),c(2),w("ngForOf",e.dataFilterer.currentFiltersTexts)}}function Dre(t,n){if(1&t&&(Ue(0),V(1,wre,1,0,"br",21),V(2,Sre,7,5,"div",24),We()),2&t){const e=z(2);c(1),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),c(1),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}const Tre=function(t){return{deactivated:t}};function Lre(t,n){if(1&t){const e=et();k(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),V(4,pre,4,3,"div",15),V(5,mre,4,7,"a",16),V(6,gre,4,3,"div",15),V(7,_re,4,7,"a",16),V(8,bre,4,3,"div",15),V(9,vre,4,7,"a",16),V(10,yre,4,3,"div",15),V(11,Mre,4,7,"a",16),C()()()(),k(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),ve("click",function(){Pe(e);const o=z();return Oe(o.dataFilterer?o.dataFilterer.changeFilters():null)}),R(17,"translate"),k(18,"span")(19,"mat-icon",19),I(20,"search"),C()()()()()()(),k(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),ve("click",function(){return Pe(e),Oe(z().enterManually())}),R(26,"translate"),k(27,"span")(28,"mat-icon",19),I(29,"add"),C()()()()()()(),V(30,Dre,3,2,"ng-container",21)}if(2&t){const e=z();c(4),w("ngIf",e.currentList===e.lists.Public),c(1),w("ngIf",e.currentList!==e.lists.Public),c(1),w("ngIf",e.currentList===e.lists.History),c(1),w("ngIf",e.currentList!==e.lists.History),c(1),w("ngIf",e.currentList===e.lists.Favorites),c(1),w("ngIf",e.currentList!==e.lists.Favorites),c(1),w("ngIf",e.currentList===e.lists.Blocked),c(1),w("ngIf",e.currentList!==e.lists.Blocked),c(1),w("ngClass",He(18,Tre,e.loading)),c(4),w("matTooltip",H(17,14,"filters.filter-info")),c(3),w("inline",!0),c(6),w("matTooltip",H(26,16,"vpn.server-list.add-manually-info")),c(3),w("inline",!0),c(2),w("ngIf",e.dataFilterer)}}function Ere(t,n){1&t&&Jo(0)}function Ire(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(5);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Pre(t,n){if(1&t){const e=et();k(0,"th",50),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.dateSortData))}),R(1,"translate"),k(2,"div",43)(3,"div",44),I(4),R(5,"translate"),C(),V(6,Ire,2,2,"mat-icon",41),C()()}if(2&t){const e=z(4);w("matTooltip",H(1,3,"vpn.server-list.date-info")),c(4),ce(" ",H(5,5,"vpn.server-list.date-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.dateSortData)}}function Ore(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Are(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Fre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Rre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Nre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Yre(t,n){if(1&t&&(k(0,"td",64),I(1),R(2,"date"),C()),2&t){const e=z().$implicit;c(1),ce(" ",kt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function Hre(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),ce(" ",e.location," ")}}function Bre(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"vpn.server-list.unknown")," "))}const Vre=function(t,n){return{custom:t,original:n}};function jre(t,n){if(1&t&&(k(0,"mat-icon",65),ve("click",function(i){return i.stopPropagation()}),R(1,"translate"),I(2,"info_outline"),C()),2&t){const e=z().$implicit,i=z(4);w("inline",!0)("matTooltip",kt(1,2,i.getNoteVar(e),mn(5,Vre,e.personalNote,e.note)))}}const zre=function(t){return{"selectable click-effect":t}};function Ure(t,n){if(1&t){const e=et();k(0,"tr",51),ve("click",function(){const s=Pe(e).$implicit,a=z(4);return Oe(a.currentList!==a.lists.Blocked?a.selectServer(s):null)}),V(1,Yre,3,4,"td",52),k(2,"td",53)(3,"div",54),Ce(4,"div",55),C()(),k(5,"td",56),Ce(6,"app-vpn-server-name",57),C(),k(7,"td",58),V(8,Hre,2,1,"ng-container",21),V(9,Bre,3,3,"ng-container",21),C(),k(10,"td",59)(11,"app-copy-to-clipboard-text",60),ve("click",function(o){return o.stopPropagation()}),C()(),k(12,"td",61),V(13,jre,3,8,"mat-icon",62),C(),k(14,"td",48)(15,"button",63),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),Oe(l.openOptions(a))}),R(16,"translate"),k(17,"mat-icon",19),I(18,"settings"),C()()()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",He(23,zre,i.currentList!==i.lists.Blocked)),c(1),w("ngIf",i.currentList===i.lists.History),c(3),di("background-image: url('assets/img/big-flags/"+e.countryCode.toLocaleLowerCase()+".png');"),w("matTooltip",i.getCountryName(e.countryCode)),c(2),w("isCurrentServer",i.currentServer&&e.pk===i.currentServer.pk)("isFavorite",e.flag===i.serverFlags.Favorite&&i.currentList!==i.lists.Favorites)("isBlocked",e.flag===i.serverFlags.Blocked&&i.currentList!==i.lists.Blocked)("isInHistory",e.inHistory&&i.currentList!==i.lists.History)("hasPassword",e.usedWithPassword)("name",e.name)("pk",e.pk)("customName",e.customName)("defaultName","vpn.server-list.none"),c(2),w("ngIf",e.location),c(1),w("ngIf",!e.location),c(2),w("shortSimple",!0)("text",e.pk),c(2),w("ngIf",e.note||e.personalNote),c(2),w("matTooltip",H(16,21,"vpn.server-options.tooltip")),c(2),w("inline",!0)}}const Wre=function(t,n){return{"public-pk-column":t,"history-pk-column":n}};function $re(t,n){if(1&t){const e=et();k(0,"table",38)(1,"tr"),V(2,Pre,7,7,"th",39),k(3,"th",40),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.countrySortData))}),R(4,"translate"),k(5,"mat-icon",19),I(6,"flag"),C(),V(7,Ore,2,2,"mat-icon",41),C(),k(8,"th",42),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.nameSortData))}),k(9,"div",43)(10,"div",44),I(11),R(12,"translate"),C(),V(13,Are,2,2,"mat-icon",41),C()(),k(14,"th",45),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.locationSortData))}),k(15,"div",43)(16,"div",44),I(17),R(18,"translate"),C(),V(19,Fre,2,2,"mat-icon",41),C()(),k(20,"th",46),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.pkSortData))}),R(21,"translate"),k(22,"div",43)(23,"div",44),I(24),R(25,"translate"),C(),V(26,Rre,2,2,"mat-icon",41),C()(),k(27,"th",47),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.noteSortData))}),R(28,"translate"),k(29,"div",43)(30,"mat-icon",19),I(31,"info_outline"),C(),V(32,Nre,2,2,"mat-icon",41),C()(),Ce(33,"th",48),C(),V(34,Ure,19,25,"tr",49),C()}if(2&t){const e=z(3);c(2),w("ngIf",e.currentList===e.lists.History),c(1),w("matTooltip",H(4,16,"vpn.server-list.country-info")),c(2),w("inline",!0),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.countrySortData),c(4),ce(" ",H(12,18,"vpn.server-list.name-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),c(4),ce(" ",H(18,20,"vpn.server-list.location-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.locationSortData),c(1),w("ngClass",mn(28,Wre,e.currentList===e.lists.Public,e.currentList===e.lists.History))("matTooltip",H(21,22,"vpn.server-list.public-key-info")),c(4),ce(" ",H(25,24,"vpn.server-list.public-key-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.pkSortData),c(1),w("matTooltip",H(28,26,"vpn.server-list.note-info")),c(3),w("inline",!0),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.noteSortData),c(2),w("ngForOf",e.dataSource)}}function Gre(t,n){if(1&t&&(k(0,"div",35)(1,"div",36),V(2,$re,35,31,"table",37),C()()),2&t){const e=z(2);c(2),w("ngIf",e.dataSource.length>0)}}const qre=function(t,n){return["/vpn",t,"servers",n]};function Kre(t,n){if(1&t&&Ce(0,"app-paginator",66),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",mn(4,qre,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Zre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-discovery")))}function Xre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-history")))}function Jre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-favorites")))}function Qre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-blocked")))}function eoe(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-with-filter")))}function toe(t,n){if(1&t&&(k(0,"div",35)(1,"div",67)(2,"mat-icon",68),I(3,"warning"),C(),V(4,Zre,3,3,"span",69),V(5,Xre,3,3,"span",69),V(6,Jre,3,3,"span",69),V(7,Qre,3,3,"span",69),V(8,eoe,3,3,"span",69),C()()),2&t){const e=z(2);c(2),w("inline",!0),c(2),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),c(1),w("ngIf",0!==e.allServers.length)}}const noe=function(t){return{"mb-3":t}};function ioe(t,n){if(1&t&&(k(0,"div",29)(1,"div",30),Ce(2,"app-top-bar",5),C(),k(3,"div",31)(4,"div",7)(5,"div",32),V(6,Ere,1,0,"ng-container",9),C(),V(7,Gre,3,1,"div",33),V(8,Kre,1,7,"app-paginator",34),V(9,toe,9,6,"div",33),C()()()),2&t){const e=z(),i=ci(2);c(2),w("titleParts",qn(10,RP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(3),w("ngClass",He(11,noe,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),c(1),w("ngTemplateOutlet",i),c(1),w("ngIf",0!==e.dataSource.length),c(1),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0===e.dataSource.length)}}var ri=(()=>((ri=ri||{}).Public="public",ri.History="history",ri.Favorites="favorites",ri.Blocked="blocked",ri))();let NP=(()=>{class t extends er{constructor(e,i,o,s,a,l,d,_,E){super(),this.dialog=e,this.router=i,this.translateService=o,this.route=s,this.vpnClientDiscoveryService=a,this.vpnClientService=l,this.vpnSavedDataService=d,this.snackbarService=_,this.storageService=E,this.persistentServerDataResponseKey="serv-dat-response",this.maxFullListElements=50,this.dateSortData=new Vn(["lastUsed"],"vpn.server-list.date-small-table-label",Xt.NumberReversed),this.countrySortData=new Vn(["countryName"],"vpn.server-list.country-small-table-label",Xt.Text),this.nameSortData=new Vn(["name"],"vpn.server-list.name-small-table-label",Xt.Text),this.locationSortData=new Vn(["location"],"vpn.server-list.location-small-table-label",Xt.Text),this.pkSortData=new Vn(["pk"],"vpn.server-list.public-key-small-table-label",Xt.Text),this.noteSortData=new Vn(["note"],"vpn.server-list.note-small-table-label",Xt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=lr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=ri.Public,this.vpnRunning=!1,this.serverFlags=An,this.lists=ri,this.initialLoadStarted=!1,this.navigationsSubscription=s.paramMap.subscribe(F=>{if(F.has("type")?F.get("type")===ri.Favorites?(this.currentList=ri.Favorites,this.listId="vfs"):F.get("type")===ri.Blocked?(this.currentList=ri.Blocked,this.listId="vbs"):F.get("type")===ri.History?(this.currentList=ri.History,this.listId="vhs"):(this.currentList=ri.Public,this.listId="vps"):(this.currentList=ri.Public,this.listId="vps"),lr.setDefaultTabForServerList(this.currentList),F.has("key")&&(this.currentLocalPk=F.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData),F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}this.initialLoadStarted||(this.initialLoadStarted=!0,this.loadData(!0))}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(F=>this.currentServer=F),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(F=>{F&&(this.loadingBackendData=!1,this.vpnRunning=F.vpnClientAppData.running)})}ngOnDestroy(){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()}enterManually(){cre.openDialog(this.dialog,this.currentLocalPk)}getNoteVar(e){return e.note&&e.personalNote?"vpn.server-list.notes-info":!e.note&&e.personalNote?e.personalNote:e.note}selectServer(e){const i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),i&&i.flag===An.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===e.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{const o=Zt.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.closeModal(),this.vpnClientService.start(),lr.redirectAfterServerChange(this.router,null,this.currentLocalPk)})}return}if(i&&i.usedWithPassword)return void JI.openDialog(this.dialog,!0).afterClosed().subscribe(o=>{o&&this.makeServerChange(e,"-"===o?null:o.substr(1))});this.makeServerChange(e,null)}}makeServerChange(e,i){lr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,e.originalLocalData,e.originalDiscoveryData,null,i)}openOptions(e){let i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);i||(i=this.vpnSavedDataService.processFromDiscovery(e.originalDiscoveryData)),i?lr.openServerOptions(i,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(o=>{o&&this.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}loadData(e){if(this.currentList===ri.Public){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.vpnClientDiscoveryService.getServers();i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),this.allServers=s.map(a=>({countryCode:a.countryCode,countryName:this.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,originalDiscoveryData:a})),this.vpnSavedDataService.updateFromDiscovery(s),this.loading=!1,this.processAllServers(),i&&this.loadData(!1)})}else{let i;i=this.currentList===ri.History?this.vpnSavedDataService.history:this.currentList===ri.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked,this.dataSubscription=i.subscribe(o=>{const s=[];o.forEach(a=>{s.push({countryCode:a.countryCode,countryName:this.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,lastUsed:a.lastUsed,inHistory:a.inHistory,flag:a.flag,originalLocalData:a})}),this.allServers=s,this.loading=!1,this.processAllServers()})}}processAllServers(){this.fillFilterPropertiesArray();const e=new Set;this.allServers.forEach((_,E)=>{e.add(_.countryCode);const F=this.vpnSavedDataService.getSavedVersion(_.pk,0===E);_.customName=F?F.customName:null,_.personalNote=F?F.personalNote:null,_.inHistory=!!F&&F.inHistory,_.flag=F?F.flag:An.None,_.enteredManually=!!F&&F.enteredManually,_.usedWithPassword=!!F&&F.usedWithPassword});let i=[];e.forEach(_=>{i.push({label:this.getCountryName(_),value:_,image:"/assets/img/big-flags/"+_.toLowerCase()+".png"})}),i.sort((_,E)=>_.label.localeCompare(E.label)),i=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(i),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:$n.Select,printableLabelsForValues:i,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);const s=[];let a,l,d;this.currentList===ri.Public?(s.push(this.countrySortData),s.push(this.nameSortData),s.push(this.locationSortData),s.push(this.pkSortData),s.push(this.noteSortData),a=0,l=1):(this.currentList===ri.History&&s.push(this.dateSortData),s.push(this.countrySortData),s.push(this.nameSortData),s.push(this.locationSortData),s.push(this.pkSortData),s.push(this.noteSortData),a=this.currentList===ri.History?0:1,l=this.currentList===ri.History?2:3),this.dataSorter=new Rd(this.dialog,this.translateService,this.storageService,s,a,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Yd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredServers=_,this.dataSorter.setData(this.filteredServers)}),d=this.currentList===ri.Public?this.allServers.filter(_=>_.flag!==An.Blocked):this.allServers,this.dataFilterer.setData(d)}fillFilterPropertiesArray(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:$n.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:$n.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:$n.TextInput,maxlength:100}]}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){const e=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(i,i+e)}else this.serversToShow=null;this.dataSource=this.serversToShow}getCountryName(e){return _a[e.toUpperCase()]?_a[e.toUpperCase()]:e}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(hn),N(To),N(Cr),N(ure),N(sc),N(oc),N(kn),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-server-list"]],features:[nt],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-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(e,i){1&e&&(V(0,fre,8,7,"div",0),V(1,Lre,31,20,"ng-template",null,1,Es),V(3,ioe,10,13,"div",2)),2&e&&(w("ngIf",i.loading||i.loadingBackendData),c(3),w("ngIf",!i.loading&&!i.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;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:400!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}"]}),t})();function ooe(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}const af=function(t,n){return{"small-text-icon":t,"big-text-icon":n}};function soe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"done"),C()),2&t){const e=z();w("ngClass",mn(5,af,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.selected-info"))}}function aoe(t,n){if(1&t&&(k(0,"mat-icon",5),R(1,"translate"),I(2,"clear"),C()),2&t){const e=z();w("ngClass",mn(5,af,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.blocked-info"))}}function loe(t,n){if(1&t&&(k(0,"mat-icon",6),R(1,"translate"),I(2,"star"),C()),2&t){const e=z();w("ngClass",mn(5,af,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.favorite-info"))}}function coe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"history"),C()),2&t){const e=z();w("ngClass",mn(5,af,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.history-info"))}}function doe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"lock_outlined"),C()),2&t){const e=z();w("ngClass",mn(5,af,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.has-password-info"))}}function uoe(t,n){if(1&t&&(Ue(0),I(1),k(2,"mat-icon",7),I(3,"fiber_manual_record"),C(),I(4),We()),2&t){const e=z();c(1),ce(" ",e.customName," "),c(1),w("inline",!0),c(2),ce(" ",e.name,"\n")}}function hoe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z();c(1),re(e.customName)}}function foe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z();c(1),re(e.name)}}function poe(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z();c(1),re(H(2,1,e.defaultName))}}let YP=(()=>{class t{constructor(){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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,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(e,i){1&e&&(V(0,soe,3,8,"mat-icon",0),V(1,aoe,3,8,"mat-icon",1),V(2,loe,3,8,"mat-icon",2),V(3,coe,3,8,"mat-icon",0),V(4,doe,3,8,"mat-icon",0),V(5,uoe,5,3,"ng-container",3),V(6,hoe,2,1,"ng-container",3),V(7,foe,2,1,"ng-container",3),V(8,poe,3,3,"ng-container",3)),2&e&&(w("ngIf",i.isCurrentServer),c(1),w("ngIf",i.isBlocked),c(1),w("ngIf",i.isFavorite),c(1),w("ngIf",i.isInHistory),c(1),w("ngIf",i.hasPassword),c(1),w("ngIf",i.customName&&i.name&&(!i.pk||i.name!==i.pk)),c(1),w("ngIf",(!i.name||i.pk&&i.name===i.pk)&&i.customName),c(1),w("ngIf",i.name&&(!i.pk||i.name!==i.pk)&&!i.customName),c(1),w("ngIf",(!i.name||i.pk&&i.name===i.pk)&&!i.customName))},dependencies:[Pn,Ft,vn,Mi,yt],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;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t})();const HP=function(){return["vpn.title"]};function moe(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3),C(),Ce(3,"app-loading-indicator"),C()),2&t){const e=z();c(2),w("titleParts",qn(5,HP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function goe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",40)}function _oe(t,n){1&t&&(k(0,"mat-icon",33),I(1,"power_settings_new"),C()),2&t&&w("inline",!0)}function boe(t,n){if(1&t){const e=et();Ue(0),k(1,"div",34),Ce(2,"div",35),C(),k(3,"div",36)(4,"div",37),Ce(5,"app-vpn-server-name",38),C(),k(6,"div",39),Ce(7,"app-copy-to-clipboard-text",40),C()(),k(8,"div",41),Ce(9,"div"),C(),k(10,"div",42)(11,"mat-icon",43),ve("click",function(){return Pe(e),Oe(z(3).openServerOptions())}),R(12,"translate"),I(13,"settings"),C()(),We()}if(2&t){const e=z(3);c(2),di("background-image: url('assets/img/big-flags/"+e.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),w("matTooltip",e.getCountryName(e.currentRemoteServer.countryCode)),c(3),w("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),c(2),w("shortSimple",!0)("text",e.currentRemoteServer.pk),c(4),w("inline",!0)("matTooltip",H(12,13,"vpn.server-options.tooltip"))}}function voe(t,n){1&t&&(Ue(0),k(1,"div",44),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"vpn.status-page.no-server")))}const yoe=function(t,n){return{custom:t,original:n}};function Moe(t,n){if(1&t&&(k(0,"div",45)(1,"mat-icon",33),I(2,"info_outline"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),ce(" ",kt(4,2,e.getNoteVar(),mn(5,yoe,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function woe(t,n){if(1&t&&(k(0,"div",46)(1,"mat-icon",33),I(2,"cancel"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),vo(" ",H(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}const BP=function(t){return{"disabled-button":t}};function Coe(t,n){if(1&t){const e=et();k(0,"div",22)(1,"div",11)(2,"div",13),I(3),R(4,"translate"),C(),k(5,"div")(6,"div",23),ve("click",function(){return Pe(e),Oe(z(2).start())}),k(7,"div",24),Ce(8,"div",25),C(),k(9,"div",24),Ce(10,"div",26),C(),V(11,goe,1,1,"mat-spinner",27),V(12,_oe,2,1,"mat-icon",28),C()(),k(13,"div",29),V(14,boe,14,15,"ng-container",18),V(15,voe,4,3,"ng-container",18),C(),k(16,"div"),V(17,Moe,5,8,"div",30),C(),k(18,"div"),V(19,woe,5,5,"div",31),C()()()}if(2&t){const e=z(2);c(3),re(H(4,8,"vpn.status-page.start-title")),c(3),w("ngClass",He(10,BP,e.showBusy)),c(5),w("ngIf",e.showBusy),c(1),w("ngIf",!e.showBusy),c(2),w("ngIf",e.currentRemoteServer),c(1),w("ngIf",!e.currentRemoteServer),c(2),w("ngIf",e.currentRemoteServer&&(e.currentRemoteServer.note||e.currentRemoteServer.personalNote)),c(2),w("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.lastErrorMsg)}}function xoe(t,n){if(1&t&&(k(0,"div",77)(1,"mat-icon",33),I(2,"cancel"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),vo(" ",H(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function koe(t,n){1&t&&(k(0,"div"),Ce(1,"mat-spinner",32),C()),2&t&&(c(1),w("diameter",24))}function Soe(t,n){1&t&&(k(0,"mat-icon",33),I(1,"power_settings_new"),C()),2&t&&w("inline",!0)}const jd=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},VP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},jP=function(t){return{showValue:!0,showUnit:!0,useBits:t}},Yg=function(t){return{time:t}};function Doe(t,n){if(1&t){const e=et();k(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),I(5,"timer"),C(),k(6,"span"),I(7),C()()(),k(8,"div",50),I(9),R(10,"translate"),C(),k(11,"div",51)(12,"div",52),I(13),R(14,"translate"),C(),Ce(15,"div"),C(),k(16,"div",53),I(17),R(18,"translate"),C(),V(19,xoe,5,5,"div",54),k(20,"div",55)(21,"div",56),R(22,"translate"),k(23,"div",57),Ce(24,"app-line-chart",58),C(),k(25,"div",59)(26,"div",60)(27,"div",61),I(28),R(29,"autoScale"),C(),Ce(30,"div",62),C()(),k(31,"div",59)(32,"div",63)(33,"div",61),I(34),R(35,"autoScale"),C(),Ce(36,"div",62),C()(),k(37,"div",59)(38,"div",64)(39,"div",61),I(40),R(41,"autoScale"),C()()(),k(42,"div",65)(43,"mat-icon",66),I(44,"keyboard_backspace"),C(),k(45,"div",67),I(46),R(47,"autoScale"),C(),k(48,"div",68),I(49),R(50,"autoScale"),R(51,"translate"),C()()(),k(52,"div",56),R(53,"translate"),k(54,"div",57),Ce(55,"app-line-chart",58),C(),k(56,"div",69)(57,"div",60)(58,"div",61),I(59),R(60,"autoScale"),C(),Ce(61,"div",62),C()(),k(62,"div",59)(63,"div",63)(64,"div",61),I(65),R(66,"autoScale"),C(),Ce(67,"div",62),C()(),k(68,"div",59)(69,"div",64)(70,"div",61),I(71),R(72,"autoScale"),C()()(),k(73,"div",65)(74,"mat-icon",70),I(75,"keyboard_backspace"),C(),k(76,"div",67),I(77),R(78,"autoScale"),C(),k(79,"div",68),I(80),R(81,"autoScale"),R(82,"translate"),C()()()(),k(83,"div",71)(84,"div",72),R(85,"translate"),k(86,"div",57),Ce(87,"app-line-chart",73),C(),k(88,"div",69)(89,"div",60)(90,"div",61),I(91),R(92,"translate"),C(),Ce(93,"div",62),C()(),k(94,"div",59)(95,"div",63)(96,"div",61),I(97),R(98,"translate"),C(),Ce(99,"div",62),C()(),k(100,"div",59)(101,"div",64)(102,"div",61),I(103),R(104,"translate"),C()()(),k(105,"div",65)(106,"mat-icon",33),I(107,"swap_horiz"),C(),k(108,"div"),I(109),R(110,"translate"),C()()()(),k(111,"div",74),ve("click",function(){return Pe(e),Oe(z(2).stop())}),k(112,"div",75)(113,"div",76),V(114,koe,2,1,"div",18),V(115,Soe,2,1,"mat-icon",28),k(116,"span"),I(117),R(118,"translate"),C()()()()()()}if(2&t){const e=z(2);c(4),w("inline",!0),c(3),re(e.connectionTimeString),c(2),re(H(10,58,"vpn.connection-info.state-title")),c(4),re(H(14,60,e.currentStateText)),c(2),eo("state-line "+e.currentStateLineClass),c(2),re(H(18,62,e.currentStateText+"-info")),c(2),w("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.connectionData&&e.backendState.vpnClientAppData.connectionData.error),c(2),w("matTooltip",H(22,64,"vpn.status-page.upload-info")),c(3),w("animated",!1)("data",e.sentHistory)("min",e.minUploadInGraph)("max",e.maxUploadInGraph),c(4),ce(" ",kt(29,66,e.maxUploadInGraph,He(118,jd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(35,69,e.midUploadInGraph,He(120,jd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(41,72,e.minUploadInGraph,He(122,jd,e.showSpeedsInBits))," "),c(3),w("inline",!0),c(3),re(kt(47,75,e.uploadSpeed,He(124,VP,e.showSpeedsInBits))),c(3),vo(" ",kt(50,78,e.totalUploaded,He(126,jP,e.showTotalsInBits))," ",H(51,81,"vpn.status-page.total-data-label")," "),c(3),w("matTooltip",H(53,83,"vpn.status-page.download-info")),c(3),w("animated",!1)("data",e.receivedHistory)("min",e.minDownloadInGraph)("max",e.maxDownloadInGraph),c(4),ce(" ",kt(60,85,e.maxDownloadInGraph,He(128,jd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(66,88,e.midDownloadInGraph,He(130,jd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(72,91,e.minDownloadInGraph,He(132,jd,e.showSpeedsInBits))," "),c(3),w("inline",!0),c(3),re(kt(78,94,e.downloadSpeed,He(134,VP,e.showSpeedsInBits))),c(3),vo(" ",kt(81,97,e.totalDownloaded,He(136,jP,e.showTotalsInBits))," ",H(82,100,"vpn.status-page.total-data-label")," "),c(4),w("matTooltip",H(85,102,"vpn.status-page.latency-info")),c(3),w("animated",!1)("data",e.latencyHistory)("min",e.minLatencyInGraph)("max",e.maxLatencyInGraph),c(4),ce(" ",kt(92,104,"common."+e.getLatencyValueString(e.maxLatencyInGraph),He(138,Yg,e.getPrintableLatency(e.maxLatencyInGraph)))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(98,107,"common."+e.getLatencyValueString(e.midLatencyInGraph),He(140,Yg,e.getPrintableLatency(e.midLatencyInGraph)))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(104,110,"common."+e.getLatencyValueString(e.minLatencyInGraph),He(142,Yg,e.getPrintableLatency(e.minLatencyInGraph)))," "),c(3),w("inline",!0),c(3),re(kt(110,113,"common."+e.getLatencyValueString(e.latency),He(144,Yg,e.getPrintableLatency(e.latency)))),c(2),w("ngClass",He(146,BP,e.showBusy)),c(3),w("ngIf",e.showBusy),c(1),w("ngIf",!e.showBusy),c(2),re(H(118,116,"vpn.status-page.disconnect"))}}function Toe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.currentIp)}}function Loe(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.unknown")))}function Eoe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",20)}function Ioe(t,n){1&t&&(k(0,"mat-icon",81),R(1,"translate"),I(2,"warning"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-problem-info"))}function Poe(t,n){if(1&t){const e=et();k(0,"mat-icon",82),ve("click",function(){return Pe(e),Oe(z(3).getIp())}),R(1,"translate"),I(2,"refresh"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-refresh-info"))}function Ooe(t,n){if(1&t&&(k(0,"div",78),V(1,Toe,2,1,"ng-container",18),V(2,Loe,3,3,"ng-container",18),V(3,Eoe,1,1,"mat-spinner",27),V(4,Ioe,3,4,"mat-icon",79),V(5,Poe,3,4,"mat-icon",80),C()),2&t){const e=z(2);c(1),w("ngIf",e.currentIp),c(1),w("ngIf",!e.currentIp&&!e.loadingCurrentIp),c(1),w("ngIf",e.loadingCurrentIp),c(1),w("ngIf",e.problemGettingIp),c(1),w("ngIf",!e.loadingCurrentIp)}}function Aoe(t,n){1&t&&(k(0,"div",78),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"vpn.status-page.data.unavailable")," "))}function Foe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.ipCountry)}}function Roe(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.unknown")))}function Noe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",20)}function Yoe(t,n){1&t&&(k(0,"mat-icon",81),R(1,"translate"),I(2,"warning"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-country-problem-info"))}function Hoe(t,n){if(1&t&&(k(0,"div",78),V(1,Foe,2,1,"ng-container",18),V(2,Roe,3,3,"ng-container",18),V(3,Noe,1,1,"mat-spinner",27),V(4,Yoe,3,4,"mat-icon",79),C()),2&t){const e=z(2);c(1),w("ngIf",e.ipCountry),c(1),w("ngIf",!e.ipCountry&&!e.loadingCurrentIp),c(1),w("ngIf",e.loadingCurrentIp),c(1),w("ngIf",e.problemGettingIp)}}function Boe(t,n){1&t&&(k(0,"div",78),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"vpn.status-page.data.unavailable")," "))}function Voe(t,n){if(1&t){const e=et();k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",78),Ce(5,"app-vpn-server-name",83),k(6,"mat-icon",82),ve("click",function(){return Pe(e),Oe(z(2).openServerOptions())}),R(7,"translate"),I(8,"settings"),C()()()}if(2&t){const e=z(2);c(2),re(H(3,10,"vpn.status-page.data.server")),c(3),w("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),c(1),w("inline",!0)("matTooltip",H(7,12,"vpn.server-options.tooltip"))}}function joe(t,n){1&t&&Ce(0,"div",15)}function zoe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),I(5),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data.server-note")),c(3),ce(" ",e.currentRemoteServer.personalNote," ")}}function Uoe(t,n){1&t&&Ce(0,"div",15)}function Woe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),I(5),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),c(3),ce(" ",e.currentRemoteServer.note," ")}}function $oe(t,n){1&t&&Ce(0,"div",15)}function Goe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),Ce(5,"app-copy-to-clipboard-text",21),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data.remote-pk")),c(3),w("text",e.currentRemoteServer.pk)}}function qoe(t,n){1&t&&Ce(0,"div",15)}function Koe(t,n){if(1&t&&(k(0,"div",4)(1,"div",5)(2,"div",6),Ce(3,"app-top-bar",3),C()(),k(4,"div",7),V(5,Coe,20,12,"div",8),V(6,Doe,119,148,"div",9),k(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),I(12),R(13,"translate"),C(),V(14,Ooe,6,5,"div",14),V(15,Aoe,3,3,"div",14),C(),Ce(16,"div",15),k(17,"div")(18,"div",13),I(19),R(20,"translate"),C(),V(21,Hoe,5,4,"div",14),V(22,Boe,3,3,"div",14),C(),Ce(23,"div",16)(24,"div",17)(25,"div",16),V(26,Voe,9,14,"div",18),V(27,joe,1,0,"div",19),V(28,zoe,6,4,"div",18),V(29,Uoe,1,0,"div",19),V(30,Woe,6,4,"div",18),V(31,$oe,1,0,"div",19),V(32,Goe,6,4,"div",18),V(33,qoe,1,0,"div",19),k(34,"div")(35,"div",13),I(36),R(37,"translate"),C(),k(38,"div",20),Ce(39,"app-copy-to-clipboard-text",21),C()()()()()()()),2&t){const e=z();c(3),w("titleParts",qn(29,HP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(2),w("ngIf",!e.showStarted),c(1),w("ngIf",e.showStarted),c(6),re(H(13,23,"vpn.status-page.data.ip")),c(2),w("ngIf",e.ipInfoAllowed),c(1),w("ngIf",!e.ipInfoAllowed),c(4),re(H(20,25,"vpn.status-page.data.country")),c(2),w("ngIf",e.ipInfoAllowed),c(1),w("ngIf",!e.ipInfoAllowed),c(4),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(3),re(H(37,27,"vpn.status-page.data.local-pk")),c(3),w("text",e.currentLocalPk)}}let Zoe=(()=>{class t extends er{constructor(e,i,o,s,a,l,d){super(),this.vpnClientService=e,this.vpnSavedDataService=i,this.snackbarService=o,this.translateService=s,this.route=a,this.dialog=l,this.router=d,this.persistentServerDataResponseKey="serv-dat-response",this.persistentIpResponseKey="serv-ip-response",this.tabsData=lr.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=G1.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.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=An,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();const _=this.vpnSavedDataService.getDataUnitsSetting();_===Sr.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):_===Sr.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}ngOnInit(){return this.navigationsSubscription=this.route.paramMap.subscribe(e=>{e.has("key")&&(this.currentLocalPk=e.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData),setTimeout(()=>this.navigationsSubscription.unsubscribe()),this.startGettingData(!0),this.currentRemoteServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(i=>{this.currentRemoteServer=i})}),super.ngOnInit()}startGettingData(e){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.vpnClientService.backendState;i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{if(i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),s&&s.serviceState!==jn.PerformingInitialCheck){const a=!this.backendState;if(this.backendState=s,a?(this.getIp(!0,e),console.info(2),console.info(e)):(this.lastAppState===on.Running&&s.vpnClientAppData.appState!==on.Running||this.lastAppState!==on.Running&&s.vpnClientAppData.appState===on.Running)&&(this.getIp(!0,e),console.info(1)),this.showStarted=s.vpnClientAppData.running||s.vpnClientAppData.appState!==on.Stopped,this.showStartedLastValue!==this.showStarted){for(let l=0;l<10;l++)this.receivedHistory[l]=0,this.sentHistory[l]=0,this.latencyHistory[l]=0;this.updateGraphLimits(),this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0}if(this.lastAppState=s.vpnClientAppData.appState,this.showStartedLastValue=this.showStarted,this.stopRequested?this.showStarted||(this.stopRequested=!1,this.showBusy=s.busy):this.showBusy=s.busy,s.vpnClientAppData.connectionData){for(let l=0;l<10;l++)this.receivedHistory[l]=s.vpnClientAppData.connectionData.downloadSpeedHistory[l],this.sentHistory[l]=s.vpnClientAppData.connectionData.uploadSpeedHistory[l],this.latencyHistory[l]=s.vpnClientAppData.connectionData.latencyHistory[l];this.updateGraphLimits(),this.uploadSpeed=s.vpnClientAppData.connectionData.uploadSpeed,this.downloadSpeed=s.vpnClientAppData.connectionData.downloadSpeed,this.totalUploaded=s.vpnClientAppData.connectionData.totalUploaded,this.totalDownloaded=s.vpnClientAppData.connectionData.totalDownloaded,this.latency=s.vpnClientAppData.connectionData.latency}s.vpnClientAppData.running&&s.vpnClientAppData.appState===on.Running&&s.vpnClientAppData.connectionData&&s.vpnClientAppData.connectionData.connectionDuration?(-1===this.calculatedSegs||s.vpnClientAppData.connectionData.connectionDuration>this.calculatedSegs+2||s.vpnClientAppData.connectionData.connectionDuration(e.add(n.schedule(ooe,t,{subscriber:e,counter:0,period:t})),e))}(1e3).subscribe(()=>{this.calculatedSegs+=1,this.refreshConnectionTimeString()})):this.timeUpdateSubscription&&(this.timeUpdateSubscription.unsubscribe(),this.timeUpdateSubscription=null,this.calculatedSegs=-1,this.connectionTimeString="00:00:00"),this.loading=!1}i&&this.startGettingData(!1)})}refreshConnectionTimeString(){const e=this.calculatedSegs%60,i=Math.floor(this.calculatedSegs/60),o=i%60,s=Math.floor(i/60);this.connectionTimeString=String(s).padStart(2,"0")+":"+String(o).padStart(2,"0")+":"+String(e).padStart(2,"0")}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}start(){if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(()=>this.snackbarService.showWarning("vpn.status-page.select-server-warning"),100);this.currentRemoteServer.flag!==An.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}stop(){if(!this.backendState.vpnClientAppData.killswitch)return void this.finishStoppingVpn();const e=Zt.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishStoppingVpn()})}finishStoppingVpn(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}openServerOptions(){lr.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}getCountryName(e){return _a[e.toUpperCase()]?_a[e.toUpperCase()]:e}getNoteVar(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}getLatencyValueString(e){return lr.getLatencyValueString(e)}getPrintableLatency(e){return lr.getPrintableLatency(e)}get currentStateText(){return this.backendState.vpnClientAppData.appState===on.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===on.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===on.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===on.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===on.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}get currentStateLineClass(){return this.backendState.vpnClientAppData.appState===on.Stopped?"red-line":this.backendState.vpnClientAppData.appState===on.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===on.Running?"green-line":"yellow-line"}closeOperationSubscription(){this.operationSubscription&&this.operationSubscription.unsubscribe()}updateGraphLimits(){const e=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=e[0],this.midUploadInGraph=e[1],this.maxUploadInGraph=e[2];const i=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=i[0],this.midDownloadInGraph=i[1],this.maxDownloadInGraph=i[2];const o=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=o[0],this.midLatencyInGraph=o[1],this.maxLatencyInGraph=o[2]}calculateGraphLimits(e){let o=0,s=0;return e.forEach(a=>{a>o&&(o=a)}),0===o&&(o+=1),s=new(Ig())(o).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),[0,s,o]}getIp(e=!1,i=!1){if(!this.ipInfoAllowed)return;if(!e){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");const a=1e4;if(Date.now()-this.lastIpRefresDate{o||this.saveLocalValue(this.persistentIpResponseKey,JSON.stringify(a)),this.loadingCurrentIp=!1,this.lastIpRefresDate=Date.now(),a?(this.problemGettingIp=!1,this.currentIp=a[0],this.ipCountry=a[1]):this.problemGettingIp=!0,o&&this.getIp(e,!1)},()=>{this.lastIpRefresDate=Date.now(),this.loadingCurrentIp=!1,this.problemGettingIp=!1})}}return t.\u0275fac=function(e){return new(e||t)(N(sc),N(oc),N(kn),N(To),N(Cr),N(xn),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-status"]],features:[nt],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(e,i){1&e&&(V(0,moe,4,6,"div",0),V(1,Koe,40,30,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Pn,Ft,vn,Mi,tc,$1,G1,as,ac,YP,yt,sf],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;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 #00000080;width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-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 #00000080}.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-mdc-progress-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-mdc-progress-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:700;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%]{animation:_ngcontent-%COMP%_button-animation 4s linear infinite;pointer-events:none}@keyframes _ngcontent-%COMP%_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;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-mdc-progress-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;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:rgba(61,103,162,.1490196078);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;line-height:1}.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}"]}),t})(),K1=(()=>{class t{set lastError(e){this.lastErrorInternal=e}constructor(e){this.router=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),$e(!1)):$e(!0)}}return t.\u0275fac=function(e){return new(e||t)(we(hn))},t.\u0275prov=Ne({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var so=(()=>((so=so||{}).UnableToConnectWithTheVpnClientApp="unavailable",so.NoLocalVisorPkProvided="pk",so.InvalidStorageState="storage",so.LocalVisorPkChangedDuringUsage="pkChange",so))();let Xoe=(()=>{class t extends er{constructor(e,i,o){super(),this.route=e,this.vpnAuthGuardService=i,this.vpnClientService=o,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(s=>{this.problem=s.get("problem"),this.problem||(this.problem=so.UnableToConnectWithTheVpnClientApp),this.vpnAuthGuardService.lastError=this.problem,this.vpnClientService.stopContinuallyUpdatingData(),setTimeout(()=>this.navigationsSubscription.unsubscribe())})}getTitle(){return this.problem===so.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===so.InvalidStorageState?"vpn.error-page.text-storage":this.problem===so.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"}getInfo(){return this.problem===so.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===so.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===so.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"}}return t.\u0275fac=function(e){return new(e||t)(N(Cr),N(K1),N(sc))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-error"]],features:[nt],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),I(5,"error_outline"),C()(),k(6,"div"),I(7),R(8,"translate"),C(),k(9,"div",5),I(10),R(11,"translate"),C()()()()),2&e&&(c(4),w("inline",!0),c(3),re(H(8,3,i.getTitle())),c(3),re(H(11,5,i.getInfo())))},dependencies:[vn,yt],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}"]}),t})();const Joe=["button"],Qoe=["firstInput"];let ese=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.appsService=a,this.vpnClientService=l}ngOnInit(){this.form=this.formBuilder.group({ip:[this.data.ip,Yt.compose([Yt.maxLength(15),this.validateIp.bind(this)])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}validateIp(){if(this.form){const e=this.form.get("ip").value;return Zt.checkIfIpValidOrEmpty(e)?null:{invalid:!0}}return null}save(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.appsService.changeAppSettings(this.data.nodePk,this.vpnClientService.vpnClientAppName,{dns:this.form.get("ip").value}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("vpn.dns-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(vI),N(kn),N(ga),N(sc))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-dns-config"]],viewQuery:function(e,i){if(1&e&&(pt(Joe,5),pt(Qoe,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:14,vars:11,consts:[[3,"headline"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","ip","maxlength","15","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6,7),ve("action",function(){return i.save()}),I(12),R(13,"translate"),C()()),2&e&&(w("headline",H(1,5,"vpn.dns-config.title")),c(2),w("formGroup",i.form),c(4),re(H(7,7,"vpn.dns-config.ip")),c(4),w("disabled",!i.form.valid),c(2),ce(" ",H(13,9,"vpn.dns-config.save-config-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const tse=["topBarLoading"],nse=["topBarLoaded"],zP=function(){return["vpn.title"]};function ise(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3,4),C(),Ce(4,"app-loading-indicator",5),C()),2&t){const e=z();c(2),w("titleParts",qn(5,zP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function rse(t,n){1&t&&Ce(0,"mat-spinner",20),2&t&&w("diameter",12)}function ose(t,n){if(1&t){const e=et();k(0,"div",6)(1,"div",7),Ce(2,"app-top-bar",3,8),C(),k(4,"div",9)(5,"div",10)(6,"div",11)(7,"div",12)(8,"table",13)(9,"tr")(10,"th",14)(11,"div",15)(12,"div",16),I(13),R(14,"translate"),C()()(),k(15,"th",14),I(16),R(17,"translate"),C()(),k(18,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeKillswitchOption())}),k(19,"td",14)(20,"div"),I(21),R(22,"translate"),k(23,"mat-icon",18),R(24,"translate"),I(25,"help"),C()()(),k(26,"td",14),Ce(27,"span"),I(28),R(29,"translate"),V(30,rse,1,1,"mat-spinner",19),C()(),k(31,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeGetIpOption())}),k(32,"td",14)(33,"div"),I(34),R(35,"translate"),k(36,"mat-icon",18),R(37,"translate"),I(38,"help"),C()()(),k(39,"td",14),Ce(40,"span"),I(41),R(42,"translate"),C()(),k(43,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeDataUnits())}),k(44,"td",14)(45,"div"),I(46),R(47,"translate"),k(48,"mat-icon",18),R(49,"translate"),I(50,"help"),C()()(),k(51,"td",14),I(52),R(53,"translate"),C()(),k(54,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeHops())}),k(55,"td",14)(56,"div"),I(57),R(58,"translate"),k(59,"mat-icon",18),R(60,"translate"),I(61,"help"),C()()(),k(62,"td",14),I(63),C()(),k(64,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeDns())}),k(65,"td",14)(66,"div"),I(67),R(68,"translate"),k(69,"mat-icon",18),R(70,"translate"),I(71,"help"),C()()(),k(72,"td",14),I(73),R(74,"translate"),C()()()()()()()()}if(2&t){const e=z();c(2),w("titleParts",qn(64,zP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(11),ce(" ",H(14,32,"vpn.settings-page.setting-small-table-label")," "),c(3),ce(" ",H(17,34,"vpn.settings-page.value-small-table-label")," "),c(5),ce(" ",H(22,36,"vpn.settings-page.killswitch")," "),c(2),w("inline",!0)("matTooltip",H(24,38,"vpn.settings-page.killswitch-info")),c(4),eo(e.getStatusClass(e.backendData.vpnClientAppData.killswitch)),c(1),ce(" ",H(29,40,e.getStatusText(e.backendData.vpnClientAppData.killswitch))," "),c(2),w("ngIf",e.working===e.workingOptions.Killswitch),c(4),ce(" ",H(35,42,"vpn.settings-page.get-ip")," "),c(2),w("inline",!0)("matTooltip",H(37,44,"vpn.settings-page.get-ip-info")),c(4),eo(e.getStatusClass(e.getIpOption)),c(1),ce(" ",H(42,46,e.getStatusText(e.getIpOption))," "),c(5),ce(" ",H(47,48,"vpn.settings-page.data-units")," "),c(2),w("inline",!0)("matTooltip",H(49,50,"vpn.settings-page.data-units-info")),c(4),ce(" ",H(53,52,e.getUnitsOptionText(e.dataUnitsOption))," "),c(5),ce(" ",H(58,54,"vpn.settings-page.minimum-hops")," "),c(2),w("inline",!0)("matTooltip",H(60,56,"vpn.settings-page.minimum-hops-info")),c(4),ce(" ",e.backendData.vpnClientAppData.minHops," "),c(4),ce(" ",H(68,58,"vpn.settings-page.dns")," "),c(2),w("inline",!0)("matTooltip",H(70,60,"vpn.settings-page.dns-info")),c(4),ce(" ",e.backendData.vpnClientAppData.dns?e.backendData.vpnClientAppData.dns:H(74,62,"vpn.settings-page.setting-none")," ")}}var Lo=(()=>((Lo=Lo||{})[Lo.None=0]="None",Lo[Lo.Killswitch=1]="Killswitch",Lo))();const sse=[{path:"",component:AW},{path:"login",component:HI},{path:"nodes",canActivate:[Wh],canActivateChild:[Wh],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:lP},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:lP},{path:":key",component:Mt,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:ire},{path:"routing",component:Fee},{path:"apps",component:wie},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:xie},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:Sie},{path:"apps-list/:showOfficialApps/:page",component:Tie}]}]},{path:"settings",canActivate:[Wh],canActivateChild:[Wh],children:[{path:"",component:UJ},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:ore}]},{path:"vpnlogin/:key",component:HI},{path:"vpn",canActivate:[K1],canActivateChild:[K1],children:[{path:"unavailable",component:Xoe},{path:":key",children:[{path:"status",component:Zoe},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:NP},{path:"settings",component:(()=>{class t extends er{constructor(e,i,o,s,a,l){super(),this.vpnClientService=e,this.snackbarService=i,this.appsService=o,this.vpnSavedDataService=s,this.dialog=a,this.loading=!0,this.tabsData=lr.vpnTabsData,this.working=Lo.None,this.workingOptions=Lo,this.navigationsSubscription=l.paramMap.subscribe(d=>{d.has("key")&&(this.currentLocalPk=d.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(d=>{d&&d.serviceState!==jn.PerformingInitialCheck&&(this.backendData=d,this.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}getStatusClass(e){return!0===e?"dot-green":"dot-red"}getStatusText(e){return!0===e?"vpn.settings-page.setting-on":"vpn.settings-page.setting-off"}getUnitsOptionText(e){switch(e){case Sr.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case Sr.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}}changeKillswitchOption(){if(this.working===Lo.None)if(this.backendData.vpnClientAppData.running){const e=Zt.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")}finishChangingKillswitchOption(){this.working=Lo.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(()=>{this.working=Lo.None,this.vpnClientService.updateData()},e=>{this.working=Lo.None,e=Qt(e),this.snackbarService.showError(e)})}changeGetIpOption(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)}changeDataUnits(){const e=[],i=[];Object.keys(Sr).forEach(o=>{const s={label:this.getUnitsOptionText(Sr[o])};this.dataUnitsOption===Sr[o]&&(s.icon="done"),e.push(s),i.push(Sr[o])}),Rr.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(o=>{o&&(this.dataUnitsOption=i[o-1],this.vpnSavedDataService.setDataUnitsSetting(this.dataUnitsOption),this.topBarLoading&&this.topBarLoading.updateVpnDataStatsUnit(),this.topBarLoaded&&this.topBarLoaded.updateVpnDataStatsUnit())})}changeHops(){PP.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()}changeDns(){ese.openDialog(this.dialog,{nodePk:this.currentLocalPk,ip:this.backendData.vpnClientAppData.dns}).afterClosed().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(sc),N(kn),N(ga),N(oc),N(xn),N(Cr))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(e,i){if(1&e&&(pt(tse,5),pt(nse,5)),2&e){let o;it(o=rt())&&(i.topBarLoading=o.first),it(o=rt())&&(i.topBarLoaded=o.first)}},features:[nt],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(e,i){1&e&&(V(0,ise,5,6,"div",0),V(1,ose,75,65,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Ft,vn,Mi,tc,as,ac,yt],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:400!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}"]}),t})()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}];let ase=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[B2.forRoot(sse,{useHash:!0}),B2]}),t})(),cse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn]}),t})();class dse{getTranslation(n){return ue(Y(6297)(`./${n}.json`))}}let use=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[mE.forRoot({loader:{provide:zh,useClass:dse}}),mE]}),t})(),hse=(()=>{class t{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ne({token:t,factory:t.\u0275fac}),t})();const fse={disabled:!0};let pse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t,bootstrap:[g1]}),t.\u0275inj=Nt({providers:[tf,{provide:a1,useValue:{duration:3e3,verticalPosition:"top"}},{provide:WL,useValue:{width:"600px",hasBackdrop:!0}},{provide:t1,useClass:nU},{provide:I2,useClass:hse},{provide:n1,useValue:fse}],imports:[PD,p8,T$,z8,ase,use,nE,SU,Eg,pG,Zte,tE,dW,LG,jK,D$,cse,jq,DW,hK]}),t})();wc(Mt,[Pn,Ft,Am,vn,as,ac,FP],[yt]),wc(NP,[Pn,gi,Ft,fd,Za,$r,vn,Mi,$1,as,Vd,ac,YP],[dD,yt]),uB().bootstrapModule(pse).catch(t=>console.log(t))},9774:function(de,ge,Y){var O;!function(v){"use strict";var u,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,M=Math.floor,p="[BigNumber Error] ",y=p+"Number primitive has more than 15 significant digits: ",x=1e14,T=14,D=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],L=1e7,A=1e9;function B(Q){var ee=0|Q;return Q>0||Q===ee?ee:ee-1}function K(Q){for(var ee,ae,le=1,J=Q.length,Te=Q[0]+"";lett^ae?1:-1;for(ke=(Be=J.length)<(tt=Te.length)?Be:tt,Se=0;SeTe[Se]^ae?1:-1;return Be==tt?0:Be>tt^ae?1:-1}function ye(Q,ee,ae,le){if(Qae||Q!==(Q<0?h(Q):M(Q)))throw Error(p+(le||"Argument")+("number"==typeof Q?Qae?" out of range: ":" not an integer: ":" not a primitive number: ")+Q)}function Z(Q){return"[object Array]"==Object.prototype.toString.call(Q)}function X(Q){var ee=Q.c.length-1;return B(Q.e/T)==ee&&Q.c[ee]%2!=0}function he(Q,ee){return(Q.length>1?Q.charAt(0)+"."+Q.slice(1):Q)+(ee<0?"e":"e+")+ee}function q(Q,ee,ae){var le,J;if(ee<0){for(J=ae+".";++ee;J+=ae);Q=J+Q}else if(++ee>(le=Q.length)){for(J=ae,ee-=le;--ee;J+=ae);Q+=J}else ee=10;be/=10,ue++);return Ie.e=ue,void(Ie.c=[W])}De=W+""}else{if(!f.test(De=W+""))return le(Ie,De,me);Ie.s=45==De.charCodeAt(0)?(De=De.slice(1),-1):1}(ue=De.indexOf("."))>-1&&(De=De.replace(".","")),(be=De.search(/e/i))>0?(ue<0&&(ue=be),ue+=+De.slice(be+1),De=De.substring(0,be)):ue<0&&(ue=De.length)}else{if(ye(se,2,zn.length,"Base"),De=W+"",10==se)return Xe(Ie=new Ge(W instanceof Ge?W:De),Se+Ie.e+1,ke);if(me="number"==typeof W){if(0*W!=0)return le(Ie,De,me,se);if(Ie.s=1/W<0?(De=De.slice(1),-1):1,Ge.DEBUG&&De.replace(/^0\.0*|\./,"").length>15)throw Error(y+W);me=!1}else Ie.s=45===De.charCodeAt(0)?(De=De.slice(1),-1):1;for(te=zn.slice(0,se),ue=be=0,Me=De.length;beue){ue=Me;continue}}else if(!fe&&(De==De.toUpperCase()&&(De=De.toLowerCase())||De==De.toLowerCase()&&(De=De.toUpperCase()))){fe=!0,be=-1,ue=0;continue}return le(Ie,W+"",me,se)}(ue=(De=ae(De,se,10,Ie.s)).indexOf("."))>-1?De=De.replace(".",""):ue=De.length}for(be=0;48===De.charCodeAt(be);be++);for(Me=De.length;48===De.charCodeAt(--Me););if(De=De.slice(be,++Me)){if(Me-=be,me&&Ge.DEBUG&&Me>15&&(W>D||W!==M(W)))throw Error(y+Ie.s*W);if((ue=ue-be-1)>at)Ie.c=Ie.e=null;else if(ueme){if(--se>0)for(Me+=".";se--;Me+="0");}else if((se+=ue-me)>0)for(ue+1==me&&(Me+=".");se--;Me+="0");return W.s<0&&fe?"-"+Me:Me}function Yi(W,se){var te,pe,fe=0;for(Z(W[0])&&(W=W[0]),te=new Ge(W[0]);++fe=10;fe/=10,pe++);return(te=pe+te*T-1)>at?W.c=W.e=null:te=10;me/=10,fe++);if((ue=se-fe)<0)ue+=T,Ie=(Me=Ye[De=0])/ut[fe-(be=se)-1]%10|0;else if((De=h((ue+1)/T))>=Ye.length){if(!pe)break e;for(;Ye.length<=De;Ye.push(0));Me=Ie=0,fe=1,be=(ue%=T)-T+1}else{for(Me=me=Ye[De],fe=1;me>=10;me/=10,fe++);Ie=(be=(ue%=T)-T+fe)<0?0:Me/ut[fe-be-1]%10|0}if(pe=pe||se<0||null!=Ye[De+1]||(be<0?Me:Me%ut[fe-be-1]),pe=te<4?(Ie||pe)&&(0==te||te==(W.s<0?3:2)):Ie>5||5==Ie&&(4==te||pe||6==te&&(ue>0?be>0?Me/ut[fe-be]:0:Ye[De-1])%10&1||te==(W.s<0?8:7)),se<1||!Ye[0])return Ye.length=0,pe?(Ye[0]=ut[(T-(se-=W.e+1)%T)%T],W.e=-se||0):Ye[0]=W.e=0,W;if(0==ue?(Ye.length=De,me=1,De--):(Ye.length=De+1,me=ut[T-ue],Ye[De]=be>0?M(Me/ut[fe-be]%ut[be])*me:0),pe)for(;;){if(0==De){for(ue=1,be=Ye[0];be>=10;be/=10,ue++);for(be=Ye[0]+=me,me=1;be>=10;be/=10,me++);ue!=me&&(W.e++,Ye[0]==x&&(Ye[0]=1));break}if(Ye[De]+=me,Ye[De]!=x)break;Ye[De--]=0,me=1}for(ue=Ye.length;0===Ye[--ue];Ye.pop());}W.e>at?W.c=W.e=null:W.e>>11))>=9e15?(fe=crypto.getRandomValues(new Uint32Array(2)),pe[Me]=fe[0],pe[Me+1]=fe[1]):(De.push(me%1e14),Me+=2);Me=be/2}else{if(!crypto.randomBytes)throw zt=!1,Error(p+"crypto unavailable");for(pe=crypto.randomBytes(be*=7);Me=9e15?crypto.randomBytes(7).copy(pe,Me):(De.push(me%1e14),Me+=7);Me=be/7}if(!zt)for(;Me=10;me/=10,Me++);Mefe-1&&(null==me[be+1]&&(me[be+1]=0),me[be+1]+=me[be]/fe|0,me[be]%=fe)}return me.reverse()}return function(te,pe,fe,ue,be){var me,Me,De,Ie,Ye,ut,gt,ot,fn=te.indexOf("."),Rn=Se,bt=ke;for(fn>=0&&(Ie=Xn,Xn=0,te=te.replace(".",""),ut=(ot=new Ge(pe)).pow(te.length-fn),Xn=Ie,ot.c=se(q(K(ut.c),ut.e,"0"),10,fe,W),ot.e=ot.c.length),De=Ie=(gt=se(te,pe,fe,be?(me=zn,W):(me=W,zn))).length;0==gt[--Ie];gt.pop());if(!gt[0])return me.charAt(0);if(fn<0?--De:(ut.c=gt,ut.e=De,ut.s=ue,gt=(ut=ee(ut,ot,Rn,bt,fe)).c,Ye=ut.r,De=ut.e),fn=gt[Me=De+Rn+1],Ie=fe/2,Ye=Ye||Me<0||null!=gt[Me+1],Ye=bt<4?(null!=fn||Ye)&&(0==bt||bt==(ut.s<0?3:2)):fn>Ie||fn==Ie&&(4==bt||Ye||6==bt&&1>[Me-1]||bt==(ut.s<0?8:7)),Me<1||!gt[0])te=Ye?q(me.charAt(1),-Rn,me.charAt(0)):me.charAt(0);else{if(gt.length=Me,Ye)for(--fe;++gt[--Me]>fe;)gt[Me]=0,Me||(++De,gt=[1].concat(gt));for(Ie=gt.length;!gt[--Ie];);for(fn=0,te="";fn<=Ie;te+=me.charAt(gt[fn++]));te=q(te,De,me.charAt(0))}return te}}(),ee=function(){function W(pe,fe,ue){var be,me,Me,De,Ie=0,Ye=pe.length,ut=fe%L,gt=fe/L|0;for(pe=pe.slice();Ye--;)Ie=((me=ut*(Me=pe[Ye]%L)+(be=gt*Me+(De=pe[Ye]/L|0)*ut)%L*L+Ie)/ue|0)+(be/L|0)+gt*De,pe[Ye]=me%ue;return Ie&&(pe=[Ie].concat(pe)),pe}function se(pe,fe,ue,be){var me,Me;if(ue!=be)Me=ue>be?1:-1;else for(me=Me=0;mefe[me]?1:-1;break}return Me}function te(pe,fe,ue,be){for(var me=0;ue--;)pe[ue]-=me,pe[ue]=(me=pe[ue]1;pe.splice(0,1));}return function(pe,fe,ue,be,me){var Me,De,Ie,Ye,ut,gt,ot,fn,Rn,bt,qt,Gn,oi,Kr,Io,Hi,ln,xi=pe.s==fe.s?1:-1,si=pe.c,Nn=fe.c;if(!(si&&si[0]&&Nn&&Nn[0]))return new Ge(pe.s&&fe.s&&(si?!Nn||si[0]!=Nn[0]:Nn)?si&&0==si[0]||!Nn?0*xi:xi/0:NaN);for(Rn=(fn=new Ge(xi)).c=[],xi=ue+(De=pe.e-fe.e)+1,me||(me=x,De=B(pe.e/T)-B(fe.e/T),xi=xi/T|0),Ie=0;Nn[Ie]==(si[Ie]||0);Ie++);if(Nn[Ie]>(si[Ie]||0)&&De--,xi<0)Rn.push(1),Ye=!0;else{for(Kr=si.length,Hi=Nn.length,Ie=0,xi+=2,(ut=M(me/(Nn[0]+1)))>1&&(Nn=W(Nn,ut,me),si=W(si,ut,me),Hi=Nn.length,Kr=si.length),oi=Hi,qt=(bt=si.slice(0,Hi)).length;qt=me/2&&Io++;do{if(ut=0,(Me=se(Nn,bt,Hi,qt))<0){if(Gn=bt[0],Hi!=qt&&(Gn=Gn*me+(bt[1]||0)),(ut=M(Gn/Io))>1)for(ut>=me&&(ut=me-1),ot=(gt=W(Nn,ut,me)).length,qt=bt.length;1==se(gt,bt,ot,qt);)ut--,te(gt,Hi=10;xi/=10,Ie++);Xe(fn,ue+(fn.e=Ie+De*T-1)+1,be,Ye)}else fn.e=De,fn.r=+Ye;return fn}}(),le=function(){var W=/^(-?)0([xbo])(?=\w[\w.]*$)/i,se=/^([^.]+)\.$/,te=/^\.([^.]+)$/,pe=/^-?(Infinity|NaN)$/,fe=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(ue,be,me,Me){var De,Ie=me?be:be.replace(fe,"");if(pe.test(Ie))ue.s=isNaN(Ie)?null:Ie<0?-1:1,ue.c=ue.e=null;else{if(!me&&(Ie=Ie.replace(W,function(Ye,ut,gt){return De="x"==(gt=gt.toLowerCase())?16:"b"==gt?2:8,Me&&Me!=De?Ye:ut}),Me&&(De=Me,Ie=Ie.replace(se,"$1").replace(te,"0.$1")),be!=Ie))return new Ge(Ie,De);if(Ge.DEBUG)throw Error(p+"Not a"+(Me?" base "+Me:"")+" number: "+be);ue.c=ue.e=ue.s=null}}}(),J.absoluteValue=J.abs=function(){var W=new Ge(this);return W.s<0&&(W.s=1),W},J.comparedTo=function(W,se){return oe(this,new Ge(W,se))},J.decimalPlaces=J.dp=function(W,se){var te,pe,fe;if(null!=W)return ye(W,0,A),null==se?se=ke:ye(se,0,8),Xe(new Ge(this),W+this.e+1,se);if(!(te=this.c))return null;if(pe=((fe=te.length-1)-B(this.e/T))*T,fe=te[fe])for(;fe%10==0;fe/=10,pe--);return pe<0&&(pe=0),pe},J.dividedBy=J.div=function(W,se){return ee(this,new Ge(W,se),Se,ke)},J.dividedToIntegerBy=J.idiv=function(W,se){return ee(this,new Ge(W,se),0,1)},J.exponentiatedBy=J.pow=function(W,se){var te,pe,fe,be,me,Me,De,Ie=this;if((W=new Ge(W)).c&&!W.isInteger())throw Error(p+"Exponent not an integer: "+W);if(null!=se&&(se=new Ge(se)),be=W.e>14,!Ie.c||!Ie.c[0]||1==Ie.c[0]&&!Ie.e&&1==Ie.c.length||!W.c||!W.c[0])return De=new Ge(Math.pow(+Ie.valueOf(),be?2-X(W):+W)),se?De.mod(se):De;if(me=W.s<0,se){if(se.c?!se.c[0]:!se.s)return new Ge(NaN);(pe=!me&&Ie.isInteger()&&se.isInteger())&&(Ie=Ie.mod(se))}else{if(W.e>9&&(Ie.e>0||Ie.e<-1||(0==Ie.e?Ie.c[0]>1||be&&Ie.c[1]>=24e7:Ie.c[0]<8e13||be&&Ie.c[0]<=9999975e7)))return fe=Ie.s<0&&X(W)?-0:0,Ie.e>-1&&(fe=1/fe),new Ge(me?1/fe:fe);Xn&&(fe=h(Xn/T+2))}for(be?(te=new Ge(.5),Me=X(W)):Me=W%2,me&&(W.s=1),De=new Ge(Te);;){if(Me){if(!(De=De.times(Ie)).c)break;fe?De.c.length>fe&&(De.c.length=fe):pe&&(De=De.mod(se))}if(be){if(Xe(W=W.times(te),W.e+1,1),!W.c[0])break;be=W.e>14,Me=X(W)}else{if(!(W=M(W/2)))break;Me=W%2}Ie=Ie.times(Ie),fe?Ie.c&&Ie.c.length>fe&&(Ie.c.length=fe):pe&&(Ie=Ie.mod(se))}return pe?De:(me&&(De=Te.div(De)),se?De.mod(se):fe?Xe(De,Xn,ke,void 0):De)},J.integerValue=function(W){var se=new Ge(this);return null==W?W=ke:ye(W,0,8),Xe(se,se.e+1,W)},J.isEqualTo=J.eq=function(W,se){return 0===oe(this,new Ge(W,se))},J.isFinite=function(){return!!this.c},J.isGreaterThan=J.gt=function(W,se){return oe(this,new Ge(W,se))>0},J.isGreaterThanOrEqualTo=J.gte=function(W,se){return 1===(se=oe(this,new Ge(W,se)))||0===se},J.isInteger=function(){return!!this.c&&B(this.e/T)>this.c.length-2},J.isLessThan=J.lt=function(W,se){return oe(this,new Ge(W,se))<0},J.isLessThanOrEqualTo=J.lte=function(W,se){return-1===(se=oe(this,new Ge(W,se)))||0===se},J.isNaN=function(){return!this.s},J.isNegative=function(){return this.s<0},J.isPositive=function(){return this.s>0},J.isZero=function(){return!!this.c&&0==this.c[0]},J.minus=function(W,se){var te,pe,fe,ue,be=this,me=be.s;if(se=(W=new Ge(W,se)).s,!me||!se)return new Ge(NaN);if(me!=se)return W.s=-se,be.plus(W);var Me=be.e/T,De=W.e/T,Ie=be.c,Ye=W.c;if(!Me||!De){if(!Ie||!Ye)return Ie?(W.s=-se,W):new Ge(Ye?be:NaN);if(!Ie[0]||!Ye[0])return Ye[0]?(W.s=-se,W):new Ge(Ie[0]?be:3==ke?-0:0)}if(Me=B(Me),De=B(De),Ie=Ie.slice(),me=Me-De){for((ue=me<0)?(me=-me,fe=Ie):(De=Me,fe=Ye),fe.reverse(),se=me;se--;fe.push(0));fe.reverse()}else for(pe=(ue=(me=Ie.length)<(se=Ye.length))?me:se,me=se=0;se0)for(;se--;Ie[te++]=0);for(se=x-1;pe>me;){if(Ie[--pe]=0;){for(te=0,ut=Gn[fe]%Rn,gt=Gn[fe]/Rn|0,ue=fe+(be=Me);ue>fe;)te=((De=ut*(De=qt[--be]%Rn)+(me=gt*De+(Ie=qt[be]/Rn|0)*ut)%Rn*Rn+ot[ue]+te)/fn|0)+(me/Rn|0)+gt*Ie,ot[ue--]=De%fn;ot[ue]=te}return te?++pe:ot.splice(0,1),dr(W,ot,pe)},J.negated=function(){var W=new Ge(this);return W.s=-W.s||null,W},J.plus=function(W,se){var te,pe=this,fe=pe.s;if(se=(W=new Ge(W,se)).s,!fe||!se)return new Ge(NaN);if(fe!=se)return W.s=-se,pe.minus(W);var ue=pe.e/T,be=W.e/T,me=pe.c,Me=W.c;if(!ue||!be){if(!me||!Me)return new Ge(fe/0);if(!me[0]||!Me[0])return Me[0]?W:new Ge(me[0]?pe:0*fe)}if(ue=B(ue),be=B(be),me=me.slice(),fe=ue-be){for(fe>0?(be=ue,te=Me):(fe=-fe,te=me),te.reverse();fe--;te.push(0));te.reverse()}for((fe=me.length)-(se=Me.length)<0&&(te=Me,Me=me,me=te,se=fe),fe=0;se;)fe=(me[--se]=me[se]+Me[se]+fe)/x|0,me[se]=x===me[se]?0:me[se]%x;return fe&&(me=[fe].concat(me),++be),dr(W,me,be)},J.precision=J.sd=function(W,se){var te,pe,fe;if(null!=W&&W!==!!W)return ye(W,1,A),null==se?se=ke:ye(se,0,8),Xe(new Ge(this),W,se);if(!(te=this.c))return null;if(pe=(fe=te.length-1)*T+1,fe=te[fe]){for(;fe%10==0;fe/=10,pe--);for(fe=te[0];fe>=10;fe/=10,pe++);}return W&&this.e+1>pe&&(pe=this.e+1),pe},J.shiftedBy=function(W){return ye(W,-D,D),this.times("1e"+W)},J.squareRoot=J.sqrt=function(){var W,se,te,pe,fe,ue=this,be=ue.c,me=ue.s,Me=ue.e,De=Se+4,Ie=new Ge("0.5");if(1!==me||!be||!be[0])return new Ge(!me||me<0&&(!be||be[0])?NaN:be?ue:1/0);if(0==(me=Math.sqrt(+ue))||me==1/0?(((se=K(be)).length+Me)%2==0&&(se+="0"),me=Math.sqrt(se),Me=B((Me+1)/2)-(Me<0||Me%2),te=new Ge(se=me==1/0?"1e"+Me:(se=me.toExponential()).slice(0,se.indexOf("e")+1)+Me)):te=new Ge(me+""),te.c[0])for((me=(Me=te.e)+De)<3&&(me=0);;)if(te=Ie.times((fe=te).plus(ee(ue,fe,De,1))),K(fe.c).slice(0,me)===(se=K(te.c)).slice(0,me)){if(te.e0&&ut>0){for(Me=Ye.substr(0,pe=ut%ue||ue);pe0&&(Me+=me+Ye.slice(pe)),Ie&&(Me="-"+Me)}te=De?Me+Fn.decimalSeparator+((be=+Fn.fractionGroupSize)?De.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+Fn.fractionGroupSeparator):De):Me}return te},J.toFraction=function(W){var se,te,pe,fe,ue,be,me,Me,De,Ie,Ye,ut,gt=this,ot=gt.c;if(null!=W&&(!(Me=new Ge(W)).isInteger()&&(Me.c||1!==Me.s)||Me.lt(Te)))throw Error(p+"Argument "+(Me.isInteger()?"out of range: ":"not an integer: ")+W);if(!ot)return gt.toString();for(te=new Ge(Te),Ie=pe=new Ge(Te),fe=De=new Ge(Te),ut=K(ot),be=te.e=ut.length-gt.e-1,te.c[0]=S[(me=be%T)<0?T+me:me],W=!W||Me.comparedTo(te)>0?be>0?te:Ie:Me,me=at,at=1/0,Me=new Ge(ut),De.c[0]=0;Ye=ee(Me,te,0,1),1!=(ue=pe.plus(Ye.times(fe))).comparedTo(W);)pe=fe,fe=ue,Ie=De.plus(Ye.times(ue=Ie)),De=ue,te=Me.minus(Ye.times(ue=te)),Me=ue;return ue=ee(W.minus(pe),fe,0,1),De=De.plus(ue.times(Ie)),pe=pe.plus(ue.times(fe)),De.s=Ie.s=gt.s,se=ee(Ie,fe,be*=2,ke).minus(gt).abs().comparedTo(ee(De,pe,be,ke).minus(gt).abs())<1?[Ie.toString(),fe.toString()]:[De.toString(),pe.toString()],at=me,se},J.toNumber=function(){return+this},J.toPrecision=function(W,se){return null!=W&&ye(W,1,A),Ni(this,W,se,2)},J.toString=function(W){var se,pe=this.s,fe=this.e;return null===fe?pe?(se="Infinity",pe<0&&(se="-"+se)):se="NaN":(se=K(this.c),null==W?se=fe<=Be||fe>=tt?he(se,fe):q(se,fe,"0"):(ye(W,2,zn.length,"Base"),se=ae(q(se,fe,"0"),10,W,pe,!0)),pe<0&&this.c[0]&&(se="-"+se)),se},J.valueOf=J.toJSON=function(){var W,te=this.e;return null===te?this.toString():(W=K(this.c),W=te<=Be||te>=tt?he(W,te):q(W,te,"0"),this.s<0?"-"+W:W)},J._isBigNumber=!0,null!=Q&&Ge.set(Q),Ge}(),u.default=u.BigNumber=u,void 0!==(O=function(){return u}.call(ge,Y,ge,de))&&(de.exports=O)}()},6149:(de,ge,Y)=>{var O=Y(5979)();O.helpers=Y(3305),Y(3533)(O),O.defaults=Y(9800),O.Element=Y(8839),O.elements=Y(9931),O.Interaction=Y(2814),O.layouts=Y(2294),O.platform=Y(8244),O.plugins=Y(2445),O.Ticks=Y(8347),Y(8103)(O),Y(1047)(O),Y(7897)(O),Y(5464)(O),Y(6308)(O),Y(480)(O),Y(8351)(O),Y(4977)(O),Y(1704)(O),Y(1486)(O),Y(8726)(O),Y(4215)(O),Y(2690)(O),Y(4033)(O),Y(787)(O),Y(6769)(O),Y(6580)(O),Y(4657)(O),Y(1895)(O),Y(6038)(O),Y(2898)(O),Y(3414)(O),Y(6667)(O),Y(402)(O),Y(846)(O),Y(9377)(O);var v=Y(6747);for(var u in v)v.hasOwnProperty(u)&&O.plugins.register(v[u]);O.platform.initialize(),de.exports=O,typeof window<"u"&&(window.Chart=O),O.Legend=v.legend._element,O.Title=v.title._element,O.pluginService=O.plugins,O.PluginBase=O.Element.extend({}),O.canvasHelpers=O.helpers.canvas,O.layoutService=O.layouts},6038:de=>{"use strict";de.exports=function(ge){ge.Bar=function(Y,O){return O.type="bar",new ge(Y,O)}}},2898:de=>{"use strict";de.exports=function(ge){ge.Bubble=function(Y,O){return O.type="bubble",new ge(Y,O)}}},3414:de=>{"use strict";de.exports=function(ge){ge.Doughnut=function(Y,O){return O.type="doughnut",new ge(Y,O)}}},6667:de=>{"use strict";de.exports=function(ge){ge.Line=function(Y,O){return O.type="line",new ge(Y,O)}}},402:de=>{"use strict";de.exports=function(ge){ge.PolarArea=function(Y,O){return O.type="polarArea",new ge(Y,O)}}},846:de=>{"use strict";de.exports=function(ge){ge.Radar=function(Y,O){return O.type="radar",new ge(Y,O)}}},9377:de=>{"use strict";de.exports=function(ge){ge.Scatter=function(Y,O){return O.type="scatter",new ge(Y,O)}}},2690:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),O._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(p,y){var x="";return p.length>0&&(p[0].yLabel?x=p[0].yLabel:y.labels.length>0&&p[0].index0?Math.min(x,S-D):x,D=S;return x}(x,U):-1,{min:oe,pixels:U,start:L,end:A,stackCount:T,scale:x}},calculateBarValuePixels:function(y,x){var ye,Z,X,he,q,Q,T=this,D=T.chart,S=T.getMeta(),L=T.getValueScale(),A=D.data.datasets,U=L.getRightValue(A[y].data[x]),B=L.options.stacked,K=S.stack,oe=0;if(B||void 0===B&&void 0!==K)for(ye=0;ye=0&&X>0)&&(oe+=X));return he=L.getPixelForValue(oe),{size:Q=((q=L.getPixelForValue(oe+U))-he)/2,base:he,head:q,center:q+Q/2}},calculateBarIndexPixels:function(y,x,T){var S=T.scale.options,L="flex"===S.barThickness?function M(p,y,x){var T=y.pixels,D=T[p],S=p>0?T[p-1]:null,L=p{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._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(f,h){return(h.datasets[f.datasetIndex].label||"")+": ("+f.xLabel+", "+f.yLabel+", "+h.datasets[f.datasetIndex].data[f.index].r+")"}}}}),de.exports=function(f){f.controllers.bubble=f.DatasetController.extend({dataElementType:v.Point,update:function(h){var M=this,p=M.getMeta();u.each(p.data,function(x,T){M.updateElement(x,T,h)})},updateElement:function(h,M,p){var y=this,x=y.getMeta(),T=h.custom||{},D=y.getScaleForId(x.xAxisID),S=y.getScaleForId(x.yAxisID),L=y._resolveElementOptions(h,M),A=y.getDataset().data[M],U=y.index,B=p?D.getPixelForDecimal(.5):D.getPixelForValue("object"==typeof A?A:NaN,M,U),K=p?S.getBasePixel():S.getPixelForValue(A,M,U);h._xScale=D,h._yScale=S,h._options=L,h._datasetIndex=U,h._index=M,h._model={backgroundColor:L.backgroundColor,borderColor:L.borderColor,borderWidth:L.borderWidth,hitRadius:L.hitRadius,pointStyle:L.pointStyle,radius:p?0:L.radius,skip:T.skip||isNaN(B)||isNaN(K),x:B,y:K},h.pivot()},setHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=u.valueOrDefault(p.hoverBackgroundColor,u.getHoverColor(p.backgroundColor)),M.borderColor=u.valueOrDefault(p.hoverBorderColor,u.getHoverColor(p.borderColor)),M.borderWidth=u.valueOrDefault(p.hoverBorderWidth,p.borderWidth),M.radius=p.radius+p.hoverRadius},removeHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=p.backgroundColor,M.borderColor=p.borderColor,M.borderWidth=p.borderWidth,M.radius=p.radius},_resolveElementOptions:function(h,M){var B,K,oe,p=this,y=p.chart,T=y.data.datasets[p.index],D=h.custom||{},S=y.options.elements.point,L=u.options.resolve,A=T.data[M],U={},ye={chart:y,dataIndex:M,dataset:T,datasetIndex:p.index},Z=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(B=0,K=Z.length;B{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var x=0;x'),y[x]&&h.push(y[x]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),x=h.datasets[0],T=y.data[p],D=T&&T.custom||{},S=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:D.backgroundColor?D.backgroundColor:S(x.backgroundColor,p,L.backgroundColor),strokeStyle:D.borderColor?D.borderColor:S(x.borderColor,p,L.borderColor),lineWidth:D.borderWidth?D.borderWidth:S(x.borderWidth,p,L.borderWidth),hidden:isNaN(x.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,x,T,M=h.index,p=this.chart;for(y=0,x=(p.data.datasets||[]).length;y=Math.PI?-1:oe<-Math.PI?1:0))+K,Z={x:Math.cos(oe),y:Math.sin(oe)},X={x:Math.cos(ye),y:Math.sin(ye)},he=oe<=0&&ye>=0||oe<=2*Math.PI&&2*Math.PI<=ye,q=oe<=.5*Math.PI&&.5*Math.PI<=ye||oe<=2.5*Math.PI&&2.5*Math.PI<=ye,Q=oe<=-Math.PI&&-Math.PI<=ye||oe<=Math.PI&&Math.PI<=ye,ee=oe<=.5*-Math.PI&&.5*-Math.PI<=ye||oe<=1.5*Math.PI&&1.5*Math.PI<=ye,ae=B/100,le={x:Q?-1:Math.min(Z.x*(Z.x<0?1:ae),X.x*(X.x<0?1:ae)),y:ee?-1:Math.min(Z.y*(Z.y<0?1:ae),X.y*(X.y<0?1:ae))},J={x:he?1:Math.max(Z.x*(Z.x>0?1:ae),X.x*(X.x>0?1:ae)),y:q?1:Math.max(Z.y*(Z.y>0?1:ae),X.y*(X.y>0?1:ae))},Te={width:.5*(J.x-le.x),height:.5*(J.y-le.y)};L=Math.min(D/Te.width,S/Te.height),A={x:-.5*(J.x+le.x),y:-.5*(J.y+le.y)}}p.borderWidth=M.getMaxBorderWidth(U.data),p.outerRadius=Math.max((L-p.borderWidth)/2,0),p.innerRadius=Math.max(B?p.outerRadius/100*B:0,0),p.radiusLength=(p.outerRadius-p.innerRadius)/p.getVisibleDatasetCount(),p.offsetX=A.x*p.outerRadius,p.offsetY=A.y*p.outerRadius,U.total=M.calculateTotal(),M.outerRadius=p.outerRadius-p.radiusLength*M.getRingIndex(M.index),M.innerRadius=Math.max(M.outerRadius-p.radiusLength,0),u.each(U.data,function(Se,ke){M.updateElement(Se,ke,h)})},updateElement:function(h,M,p){var y=this,x=y.chart,T=x.chartArea,D=x.options,S=D.animation,L=(T.left+T.right)/2,A=(T.top+T.bottom)/2,U=D.rotation,B=D.rotation,K=y.getDataset(),oe=p&&S.animateRotate||h.hidden?0:y.calculateCircumference(K.data[M])*(D.circumference/(2*Math.PI));u.extend(h,{_datasetIndex:y.index,_index:M,_model:{x:L+x.offsetX,y:A+x.offsetY,startAngle:U,endAngle:B,circumference:oe,outerRadius:p&&S.animateScale?0:y.outerRadius,innerRadius:p&&S.animateScale?0:y.innerRadius,label:(0,u.valueAtIndexOrDefault)(K.label,M,x.data.labels[M])}});var he=h._model;this.removeHoverStyle(h),(!p||!S.animateRotate)&&(he.startAngle=0===M?D.rotation:y.getMeta().data[M-1]._model.endAngle,he.endAngle=he.startAngle+he.circumference),h.pivot()},removeHoverStyle:function(h){f.DatasetController.prototype.removeHoverStyle.call(this,h,this.chart.options.elements.arc)},calculateTotal:function(){var y,h=this.getDataset(),M=this.getMeta(),p=0;return u.each(M.data,function(x,T){y=h.data[T],!isNaN(y)&&!x.hidden&&(p+=Math.abs(y))}),p},calculateCircumference:function(h){var M=this.getMeta().total;return M>0&&!isNaN(h)?2*Math.PI*(Math.abs(h)/M):0},getMaxBorderWidth:function(h){for(var x,T,M=0,p=this.index,y=h.length,D=0;D(M=(x=h[D]._model?h[D]._model.borderWidth:0)>M?x:M)?T:M;return M}})}},6769:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),de.exports=function(f){function h(M,p){return u.valueOrDefault(M.showLine,p.showLines)}f.controllers.line=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,update:function(M){var A,U,B,p=this,y=p.getMeta(),x=y.dataset,T=y.data||[],D=p.chart.options,S=D.elements.line,L=p.getScaleForId(y.yAxisID),K=p.getDataset(),oe=h(K,D);for(oe&&(B=x.custom||{},void 0!==K.tension&&void 0===K.lineTension&&(K.lineTension=K.tension),x._scale=L,x._datasetIndex=p.index,x._children=T,x._model={spanGaps:K.spanGaps?K.spanGaps:D.spanGaps,tension:B.tension?B.tension:u.valueOrDefault(K.lineTension,S.tension),backgroundColor:B.backgroundColor?B.backgroundColor:K.backgroundColor||S.backgroundColor,borderWidth:B.borderWidth?B.borderWidth:K.borderWidth||S.borderWidth,borderColor:B.borderColor?B.borderColor:K.borderColor||S.borderColor,borderCapStyle:B.borderCapStyle?B.borderCapStyle:K.borderCapStyle||S.borderCapStyle,borderDash:B.borderDash?B.borderDash:K.borderDash||S.borderDash,borderDashOffset:B.borderDashOffset?B.borderDashOffset:K.borderDashOffset||S.borderDashOffset,borderJoinStyle:B.borderJoinStyle?B.borderJoinStyle:K.borderJoinStyle||S.borderJoinStyle,fill:B.fill?B.fill:void 0!==K.fill?K.fill:S.fill,steppedLine:B.steppedLine?B.steppedLine:u.valueOrDefault(K.steppedLine,S.stepped),cubicInterpolationMode:B.cubicInterpolationMode?B.cubicInterpolationMode:u.valueOrDefault(K.cubicInterpolationMode,S.cubicInterpolationMode)},x.pivot()),A=0,U=T.length;A{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._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(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var x=0;x'),y[x]&&h.push(y[x]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),x=h.datasets[0],D=y.data[p].custom||{},S=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:D.backgroundColor?D.backgroundColor:S(x.backgroundColor,p,L.backgroundColor),strokeStyle:D.borderColor?D.borderColor:S(x.borderColor,p,L.borderColor),lineWidth:D.borderWidth?D.borderWidth:S(x.borderWidth,p,L.borderWidth),hidden:isNaN(x.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,x,T,M=h.index,p=this.chart;for(y=0,x=(p.data.datasets||[]).length;y0&&!isNaN(h)?2*Math.PI/M:0}})}},4657:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),de.exports=function(f){f.controllers.radar=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:u.noop,update:function(h){var M=this,p=M.getMeta(),x=p.data,T=p.dataset.custom||{},D=M.getDataset(),S=M.chart.options.elements.line,L=M.chart.scale;void 0!==D.tension&&void 0===D.lineTension&&(D.lineTension=D.tension),u.extend(p.dataset,{_datasetIndex:M.index,_scale:L,_children:x,_loop:!0,_model:{tension:T.tension?T.tension:u.valueOrDefault(D.lineTension,S.tension),backgroundColor:T.backgroundColor?T.backgroundColor:D.backgroundColor||S.backgroundColor,borderWidth:T.borderWidth?T.borderWidth:D.borderWidth||S.borderWidth,borderColor:T.borderColor?T.borderColor:D.borderColor||S.borderColor,fill:T.fill?T.fill:void 0!==D.fill?D.fill:S.fill,borderCapStyle:T.borderCapStyle?T.borderCapStyle:D.borderCapStyle||S.borderCapStyle,borderDash:T.borderDash?T.borderDash:D.borderDash||S.borderDash,borderDashOffset:T.borderDashOffset?T.borderDashOffset:D.borderDashOffset||S.borderDashOffset,borderJoinStyle:T.borderJoinStyle?T.borderJoinStyle:D.borderJoinStyle||S.borderJoinStyle}}),p.dataset.pivot(),u.each(x,function(A,U){M.updateElement(A,U,h)},M),M.updateBezierControlPoints()},updateElement:function(h,M,p){var y=this,x=h.custom||{},T=y.getDataset(),D=y.chart.scale,S=y.chart.options.elements.point,L=D.getPointPositionForValue(M,T.data[M]);void 0!==T.radius&&void 0===T.pointRadius&&(T.pointRadius=T.radius),void 0!==T.hitRadius&&void 0===T.pointHitRadius&&(T.pointHitRadius=T.hitRadius),u.extend(h,{_datasetIndex:y.index,_index:M,_scale:D,_model:{x:p?D.xCenter:L.x,y:p?D.yCenter:L.y,tension:x.tension?x.tension:u.valueOrDefault(T.lineTension,y.chart.options.elements.line.tension),radius:x.radius?x.radius:u.valueAtIndexOrDefault(T.pointRadius,M,S.radius),backgroundColor:x.backgroundColor?x.backgroundColor:u.valueAtIndexOrDefault(T.pointBackgroundColor,M,S.backgroundColor),borderColor:x.borderColor?x.borderColor:u.valueAtIndexOrDefault(T.pointBorderColor,M,S.borderColor),borderWidth:x.borderWidth?x.borderWidth:u.valueAtIndexOrDefault(T.pointBorderWidth,M,S.borderWidth),pointStyle:x.pointStyle?x.pointStyle:u.valueAtIndexOrDefault(T.pointStyle,M,S.pointStyle),hitRadius:x.hitRadius?x.hitRadius:u.valueAtIndexOrDefault(T.pointHitRadius,M,S.hitRadius)}}),h._model.skip=x.skip?x.skip:isNaN(h._model.x)||isNaN(h._model.y)},updateBezierControlPoints:function(){var h=this.chart.chartArea,M=this.getMeta();u.each(M.data,function(p,y){var x=p._model,T=u.splineCurve(u.previousItem(M.data,y,!0)._model,x,u.nextItem(M.data,y,!0)._model,x.tension);x.controlPointPreviousX=Math.max(Math.min(T.previous.x,h.right),h.left),x.controlPointPreviousY=Math.max(Math.min(T.previous.y,h.bottom),h.top),x.controlPointNextX=Math.max(Math.min(T.next.x,h.right),h.left),x.controlPointNextY=Math.max(Math.min(T.next.y,h.bottom),h.top),p.pivot()})},setHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,x=h._model;x.radius=p.hoverRadius?p.hoverRadius:u.valueAtIndexOrDefault(M.pointHoverRadius,y,this.chart.options.elements.point.hoverRadius),x.backgroundColor=p.hoverBackgroundColor?p.hoverBackgroundColor:u.valueAtIndexOrDefault(M.pointHoverBackgroundColor,y,u.getHoverColor(x.backgroundColor)),x.borderColor=p.hoverBorderColor?p.hoverBorderColor:u.valueAtIndexOrDefault(M.pointHoverBorderColor,y,u.getHoverColor(x.borderColor)),x.borderWidth=p.hoverBorderWidth?p.hoverBorderWidth:u.valueAtIndexOrDefault(M.pointHoverBorderWidth,y,x.borderWidth)},removeHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,x=h._model,T=this.chart.options.elements.point;x.radius=p.radius?p.radius:u.valueAtIndexOrDefault(M.pointRadius,y,T.radius),x.backgroundColor=p.backgroundColor?p.backgroundColor:u.valueAtIndexOrDefault(M.pointBackgroundColor,y,T.backgroundColor),x.borderColor=p.borderColor?p.borderColor:u.valueAtIndexOrDefault(M.pointBorderColor,y,T.borderColor),x.borderWidth=p.borderWidth?p.borderWidth:u.valueAtIndexOrDefault(M.pointBorderWidth,y,T.borderWidth)}})}},1895:(de,ge,Y)=>{"use strict";Y(9800)._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(v){return"("+v.xLabel+", "+v.yLabel+")"}}}}),de.exports=function(v){v.controllers.scatter=v.controllers.line}},8103:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:u.noop,onComplete:u.noop}}),de.exports=function(f){f.Animation=v.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),f.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(h,M,p,y){var T,D,x=this.animations;for(M.chart=h,y||(h.animating=!0),T=0,D=x.length;T1&&(p=Math.floor(h.dropFrames),h.dropFrames=h.dropFrames%1),h.advance(1+p);var y=Date.now();h.dropFrames+=(y-M)/h.frameDuration,h.animations.length>0&&h.requestAnimationFrame()},advance:function(h){for(var p,y,M=this.animations,x=0;x=p.numSteps?(u.callback(p.onAnimationComplete,[p],y),y.animating=!1,M.splice(x,1)):++x}},Object.defineProperty(f.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(f.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}})}},1047:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(3305),u=Y(2814),f=Y(2294),h=Y(8244),M=Y(2445);de.exports=function(p){function T(D){return"top"===D||"bottom"===D}p.types={},p.instances={},p.controllers={},v.extend(p.prototype,{construct:function(D,S){var L=this;S=function y(D){var S=(D=D||{}).data=D.data||{};return S.datasets=S.datasets||[],S.labels=S.labels||[],D.options=v.configMerge(O.global,O[D.type],D.options||{}),D}(S);var A=h.acquireContext(D,S),U=A&&A.canvas,B=U&&U.height,K=U&&U.width;L.id=v.uid(),L.ctx=A,L.canvas=U,L.config=S,L.width=K,L.height=B,L.aspectRatio=B?K/B:null,L.options=S.options,L._bufferedRender=!1,L.chart=L,L.controller=L,p.instances[L.id]=L,Object.defineProperty(L,"data",{get:function(){return L.config.data},set:function(oe){L.config.data=oe}}),A&&U?(L.initialize(),L.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var D=this;return M.notify(D,"beforeInit"),v.retinaScale(D,D.options.devicePixelRatio),D.bindEvents(),D.options.responsive&&D.resize(!0),D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.initToolTip(),M.notify(D,"afterInit"),D},clear:function(){return v.canvas.clear(this),this},stop:function(){return p.animationService.cancelAnimation(this),this},resize:function(D){var S=this,L=S.options,A=S.canvas,U=L.maintainAspectRatio&&S.aspectRatio||null,B=Math.max(0,Math.floor(v.getMaximumWidth(A))),K=Math.max(0,Math.floor(U?B/U:v.getMaximumHeight(A)));if((S.width!==B||S.height!==K)&&(A.width=S.width=B,A.height=S.height=K,A.style.width=B+"px",A.style.height=K+"px",v.retinaScale(S,L.devicePixelRatio),!D)){var oe={width:B,height:K};M.notify(S,"resize",[oe]),S.options.onResize&&S.options.onResize(S,oe),S.stop(),S.update(S.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var D=this.options,S=D.scales||{},L=D.scale;v.each(S.xAxes,function(A,U){A.id=A.id||"x-axis-"+U}),v.each(S.yAxes,function(A,U){A.id=A.id||"y-axis-"+U}),L&&(L.id=L.id||"scale")},buildOrUpdateScales:function(){var D=this,S=D.options,L=D.scales||{},A=[],U=Object.keys(L).reduce(function(B,K){return B[K]=!1,B},{});S.scales&&(A=A.concat((S.scales.xAxes||[]).map(function(B){return{options:B,dtype:"category",dposition:"bottom"}}),(S.scales.yAxes||[]).map(function(B){return{options:B,dtype:"linear",dposition:"left"}}))),S.scale&&A.push({options:S.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),v.each(A,function(B){var K=B.options,oe=K.id,ye=v.valueOrDefault(K.type,B.dtype);T(K.position)!==T(B.dposition)&&(K.position=B.dposition),U[oe]=!0;var Z=null;if(oe in L&&L[oe].type===ye)(Z=L[oe]).options=K,Z.ctx=D.ctx,Z.chart=D;else{var X=p.scaleService.getScaleConstructor(ye);if(!X)return;Z=new X({id:oe,type:ye,options:K,ctx:D.ctx,chart:D}),L[Z.id]=Z}Z.mergeTicksOptions(),B.isDefault&&(D.scale=Z)}),v.each(U,function(B,K){B||delete L[K]}),D.scales=L,p.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var D=this,S=[],L=[];return v.each(D.data.datasets,function(A,U){var B=D.getDatasetMeta(U),K=A.type||D.config.type;if(B.type&&B.type!==K&&(D.destroyDatasetMeta(U),B=D.getDatasetMeta(U)),B.type=K,S.push(B.type),B.controller)B.controller.updateIndex(U),B.controller.linkScales();else{var oe=p.controllers[B.type];if(void 0===oe)throw new Error('"'+B.type+'" is not a chart type.');B.controller=new oe(D,U),L.push(B.controller)}},D),L},resetElements:function(){var D=this;v.each(D.data.datasets,function(S,L){D.getDatasetMeta(L).controller.reset()},D)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(D){var S=this;if((!D||"object"!=typeof D)&&(D={duration:D,lazy:arguments[1]}),function x(D){var S=D.options;v.each(D.scales,function(L){f.removeBox(D,L)}),S=v.configMerge(p.defaults.global,p.defaults[D.config.type],S),D.options=D.config.options=S,D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.tooltip._options=S.tooltips,D.tooltip.initialize()}(S),M._invalidate(S),!1!==M.notify(S,"beforeUpdate")){S.tooltip._data=S.data;var L=S.buildOrUpdateControllers();v.each(S.data.datasets,function(A,U){S.getDatasetMeta(U).controller.buildOrUpdateElements()},S),S.updateLayout(),S.options.animation&&S.options.animation.duration&&v.each(L,function(A){A.reset()}),S.updateDatasets(),S.tooltip.initialize(),S.lastActive=[],M.notify(S,"afterUpdate"),S._bufferedRender?S._bufferedRequest={duration:D.duration,easing:D.easing,lazy:D.lazy}:S.render(D)}},updateLayout:function(){var D=this;!1!==M.notify(D,"beforeLayout")&&(f.update(this,this.width,this.height),M.notify(D,"afterScaleUpdate"),M.notify(D,"afterLayout"))},updateDatasets:function(){var D=this;if(!1!==M.notify(D,"beforeDatasetsUpdate")){for(var S=0,L=D.data.datasets.length;S"u"&&0!==U.duration)){var K=new p.Animation({numSteps:(L||U.duration)/16.66,easing:D.easing||U.easing,render:function(oe,ye){var X=ye.currentStep,he=X/ye.numSteps;oe.draw((0,v.easing.effects[ye.easing])(he),he,X)},onAnimationProgress:U.onProgress,onAnimationComplete:B});p.animationService.addAnimation(S,K,L,A)}else S.draw(),B(new p.Animation({numSteps:0,chart:S}));return S}},draw:function(D){var S=this;S.clear(),v.isNullOrUndef(D)&&(D=1),S.transition(D),!1!==M.notify(S,"beforeDraw",[D])&&(v.each(S.boxes,function(L){L.draw(S.chartArea)},S),S.scale&&S.scale.draw(),S.drawDatasets(D),S._drawTooltip(D),M.notify(S,"afterDraw",[D]))},transition:function(D){for(var S=this,L=0,A=(S.data.datasets||[]).length;L=0;--L)S.isDatasetVisible(L)&&S.drawDataset(L,D);M.notify(S,"afterDatasetsDraw",[D])}},drawDataset:function(D,S){var L=this,A=L.getDatasetMeta(D),U={meta:A,index:D,easingValue:S};!1!==M.notify(L,"beforeDatasetDraw",[U])&&(A.controller.draw(S),M.notify(L,"afterDatasetDraw",[U]))},_drawTooltip:function(D){var S=this,L=S.tooltip,A={tooltip:L,easingValue:D};!1!==M.notify(S,"beforeTooltipDraw",[A])&&(L.draw(),M.notify(S,"afterTooltipDraw",[A]))},getElementAtEvent:function(D){return u.modes.single(this,D)},getElementsAtEvent:function(D){return u.modes.label(this,D,{intersect:!0})},getElementsAtXAxis:function(D){return u.modes["x-axis"](this,D,{intersect:!0})},getElementsAtEventForMode:function(D,S,L){var A=u.modes[S];return"function"==typeof A?A(this,D,L):[]},getDatasetAtEvent:function(D){return u.modes.dataset(this,D,{intersect:!0})},getDatasetMeta:function(D){var S=this,L=S.data.datasets[D];L._meta||(L._meta={});var A=L._meta[S.id];return A||(A=L._meta[S.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),A},getVisibleDatasetCount:function(){for(var D=0,S=0,L=this.data.datasets.length;S{"use strict";var O=Y(3305);de.exports=function(v){var u=["push","pop","shift","splice","unshift"];function h(M,p){var y=M._chartjs;if(y){var x=y.listeners,T=x.indexOf(p);-1!==T&&x.splice(T,1),!(x.length>0)&&(u.forEach(function(D){delete M[D]}),delete M._chartjs)}}v.DatasetController=function(M,p){this.initialize(M,p)},O.extend(v.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(M,p){var y=this;y.chart=M,y.index=p,y.linkScales(),y.addElements()},updateIndex:function(M){this.index=M},linkScales:function(){var M=this,p=M.getMeta(),y=M.getDataset();(null===p.xAxisID||!(p.xAxisID in M.chart.scales))&&(p.xAxisID=y.xAxisID||M.chart.options.scales.xAxes[0].id),(null===p.yAxisID||!(p.yAxisID in M.chart.scales))&&(p.yAxisID=y.yAxisID||M.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(M){return this.chart.scales[M]},reset:function(){this.update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var M=this,p=M.datasetElementType;return p&&new p({_chart:M.chart,_datasetIndex:M.index})},createMetaData:function(M){var p=this,y=p.dataElementType;return y&&new y({_chart:p.chart,_datasetIndex:p.index,_index:M})},addElements:function(){var T,D,M=this,p=M.getMeta(),y=M.getDataset().data||[],x=p.data;for(T=0,D=y.length;Tx&&M.insertElements(x,T-x)},insertElements:function(M,p){for(var y=0;y{"use strict";var O=Y(3305);de.exports={_set:function(v,u){return O.merge(this[v]||(this[v]={}),u)}}},8839:(de,ge,Y)=>{"use strict";var O=Y(7726),v=Y(3305),f=function(h){v.extend(this,h),this.initialize.apply(this,arguments)};v.extend(f.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=v.clone(h._model)),h._start={},h},transition:function(h){var M=this,p=M._model,y=M._start,x=M._view;return p&&1!==h?(x||(x=M._view={}),y||(y=M._start={}),function u(h,M,p,y){var T,D,S,L,A,U,B,K,oe,x=Object.keys(p);for(T=0,D=x.length;T{"use strict";var O=Y(7726),v=Y(9800),u=Y(3305);de.exports=function(f){function h(y,x,T){var D;return"string"==typeof y?(D=parseInt(y,10),-1!==y.indexOf("%")&&(D=D/100*x.parentNode[T])):D=y,D}function M(y){return null!=y&&"none"!==y}function p(y,x,T){var D=document.defaultView,S=y.parentNode,L=D.getComputedStyle(y)[x],A=D.getComputedStyle(S)[x],U=M(L),B=M(A),K=Number.POSITIVE_INFINITY;return U||B?Math.min(U?h(L,y,T):K,B?h(A,S,T):K):"none"}u.configMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,x,T,D){var S=x[y]||{},L=T[y];"scales"===y?x[y]=u.scaleMerge(S,L):"scale"===y?x[y]=u.merge(S,[f.scaleService.getScaleDefaults(L.type),L]):u._merger(y,x,T,D)}})},u.scaleMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,x,T,D){if("xAxes"===y||"yAxes"===y){var L,A,U,S=T[y].length;for(x[y]||(x[y]=[]),L=0;L=x[y].length&&x[y].push({}),u.merge(x[y][L],!x[y][L].type||U.type&&U.type!==x[y][L].type?[f.scaleService.getScaleDefaults(A),U]:U)}else u._merger(y,x,T,D)}})},u.where=function(y,x){if(u.isArray(y)&&Array.prototype.filter)return y.filter(x);var T=[];return u.each(y,function(D){x(D)&&T.push(D)}),T},u.findIndex=Array.prototype.findIndex?function(y,x,T){return y.findIndex(x,T)}:function(y,x,T){T=void 0===T?y:T;for(var D=0,S=y.length;D=0;D--){var S=y[D];if(x(S))return S}},u.isNumber=function(y){return!isNaN(parseFloat(y))&&isFinite(y)},u.almostEquals=function(y,x,T){return Math.abs(y-x)y},u.max=function(y){return y.reduce(function(x,T){return isNaN(T)?x:Math.max(x,T)},Number.NEGATIVE_INFINITY)},u.min=function(y){return y.reduce(function(x,T){return isNaN(T)?x:Math.min(x,T)},Number.POSITIVE_INFINITY)},u.sign=Math.sign?function(y){return Math.sign(y)}:function(y){return 0==(y=+y)||isNaN(y)?y:y>0?1:-1},u.log10=Math.log10?function(y){return Math.log10(y)}:function(y){var x=Math.log(y)*Math.LOG10E,T=Math.round(x);return y===Math.pow(10,T)?T:x},u.toRadians=function(y){return y*(Math.PI/180)},u.toDegrees=function(y){return y*(180/Math.PI)},u.getAngleFromPoint=function(y,x){var T=x.x-y.x,D=x.y-y.y,S=Math.sqrt(T*T+D*D),L=Math.atan2(D,T);return L<-.5*Math.PI&&(L+=2*Math.PI),{angle:L,distance:S}},u.distanceBetweenPoints=function(y,x){return Math.sqrt(Math.pow(x.x-y.x,2)+Math.pow(x.y-y.y,2))},u.aliasPixel=function(y){return y%2==0?0:.5},u.splineCurve=function(y,x,T,D){var S=y.skip?x:y,L=x,A=T.skip?x:T,U=Math.sqrt(Math.pow(L.x-S.x,2)+Math.pow(L.y-S.y,2)),B=Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2)),K=U/(U+B),oe=B/(U+B),ye=D*(K=isNaN(K)?0:K),Z=D*(oe=isNaN(oe)?0:oe);return{previous:{x:L.x-ye*(A.x-S.x),y:L.y-ye*(A.y-S.y)},next:{x:L.x+Z*(A.x-S.x),y:L.y+Z*(A.y-S.y)}}},u.EPSILON=Number.EPSILON||1e-14,u.splineCurveMonotone=function(y){var D,S,L,A,B,K,oe,ye,Z,x=(y||[]).map(function(X){return{model:X._model,deltaK:0,mK:0}}),T=x.length;for(D=0;D0?x[D-1]:null,(A=D0?x[D-1]:null)&&!S.model.skip&&(L.model.controlPointPreviousX=L.model.x-(Z=(L.model.x-S.model.x)/3),L.model.controlPointPreviousY=L.model.y-Z*L.mK),A&&!A.model.skip&&(L.model.controlPointNextX=L.model.x+(Z=(A.model.x-L.model.x)/3),L.model.controlPointNextY=L.model.y+Z*L.mK))},u.nextItem=function(y,x,T){return T?x>=y.length-1?y[0]:y[x+1]:x>=y.length-1?y[y.length-1]:y[x+1]},u.previousItem=function(y,x,T){return T?x<=0?y[y.length-1]:y[x-1]:x<=0?y[0]:y[x-1]},u.niceNum=function(y,x){var T=Math.floor(u.log10(y)),D=y/Math.pow(10,T);return(x?D<1.5?1:D<3?2:D<7?5:10:D<=1?1:D<=2?2:D<=5?5:10)*Math.pow(10,T)},u.requestAnimFrame=typeof window>"u"?function(y){y()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(y){return window.setTimeout(y,1e3/60)},u.getRelativePosition=function(y,x){var T,D,S=y.originalEvent||y,L=y.currentTarget||y.srcElement,A=L.getBoundingClientRect(),U=S.touches;U&&U.length>0?(T=U[0].clientX,D=U[0].clientY):(T=S.clientX,D=S.clientY);var B=parseFloat(u.getStyle(L,"padding-left")),K=parseFloat(u.getStyle(L,"padding-top")),oe=parseFloat(u.getStyle(L,"padding-right")),ye=parseFloat(u.getStyle(L,"padding-bottom")),X=A.bottom-A.top-K-ye;return{x:T=Math.round((T-A.left-B)/(A.right-A.left-B-oe)*L.width/x.currentDevicePixelRatio),y:D=Math.round((D-A.top-K)/X*L.height/x.currentDevicePixelRatio)}},u.getConstraintWidth=function(y){return p(y,"max-width","clientWidth")},u.getConstraintHeight=function(y){return p(y,"max-height","clientHeight")},u.getMaximumWidth=function(y){var x=y.parentNode;if(!x)return y.clientWidth;var T=parseInt(u.getStyle(x,"padding-left"),10),D=parseInt(u.getStyle(x,"padding-right"),10),S=x.clientWidth-T-D,L=u.getConstraintWidth(y);return isNaN(L)?S:Math.min(S,L)},u.getMaximumHeight=function(y){var x=y.parentNode;if(!x)return y.clientHeight;var T=parseInt(u.getStyle(x,"padding-top"),10),D=parseInt(u.getStyle(x,"padding-bottom"),10),S=x.clientHeight-T-D,L=u.getConstraintHeight(y);return isNaN(L)?S:Math.min(S,L)},u.getStyle=function(y,x){return y.currentStyle?y.currentStyle[x]:document.defaultView.getComputedStyle(y,null).getPropertyValue(x)},u.retinaScale=function(y,x){var T=y.currentDevicePixelRatio=x||window.devicePixelRatio||1;if(1!==T){var D=y.canvas,S=y.height,L=y.width;D.height=S*T,D.width=L*T,y.ctx.scale(T,T),!D.style.height&&!D.style.width&&(D.style.height=S+"px",D.style.width=L+"px")}},u.fontString=function(y,x,T){return x+" "+y+"px "+T},u.longestText=function(y,x,T,D){var S=(D=D||{}).data=D.data||{},L=D.garbageCollect=D.garbageCollect||[];D.font!==x&&(S=D.data={},L=D.garbageCollect=[],D.font=x),y.font=x;var A=0;u.each(T,function(K){null!=K&&!0!==u.isArray(K)?A=u.measureText(y,S,L,A,K):u.isArray(K)&&u.each(K,function(oe){null!=oe&&!u.isArray(oe)&&(A=u.measureText(y,S,L,A,oe))})});var U=L.length/2;if(U>T.length){for(var B=0;BD&&(D=L),D},u.numberOfLabelLines=function(y){var x=1;return u.each(y,function(T){u.isArray(T)&&T.length>x&&(x=T.length)}),x},u.color=O?function(y){return y instanceof CanvasGradient&&(y=v.global.defaultColor),O(y)}:function(y){return console.error("Color.js not found!"),y},u.getHoverColor=function(y){return y instanceof CanvasPattern?y:u.color(y).saturate(.5).darken(.1).rgbString()}}},2814:(de,ge,Y)=>{"use strict";var O=Y(3305);function v(y,x){return y.native?{x:y.x,y:y.y}:O.getRelativePosition(y,x)}function u(y,x){var D,S,L,A,U;for(S=0,A=y.data.datasets.length;S0&&(L=y.getDatasetMeta(L[0]._datasetIndex).data),L},"x-axis":function(y,x){return p(y,x,{intersect:!1})},point:function(y,x){return f(y,v(x,y))},nearest:function(y,x,T){var D=v(x,y);T.axis=T.axis||"xy";var S=M(T.axis),L=h(y,D,T.intersect,S);return L.length>1&&L.sort(function(A,U){var oe=A.getArea()-U.getArea();return 0===oe&&(oe=A._datasetIndex-U._datasetIndex),oe}),L.slice(0,1)},x:function(y,x,T){var D=v(x,y),S=[],L=!1;return u(y,function(A){A.inXRange(D.x)&&S.push(A),A.inRange(D.x,D.y)&&(L=!0)}),T.intersect&&!L&&(S=[]),S},y:function(y,x,T){var D=v(x,y),S=[],L=!1;return u(y,function(A){A.inYRange(D.y)&&S.push(A),A.inRange(D.x,D.y)&&(L=!0)}),T.intersect&&!L&&(S=[]),S}}}},5979:(de,ge,Y)=>{"use strict";Y(9800)._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}}}),de.exports=function(){var v=function(u,f){return this.construct(u,f),this};return v.Chart=v,v}},2294:(de,ge,Y)=>{"use strict";var O=Y(3305);function v(f,h){return O.where(f,function(M){return M.position===h})}function u(f,h){f.forEach(function(M,p){return M._tmpIndex_=p,M}),f.sort(function(M,p){var y=h?p:M,x=h?M:p;return y.weight===x.weight?y._tmpIndex_-x._tmpIndex_:y.weight-x.weight}),f.forEach(function(M){delete M._tmpIndex_})}de.exports={defaults:{},addBox:function(f,h){f.boxes||(f.boxes=[]),h.fullWidth=h.fullWidth||!1,h.position=h.position||"top",h.weight=h.weight||0,f.boxes.push(h)},removeBox:function(f,h){var M=f.boxes?f.boxes.indexOf(h):-1;-1!==M&&f.boxes.splice(M,1)},configure:function(f,h,M){for(var T,p=["fullWidth","position","weight"],y=p.length,x=0;x{"use strict";var O=Y(9800),v=Y(3305);O._set("global",{plugins:{}}),de.exports={_plugins:[],_cacheId:0,register:function(u){var f=this._plugins;[].concat(u).forEach(function(h){-1===f.indexOf(h)&&f.push(h)}),this._cacheId++},unregister:function(u){var f=this._plugins;[].concat(u).forEach(function(h){var M=f.indexOf(h);-1!==M&&f.splice(M,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(u,f,h){var y,x,T,D,S,M=this.descriptors(u),p=M.length;for(y=0;y{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(8347);function h(p){var x,T,y=[];for(x=0,T=p.length;x"u"&&(D.minor[S]=D[S]),typeof D.major[S]>"u"&&(D.major[S]=D[S]))},beforeUpdate:function(){u.callback(this.options.beforeUpdate,[this])},update:function(D,S,L){var U,B,K,oe,ye,Z,A=this;for(A.beforeUpdate(),A.maxWidth=D,A.maxHeight=S,A.margins=u.extend({left:0,right:0,top:0,bottom:0},L),A.longestTextCache=A.longestTextCache||{},A.beforeSetDimensions(),A.setDimensions(),A.afterSetDimensions(),A.beforeDataLimits(),A.determineDataLimits(),A.afterDataLimits(),A.beforeBuildTicks(),ye=A.buildTicks()||[],A.afterBuildTicks(),A.beforeTickToLabelConversion(),K=A.convertTicksToLabels(ye)||A.ticks,A.afterTickToLabelConversion(),A.ticks=K,U=0,B=K.length;UX&&BD.maxHeight){B--;break}B++,oe=ye*K}D.labelRotation=B},afterCalculateTickRotation:function(){u.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){u.callback(this.options.beforeFit,[this])},fit:function(){var D=this,S=D.minSize={width:0,height:0},L=h(D._ticks),A=D.options,U=A.ticks,B=A.scaleLabel,K=A.gridLines,oe=A.display,ye=D.isHorizontal(),Z=x(U),X=A.gridLines.tickMarkLength;if(S.width=ye?D.isFullWidth()?D.maxWidth-D.margins.left-D.margins.right:D.maxWidth:oe&&K.drawTicks?X:0,S.height=ye?oe&&K.drawTicks?X:0:D.maxHeight,B.display&&oe){var Q=T(B)+u.options.toPadding(B.padding).height;ye?S.height+=Q:S.width+=Q}if(U.display&&oe){var ee=u.longestText(D.ctx,Z.font,L,D.longestTextCache),ae=u.numberOfLabelLines(L),le=.5*Z.size,J=D.options.ticks.padding;if(ye){D.longestLabelWidth=ee;var Te=u.toRadians(D.labelRotation),Se=Math.cos(Te),ke=Math.sin(Te);S.height=Math.min(D.maxHeight,S.height+(ke*ee+Z.size*ae+le*(ae-1)+le)+J),D.ctx.font=Z.font;var tt=y(D.ctx,L[0],Z.font),st=y(D.ctx,L[L.length-1],Z.font);0!==D.labelRotation?(D.paddingLeft="bottom"===A.position?Se*tt+3:Se*le+3,D.paddingRight="bottom"===A.position?Se*le+3:Se*st+3):(D.paddingLeft=tt/2+3,D.paddingRight=st/2+3)}else U.mirror?ee=0:ee+=J+le,S.width=Math.min(D.maxWidth,S.width+ee),D.paddingTop=Z.size/2,D.paddingBottom=Z.size/2}D.handleMargins(),D.width=S.width,D.height=S.height},handleMargins:function(){var D=this;D.margins&&(D.paddingLeft=Math.max(D.paddingLeft-D.margins.left,0),D.paddingTop=Math.max(D.paddingTop-D.margins.top,0),D.paddingRight=Math.max(D.paddingRight-D.margins.right,0),D.paddingBottom=Math.max(D.paddingBottom-D.margins.bottom,0))},afterFit:function(){u.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(D){if(u.isNullOrUndef(D))return NaN;if("number"==typeof D&&!isFinite(D))return NaN;if(D)if(this.isHorizontal()){if(void 0!==D.x)return this.getRightValue(D.x)}else if(void 0!==D.y)return this.getRightValue(D.y);return D},getLabelForIndex:u.noop,getPixelForValue:u.noop,getValueForPixel:u.noop,getPixelForTick:function(D){var S=this,L=S.options.offset;if(S.isHorizontal()){var U=(S.width-(S.paddingLeft+S.paddingRight))/Math.max(S._ticks.length-(L?0:1),1),B=U*D+S.paddingLeft;return L&&(B+=U/2),S.left+Math.round(B)+(S.isFullWidth()?S.margins.left:0)}return S.top+D*((S.height-(S.paddingTop+S.paddingBottom))/(S._ticks.length-1))},getPixelForDecimal:function(D){var S=this;return S.isHorizontal()?S.left+Math.round((S.width-(S.paddingLeft+S.paddingRight))*D+S.paddingLeft)+(S.isFullWidth()?S.margins.left:0):S.top+D*S.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var D=this,S=D.min,L=D.max;return D.beginAtZero?0:S<0&&L<0?L:S>0&&L>0?S:0},_autoSkip:function(D){var S,X,he,Q,L=this,A=L.isHorizontal(),U=L.options.ticks.minor,B=D.length,K=u.toRadians(L.labelRotation),oe=Math.cos(K),ye=L.longestLabelWidth*oe,Z=[];for(U.maxTicksLimit&&(Q=U.maxTicksLimit),A&&(S=!1,(ye+U.autoSkipPadding)*B>L.width-(L.paddingLeft+L.paddingRight)&&(S=1+Math.floor((ye+U.autoSkipPadding)*B/(L.width-(L.paddingLeft+L.paddingRight)))),Q&&B>Q&&(S=Math.max(S,Math.floor(B/Q)))),X=0;X1&&X%S>0||X%S==0&&X+S>=B)&&X!==B-1&&delete he.label,Z.push(he);return Z},draw:function(D){var S=this,L=S.options;if(L.display){var A=S.ctx,U=O.global,B=L.ticks.minor,K=L.ticks.major||B,oe=L.gridLines,ye=L.scaleLabel,Z=0!==S.labelRotation,X=S.isHorizontal(),he=B.autoSkip?S._autoSkip(S.getTicks()):S.getTicks(),q=u.valueOrDefault(B.fontColor,U.defaultFontColor),Q=x(B),ee=u.valueOrDefault(K.fontColor,U.defaultFontColor),ae=x(K),le=oe.drawTicks?oe.tickMarkLength:0,J=u.valueOrDefault(ye.fontColor,U.defaultFontColor),Te=x(ye),Se=u.options.toPadding(ye.padding),ke=u.toRadians(S.labelRotation),Be=[],tt=S.options.gridLines.lineWidth,st="right"===L.position?S.right:S.right-tt-le,at="right"===L.position?S.right+le:S.right,zt="bottom"===L.position?S.top+tt:S.bottom-le-tt,an="bottom"===L.position?S.top+tt+le:S.bottom+tt;if(u.each(he,function(te,pe){if(!u.isNullOrUndef(te.label)){var ue,be,me,Me,fe=te.label;pe===S.zeroLineIndex&&L.offset===oe.offsetGridLines?(ue=oe.zeroLineWidth,be=oe.zeroLineColor,me=oe.zeroLineBorderDash,Me=oe.zeroLineBorderDashOffset):(ue=u.valueAtIndexOrDefault(oe.lineWidth,pe),be=u.valueAtIndexOrDefault(oe.color,pe),me=u.valueOrDefault(oe.borderDash,U.borderDash),Me=u.valueOrDefault(oe.borderDashOffset,U.borderDashOffset));var De,Ie,Ye,ut,gt,ot,fn,Rn,bt,qt,Gn="middle",oi="middle",Kr=B.padding;if(X){var Io=le+Kr;"bottom"===L.position?(oi=Z?"middle":"top",Gn=Z?"right":"center",qt=S.top+Io):(oi=Z?"middle":"bottom",Gn=Z?"left":"center",qt=S.bottom-Io);var Hi=M(S,pe,oe.offsetGridLines&&he.length>1);Hi1);si{"use strict";var O=Y(9800),v=Y(3305),u=Y(2294);de.exports=function(f){f.scaleService={constructors:{},defaults:{},registerScaleType:function(h,M,p){this.constructors[h]=M,this.defaults[h]=v.clone(p)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?v.merge({},[O.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,M){var p=this;p.defaults.hasOwnProperty(h)&&(p.defaults[h]=v.extend(p.defaults[h],M))},addScalesToLayout:function(h){v.each(h.scales,function(M){M.fullWidth=M.options.fullWidth,M.position=M.options.position,M.weight=M.options.weight,u.addBox(h,M)})}}}},8347:(de,ge,Y)=>{"use strict";var O=Y(3305);de.exports={formatters:{values:function(v){return O.isArray(v)?v:""+v},linear:function(v,u,f){var h=f.length>3?f[2]-f[1]:f[1]-f[0];Math.abs(h)>1&&v!==Math.floor(v)&&(h=v-Math.floor(v));var M=O.log10(Math.abs(h)),p="";if(0!==v){var y=-1*Math.floor(M);y=Math.max(Math.min(y,20),0),p=v.toFixed(y)}else p="0";return p},logarithmic:function(v,u,f){var h=v/Math.pow(10,Math.floor(O.log10(v)));return 0===v?"0":1===h||2===h||5===h||0===u||u===f.length-1?v.toExponential():""}}}},480:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._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:u.noop,title:function(f,h){var M="",p=h.labels,y=p?p.length:0;if(f.length>0){var x=f[0];x.xLabel?M=x.xLabel:y>0&&x.indexU.height-L.height&&(oe="bottom");var ye,Z,X,he,q,Q=(B.left+B.right)/2,ee=(B.top+B.bottom)/2;"center"===oe?(ye=function(le){return le<=Q},Z=function(le){return le>Q}):(ye=function(le){return le<=L.width/2},Z=function(le){return le>=U.width-L.width/2}),X=function(le){return le+L.width+A.caretSize+A.caretPadding>U.width},he=function(le){return le-L.width-A.caretSize-A.caretPadding<0},q=function(le){return le<=ee?"top":"bottom"},ye(A.x)?(K="left",X(A.x)&&(K="center",oe=q(A.y))):Z(A.x)&&(K="right",he(A.x)&&(K="center",oe=q(A.y)));var ae=S._options;return{xAlign:ae.xAlign?ae.xAlign:K,yAlign:ae.yAlign?ae.yAlign:oe}}(this,X),Z=function D(S,L,A,U){var B=S.x,K=S.y,ye=S.caretPadding,X=A.xAlign,he=A.yAlign,q=S.caretSize+ye,Q=S.cornerRadius+ye;return"right"===X?B-=L.width:"center"===X&&((B-=L.width/2)+L.width>U.width&&(B=U.width-L.width),B<0&&(B=0)),"top"===he?K+=q:K-="bottom"===he?L.height+q:L.height/2,"center"===he?"left"===X?B+=q:"right"===X&&(B-=q):"left"===X?B-=Q:"right"===X&&(B+=Q),{x:B,y:K}}(B,X,ye,L._chart)}else B.opacity=0;return B.xAlign=ye.xAlign,B.yAlign=ye.yAlign,B.x=Z.x,B.y=Z.y,B.width=X.width,B.height=X.height,B.caretX=he.x,B.caretY=he.y,L._model=B,S&&A.custom&&A.custom.call(L,B),L},drawCaret:function(S,L){var A=this._chart.ctx,B=this.getCaretPosition(S,L,this._view);A.lineTo(B.x1,B.y1),A.lineTo(B.x2,B.y2),A.lineTo(B.x3,B.y3)},getCaretPosition:function(S,L,A){var U,B,K,oe,ye,Z,X=A.caretSize,he=A.cornerRadius,q=A.xAlign,Q=A.yAlign,ee=S.x,ae=S.y,le=L.width,J=L.height;if("center"===Q)ye=ae+J/2,"left"===q?(B=(U=ee)-X,K=U,oe=ye+X,Z=ye-X):(B=(U=ee+le)+X,K=U,oe=ye-X,Z=ye+X);else if("left"===q?(U=(B=ee+he+X)-X,K=B+X):"right"===q?(U=(B=ee+le-he-X)-X,K=B+X):(U=(B=A.caretX)-X,K=B+X),"top"===Q)ye=(oe=ae)-X,Z=oe;else{ye=(oe=ae+J)+X,Z=oe;var Te=K;K=U,U=Te}return{x1:U,x2:B,x3:K,y1:oe,y2:ye,y3:Z}},drawTitle:function(S,L,A,U){var B=L.title;if(B.length){A.textAlign=L._titleAlign,A.textBaseline="top";var ye,Z,K=L.titleFontSize,oe=L.titleSpacing;for(A.fillStyle=h(L.titleFontColor,U),A.font=u.fontString(K,L._titleFontStyle,L._titleFontFamily),ye=0,Z=B.length;ye0&&A.stroke()},draw:function(){var S=this._chart.ctx,L=this._view;if(0!==L.opacity){var A={width:L.width,height:L.height},U={x:L.x,y:L.y},B=Math.abs(L.opacity<.001)?0:L.opacity;this._options.enabled&&(L.title.length||L.beforeBody.length||L.body.length||L.afterBody.length||L.footer.length)&&(this.drawBackground(U,L,S,A,B),U.x+=L.xPadding,U.y+=L.yPadding,this.drawTitle(U,L,S,B),this.drawBody(U,L,S,B),this.drawFooter(U,L,S,B))}},handleEvent:function(S){var U,L=this,A=L._options;return L._lastActive=L._lastActive||[],L._active="mouseout"===S.type?[]:L._chart.getElementsAtEventForMode(S,A.mode,A),(U=!u.arrayEquals(L._active,L._lastActive))&&(L._lastActive=L._active,(A.enabled||A.custom)&&(L._eventPosition={x:S.x,y:S.y},L.update(!0),L.pivot())),U}}),f.Tooltip.positioners={average:function(S){if(!S.length)return!1;var L,A,U=0,B=0,K=0;for(L=0,A=S.length;L{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._set("global",{elements:{arc:{backgroundColor:O.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),de.exports=v.extend({inLabelRange:function(f){var h=this._view;return!!h&&Math.pow(f-h.x,2)D;)y-=2*Math.PI;for(;y=T&&y<=D&&x>=M.innerRadius&&x<=M.outerRadius}return!1},getCenterPoint:function(){var f=this._view,h=(f.startAngle+f.endAngle)/2,M=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},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,h=f.startAngle+(f.endAngle-f.startAngle)/2,M=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},draw:function(){var f=this._chart.ctx,h=this._view,M=h.startAngle,p=h.endAngle;f.beginPath(),f.arc(h.x,h.y,h.outerRadius,M,p),f.arc(h.x,h.y,h.innerRadius,p,M,!0),f.closePath(),f.strokeStyle=h.borderColor,f.lineWidth=h.borderWidth,f.fillStyle=h.backgroundColor,f.fill(),f.lineJoin="bevel",h.borderWidth&&f.stroke()}})},3819:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=O.global;O._set("global",{elements:{line:{tension:.4,backgroundColor:f.defaultColor,borderWidth:3,borderColor:f.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),de.exports=v.extend({draw:function(){var S,L,A,U,h=this,M=h._view,p=h._chart.ctx,y=M.spanGaps,x=h._children.slice(),T=f.elements.line,D=-1;for(h._loop&&x.length&&x.push(x[0]),p.save(),p.lineCap=M.borderCapStyle||T.borderCapStyle,p.setLineDash&&p.setLineDash(M.borderDash||T.borderDash),p.lineDashOffset=M.borderDashOffset||T.borderDashOffset,p.lineJoin=M.borderJoinStyle||T.borderJoinStyle,p.lineWidth=M.borderWidth||T.borderWidth,p.strokeStyle=M.borderColor||f.defaultColor,p.beginPath(),D=-1,S=0;S{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=O.global.defaultColor;function h(p){var y=this._view;return!!y&&Math.abs(p-y.x){"use strict";var O=Y(9800),v=Y(8839);function u(h){return void 0!==h._view.width}function f(h){var p,y,x,T,M=h._view;if(u(h)){var D=M.width/2;p=M.x-D,y=M.x+D,x=Math.min(M.y,M.base),T=Math.max(M.y,M.base)}else{var S=M.height/2;p=Math.min(M.x,M.base),y=Math.max(M.x,M.base),x=M.y-S,T=M.y+S}return{left:p,top:x,right:y,bottom:T}}O._set("global",{elements:{rectangle:{backgroundColor:O.global.defaultColor,borderColor:O.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),de.exports=v.extend({draw:function(){var p,y,x,T,D,S,L,h=this._chart.ctx,M=this._view,A=M.borderWidth;if(M.horizontal?(x=M.y-M.height/2,T=M.y+M.height/2,D=(y=M.x)>(p=M.base)?1:-1,S=1,L=M.borderSkipped||"left"):(p=M.x-M.width/2,y=M.x+M.width/2,D=1,S=(T=M.base)>(x=M.y)?1:-1,L=M.borderSkipped||"bottom"),A){var U=Math.min(Math.abs(p-y),Math.abs(x-T)),B=(A=A>U?U:A)/2,K=p+("left"!==L?B*D:0),oe=y+("right"!==L?-B*D:0),ye=x+("top"!==L?B*S:0),Z=T+("bottom"!==L?-B*S:0);K!==oe&&(x=ye,T=Z),ye!==Z&&(p=K,y=oe)}h.beginPath(),h.fillStyle=M.backgroundColor,h.strokeStyle=M.borderColor,h.lineWidth=A;var X=[[p,T],[p,x],[y,x],[y,T]],q=["bottom","left","top","right"].indexOf(L,0);function Q(le){return X[(q+le)%4]}-1===q&&(q=0);var ee=Q(0);h.moveTo(ee[0],ee[1]);for(var ae=1;ae<4;ae++)ee=Q(ae),h.lineTo(ee[0],ee[1]);h.fill(),A&&h.stroke()},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,M){var p=!1;if(this._view){var y=f(this);p=h>=y.left&&h<=y.right&&M>=y.top&&M<=y.bottom}return p},inLabelRange:function(h,M){var p=this;if(!p._view)return!1;var x=f(p);return u(p)?h>=x.left&&h<=x.right:M>=x.top&&M<=x.bottom},inXRange:function(h){var M=f(this);return h>=M.left&&h<=M.right},inYRange:function(h){var M=f(this);return h>=M.top&&h<=M.bottom},getCenterPoint:function(){var M,p,h=this._view;return u(this)?(M=h.x,p=(h.y+h.base)/2):(M=(h.x+h.base)/2,p=h.y),{x:M,y:p}},getArea:function(){var h=this._view;return h.width*Math.abs(h.y-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}})},9931:(de,ge,Y)=>{"use strict";de.exports={},de.exports.Arc=Y(280),de.exports.Line=Y(3819),de.exports.Point=Y(4674),de.exports.Rectangle=Y(8667)},2397:(de,ge,Y)=>{"use strict";var O=Y(4396),v=de.exports={clear:function(u){u.ctx.clearRect(0,0,u.width,u.height)},roundedRect:function(u,f,h,M,p,y){if(y){var x=Math.min(y,M/2),T=Math.min(y,p/2);u.moveTo(f+x,h),u.lineTo(f+M-x,h),u.quadraticCurveTo(f+M,h,f+M,h+T),u.lineTo(f+M,h+p-T),u.quadraticCurveTo(f+M,h+p,f+M-x,h+p),u.lineTo(f+x,h+p),u.quadraticCurveTo(f,h+p,f,h+p-T),u.lineTo(f,h+T),u.quadraticCurveTo(f,h,f+x,h)}else u.rect(f,h,M,p)},drawPoint:function(u,f,h,M,p){var y,x,T,D,S,L;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(y=f.toString())&&"[object HTMLCanvasElement]"!==y){if(!(isNaN(h)||h<=0)){switch(f){default:u.beginPath(),u.arc(M,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),S=(x=3*h/Math.sqrt(3))*Math.sqrt(3)/2,u.moveTo(M-x/2,p+S/3),u.lineTo(M+x/2,p+S/3),u.lineTo(M,p-2*S/3),u.closePath(),u.fill();break;case"rect":L=1/Math.SQRT2*h,u.beginPath(),u.fillRect(M-L,p-L,2*L,2*L),u.strokeRect(M-L,p-L,2*L,2*L);break;case"rectRounded":var A=h/Math.SQRT2,U=M-A,B=p-A,K=Math.SQRT2*h;u.beginPath(),this.roundedRect(u,U,B,K,K,h/2),u.closePath(),u.fill();break;case"rectRot":L=1/Math.SQRT2*h,u.beginPath(),u.moveTo(M-L,p),u.lineTo(M,p+L),u.lineTo(M+L,p),u.lineTo(M,p-L),u.closePath(),u.fill();break;case"cross":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"crossRot":u.beginPath(),T=Math.cos(Math.PI/4)*h,D=Math.sin(Math.PI/4)*h,u.moveTo(M-T,p-D),u.lineTo(M+T,p+D),u.moveTo(M-T,p+D),u.lineTo(M+T,p-D),u.closePath();break;case"star":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),T=Math.cos(Math.PI/4)*h,D=Math.sin(Math.PI/4)*h,u.moveTo(M-T,p-D),u.lineTo(M+T,p+D),u.moveTo(M-T,p+D),u.lineTo(M+T,p-D),u.closePath();break;case"line":u.beginPath(),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(M,p),u.lineTo(M+h,p),u.closePath()}u.stroke()}}else u.drawImage(f,M-f.width/2,p-f.height/2,f.width,f.height)},clipArea:function(u,f){u.save(),u.beginPath(),u.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),u.clip()},unclipArea:function(u){u.restore()},lineTo:function(u,f,h,M){if(h.steppedLine)return"after"===h.steppedLine&&!M||"after"!==h.steppedLine&&M?u.lineTo(f.x,h.y):u.lineTo(h.x,f.y),void u.lineTo(h.x,h.y);h.tension?u.bezierCurveTo(M?f.controlPointPreviousX:f.controlPointNextX,M?f.controlPointPreviousY:f.controlPointNextY,M?h.controlPointNextX:h.controlPointPreviousX,M?h.controlPointNextY:h.controlPointPreviousY,h.x,h.y):u.lineTo(h.x,h.y)}};O.clear=v.clear,O.drawRoundedRectangle=function(u){u.beginPath(),v.roundedRect.apply(v,arguments),u.closePath()}},4396:de=>{"use strict";var Y,ge={noop:function(){},uid:(Y=0,function(){return Y++}),isNullOrUndef:function(Y){return null===Y||typeof Y>"u"},isArray:Array.isArray?Array.isArray:function(Y){return"[object Array]"===Object.prototype.toString.call(Y)},isObject:function(Y){return null!==Y&&"[object Object]"===Object.prototype.toString.call(Y)},valueOrDefault:function(Y,O){return typeof Y>"u"?O:Y},valueAtIndexOrDefault:function(Y,O,v){return ge.valueOrDefault(ge.isArray(Y)?Y[O]:Y,v)},callback:function(Y,O,v){if(Y&&"function"==typeof Y.call)return Y.apply(v,O)},each:function(Y,O,v,u){var f,h,M;if(ge.isArray(Y))if(h=Y.length,u)for(f=h-1;f>=0;f--)O.call(v,Y[f],f);else for(f=0;f{"use strict";var O=Y(4396),v={linear:function(u){return u},easeInQuad:function(u){return u*u},easeOutQuad:function(u){return-u*(u-2)},easeInOutQuad:function(u){return(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1)},easeInCubic:function(u){return u*u*u},easeOutCubic:function(u){return(u-=1)*u*u+1},easeInOutCubic:function(u){return(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2)},easeInQuart:function(u){return u*u*u*u},easeOutQuart:function(u){return-((u-=1)*u*u*u-1)},easeInOutQuart:function(u){return(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2)},easeInQuint:function(u){return u*u*u*u*u},easeOutQuint:function(u){return(u-=1)*u*u*u*u+1},easeInOutQuint:function(u){return(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2)},easeInSine:function(u){return 1-Math.cos(u*(Math.PI/2))},easeOutSine:function(u){return Math.sin(u*(Math.PI/2))},easeInOutSine:function(u){return-.5*(Math.cos(Math.PI*u)-1)},easeInExpo:function(u){return 0===u?0:Math.pow(2,10*(u-1))},easeOutExpo:function(u){return 1===u?1:1-Math.pow(2,-10*u)},easeInOutExpo:function(u){return 0===u?0:1===u?1:(u/=.5)<1?.5*Math.pow(2,10*(u-1)):.5*(2-Math.pow(2,-10*--u))},easeInCirc:function(u){return u>=1?u:-(Math.sqrt(1-u*u)-1)},easeOutCirc:function(u){return Math.sqrt(1-(u-=1)*u)},easeInOutCirc:function(u){return(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1)},easeInElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),-M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h))},easeOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),M*Math.pow(2,-10*u)*Math.sin((u-f)*(2*Math.PI)/h)+1)},easeInOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:2==(u/=.5)?1:(h||(h=.45),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),u<1?M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*-.5:M*Math.pow(2,-10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*.5+1)},easeInBack:function(u){var f=1.70158;return u*u*((f+1)*u-f)},easeOutBack:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},easeInOutBack:function(u){var f=1.70158;return(u/=.5)<1?u*u*((1+(f*=1.525))*u-f)*.5:.5*((u-=2)*u*((1+(f*=1.525))*u+f)+2)},easeInBounce:function(u){return 1-v.easeOutBounce(1-u)},easeOutBounce:function(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375},easeInOutBounce:function(u){return u<.5?.5*v.easeInBounce(2*u):.5*v.easeOutBounce(2*u-1)+.5}};de.exports={effects:v},O.easingEffects=v},5347:(de,ge,Y)=>{"use strict";var O=Y(4396);de.exports={toLineHeight:function(v,u){var f=(""+v).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*u;switch(v=+f[2],f[3]){case"px":return v;case"%":v/=100}return u*v},toPadding:function(v){var u,f,h,M;return O.isObject(v)?(u=+v.top||0,f=+v.right||0,h=+v.bottom||0,M=+v.left||0):u=f=h=M=+v||0,{top:u,right:f,bottom:h,left:M,height:u+h,width:M+f}},resolve:function(v,u,f){var h,M,p;for(h=0,M=v.length;h{"use strict";de.exports=Y(4396),de.exports.easing=Y(4317),de.exports.canvas=Y(2397),de.exports.options=Y(5347)},1607:de=>{de.exports={acquireContext:function(ge){return ge&&ge.canvas&&(ge=ge.canvas),ge&&ge.getContext("2d")||null}}},8005:(de,ge,Y)=>{"use strict";var O=Y(3305),v="$chartjs",u="chartjs-",f=u+"render-monitor",h=u+"render-animation",M=["animationstart","webkitAnimationStart"],p={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function y(q,Q){var ee=O.getStyle(q,Q),ae=ee&&ee.match(/^(\d+)(\.\d+)?px$/);return ae?Number(ae[1]):void 0}var D=!!function(){var q=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("e",null,Q)}catch{}return q}()&&{passive:!0};function S(q,Q,ee){q.addEventListener(Q,ee,D)}function L(q,Q,ee){q.removeEventListener(Q,ee,D)}function A(q,Q,ee,ae,le){return{type:q,chart:Q,native:le||null,x:void 0!==ee?ee:null,y:void 0!==ae?ae:null}}de.exports={_enabled:typeof window<"u"&&typeof document<"u",initialize:function(){var q="from{opacity:0.99}to{opacity:1}";!function he(q,Q){var ee=q._style||document.createElement("style");q._style||(q._style=ee,Q="/* Chart.js */\n"+Q,ee.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(ee)),ee.appendChild(document.createTextNode(Q))}(this,"@-webkit-keyframes "+h+"{"+q+"}@keyframes "+h+"{"+q+"}."+f+"{-webkit-animation:"+h+" 0.001s;animation:"+h+" 0.001s;}")},acquireContext:function(q,Q){"string"==typeof q?q=document.getElementById(q):q.length&&(q=q[0]),q&&q.canvas&&(q=q.canvas);var ee=q&&q.getContext&&q.getContext("2d");return ee&&ee.canvas===q?(function x(q,Q){var ee=q.style,ae=q.getAttribute("height"),le=q.getAttribute("width");if(q[v]={initial:{height:ae,width:le,style:{display:ee.display,height:ee.height,width:ee.width}}},ee.display=ee.display||"block",null===le||""===le){var J=y(q,"width");void 0!==J&&(q.width=J)}if(null===ae||""===ae)if(""===q.style.height)q.height=q.width/(Q.options.aspectRatio||2);else{var Te=y(q,"height");void 0!==J&&(q.height=Te)}}(q,Q),ee):null},releaseContext:function(q){var Q=q.canvas;if(Q[v]){var ee=Q[v].initial;["height","width"].forEach(function(ae){var le=ee[ae];O.isNullOrUndef(le)?Q.removeAttribute(ae):Q.setAttribute(ae,le)}),O.each(ee.style||{},function(ae,le){Q.style[le]=ae}),Q.width=Q.width,delete Q[v]}},addEventListener:function(q,Q,ee){var ae=q.canvas;if("resize"!==Q){var le=ee[v]||(ee[v]={}),Te=(le.proxies||(le.proxies={}))[q.id+"_"+Q]=function(Se){ee(function U(q,Q){var ee=p[q.type]||q.type,ae=O.getRelativePosition(q,Q);return A(ee,Q,ae.x,ae.y,q)}(Se,q))};S(ae,Q,Te)}else!function Z(q,Q,ee){var ae=q[v]||(q[v]={}),le=ae.resizer=function K(q){var Q=document.createElement("div"),ee=u+"size-monitor",ae=1e6,le="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";Q.style.cssText=le,Q.className=ee,Q.innerHTML='
';var J=Q.childNodes[0],Te=Q.childNodes[1];Q._reset=function(){J.scrollLeft=ae,J.scrollTop=ae,Te.scrollLeft=ae,Te.scrollTop=ae};var Se=function(){Q._reset(),q()};return S(J,"scroll",Se.bind(J,"expand")),S(Te,"scroll",Se.bind(Te,"shrink")),Q}(function B(q,Q){var ee=!1,ae=[];return function(){ae=Array.prototype.slice.call(arguments),Q=Q||this,ee||(ee=!0,O.requestAnimFrame.call(window,function(){ee=!1,q.apply(Q,ae)}))}}(function(){if(ae.resizer)return Q(A("resize",ee))}));!function oe(q,Q){var ee=q[v]||(q[v]={}),ae=ee.renderProxy=function(le){le.animationName===h&&Q()};O.each(M,function(le){S(q,le,ae)}),ee.reflow=!!q.offsetParent,q.classList.add(f)}(q,function(){if(ae.resizer){var J=q.parentNode;J&&J!==le.parentNode&&J.insertBefore(le,J.firstChild),le._reset()}})}(ae,ee,q)},removeEventListener:function(q,Q,ee){var ae=q.canvas;if("resize"!==Q){var Te=((ee[v]||{}).proxies||{})[q.id+"_"+Q];Te&&L(ae,Q,Te)}else!function X(q){var Q=q[v]||{},ee=Q.resizer;delete Q.resizer,function ye(q){var Q=q[v]||{},ee=Q.renderProxy;ee&&(O.each(M,function(ae){L(q,ae,ee)}),delete Q.renderProxy),q.classList.remove(f)}(q),ee&&ee.parentNode&&ee.parentNode.removeChild(ee)}(ae)}},O.addEvent=S,O.removeEvent=L},8244:(de,ge,Y)=>{"use strict";var O=Y(3305),v=Y(1607),u=Y(8005);de.exports=O.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},u._enabled?u:v)},6747:(de,ge,Y)=>{"use strict";de.exports={},de.exports.filler=Y(6579),de.exports.legend=Y(2230),de.exports.title=Y(7412)},6579:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(S){var L=S.fill,A=S.chart,U=A.getDatasetMeta(L),K=U&&A.isDatasetVisible(L)&&U.dataset._children||[],oe=K.length||0;return oe?function(ye,Z){return Z=A)&&K;switch(B){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return B;default:return!1}}function M(S){var K,L=S.el._model||{},A=S.el._scale||{},U=S.fill,B=null;if(isFinite(U))return null;if("start"===U?B=void 0===L.scaleBottom?A.bottom:L.scaleBottom:"end"===U?B=void 0===L.scaleTop?A.top:L.scaleTop:void 0!==L.scaleZero?B=L.scaleZero:A.getBasePosition?B=A.getBasePosition():A.getBasePixel&&(B=A.getBasePixel()),null!=B){if(void 0!==B.x&&void 0!==B.y)return B;if("number"==typeof B&&isFinite(B))return{x:(K=A.isHorizontal())?B:null,y:K?null:B}}return null}function p(S,L,A){var oe,B=S[L].fill,K=[L];if(!A)return B;for(;!1!==B&&-1===K.indexOf(B);){if(!isFinite(B))return B;if(!(oe=S[B]))return!1;if(oe.visible)return B;K.push(B),B=oe.fill}return!1}function y(S){var L=S.fill,A="dataset";return!1===L?null:(isFinite(L)||(A="boundary"),f[A](S))}function x(S){return S&&!S.skip}function T(S,L,A,U,B){var K;if(U&&B){for(S.moveTo(L[0].x,L[0].y),K=1;K0;--K)u.canvas.lineTo(S,A[K],A[K-1],!0)}}de.exports={id:"filler",afterDatasetsUpdate:function(S,L){var K,oe,ye,Z,A=(S.data.datasets||[]).length,U=L.propagate,B=[];for(oe=0;oe{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(2294),h=u.noop;function M(x,T){return x.usePointStyle?T*Math.SQRT2:x.boxWidth}O._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(x,T){var D=T.datasetIndex,S=this.chart,L=S.getDatasetMeta(D);L.hidden=null===L.hidden?!S.data.datasets[D].hidden:null,S.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(x){var T=x.data;return u.isArray(T.datasets)?T.datasets.map(function(D,S){return{text:D.label,fillStyle:u.isArray(D.backgroundColor)?D.backgroundColor[0]:D.backgroundColor,hidden:!x.isDatasetVisible(S),lineCap:D.borderCapStyle,lineDash:D.borderDash,lineDashOffset:D.borderDashOffset,lineJoin:D.borderJoinStyle,lineWidth:D.borderWidth,strokeStyle:D.borderColor,pointStyle:D.pointStyle,datasetIndex:S}},this):[]}}},legendCallback:function(x){var T=[];T.push('
    ');for(var D=0;D'),x.data.datasets[D].label&&T.push(x.data.datasets[D].label),T.push("");return T.push("
"),T.join("")}});var p=v.extend({initialize:function(x){u.extend(this,x),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(x,T,D){var S=this;return S.beforeUpdate(),S.maxWidth=x,S.maxHeight=T,S.margins=D,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var x=this;x.isHorizontal()?(x.width=x.maxWidth,x.left=0,x.right=x.width):(x.height=x.maxHeight,x.top=0,x.bottom=x.height),x.paddingLeft=0,x.paddingTop=0,x.paddingRight=0,x.paddingBottom=0,x.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var x=this,T=x.options.labels||{},D=u.callback(T.generateLabels,[x.chart],x)||[];T.filter&&(D=D.filter(function(S){return T.filter(S,x.chart.data)})),x.options.reverse&&D.reverse(),x.legendItems=D},afterBuildLabels:h,beforeFit:h,fit:function(){var x=this,T=x.options,D=T.labels,S=T.display,L=x.ctx,A=O.global,U=u.valueOrDefault,B=U(D.fontSize,A.defaultFontSize),K=U(D.fontStyle,A.defaultFontStyle),oe=U(D.fontFamily,A.defaultFontFamily),ye=u.fontString(B,K,oe),Z=x.legendHitBoxes=[],X=x.minSize,he=x.isHorizontal();if(he?(X.width=x.maxWidth,X.height=S?10:0):(X.width=S?10:0,X.height=x.maxHeight),S)if(L.font=ye,he){var q=x.lineWidths=[0],Q=x.legendItems.length?B+D.padding:0;L.textAlign="left",L.textBaseline="top",u.each(x.legendItems,function(ke,Be){var st=M(D,B)+B/2+L.measureText(ke.text).width;q[q.length-1]+st+D.padding>=x.width&&(Q+=B+D.padding,q[q.length]=x.left),Z[Be]={left:0,top:0,width:st,height:B},q[q.length-1]+=st+D.padding}),X.height+=Q}else{var ee=D.padding,ae=x.columnWidths=[],le=D.padding,J=0,Te=0,Se=B+ee;u.each(x.legendItems,function(ke,Be){var st=M(D,B)+B/2+L.measureText(ke.text).width;Te+Se>X.height&&(le+=J+D.padding,ae.push(J),J=0,Te=0),J=Math.max(J,st),Te+=Se,Z[Be]={left:0,top:0,width:st,height:B}}),le+=J,ae.push(J),X.width+=le}x.width=X.width,x.height=X.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var x=this,T=x.options,D=T.labels,S=O.global,L=S.elements.line,A=x.width,U=x.lineWidths;if(T.display){var q,B=x.ctx,K=u.valueOrDefault,oe=K(D.fontColor,S.defaultFontColor),ye=K(D.fontSize,S.defaultFontSize),Z=K(D.fontStyle,S.defaultFontStyle),X=K(D.fontFamily,S.defaultFontFamily),he=u.fontString(ye,Z,X);B.textAlign="left",B.textBaseline="middle",B.lineWidth=.5,B.strokeStyle=oe,B.fillStyle=oe,B.font=he;var Q=M(D,ye),ee=x.legendHitBoxes,J=x.isHorizontal();q=J?{x:x.left+(A-U[0])/2,y:x.top+D.padding,line:0}:{x:x.left+D.padding,y:x.top+D.padding,line:0};var Te=ye+D.padding;u.each(x.legendItems,function(Se,ke){var Be=B.measureText(Se.text).width,tt=Q+ye/2+Be,st=q.x,at=q.y;J?st+tt>=A&&(at=q.y+=Te,q.line++,st=q.x=x.left+(A-U[q.line])/2):at+Te>x.bottom&&(st=q.x=st+x.columnWidths[q.line]+D.padding,at=q.y=x.top+D.padding,q.line++),function(Se,ke,Be){if(!(isNaN(Q)||Q<=0)){B.save(),B.fillStyle=K(Be.fillStyle,S.defaultColor),B.lineCap=K(Be.lineCap,L.borderCapStyle),B.lineDashOffset=K(Be.lineDashOffset,L.borderDashOffset),B.lineJoin=K(Be.lineJoin,L.borderJoinStyle),B.lineWidth=K(Be.lineWidth,L.borderWidth),B.strokeStyle=K(Be.strokeStyle,S.defaultColor);var tt=0===K(Be.lineWidth,L.borderWidth);if(B.setLineDash&&B.setLineDash(K(Be.lineDash,L.borderDash)),T.labels&&T.labels.usePointStyle){var st=ye*Math.SQRT2/2,at=st/Math.SQRT2;u.canvas.drawPoint(B,Be.pointStyle,st,Se+at,ke+at)}else tt||B.strokeRect(Se,ke,Q,ye),B.fillRect(Se,ke,Q,ye);B.restore()}}(st,at,Se),ee[ke].left=st,ee[ke].top=at,function(Se,ke,Be,tt){var st=ye/2,at=Q+st+Se,zt=ke+st;B.fillText(Be.text,at,zt),Be.hidden&&(B.beginPath(),B.lineWidth=2,B.moveTo(at,zt),B.lineTo(at+tt,zt),B.stroke())}(st,at,Se,Be),J?q.x+=tt+D.padding:q.y+=Te})}},handleEvent:function(x){var T=this,D=T.options,S="mouseup"===x.type?"click":x.type,L=!1;if("mousemove"===S){if(!D.onHover)return}else{if("click"!==S)return;if(!D.onClick)return}var A=x.x,U=x.y;if(A>=T.left&&A<=T.right&&U>=T.top&&U<=T.bottom)for(var B=T.legendHitBoxes,K=0;K=oe.left&&A<=oe.left+oe.width&&U>=oe.top&&U<=oe.top+oe.height){if("click"===S){D.onClick.call(T,x.native,T.legendItems[K]),L=!0;break}if("mousemove"===S){D.onHover.call(T,x.native,T.legendItems[K]),L=!0;break}}}return L}});function y(x,T){var D=new p({ctx:x.ctx,options:T,chart:x});f.configure(x,D,T),f.addBox(x,D),x.legend=D}de.exports={id:"legend",_element:p,beforeInit:function(x){var T=x.options.legend;T&&y(x,T)},beforeUpdate:function(x){var T=x.options.legend,D=x.legend;T?(u.mergeIf(T,O.global.legend),D?(f.configure(x,D,T),D.options=T):y(x,T)):D&&(f.removeBox(x,D),delete x.legend)},afterEvent:function(x,T){var D=x.legend;D&&D.handleEvent(T)}}},7412:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(2294),h=u.noop;O._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var M=v.extend({initialize:function(y){u.extend(this,y),this.legendHitBoxes=[]},beforeUpdate:h,update:function(y,x,T){var D=this;return D.beforeUpdate(),D.maxWidth=y,D.maxHeight=x,D.margins=T,D.beforeSetDimensions(),D.setDimensions(),D.afterSetDimensions(),D.beforeBuildLabels(),D.buildLabels(),D.afterBuildLabels(),D.beforeFit(),D.fit(),D.afterFit(),D.afterUpdate(),D.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var y=this;y.isHorizontal()?(y.width=y.maxWidth,y.left=0,y.right=y.width):(y.height=y.maxHeight,y.top=0,y.bottom=y.height),y.paddingLeft=0,y.paddingTop=0,y.paddingRight=0,y.paddingBottom=0,y.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:h,afterBuildLabels:h,beforeFit:h,fit:function(){var y=this,T=y.options,D=T.display,S=(0,u.valueOrDefault)(T.fontSize,O.global.defaultFontSize),L=y.minSize,A=u.isArray(T.text)?T.text.length:1,U=u.options.toLineHeight(T.lineHeight,S),B=D?A*U+2*T.padding:0;y.isHorizontal()?(L.width=y.maxWidth,L.height=B):(L.width=B,L.height=y.maxHeight),y.width=L.width,y.height=L.height},afterFit:h,isHorizontal:function(){var y=this.options.position;return"top"===y||"bottom"===y},draw:function(){var y=this,x=y.ctx,T=u.valueOrDefault,D=y.options,S=O.global;if(D.display){var Q,ee,ae,L=T(D.fontSize,S.defaultFontSize),A=T(D.fontStyle,S.defaultFontStyle),U=T(D.fontFamily,S.defaultFontFamily),B=u.fontString(L,A,U),K=u.options.toLineHeight(D.lineHeight,L),oe=K/2+D.padding,ye=0,Z=y.top,X=y.left,he=y.bottom,q=y.right;x.fillStyle=T(D.fontColor,S.defaultFontColor),x.font=B,y.isHorizontal()?(ee=X+(q-X)/2,ae=Z+oe,Q=q-X):(ee="left"===D.position?X+oe:q-oe,ae=Z+(he-Z)/2,Q=he-Z,ye=Math.PI*("left"===D.position?-.5:.5)),x.save(),x.translate(ee,ae),x.rotate(ye),x.textAlign="center",x.textBaseline="middle";var le=D.text;if(u.isArray(le))for(var J=0,Te=0;Te{"use strict";de.exports=function(ge){var O=ge.Scale.extend({getLabels:function(){var v=this.chart.data;return this.options.labels||(this.isHorizontal()?v.xLabels:v.yLabels)||v.labels},determineDataLimits:function(){var f,v=this,u=v.getLabels();v.minIndex=0,v.maxIndex=u.length-1,void 0!==v.options.ticks.min&&(f=u.indexOf(v.options.ticks.min),v.minIndex=-1!==f?f:v.minIndex),void 0!==v.options.ticks.max&&(f=u.indexOf(v.options.ticks.max),v.maxIndex=-1!==f?f:v.maxIndex),v.min=u[v.minIndex],v.max=u[v.maxIndex]},buildTicks:function(){var v=this,u=v.getLabels();v.ticks=0===v.minIndex&&v.maxIndex===u.length-1?u:u.slice(v.minIndex,v.maxIndex+1)},getLabelForIndex:function(v,u){var f=this,h=f.chart.data,M=f.isHorizontal();return h.yLabels&&!M?f.getRightValue(h.datasets[u].data[v]):f.ticks[v-f.minIndex]},getPixelForValue:function(v,u){var p,f=this,h=f.options.offset,M=Math.max(f.maxIndex+1-f.minIndex-(h?0:1),1);if(null!=v&&(p=f.isHorizontal()?v.x:v.y),void 0!==p||void 0!==v&&isNaN(u)){var x=f.getLabels().indexOf(v=p||v);u=-1!==x?x:u}if(f.isHorizontal()){var T=f.width/M,D=T*(u-f.minIndex);return h&&(D+=T/2),f.left+Math.round(D)}var S=f.height/M,L=S*(u-f.minIndex);return h&&(L+=S/2),f.top+Math.round(L)},getPixelForTick:function(v){return this.getPixelForValue(this.ticks[v],v+this.minIndex,null)},getValueForPixel:function(v){var u=this,f=u.options.offset,M=Math.max(u._ticks.length-(f?0:1),1),p=u.isHorizontal(),y=(p?u.width:u.height)/M;return v-=p?u.left:u.top,f&&(v-=y/2),(v<=0?0:Math.round(v/y))+u.minIndex},getBasePixel:function(){return this.bottom}});ge.scaleService.registerScaleType("category",O,{position:"bottom"})}},1704:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(3305),u=Y(8347);de.exports=function(f){var h={position:"left",ticks:{callback:u.formatters.linear}},M=f.LinearScaleBase.extend({determineDataLimits:function(){var p=this,y=p.options,x=p.chart,D=x.data.datasets,S=p.isHorizontal();function U(oe){return S?oe.xAxisID===p.id:oe.yAxisID===p.id}p.min=null,p.max=null;var B=y.stacked;if(void 0===B&&v.each(D,function(oe,ye){if(!B){var Z=x.getDatasetMeta(ye);x.isDatasetVisible(ye)&&U(Z)&&void 0!==Z.stack&&(B=!0)}}),y.stacked||B){var K={};v.each(D,function(oe,ye){var Z=x.getDatasetMeta(ye),X=[Z.type,void 0===y.stacked&&void 0===Z.stack?ye:"",Z.stack].join(".");void 0===K[X]&&(K[X]={positiveValues:[],negativeValues:[]});var he=K[X].positiveValues,q=K[X].negativeValues;x.isDatasetVisible(ye)&&U(Z)&&v.each(oe.data,function(Q,ee){var ae=+p.getRightValue(Q);isNaN(ae)||Z.data[ee].hidden||(he[ee]=he[ee]||0,q[ee]=q[ee]||0,y.relativePoints?he[ee]=100:ae<0?q[ee]+=ae:he[ee]+=ae)})}),v.each(K,function(oe){var ye=oe.positiveValues.concat(oe.negativeValues),Z=v.min(ye),X=v.max(ye);p.min=null===p.min?Z:Math.min(p.min,Z),p.max=null===p.max?X:Math.max(p.max,X)})}else v.each(D,function(oe,ye){var Z=x.getDatasetMeta(ye);x.isDatasetVisible(ye)&&U(Z)&&v.each(oe.data,function(X,he){var q=+p.getRightValue(X);isNaN(q)||Z.data[he].hidden||((null===p.min||qp.max)&&(p.max=q))})});p.min=isFinite(p.min)&&!isNaN(p.min)?p.min:0,p.max=isFinite(p.max)&&!isNaN(p.max)?p.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var p,y=this,x=y.options.ticks;if(y.isHorizontal())p=Math.min(x.maxTicksLimit?x.maxTicksLimit:11,Math.ceil(y.width/50));else{var T=v.valueOrDefault(x.fontSize,O.global.defaultFontSize);p=Math.min(x.maxTicksLimit?x.maxTicksLimit:11,Math.ceil(y.height/(2*T)))}return p},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,y){return+this.getRightValue(this.chart.data.datasets[y].data[p])},getPixelForValue:function(p){var y=this,x=y.start,T=+y.getRightValue(p),S=y.end-x;return y.isHorizontal()?y.left+y.width/S*(T-x):y.bottom-y.height/S*(T-x)},getValueForPixel:function(p){var y=this,x=y.isHorizontal();return y.start+(x?p-y.left:y.bottom-p)/(x?y.width:y.height)*(y.end-y.start)},getPixelForTick:function(p){return this.getPixelForValue(this.ticksAsNumbers[p])}});f.scaleService.registerScaleType("linear",M,h)}},8351:(de,ge,Y)=>{"use strict";var O=Y(3305);de.exports=function(u){var f=O.noop;u.LinearScaleBase=u.Scale.extend({getRightValue:function(h){return"string"==typeof h?+h:u.Scale.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,p=h.options.ticks;if(p.beginAtZero){var y=O.sign(h.min),x=O.sign(h.max);y<0&&x<0?h.max=0:y>0&&x>0&&(h.min=0)}var T=void 0!==p.min||void 0!==p.suggestedMin,D=void 0!==p.max||void 0!==p.suggestedMax;void 0!==p.min?h.min=p.min:void 0!==p.suggestedMin&&(h.min=null===h.min?p.suggestedMin:Math.min(h.min,p.suggestedMin)),void 0!==p.max?h.max=p.max:void 0!==p.suggestedMax&&(h.max=null===h.max?p.suggestedMax:Math.max(h.max,p.suggestedMax)),T!==D&&h.min>=h.max&&(T?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,p.beginAtZero||h.min--)},getTickLimit:f,handleDirectionalChanges:f,buildTicks:function(){var h=this,p=h.options.ticks,y=h.getTickLimit(),x={maxTicks:y=Math.max(2,y),min:p.min,max:p.max,stepSize:O.valueOrDefault(p.fixedStepSize,p.stepSize)},T=h.ticks=function v(u,f){var M,h=[];if(u.stepSize&&u.stepSize>0)M=u.stepSize;else{var p=O.niceNum(f.max-f.min,!1);M=O.niceNum(p/(u.maxTicks-1),!0)}var y=Math.floor(f.min/M)*M,x=Math.ceil(f.max/M)*M;u.min&&u.max&&u.stepSize&&O.almostWhole((u.max-u.min)/u.stepSize,M/1e3)&&(y=u.min,x=u.max);var T=(x-y)/M;T=O.almostEquals(T,Math.round(T),M/1e3)?Math.round(T):Math.ceil(T);var D=1;M<1&&(D=Math.pow(10,M.toString().length-2),y=Math.round(y*D)/D,x=Math.round(x*D)/D),h.push(void 0!==u.min?u.min:y);for(var S=1;S{"use strict";var O=Y(3305),v=Y(8347);de.exports=function(f){var h={position:"left",ticks:{callback:v.formatters.logarithmic}},M=f.Scale.extend({determineDataLimits:function(){var p=this,y=p.options,x=p.chart,D=x.data.datasets,S=p.isHorizontal();function L(B){return S?B.xAxisID===p.id:B.yAxisID===p.id}p.min=null,p.max=null,p.minNotZero=null;var A=y.stacked;if(void 0===A&&O.each(D,function(B,K){if(!A){var oe=x.getDatasetMeta(K);x.isDatasetVisible(K)&&L(oe)&&void 0!==oe.stack&&(A=!0)}}),y.stacked||A){var U={};O.each(D,function(B,K){var oe=x.getDatasetMeta(K),ye=[oe.type,void 0===y.stacked&&void 0===oe.stack?K:"",oe.stack].join(".");x.isDatasetVisible(K)&&L(oe)&&(void 0===U[ye]&&(U[ye]=[]),O.each(B.data,function(Z,X){var he=U[ye],q=+p.getRightValue(Z);isNaN(q)||oe.data[X].hidden||q<0||(he[X]=he[X]||0,he[X]+=q)}))}),O.each(U,function(B){if(B.length>0){var K=O.min(B),oe=O.max(B);p.min=null===p.min?K:Math.min(p.min,K),p.max=null===p.max?oe:Math.max(p.max,oe)}})}else O.each(D,function(B,K){var oe=x.getDatasetMeta(K);x.isDatasetVisible(K)&&L(oe)&&O.each(B.data,function(ye,Z){var X=+p.getRightValue(ye);isNaN(X)||oe.data[Z].hidden||X<0||((null===p.min||Xp.max)&&(p.max=X),0!==X&&(null===p.minNotZero||X0?p.min:p.max<1?Math.pow(10,Math.floor(O.log10(p.max))):1)},buildTicks:function(){var p=this,x=p.options.ticks,T=!p.isHorizontal(),S=p.ticks=function u(f,h){var D,S,M=[],p=O.valueOrDefault,y=p(f.min,Math.pow(10,Math.floor(O.log10(h.min)))),x=Math.floor(O.log10(h.max)),T=Math.ceil(h.max/Math.pow(10,x));0===y?(D=Math.floor(O.log10(h.minNotZero)),S=Math.floor(h.minNotZero/Math.pow(10,D)),M.push(y),y=S*Math.pow(10,D)):(D=Math.floor(O.log10(y)),S=Math.floor(y/Math.pow(10,D)));var L=D<0?Math.pow(10,Math.abs(D)):1;do{M.push(y),10==++S&&(S=1,L=++D>=0?1:L),y=Math.round(S*Math.pow(10,D)*L)/L}while(D{"use strict";var O=Y(9800),v=Y(3305),u=Y(8347);de.exports=function(f){var h=O.global,M={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:u.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(Z){return Z}}};function p(Z){var X=Z.options;return X.angleLines.display||X.pointLabels.display?Z.chart.data.labels.length:0}function y(Z){var X=Z.options.pointLabels,he=v.valueOrDefault(X.fontSize,h.defaultFontSize),q=v.valueOrDefault(X.fontStyle,h.defaultFontStyle),Q=v.valueOrDefault(X.fontFamily,h.defaultFontFamily);return{size:he,style:q,family:Q,font:v.fontString(he,q,Q)}}function x(Z,X,he){return v.isArray(he)?{w:v.longestText(Z,Z.font,he),h:he.length*X+1.5*(he.length-1)*X}:{w:Z.measureText(he).width,h:X}}function T(Z,X,he,q,Q){return Z===q||Z===Q?{start:X-he/2,end:X+he/2}:ZQ?{start:X-he-5,end:X}:{start:X,end:X+he+5}}function L(Z){return 0===Z||180===Z?"center":Z<180?"left":"right"}function A(Z,X,he,q){if(v.isArray(X))for(var Q=he.y,ee=1.5*q,ae=0;ae270||Z<90)&&(he.y-=X.h)}function oe(Z){return v.isNumber(Z)?Z:0}var ye=f.LinearScaleBase.extend({setDimensions:function(){var Z=this,X=Z.options,he=X.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var q=v.min([Z.height,Z.width]),Q=v.valueOrDefault(he.fontSize,h.defaultFontSize);Z.drawingArea=X.display?q/2-(Q/2+he.backdropPaddingY):q/2},determineDataLimits:function(){var Z=this,X=Z.chart,he=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;v.each(X.data.datasets,function(Q,ee){if(X.isDatasetVisible(ee)){var ae=X.getDatasetMeta(ee);v.each(Q.data,function(le,J){var Te=+Z.getRightValue(le);isNaN(Te)||ae.data[J].hidden||(he=Math.min(Te,he),q=Math.max(Te,q))})}}),Z.min=he===Number.POSITIVE_INFINITY?0:he,Z.max=q===Number.NEGATIVE_INFINITY?0:q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,X=v.valueOrDefault(Z.fontSize,h.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*X)))},convertTicksToLabels:function(){var Z=this;f.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,X){return+this.getRightValue(this.chart.data.datasets[X].data[Z])},fit:function(){this.options.pointLabels.display?function D(Z){var ee,ae,le,X=y(Z),he=Math.min(Z.height/2,Z.width/2),q={r:Z.width,l:0,t:Z.height,b:0},Q={};Z.ctx.font=X.font,Z._pointLabelSizes=[];var J=p(Z);for(ee=0;eeq.r&&(q.r=ke.end,Q.r=Te),Be.startq.b&&(q.b=Be.end,Q.b=Te)}Z.setReductions(he,q,Q)}(this):function S(Z){var X=Math.min(Z.height/2,Z.width/2);Z.drawingArea=Math.round(X),Z.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,X,he){var q=this,Q=X.l/Math.sin(he.l),ee=Math.max(X.r-q.width,0)/Math.sin(he.r),ae=-X.t/Math.cos(he.t),le=-Math.max(X.b-q.height,0)/Math.cos(he.b);Q=oe(Q),ee=oe(ee),ae=oe(ae),le=oe(le),q.drawingArea=Math.min(Math.round(Z-(Q+ee)/2),Math.round(Z-(ae+le)/2)),q.setCenterPoint(Q,ee,ae,le)},setCenterPoint:function(Z,X,he,q){var Q=this,le=he+Q.drawingArea,J=Q.height-q-Q.drawingArea;Q.xCenter=Math.round((Z+Q.drawingArea+(Q.width-X-Q.drawingArea))/2+Q.left),Q.yCenter=Math.round((le+J)/2+Q.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/p(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var X=this;if(null===Z)return 0;var he=X.drawingArea/(X.max-X.min);return X.options.ticks.reverse?(X.max-Z)*he:(Z-X.min)*he},getPointPosition:function(Z,X){var q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(q)*X)+this.xCenter,y:Math.round(Math.sin(q)*X)+this.yCenter}},getPointPositionForValue:function(Z,X){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(X))},getBasePosition:function(){var Z=this,X=Z.min,he=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:X<0&&he<0?he:X>0&&he>0?X:0)},draw:function(){var Z=this,X=Z.options,he=X.gridLines,q=X.ticks,Q=v.valueOrDefault;if(X.display){var ee=Z.ctx,ae=this.getIndexAngle(0),le=Q(q.fontSize,h.defaultFontSize),J=Q(q.fontStyle,h.defaultFontStyle),Te=Q(q.fontFamily,h.defaultFontFamily),Se=v.fontString(le,J,Te);v.each(Z.ticks,function(ke,Be){if(Be>0||q.reverse){var tt=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Be]);if(he.display&&0!==Be&&function K(Z,X,he,q){var Q=Z.ctx;if(Q.strokeStyle=v.valueAtIndexOrDefault(X.color,q-1),Q.lineWidth=v.valueAtIndexOrDefault(X.lineWidth,q-1),Z.options.gridLines.circular)Q.beginPath(),Q.arc(Z.xCenter,Z.yCenter,he,0,2*Math.PI),Q.closePath(),Q.stroke();else{var ee=p(Z);if(0===ee)return;Q.beginPath();var ae=Z.getPointPosition(0,he);Q.moveTo(ae.x,ae.y);for(var le=1;le=0;le--){if(q.display){var J=Z.getPointPosition(le,ee);X.beginPath(),X.moveTo(Z.xCenter,Z.yCenter),X.lineTo(J.x,J.y),X.stroke(),X.closePath()}if(Q.display){var Te=Z.getPointPosition(le,ee+5),Se=v.valueAtIndexOrDefault(Q.fontColor,le,h.defaultFontColor);X.font=ae.font,X.fillStyle=Se;var ke=Z.getIndexAngle(le),Be=v.toDegrees(ke);X.textAlign=L(Be),U(Be,Z._pointLabelSizes[le],Te),A(X,Z.pointLabels[le]||"",Te,ae.size)}}}(Z)}}});f.scaleService.registerScaleType("radialLinear",ye,M)}},4215:(de,ge,Y)=>{"use strict";var O=Y(5439);O="function"==typeof O?O:window.moment;var v=Y(9800),u=Y(3305),f=Number.MIN_SAFE_INTEGER||-9007199254740991,h=Number.MAX_SAFE_INTEGER||9007199254740991,M={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}},p=Object.keys(M);function y(q,Q){return q-Q}function x(q){var ae,le,J,Q={},ee=[];for(ae=0,le=q.length;ae=0&&ae<=le;){if(Se=q[J=ae+le>>1],!(Te=q[J-1]||null))return{lo:null,hi:Se};if(Se[Q]ee))return{lo:Te,hi:Se};le=J-1}}return{lo:Se,hi:null}}(q,Q,ee),J=le.lo?le.hi?le.lo:q[q.length-2]:q[0],Te=le.lo?le.hi?le.hi:q[q.length-1]:q[1],Se=Te[Q]-J[Q];return J[ae]+(Te[ae]-J[ae])*(Se?(ee-J[Q])/Se:0)}function L(q,Q){var ee=Q.parser,ae=Q.parser||Q.format;return"function"==typeof ee?ee(q):"string"==typeof q&&"string"==typeof ae?O(q,ae):(q instanceof O||(q=O(q)),q.isValid()?q:"function"==typeof ae?ae(q):q)}function A(q,Q){if(u.isNullOrUndef(q))return null;var ee=Q.options.time,ae=L(Q.getRightValue(q),ee);return ae.isValid()?(ee.round&&ae.startOf(ee.round),ae.valueOf()):null}function oe(q){for(var Q=p.indexOf(q)+1,ee=p.length;Q=le&&at<=J&&Be.push(at);return ae.min=le,ae.max=J,ae._unit=Se.unit||function K(q,Q,ee,ae){var Te,Se,le=O.duration(O(ae).diff(O(ee)));for(Te=p.length-1;Te>=p.indexOf(Q);Te--)if(M[Se=p[Te]].common&&le.as(Se)>=q.length)return Se;return p[Q?p.indexOf(Q):0]}(Be,Se.minUnit,ae.min,ae.max),ae._majorUnit=oe(ae._unit),ae._table=function T(q,Q,ee,ae){if("linear"===ae||!q.length)return[{time:Q,pos:0},{time:ee,pos:1}];var Te,Se,ke,Be,tt,le=[],J=[Q];for(Te=0,Se=q.length;TeQ&&Be1?Q[1]:ae,"pos")-S(q,"time",ke,"pos"))/2),le.time.max||(ke=Q.length>1?Q[Q.length-2]:ee,Te=(S(q,"time",Q[Q.length-1],"pos")-S(q,"time",ke,"pos"))/2)),{left:J,right:Te}}(ae._table,Be,le,J,Te),ae._labelFormat=function he(q,Q){var ee,ae,le,J=q.length;for(ee=0;ee=0&&ae0?Be:1}});q.scaleService.registerScaleType("time",ee,{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}}})}},3207:(de,ge,Y)=>{var O=Y(9914);function v(X){if(X){var le=[0,0,0],J=1,Te=X.match(/^#([a-fA-F0-9]{3})$/i);if(Te){Te=Te[1];for(var Se=0;Se{var O=Y(7227),v=Y(3207),u=function(f){return f instanceof u?f:this instanceof u?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof f?(h=v.getRgba(f))?this.setValues("rgb",h):(h=v.getHsla(f))?this.setValues("hsl",h):(h=v.getHwb(f))&&this.setValues("hwb",h):"object"==typeof f&&(void 0!==(h=f).r||void 0!==h.red?this.setValues("rgb",h):void 0!==h.l||void 0!==h.lightness?this.setValues("hsl",h):void 0!==h.v||void 0!==h.value?this.setValues("hsv",h):void 0!==h.w||void 0!==h.whiteness?this.setValues("hwb",h):(void 0!==h.c||void 0!==h.cyan)&&this.setValues("cmyk",h)))):new u(f);var h};u.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var f=this.values;return 1!==f.alpha?f.hwb.concat([f.alpha]):f.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var f=this.values;return f.rgb.concat([f.alpha])},hslaArray:function(){var f=this.values;return f.hsl.concat([f.alpha])},alpha:function(f){return void 0===f?this.values.alpha:(this.setValues("alpha",f),this)},red:function(f){return this.setChannel("rgb",0,f)},green:function(f){return this.setChannel("rgb",1,f)},blue:function(f){return this.setChannel("rgb",2,f)},hue:function(f){return f&&(f=(f%=360)<0?360+f:f),this.setChannel("hsl",0,f)},saturation:function(f){return this.setChannel("hsl",1,f)},lightness:function(f){return this.setChannel("hsl",2,f)},saturationv:function(f){return this.setChannel("hsv",1,f)},whiteness:function(f){return this.setChannel("hwb",1,f)},blackness:function(f){return this.setChannel("hwb",2,f)},value:function(f){return this.setChannel("hsv",2,f)},cyan:function(f){return this.setChannel("cmyk",0,f)},magenta:function(f){return this.setChannel("cmyk",1,f)},yellow:function(f){return this.setChannel("cmyk",2,f)},black:function(f){return this.setChannel("cmyk",3,f)},hexString:function(){return v.hexString(this.values.rgb)},rgbString:function(){return v.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return v.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return v.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return v.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return v.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return v.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return v.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var f=this.values.rgb;return f[0]<<16|f[1]<<8|f[2]},luminosity:function(){for(var f=this.values.rgb,h=[],M=0;MM?(h+.05)/(M+.05):(M+.05)/(h+.05)},level:function(f){var h=this.contrast(f);return h>=7.1?"AAA":h>=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=[],h=0;h<3;h++)f[h]=255-this.values.rgb[h];return this.setValues("rgb",f),this},lighten:function(f){var h=this.values.hsl;return h[2]+=h[2]*f,this.setValues("hsl",h),this},darken:function(f){var h=this.values.hsl;return h[2]-=h[2]*f,this.setValues("hsl",h),this},saturate:function(f){var h=this.values.hsl;return h[1]+=h[1]*f,this.setValues("hsl",h),this},desaturate:function(f){var h=this.values.hsl;return h[1]-=h[1]*f,this.setValues("hsl",h),this},whiten:function(f){var h=this.values.hwb;return h[1]+=h[1]*f,this.setValues("hwb",h),this},blacken:function(f){var h=this.values.hwb;return h[2]+=h[2]*f,this.setValues("hwb",h),this},greyscale:function(){var f=this.values.rgb,h=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[h,h,h]),this},clearer:function(f){var h=this.values.alpha;return this.setValues("alpha",h-h*f),this},opaquer:function(f){var h=this.values.alpha;return this.setValues("alpha",h+h*f),this},rotate:function(f){var h=this.values.hsl,M=(h[0]+f)%360;return h[0]=M<0?360+M:M,this.setValues("hsl",h),this},mix:function(f,h){var M=this,p=f,y=void 0===h?.5:h,x=2*y-1,T=M.alpha()-p.alpha(),D=((x*T==-1?x:(x+T)/(1+x*T))+1)/2,S=1-D;return this.rgb(D*M.red()+S*p.red(),D*M.green()+S*p.green(),D*M.blue()+S*p.blue()).alpha(M.alpha()*y+p.alpha()*(1-y))},toJSON:function(){return this.rgb()},clone:function(){var p,y,f=new u,h=this.values,M=f.values;for(var x in h)h.hasOwnProperty(x)&&("[object Array]"===(y={}.toString.call(p=h[x]))?M[x]=p.slice(0):"[object Number]"===y?M[x]=p:console.error("unexpected color value:",p));return f}},u.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},u.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},u.prototype.getValues=function(f){for(var h=this.values,M={},p=0;p{function ge(W){var me,De,se=W[0]/255,te=W[1]/255,pe=W[2]/255,fe=Math.min(se,te,pe),ue=Math.max(se,te,pe),be=ue-fe;return ue==fe?me=0:se==ue?me=(te-pe)/be:te==ue?me=2+(pe-se)/be:pe==ue&&(me=4+(se-te)/be),(me=Math.min(60*me,360))<0&&(me+=360),De=(fe+ue)/2,[me,100*(ue==fe?0:De<=.5?be/(ue+fe):be/(2-ue-fe)),100*De]}function Y(W){var me,Me,se=W[0],te=W[1],pe=W[2],fe=Math.min(se,te,pe),ue=Math.max(se,te,pe),be=ue-fe;return Me=0==ue?0:be/ue*1e3/10,ue==fe?me=0:se==ue?me=(te-pe)/be:te==ue?me=2+(pe-se)/be:pe==ue&&(me=4+(se-te)/be),(me=Math.min(60*me,360))<0&&(me+=360),[me,Me,ue/255*1e3/10]}function O(W){var se=W[0],te=W[1],ue=W[2];return[ge(W)[0],1/255*Math.min(se,Math.min(te,ue))*100,100*(ue=1-1/255*Math.max(se,Math.max(te,ue)))]}function v(W){var me,se=W[0]/255,te=W[1]/255,pe=W[2]/255;return[100*((1-se-(me=Math.min(1-se,1-te,1-pe)))/(1-me)||0),100*((1-te-me)/(1-me)||0),100*((1-pe-me)/(1-me)||0),100*me]}function u(W){return dr[JSON.stringify(W)]}function f(W){var se=W[0]/255,te=W[1]/255,pe=W[2]/255;return[100*(.4124*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.3576*(te=te>.04045?Math.pow((te+.055)/1.055,2.4):te/12.92)+.1805*(pe=pe>.04045?Math.pow((pe+.055)/1.055,2.4):pe/12.92)),100*(.2126*se+.7152*te+.0722*pe),100*(.0193*se+.1192*te+.9505*pe)]}function h(W){var se=f(W),te=se[0],pe=se[1],fe=se[2];return pe/=100,fe/=108.883,te=(te/=95.047)>.008856?Math.pow(te,1/3):7.787*te+16/116,[116*(pe=pe>.008856?Math.pow(pe,1/3):7.787*pe+16/116)-16,500*(te-pe),200*(pe-(fe=fe>.008856?Math.pow(fe,1/3):7.787*fe+16/116))]}function p(W){var fe,ue,be,me,Me,se=W[0]/360,te=W[1]/100,pe=W[2]/100;if(0==te)return[Me=255*pe,Me,Me];fe=2*pe-(ue=pe<.5?pe*(1+te):pe+te-pe*te),me=[0,0,0];for(var De=0;De<3;De++)(be=se+1/3*-(De-1))<0&&be++,be>1&&be--,me[De]=255*(Me=6*be<1?fe+6*(ue-fe)*be:2*be<1?ue:3*be<2?fe+(ue-fe)*(2/3-be)*6:fe);return me}function S(W){var se=W[0]/60,te=W[1]/100,Me=W[2]/100,pe=Math.floor(se)%6,fe=se-Math.floor(se),ue=255*Me*(1-te),be=255*Me*(1-te*fe),me=255*Me*(1-te*(1-fe));switch(Me*=255,pe){case 0:return[Me,me,ue];case 1:return[be,Me,ue];case 2:return[ue,Me,me];case 3:return[ue,be,Me];case 4:return[me,ue,Me];case 5:return[Me,ue,be]}}function K(W){var ue,be,me,Me,se=W[0]/360,te=W[1]/100,pe=W[2]/100,fe=te+pe;switch(fe>1&&(te/=fe,pe/=fe),me=6*se-(ue=Math.floor(6*se)),1&ue&&(me=1-me),Me=te+me*((be=1-pe)-te),ue){default:case 6:case 0:r=be,g=Me,b=te;break;case 1:r=Me,g=be,b=te;break;case 2:r=te,g=be,b=Me;break;case 3:r=te,g=Me,b=be;break;case 4:r=Me,g=te,b=be;break;case 5:r=be,g=te,b=Me}return[255*r,255*g,255*b]}function he(W){var te=W[1]/100,pe=W[2]/100,fe=W[3]/100;return[255*(1-Math.min(1,W[0]/100*(1-fe)+fe)),255*(1-Math.min(1,te*(1-fe)+fe)),255*(1-Math.min(1,pe*(1-fe)+fe))]}function le(W){var fe,ue,be,se=W[0]/100,te=W[1]/100,pe=W[2]/100;return ue=-.9689*se+1.8758*te+.0415*pe,be=.0557*se+-.204*te+1.057*pe,fe=(fe=3.2406*se+-1.5372*te+-.4986*pe)>.0031308?1.055*Math.pow(fe,1/2.4)-.055:fe*=12.92,ue=ue>.0031308?1.055*Math.pow(ue,1/2.4)-.055:ue*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(fe=Math.min(Math.max(0,fe),1)),255*(ue=Math.min(Math.max(0,ue),1)),255*(be=Math.min(Math.max(0,be),1))]}function J(W){var se=W[0],te=W[1],pe=W[2];return te/=100,pe/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(te=te>.008856?Math.pow(te,1/3):7.787*te+16/116)-16,500*(se-te),200*(te-(pe=pe>.008856?Math.pow(pe,1/3):7.787*pe+16/116))]}function Se(W){var fe,ue,be,me,se=W[0],te=W[1],pe=W[2];return se<=8?me=(ue=100*se/903.3)/100*7.787+16/116:(ue=100*Math.pow((se+16)/116,3),me=Math.pow(ue/100,1/3)),[fe=fe/95.047<=.008856?fe=95.047*(te/500+me-16/116)/7.787:95.047*Math.pow(te/500+me,3),ue,be=be/108.883<=.008859?be=108.883*(me-pe/200-16/116)/7.787:108.883*Math.pow(me-pe/200,3)]}function ke(W){var ue,se=W[0],te=W[1],pe=W[2];return(ue=360*Math.atan2(pe,te)/2/Math.PI)<0&&(ue+=360),[se,Math.sqrt(te*te+pe*pe),ue]}function Be(W){return le(Se(W))}function tt(W){var be,te=W[1];return be=W[2]/360*2*Math.PI,[W[0],te*Math.cos(be),te*Math.sin(be)]}function zt(W){return Yi[W]}de.exports={rgb2hsl:ge,rgb2hsv:Y,rgb2hwb:O,rgb2cmyk:v,rgb2keyword:u,rgb2xyz:f,rgb2lab:h,rgb2lch:function M(W){return ke(h(W))},hsl2rgb:p,hsl2hsv:function y(W){var te=W[1]/100,pe=W[2]/100;return 0===pe?[0,0,0]:[W[0],2*(te*=(pe*=2)<=1?pe:2-pe)/(pe+te)*100,(pe+te)/2*100]},hsl2hwb:function x(W){return O(p(W))},hsl2cmyk:function T(W){return v(p(W))},hsl2keyword:function D(W){return u(p(W))},hsv2rgb:S,hsv2hsl:function L(W){var fe,ue,te=W[1]/100,pe=W[2]/100;return fe=te*pe,[W[0],100*(fe=(fe/=(ue=(2-te)*pe)<=1?ue:2-ue)||0),100*(ue/=2)]},hsv2hwb:function A(W){return O(S(W))},hsv2cmyk:function U(W){return v(S(W))},hsv2keyword:function B(W){return u(S(W))},hwb2rgb:K,hwb2hsl:function oe(W){return ge(K(W))},hwb2hsv:function ye(W){return Y(K(W))},hwb2cmyk:function Z(W){return v(K(W))},hwb2keyword:function X(W){return u(K(W))},cmyk2rgb:he,cmyk2hsl:function q(W){return ge(he(W))},cmyk2hsv:function Q(W){return Y(he(W))},cmyk2hwb:function ee(W){return O(he(W))},cmyk2keyword:function ae(W){return u(he(W))},keyword2rgb:zt,keyword2hsl:function an(W){return ge(zt(W))},keyword2hsv:function Xn(W){return Y(zt(W))},keyword2hwb:function Fn(W){return O(zt(W))},keyword2cmyk:function zn(W){return v(zt(W))},keyword2lab:function Ge(W){return h(zt(W))},keyword2xyz:function Ni(W){return f(zt(W))},xyz2rgb:le,xyz2lab:J,xyz2lch:function Te(W){return ke(J(W))},lab2xyz:Se,lab2rgb:Be,lab2lch:ke,lch2lab:tt,lch2xyz:function st(W){return Se(tt(W))},lch2rgb:function at(W){return Be(tt(W))}};var Yi={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]},dr={};for(var Xe in Yi)dr[JSON.stringify(Yi[Xe])]=Xe},7227:(de,ge,Y)=>{var O=Y(4126),v=function(){return new p};for(var u in O){v[u+"Raw"]=function(y){return function(x){return"number"==typeof x&&(x=Array.prototype.slice.call(arguments)),O[y](x)}}(u);var f=/(\w+)2(\w+)/.exec(u),h=f[1],M=f[2];(v[h]=v[h]||{})[M]=v[u]=function(y){return function(x){"number"==typeof x&&(x=Array.prototype.slice.call(arguments));var T=O[y](x);if("string"==typeof T||void 0===T)return T;for(var D=0;D{"use strict";de.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]}},7088:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^nm$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"vm":"VM":h?"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(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},2502:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},128:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},4519:function(de,ge,Y){!function(O){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%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"]},h=function(y){return function(x,T,D,S){var L=u(x),A=f[y][u(x)];return 2===L&&(A=A[T?0:1]),A.replace(/%d/i,x)}},M=["\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"];O.defineLocale("ar-ly",{months:M,monthsShort:M,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(y){return"\u0645"===y},meridiem:function(y,x,T){return y<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:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(x){return v[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(Y(5439))},5443:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7642:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};O.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(h){return"\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(Y(5439))},8592:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7038:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},f=function(x){return 0===x?0:1===x?1:2===x?2:x%100>=3&&x%100<=10?3:x%100>=11?4:5},h={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"]},M=function(x){return function(T,D,S,L){var A=f(T),U=h[x][f(T)];return 2===A&&(U=U[D?0:1]),U.replace(/%d/i,T)}},p=["\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"];O.defineLocale("ar",{months:p,monthsShort:p,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(x){return"\u0645"===x},meridiem:function(x,T,D){return x<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:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(x){return x.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(T){return u[T]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(T){return v[T]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(Y(5439))},1213:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h,M){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 h=f%10;return f+(v[h]||v[f%100-h]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},9191:function(de,ge,Y){!function(O){"use strict";function u(h,M,p){return"m"===p?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":h+" "+function v(h,M){var p=h.split("_");return M%10==1&&M%100!=11?p[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?p[1]:p[2]}({ss:M?"\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:M?"\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:M?"\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"}[p],+h)}O.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:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(h)},meridiem:function(h,M,p){return h<4?"\u043d\u043e\u0447\u044b":h<12?"\u0440\u0430\u043d\u0456\u0446\u044b":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(h,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return h%10!=2&&h%10!=3||h%100==12||h%100==13?h+"-\u044b":h+"-\u0456";case"D":return h+"-\u0433\u0430";default:return h}},week:{dow:1,doy:7}})}(Y(5439))},322:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(Y(5439))},8042:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},9620:function(de,ge,Y){!function(O){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};O.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(h){return h.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u09b0\u09be\u09a4"===M&&h>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&h<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u09b0\u09be\u09a4":h<10?"\u09b8\u0995\u09be\u09b2":h<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":h<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(Y(5439))},9645:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};O.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(h){return h.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M){return 12===h&&(h=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&h>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&h<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":h<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":h<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":h<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(Y(5439))},5020:function(de,ge,Y){!function(O){"use strict";function v(y,x,T){return y+" "+function h(y,x){return 2===x?function M(y){var x={m:"v",b:"v",d:"z"};return void 0===x[y.charAt(0)]?y:x[y.charAt(0)]+y.substring(1)}(y):y}({mm:"munutenn",MM:"miz",dd:"devezh"}[T],y)}function f(y){return y>9?f(y%10):y}O.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:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:function u(y){switch(f(y)){case 1:case 3:case 4:case 5:case 9:return y+" bloaz";default:return y+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y){return y+(1===y?"a\xf1":"vet")},week:{dow:1,doy:4}})}(Y(5439))},4792:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}O.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},7980:function(de,ge,Y){!function(O){"use strict";O.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(u,f){var h=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===f||"W"===f)&&(h="a"),u+h},week:{dow:1,doy:4}})}(Y(5439))},7322:function(de,ge,Y){!function(O){"use strict";var v="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function f(p){return p>1&&p<5&&1!=~~(p/10)}function h(p,y,x,T){var D=p+" ";switch(x){case"s":return y||T?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||T?D+(f(p)?"sekundy":"sekund"):D+"sekundami";case"m":return y?"minuta":T?"minutu":"minutou";case"mm":return y||T?D+(f(p)?"minuty":"minut"):D+"minutami";case"h":return y?"hodina":T?"hodinu":"hodinou";case"hh":return y||T?D+(f(p)?"hodiny":"hodin"):D+"hodinami";case"d":return y||T?"den":"dnem";case"dd":return y||T?D+(f(p)?"dny":"dn\xed"):D+"dny";case"M":return y||T?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||T?D+(f(p)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):D+"m\u011bs\xedci";case"y":return y||T?"rok":"rokem";case"yy":return y||T?D+(f(p)?"roky":"let"):D+"lety"}}O.defineLocale("cs",{months:v,monthsShort:u,monthsParse:function(p,y){var x,T=[];for(x=0;x<12;x++)T[x]=new RegExp("^"+p[x]+"$|^"+y[x]+"$","i");return T}(v,u),shortMonthsParse:function(p){var y,x=[];for(y=0;y<12;y++)x[y]=new RegExp("^"+p[y]+"$","i");return x}(u),longMonthsParse:function(p){var y,x=[];for(y=0;y<12;y++)x[y]=new RegExp("^"+p[y]+"$","i");return x}(v),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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},365:function(de,ge,Y){!function(O){"use strict";O.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(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\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}})}(Y(5439))},2092:function(de,ge,Y){!function(O){"use strict";O.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(u){var h="";return u>20?h=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(h=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+h},week:{dow:1,doy:4}})}(Y(5439))},7387:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},9459:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},3694:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},4307:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},9659:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("dv",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,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(h){return"\u0789\u078a"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(Y(5439))},3460:function(de,ge,Y){!function(O){"use strict";O.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,h){return f?"string"==typeof h&&/D/.test(h.substring(0,h.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,h,M){return f>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\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(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(f,h){var M=this._calendarEl[f],p=h&&h.hours();return function v(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}(M)&&(M=M.apply(h)),M.replace("{}",p%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}})}(Y(5439))},4369:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},530:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(Y(5439))},9998:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},3391:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},5414:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(Y(5439))},1248:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},4530:function(de,ge,Y){!function(O){"use strict";O.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(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,f,h){return u>11?h?"p.t.m.":"P.T.M.":h?"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}})}(Y(5439))},8944:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(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;O.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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}})}(Y(5439))},3609:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");O.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},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}})}(Y(5439))},6866:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(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;O.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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}})}(Y(5439))},6725:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[f+"sekundi",f+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[f+" minuti",f+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[f+" tunni",f+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[f+" kuu",f+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[f+" aasta",f+" aastat"]};return h?y[M][2]?y[M][2]:y[M][1]:p?y[M][0]:y[M][1]}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},7931:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6417:function(de,ge,Y){!function(O){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};O.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(h){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(h)},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u06f0-\u06f9]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(Y(5439))},944:function(de,ge,Y){!function(O){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function f(p,y,x,T){var D="";switch(x){case"s":return T?"muutaman sekunnin":"muutama sekunti";case"ss":return T?"sekunnin":"sekuntia";case"m":return T?"minuutin":"minuutti";case"mm":D=T?"minuutin":"minuuttia";break;case"h":return T?"tunnin":"tunti";case"hh":D=T?"tunnin":"tuntia";break;case"d":return T?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":D=T?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return T?"kuukauden":"kuukausi";case"MM":D=T?"kuukauden":"kuukautta";break;case"y":return T?"vuoden":"vuosi";case"yy":D=T?"vuoden":"vuotta"}return function h(p,y){return p<10?y?u[p]:v[p]:p}(p,T)+" "+D}O.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: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}})}(Y(5439))},5867:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6848:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(Y(5439))},7773:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(Y(5439))},1636:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(Y(5439))},4940:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");O.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},6924:function(de,ge,Y){!function(O){"use strict";O.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(y){return y+(1===y?"d":y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(Y(5439))},6398:function(de,ge,Y){!function(O){"use strict";O.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(u){return 0===u.indexOf("un")?"n"+u:"en "+u},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}})}(Y(5439))},2545:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={s:["thodde secondanim","thodde second"],ss:[f+" secondanim",f+" second"],m:["eka mintan","ek minute"],mm:[f+" mintanim",f+" mintam"],h:["eka horan","ek hor"],hh:[f+" horanim",f+" horam"],d:["eka disan","ek dis"],dd:[f+" disanim",f+" dis"],M:["eka mhoinean","ek mhoino"],MM:[f+" mhoineanim",f+" mhoine"],y:["eka vorsan","ek voros"],yy:[f+" vorsanim",f+" vorsam"]};return h?y[M][0]:y[M][1]}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,h){return"D"===h?f+"er":f},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,h){return 12===f&&(f=0),"rati"===h?f<4?f:f+12:"sokalli"===h?f:"donparam"===h?f>12?f:f+12:"sanje"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(Y(5439))},2641:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};O.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(h){return h.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0ab0\u0abe\u0aa4"===M?h<4?h:h+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?h:"\u0aac\u0aaa\u0acb\u0ab0"===M?h>=10?h:h+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0ab0\u0abe\u0aa4":h<10?"\u0ab8\u0ab5\u0abe\u0ab0":h<17?"\u0aac\u0aaa\u0acb\u0ab0":h<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(Y(5439))},7536:function(de,ge,Y){!function(O){"use strict";O.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(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \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(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,f,h){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?h?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?h?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(Y(5439))},6335:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924"===M?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===M?h:"\u0926\u094b\u092a\u0939\u0930"===M?h>=10?h:h+12:"\u0936\u093e\u092e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(Y(5439))},7458:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}O.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},6540:function(de,ge,Y){!function(O){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(M,p,y,x){var T=M;switch(y){case"s":return x||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return T+(x||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(x||p?" perc":" perce");case"mm":return T+(x||p?" perc":" perce");case"h":return"egy"+(x||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return T+(x||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(x||p?" nap":" napja");case"dd":return T+(x||p?" nap":" napja");case"M":return"egy"+(x||p?" h\xf3nap":" h\xf3napja");case"MM":return T+(x||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(x||p?" \xe9v":" \xe9ve");case"yy":return T+(x||p?" \xe9v":" \xe9ve")}return""}function f(M){return(M?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}O.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(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,p,y){return M<12?!0===y?"de":"DE":!0===y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return f.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return f.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},5283:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<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(u,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(Y(5439))},8780:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"siang"===f?u>=11?u:u+12:"sore"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"siang":u<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}})}(Y(5439))},4205:function(de,ge,Y){!function(O){"use strict";function v(h){return h%100==11||h%10!=1}function u(h,M,p,y){var x=h+" ";switch(p){case"s":return M||y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(h)?x+(M||y?"sek\xfandur":"sek\xfandum"):x+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(h)?x+(M||y?"m\xedn\xfatur":"m\xedn\xfatum"):M?x+"m\xedn\xfata":x+"m\xedn\xfatu";case"hh":return v(h)?x+(M||y?"klukkustundir":"klukkustundum"):x+"klukkustund";case"d":return M?"dagur":y?"dag":"degi";case"dd":return v(h)?M?x+"dagar":x+(y?"daga":"d\xf6gum"):M?x+"dagur":x+(y?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(h)?M?x+"m\xe1nu\xf0ir":x+(y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?x+"m\xe1nu\xf0ur":x+(y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||y?"\xe1r":"\xe1ri";case"yy":return v(h)?x+(M||y?"\xe1r":"\xe1rum"):x+(M||y?"\xe1r":"\xe1ri")}}O.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:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},4211:function(de,ge,Y){!function(O){"use strict";O.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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},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}})}(Y(5439))},1003:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u5348\u5f8c"===u},meridiem:function(u,f,h){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()=11?u:u+12:"sonten"===f||"ndalu"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"enjing":u<15?"siyang":u<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}})}(Y(5439))},851:function(de,ge,Y){!function(O){"use strict";O.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(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(u)?u.replace(/\u10d8$/,"\u10e8\u10d8"):u+"\u10e8\u10d8"},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.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(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(Y(5439))},6074:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},3343:function(de,ge,Y){!function(O){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};O.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(h){return"\u179b\u17d2\u1784\u17b6\u1785"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(Y(5439))},4799:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};O.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(h){return h.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M){return 12===h&&(h=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?h<4?h:h+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?h:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?h>=10?h:h+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":h<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":h<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":h<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(h){return h+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(Y(5439))},3549:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,f,h){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(Y(5439))},3125:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},9586:function(de,ge,Y){!function(O){"use strict";function v(p,y,x,T){var D={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 y?D[x][0]:D[x][1]}function h(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;if(p<10)return 4<=p&&p<=7;if(p<100){var y=p%10;return h(0===y?p/10:y)}if(p<1e4){for(;p>=10;)p/=10;return h(p)}return h(p/=1e3)}O.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 u(p){return h(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function f(p){return h(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},2349:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,f,h){return u<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(u){return"\u0e97\u0eb5\u0ec8"+u}})}(Y(5439))},2400:function(de,ge,Y){!function(O){"use strict";var v={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 f(x,T,D,S){return T?M(D)[0]:S?M(D)[1]:M(D)[2]}function h(x){return x%10==0||x>10&&x<20}function M(x){return v[x].split("_")}function p(x,T,D,S){var L=x+" ";return 1===x?L+f(0,T,D[0],S):T?L+(h(x)?M(D)[1]:M(D)[0]):S?L+M(D)[1]:L+(h(x)?M(D)[1]:M(D)[2])}O.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 u(x,T,D,S){return T?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:f,mm:p,h:f,hh:p,d:f,dd:p,M:f,MM:p,y:f,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(x){return x+"-oji"},week:{dow:1,doy:4}})}(Y(5439))},9991:function(de,ge,Y){!function(O){"use strict";var v={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 u(y,x,T){return T?x%10==1&&x%100!=11?y[2]:y[3]:x%10==1&&x%100!=11?y[0]:y[1]}function f(y,x,T){return y+" "+u(v[T],y,x)}function h(y,x,T){return u(v[T],y,x)}O.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 M(y,x){return x?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:f,m:h,mm:f,h,hh:f,d:h,dd:f,M:h,MM:f,y:h,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8477:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},5118:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},5943:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(Y(5439))},3849:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?u+12:u},meridiem:function(u,f,h){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(Y(5439))},1977:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){switch(M){case"s":return h?"\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+(h?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return f+(h?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return f+(h?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return f+(h?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return f+(h?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return f+(h?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return f}}O.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,h,M){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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,h){switch(h){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(Y(5439))},6184:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function f(M,p,y,x){var T="";if(p)switch(y){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":T="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":T="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":T="%d \u0924\u093e\u0938";break;case"d":T="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":T="%d \u0926\u093f\u0935\u0938";break;case"M":T="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":T="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u0947"}else switch(y){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":T="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":T="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":T="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":T="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":T="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":T="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":T="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return T.replace(/%d/i,M)}O.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:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return u[p]})},postformat:function(M){return M.replace(/\d/g,function(p){return v[p]})},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(M,p){return 12===M&&(M=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===p?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940"===p?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===p?M>=10?M:M+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p?M+12:void 0},meridiem:function(M,p,y){return M<4?"\u0930\u093e\u0924\u094d\u0930\u0940":M<10?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(Y(5439))},4524:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<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}})}(Y(5439))},485:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<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}})}(Y(5439))},6681:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2024:function(de,ge,Y){!function(O){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};O.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(h){return h.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(Y(5439))},2688:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},8914:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924\u093f"===M?h<4?h:h+12:"\u092c\u093f\u0939\u093e\u0928"===M?h:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?h>=10?h:h+12:"\u0938\u093e\u0901\u091d"===M?h+12:void 0},meridiem:function(h,M,p){return h<3?"\u0930\u093e\u0924\u093f":h<12?"\u092c\u093f\u0939\u093e\u0928":h<16?"\u0926\u093f\u0909\u0901\u0938\u094b":h<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}})}(Y(5439))},2272:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^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],h=/^(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;O.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},1758:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^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],h=/^(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;O.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},1510:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7944:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};O.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(h){return h.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0a30\u0a3e\u0a24"===M?h<4?h:h+12:"\u0a38\u0a35\u0a47\u0a30"===M?h:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?h>=10?h:h+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0a30\u0a3e\u0a24":h<10?"\u0a38\u0a35\u0a47\u0a30":h<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":h<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(Y(5439))},1605:function(de,ge,Y){!function(O){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function f(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function h(p,y,x){var T=p+" ";switch(x){case"ss":return T+(f(p)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return T+(f(p)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return T+(f(p)?"godziny":"godzin");case"MM":return T+(f(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return T+(f(p)?"lata":"lat")}}O.defineLocale("pl",{months:function(p,y){return p?""===y?"("+u[p.month()]+"|"+v[p.month()]+")":/D MMMM/.test(y)?u[p.month()]:v[p.month()]:v},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:h,m:h,mm:h,h,hh:h,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},3840:function(de,ge,Y){!function(O){"use strict";O.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"})}(Y(5439))},4225:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},5128:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var y=" ";return(f%100>=20||f>=100&&f%100==0)&&(y=" de "),f+y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[M]}O.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:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(Y(5439))},5127:function(de,ge,Y){!function(O){"use strict";function u(M,p,y){return"m"===y?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+function v(M,p){var y=M.split("_");return p%10==1&&p%100!=11?y[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?y[1]:y[2]}({ss:p?"\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:p?"\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"}[y],+M)}var f=[/^\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];O.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:f,longMonthsParse:f,shortMonthsParse:f,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(M){if(M.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(M){if(M.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:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,p,y){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,p){switch(p){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(Y(5439))},2525:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("sd",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(Y(5439))},9893:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},3123:function(de,ge,Y){!function(O){"use strict";O.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(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,f,h){return u>11?h?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":h?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(Y(5439))},9635:function(de,ge,Y){!function(O){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function f(p){return p>1&&p<5}function h(p,y,x,T){var D=p+" ";switch(x){case"s":return y||T?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return y||T?D+(f(p)?"sekundy":"sek\xfand"):D+"sekundami";case"m":return y?"min\xfata":T?"min\xfatu":"min\xfatou";case"mm":return y||T?D+(f(p)?"min\xfaty":"min\xfat"):D+"min\xfatami";case"h":return y?"hodina":T?"hodinu":"hodinou";case"hh":return y||T?D+(f(p)?"hodiny":"hod\xedn"):D+"hodinami";case"d":return y||T?"de\u0148":"d\u0148om";case"dd":return y||T?D+(f(p)?"dni":"dn\xed"):D+"d\u0148ami";case"M":return y||T?"mesiac":"mesiacom";case"MM":return y||T?D+(f(p)?"mesiace":"mesiacov"):D+"mesiacmi";case"y":return y||T?"rok":"rokom";case"yy":return y||T?D+(f(p)?"roky":"rokov"):D+"rokmi"}}O.defineLocale("sk",{months:v,monthsShort:u,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:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8106:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y=f+" ";switch(M){case"s":return h||p?"nekaj sekund":"nekaj sekundami";case"ss":return y+(1===f?h?"sekundo":"sekundi":2===f?h||p?"sekundi":"sekundah":f<5?h||p?"sekunde":"sekundah":"sekund");case"m":return h?"ena minuta":"eno minuto";case"mm":return y+(1===f?h?"minuta":"minuto":2===f?h||p?"minuti":"minutama":f<5?h||p?"minute":"minutami":h||p?"minut":"minutami");case"h":return h?"ena ura":"eno uro";case"hh":return y+(1===f?h?"ura":"uro":2===f?h||p?"uri":"urama":f<5?h||p?"ure":"urami":h||p?"ur":"urami");case"d":return h||p?"en dan":"enim dnem";case"dd":return y+(1===f?h||p?"dan":"dnem":2===f?h||p?"dni":"dnevoma":h||p?"dni":"dnevi");case"M":return h||p?"en mesec":"enim mesecem";case"MM":return y+(1===f?h||p?"mesec":"mesecem":2===f?h||p?"meseca":"mesecema":f<5?h||p?"mesece":"meseci":h||p?"mesecev":"meseci");case"y":return h||p?"eno leto":"enim letom";case"yy":return y+(1===f?h||p?"leto":"letom":2===f?h||p?"leti":"letoma":f<5?h||p?"leta":"leti":h||p?"let":"leti")}}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},8799:function(de,ge,Y){!function(O){"use strict";O.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(u){return"M"===u.charAt(0)},meridiem:function(u,f,h){return u<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}})}(Y(5439))},2872:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"\u0434\u0430\u043d",dd:v.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:v.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},7949:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},6167:function(de,ge,Y){!function(O){"use strict";O.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(u,f,h){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,f){return 12===u&&(u=0),"ekuseni"===f?u:"emini"===f?u>=11?u:u+12:"entsambama"===f||"ebusuku"===f?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(Y(5439))},9713:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(Y(5439))},1982:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2732:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};O.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(h){return h+"\u0bb5\u0ba4\u0bc1"},preparse:function(h){return h.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M,p){return h<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":h<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":h<10?" \u0b95\u0bbe\u0bb2\u0bc8":h<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":h<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":h<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(h,M){return 12===h&&(h=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?h<2?h:h+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&h>=10?h:h+12},week:{dow:0,doy:6}})}(Y(5439))},3636:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===f?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?u+12:void 0},meridiem:function(u,f,h){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(Y(5439))},2115:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},9801:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h){return 12===f&&(f=0),"\u0448\u0430\u0431"===h?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===h?f:"\u0440\u04ef\u0437"===h?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===h?f+12:void 0},meridiem:function(f,h,M){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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},2868:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,f,h){return u<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"}})}(Y(5439))},2360:function(de,ge,Y){!function(O){"use strict";O.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(u){return u},week:{dow:1,doy:4}})}(Y(5439))},6645:function(de,ge,Y){!function(O){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function h(y,x,T,D){var S=function M(y){var x=Math.floor(y%1e3/100),T=Math.floor(y%100/10),D=y%10,S="";return x>0&&(S+=v[x]+"vatlh"),T>0&&(S+=(""!==S?" ":"")+v[T]+"maH"),D>0&&(S+=(""!==S?" ":"")+v[D]),""===S?"pagh":S}(y);switch(T){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}O.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 u(y){var x=y;return-1!==y.indexOf("jaj")?x.slice(0,-3)+"leS":-1!==y.indexOf("jar")?x.slice(0,-3)+"waQ":-1!==y.indexOf("DIS")?x.slice(0,-3)+"nem":x+" pIq"},past:function f(y){var x=y;return-1!==y.indexOf("jaj")?x.slice(0,-3)+"Hu\u2019":-1!==y.indexOf("jar")?x.slice(0,-3)+"wen":-1!==y.indexOf("DIS")?x.slice(0,-3)+"ben":x+" ret"},s:"puS lup",ss:h,m:"wa\u2019 tup",mm:h,h:"wa\u2019 rep",hh:h,d:"wa\u2019 jaj",dd:h,M:"wa\u2019 jar",MM:h,y:"wa\u2019 DIS",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8374:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h){switch(h){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var M=f%10;return f+(v[M]||v[f%100-M]||v[f>=100?100:null])}},week:{dow:1,doy:7}})}(Y(5439))},256:function(de,ge,Y){!function(O){"use strict";function u(f,h,M,p){var y={s:["viensas secunds","'iensas secunds"],ss:[f+" secunds",f+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[f+" m\xeduts",f+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[f+" \xfeoras",f+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[f+" ziuas",f+" ziuas"],M:["'n mes","'iens mes"],MM:[f+" mesen",f+" mesen"],y:["'n ar","'iens ar"],yy:[f+" ars",f+" ars"]};return p||h?y[M][0]:y[M][1]}O.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,h,M){return f>11?M?"d'o":"D'O":M?"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:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},1631:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},1595:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6050:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=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?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(Y(5439))},5610:function(de,ge,Y){!function(O){"use strict";function u(p,y,x){return"m"===x?y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===x?y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function v(p,y){var x=p.split("_");return y%10==1&&y%100!=11?x[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?x[1]:x[2]}({ss:y?"\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:y?"\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:y?"\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"}[x],+p)}function h(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}O.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 f(p,y){var x={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 p?x[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(y)?"genitive":"nominative"][p.day()]:x.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:h("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:h("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:h("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:h("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return h("[\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:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,y,x){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,y){switch(y){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(Y(5439))},6077:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("ur",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(Y(5439))},2207:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2862:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},8093:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^ch$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"sa":"SA":h?"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(u){return u},week:{dow:1,doy:4}})}(Y(5439))},5590:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},9058:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7908:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},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}})}(Y(5439))},8867:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(Y(5439))},3291:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(Y(5439))},5439:function(de,ge,Y){(de=Y.nmd(de)).exports=function(){"use strict";var O,B;function v(){return O.apply(null,arguments)}function f(m){return m instanceof Array||"[object Array]"===Object.prototype.toString.call(m)}function h(m){return null!=m&&"[object Object]"===Object.prototype.toString.call(m)}function p(m){return void 0===m}function y(m){return"number"==typeof m||"[object Number]"===Object.prototype.toString.call(m)}function x(m){return m instanceof Date||"[object Date]"===Object.prototype.toString.call(m)}function T(m,P){var $,j=[];for($=0;$>>0,$=0;$0)for(j=0;j=0?j?"+":"":"-")+Math.pow(10,Math.max(0,P-$.length)).toString().substr(1)+$}var Ie=/(\[[^\[]*\])|(\\)?([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,Ye=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},gt={};function ot(m,P,j,$){var ne=$;"string"==typeof $&&(ne=function(){return this[$]()}),m&&(gt[m]=ne),P&&(gt[P[0]]=function(){return De(ne.apply(this,arguments),P[1],P[2])}),j&&(gt[j]=function(){return this.localeData().ordinal(ne.apply(this,arguments),m)})}function fn(m){return m.match(/\[[\s\S]/)?m.replace(/^\[|\]$/g,""):m.replace(/\\/g,"")}function bt(m,P){return m.isValid()?(P=qt(P,m.localeData()),ut[P]=ut[P]||function Rn(m){var j,$,P=m.match(Ie);for(j=0,$=P.length;j<$;j++)P[j]=gt[P[j]]?gt[P[j]]:fn(P[j]);return function(ne){var je,Le="";for(je=0;je<$;je++)Le+=ke(P[je])?P[je].call(ne,m):P[je];return Le}}(P),ut[P](m)):m.localeData().invalidDate()}function qt(m,P){var j=5;function $(ne){return P.longDateFormat(ne)||ne}for(Ye.lastIndex=0;j>=0&&Ye.test(m);)m=m.replace(Ye,$),Ye.lastIndex=0,j-=1;return m}var Gn=/\d/,oi=/\d\d/,Kr=/\d{3}/,Io=/\d{4}/,Hi=/[+-]?\d{6}/,ln=/\d\d?/,xi=/\d\d\d\d?/,si=/\d\d\d\d\d\d?/,Nn=/\d{1,3}/,zd=/\d{1,4}/,dl=/[+-]?\d{1,6}/,Sn=/\d+/,va=/[+-]?\d+/,Bi=/Z|[+-]\d\d:?\d\d/gi,ya=/Z|[+-]\d\d(?::?\d\d)?/gi,pn=/[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,Dt={};function _t(m,P,j){Dt[m]=ke(P)?P:function($,ne){return $&&j?j:P}}function Ud(m,P){return D(Dt,m)?Dt[m](P._strict,P._locale):new RegExp(function X1(m){return hs(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,j,$,ne,Le){return j||$||ne||Le}))}(m))}function hs(m){return m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Fe={};function En(m,P){var j,$=P;for("string"==typeof m&&(m=[m]),y(P)&&($=function(ne,Le){Le[P]=ee(ne)}),j=0;j68?1900:2e3)};var ki,Vg=Ma("FullYear",!0);function Ma(m,P){return function(j){return null!=j?(cf(this,m,j),v.updateOffset(this,P),this):$d(this,m)}}function $d(m,P){return m.isValid()?m._d["get"+(m._isUTC?"UTC":"")+P]():NaN}function cf(m,P,j){m.isValid()&&!isNaN(j)&&("FullYear"===P&&Wd(m.year())&&1===m.month()&&29===m.date()?m._d["set"+(m._isUTC?"UTC":"")+P](j,m.month(),Gd(j,m.month())):m._d["set"+(m._isUTC?"UTC":"")+P](j))}function Gd(m,P){if(isNaN(m)||isNaN(P))return NaN;var j=function wn(m,P){return(m%P+P)%P}(P,12);return m+=(P-j)/12,1===j?Wd(m)?29:28:31-j%7%2}ki=Array.prototype.indexOf?Array.prototype.indexOf:function(m){var P;for(P=0;P=0&&isFinite(At.getFullYear())&&At.setFullYear(m),At}function Wi(m){var P=new Date(Date.UTC.apply(null,arguments));return m<100&&m>=0&&isFinite(P.getUTCFullYear())&&P.setUTCFullYear(m),P}function ul(m,P,j){var $=7+P-j;return-(7+Wi(m,0,$).getUTCDay()-P)%7+$-1}function Wg(m,P,j,$,ne){var Wt,Di,At=1+7*(P-1)+(7+j-$)%7+ul(m,$,ne);return At<=0?Di=uc(Wt=m-1)+At:At>uc(m)?(Wt=m+1,Di=At-uc(m)):(Wt=m,Di=At),{year:Wt,dayOfYear:Di}}function Cn(m,P,j){var Le,je,$=ul(m.year(),P,j),ne=Math.floor((m.dayOfYear()-$-1)/7)+1;return ne<1?Le=ne+wa(je=m.year()-1,P,j):ne>wa(m.year(),P,j)?(Le=ne-wa(m.year(),P,j),je=m.year()+1):(je=m.year(),Le=ne),{week:Le,year:je}}function wa(m,P,j){var $=ul(m,P,j),ne=ul(m+1,P,j);return(uc(m)-$+ne)/7}ot("w",["ww",2],"wo","week"),ot("W",["WW",2],"Wo","isoWeek"),pe("week","w"),pe("isoWeek","W"),me("week",5),me("isoWeek",5),_t("w",ln),_t("ww",ln,oi),_t("W",ln),_t("WW",ln,oi),xt(["w","ww","W","WW"],function(m,P,j,$){P[$.substr(0,1)]=ee(m)});ot("d",0,"do","day"),ot("dd",0,0,function(m){return this.localeData().weekdaysMin(this,m)}),ot("ddd",0,0,function(m){return this.localeData().weekdaysShort(this,m)}),ot("dddd",0,0,function(m){return this.localeData().weekdays(this,m)}),ot("e",0,0,"weekday"),ot("E",0,0,"isoWeekday"),pe("day","d"),pe("weekday","e"),pe("isoWeekday","E"),me("day",11),me("weekday",11),me("isoWeekday",11),_t("d",ln),_t("e",ln),_t("E",ln),_t("dd",function(m,P){return P.weekdaysMinRegex(m)}),_t("ddd",function(m,P){return P.weekdaysShortRegex(m)}),_t("dddd",function(m,P){return P.weekdaysRegex(m)}),xt(["dd","ddd","dddd"],function(m,P,j,$){var ne=j._locale.weekdaysParse(m,$,j._strict);null!=ne?P.d=ne:U(j).invalidWeekday=m}),xt(["d","e","E"],function(m,P,j,$){P[$]=ee(m)});var pf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var mf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Kg="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function gf(m,P,j){var $,ne,Le,je=m.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Le=L([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Le,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Le,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Le,"").toLocaleLowerCase();return j?"dddd"===P?-1!==(ne=ki.call(this._weekdaysParse,je))?ne:null:"ddd"===P?-1!==(ne=ki.call(this._shortWeekdaysParse,je))?ne:null:-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:"dddd"===P?-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._shortWeekdaysParse,je))||-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:"ddd"===P?-1!==(ne=ki.call(this._shortWeekdaysParse,je))||-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:-1!==(ne=ki.call(this._minWeekdaysParse,je))||-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._shortWeekdaysParse,je))?ne:null}var Zg=pn;var Jg=pn;var Oo=pn;function lo(){function m(Vr,bl){return bl.length-Vr.length}var Le,je,At,Wt,Di,P=[],j=[],$=[],ne=[];for(Le=0;Le<7;Le++)je=L([2e3,1]).day(Le),At=this.weekdaysMin(je,""),Wt=this.weekdaysShort(je,""),Di=this.weekdays(je,""),P.push(At),j.push(Wt),$.push(Di),ne.push(At),ne.push(Wt),ne.push(Di);for(P.sort(m),j.sort(m),$.sort(m),ne.sort(m),Le=0;Le<7;Le++)j[Le]=hs(j[Le]),$[Le]=hs($[Le]),ne[Le]=hs(ne[Le]);this._weekdaysRegex=new RegExp("^("+ne.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function cn(){return this.hours()%12||12}function bc(m,P){ot(m,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function vc(m,P){return P._meridiemParse}ot("H",["HH",2],0,"hour"),ot("h",["hh",2],0,cn),ot("k",["kk",2],0,function _c(){return this.hours()||24}),ot("hmm",0,0,function(){return""+cn.apply(this)+De(this.minutes(),2)}),ot("hmmss",0,0,function(){return""+cn.apply(this)+De(this.minutes(),2)+De(this.seconds(),2)}),ot("Hmm",0,0,function(){return""+this.hours()+De(this.minutes(),2)}),ot("Hmmss",0,0,function(){return""+this.hours()+De(this.minutes(),2)+De(this.seconds(),2)}),bc("a",!0),bc("A",!1),pe("hour","h"),me("hour",13),_t("a",vc),_t("A",vc),_t("H",ln),_t("h",ln),_t("k",ln),_t("HH",ln,oi),_t("hh",ln,oi),_t("kk",ln,oi),_t("hmm",xi),_t("hmmss",si),_t("Hmm",xi),_t("Hmmss",si),En(["H","HH"],ai),En(["k","kk"],function(m,P,j){var $=ee(m);P[ai]=24===$?0:$}),En(["a","A"],function(m,P,j){j._isPm=j._locale.isPM(m),j._meridiem=m}),En(["h","hh"],function(m,P,j){P[ai]=ee(m),U(j).bigHour=!0}),En("hmm",function(m,P,j){var $=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($)),U(j).bigHour=!0}),En("hmmss",function(m,P,j){var $=m.length-4,ne=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($,2)),P[ps]=ee(m.substr(ne)),U(j).bigHour=!0}),En("Hmm",function(m,P,j){var $=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($))}),En("Hmmss",function(m,P,j){var $=m.length-4,ne=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($,2)),P[ps]=ee(m.substr(ne))});var ka,bf=Ma("Hours",!0),Jd={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:Ne,monthsShort:Nt,week:{dow:0,doy:6},weekdays:pf,weekdaysMin:Kg,weekdaysShort:mf,meridiemParse:/[ap]\.?m?\.?/i},hi={},xa={};function Sa(m){return m&&m.toLowerCase().replace("_","-")}function ml(m){var P=null;if(!hi[m]&&de&&de.exports)try{P=ka._abbr,Y(6700)("./"+m),Da(P)}catch{}return hi[m]}function Da(m,P){var j;return m&&((j=p(P)?_s(m):yc(m,P))?ka=j:typeof console<"u"&&console.warn&&console.warn("Locale "+m+" not found. Did you forget to load it?")),ka._abbr}function yc(m,P){if(null!==P){var j,$=Jd;if(P.abbr=m,null!=hi[m])Se("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."),$=hi[m]._config;else if(null!=P.parentLocale)if(null!=hi[P.parentLocale])$=hi[P.parentLocale]._config;else{if(null==(j=ml(P.parentLocale)))return xa[P.parentLocale]||(xa[P.parentLocale]=[]),xa[P.parentLocale].push({name:m,config:P}),null;$=j._config}return hi[m]=new st(tt($,P)),xa[m]&&xa[m].forEach(function(ne){yc(ne.name,ne.config)}),Da(m),hi[m]}return delete hi[m],null}function _s(m){var P;if(m&&m._locale&&m._locale._abbr&&(m=m._locale._abbr),!m)return ka;if(!f(m)){if(P=ml(m))return P;m=[m]}return function vf(m){for(var j,$,ne,Le,P=0;P0;){if(ne=ml(Le.slice(0,j).join("-")))return ne;if($&&$.length>=j&&ae(Le,$,!0)>=j-1)break;j--}P++}return ka}(m)}function Qd(m){var P,j=m._a;return j&&-2===U(m).overflow&&(P=j[fs]<0||j[fs]>11?fs:j[Po]<1||j[Po]>Gd(j[ao],j[fs])?Po:j[ai]<0||j[ai]>24||24===j[ai]&&(0!==j[ni]||0!==j[ps]||0!==j[Ys])?ai:j[ni]<0||j[ni]>59?ni:j[ps]<0||j[ps]>59?ps:j[Ys]<0||j[Ys]>999?Ys:-1,U(m)._overflowDayOfYear&&(PPo)&&(P=Po),U(m)._overflowWeeks&&-1===P&&(P=J1),U(m)._overflowWeekday&&-1===P&&(P=ms),U(m).overflow=P),m}function Hs(m,P,j){return m??P??j}function eu(m){var P,j,ne,Le,je,$=[];if(!m._d){for(ne=function e_(m){var P=new Date(v.now());return m._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(m),m._w&&null==m._a[Po]&&null==m._a[fs]&&function t_(m){var P,j,$,ne,Le,je,At,Wt;if(null!=(P=m._w).GG||null!=P.W||null!=P.E)Le=1,je=4,j=Hs(P.GG,m._a[ao],Cn(Ut(),1,4).year),$=Hs(P.W,1),((ne=Hs(P.E,1))<1||ne>7)&&(Wt=!0);else{Le=m._locale._week.dow,je=m._locale._week.doy;var Di=Cn(Ut(),Le,je);j=Hs(P.gg,m._a[ao],Di.year),$=Hs(P.w,Di.week),null!=P.d?((ne=P.d)<0||ne>6)&&(Wt=!0):null!=P.e?(ne=P.e+Le,(P.e<0||P.e>6)&&(Wt=!0)):ne=Le}$<1||$>wa(j,Le,je)?U(m)._overflowWeeks=!0:null!=Wt?U(m)._overflowWeekday=!0:(At=Wg(j,$,ne,Le,je),m._a[ao]=At.year,m._dayOfYear=At.dayOfYear)}(m),null!=m._dayOfYear&&(je=Hs(m._a[ao],ne[ao]),(m._dayOfYear>uc(je)||0===m._dayOfYear)&&(U(m)._overflowDayOfYear=!0),j=Wi(je,0,m._dayOfYear),m._a[fs]=j.getUTCMonth(),m._a[Po]=j.getUTCDate()),P=0;P<3&&null==m._a[P];++P)m._a[P]=$[P]=ne[P];for(;P<7;P++)m._a[P]=$[P]=null==m._a[P]?2===P?1:0:m._a[P];24===m._a[ai]&&0===m._a[ni]&&0===m._a[ps]&&0===m._a[Ys]&&(m._nextDay=!0,m._a[ai]=0),m._d=(m._useUTC?Wi:ff).apply(null,$),Le=m._useUTC?m._d.getUTCDay():m._d.getDay(),null!=m._tzm&&m._d.setUTCMinutes(m._d.getUTCMinutes()-m._tzm),m._nextDay&&(m._a[ai]=24),m._w&&typeof m._w.d<"u"&&m._w.d!==Le&&(U(m).weekdayMismatch=!0)}}var n_=/^\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)?)?$/,yf=/^\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)?)?$/,i_=/Z|[+-]\d\d(?::?\d\d)?/,Mc=[["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}/]],tu=[["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/]],Ke=/^\/?Date\((\-?\d+)/i;function wc(m){var P,j,Le,je,At,Wt,$=m._i,ne=n_.exec($)||yf.exec($);if(ne){for(U(m).iso=!0,P=0,j=Mc.length;P0&&U(m).unusedInput.push(je),P=P.slice(P.indexOf($)+$.length),Wt+=$.length),gt[Le]?($?U(m).empty=!1:U(m).unusedTokens.push(Le),Mn(Le,$,m)):m._strict&&!$&&U(m).unusedTokens.push(Le);U(m).charsLeftOver=At-Wt,P.length>0&&U(m).unusedInput.push(P),m._a[ai]<=12&&!0===U(m).bigHour&&m._a[ai]>0&&(U(m).bigHour=void 0),U(m).parsedDateParts=m._a.slice(0),U(m).meridiem=m._meridiem,m._a[ai]=function Ta(m,P,j){var $;return null==j?P:null!=m.meridiemHour?m.meridiemHour(P,j):(null!=m.isPM&&(($=m.isPM(j))&&P<12&&(P+=12),!$&&12===P&&(P=0)),P)}(m._locale,m._a[ai],m._meridiem),eu(m),Qd(m)}else gn(m);else wc(m)}function gl(m){var P=m._i,j=m._f;return m._locale=m._locale||_s(m._l),null===P||void 0===j&&""===P?oe({nullInput:!0}):("string"==typeof P&&(m._i=P=m._locale.preparse(P)),q(P)?new he(Qd(P)):(x(P)?m._d=P:f(j)?function Yr(m){var P,j,$,ne,Le;if(0===m._f.length)return U(m).invalidFormat=!0,void(m._d=new Date(NaN));for(ne=0;nethis?this:m:oe()});function Jn(m,P){var j,$;if(1===P.length&&f(P[0])&&(P=P[0]),!P.length)return Ut();for(j=P[0],$=1;$(Le=wa(m,$,ne))&&(P=Le),Ec.call(this,m,P,j,$,ne))}function Ec(m,P,j,$,ne){var Le=Wg(m,P,j,$,ne),je=Wi(Le.year,0,Le.dayOfYear);return this.year(je.getUTCFullYear()),this.month(je.getUTCMonth()),this.date(je.getUTCDate()),this}ot(0,["gg",2],0,function(){return this.weekYear()%100}),ot(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Gs("gggg","weekYear"),Gs("ggggg","weekYear"),Gs("GGGG","isoWeekYear"),Gs("GGGGG","isoWeekYear"),pe("weekYear","gg"),pe("isoWeekYear","GG"),me("weekYear",1),me("isoWeekYear",1),_t("G",va),_t("g",va),_t("GG",ln,oi),_t("gg",ln,oi),_t("GGGG",zd,Io),_t("gggg",zd,Io),_t("GGGGG",dl,Hi),_t("ggggg",dl,Hi),xt(["gggg","ggggg","GGGG","GGGGG"],function(m,P,j,$){P[$.substr(0,2)]=ee(m)}),xt(["gg","GG"],function(m,P,j,$){P[$]=v.parseTwoDigitYear(m)}),ot("Q",0,"Qo","quarter"),pe("quarter","Q"),me("quarter",7),_t("Q",Gn),En("Q",function(m,P){P[fs]=3*(ee(m)-1)}),ot("D",["DD",2],"Do","date"),pe("date","D"),me("date",9),_t("D",ln),_t("DD",ln,oi),_t("Do",function(m,P){return m?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),En(["D","DD"],Po),En("Do",function(m,P){P[Po]=ee(m.match(ln)[0])});var v_=Ma("Date",!0);ot("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("dayOfYear","DDD"),me("dayOfYear",4),_t("DDD",Nn),_t("DDDD",Kr),En(["DDD","DDDD"],function(m,P,j){j._dayOfYear=ee(m)}),ot("m",["mm",2],0,"minute"),pe("minute","m"),me("minute",14),_t("m",ln),_t("mm",ln,oi),En(["m","mm"],ni);var au=Ma("Minutes",!1);ot("s",["ss",2],0,"second"),pe("second","s"),me("second",15),_t("s",ln),_t("ss",ln,oi),En(["s","ss"],ps);var po,y_=Ma("Seconds",!1);for(ot("S",0,0,function(){return~~(this.millisecond()/100)}),ot(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ot(0,["SSS",3],0,"millisecond"),ot(0,["SSSS",4],0,function(){return 10*this.millisecond()}),ot(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),ot(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),ot(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),ot(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),ot(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),pe("millisecond","ms"),me("millisecond",16),_t("S",Nn,Gn),_t("SS",Nn,oi),_t("SSS",Nn,Kr),po="SSSS";po.length<=9;po+="S")_t(po,Sn);function M_(m,P){P[Ys]=ee(1e3*("0."+m))}for(po="S";po.length<=9;po+="S")En(po,M_);var MM=Ma("Milliseconds",!1);ot("z",0,0,"zoneAbbr"),ot("zz",0,0,"zoneName");var Je=he.prototype;function Gi(m){return m}Je.add=Ws,Je.calendar=function iu(m,P){var j=m||Ut(),$=bs(j,this).startOf("day"),ne=v.calendarFormat(this,$)||"sameElse",Le=P&&(ke(P[ne])?P[ne].call(this,j):P[ne]);return this.format(Le||this.localeData().calendar(ne,this,Ut(j)))},Je.clone=function c_(){return new he(this)},Je.diff=function cM(m,P,j){var $,ne,Le;if(!this.isValid())return NaN;if(!($=bs(m,this)).isValid())return NaN;switch(ne=6e4*($.utcOffset()-this.utcOffset()),P=fe(P)){case"year":Le=Df(this,$)/12;break;case"month":Le=Df(this,$);break;case"quarter":Le=Df(this,$)/3;break;case"second":Le=(this-$)/1e3;break;case"minute":Le=(this-$)/6e4;break;case"hour":Le=(this-$)/36e5;break;case"day":Le=(this-$-ne)/864e5;break;case"week":Le=(this-$-ne)/6048e5;break;default:Le=this-$}return j?Le:Q(Le)},Je.endOf=function $s(m){return void 0===(m=fe(m))||"millisecond"===m?this:("date"===m&&(m="day"),this.startOf(m).add(1,"isoWeek"===m?"week":m).subtract(1,"ms"))},Je.format=function fM(m){m||(m=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var P=bt(this,m);return this.localeData().postformat(P)},Je.from=function pM(m,P){return this.isValid()&&(q(m)&&m.isValid()||Ut(m).isValid())?yr({to:this,from:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Je.fromNow=function mM(m){return this.from(Ut(),m)},Je.to=function gM(m,P){return this.isValid()&&(q(m)&&m.isValid()||Ut(m).isValid())?yr({from:this,to:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Je.toNow=function Tf(m){return this.to(Ut(),m)},Je.get=function eM(m){return ke(this[m=fe(m)])?this[m]():this},Je.invalidAt=function __(){return U(this).overflow},Je.isAfter=function oM(m,P){var j=q(m)?m:Ut(m);return!(!this.isValid()||!j.isValid())&&("millisecond"===(P=fe(p(P)?"millisecond":P))?this.valueOf()>j.valueOf():j.valueOf()9999?bt(j,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ke(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",bt(j,"Z")):bt(j,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Je.inspect=function hM(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var m="moment",P="";this.isLocal()||(m=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var j="["+m+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(j+$+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},Je.toJSON=function m_(){return this.isValid()?this.toISOString():null},Je.toString=function dM(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Je.unix=function bM(){return Math.floor(this.valueOf()/1e3)},Je.valueOf=function Lf(){return this._d.valueOf()-6e4*(this._offset||0)},Je.creationData=function Fo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Je.year=Vg,Je.isLeapYear=function Q1(){return Wd(this.year())},Je.weekYear=function $i(m){return Lc.call(this,m,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Je.isoWeekYear=function If(m){return Lc.call(this,m,this.isoWeek(),this.isoWeekday(),1,4)},Je.quarter=Je.quarters=function b_(m){return null==m?Math.ceil((this.month()+1)/3):this.month(3*(m-1)+this.month()%3)},Je.month=qd,Je.daysInMonth=function fc(){return Gd(this.year(),this.month())},Je.week=Je.weeks=function mc(m){var P=this.localeData().week(this);return null==m?P:this.add(7*(m-P),"d")},Je.isoWeek=Je.isoWeeks=function $g(m){var P=Cn(this,1,4).week;return null==m?P:this.add(7*(m-P),"d")},Je.weeksInYear=function su(){var m=this.localeData()._week;return wa(this.year(),m.dow,m.doy)},Je.isoWeeksInYear=function yM(){return wa(this.year(),1,4)},Je.date=v_,Je.day=Je.days=function gc(m){if(!this.isValid())return null!=m?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=m?(m=function Gg(m,P){return"string"!=typeof m?m:isNaN(m)?"number"==typeof(m=P.weekdaysParse(m))?m:null:parseInt(m,10)}(m,this.localeData()),this.add(m-P,"d")):P},Je.weekday=function Xd(m){if(!this.isValid())return null!=m?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==m?P:this.add(m-P,"d")},Je.isoWeekday=function fl(m){if(!this.isValid())return null!=m?this:NaN;if(null!=m){var P=function qg(m,P){return"string"==typeof m?P.weekdaysParse(m)%7||7:isNaN(m)?null:m}(m,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},Je.dayOfYear=function Pf(m){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==m?P:this.add(m-P,"d")},Je.hour=Je.hours=bf,Je.minute=Je.minutes=au,Je.second=Je.seconds=y_,Je.millisecond=Je.milliseconds=MM,Je.utcOffset=function _l(m,P,j){var ne,$=this._offset||0;if(!this.isValid())return null!=m?this:NaN;if(null!=m){if("string"==typeof m){if(null===(m=Us(ya,m)))return this}else Math.abs(m)<16&&!j&&(m*=60);return!this._isUTC&&P&&(ne=Xr(this)),this._offset=m,this._isUTC=!0,null!=ne&&this.add(ne,"m"),$!==m&&(!P||this._changeInProgress?Dc(this,yr(m-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:Xr(this)},Je.utc=function vs(m){return this.utcOffset(0,m)},Je.local=function Xo(m){return this._isUTC&&(this.utcOffset(0,m),this._isUTC=!1,m&&this.subtract(Xr(this),"m")),this},Je.parseZone=function xc(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var m=Us(Bi,this._i);null!=m?this.utcOffset(m):this.utcOffset(0,!0)}return this},Je.hasAlignedHourOffset=function kc(m){return!!this.isValid()&&(m=m?Ut(m).utcOffset():0,(this.utcOffset()-m)%60==0)},Je.isDST=function en(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Je.isLocal=function nu(){return!!this.isValid()&&!this._isUTC},Je.isUtcOffset=function Sf(){return!!this.isValid()&&this._isUTC},Je.isUtc=ho,Je.isUTC=ho,Je.zoneAbbr=function wM(){return this._isUTC?"UTC":""},Je.zoneName=function CM(){return this._isUTC?"Coordinated Universal Time":""},Je.dates=J("dates accessor is deprecated. Use date instead.",v_),Je.months=J("months accessor is deprecated. Use month instead",qd),Je.years=J("years accessor is deprecated. Use year instead",Vg),Je.zone=J("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function kf(m,P){return null!=m?("string"!=typeof m&&(m=-m),this.utcOffset(m,P),this):-this.utcOffset()}),Je.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function rM(){if(!p(this._isDSTShifted))return this._isDSTShifted;var m={};if(Z(m,this),(m=gl(m))._a){var P=m._isUTC?L(m._a):Ut(m._a);this._isDSTShifted=this.isValid()&&ae(m._a,P.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Yn=st.prototype;function Ic(m,P,j,$){var ne=_s(),Le=L().set($,P);return ne[j](Le,m)}function Of(m,P,j){if(y(m)&&(P=m,m=void 0),m=m||"",null!=P)return Ic(m,P,j,"month");var $,ne=[];for($=0;$<12;$++)ne[$]=Ic(m,$,j,"month");return ne}function Pc(m,P,j,$){"boolean"==typeof m?(y(P)&&(j=P,P=void 0),P=P||""):(j=P=m,m=!1,y(P)&&(j=P,P=void 0),P=P||"");var ne=_s(),Le=m?ne._week.dow:0;if(null!=j)return Ic(P,(j+Le)%7,$,"day");var je,At=[];for(je=0;je<7;je++)At[je]=Ic(P,(je+Le)%7,$,"day");return At}Yn.calendar=function an(m,P,j){var $=this._calendar[m]||this._calendar.sameElse;return ke($)?$.call(P,j):$},Yn.longDateFormat=function Fn(m){var P=this._longDateFormat[m],j=this._longDateFormat[m.toUpperCase()];return P||!j?P:(this._longDateFormat[m]=j.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[m])},Yn.invalidDate=function Ge(){return this._invalidDate},Yn.ordinal=function dr(m){return this._ordinal.replace("%d",m)},Yn.preparse=Gi,Yn.postformat=Gi,Yn.relativeTime=function W(m,P,j,$){var ne=this._relativeTime[j];return ke(ne)?ne(m,P,j,$):ne.replace(/%d/i,m)},Yn.pastFuture=function se(m,P){var j=this._relativeTime[m>0?"future":"past"];return ke(j)?j(P):j.replace(/%s/i,P)},Yn.set=function Be(m){var P,j;for(j in m)ke(P=m[j])?this[j]=P:this["_"+j]=P;this._config=m,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yn.months=function tM(m,P){return m?f(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||jg).test(P)?"format":"standalone"][m.month()]:f(this._months)?this._months:this._months.standalone},Yn.monthsShort=function hc(m,P){return m?f(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[jg.test(P)?"format":"standalone"][m.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yn.monthsParse=function df(m,P,j){var $,ne,Le;if(this._monthsParseExact)return zg.call(this,m,P,j);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(ne=L([2e3,$]),j&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(ne,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(ne,"").replace(".","")+"$","i")),!j&&!this._monthsParse[$]&&(Le="^"+this.months(ne,"")+"|^"+this.monthsShort(ne,""),this._monthsParse[$]=new RegExp(Le.replace(".",""),"i")),j&&"MMMM"===P&&this._longMonthsParse[$].test(m))return $;if(j&&"MMM"===P&&this._shortMonthsParse[$].test(m))return $;if(!j&&this._monthsParse[$].test(m))return $}},Yn.monthsRegex=function Ct(m){return this._monthsParseExact?(D(this,"_monthsRegex")||pc.call(this),m?this._monthsStrictRegex:this._monthsRegex):(D(this,"_monthsRegex")||(this._monthsRegex=Ug),this._monthsStrictRegex&&m?this._monthsStrictRegex:this._monthsRegex)},Yn.monthsShortRegex=function hf(m){return this._monthsParseExact?(D(this,"_monthsRegex")||pc.call(this),m?this._monthsShortStrictRegex:this._monthsShortRegex):(D(this,"_monthsShortRegex")||(this._monthsShortRegex=Kd),this._monthsShortStrictRegex&&m?this._monthsShortStrictRegex:this._monthsShortRegex)},Yn.week=function nM(m){return Cn(m,this._week.dow,this._week.doy).week},Yn.firstDayOfYear=function Zd(){return this._week.doy},Yn.firstDayOfWeek=function hl(){return this._week.dow},Yn.weekdays=function Ca(m,P){return m?f(this._weekdays)?this._weekdays[m.day()]:this._weekdays[this._weekdays.isFormat.test(P)?"format":"standalone"][m.day()]:f(this._weekdays)?this._weekdays:this._weekdays.standalone},Yn.weekdaysMin=function we(m){return m?this._weekdaysMin[m.day()]:this._weekdaysMin},Yn.weekdaysShort=function gs(m){return m?this._weekdaysShort[m.day()]:this._weekdaysShort},Yn.weekdaysParse=function Qe(m,P,j){var $,ne,Le;if(this._weekdaysParseExact)return gf.call(this,m,P,j);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(ne=L([2e3,1]).day($),j&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(ne,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(ne,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(ne,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Le="^"+this.weekdays(ne,"")+"|^"+this.weekdaysShort(ne,"")+"|^"+this.weekdaysMin(ne,""),this._weekdaysParse[$]=new RegExp(Le.replace(".",""),"i")),j&&"dddd"===P&&this._fullWeekdaysParse[$].test(m))return $;if(j&&"ddd"===P&&this._shortWeekdaysParse[$].test(m))return $;if(j&&"dd"===P&&this._minWeekdaysParse[$].test(m))return $;if(!j&&this._weekdaysParse[$].test(m))return $}},Yn.weekdaysRegex=function Xg(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysStrictRegex:this._weekdaysRegex):(D(this,"_weekdaysRegex")||(this._weekdaysRegex=Zg),this._weekdaysStrictRegex&&m?this._weekdaysStrictRegex:this._weekdaysRegex)},Yn.weekdaysShortRegex=function Ko(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(D(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Jg),this._weekdaysShortStrictRegex&&m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yn.weekdaysMinRegex=function Dr(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(D(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Oo),this._weekdaysMinStrictRegex&&m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yn.isPM=function _f(m){return"p"===(m+"").toLowerCase().charAt(0)},Yn.meridiem=function pl(m,P,j){return m>11?j?"pm":"PM":j?"am":"AM"},Da("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var P=m%10;return m+(1===ee(m%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),v.lang=J("moment.lang is deprecated. Use moment.locale instead.",Da),v.langData=J("moment.langData is deprecated. Use moment.localeData instead.",_s);var No=Math.abs;function Un(m,P,j,$){var ne=yr(P,j);return m._milliseconds+=$*ne._milliseconds,m._days+=$*ne._days,m._months+=$*ne._months,m._bubble()}function wr(m){return m<0?Math.floor(m):Math.ceil(m)}function cu(m){return 4800*m/146097}function ys(m){return 146097*m/4800}function mo(m){return function(){return this.as(m)}}var L_=mo("ms"),Ms=mo("s"),Rf=mo("m"),E_=mo("h"),Nf=mo("d"),Yf=mo("w"),Hf=mo("M"),I_=mo("y");function Ia(m){return function(){return this.isValid()?this._data[m]:NaN}}var P_=Ia("milliseconds"),O_=Ia("seconds"),A_=Ia("minutes"),Vf=Ia("hours"),Pa=Ia("days"),F_=Ia("months"),R_=Ia("years");var ws=Math.round,Yo={ss:44,s:45,m:45,h:22,d:26,M:11};function Ve(m,P,j,$,ne){return ne.relativeTime(P||1,!!j,m,$)}var Ac=Math.abs;function Ho(m){return(m>0)-(m<0)||+m}function Br(){if(!this.isValid())return this.localeData().invalidDate();var $,ne,m=Ac(this._milliseconds)/1e3,P=Ac(this._days),j=Ac(this._months);$=Q(m/60),ne=Q($/60),m%=60,$%=60;var je=Q(j/12),At=j%=12,Wt=P,Di=ne,Vr=$,bl=m?m.toFixed(3).replace(/\.?0+$/,""):"",vl=this.asSeconds();if(!vl)return"P0D";var du=vl<0?"-":"",Fc=Ho(this._months)!==Ho(vl)?"-":"",jf=Ho(this._days)!==Ho(vl)?"-":"",yl=Ho(this._milliseconds)!==Ho(vl)?"-":"";return du+"P"+(je?Fc+je+"Y":"")+(At?Fc+At+"M":"")+(Wt?jf+Wt+"D":"")+(Di||Vr||bl?"T":"")+(Di?yl+Di+"H":"")+(Vr?yl+Vr+"M":"")+(bl?yl+bl+"S":"")}var tn=Et.prototype;return tn.isValid=function La(){return this._isValid},tn.abs=function Ff(){var m=this._data;return this._milliseconds=No(this._milliseconds),this._days=No(this._days),this._months=No(this._months),m.milliseconds=No(m.milliseconds),m.seconds=No(m.seconds),m.minutes=No(m.minutes),m.hours=No(m.hours),m.months=No(m.months),m.years=No(m.years),this},tn.add=function S_(m,P){return Un(this,m,P,1)},tn.subtract=function Oc(m,P){return Un(this,m,P,-1)},tn.as=function Tr(m){if(!this.isValid())return NaN;var P,j,$=this._milliseconds;if("month"===(m=fe(m))||"year"===m)return j=this._months+cu(P=this._days+$/864e5),"month"===m?j:j/12;switch(P=this._days+Math.round(ys(this._months)),m){case"week":return P/7+$/6048e5;case"day":return P+$/864e5;case"hour":return 24*P+$/36e5;case"minute":return 1440*P+$/6e4;case"second":return 86400*P+$/1e3;case"millisecond":return Math.floor(864e5*P)+$;default:throw new Error("Unknown unit "+m)}},tn.asMilliseconds=L_,tn.asSeconds=Ms,tn.asMinutes=Rf,tn.asHours=E_,tn.asDays=Nf,tn.asWeeks=Yf,tn.asMonths=Hf,tn.asYears=I_,tn.valueOf=function T_(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ee(this._months/12):NaN},tn._bubble=function D_(){var ne,Le,je,At,Wt,m=this._milliseconds,P=this._days,j=this._months,$=this._data;return m>=0&&P>=0&&j>=0||m<=0&&P<=0&&j<=0||(m+=864e5*wr(ys(j)+P),P=0,j=0),$.milliseconds=m%1e3,ne=Q(m/1e3),$.seconds=ne%60,Le=Q(ne/60),$.minutes=Le%60,je=Q(Le/60),$.hours=je%24,P+=Q(je/24),j+=Wt=Q(cu(P)),P-=wr(ys(Wt)),At=Q(j/12),j%=12,$.days=P,$.months=j,$.years=At,this},tn.clone=function Tt(){return yr(this)},tn.get=function Bf(m){return m=fe(m),this.isValid()?this[m+"s"]():NaN},tn.milliseconds=P_,tn.seconds=O_,tn.minutes=A_,tn.hours=Vf,tn.days=Pa,tn.weeks=function N_(){return Q(this.days()/7)},tn.months=F_,tn.years=R_,tn.humanize=function nr(m){if(!this.isValid())return this.localeData().invalidDate();var P=this.localeData(),j=function dn(m,P,j){var $=yr(m).abs(),ne=ws($.as("s")),Le=ws($.as("m")),je=ws($.as("h")),At=ws($.as("d")),Wt=ws($.as("M")),Di=ws($.as("y")),Vr=ne<=Yo.ss&&["s",ne]||ne0,Vr[4]=j,Ve.apply(null,Vr)}(this,!m,P);return m&&(j=P.pastFuture(+this,j)),P.postformat(j)},tn.toISOString=Br,tn.toString=Br,tn.toJSON=Br,tn.locale=ru,tn.localeData=f_,tn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Br),tn.lang=h_,ot("X",0,0,"unix"),ot("x",0,0,"valueOf"),_t("x",va),_t("X",/[+-]?\d+(\.\d{1,3})?/),En("X",function(m,P,j){j._d=new Date(1e3*parseFloat(m,10))}),En("x",function(m,P,j){j._d=new Date(ee(m))}),v.version="2.22.2",function u(m){O=m}(Ut),v.fn=Je,v.min=function uo(){return Jn("isBefore",[].slice.call(arguments,0))},v.max=function Bs(){return Jn("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=L,v.unix=function w_(m){return Ut(1e3*m)},v.months=function Af(m,P){return Of(m,P,"months")},v.isDate=x,v.locale=Da,v.invalid=oe,v.duration=yr,v.isMoment=q,v.weekdays=function lu(m,P,j){return Pc(m,P,j,"weekdays")},v.parseZone=function C_(){return Ut.apply(null,arguments).parseZone()},v.localeData=_s,v.isDuration=js,v.monthsShort=function x_(m,P){return Of(m,P,"monthsShort")},v.weekdaysMin=function Ro(m,P,j){return Pc(m,P,j,"weekdaysMin")},v.defineLocale=yc,v.updateLocale=function Qg(m,P){if(null!=P){var j,$,ne=Jd;null!=($=ml(m))&&(ne=$._config),(j=new st(P=tt(ne,P))).parentLocale=hi[m],hi[m]=j,Da(m)}else null!=hi[m]&&(null!=hi[m].parentLocale?hi[m]=hi[m].parentLocale:null!=hi[m]&&delete hi[m]);return hi[m]},v.locales=function co(){return at(hi)},v.weekdaysShort=function k_(m,P,j){return Pc(m,P,j,"weekdaysShort")},v.normalizeUnits=fe,v.relativeTimeRounding=function Pe(m){return void 0===m?ws:"function"==typeof m&&(ws=m,!0)},v.relativeTimeThreshold=function Oe(m,P){return void 0!==Yo[m]&&(void 0===P?Yo[m]:(Yo[m]=P,"s"===m&&(Yo.ss=P-1),!0))},v.calendarFormat=function fo(m,P){var j=m.diff(P,"days",!0);return j<-6?"sameElse":j<-1?"lastWeek":j<0?"lastDay":j<1?"sameDay":j<2?"nextDay":j<7?"nextWeek":"sameElse"},v.prototype=Je,v.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"},v}()},6700:(de,ge,Y)=>{var O={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function v(f){var h=u(f);return Y(h)}function u(f){if(!Y.o(O,f)){var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}return O[f]}v.keys=function(){return Object.keys(O)},v.resolve=u,de.exports=v,v.id=6700},6297:(de,ge,Y)=>{var O={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function v(u){if(!Y.o(O,u))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+u+"'");throw M.code="MODULE_NOT_FOUND",M});var f=O[u],h=f[0];return Y.e(f[1]).then(()=>Y.t(h,19))}v.keys=()=>Object.keys(O),v.id=6297,de.exports=v}},de=>{de(de.s=2904)}]); \ No newline at end of file diff --git a/pkg/visor/static/main.cb738937d19ee2f0.js b/pkg/visor/static/main.cb738937d19ee2f0.js new file mode 100644 index 0000000000..54814e610d --- /dev/null +++ b/pkg/visor/static/main.cb738937d19ee2f0.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{2904:(de,ge,Y)=>{"use strict";function O(t){return"function"==typeof t}let v=!1;const u={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else v&&console.log("RxJS: Back to a better error behavior. Thank you. <3");v=t},get useDeprecatedSynchronousErrorHandling(){return v}};function f(t){setTimeout(()=>{throw t},0)}const h={closed:!0,next(t){},error(t){if(u.useDeprecatedSynchronousErrorHandling)throw t;f(t)},complete(){}},M=Array.isArray||(t=>t&&"number"==typeof t.length);function p(t){return null!==t&&"object"==typeof t}const x=(()=>{function t(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((e,i)=>`${i+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return t.prototype=Object.create(Error.prototype),t})();class T{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:e,_ctorUnsubscribe:i,_unsubscribe:o,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof T)e.remove(this);else if(null!==e)for(let a=0;an.concat(e instanceof x?e.errors:e),[])}T.EMPTY=((t=new T).closed=!0,t);const S="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class A extends T{constructor(n,e,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h;break;case 1:if(!n){this.destination=h;break}if("object"==typeof n){n instanceof A?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,n,e,i)}}[S](){return this}static create(n,e,i){const o=new A(n,e,i);return o.syncErrorThrowable=!1,o}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class U extends A{constructor(n,e,i,o){super(),this._parentSubscriber=n;let s,a=this;O(e)?s=e:e&&(s=e.next,i=e.error,o=e.complete,e!==h&&(a=Object.create(e),O(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=i,this._complete=o}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;u.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:i}=u;if(this._error)i&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(e.syncErrorThrowable)i?(e.syncErrorValue=n,e.syncErrorThrown=!0):f(n),this.unsubscribe();else{if(this.unsubscribe(),i)throw n;f(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const e=()=>this._complete.call(this._context);u.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,e){try{n.call(this._context,e)}catch(i){if(this.unsubscribe(),u.useDeprecatedSynchronousErrorHandling)throw i;f(i)}}__tryOrSetError(n,e,i){if(!u.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,i)}catch(o){return u.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=o,n.syncErrorThrown=!0,!0):(f(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const oe="function"==typeof Symbol&&Symbol.observable||"@@observable";function ye(t){return t}function X(t){return 0===t.length?ye:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}let he=(()=>{class t{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const{operator:s}=this,a=function K(t,n,e){if(t){if(t instanceof A)return t;if(t[S])return t[S]()}return t||n||e?new A(t,n,e):new A(h)}(e,i,o);if(a.add(s?s.call(a,this.source):this.source||u.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),u.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){u.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=i),function B(t){for(;t;){const{closed:n,destination:e,isStopped:i}=t;if(n||i)return!1;t=e&&e instanceof A?e:null}return!0}(e)?e.error(i):console.warn(i)}}forEach(e,i){return new(i=q(i))((o,s)=>{let a;a=this.subscribe(l=>{try{e(l)}catch(d){s(d),a&&a.unsubscribe()}},s,o)})}_subscribe(e){const{source:i}=this;return i&&i.subscribe(e)}[oe](){return this}pipe(...e){return 0===e.length?this:X(e)(this)}toPromise(e){return new(e=q(e))((i,o)=>{let s;this.subscribe(a=>s=a,a=>o(a),()=>i(s))})}}return t.create=n=>new t(n),t})();function q(t){if(t||(t=u.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const ee=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class ae extends T{constructor(n,e){super(),this.subject=n,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,e=n.observers;if(this.subject=null,!e||0===e.length||n.isStopped||n.closed)return;const i=e.indexOf(this.subscriber);-1!==i&&e.splice(i,1)}}class le extends A{constructor(n){super(n),this.destination=n}}let J=(()=>{class t extends he{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[S](){return new le(this)}lift(e){const i=new Te(this,this);return i.operator=e,i}next(e){if(this.closed)throw new ee;if(!this.isStopped){const{observers:i}=this,o=i.length,s=i.slice();for(let a=0;anew Te(n,e),t})();class Te extends J{constructor(n,e){super(),this.destination=n,this.source=e}next(n){const{destination:e}=this;e&&e.next&&e.next(n)}error(n){const{destination:e}=this;e&&e.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:e}=this;return e?this.source.subscribe(n):T.EMPTY}}function Se(t){return t&&"function"==typeof t.schedule}function ke(t,n){return function(i){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new Be(t,n))}}class Be{constructor(n,e){this.project=n,this.thisArg=e}call(n,e){return e.subscribe(new tt(n,this.project,this.thisArg))}}class tt extends A{constructor(n,e,i){super(n),this.project=e,this.count=0,this.thisArg=i||this}_next(n){let e;try{e=this.project.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(e)}}const st=t=>n=>{for(let e=0,i=t.length;et&&"number"==typeof t.length&&"function"!=typeof t;function Ni(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const Yi=t=>{if(t&&"function"==typeof t[oe])return(t=>n=>{const e=t[oe]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(n)})(t);if(Ge(t))return st(t);if(Ni(t))return(t=>n=>(t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,f),n))(t);if(t&&"function"==typeof t[an])return(t=>n=>{const e=t[an]();for(;;){let i;try{i=e.next()}catch(o){return n.error(o),n}if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof e.return&&n.add(()=>{e.return&&e.return()}),n})(t);{const e=`You provided ${p(t)?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(e)}};function W(t,n){return new he(e=>{const i=new T;let o=0;return i.add(n.schedule(function(){o!==t.length?(e.next(t[o++]),e.closed||i.add(this.schedule())):e.complete()})),i})}function ue(t,n){return n?function fe(t,n){if(null!=t){if(function te(t){return t&&"function"==typeof t[oe]}(t))return function dr(t,n){return new he(e=>{const i=new T;return i.add(n.schedule(()=>{const o=t[oe]();i.add(o.subscribe({next(s){i.add(n.schedule(()=>e.next(s)))},error(s){i.add(n.schedule(()=>e.error(s)))},complete(){i.add(n.schedule(()=>e.complete()))}}))})),i})}(t,n);if(Ni(t))return function Xe(t,n){return new he(e=>{const i=new T;return i.add(n.schedule(()=>t.then(o=>{i.add(n.schedule(()=>{e.next(o),i.add(n.schedule(()=>e.complete()))}))},o=>{i.add(n.schedule(()=>e.error(o)))}))),i})}(t,n);if(Ge(t))return W(t,n);if(function pe(t){return t&&"function"==typeof t[an]}(t)||"string"==typeof t)return function se(t,n){if(!t)throw new Error("Iterable cannot be null");return new he(e=>{const i=new T;let o;return i.add(()=>{o&&"function"==typeof o.return&&o.return()}),i.add(n.schedule(()=>{o=t[an](),i.add(n.schedule(function(){if(e.closed)return;let s,a;try{const l=o.next();s=l.value,a=l.done}catch(l){return void e.error(l)}a?e.complete():(e.next(s),this.schedule())}))})),i})}(t,n)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,n):t instanceof he?t:new he(Yi(t))}class be extends A{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Me extends A{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function Ie(t,n){if(n.closed)return;if(t instanceof he)return t.subscribe(n);let e;try{e=Yi(t)(n)}catch(i){n.error(i)}return e}function Ne(t,n,e=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(Ne((o,s)=>ue(t(o,s)).pipe(ke((a,l)=>n(o,a,s,l))),e)):("number"==typeof n&&(e=n),i=>i.lift(new ut(t,e)))}class ut{constructor(n,e=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=e}call(n,e){return e.subscribe(new gt(n,this.project,this.concurrent))}}class gt extends Me{constructor(n,e,i=Number.POSITIVE_INFINITY){super(n),this.project=e,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function fn(t=Number.POSITIVE_INFINITY){return Ne(ye,t)}function Rn(t,n){return n?W(t,n):new he(st(t))}function bt(...t){let n=Number.POSITIVE_INFINITY,e=null,i=t[t.length-1];return Se(i)?(e=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===e&&1===t.length&&t[0]instanceof he?t[0]:fn(n)(Rn(t,e))}function qt(){return function(n){return n.lift(new Gn(n))}}class Gn{constructor(n){this.connectable=n}call(n,e){const{connectable:i}=this;i._refCount++;const o=new oi(n,i),s=e.subscribe(o);return o.closed||(o.connection=i.connect()),s}}class oi extends A{constructor(n,e){super(n),this.connectable=e}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const e=n._refCount;if(e<=0)return void(this.connection=null);if(n._refCount=e-1,e>1)return void(this.connection=null);const{connection:i}=this,o=n._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()}}class Kr extends he{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new T,n.add(this.source.subscribe(new Hi(this.getSubject(),this))),n.closed&&(this._connection=null,n=T.EMPTY)),n}refCount(){return qt()(this)}}const Io=(()=>{const t=Kr.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}}})();class Hi extends le{constructor(n,e){super(n),this.connectable=e}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const e=n._connection;n._refCount=0,n._subject=null,n._connection=null,e&&e.unsubscribe()}}}class Nn{constructor(n,e){this.subjectFactory=n,this.selector=e}call(n,e){const{selector:i}=this,o=this.subjectFactory(),s=i(o).subscribe(n);return s.add(e.subscribe(o)),s}}function Ud(){return new J}function fl(){return t=>qt()(function si(t,n){return function(i){let o;if(o="function"==typeof t?t:function(){return t},"function"==typeof n)return i.lift(new Nn(o,n));const s=Object.create(i,Io);return s.source=i,s.subjectFactory=o,s}}(Ud)(t))}function Sn(t){for(let n in t)if(t[n]===Sn)return n;throw Error("Could not find renamed property on target object.")}function wa(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Bi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Bi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Ca(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const Vg=Sn({__forward_ref__:Sn});function pn(t){return t.__forward_ref__=pn,t.toString=function(){return Bi(this())},t}function Dt(t){return _t(t)?t():t}function _t(t){return"function"==typeof t&&t.hasOwnProperty(Vg)&&t.__forward_ref__===pn}function Wd(t){return t&&!!t.\u0275providers}const hs="https://g.co/ng/security#xss";class Fe extends Error{constructor(n,e){super(function En(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function xt(t){return"string"==typeof t?t:null==t?"":String(t)}function ai(t,n){throw new Fe(-201,!1)}function Zr(t,n){null==t&&function wn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ye(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Nt(t){return{providers:t.providers||[],imports:t.imports||[]}}function fc(t){return uf(t,pc)||uf(t,ff)}function uf(t,n){return t.hasOwnProperty(n)?t[n]:null}function Kd(t){return t&&(t.hasOwnProperty(Zd)||t.hasOwnProperty(Wg))?t[Zd]:null}const pc=Sn({\u0275prov:Sn}),Zd=Sn({\u0275inj:Sn}),ff=Sn({ngInjectableDef:Sn}),Wg=Sn({ngInjectorDef:Sn});var Ct=(()=>((Ct=Ct||{})[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional",Ct))();let mc;function Wi(t){const n=mc;return mc=t,n}function pl(t,n,e){const i=fc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ct.Optional?null:void 0!==n?n:void ai(Bi(t))}const Cn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ml={},Xd="__NG_DI_FLAG__",gc="ngTempTokenPath",qg=/\n/gm,mf="__source";let Sa;function gs(t){const n=Sa;return Sa=t,n}function Zg(t,n=Ct.Default){if(void 0===Sa)throw new Fe(-203,!1);return null===Sa?pl(t,void 0,n):Sa.get(t,n&Ct.Optional?null:void 0,n)}function we(t,n=Ct.Default){return(function pf(){return mc}()||Zg)(Dt(t),n)}function Qe(t,n=Ct.Default){return we(t,_c(n))}function _c(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Jd(t){const n=[];for(let e=0;e((Oo=Oo||{})[Oo.OnPush=0]="OnPush",Oo[Oo.Default=1]="Default",Oo))(),Dr=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Dr||(Dr={})),Dr))();const lo={},cn=[],bc=Sn({\u0275cmp:Sn}),vc=Sn({\u0275dir:Sn}),yc=Sn({\u0275pipe:Sn}),bf=Sn({\u0275mod:Sn}),Zo=Sn({\u0275fac:Sn}),_l=Sn({__NG_ELEMENT_ID__:Sn}),vf=Sn({__NG_ENV_ID__:Sn});function Qd(t,n,e){let i=t.length;for(;;){const o=t.indexOf(n,e);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const s=n.length;if(o+s===i||t.charCodeAt(o+s)<=32)return o}e=o+1}}function hi(t,n,e){let i=0;for(;in){a=s-1;break}}}for(;ss?"":o[F+1].toLowerCase();const ie=8&i?G:null;if(ie&&-1!==Qd(ie,_,0)||2&i&&_!==G){if(co(i))return!1;a=!0}}}}else{if(!a&&!co(i)&&!co(d))return!1;if(a&&co(d))continue;a=!1,i=d|1&i}}return co(i)||a}function co(t){return 0==(1&t)}function eu(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let s=!1;for(;o-1)for(e++;e0?'="'+l+'"':"")+"]"}else 8&i?o+="."+a:4&i&&(o+=" "+a);else""!==o&&!co(a)&&(n+=Mf(s,o),o=""),i=a,s=s||!co(i);e++}return""!==o&&(n+=Mf(s,o)),n}function Ke(t){return Ko(()=>{const n=Cf(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Oo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||Dr.Emulated,styles:t.styles||cn,_:null,schemas:t.schemas||null,tView:null,id:""};xf(e);const i=t.dependencies;return e.directiveDefs=vl(i,!1),e.pipeDefs=vl(i,!0),e.id=function kf(t){let n=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of e)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(e),e})}function Cc(t,n,e){const i=t.\u0275cmp;i.directiveDefs=vl(n,!1),i.pipeDefs=vl(e,!0)}function o_(t){return gn(t)||hr(t)}function s_(t){return null!==t}function Vt(t){return Ko(()=>({type:t.type,bootstrap:t.bootstrap||cn,declarations:t.declarations||cn,imports:t.imports||cn,exports:t.exports||cn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function wf(t,n){if(null==t)return lo;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),e[o]=i,n&&(n[o]=s)}return e}function Ze(t){return Ko(()=>{const n=Cf(t);return xf(n),n})}function ur(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function gn(t){return t[bc]||null}function hr(t){return t[vc]||null}function fr(t){return t[yc]||null}function Yr(t,n){const e=t[bf]||null;if(!e&&!0===n)throw new Error(`Type ${Bi(t)} does not have '\u0275mod' property.`);return e}function Cf(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||cn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:wf(t.inputs,n),outputs:wf(t.outputs)}}function xf(t){t.features?.forEach(n=>n(t))}function vl(t,n){if(!t)return null;const e=n?fr:o_;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(s_)}const Ut=0,lt=1,Ht=2,Jn=3,uo=4,js=5,pr=6,Ao=7,li=8,Pa=9,zs=10,Et=11,Us=12,xc=13,Ws=14,Si=15,$s=16,bs=17,Xr=18,yl=19,Sf=20,vs=21,Xo=22,kc=23,Sc=24,en=25,iu=1,Df=2,ho=7,Dc=8,Oa=9,ii=11;function Hr(t){return Array.isArray(t)&&"object"==typeof t[iu]}function Mr(t){return Array.isArray(t)&&!0===t[iu]}function Tc(t){return 0!=(4&t.flags)}function Gs(t){return t.componentOffset>-1}function Lc(t){return 1==(1&t.flags)}function fo(t){return!!t.template}function ru(t){return 0!=(512&t[Ht])}function qs(t,n){return t.hasOwnProperty(Zo)?t[Zo]:null}let g_=Cn.WeakRef??class m_{constructor(n){this.ref=n}deref(){return this.ref}},b_=0,Fo=null,Ks=!1;function $i(t){const n=Fo;return Fo=t,n}class Pf{constructor(){this.id=b_++,this.ref=function __(t){return new g_(t)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,e]of this.producers){const i=e.producerNode.deref();if(void 0!==i&&e.atTrackingVersion===this.trackingVersion){if(i.producerPollStatus(e.seenValueVersion))return!0}else this.producers.delete(n),i?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=Ks;Ks=!0;try{for(const[e,i]of this.consumers){const o=i.consumerNode.deref();void 0!==o&&o.trackingVersion===i.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(e),o?.producers.delete(this.id))}}finally{Ks=n}}producerAccessed(){if(Ks)throw new Error("");if(null===Fo)return;let n=Fo.producers.get(this.id);void 0===n?(n={consumerNode:Fo.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Fo.trackingVersion},Fo.producers.set(this.id,n),this.consumers.set(Fo.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=Fo.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==Fo?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let Of=null;const Je=()=>{};class C_ extends Pf{constructor(n,e,i){super(),this.watch=n,this.schedule=e,this.dirty=!1,this.cleanupFn=Je,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=i}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=$i(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Je,this.watch(this.registerOnCleanup)}finally{$i(n)}}cleanup(){this.cleanupFn()}}class x_{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Gi(){return Yn}function Yn(t){return t.type.prototype.ngOnChanges&&(t.setInput=Af),Pc}function Pc(){const t=Ff(this),n=t?.current;if(n){const e=t.previous;if(e===lo)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Af(t,n,e,i){const o=this.declaredInputs[e],s=Ff(t)||function k_(t,n){return t[Oc]=n}(t,{previous:lo,current:null}),a=s.current||(s.current={}),l=s.previous,d=l[o];a[o]=new x_(d&&d.currentValue,n,l===lo),t[i]=n}Gi.ngInherit=!0;const Oc="__ngSimpleChanges__";function Ff(t){return t[Oc]||null}const Ro=function(t,n,e){},No="svg";function Un(t){for(;Array.isArray(t);)t=t[Ut];return t}function Ac(t,n){return Un(n[t])}function wr(t,n){return Un(n[t.index])}function du(t,n){return t.data[n]}function ys(t,n){return t[n]}function Tr(t,n){const e=n[t];return Hr(e)?e:e[Ut]}function mo(t){return 128==(128&t[Ht])}function Ms(t,n){return null==n?null:t[n]}function Nf(t){t[bs]=0}function I_(t){1024&t[Ht]||(t[Ht]|=1024,Hf(t,1))}function Yf(t){1024&t[Ht]&&(t[Ht]&=-1025,Hf(t,-1))}function Hf(t,n){let e=t[Jn];if(null===e)return;e[js]+=n;let i=e;for(e=e[Jn];null!==e&&(1===n&&1===i[js]||-1===n&&0===i[js]);)e[js]+=n,i=e,e=e[Jn]}const Tt={lFrame:SM(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function jf(){return Tt.bindingsEnabled}function Fa(){return null!==Tt.skipHydrationRootTNode}function Ve(){return Tt.lFrame.lView}function dn(){return Tt.lFrame.tView}function Pe(t){return Tt.lFrame.contextLView=t,t[li]}function Oe(t){return Tt.lFrame.contextLView=null,t}function nr(){let t=Fc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Fc(){return Tt.lFrame.currentTNode}function Br(t,n){const e=Tt.lFrame;e.currentTNode=t,e.isParent=n}function tn(){return Tt.lFrame.isParent}function m(){Tt.lFrame.isParent=!1}function ne(){const t=Tt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function At(){return Tt.lFrame.bindingIndex++}function Wt(t){const n=Tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function Ml(t,n){const e=Tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,uu(n)}function uu(t){Tt.lFrame.currentDirectiveIndex=t}function Rc(t){const n=Tt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function zf(){return Tt.lFrame.currentQueryIndex}function Cl(t){Tt.lFrame.currentQueryIndex=t}function qP(t){const n=t[lt];return 2===n.type?n.declTNode:1===n.type?t[pr]:null}function xM(t,n,e){if(e&Ct.SkipSelf){let o=n,s=t;for(;!(o=o.parent,null!==o||e&Ct.Host||(o=qP(s),null===o||(s=s[Ws],10&o.type))););if(null===o)return!1;n=o,t=s}const i=Tt.lFrame=kM();return i.currentTNode=n,i.lView=t,!0}function H_(t){const n=kM(),e=t[lt];Tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function kM(){const t=Tt.lFrame,n=null===t?null:t.child;return null===n?SM(t):n}function SM(t){const n={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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function DM(){const t=Tt.lFrame;return Tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const TM=DM;function B_(){const t=DM();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function jr(){return Tt.lFrame.selectedIndex}function xl(t){Tt.lFrame.selectedIndex=t}function fi(){const t=Tt.lFrame;return du(t.tView,t.selectedIndex)}function kl(){Tt.lFrame.currentNamespace=No}function Uf(){!function JP(){Tt.lFrame.currentNamespace=null}()}let EM=!0;function Wf(){return EM}function Ra(t){EM=t}function $f(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[d]<0&&(t[bs]+=65536),(l>12>16&&(3&t[Ht])===n&&(t[Ht]+=4096,PM(l,s)):PM(l,s)}const Nc=-1;class hu{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function OM(t){return t!==Nc}function Kf(t){return 32767&t}function Zf(t,n){let e=function rO(t){return t>>16}(t),i=n;for(;e>0;)i=i[Ws],e--;return i}let z_=!0;function Xf(t){const n=z_;return z_=t,n}const AM=255,FM=5;let oO=0;const Cs={};function Jf(t,n){const e=RM(t,n);if(-1!==e)return e;const i=n[lt];i.firstCreatePass&&(t.injectorIndex=n.length,U_(i.data,t),U_(n,null),U_(i.blueprint,null));const o=W_(t,n),s=t.injectorIndex;if(OM(o)){const a=Kf(o),l=Zf(o,n),d=l[lt].data;for(let _=0;_<8;_++)n[s+_]=l[a+_]|d[a+_]}return n[s+8]=o,s}function U_(t,n){t.push(0,0,0,0,0,0,0,0,n)}function RM(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function W_(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){if(i=zM(o),null===i)return Nc;if(e++,o=o[Ws],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Nc}function $_(t,n,e){!function sO(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(_l)&&(i=e[_l]),null==i&&(i=e[_l]=oO++);const o=i&AM;n.data[t+(o>>FM)]|=1<=0?n&AM:dO:n}(e);if("function"==typeof s){if(!xM(n,t,i))return i&Ct.Host?NM(o,0,i):YM(n,e,i,o);try{const a=s(i);if(null!=a||i&Ct.Optional)return a;ai()}finally{TM()}}else if("number"==typeof s){let a=null,l=RM(t,n),d=Nc,_=i&Ct.Host?n[Si][pr]:null;for((-1===l||i&Ct.SkipSelf)&&(d=-1===l?W_(t,n):n[l+8],d!==Nc&&jM(i,!1)?(a=n[lt],l=Kf(d),n=Zf(d,n)):l=-1);-1!==l;){const E=n[lt];if(VM(s,l,E.data)){const F=lO(l,n,e,a,i,_);if(F!==Cs)return F}d=n[l+8],d!==Nc&&jM(i,n[lt].data[l+8]===_)&&VM(s,l,n)?(a=E,l=Kf(d),n=Zf(d,n)):l=-1}}return o}function lO(t,n,e,i,o,s){const a=n[lt],l=a.data[t+8],E=Qf(l,a,e,null==i?Gs(l)&&z_:i!=a&&0!=(3&l.type),o&Ct.Host&&s===l);return null!==E?Sl(n,a,E,l):Cs}function Qf(t,n,e,i,o){const s=t.providerIndexes,a=n.data,l=1048575&s,d=t.directiveStart,E=s>>20,G=o?l+E:t.directiveEnd;for(let ie=i?l:l+E;ie=d&&_e.type===e)return ie}if(o){const ie=a[d];if(ie&&fo(ie)&&ie.type===e)return d}return null}function Sl(t,n,e,i){let o=t[e];const s=n.data;if(function tO(t){return t instanceof hu}(o)){const a=o;a.resolving&&function ao(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Fe(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Mn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():xt(t)}(s[e]));const l=Xf(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?Wi(a.injectImpl):null;xM(t,i,Ct.Default);try{o=t[e]=a.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function QP(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:s}=n.type.prototype;if(i){const a=Yn(n);(e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a)}o&&(e.preOrderHooks??=[]).push(0-t,o),s&&((e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s))}(e,s[e],n)}finally{null!==d&&Wi(d),Xf(l),a.resolving=!1,TM()}}return o}function VM(t,n,e){return!!(e[n+(t>>FM)]&1<{const n=t.prototype.constructor,e=n[Zo]||G_(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const s=o[Zo]||G_(o);if(s&&s!==e)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function G_(t){return _t(t)?()=>{const n=G_(Dt(t));return n&&n()}:qs(t)}function zM(t){const n=t[lt],e=n.type;return 2===e?n.declTNode:1===e?t[pr]:null}function Na(t){return function aO(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{const i=function q_(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...s){if(this instanceof o)return i.apply(this,s),this;const a=new o(...s);return l.annotation=a,l;function l(d,_,E){const F=d.hasOwnProperty(Bc)?d[Bc]:Object.defineProperty(d,Bc,{value:[]})[Bc];for(;F.length<=E;)F.push(null);return(F[E]=F[E]||[]).push(a),d}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}function mu(t,n){t.forEach(e=>Array.isArray(e)?mu(e,n):n(e))}function WM(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function ep(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function gu(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function gO(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function K_(t,n){const e=zc(t,n);if(e>=0)return t[1|e]}function zc(t,n){return function $M(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const s=i+(o-i>>1),a=t[s<n?o=s:i=s+1}return~(o<((Jr=Jr||{})[Jr.Important=1]="Important",Jr[Jr.DashCase=2]="DashCase",Jr))();const NO=/^>|^->||--!>|)/,HO="\u200b$1\u200b";const tb=new Map;let BO=0;const ib="__ngContext__";function Lr(t,n){Hr(n)?(t[ib]=n[yl],function jO(t){tb.set(t[yl],t)}(n)):t[ib]=n}let rb;function ob(t,n){return rb(t,n)}function yu(t){const n=t[Jn];return Mr(n)?n[Jn]:n}function sb(t){return uw(t[Us])}function ab(t){return uw(t[uo])}function uw(t){for(;null!==t&&!Mr(t);)t=t[uo];return t}function $c(t,n,e,i,o){if(null!=i){let s,a=!1;Mr(i)?s=i:Hr(i)&&(a=!0,i=i[Ut]);const l=Un(i);0===t&&null!==e?null==o?gw(n,e,l):Tl(n,e,l,o||null,!0):1===t&&null!==e?Tl(n,e,l,o||null,!0):2===t?function up(t,n,e){const i=cp(t,n);i&&function aA(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,l,a):3===t&&n.destroyNode(l),null!=s&&function dA(t,n,e,i,o){const s=e[ho];s!==Un(e)&&$c(n,t,i,s,o);for(let l=ii;ln.replace(YO,HO))}(n))}function lp(t,n,e){return t.createElement(n,e)}function fw(t,n){const e=t[Oa],i=e.indexOf(n);Yf(n),e.splice(i,1)}function cb(t,n){if(t.length<=ii)return;const e=ii+n,i=t[e];if(i){const o=i[$s];null!==o&&o!==t&&fw(o,i),n>0&&(t[e-1][uo]=i[uo]);const s=ep(t,ii+n);!function QO(t,n){wu(t,n,n[Et],2,null,null),n[Ut]=null,n[pr]=null}(i[lt],i);const a=s[Xr];null!==a&&a.detachView(s[lt]),i[Jn]=null,i[uo]=null,i[Ht]&=-129}return i}function pw(t,n){if(!(256&n[Ht])){const e=n[Et];n[kc]?.destroy(),n[Sc]?.destroy(),e.destroyNode&&wu(t,n,e,3,null,null),function nA(t){let n=t[Us];if(!n)return db(t[lt],t);for(;n;){let e=null;if(Hr(n))e=n[Us];else{const i=n[ii];i&&(e=i)}if(!e){for(;n&&!n[uo]&&n!==t;)Hr(n)&&db(n[lt],n),n=n[Jn];null===n&&(n=t),Hr(n)&&db(n[lt],n),e=n&&n[uo]}n=e}}(n)}}function db(t,n){if(!(256&n[Ht])){n[Ht]&=-129,n[Ht]|=256,function sA(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[a]():i[-a].unsubscribe(),s+=2}else e[s].call(i[e[s+1]]);null!==i&&(n[Ao]=null);const o=n[vs];if(null!==o){n[vs]=null;for(let s=0;s-1){const{encapsulation:s}=t.data[i.directiveStart+o];if(s===Dr.None||s===Dr.Emulated)return null}return wr(i,e)}}(t,n.parent,e)}function Tl(t,n,e,i,o){t.insertBefore(n,e,i,o)}function gw(t,n,e){t.appendChild(n,e)}function _w(t,n,e,i,o){null!==i?Tl(t,n,e,i,o):gw(t,n,e)}function cp(t,n){return t.parentNode(n)}function bw(t,n,e){return yw(t,n,e)}let hb,hp,gb,fp,yw=function vw(t,n,e){return 40&t.type?wr(t,e):null};function dp(t,n,e,i){const o=ub(t,i,n),s=n[Et],l=bw(i.parent||n[pr],i,n);if(null!=o)if(Array.isArray(e))for(let d=0;dt,createScript:t=>t,createScriptURL:t=>t})}catch{}return hp}()?.createHTML(t)||t}function Lw(t){return function _b(){if(void 0===fp&&(fp=null,Cn.trustedTypes))try{fp=Cn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return fp}()?.createScriptURL(t)||t}class Ll{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${hs})`}}class _A extends Ll{getTypeName(){return"HTML"}}class bA extends Ll{getTypeName(){return"Style"}}class vA extends Ll{getTypeName(){return"Script"}}class yA extends Ll{getTypeName(){return"URL"}}class MA extends Ll{getTypeName(){return"ResourceURL"}}function _o(t){return t instanceof Ll?t.changingThisBreaksApplicationSecurity:t}function xs(t,n){const e=function wA(t){return t instanceof Ll&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${hs})`)}return e===n}class TA{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(Gc(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class LA{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=Gc(n),e}}const IA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function pp(t){return(t=String(t)).match(IA)?t:"unsafe:"+t}function Zs(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function xu(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Iw=Zs("area,br,col,hr,img,wbr"),Pw=Zs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ow=Zs("rp,rt"),bb=xu(Iw,xu(Pw,Zs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),xu(Ow,Zs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),xu(Ow,Pw)),vb=Zs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Aw=xu(vb,Zs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Zs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),PA=Zs("script,style,template");class OA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!bb.hasOwnProperty(e))return this.sanitizedSomething=!0,!PA.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();bb.hasOwnProperty(e)&&!Iw.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Fw(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const AA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FA=/([^\#-~ |!])/g;function Fw(t){return t.replace(/&/g,"&").replace(AA,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(FA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let mp;function Rw(t,n){let e=null;try{mp=mp||function Ew(t){const n=new LA(t);return function EA(){try{return!!(new window.DOMParser).parseFromString(Gc(""),"text/html")}catch{return!1}}()?new TA(n):n}(t);let i=n?String(n):"";e=mp.getInertBodyElement(i);let o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=s,s=e.innerHTML,e=mp.getInertBodyElement(i)}while(i!==s);return Gc((new OA).sanitizeChildren(yb(e)||e))}finally{if(e){const i=yb(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function yb(t){return"content"in t&&function RA(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Dn=(()=>((Dn=Dn||{})[Dn.NONE=0]="NONE",Dn[Dn.HTML=1]="HTML",Dn[Dn.STYLE=2]="STYLE",Dn[Dn.SCRIPT=3]="SCRIPT",Dn[Dn.URL=4]="URL",Dn[Dn.RESOURCE_URL=5]="RESOURCE_URL",Dn))();function Vo(t){const n=ku();return n?n.sanitize(Dn.URL,t)||"":xs(t,"URL")?_o(t):pp(xt(t))}function Nw(t){const n=ku();if(n)return Lw(n.sanitize(Dn.RESOURCE_URL,t)||"");if(xs(t,"ResourceURL"))return Lw(_o(t));throw new Fe(904,!1)}function ku(){const t=Ve();return t&&t[zs].sanitizer}class Re{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ye({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Su=new Re("ENVIRONMENT_INITIALIZER"),Hw=new Re("INJECTOR",-1),Bw=new Re("INJECTOR_DEF_TYPES");class Vw{get(n,e=ml){if(e===ml){const i=new Error(`NullInjectorError: No provider for ${Bi(n)}!`);throw i.name="NullInjectorError",i}return e}}function zA(...t){return{\u0275providers:jw(0,t),\u0275fromNgModule:!0}}function jw(t,...n){const e=[],i=new Set;let o;return mu(n,s=>{const a=s;wb(a,e,[],i)&&(o||=[],o.push(a))}),void 0!==o&&zw(o,e),e}function zw(t,n){for(let e=0;e{n.push(s)})}}function wb(t,n,e,i){if(!(t=Dt(t)))return!1;let o=null,s=Kd(t);const a=!s&&gn(t);if(s||a){if(a&&!a.standalone)return!1;o=t}else{const d=t.ngModule;if(s=Kd(d),!s)return!1;o=d}const l=i.has(o);if(a){if(l)return!1;if(i.add(o),a.dependencies){const d="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of d)wb(_,n,e,i)}}else{if(!s)return!1;{if(null!=s.imports&&!l){let _;i.add(o);try{mu(s.imports,E=>{wb(E,n,e,i)&&(_||=[],_.push(E))})}finally{}void 0!==_&&zw(_,n)}if(!l){const _=qs(o)||(()=>new o);n.push({provide:o,useFactory:_,deps:cn},{provide:Bw,useValue:o,multi:!0},{provide:Su,useValue:()=>we(o),multi:!0})}const d=s.providers;null==d||l||Cb(d,E=>{n.push(E)})}}return o!==t&&void 0!==t.providers}function Cb(t,n){for(let e of t)Wd(e)&&(e=e.\u0275providers),Array.isArray(e)?Cb(e,n):n(e)}const UA=Sn({provide:String,useValue:Sn});function xb(t){return null!==t&&"object"==typeof t&&UA in t}function El(t){return"function"==typeof t}const kb=new Re("Set Injector scope."),gp={},$A={};let Sb;function _p(){return void 0===Sb&&(Sb=new Vw),Sb}class ks{}class Db extends ks{get destroyed(){return this._destroyed}constructor(n,e,i,o){super(),this.parent=e,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Lb(n,a=>this.processProvider(a)),this.records.set(Hw,qc(void 0,this)),o.has("environment")&&this.records.set(ks,qc(void 0,this));const s=this.records.get(kb);null!=s&&"string"==typeof s.value&&this.scopes.add(s.value),this.injectorDefTypes=new Set(this.get(Bw.multi,cn,Ct.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of n)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const e=gs(this),i=Wi(void 0);try{return n()}finally{gs(e),Wi(i)}}get(n,e=ml,i=Ct.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(vf))return n[vf](this);i=_c(i);const o=gs(this),s=Wi(void 0);try{if(!(i&Ct.SkipSelf)){let l=this.records.get(n);if(void 0===l){const d=function XA(t){return"function"==typeof t||"object"==typeof t&&t instanceof Re}(n)&&fc(n);l=d&&this.injectableDefInScope(d)?qc(Tb(n),gp):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&Ct.Self?_p():this.parent).get(n,e=i&Ct.Optional&&e===ml?null:e)}catch(a){if("NullInjectorError"===a.name){if((a[gc]=a[gc]||[]).unshift(Bi(n)),o)throw a;return function Jg(t,n,e,i){const o=t[gc];throw n[mf]&&o.unshift(n[mf]),t.message=function Qg(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=Bi(n);if(Array.isArray(n))o=n.map(Bi).join(" -> ");else if("object"==typeof n){let s=[];for(let a in n)if(n.hasOwnProperty(a)){let l=n[a];s.push(a+":"+("string"==typeof l?JSON.stringify(l):Bi(l)))}o=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(qg,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[gc]=null,t}(a,n,"R3InjectorError",this.source)}throw a}finally{Wi(s),gs(o)}}resolveInjectorInitializers(){const n=gs(this),e=Wi(void 0);try{const i=this.get(Su.multi,cn,Ct.Self);for(const o of i)o()}finally{gs(n),Wi(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Bi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Fe(205,!1)}processProvider(n){let e=El(n=Dt(n))?n:Dt(n&&n.provide);const i=function qA(t){return xb(t)?qc(void 0,t.useValue):qc($w(t),gp)}(n);if(El(n)||!0!==n.multi)this.records.get(e);else{let o=this.records.get(e);o||(o=qc(void 0,gp,!0),o.factory=()=>Jd(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===gp&&(e.value=$A,e.value=e.factory()),"object"==typeof e.value&&e.value&&function ZA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Dt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Tb(t){const n=fc(t),e=null!==n?n.factory:qs(t);if(null!==e)return e;if(t instanceof Re)throw new Fe(204,!1);if(t instanceof Function)return function GA(t){const n=t.length;if(n>0)throw gu(n,"?"),new Fe(204,!1);const e=function hf(t){return t&&(t[pc]||t[ff])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Fe(204,!1)}function $w(t,n,e){let i;if(El(t)){const o=Dt(t);return qs(o)||Tb(o)}if(xb(t))i=()=>Dt(t.useValue);else if(function Ww(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Jd(t.deps||[]));else if(function Uw(t){return!(!t||!t.useExisting)}(t))i=()=>we(Dt(t.useExisting));else{const o=Dt(t&&(t.useClass||t.provide));if(!function KA(t){return!!t.deps}(t))return qs(o)||Tb(o);i=()=>new o(...Jd(t.deps))}return i}function qc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function Lb(t,n){for(const e of t)Array.isArray(e)?Lb(e,n):e&&Wd(e)?Lb(e.\u0275providers,n):n(e)}const Du=new Re("AppId",{providedIn:"root",factory:()=>JA}),JA="ng",Gw=new Re("Platform Initializer"),Ya=new Re("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Vi=new Re("AnimationModuleType"),Eb=new Re("CSP nonce",{providedIn:"root",factory:()=>function Cu(){if(void 0!==gb)return gb;if(typeof document<"u")return document;throw new Fe(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Kw=(t,n)=>null;function Zw(t,n){return Kw(t,n)}class aF{}class Qw{}class cF{resolveComponentFactory(n){throw function lF(t){const n=Error(`No component factory found for ${Bi(t)}.`);return n.ngComponent=t,n}(n)}}let Il=(()=>{class t{}return t.NULL=new cF,t})();function dF(){return Kc(nr(),Ve())}function Kc(t,n){return new vt(wr(t,n))}let vt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=dF,t})();function uF(t){return t instanceof vt?t.nativeElement:t}class Iu{}let Xs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function hF(){const t=Ve(),e=Tr(nr().index,t);return(Hr(e)?e:t)[Et]}(),t})(),fF=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>null}),t})();class Pl{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const pF=new Pl("16.0.2"),Vb={};function Pu(t){for(;t;){t[Ht]|=64;const n=yu(t);if(ru(t)&&!n)return t;t=n}return null}function jb(t){return t.ngOriginalError}class Ss{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&jb(n);for(;e&&jb(e);)e=jb(e);return e||null}}const iC=new Re("",{providedIn:"root",factory:()=>!1});function zb(t){return t.ownerDocument.defaultView}function Js(t){return t instanceof Function?t():t}class sC extends Pf{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){Pu(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,e,i){const o=$i(this);this.trackingVersion++;try{n(e,i)}finally{$i(o)}}destroy(){this.trackingVersion++}}let Cp=null;function aC(){return Cp??=new sC,Cp}function lC(t,n){return t[n]??aC()}function cC(t,n){const e=aC();e.hasReadASignal&&(t[n]=Cp,e.lView=t,Cp=new sC)}const jt={};function c(t){dC(dn(),Ve(),jr()+t,!1)}function dC(t,n,e,i){if(!i)if(3==(3&n[Ht])){const s=t.preOrderCheckHooks;null!==s&&Gf(n,s,e)}else{const s=t.preOrderHooks;null!==s&&qf(n,s,0,e)}xl(e)}function pC(t,n=null,e=null,i){const o=mC(t,n,e,i);return o.resolveInjectorInitializers(),o}function mC(t,n=null,e=null,i,o=new Set){const s=[e||cn,zA(t)];return i=i||("object"==typeof t?void 0:Bi(t)),new Db(s,n||_p(),i||null,o)}let Ti=(()=>{class t{static create(e,i){if(Array.isArray(e))return pC({name:""},i,e,"");{const o=e.name??"";return pC({name:o},e.parent,e.providers,o)}}}return t.THROW_IF_NOT_FOUND=ml,t.NULL=new Vw,t.\u0275prov=Ye({token:t,providedIn:"any",factory:()=>we(Hw)}),t.__NG_ELEMENT_ID__=-1,t})();function N(t,n=Ct.Default){const e=Ve();return null===e?we(t,n):HM(nr(),e,Dt(t),n)}function Ha(){throw new Error("invalid")}function xp(t,n,e,i,o,s,a,l,d,_,E){const F=n.blueprint.slice();return F[Ut]=o,F[Ht]=140|i,(null!==_||t&&2048&t[Ht])&&(F[Ht]|=2048),Nf(F),F[Jn]=F[Ws]=t,F[li]=e,F[zs]=a||t&&t[zs],F[Et]=l||t&&t[Et],F[Pa]=d||t&&t[Pa]||null,F[pr]=s,F[yl]=function VO(){return BO++}(),F[Xo]=E,F[Sf]=_,F[Si]=2==n.type?t[Si]:F,F}function Xc(t,n,e,i,o){let s=t.data[n];if(null===s)s=function Ub(t,n,e,i,o){const s=Fc(),a=tn(),d=t.data[n]=function AF(t,n,e,i,o,s){let a=n?n.injectorIndex:-1,l=0;return Fa()&&(l|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?s:s&&s.parent,e,n,i,o);return null===t.firstChild&&(t.firstChild=d),null!==s&&(a?null==s.child&&null!==d.parent&&(s.child=d):null===s.next&&(s.next=d,d.prev=s)),d}(t,n,e,i,o),function Di(){return Tt.lFrame.inI18n}()&&(s.flags|=32);else if(64&s.type){s.type=e,s.value=i,s.attrs=o;const a=function Ho(){const t=Tt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}();s.injectorIndex=null===a?-1:a.injectorIndex}return Br(s,!0),s}function Ou(t,n,e,i){if(0===e)return-1;const o=n.length;for(let s=0;sen&&dC(t,n,en,!1),Ro(l?2:0,o),l)s.runInContext(e,i,o);else{const _=$i(null);try{e(i,o)}finally{$i(_)}}}finally{l&&null===n[kc]&&cC(n,kc),xl(a),Ro(l?3:1,o)}}function Wb(t,n,e){if(Tc(n)){const i=$i(null);try{const s=n.directiveEnd;for(let a=n.directiveStart;anull;function vC(t,n,e,i){for(let o in t)if(t.hasOwnProperty(o)){e=null===e?{}:e;const s=t[o];null===i?yC(e,n,o,s):i.hasOwnProperty(o)&&yC(e,n,i[o],s)}return e}function yC(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function bo(t,n,e,i,o,s,a,l){const d=wr(n,e);let E,_=n.inputs;!l&&null!=_&&(E=_[i])?(Qb(t,e,E,i,o),Gs(n)&&function NF(t,n){const e=Tr(n,t);16&e[Ht]||(e[Ht]|=64)}(e,n.index)):3&n.type&&(i=function RF(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),o=null!=a?a(o,n.value||"",i):o,s.setProperty(d,i,o))}function Kb(t,n,e,i){if(jf()){const o=null===i?null:{"":-1},s=function zF(t,n){const e=t.directiveRegistry;let i=null,o=null;if(e)for(let s=0;s0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(e,i,s)}}(t,n,i,Ou(t,e,o.hostVars,jt),o)}function Ds(t,n,e,i,o,s){const a=wr(t,n);!function Xb(t,n,e,i,o,s,a){if(null==s)t.removeAttribute(n,o,e);else{const l=null==a?xt(s):a(s,i||"",o);t.setAttribute(n,o,l,e)}}(n[Et],a,s,t.value,e,i,o)}function KF(t,n,e,i,o,s){const a=s[n];if(null!==a)for(let l=0;l{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,o){const s=typeof Zone>"u"?null:Zone.current,a=new C_(e,_=>{this.all.has(_)&&this.queue.set(_,s)},o);let l;this.all.add(a),a.notify();const d=()=>{a.cleanup(),l?.(),this.all.delete(a),this.queue.delete(a)};return l=i?.onDestroy(d),{destroy:d}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>new t}),t})();function Sp(t,n,e){let i=e?t.styles:null,o=e?t.classes:null,s=0;if(null!==n)for(let a=0;a0&&tv(e)}}function tv(t){for(let i=sb(t);null!==i;i=ab(i))for(let o=ii;o0&&tv(s)}const e=t[lt].components;if(null!==e)for(let i=0;i0&&tv(o)}}class Fu{get rootNodes(){const n=this._lView,e=n[lt];return Au(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[li]}set context(n){this._lView[li]=n}get destroyed(){return 256==(256&this._lView[Ht])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Jn];if(Mr(n)){const e=n[Dc],i=e?e.indexOf(this):-1;i>-1&&(cb(n,i),ep(e,i))}this._attachedToViewContainer=!1}pw(this._lView[lt],this._lView)}onDestroy(n){!function Bf(t,n){if(256==(256&t[Ht]))throw new Fe(911,!1);null===t[vs]&&(t[vs]=[]),t[vs].push(n)}(this._lView,n)}markForCheck(){Pu(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ht]&=-129}reattach(){this._lView[Ht]|=128}detectChanges(){Dp(this._lView[lt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Fe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function tA(t,n){wu(t,n,n[Et],2,null,null)}(this._lView[lt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Fe(902,!1);this._appRef=n}}class lR extends Fu{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Dp(n[lt],n,n[li],!1)}checkNoChanges(){}get context(){return null}}class IC extends Il{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=gn(n);return new Ru(e,this.ngModule)}}function PC(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class dR{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=_c(i);const o=this.injector.get(n,Vb,i);return o!==Vb||e===Vb?o:this.parentInjector.get(n,e,i)}}class Ru extends Qw{get inputs(){return PC(this.componentDef.inputs)}get outputs(){return PC(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function wc(t){return t.map(r_).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,o){let s=(o=o||this.ngModule)instanceof ks?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new dR(n,s):n,l=a.get(Iu,null);if(null===l)throw new Fe(407,!1);const E={rendererFactory:l,sanitizer:a.get(fF,null),effectManager:a.get(EC,null)},F=l.createRenderer(null,this.componentDef),G=this.componentDef.selectors[0][0]||"div",ie=i?function LF(t,n,e,i){const s=i.get(iC,!1)||e===Dr.ShadowDom,a=t.selectRootElement(n,s);return function EF(t){bC(t)}(a),a}(F,i,this.componentDef.encapsulation,a):lp(F,G,function cR(t){const n=t.toLowerCase();return"svg"===n?No:"math"===n?"math":null}(G)),_e=this.componentDef.onPush?576:528,xe=qb(0,null,null,1,0,null,null,null,null,null,null),Ae=xp(null,xe,null,_e,null,null,E,F,a,null,null);let ze,Ee;H_(Ae);try{const qe=this.componentDef;let dt,Rt=null;qe.findHostDirectiveDefs?(dt=[],Rt=new Map,qe.findHostDirectiveDefs(qe,dt,Rt),dt.push(qe)):dt=[qe];const sn=function hR(t,n){const e=t[lt],i=en;return t[i]=n,Xc(e,i,2,"#host",null)}(Ae,ie),Ri=function fR(t,n,e,i,o,s,a){const l=o[lt];!function pR(t,n,e,i){for(const o of t)n.mergedAttrs=La(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Sp(n,n.mergedAttrs,!0),null!==e&&Sw(i,e,n))}(i,t,n,a);let d=null;null!==n&&(d=Zw(n,o[Pa]));const _=s.rendererFactory.createRenderer(n,e),E=xp(o,_C(e),null,e.onPush?64:16,o[t.index],t,s,_,null,null,d);return l.firstCreatePass&&Zb(l,t,i.length-1),kp(o,E),o[t.index]=E}(sn,ie,qe,dt,Ae,E,F);Ee=du(xe,en),ie&&function gR(t,n,e,i){if(i)hi(t,e,["ng-version",pF.full]);else{const{attrs:o,classes:s}=function nu(t){const n=[],e=[];let i=1,o=2;for(;i0&&kw(t,e,s.join(" "))}}(F,qe,ie,i),void 0!==e&&function _R(t,n,e){const i=t.projection=[];for(let o=0;o=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=La(o.hostAttrs,e=La(e,o.hostAttrs))}}(i)}function nv(t){return t===lo?{}:t===cn?[]:t}function yR(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function MR(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,s)=>{n(i,o,s),e(i,o,s)}:n}function wR(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}function Lp(t){return!!iv(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function iv(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Ts(t,n,e){return t[n]=e}function Er(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function Ol(t,n,e,i){const o=Er(t,n,e);return Er(t,n+1,i)||o}function Jt(t,n,e,i){const o=Ve();return Er(o,At(),n)&&(dn(),Ds(fi(),o,t,n,e,i)),Jt}function Qc(t,n,e,i){return Er(t,At(),e)?n+xt(e)+i:jt}function ed(t,n,e,i,o,s){const l=Ol(t,function Le(){return Tt.lFrame.bindingIndex}(),e,o);return Wt(2),l?n+xt(e)+i+xt(o)+s:jt}function V(t,n,e,i,o,s,a,l){const d=Ve(),_=dn(),E=t+en,F=_.firstCreatePass?function GR(t,n,e,i,o,s,a,l,d){const _=n.consts,E=Xc(n,t,4,a||null,Ms(_,l));Kb(n,e,E,Ms(_,d)),$f(n,E);const F=E.tView=qb(2,E,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,_,null);return null!==n.queries&&(n.queries.template(n,E),F.queries=n.queries.embeddedTView(E)),E}(E,_,d,n,e,i,o,s,a):_.data[E];Br(F,!1);const G=KC(_,d,F,t);Wf()&&dp(_,d,G,F),Lr(G,d),kp(d,d[E]=xC(G,d,G,F)),Lc(F)&&$b(_,d,F),null!=a&&Gb(d,F,l)}let KC=function ZC(t,n,e,i){return Ra(!0),n[Et].createComment("")};function ci(t){return ys(function P(){return Tt.lFrame.contextLView}(),en+t)}function w(t,n,e){const i=Ve();return Er(i,At(),n)&&bo(dn(),fi(),i,t,n,i[Et],e,!1),w}function cv(t,n,e,i,o){const a=o?"class":"style";Qb(t,e,n.inputs[a],a,i)}function k(t,n,e,i){const o=Ve(),s=dn(),a=en+t,l=o[Et],d=s.firstCreatePass?function XR(t,n,e,i,o,s){const a=n.consts,d=Xc(n,t,2,i,Ms(a,o));return Kb(n,e,d,Ms(a,s)),null!==d.attrs&&Sp(d,d.attrs,!1),null!==d.mergedAttrs&&Sp(d,d.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,d),d}(a,s,o,n,e,i):s.data[a],_=XC(s,o,d,l,n,t);o[a]=_;const E=Lc(d);return Br(d,!0),Sw(l,_,d),32!=(32&d.flags)&&Wf()&&dp(s,o,_,d),0===function O_(){return Tt.lFrame.elementDepthCount}()&&Lr(_,o),function A_(){Tt.lFrame.elementDepthCount++}(),E&&($b(s,o,d),Wb(s,d,o)),null!==i&&Gb(o,d),k}function C(){let t=nr();tn()?m():(t=t.parent,Br(t,!1));const n=t;(function R_(t){return Tt.skipHydrationRootTNode===t})(n)&&function Yo(){Tt.skipHydrationRootTNode=null}(),function F_(){Tt.lFrame.elementDepthCount--}();const e=dn();return e.firstCreatePass&&($f(e,t),Tc(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function nO(t){return 0!=(8&t.flags)}(n)&&cv(e,n,Ve(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function iO(t){return 0!=(16&t.flags)}(n)&&cv(e,n,Ve(),n.stylesWithoutHost,!1),C}function Ce(t,n,e,i){return k(t,n,e,i),C(),Ce}let XC=(t,n,e,i,o,s)=>(Ra(!0),lp(i,o,function LM(){return Tt.lFrame.currentNamespace}()));function Ue(t,n,e){const i=Ve(),o=dn(),s=t+en,a=o.firstCreatePass?function e3(t,n,e,i,o){const s=n.consts,a=Ms(s,i),l=Xc(n,t,8,"ng-container",a);return null!==a&&Sp(l,a,!0),Kb(n,e,l,Ms(s,o)),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,e):o.data[s];Br(a,!0);const l=JC(o,i,a,t);return i[s]=l,Wf()&&dp(o,i,l,a),Lr(l,i),Lc(a)&&($b(o,i,a),Wb(o,a,i)),null!=e&&Gb(i,a),Ue}function We(){let t=nr();const n=dn();return tn()?m():(t=t.parent,Br(t,!1)),n.firstCreatePass&&($f(n,t),Tc(t)&&n.queries.elementEnd(t)),We}function Jo(t,n,e){return Ue(t,n,e),We(),Jo}let JC=(t,n,e,i)=>(Ra(!0),lb(n[Et],""));function et(){return Ve()}function Vu(t){return!!t&&"function"==typeof t.then}function QC(t){return!!t&&"function"==typeof t.subscribe}function ve(t,n,e,i){const o=Ve(),s=dn(),a=nr();return ex(s,o,o[Et],a,t,n,i),ve}function dv(t,n){const e=nr(),i=Ve(),o=dn();return ex(o,i,TC(Rc(o.data),e,i),e,t,n),dv}function ex(t,n,e,i,o,s,a){const l=Lc(i),_=t.firstCreatePass&&DC(t),E=n[li],F=SC(n);let G=!0;if(3&i.type||a){const xe=wr(i,n),Ae=a?a(xe):xe,ze=F.length,Ee=a?dt=>a(Un(dt[i.index])):i.index;let qe=null;if(!a&&l&&(qe=function r3(t,n,e,i){const o=t.cleanup;if(null!=o)for(let s=0;sd?l[d]:null}"string"==typeof a&&(s+=2)}return null}(t,n,o,i.index)),null!==qe)(qe.__ngLastListenerFn__||qe).__ngNextListenerFn__=s,qe.__ngLastListenerFn__=s,G=!1;else{s=nx(i,n,E,s,!1);const dt=e.listen(Ae,o,s);F.push(s,dt),_&&_.push(o,Ee,ze,ze+1)}}else s=nx(i,n,E,s,!1);const ie=i.outputs;let _e;if(G&&null!==ie&&(_e=ie[o])){const xe=_e.length;if(xe)for(let Ae=0;Ae-1?Tr(t.index,n):n);let d=tx(n,e,i,a),_=s.__ngNextListenerFn__;for(;_;)d=tx(n,e,_,a)&&d,_=_.__ngNextListenerFn__;return o&&!1===d&&a.preventDefault(),d}}function z(t=1){return function KP(t){return(Tt.lFrame.contextLView=function ZP(t,n){for(;t>0;)n=n[Ws],t--;return n}(t,Tt.lFrame.contextLView))[li]}(t)}function o3(t,n){let e=null;const i=function t_(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let o=0;o>17&32767}function hv(t){return 2|t}function Al(t){return(131068&t)>>2}function fv(t,n){return-131069&t|n<<2}function pv(t){return 1|t}function ux(t,n,e,i,o){const s=t[e+1],a=null===n;let l=i?Ba(s):Al(s),d=!1;for(;0!==l&&(!1===d||a);){const E=t[l+1];u3(t[l],n)&&(d=!0,t[l+1]=i?pv(E):hv(E)),l=i?Ba(E):Al(E)}d&&(t[e+1]=i?hv(s):pv(s))}function u3(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&zc(t,n)>=0}const rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hx(t){return t.substring(rr.key,rr.keyEnd)}function h3(t){return t.substring(rr.value,rr.valueEnd)}function fx(t,n){const e=rr.textEnd;return e===n?-1:(n=rr.keyEnd=function m3(t,n,e){for(;n32;)n++;return n}(t,rr.key=n,e),ad(t,n,e))}function px(t,n){const e=rr.textEnd;let i=rr.key=ad(t,n,e);return e===i?-1:(i=rr.keyEnd=function g3(t,n,e){let i;for(;n=65&&(-33&i)<=90||i>=48&&i<=57);)n++;return n}(t,i,e),i=gx(t,i,e),i=rr.value=ad(t,i,e),i=rr.valueEnd=function _3(t,n,e){let i=-1,o=-1,s=-1,a=n,l=a;for(;a32&&(l=a),s=o,o=i,i=-33&d}return l}(t,i,e),gx(t,i,e))}function mx(t){rr.key=0,rr.keyEnd=0,rr.value=0,rr.valueEnd=0,rr.textEnd=t.length}function ad(t,n,e){for(;n=0;e=px(n,e))yx(t,hx(n),h3(n))}function eo(t){es(x3,Ls,t,!0)}function Ls(t,n){for(let e=function f3(t){return mx(t),fx(t,ad(t,0,rr.textEnd))}(n);e>=0;e=fx(n,e))go(t,hx(n),!0)}function Qo(t,n,e,i){const o=Ve(),s=dn(),a=Wt(2);s.firstUpdatePass&&vx(s,t,a,i),n!==jt&&Er(o,a,n)&&Mx(s,s.data[jr()],o,o[Et],t,o[a+1]=function S3(t,n){return null==t||""===t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Bi(_o(t)))),t}(n,e),i,a)}function es(t,n,e,i){const o=dn(),s=Wt(2);o.firstUpdatePass&&vx(o,null,s,i);const a=Ve();if(e!==jt&&Er(a,s,e)){const l=o.data[jr()];if(Cx(l,i)&&!bx(o,s)){let d=i?l.classesWithoutHost:l.stylesWithoutHost;null!==d&&(e=Ca(d,e||"")),cv(o,l,a,e,i)}else!function k3(t,n,e,i,o,s,a,l){o===jt&&(o=cn);let d=0,_=0,E=0=t.expandoStartIndex}function vx(t,n,e,i){const o=t.data;if(null===o[e+1]){const s=o[jr()],a=bx(t,e);Cx(s,i)&&null===n&&!a&&(n=!1),n=function v3(t,n,e,i){const o=Rc(t);let s=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=ju(e=mv(null,t,n,e,i),n.attrs,i),s=null);else{const a=n.directiveStylingLast;if(-1===a||t[a]!==o)if(e=mv(o,t,n,e,i),null===s){let d=function y3(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Al(i))return t[Ba(i)]}(t,n,i);void 0!==d&&Array.isArray(d)&&(d=mv(null,t,n,d[1],i),d=ju(d,n.attrs,i),function M3(t,n,e,i){t[Ba(e?n.classBindings:n.styleBindings)]=i}(t,n,i,d))}else s=function w3(t,n,e){let i;const o=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(_=!0)):E=e,o)if(0!==d){const G=Ba(t[l+1]);t[i+1]=Ap(G,l),0!==G&&(t[G+1]=fv(t[G+1],i)),t[l+1]=function a3(t,n){return 131071&t|n<<17}(t[l+1],i)}else t[i+1]=Ap(l,0),0!==l&&(t[l+1]=fv(t[l+1],i)),l=i;else t[i+1]=Ap(d,0),0===l?l=i:t[d+1]=fv(t[d+1],i),d=i;_&&(t[i+1]=hv(t[i+1])),ux(t,E,i,!0),ux(t,E,i,!1),function d3(t,n,e,i,o){const s=o?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&zc(s,n)>=0&&(e[i+1]=pv(e[i+1]))}(n,E,t,i,s),a=Ap(l,d),s?n.classBindings=a:n.styleBindings=a}(o,s,n,e,a,i)}}function mv(t,n,e,i,o){let s=null;const a=e.directiveEnd;let l=e.directiveStylingLast;for(-1===l?l=e.directiveStart:l++;l0;){const d=t[o],_=Array.isArray(d),E=_?d[1]:d,F=null===E;let G=e[o+1];G===jt&&(G=F?cn:void 0);let ie=F?K_(G,i):E===i?G:void 0;if(_&&!Fp(ie)&&(ie=K_(d,i)),Fp(ie)&&(l=ie,a))return l;const _e=t[o+1];o=a?Ba(_e):Al(_e)}if(null!==n){let d=s?n.residualClasses:n.residualStyles;null!=d&&(l=K_(d,i))}return l}function Fp(t){return void 0!==t}function Cx(t,n){return 0!=(t.flags&(n?8:16))}function I(t,n=""){const e=Ve(),i=dn(),o=t+en,s=i.firstCreatePass?Xc(i,o,1,n,null):i.data[o],a=xx(i,e,s,n,t);e[o]=a,Wf()&&dp(i,e,a,s),Br(s,!1)}let xx=(t,n,e,i,o)=>(Ra(!0),function ap(t,n){return t.createText(n)}(n[Et],i));function re(t){return ce("",t,""),re}function ce(t,n,e){const i=Ve(),o=Qc(i,t,n,e);return o!==jt&&Qs(i,jr(),o),ce}function vo(t,n,e,i,o){const s=Ve(),a=ed(s,t,n,e,i,o);return a!==jt&&Qs(s,jr(),a),vo}function ea(t,n,e){const i=Ve();return Er(i,At(),n)&&bo(dn(),fi(),i,t,n,i[Et],e,!0),ea}function gv(t,n,e){const i=Ve();if(Er(i,At(),n)){const s=dn(),a=fi();bo(s,a,i,t,n,TC(Rc(s.data),a,i),e,!0)}return gv}const Rl=void 0;var G3=["en",[["a","p"],["AM","PM"],Rl],[["AM","PM"],Rl,Rl],[["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"]],Rl,[["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"]],Rl,[["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}",Rl,"{1} 'at' {0}",Rl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function $3(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ld={};function zr(t){const n=function q3(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=zx(n);if(e)return e;const i=n.split("-")[0];if(e=zx(i),e)return e;if("en"===i)return G3;throw new Fe(701,!1)}function zx(t){return t in ld||(ld[t]=Cn.ng&&Cn.ng.common&&Cn.ng.common.locales&&Cn.ng.common.locales[t]),ld[t]}var ct=(()=>((ct=ct||{})[ct.LocaleId=0]="LocaleId",ct[ct.DayPeriodsFormat=1]="DayPeriodsFormat",ct[ct.DayPeriodsStandalone=2]="DayPeriodsStandalone",ct[ct.DaysFormat=3]="DaysFormat",ct[ct.DaysStandalone=4]="DaysStandalone",ct[ct.MonthsFormat=5]="MonthsFormat",ct[ct.MonthsStandalone=6]="MonthsStandalone",ct[ct.Eras=7]="Eras",ct[ct.FirstDayOfWeek=8]="FirstDayOfWeek",ct[ct.WeekendRange=9]="WeekendRange",ct[ct.DateFormat=10]="DateFormat",ct[ct.TimeFormat=11]="TimeFormat",ct[ct.DateTimeFormat=12]="DateTimeFormat",ct[ct.NumberSymbols=13]="NumberSymbols",ct[ct.NumberFormats=14]="NumberFormats",ct[ct.CurrencyCode=15]="CurrencyCode",ct[ct.CurrencySymbol=16]="CurrencySymbol",ct[ct.CurrencyName=17]="CurrencyName",ct[ct.Currencies=18]="Currencies",ct[ct.Directionality=19]="Directionality",ct[ct.PluralCase=20]="PluralCase",ct[ct.ExtraData=21]="ExtraData",ct))();const cd="en-US";let Ux=cd;function vv(t,n,e,i,o){if(t=Dt(t),Array.isArray(t))for(let s=0;s>20;if(El(t)||!t.multi){const ie=new hu(d,o,N),_e=Mv(l,n,o?E:E+G,F);-1===_e?($_(Jf(_,a),s,l),yv(s,t,n.length),n.push(l),_.directiveStart++,_.directiveEnd++,o&&(_.providerIndexes+=1048576),e.push(ie),a.push(ie)):(e[_e]=ie,a[_e]=ie)}else{const ie=Mv(l,n,E+G,F),_e=Mv(l,n,E,E+G),Ae=_e>=0&&e[_e];if(o&&!Ae||!o&&!(ie>=0&&e[ie])){$_(Jf(_,a),s,l);const ze=function WN(t,n,e,i,o){const s=new hu(t,e,N);return s.multi=[],s.index=n,s.componentProviders=0,mk(s,o,i&&!e),s}(o?UN:zN,e.length,o,i,d);!o&&Ae&&(e[_e].providerFactory=ze),yv(s,t,n.length,0),n.push(l),_.directiveStart++,_.directiveEnd++,o&&(_.providerIndexes+=1048576),e.push(ze),a.push(ze)}else yv(s,t,ie>-1?ie:_e,mk(e[o?_e:ie],d,!o&&i));!o&&i&&Ae&&e[_e].componentProviders++}}}function yv(t,n,e,i){const o=El(n),s=function WA(t){return!!t.useClass}(n);if(o||s){const d=(s?Dt(n.useClass):n).prototype.ngOnDestroy;if(d){const _=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const E=_.indexOf(e);-1===E?_.push(e,[i,d]):_[E+1].push(i,d)}else _.push(e,d)}}}function mk(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Mv(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function jN(t,n,e){const i=dn();if(i.firstCreatePass){const o=fo(t);vv(e,i.data,i.blueprint,o,!0),vv(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class dd{}class gk{}class Cv extends dd{constructor(n,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new IC(this);const o=Yr(n);this._bootstrapComponents=Js(o.bootstrap),this._r3Injector=mC(n,e,[{provide:dd,useValue:this},{provide:Il,useValue:this.componentFactoryResolver},...i],Bi(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class xv extends gk{constructor(n){super(),this.moduleType=n}create(n){return new Cv(this.moduleType,n,[])}}class _k extends dd{constructor(n){super(),this.componentFactoryResolver=new IC(this),this.instance=null;const e=new Db([...n.providers,{provide:dd,useValue:this},{provide:Il,useValue:this.componentFactoryResolver}],n.parent||_p(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kv(t,n,e=null){return new _k({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}let qN=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=jw(0,e.type),o=i.length>0?kv([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,o)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Ye({token:t,providedIn:"environment",factory:()=>new t(we(ks))}),t})();function bk(t){t.getStandaloneInjector=n=>n.get(qN).getOrCreateStandaloneInjector(t)}function qn(t,n,e){const i=ne()+t,o=Ve();return o[i]===jt?Ts(o,i,e?n.call(e):n()):function Nu(t,n){return t[n]}(o,i)}function He(t,n,e,i){return kk(Ve(),ne(),t,n,e,i)}function mn(t,n,e,i,o){return Sk(Ve(),ne(),t,n,e,i,o)}function qu(t,n){const e=t[n];return e===jt?void 0:e}function kk(t,n,e,i,o,s){const a=n+e;return Er(t,a,o)?Ts(t,a+1,s?i.call(s,o):i(o)):qu(t,a+1)}function Sk(t,n,e,i,o,s,a){const l=n+e;return Ol(t,l,o,s)?Ts(t,l+2,a?i.call(a,o,s):i(o,s)):qu(t,l+2)}function R(t,n){const e=dn();let i;const o=t+en;e.firstCreatePass?(i=function u4(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks??=[]).push(o,i.onDestroy)):i=e.data[o];const s=i.factory||(i.factory=qs(i.type)),a=Wi(N);try{const l=Xf(!1),d=s();return Xf(l),function ZR(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ve(),o,d),d}finally{Wi(a)}}function H(t,n,e){const i=t+en,o=Ve(),s=ys(o,i);return Ku(o,i)?kk(o,ne(),n,s.transform,e,s):s.transform(e)}function kt(t,n,e,i){const o=t+en,s=Ve(),a=ys(s,o);return Ku(s,o)?Sk(s,ne(),n,a.transform,e,i,a):a.transform(e,i)}function Ku(t,n){return t[lt].data[n].pure}function Dv(t){return n=>{setTimeout(t,void 0,n)}}const ht=class m4 extends J{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let o=n,s=e||(()=>null),a=i;if(n&&"object"==typeof n){const d=n;o=d.next?.bind(d),s=d.error?.bind(d),a=d.complete?.bind(d)}this.__isAsync&&(s=Dv(s),o&&(o=Dv(o)),a&&(a=Dv(a)));const l=super.subscribe({next:o,error:s,complete:a});return n instanceof T&&n.add(l),l}};function g4(){return this._results[Symbol.iterator]()}class Nl{get changes(){return this._changes||(this._changes=new ht)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Nl.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=g4)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=function Bo(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function pO(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=v4,t})();const _4=mr,b4=class extends _4{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,e){return this.createEmbeddedViewImpl(n,e,null)}createEmbeddedViewImpl(n,e,i){const o=this._declarationTContainer.tView,s=xp(this._declarationLView,o,n,16,null,o.declTNode,null,null,null,e||null,i||null);s[$s]=this._declarationLView[this._declarationTContainer.index];const l=this._declarationLView[Xr];return null!==l&&(s[Xr]=l.createEmbeddedView(o)),ev(o,s,n),new Fu(s)}};function v4(){return Bp(nr(),Ve())}function Bp(t,n){return 4&t.type?new b4(n,t,Kc(t,n)):null}let or=(()=>{class t{}return t.__NG_ELEMENT_ID__=S4,t})();function S4(){return Fk(nr(),Ve())}const D4=or,Ok=class extends D4{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Kc(this._hostTNode,this._hostLView)}get injector(){return new Yc(this._hostTNode,this._hostLView)}get parentInjector(){const n=W_(this._hostTNode,this._hostLView);if(OM(n)){const e=Zf(n,this._hostLView),i=Kf(n);return new Yc(e[lt].data[i+8],e)}return new Yc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=Ak(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-ii}createEmbeddedView(n,e,i){let o,s;"number"==typeof i?o=i:null!=i&&(o=i.index,s=i.injector);const l=n.createEmbeddedViewImpl(e||{},s,null);return this.insertImpl(l,o,false),l}createComponent(n,e,i,o,s){const a=n&&!function pu(t){return"function"==typeof t}(n);let l;if(a)l=e;else{const xe=e||{};l=xe.index,i=xe.injector,o=xe.projectableNodes,s=xe.environmentInjector||xe.ngModuleRef}const d=a?n:new Ru(gn(n)),_=i||this.parentInjector;if(!s&&null==d.ngModule){const Ae=(a?_:this.parentInjector).get(ks,null);Ae&&(s=Ae)}gn(d.componentType??{});const ie=d.create(_,o,null,s);return this.insertImpl(ie.hostView,l,false),ie}insert(n,e){return this.insertImpl(n,e,!1)}insertImpl(n,e,i){const o=n._lView,s=o[lt];if(function E_(t){return Mr(t[Jn])}(o)){const d=this.indexOf(n);if(-1!==d)this.detach(d);else{const _=o[Jn],E=new Ok(_,_[pr],_[Jn]);E.detach(E.indexOf(n))}}const a=this._adjustIndex(e),l=this._lContainer;if(function iA(t,n,e,i){const o=ii+i,s=e.length;i>0&&(e[o-1][uo]=n),i0)i.push(a[l/2]);else{const _=s[l+1],E=n[-d];for(let F=ii;F{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=Qe(Bv,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const o of this.appInits){const s=o();if(Vu(s))e.push(s);else if(QC(s)){const a=new Promise((l,d)=>{s.subscribe({complete:l,error:d})});e.push(a)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),oS=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Is=new Re("LocaleId",{providedIn:"root",factory:()=>Qe(Is,Ct.Optional|Ct.SkipSelf)||function r5(){return typeof $localize<"u"&&$localize.locale||cd}()});class s5{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let sS=(()=>{class t{compileModuleSync(e){return new xv(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=Js(Yr(e).declarations).reduce((a,l)=>{const d=gn(l);return d&&a.push(new Ru(d)),a},[]);return new s5(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const c5=(()=>Promise.resolve(0))();function jv(t){typeof Zone>"u"?c5.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function cS(...t){}class ft{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ht(!1),this.onMicrotaskEmpty=new ht(!1),this.onStable=new ht(!1),this.onError=new ht(!1),typeof Zone>"u")throw new Fe(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function d5(){let t=Cn.requestAnimationFrame,n=Cn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function f5(t){const n=()=>{!function h5(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Cn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Uv(t),t.isCheckStableRunning=!0,zv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Uv(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,s,a,l)=>{try{return dS(t),e.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),uS(t)}},onInvoke:(e,i,o,s,a,l,d)=>{try{return dS(t),e.invoke(o,s,a,l,d)}finally{t.shouldCoalesceRunChangeDetection&&n(),uS(t)}},onHasTask:(e,i,o,s)=>{e.hasTask(o,s),i===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,Uv(t),zv(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,o,s)=>(e.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ft.isInAngularZone())throw new Fe(909,!1)}static assertNotInAngularZone(){if(ft.isInAngularZone())throw new Fe(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+o,n,u5,cS,cS);try{return s.runTask(a,e,i)}finally{s.cancelTask(a)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const u5={};function zv(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Uv(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function dS(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function uS(t){t._nesting--,zv(t)}class p5{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ht,this.onMicrotaskEmpty=new ht,this.onStable=new ht,this.onError=new ht}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}const hS=new Re("",{providedIn:"root",factory:fS});function fS(){const t=Qe(ft);let n=!0;return bt(new he(o=>{n=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{o.next(n),o.complete()})}),new he(o=>{let s;t.runOutsideAngular(()=>{s=t.onStable.subscribe(()=>{ft.assertNotInAngularZone(),jv(()=>{!n&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const a=t.onUnstable.subscribe(()=>{ft.assertInAngularZone(),n&&(n=!1,t.runOutsideAngular(()=>{o.next(!1)}))});return()=>{s.unsubscribe(),a.unsubscribe()}}).pipe(fl()))}const pS=new Re(""),jp=new Re("");let Gv,Wv=(()=>{class t{constructor(e,i,o){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Gv||(function m5(t){Gv=t}(o),o.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ft.assertNotInAngularZone(),jv(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())jv(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:o})}whenStable(e,i,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(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(we(ft),we($v),we(jp))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),$v=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return Gv?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),Va=null;const mS=new Re("AllowMultipleToken"),qv=new Re("PlatformDestroyListeners"),Kv=new Re("appBootstrapListener");class _S{constructor(n,e){this.name=n,this.token=e}}function vS(t,n,e=[]){const i=`Platform: ${n}`,o=new Re(i);return(s=[])=>{let a=Zv();if(!a||a.injector.get(mS,!1)){const l=[...e,...s,{provide:o,useValue:!0}];t?t(l):function b5(t){if(Va&&!Va.get(mS,!1))throw new Fe(400,!1);(function gS(){!function M_(t){Of=t}(()=>{throw new Fe(600,!1)})})(),Va=t;const n=t.get(MS);(function bS(t){t.get(Gw,null)?.forEach(e=>e())})(t)}(function yS(t=[],n){return Ti.create({name:n,providers:[{provide:kb,useValue:"platform"},{provide:qv,useValue:new Set([()=>Va=null])},...t]})}(l,i))}return function y5(t){const n=Zv();if(!n)throw new Fe(401,!1);return n}()}}function Zv(){return Va?.get(MS)??null}let MS=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const o=function M5(t="zone.js",n){return"noop"===t?new p5:"zone.js"===t?new ft(n):t}(i?.ngZone,function wS(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{const s=function GN(t,n,e){return new Cv(t,n,e)}(e.moduleType,this.injector,function DS(t){return[{provide:ft,useFactory:t},{provide:Su,multi:!0,useFactory:()=>{const n=Qe(C5,{optional:!0});return()=>n.initialize()}},{provide:SS,useFactory:w5},{provide:hS,useFactory:fS}]}(()=>o)),a=s.injector.get(Ss,null);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:d=>{a.handleError(d)}});s.onDestroy(()=>{zp(this._modules,s),l.unsubscribe()})}),function CS(t,n,e){try{const i=e();return Vu(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(a,o,()=>{const l=s.injector.get(Vv);return l.runInitializers(),l.donePromise.then(()=>(function Wx(t){Zr(t,"Expected localeId to be defined"),"string"==typeof t&&(Ux=t.toLowerCase().replace(/_/g,"-"))}(s.injector.get(Is,cd)||cd),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,i=[]){const o=xS({},i);return function g5(t,n,e){const i=new xv(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(e){const i=e.injector.get(ja);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new Fe(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Fe(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(qv,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(we(Ti))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function xS(t,n){return Array.isArray(n)?n.reduce(xS,t):{...t,...n}}let ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Qe(SS),this.componentTypes=[],this.components=[],this.isStable=Qe(hS),this._injector=Qe(ks)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const o=e instanceof Qw;if(!this._injector.get(Vv).done)throw!o&&function Ia(t){const n=gn(t)||hr(t)||fr(t);return null!==n&&n.standalone}(e),new Fe(405,!1);let a;a=o?e:this._injector.get(Il).resolveComponentFactory(e),this.componentTypes.push(a.componentType);const l=function _5(t){return t.isBoundToModule}(a)?void 0:this._injector.get(dd),_=a.create(Ti.NULL,[],i||a.selector,l),E=_.location.nativeElement,F=_.injector.get(pS,null);return F?.registerApplication(E),_.onDestroy(()=>{this.detachView(_.hostView),zp(this.components,_),F?.unregisterApplication(E)}),this._loadComponent(_),_}tick(){if(this._runningTick)throw new Fe(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;zp(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(Kv,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>zp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Fe(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function zp(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const SS=new Re("",{providedIn:"root",factory:()=>Qe(Ss).handleError.bind(void 0)});function w5(){const t=Qe(ft),n=Qe(Ss);return e=>t.runOutsideAngular(()=>n.handleError(e))}let C5=(()=>{class t{constructor(){this.zone=Qe(ft),this.applicationRef=Qe(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();let pi=(()=>{class t{}return t.__NG_ELEMENT_ID__=k5,t})();function k5(t){return function S5(t,n,e){if(Gs(t)&&!e){const i=Tr(t.index,n);return new Fu(i,i)}return 47&t.type?new Fu(n[Si],n):null}(nr(),Ve(),16==(16&t))}class IS{constructor(){}supports(n){return Lp(n)}create(n){return new P5(n)}}const I5=(t,n)=>n;class P5{constructor(n){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=n||I5}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,s=null;for(;e||i;){const a=!i||e&&e.currentIndex{a=this._trackByFn(o,l),null!==e&&Object.is(e.trackById,a)?(i&&(e=this._verifyReinsertion(e,l,a,o)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,a,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,s,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,s,o)):n=this._addAfter(new O5(e,i),s,o),n}_verifyReinsertion(n,e,i,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,s=n._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new PS),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new PS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class O5{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class A5{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class PS{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new A5,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function OS(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const s=o._prev,a=o._next;return s&&(s._next=a),a&&(a._prev=s),o._next=null,o._prev=null,o}const i=new R5(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class R5{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function FS(){return new Xu([new IS])}let Xu=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||FS()),deps:[[t,new _u,new Dl]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new Fe(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:FS}),t})();function RS(){return new Ju([new AS])}let Ju=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||RS()),deps:[[t,new _u,new Dl]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(i)return i;throw new Fe(901,!1)}}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:RS}),t})();const H5=vS(null,"core",[]);let B5=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(we(ja))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),jS=(()=>{class t{get whenAllTasksComplete(){return 0===this.collection.size&&this.complete(),this.promise}constructor(){this.taskId=0,this.collection=new Set,this.ngZone=Qe(ft),this.completed=!1,this.ngZone.runOutsideAngular(()=>{this.promise=new Promise(e=>{this.resolve=e})})}add(){if(this.completed)return-1;const e=this.taskId++;return this.collection.add(e),e}remove(e){this.completed||(this.collection.delete(e),0===this.collection.size&&this.complete())}ngOnDestroy(){this.complete(),this.collection.clear()}complete(){this.completed=!0,this.resolve()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fd(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let iy=null;function za(){return iy}class J5{}const It=new Re("DocumentToken");let ry=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Qe(eY)},providedIn:"platform"}),t})();const Q5=new Re("Location Initialized");let eY=(()=>{class t extends ry{constructor(){super(),this._doc=Qe(It),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return za().getBaseHref(this._doc)}onPopState(e){const i=za().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=za().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,o){this._history.pushState(e,i,o)}replaceState(e,i,o){this._history.replaceState(e,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return new t},providedIn:"platform"}),t})();function oy(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function US(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function ta(t){return t&&"?"!==t[0]?"?"+t:t}let Hl=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Qe($S)},providedIn:"root"}),t})();const WS=new Re("appBaseHref");let $S=(()=>{class t extends Hl{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Qe(It).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return oy(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+ta(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,s){const a=this.prepareExternalUrl(o+ta(s));this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,s){const a=this.prepareExternalUrl(o+ta(s));this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(we(ry),we(WS,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tY=(()=>{class t extends Hl{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=oy(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,s){let a=this.prepareExternalUrl(o+ta(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,i,a)}replaceState(e,i,o,s){let a=this.prepareExternalUrl(o+ta(s));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(we(ry),we(WS,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Qu=(()=>{class t{constructor(e){this._subject=new ht,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function rY(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(US(GS(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+ta(i))}normalize(e){return t.stripTrailingSlash(function iY(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,GS(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._locationStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ta(i)),o)}replaceState(e,i="",o=null){this._locationStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ta(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=ta,t.joinWithSlash=oy,t.stripTrailingSlash=US,t.\u0275fac=function(e){return new(e||t)(we(Hl))},t.\u0275prov=Ye({token:t,factory:function(){return function nY(){return new Qu(we(Hl))}()},providedIn:"root"}),t})();function GS(t){return t.replace(/\/index.html$/,"")}var ji=(()=>((ji=ji||{})[ji.Format=0]="Format",ji[ji.Standalone=1]="Standalone",ji))(),rn=(()=>((rn=rn||{})[rn.Narrow=0]="Narrow",rn[rn.Abbreviated=1]="Abbreviated",rn[rn.Wide=2]="Wide",rn[rn.Short=3]="Short",rn))(),mi=(()=>((mi=mi||{})[mi.Short=0]="Short",mi[mi.Medium=1]="Medium",mi[mi.Long=2]="Long",mi[mi.Full=3]="Full",mi))(),St=(()=>((St=St||{})[St.Decimal=0]="Decimal",St[St.Group=1]="Group",St[St.List=2]="List",St[St.PercentSign=3]="PercentSign",St[St.PlusSign=4]="PlusSign",St[St.MinusSign=5]="MinusSign",St[St.Exponential=6]="Exponential",St[St.SuperscriptingExponent=7]="SuperscriptingExponent",St[St.PerMille=8]="PerMille",St[St.Infinity=9]="Infinity",St[St.NaN=10]="NaN",St[St.TimeSeparator=11]="TimeSeparator",St[St.CurrencyDecimal=12]="CurrencyDecimal",St[St.CurrencyGroup=13]="CurrencyGroup",St))();function Gp(t,n){return Uo(zr(t)[ct.DateFormat],n)}function qp(t,n){return Uo(zr(t)[ct.TimeFormat],n)}function Kp(t,n){return Uo(zr(t)[ct.DateTimeFormat],n)}function zo(t,n){const e=zr(t),i=e[ct.NumberSymbols][n];if(typeof i>"u"){if(n===St.CurrencyDecimal)return e[ct.NumberSymbols][St.Decimal];if(n===St.CurrencyGroup)return e[ct.NumberSymbols][St.Group]}return i}function KS(t){if(!t[ct.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ct.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Uo(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function ay(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const _Y=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,eh={},bY=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ar=(()=>((ar=ar||{})[ar.Short=0]="Short",ar[ar.ShortGMT=1]="ShortGMT",ar[ar.Long=2]="Long",ar[ar.Extended=3]="Extended",ar))(),Pt=(()=>((Pt=Pt||{})[Pt.FullYear=0]="FullYear",Pt[Pt.Month=1]="Month",Pt[Pt.Date=2]="Date",Pt[Pt.Hours=3]="Hours",Pt[Pt.Minutes=4]="Minutes",Pt[Pt.Seconds=5]="Seconds",Pt[Pt.FractionalSeconds=6]="FractionalSeconds",Pt[Pt.Day=7]="Day",Pt))(),Kt=(()=>((Kt=Kt||{})[Kt.DayPeriods=0]="DayPeriods",Kt[Kt.Days=1]="Days",Kt[Kt.Months=2]="Months",Kt[Kt.Eras=3]="Eras",Kt))();function ZS(t,n,e,i){let o=function DY(t){if(QS(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[o,s=1,a=1]=t.split("-").map(l=>+l);return Zp(o,s-1,a)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(_Y))return function TY(t){const n=new Date(0);let e=0,i=0;const o=t[8]?n.setUTCFullYear:n.setFullYear,s=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),o.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-e,l=Number(t[5]||0)-i,d=Number(t[6]||0),_=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(n,a,l,d,_),n}(i)}const n=new Date(t);if(!QS(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=na(e,n)||n;let l,a=[];for(;n;){if(l=bY.exec(n),!l){a.push(n);break}{a=a.concat(l.slice(1));const E=a.pop();if(!E)break;n=E}}let d=o.getTimezoneOffset();i&&(d=JS(i,d),o=function SY(t,n,e){const i=e?-1:1,o=t.getTimezoneOffset();return function kY(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(JS(n,o)-o))}(o,i,!0));let _="";return a.forEach(E=>{const F=function xY(t){if(cy[t])return cy[t];let n;switch(t){case"G":case"GG":case"GGG":n=Qn(Kt.Eras,rn.Abbreviated);break;case"GGGG":n=Qn(Kt.Eras,rn.Wide);break;case"GGGGG":n=Qn(Kt.Eras,rn.Narrow);break;case"y":n=Ki(Pt.FullYear,1,0,!1,!0);break;case"yy":n=Ki(Pt.FullYear,2,0,!0,!0);break;case"yyy":n=Ki(Pt.FullYear,3,0,!1,!0);break;case"yyyy":n=Ki(Pt.FullYear,4,0,!1,!0);break;case"Y":n=em(1);break;case"YY":n=em(2,!0);break;case"YYY":n=em(3);break;case"YYYY":n=em(4);break;case"M":case"L":n=Ki(Pt.Month,1,1);break;case"MM":case"LL":n=Ki(Pt.Month,2,1);break;case"MMM":n=Qn(Kt.Months,rn.Abbreviated);break;case"MMMM":n=Qn(Kt.Months,rn.Wide);break;case"MMMMM":n=Qn(Kt.Months,rn.Narrow);break;case"LLL":n=Qn(Kt.Months,rn.Abbreviated,ji.Standalone);break;case"LLLL":n=Qn(Kt.Months,rn.Wide,ji.Standalone);break;case"LLLLL":n=Qn(Kt.Months,rn.Narrow,ji.Standalone);break;case"w":n=ly(1);break;case"ww":n=ly(2);break;case"W":n=ly(1,!0);break;case"d":n=Ki(Pt.Date,1);break;case"dd":n=Ki(Pt.Date,2);break;case"c":case"cc":n=Ki(Pt.Day,1);break;case"ccc":n=Qn(Kt.Days,rn.Abbreviated,ji.Standalone);break;case"cccc":n=Qn(Kt.Days,rn.Wide,ji.Standalone);break;case"ccccc":n=Qn(Kt.Days,rn.Narrow,ji.Standalone);break;case"cccccc":n=Qn(Kt.Days,rn.Short,ji.Standalone);break;case"E":case"EE":case"EEE":n=Qn(Kt.Days,rn.Abbreviated);break;case"EEEE":n=Qn(Kt.Days,rn.Wide);break;case"EEEEE":n=Qn(Kt.Days,rn.Narrow);break;case"EEEEEE":n=Qn(Kt.Days,rn.Short);break;case"a":case"aa":case"aaa":n=Qn(Kt.DayPeriods,rn.Abbreviated);break;case"aaaa":n=Qn(Kt.DayPeriods,rn.Wide);break;case"aaaaa":n=Qn(Kt.DayPeriods,rn.Narrow);break;case"b":case"bb":case"bbb":n=Qn(Kt.DayPeriods,rn.Abbreviated,ji.Standalone,!0);break;case"bbbb":n=Qn(Kt.DayPeriods,rn.Wide,ji.Standalone,!0);break;case"bbbbb":n=Qn(Kt.DayPeriods,rn.Narrow,ji.Standalone,!0);break;case"B":case"BB":case"BBB":n=Qn(Kt.DayPeriods,rn.Abbreviated,ji.Format,!0);break;case"BBBB":n=Qn(Kt.DayPeriods,rn.Wide,ji.Format,!0);break;case"BBBBB":n=Qn(Kt.DayPeriods,rn.Narrow,ji.Format,!0);break;case"h":n=Ki(Pt.Hours,1,-12);break;case"hh":n=Ki(Pt.Hours,2,-12);break;case"H":n=Ki(Pt.Hours,1);break;case"HH":n=Ki(Pt.Hours,2);break;case"m":n=Ki(Pt.Minutes,1);break;case"mm":n=Ki(Pt.Minutes,2);break;case"s":n=Ki(Pt.Seconds,1);break;case"ss":n=Ki(Pt.Seconds,2);break;case"S":n=Ki(Pt.FractionalSeconds,1);break;case"SS":n=Ki(Pt.FractionalSeconds,2);break;case"SSS":n=Ki(Pt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Jp(ar.Short);break;case"ZZZZZ":n=Jp(ar.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Jp(ar.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Jp(ar.Long);break;default:return null}return cy[t]=n,n}(E);_+=F?F(o,e,d):"''"===E?"'":E.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_}function Zp(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function na(t,n){const e=function oY(t){return zr(t)[ct.LocaleId]}(t);if(eh[e]=eh[e]||{},eh[e][n])return eh[e][n];let i="";switch(n){case"shortDate":i=Gp(t,mi.Short);break;case"mediumDate":i=Gp(t,mi.Medium);break;case"longDate":i=Gp(t,mi.Long);break;case"fullDate":i=Gp(t,mi.Full);break;case"shortTime":i=qp(t,mi.Short);break;case"mediumTime":i=qp(t,mi.Medium);break;case"longTime":i=qp(t,mi.Long);break;case"fullTime":i=qp(t,mi.Full);break;case"short":const o=na(t,"shortTime"),s=na(t,"shortDate");i=Xp(Kp(t,mi.Short),[o,s]);break;case"medium":const a=na(t,"mediumTime"),l=na(t,"mediumDate");i=Xp(Kp(t,mi.Medium),[a,l]);break;case"long":const d=na(t,"longTime"),_=na(t,"longDate");i=Xp(Kp(t,mi.Long),[d,_]);break;case"full":const E=na(t,"fullTime"),F=na(t,"fullDate");i=Xp(Kp(t,mi.Full),[E,F])}return i&&(eh[e][n]=i),i}function Xp(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function ns(t,n,e="-",i,o){let s="";(t<0||o&&t<=0)&&(o?t=1-t:(t=-t,s=e));let a=String(t);for(;a.length0||l>-e)&&(l+=e),t===Pt.Hours)0===l&&-12===e&&(l=12);else if(t===Pt.FractionalSeconds)return function vY(t,n){return ns(t,3).substring(0,n)}(l,n);const d=zo(a,St.MinusSign);return ns(l,n,d,i,o)}}function Qn(t,n,e=ji.Format,i=!1){return function(o,s){return function MY(t,n,e,i,o,s){switch(e){case Kt.Months:return function lY(t,n,e){const i=zr(t),s=Uo([i[ct.MonthsFormat],i[ct.MonthsStandalone]],n);return Uo(s,e)}(n,o,i)[t.getMonth()];case Kt.Days:return function aY(t,n,e){const i=zr(t),s=Uo([i[ct.DaysFormat],i[ct.DaysStandalone]],n);return Uo(s,e)}(n,o,i)[t.getDay()];case Kt.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(s){const _=function hY(t){const n=zr(t);return KS(n),(n[ct.ExtraData][2]||[]).map(i=>"string"==typeof i?ay(i):[ay(i[0]),ay(i[1])])}(n),E=function fY(t,n,e){const i=zr(t);KS(i);const s=Uo([i[ct.ExtraData][0],i[ct.ExtraData][1]],n)||[];return Uo(s,e)||[]}(n,o,i),F=_.findIndex(G=>{if(Array.isArray(G)){const[ie,_e]=G,xe=a>=ie.hours&&l>=ie.minutes,Ae=a<_e.hours||a===_e.hours&&l<_e.minutes;if(ie.hours<_e.hours){if(xe&&Ae)return!0}else if(xe||Ae)return!0}else if(G.hours===a&&G.minutes===l)return!0;return!1});if(-1!==F)return E[F]}return function sY(t,n,e){const i=zr(t),s=Uo([i[ct.DayPeriodsFormat],i[ct.DayPeriodsStandalone]],n);return Uo(s,e)}(n,o,i)[a<12?0:1];case Kt.Eras:return function cY(t,n){return Uo(zr(t)[ct.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(o,s,t,n,e,i)}}function Jp(t){return function(n,e,i){const o=-1*i,s=zo(e,St.MinusSign),a=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case ar.Short:return(o>=0?"+":"")+ns(a,2,s)+ns(Math.abs(o%60),2,s);case ar.ShortGMT:return"GMT"+(o>=0?"+":"")+ns(a,1,s);case ar.Long:return"GMT"+(o>=0?"+":"")+ns(a,2,s)+":"+ns(Math.abs(o%60),2,s);case ar.Extended:return 0===i?"Z":(o>=0?"+":"")+ns(a,2,s)+":"+ns(Math.abs(o%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}const wY=0,Qp=4;function XS(t){return Zp(t.getFullYear(),t.getMonth(),t.getDate()+(Qp-t.getDay()))}function ly(t,n=!1){return function(e,i){let o;if(n){const s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,a=e.getDate();o=1+Math.floor((a+s)/7)}else{const s=XS(e),a=function CY(t){const n=Zp(t,wY,1).getDay();return Zp(t,0,1+(n<=Qp?Qp:Qp+7)-n)}(s.getFullYear()),l=s.getTime()-a.getTime();o=1+Math.round(l/6048e5)}return ns(o,t,zo(i,St.MinusSign))}}function em(t,n=!1){return function(e,i){return ns(XS(e).getFullYear(),t,zo(i,St.MinusSign),n)}}const cy={};function JS(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function QS(t){return t instanceof Date&&!isNaN(t.valueOf())}function iD(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(s)}return null}const my=/\s+/,rD=[];let Pn=(()=>{class t{constructor(e,i,o,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=rD,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(my):rD}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(my):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const o=this.stateMap.get(e);void 0!==o?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],o=e[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(my).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(N(Xu),N(Ju),N(vt),N(Xs))},t.\u0275dir=Ze({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class VY{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let gi=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,s,a)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new VY(o.item,this._ngForOf,-1,-1),null===a?void 0:a);else if(null==a)i.remove(null===s?void 0:s);else if(null!==s){const l=i.get(s);i.move(l,a),sD(l,o)}});for(let o=0,s=i.length;o{sD(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(Xu))},t.\u0275dir=Ze({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function sD(t,n){t.context.$implicit=n.item}let Ft=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new jY,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){aD("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){aD("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr))},t.\u0275dir=Ze({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class jY{constructor(){this.$implicit=null,this.ngIf=null}}function aD(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Bi(n)}'.`)}class gy{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let nh=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),t})(),_y=(()=>{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new gy(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(nh,9))},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),lD=(()=>{class t{constructor(e,i,o){o._addDefault(new gy(e,i))}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(mr),N(nh,9))},t.\u0275dir=Ze({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),pd=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(N(or))},t.\u0275dir=Ze({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Gi]}),t})();const tH=new Re("DATE_PIPE_DEFAULT_TIMEZONE"),nH=new Re("DATE_PIPE_DEFAULT_OPTIONS");let dD=(()=>{class t{constructor(e,i,o){this.locale=e,this.defaultTimezone=i,this.defaultOptions=o}transform(e,i,o,s){if(null==e||""===e||e!=e)return null;try{return ZS(e,i??this.defaultOptions?.dateFormat??"mediumDate",s||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(a){throw function is(t,n){return new Fe(2100,!1)}()}}}return t.\u0275fac=function(e){return new(e||t)(N(Is,16),N(tH,24),N(nH,24))},t.\u0275pipe=ur({name:"date",type:t,pure:!0,standalone:!0}),t})(),ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const hD="browser";function fD(t){return"server"===t}let gH=(()=>{class t{}return t.\u0275prov=Ye({token:t,providedIn:"root",factory:()=>new _H(we(It),window)}),t})();class _H{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function bH(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const s=o.shadowRoot;if(s){const a=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(a)return a}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],o-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=pD(this.window.history)||pD(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function pD(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class mD{}class WH extends J5{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class wy extends WH{static makeCurrent(){!function X5(t){iy||(iy=t)}(new wy)}onAndCancel(n,e,i){return n.addEventListener(e,i),()=>{n.removeEventListener(e,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function $H(){return rh=rh||document.querySelector("base"),rh?rh.getAttribute("href"):null}();return null==e?null:function GH(t){om=om||document.createElement("a"),om.setAttribute("href",t);const n=om.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){rh=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return iD(document.cookie,n)}}let om,rh=null,KH=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const Cy=new Re("EventManagerPlugins");let yD=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(s=>s.supports(e)),!i)throw new Fe(5101,!1);return this._eventNameToPlugin.set(e,i),i}}return t.\u0275fac=function(e){return new(e||t)(we(Cy),we(ft))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class MD{constructor(n){this._doc=n}}const xy="ng-app-id";let wD=(()=>{class t{constructor(e,i,o,s={}){this.doc=e,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=fD(s),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(o=>o.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${xy}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(e,i){const o=this.styleRef;if(o.has(e)){const s=o.get(e);return s.usage+=i,s.usage}return o.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===e)return o.delete(i),s.removeAttribute(xy),s;{const a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(xy,this.appId),a}}addStyleToHost(e,i){const o=this.getStyleElement(e,i);e.appendChild(o);const s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Du),we(Eb,8),we(Ya))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const ky={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Sy=/%COMP%/g,QH=new Re("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function xD(t,n){return n.map(e=>e.replace(Sy,t))}let Dy=(()=>{class t{constructor(e,i,o,s,a,l,d,_=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestory=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=_,this.rendererByCompId=new Map,this.platformIsServer=fD(l),this.defaultRenderer=new Ty(e,a,d,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Dr.ShadowDom&&(i={...i,encapsulation:Dr.Emulated});const o=this.getOrCreateRenderer(e,i);return o instanceof SD?o.applyToHost(e):o instanceof Ly&&o.applyStyles(),o}getOrCreateRenderer(e,i){const o=this.rendererByCompId;let s=o.get(i.id);if(!s){const a=this.doc,l=this.ngZone,d=this.eventManager,_=this.sharedStylesHost,E=this.removeStylesOnCompDestory,F=this.platformIsServer;switch(i.encapsulation){case Dr.Emulated:s=new SD(d,_,i,this.appId,E,a,l,F);break;case Dr.ShadowDom:return new iB(d,_,e,i,a,l,this.nonce,F);default:s=new Ly(d,_,i,E,a,l,F)}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}}return t.\u0275fac=function(e){return new(e||t)(we(yD),we(wD),we(Du),we(QH),we(It),we(Ya),we(ft),we(Eb))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class Ty{constructor(n,e,i,o){this.eventManager=n,this.doc=e,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(ky[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(kD(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(kD(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new Fe(5104,!1);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const s=ky[o];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=ky[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(Jr.DashCase|Jr.Important)?n.style.setProperty(e,i,o&Jr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Jr.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){if("string"==typeof n&&!(n=za().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(i))}decoratePreventDefault(n){return e=>{if("__ngUnwrap__"===e)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))&&e.preventDefault()}}}function kD(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class iB extends Ty{constructor(n,e,i,o,s,a,l,d){super(n,s,a,d),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const _=xD(o.id,o.styles);for(const E of _){const F=document.createElement("style");l&&F.setAttribute("nonce",l),F.textContent=E,this.shadowRoot.appendChild(F)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ly extends Ty{constructor(n,e,i,o,s,a,l,d){super(n,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=d?xD(d,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class SD extends Ly{constructor(n,e,i,o,s,a,l,d){const _=o+"-"+i.id;super(n,e,i,s,a,l,d,_),this.contentAttr=function eB(t){return"_ngcontent-%COMP%".replace(Sy,t)}(_),this.hostAttr=function tB(t){return"_nghost-%COMP%".replace(Sy,t)}(_)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let rB=(()=>{class t extends MD{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const DD=["alt","control","meta","shift"],oB={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sB={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let aB=(()=>{class t extends MD{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const s=t.parseEventName(i),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>za().onAndCancel(e,s.domEventName,a))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(i.pop());let a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),DD.forEach(_=>{const E=i.indexOf(_);E>-1&&(i.splice(E,1),a+=_+".")}),a+=s,0!=i.length||0===s.length)return null;const d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(e,i){let o=oB[e.key]||e.key,s="";return i.indexOf("code.")>-1&&(o=e.code,s="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),DD.forEach(a=>{a!==o&&(0,sB[a])(e)&&(s+=a+".")}),s+=o,s===i)}static eventCallback(e,i,o){return s=>{t.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const LD=[{provide:Ya,useValue:hD},{provide:Gw,useValue:function lB(){wy.makeCurrent()},multi:!0},{provide:It,useFactory:function dB(){return function gA(t){gb=t}(document),document},deps:[]}],uB=vS(H5,"browser",LD),hB=new Re(""),ED=[{provide:jp,useClass:class qH{addToWindow(n){Cn.getAngularTestability=(i,o=!0)=>{const s=n.findTestabilityInTree(i,o);if(null==s)throw new Fe(5103,!1);return s},Cn.getAllAngularTestabilities=()=>n.getAllTestabilities(),Cn.getAllAngularRootElements=()=>n.getAllRootElements(),Cn.frameworkStabilizers||(Cn.frameworkStabilizers=[]),Cn.frameworkStabilizers.push(i=>{const o=Cn.getAllAngularTestabilities();let s=o.length,a=!1;const l=function(d){a=a||d,s--,0==s&&i(a)};o.forEach(function(d){d.whenStable(l)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?za().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:pS,useClass:Wv,deps:[ft,$v,jp]},{provide:Wv,useClass:Wv,deps:[ft,$v,jp]}],ID=[{provide:kb,useValue:"root"},{provide:Ss,useFactory:function cB(){return new Ss},deps:[]},{provide:Cy,useClass:rB,multi:!0,deps:[It,ft,Ya]},{provide:Cy,useClass:aB,multi:!0,deps:[It]},Dy,wD,yD,{provide:Iu,useExisting:Dy},{provide:mD,useClass:KH,deps:[]},[]];let PD=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Du,useValue:e.appId}]}}}return t.\u0275fac=function(e){return new(e||t)(we(hB,12))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[...ID,...ED],imports:[ia,B5]}),t})(),OD=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function pB(){return new OD(we(It))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let Iy=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new(e||t):we(RD),i},providedIn:"root"}),t})(),RD=(()=>{class t extends Iy{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Dn.NONE:return i;case Dn.HTML:return xs(i,"HTML")?_o(i):Rw(this._doc,String(i)).toString();case Dn.STYLE:return xs(i,"Style")?_o(i):i;case Dn.SCRIPT:if(xs(i,"Script"))return _o(i);throw new Fe(5200,!1);case Dn.URL:return xs(i,"URL")?_o(i):pp(String(i));case Dn.RESOURCE_URL:if(xs(i,"ResourceURL"))return _o(i);throw new Fe(5201,!1);default:throw new Fe(5202,!1)}}bypassSecurityTrustHtml(e){return function CA(t){return new _A(t)}(e)}bypassSecurityTrustStyle(e){return function xA(t){return new bA(t)}(e)}bypassSecurityTrustScript(e){return function kA(t){return new vA(t)}(e)}bypassSecurityTrustUrl(e){return function SA(t){return new yA(t)}(e)}bypassSecurityTrustResourceUrl(e){return function DA(t){return new MA(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:function(e){let i=null;return i=e?new e:function bB(t){return new RD(t.get(It))}(we(Ti)),i},providedIn:"root"}),t})();class YD{}class vB{}const ra="*";function oa(t,n){return{type:7,name:t,definitions:n,options:{}}}function Wr(t,n=null){return{type:4,styles:n,timings:t}}function BD(t,n=null){return{type:2,steps:t,options:n}}function ei(t){return{type:6,styles:t,offset:null}}function yo(t,n,e){return{type:0,name:t,styles:n,options:e}}function Pr(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function Py(t=null){return{type:9,options:t}}function Oy(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function VD(t){Promise.resolve().then(t)}class oh{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){VD(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class jD{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const s=this.players.length;0==s?VD(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++e==s&&this._onFinish()}),a.onDestroy(()=>{++i==s&&this._onDestroy()}),a.onStart(()=>{++o==s&&this._onStart()})}),this.totalTime=this.players.reduce((a,l)=>Math.max(a,l.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const Ay="!";function zD(t){return new Fe(3e3,!1)}function Wa(t){switch(t.length){case 0:return new oh;case 1:return t[0];default:return new jD(t)}}function UD(t,n,e=new Map,i=new Map){const o=[],s=[];let a=-1,l=null;if(n.forEach(d=>{const _=d.get("offset"),E=_==a,F=E&&l||new Map;d.forEach((G,ie)=>{let _e=ie,xe=G;if("offset"!==ie)switch(_e=t.normalizePropertyName(_e,o),xe){case Ay:xe=e.get(ie);break;case ra:xe=i.get(ie);break;default:xe=t.normalizeStyleValue(ie,_e,xe,o)}F.set(_e,xe)}),E||s.push(F),l=F,a=_}),o.length)throw function jB(t){return new Fe(3502,!1)}();return s}function Fy(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&Ry(e,"start",t)));break;case"done":t.onDone(()=>i(e&&Ry(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&Ry(e,"destroy",t)))}}function Ry(t,n,e){const s=Ny(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),a=t._data;return null!=a&&(s._data=a),s}function Ny(t,n,e,i,o="",s=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:s,disabled:!!a}}function Mo(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function WD(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}const eV=(()=>typeof document>"u"?null:document.documentElement)();function Yy(t){const n=t.parentNode||t.host||null;return n===eV?null:n}let Bl=null,$D=!1;function GD(t,n){for(;n;){if(n===t)return!0;n=Yy(n)}return!1}function qD(t,n,e){if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]}let KD=(()=>{class t{validateStyleProperty(e){return function nV(t){Bl||(Bl=function iV(){return typeof document<"u"?document.body:null}()||{},$D=!!Bl.style&&"WebkitAppearance"in Bl.style);let n=!0;return Bl.style&&!function tV(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Bl.style,!n&&$D&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Bl.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return GD(e,i)}getParentElement(e){return Yy(e)}query(e,i,o){return qD(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,s,a,l=[],d){return new oh(o,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),Hy=(()=>{class t{}return t.NOOP=new KD,t})();const rV=1e3,By="ng-enter",sm="ng-leave",am="ng-trigger",lm=".ng-trigger",XD="ng-animating",Vy=".ng-animating";function sa(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:jy(parseFloat(n[1]),n[2])}function jy(t,n){return"s"===n?t*rV:t}function cm(t,n,e){return t.hasOwnProperty("duration")?t:function sV(t,n,e){let o,s=0,a="";if("string"==typeof t){const l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return n.push(zD()),{duration:0,delay:0,easing:""};o=jy(parseFloat(l[1]),l[2]);const d=l[3];null!=d&&(s=jy(parseFloat(d),l[4]));const _=l[5];_&&(a=_)}else o=t;if(!e){let l=!1,d=n.length;o<0&&(n.push(function yB(){return new Fe(3100,!1)}()),l=!0),s<0&&(n.push(function MB(){return new Fe(3101,!1)}()),l=!0),l&&n.splice(d,0,zD())}return{duration:o,delay:s,easing:a}}(t,n,e)}function sh(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function JD(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function $a(t,n=new Map,e){if(e)for(let[i,o]of e)n.set(i,o);for(let[i,o]of t)n.set(i,o);return n}function Ps(t,n,e){n.forEach((i,o)=>{const s=Uy(o);e&&!e.has(o)&&e.set(o,t.style[s]),t.style[s]=i})}function Vl(t,n){n.forEach((e,i)=>{const o=Uy(i);t.style[o]=""})}function ah(t){return Array.isArray(t)?1==t.length?t[0]:BD(t):t}const zy=new RegExp("{{\\s*(.+?)\\s*}}","g");function eT(t){let n=[];if("string"==typeof t){let e;for(;e=zy.exec(t);)n.push(e[1]);zy.lastIndex=0}return n}function lh(t,n,e){const i=t.toString(),o=i.replace(zy,(s,a)=>{let l=n[a];return null==l&&(e.push(function CB(t){return new Fe(3003,!1)}()),l=""),l.toString()});return o==i?t:o}function dm(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const cV=/-+([a-z0-9])/g;function Uy(t){return t.replace(cV,(...n)=>n[1].toUpperCase())}function wo(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function xB(t){return new Fe(3004,!1)}()}}function tT(t,n){return window.getComputedStyle(t)[n]}const um="*";function hV(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function fV(t,n,e){if(":"==t[0]){const d=function pV(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof d)return void n.push(d);t=d}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function NB(t){return new Fe(3015,!1)}()),n;const o=i[1],s=i[2],a=i[3];n.push(nT(o,a));"<"==s[0]&&!(o==um&&a==um)&&n.push(nT(a,o))}(i,e,n)):e.push(t),e}const hm=new Set(["true","1"]),fm=new Set(["false","0"]);function nT(t,n){const e=hm.has(t)||fm.has(t),i=hm.has(n)||fm.has(n);return(o,s)=>{let a=t==um||t==o,l=n==um||n==s;return!a&&e&&"boolean"==typeof o&&(a=o?hm.has(t):fm.has(t)),!l&&i&&"boolean"==typeof s&&(l=s?hm.has(n):fm.has(n)),a&&l}}const mV=new RegExp("s*:selfs*,?","g");function Wy(t,n,e,i){return new gV(t).build(n,e,i)}class gV{constructor(n){this._driver=n}build(n,e,i){const o=new vV(e);return this._resetContextStyleTimingState(o),wo(this,ah(n),o)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const s=[],a=[];return"@"==n.name.charAt(0)&&e.errors.push(function SB(){return new Fe(3006,!1)}()),n.definitions.forEach(l=>{if(this._resetContextStyleTimingState(e),0==l.type){const d=l,_=d.name;_.toString().split(/\s*,\s*/).forEach(E=>{d.name=E,s.push(this.visitState(d,e))}),d.name=_}else if(1==l.type){const d=this.visitTransition(l,e);i+=d.queryCount,o+=d.depCount,a.push(d)}else e.errors.push(function DB(){return new Fe(3007,!1)}())}),{type:7,name:n.name,states:s,transitions:a,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const s=new Set,a=o||{};i.styles.forEach(l=>{l instanceof Map&&l.forEach(d=>{eT(d).forEach(_=>{a.hasOwnProperty(_)||s.add(_)})})}),s.size&&(dm(s.values()),e.errors.push(function TB(t,n){return new Fe(3008,!1)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=wo(this,ah(n.animation),e);return{type:1,matchers:hV(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:jl(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>wo(this,i,e)),options:jl(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const s=n.steps.map(a=>{e.currentTime=i;const l=wo(this,a,e);return o=Math.max(o,e.currentTime),l});return e.currentTime=o,{type:3,steps:s,options:jl(n.options)}}visitAnimate(n,e){const i=function MV(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return $y(cm(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=$y(0,0,"");return s.dynamic=!0,s.strValue=e,s}const o=cm(e,n);return $y(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,s=n.styles?n.styles:ei({});if(5==s.type)o=this.visitKeyframes(s,e);else{let a=n.styles,l=!1;if(!a){l=!0;const _={};i.easing&&(_.easing=i.easing),a=ei(_)}e.currentTime+=i.duration+i.delay;const d=this.visitStyle(a,e);d.isEmptyStep=l,o=d}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],o=Array.isArray(n.styles)?n.styles:[n.styles];for(let l of o)"string"==typeof l?l===ra?i.push(l):e.errors.push(new Fe(3002,!1)):i.push(JD(l));let s=!1,a=null;return i.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(a=l.get("easing"),l.delete("easing")),!s))for(let d of l.values())if(d.toString().indexOf("{{")>=0){s=!0;break}}),{type:6,styles:i,easing:a,offset:n.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),n.styles.forEach(a=>{"string"!=typeof a&&a.forEach((l,d)=>{const _=e.collectedStyles.get(e.currentQuerySelector),E=_.get(d);let F=!0;E&&(s!=o&&s>=E.startTime&&o<=E.endTime&&(e.errors.push(function EB(t,n,e,i,o){return new Fe(3010,!1)}()),F=!1),s=E.startTime),F&&_.set(d,{startTime:s,endTime:o}),e.options&&function lV(t,n,e){const i=n.params||{},o=eT(t);o.length&&o.forEach(s=>{i.hasOwnProperty(s)||e.push(function wB(t){return new Fe(3001,!1)}())})}(l,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function IB(){return new Fe(3011,!1)}()),i;let s=0;const a=[];let l=!1,d=!1,_=0;const E=n.steps.map(ze=>{const Ee=this._makeStyleAst(ze,e);let qe=null!=Ee.offset?Ee.offset:function yV(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(Ee.styles),dt=0;return null!=qe&&(s++,dt=Ee.offset=qe),d=d||dt<0||dt>1,l=l||dt<_,_=dt,a.push(dt),Ee});d&&e.errors.push(function PB(){return new Fe(3012,!1)}()),l&&e.errors.push(function OB(){return new Fe(3200,!1)}());const F=n.steps.length;let G=0;s>0&&s{const qe=G>0?Ee==ie?1:G*Ee:a[Ee],dt=qe*Ae;e.currentTime=_e+xe.delay+dt,xe.duration=dt,this._validateStyleAst(ze,e),ze.offset=qe,i.styles.push(ze)}),i}visitReference(n,e){return{type:8,animation:wo(this,ah(n.animation),e),options:jl(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:jl(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:jl(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[s,a]=function _V(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(mV,"")),t=t.replace(/@\*/g,lm).replace(/@\w+/g,e=>lm+"-"+e.slice(1)).replace(/:animating/g,Vy),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+s:s,Mo(e.collectedStyles,e.currentQuerySelector,new Map);const l=wo(this,ah(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:o.limit||0,optional:!!o.optional,includeSelf:a,animation:l,originalSelector:n.selector,options:jl(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function FB(){return new Fe(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:cm(n.timings,e.errors,!0);return{type:12,animation:wo(this,ah(n.animation),e),timings:i,options:null}}}class vV{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function jl(t){return t?(t=sh(t)).params&&(t.params=function bV(t){return t?sh(t):null}(t.params)):t={},t}function $y(t,n,e){return{duration:t,delay:n,easing:e}}function Gy(t,n,e,i,o,s,a=null,l=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:s,totalTime:o+s,easing:a,subTimeline:l}}class pm{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const xV=new RegExp(":enter","g"),SV=new RegExp(":leave","g");function qy(t,n,e,i,o,s=new Map,a=new Map,l,d,_=[]){return(new DV).buildKeyframes(t,n,e,i,o,s,a,l,d,_)}class DV{buildKeyframes(n,e,i,o,s,a,l,d,_,E=[]){_=_||new pm;const F=new Ky(n,e,_,o,s,E,[]);F.options=d;const G=d.delay?sa(d.delay):0;F.currentTimeline.delayNextStep(G),F.currentTimeline.setStyles([a],null,F.errors,d),wo(this,i,F);const ie=F.timelines.filter(_e=>_e.containsAnimation());if(ie.length&&l.size){let _e;for(let xe=ie.length-1;xe>=0;xe--){const Ae=ie[xe];if(Ae.element===e){_e=Ae;break}}_e&&!_e.allowOnlyTimelineStyles()&&_e.setStyles([l],null,F.errors,d)}return ie.length?ie.map(_e=>_e.buildKeyframes()):[Gy(e,[],[],[],0,G,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),s=e.currentTimeline.currentTime,a=this._visitSubInstructions(i,o,o.options);s!=a&&e.transformIntoNewTimeline(a)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const o of n){const s=o?.delay;if(s){const a="number"==typeof s?s:sa(lh(s,o?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let s=e.currentTimeline.currentTime;const a=null!=i.duration?sa(i.duration):null,l=null!=i.delay?sa(i.delay):null;return 0!==a&&n.forEach(d=>{const _=e.appendInstructionToTimeline(d,a,l);s=Math.max(s,_.duration+_.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),wo(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const s=n.options;if(s&&(s.params||s.delay)&&(o=e.createSubContext(s),o.transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=mm);const a=sa(s.delay);o.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>wo(this,a,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?sa(n.options.delay):0;n.steps.forEach(a=>{const l=e.createSubContext(n.options);s&&l.delayNextStep(s),wo(this,a,l),o=Math.max(o,l.currentTimeline.currentTime),i.push(l.currentTimeline)}),i.forEach(a=>e.currentTimeline.mergeTimelineCollectedStyles(a)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return cm(e.params?lh(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.hasCurrentStyleProperties()&&i.forwardFrame();const s=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(s):i.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,s=i.duration,l=e.createSubContext().currentTimeline;l.easing=i.easing,n.styles.forEach(d=>{l.forwardTime((d.offset||0)*s),l.setStyles(d.styles,d.easing,e.errors,e.options),l.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(l),e.transformIntoNewTimeline(o+s),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},s=o.delay?sa(o.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=mm);let a=i;const l=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=l.length;let d=null;l.forEach((_,E)=>{e.currentQueryIndex=E;const F=e.createSubContext(n.options,_);s&&F.delayNextStep(s),_===e.element&&(d=F.currentTimeline),wo(this,n.animation,F),F.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,F.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),d&&(e.currentTimeline.mergeTimelineCollectedStyles(d),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,s=n.timings,a=Math.abs(s.duration),l=a*(e.currentQueryTotal-1);let d=a*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=l-d;break;case"full":d=i.currentStaggerTime}const E=e.currentTimeline;d&&E.delayNextStep(d);const F=E.currentTime;wo(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-F+(o.startTime-i.currentTimeline.startTime)}}const mm={};class Ky{constructor(n,e,i,o,s,a,l,d){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=s,this.errors=a,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=d||new gm(this._driver,e,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=sa(i.duration)),null!=i.delay&&(o.delay=sa(i.delay));const s=i.params;if(s){let a=o.params;a||(a=this.options.params={}),Object.keys(s).forEach(l=>{(!e||!a.hasOwnProperty(l))&&(a[l]=lh(s[l],a,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,s=new Ky(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=mm,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},s=new TV(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(s),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,s,a){let l=[];if(o&&l.push(this.element),n.length>0){n=(n=n.replace(xV,"."+this._enterClassName)).replace(SV,"."+this._leaveClassName);let _=this._driver.query(this.element,n,1!=i);0!==i&&(_=i<0?_.slice(_.length+i,_.length):_.slice(0,i)),l.push(..._)}return!s&&0==l.length&&a.push(function RB(t){return new Fe(3014,!1)}()),l}}class gm{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new gm(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||ra),this._currentKeyframe.set(e,ra);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&this._previousKeyframe.set("easing",e);const s=o&&o.params||{},a=function LV(t,n){const e=new Map;let i;return t.forEach(o=>{if("*"===o){i=i||n.keys();for(let s of i)e.set(s,ra)}else $a(o,e)}),e}(n,this._globalTimelineStyles);for(let[l,d]of a){const _=lh(d,s,i);this._pendingStyles.set(l,_),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ra),this._updateStyle(l,_)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const o=this._styleSummary.get(i);(!o||e.time>o.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((l,d)=>{const _=$a(l,new Map,this._backFill);_.forEach((E,F)=>{E===Ay?n.add(F):E===ra&&e.add(F)}),i||_.set("offset",d/this.duration),o.push(_)});const s=n.size?dm(n.values()):[],a=e.size?dm(e.values()):[];if(i){const l=o[0],d=new Map(l);l.set("offset",0),d.set("offset",1),o=[l,d]}return Gy(this.element,o,s,a,this.duration,this.startTime,this.easing,!1)}}class TV extends gm{constructor(n,e,i,o,s,a,l=!1){super(n,e,a.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=s,this._stretchStartingKeyframe=l,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],a=i+e,l=e/a,d=$a(n[0]);d.set("offset",0),s.push(d);const _=$a(n[0]);_.set("offset",oT(l)),s.push(_);const E=n.length-1;for(let F=1;F<=E;F++){let G=$a(n[F]);const ie=G.get("offset");G.set("offset",oT((e+ie*i)/a)),s.push(G)}i=a,e=0,o="",n=s}return Gy(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function oT(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class Zy{}const EV=new Set(["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"]);class IV extends Zy{normalizePropertyName(n,e){return Uy(n)}normalizeStyleValue(n,e,i,o){let s="";const a=i.toString().trim();if(EV.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const l=i.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&o.push(function kB(t,n){return new Fe(3005,!1)}())}return a+s}}function sT(t,n,e,i,o,s,a,l,d,_,E,F,G){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:s,toState:i,toStyles:a,timelines:l,queriedElements:d,preStyleProps:_,postStyleProps:E,totalTime:F,errors:G}}const Xy={};class aT{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function PV(t,n,e,i,o){return t.some(s=>s(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){let o=this._stateStyles.get("*");return void 0!==n&&(o=this._stateStyles.get(n?.toString())||o),o?o.buildStyles(e,i):new Map}build(n,e,i,o,s,a,l,d,_,E){const F=[],G=this.ast.options&&this.ast.options.params||Xy,_e=this.buildStyles(i,l&&l.params||Xy,F),xe=d&&d.params||Xy,Ae=this.buildStyles(o,xe,F),ze=new Set,Ee=new Map,qe=new Map,dt="void"===o,Rt={params:OV(xe,G),delay:this.ast.options?.delay},sn=E?[]:qy(n,e,this.ast.animation,s,a,_e,Ae,Rt,_,F);let Ri=0;if(sn.forEach(us=>{Ri=Math.max(us.duration+us.delay,Ri)}),F.length)return sT(e,this._triggerName,i,o,dt,_e,Ae,[],[],Ee,qe,Ri,F);sn.forEach(us=>{const Ma=us.element,UP=Mo(Ee,Ma,new Set);us.preStyleProps.forEach(dc=>UP.add(dc));const cf=Mo(qe,Ma,new Set);us.postStyleProps.forEach(dc=>cf.add(dc)),Ma!==e&&ze.add(Ma)});const ds=dm(ze.values());return sT(e,this._triggerName,i,o,dt,_e,Ae,sn,ds,Ee,qe,Ri)}}function OV(t,n){const e=sh(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class AV{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,o=sh(this.defaultParams);return Object.keys(n).forEach(s=>{const a=n[s];null!==a&&(o[s]=a)}),this.styles.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{a&&(a=lh(a,o,e));const d=this.normalizer.normalizePropertyName(l,e);a=this.normalizer.normalizeStyleValue(l,d,a,e),i.set(l,a)})}),i}}class RV{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(o=>{this.states.set(o.name,new AV(o.style,o.options&&o.options.params||{},i))}),lT(this.states,"true","1"),lT(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new aT(n,o,this.states))}),this.fallbackTransition=function NV(t,n,e){return new aT(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(a,l)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(a=>a.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function lT(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const YV=new pm;class HV{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],s=Wy(this._driver,e,i,[]);if(i.length)throw function zB(t){return new Fe(3503,!1)}();this._animations.set(n,s)}_buildPlayer(n,e,i){const o=n.element,s=UD(this._normalizer,n.keyframes,e,i);return this._driver.animate(o,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],s=this._animations.get(n);let a;const l=new Map;if(s?(a=qy(this._driver,e,s,By,sm,new Map,new Map,i,YV,o),a.forEach(E=>{const F=Mo(l,E.element,new Map);E.postStyleProps.forEach(G=>F.set(G,null))})):(o.push(function UB(){return new Fe(3300,!1)}()),a=[]),o.length)throw function WB(t){return new Fe(3504,!1)}();l.forEach((E,F)=>{E.forEach((G,ie)=>{E.set(ie,this._driver.computeStyle(F,ie,ra))})});const _=Wa(a.map(E=>{const F=l.get(E.element);return this._buildPlayer(E,new Map,F)}));return this._playersById.set(n,_),_.onDestroy(()=>this.destroy(n)),this.players.push(_),_}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function $B(t){return new Fe(3301,!1)}();return e}listen(n,e,i,o){const s=Ny(e,"","","");return Fy(this._getPlayer(n),i,s,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const cT="ng-animate-queued",Jy="ng-animate-disabled",UV=[],dT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},WV={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Wo="__ng_removed";class Qy{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function KV(t){return t??null}(i?n.value:n),i){const s=sh(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const ch="void",e0=new Qy(ch);class $V{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,$o(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.has(e))throw function GB(t,n){return new Fe(3302,!1)}();if(null==i||0==i.length)throw function qB(t){return new Fe(3303,!1)}();if(!function ZV(t){return"start"==t||"done"==t}(i))throw function KB(t,n){return new Fe(3400,!1)}();const s=Mo(this._elementListeners,n,[]),a={name:e,phase:i,callback:o};s.push(a);const l=Mo(this._engine.statesByElement,n,new Map);return l.has(e)||($o(n,am),$o(n,am+"-"+e),l.set(e,e0)),()=>{this._engine.afterFlush(()=>{const d=s.indexOf(a);d>=0&&s.splice(d,1),this._triggers.has(e)||l.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function ZB(t){return new Fe(3401,!1)}();return e}trigger(n,e,i,o=!0){const s=this._getTrigger(e),a=new t0(this.id,e,n);let l=this._engine.statesByElement.get(n);l||($o(n,am),$o(n,am+"-"+e),this._engine.statesByElement.set(n,l=new Map));let d=l.get(e);const _=new Qy(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&d&&_.absorbOptions(d.options),l.set(e,_),d||(d=e0),_.value!==ch&&d.value===_.value){if(!function QV(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{Vl(n,Ae),Ps(n,ze)})}return}const G=Mo(this._engine.playersByElement,n,[]);G.forEach(xe=>{xe.namespaceId==this.id&&xe.triggerName==e&&xe.queued&&xe.destroy()});let ie=s.matchTransition(d.value,_.value,n,_.params),_e=!1;if(!ie){if(!o)return;ie=s.fallbackTransition,_e=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:ie,fromState:d,toState:_,player:a,isFallbackTransition:_e}),_e||($o(n,cT),a.onStart(()=>{md(n,cT)})),a.onDone(()=>{let xe=this.players.indexOf(a);xe>=0&&this.players.splice(xe,1);const Ae=this._engine.playersByElement.get(n);if(Ae){let ze=Ae.indexOf(a);ze>=0&&Ae.splice(ze,1)}}),this.players.push(a),G.push(a),a}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,lm,!0);i.forEach(o=>{if(o[Wo])return;const s=this._engine.fetchNamespacesByElement(o);s.size?s.forEach(a=>a.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const s=this._engine.statesByElement.get(n),a=new Map;if(s){const l=[];if(s.forEach((d,_)=>{if(a.set(_,d.value),this._triggers.has(_)){const E=this.trigger(n,_,ch,o);E&&l.push(E)}}),l.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&Wa(l).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(s=>{const a=s.name;if(o.has(a))return;o.add(a);const d=this._triggers.get(a).fallbackTransition,_=i.get(a)||e0,E=new Qy(ch),F=new t0(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:d,fromState:_,toState:E,player:F,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else{let a=n;for(;a=a.parentNode;)if(i.statesByElement.get(a)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Wo];(!s||s===dT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){$o(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const s=i.element,a=this._elementListeners.get(s);a&&a.forEach(l=>{if(l.name==i.triggerName){const d=Ny(s,i.triggerName,i.fromState.value,i.toState.value);d._data=n,Fy(i.player,l.phase,d,l.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const s=i.transition.ast.depCount,a=o.transition.ast.depCount;return 0==s||0==a?s-a:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class GV{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,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=(o,s)=>{}}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new $V(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement;if(i.length-1>=0){let a=!1,l=this.driver.getParentElement(e);for(;l;){const d=o.get(l);if(d){const _=i.indexOf(d);i.splice(_+1,0,n),a=!0;break}l=this.driver.getParentElement(l)}a||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let o of i.values())if(o.namespaceId){const s=this._fetchNamespace(o.namespaceId);s&&e.add(s)}return e}trigger(n,e,i,o){if(_m(e)){const s=this._fetchNamespace(n);if(s)return s.trigger(e,i,o),!0}return!1}insertNode(n,e,i,o){if(!_m(e))return;const s=e[Wo];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const a=this.collectedLeaveElements.indexOf(e);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){const a=this._fetchNamespace(n);a&&a.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),$o(n,Jy)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),md(n,Jy))}removeNode(n,e,i,o){if(_m(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const a=this.namespacesByHostElement.get(e);a&&a.id!==n&&a.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,s){this.collectedLeaveElements.push(e),e[Wo]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,i,o,s){return _m(e)?this._fetchNamespace(n).listen(e,i,o,s):()=>{}}_buildInstruction(n,e,i,o,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,lm,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,Vy,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Wa(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Wo];if(e&&e.setForRemoval){if(n[Wo]=dT,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(Jy)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?Wa(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function XB(t){return new Fe(3402,!1)}()}_flushAnimations(n,e){const i=new pm,o=[],s=new Map,a=[],l=new Map,d=new Map,_=new Map,E=new Set;this.disabledNodes.forEach(mt=>{E.add(mt);const wt=this.driver.query(mt,".ng-animate-queued",!0);for(let Ot=0;Ot{const Ot=By+xe++;_e.set(wt,Ot),mt.forEach(yn=>$o(yn,Ot))});const Ae=[],ze=new Set,Ee=new Set;for(let mt=0;mtze.add(yn)):Ee.add(wt))}const qe=new Map,dt=fT(G,Array.from(ze));dt.forEach((mt,wt)=>{const Ot=sm+xe++;qe.set(wt,Ot),mt.forEach(yn=>$o(yn,Ot))}),n.push(()=>{ie.forEach((mt,wt)=>{const Ot=_e.get(wt);mt.forEach(yn=>md(yn,Ot))}),dt.forEach((mt,wt)=>{const Ot=qe.get(wt);mt.forEach(yn=>md(yn,Ot))}),Ae.forEach(mt=>{this.processLeaveNode(mt)})});const Rt=[],sn=[];for(let mt=this._namespaceList.length-1;mt>=0;mt--)this._namespaceList[mt].drainQueuedTransitions(e).forEach(Ot=>{const yn=Ot.player,vr=Ot.element;if(Rt.push(yn),this.collectedEnterElements.length){const Nr=vr[Wo];if(Nr&&Nr.setForMove){if(Nr.previousTriggersValues&&Nr.previousTriggersValues.has(Ot.triggerName)){const uc=Nr.previousTriggersValues.get(Ot.triggerName),qo=this.statesByElement.get(Ot.element);if(qo&&qo.has(Ot.triggerName)){const Bg=qo.get(Ot.triggerName);Bg.value=uc,qo.set(Ot.triggerName,Bg)}}return void yn.destroy()}}const Hs=!F||!this.driver.containsElement(F,vr),Eo=qe.get(vr),hl=_e.get(vr),Ci=this._buildInstruction(Ot,i,hl,Eo,Hs);if(Ci.errors&&Ci.errors.length)return void sn.push(Ci);if(Hs)return yn.onStart(()=>Vl(vr,Ci.fromStyles)),yn.onDestroy(()=>Ps(vr,Ci.toStyles)),void o.push(yn);if(Ot.isFallbackTransition)return yn.onStart(()=>Vl(vr,Ci.fromStyles)),yn.onDestroy(()=>Ps(vr,Ci.toStyles)),void o.push(yn);const GP=[];Ci.timelines.forEach(Nr=>{Nr.stretchStartingKeyframe=!0,this.disabledNodes.has(Nr.element)||GP.push(Nr)}),Ci.timelines=GP,i.append(vr,Ci.timelines),a.push({instruction:Ci,player:yn,element:vr}),Ci.queriedElements.forEach(Nr=>Mo(l,Nr,[]).push(yn)),Ci.preStyleProps.forEach((Nr,uc)=>{if(Nr.size){let qo=d.get(uc);qo||d.set(uc,qo=new Set),Nr.forEach((Bg,Z1)=>qo.add(Z1))}}),Ci.postStyleProps.forEach((Nr,uc)=>{let qo=_.get(uc);qo||_.set(uc,qo=new Set),Nr.forEach((Bg,Z1)=>qo.add(Z1))})});if(sn.length){const mt=[];sn.forEach(wt=>{mt.push(function JB(t,n){return new Fe(3505,!1)}())}),Rt.forEach(wt=>wt.destroy()),this.reportError(mt)}const Ri=new Map,ds=new Map;a.forEach(mt=>{const wt=mt.element;i.has(wt)&&(ds.set(wt,wt),this._beforeAnimationBuild(mt.player.namespaceId,mt.instruction,Ri))}),o.forEach(mt=>{const wt=mt.element;this._getPreviousPlayers(wt,!1,mt.namespaceId,mt.triggerName,null).forEach(yn=>{Mo(Ri,wt,[]).push(yn),yn.destroy()})});const us=Ae.filter(mt=>mT(mt,d,_)),Ma=new Map;hT(Ma,this.driver,Ee,_,ra).forEach(mt=>{mT(mt,d,_)&&us.push(mt)});const cf=new Map;ie.forEach((mt,wt)=>{hT(cf,this.driver,new Set(mt),d,Ay)}),us.forEach(mt=>{const wt=Ma.get(mt),Ot=cf.get(mt);Ma.set(mt,new Map([...Array.from(wt?.entries()??[]),...Array.from(Ot?.entries()??[])]))});const dc=[],WP=[],$P={};a.forEach(mt=>{const{element:wt,player:Ot,instruction:yn}=mt;if(i.has(wt)){if(E.has(wt))return Ot.onDestroy(()=>Ps(wt,yn.toStyles)),Ot.disabled=!0,Ot.overrideTotalTime(yn.totalTime),void o.push(Ot);let vr=$P;if(ds.size>1){let Eo=wt;const hl=[];for(;Eo=Eo.parentNode;){const Ci=ds.get(Eo);if(Ci){vr=Ci;break}hl.push(Eo)}hl.forEach(Ci=>ds.set(Ci,vr))}const Hs=this._buildAnimation(Ot.namespaceId,yn,Ri,s,cf,Ma);if(Ot.setRealPlayer(Hs),vr===$P)dc.push(Ot);else{const Eo=this.playersByElement.get(vr);Eo&&Eo.length&&(Ot.parentPlayer=Wa(Eo)),o.push(Ot)}}else Vl(wt,yn.fromStyles),Ot.onDestroy(()=>Ps(wt,yn.toStyles)),WP.push(Ot),E.has(wt)&&o.push(Ot)}),WP.forEach(mt=>{const wt=s.get(mt.element);if(wt&&wt.length){const Ot=Wa(wt);mt.setRealPlayer(Ot)}}),o.forEach(mt=>{mt.parentPlayer?mt.syncPlayerEvents(mt.parentPlayer):mt.destroy()});for(let mt=0;mt!Hs.destroyed);vr.length?XV(this,wt,vr):this.processLeaveNode(wt)}return Ae.length=0,dc.forEach(mt=>{this.players.push(mt),mt.onDone(()=>{mt.destroy();const wt=this.players.indexOf(mt);this.players.splice(wt,1)}),mt.play()}),dc}elementContainsData(n,e){let i=!1;const o=e[Wo];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,s){let a=[];if(e){const l=this.playersByQueriedElement.get(n);l&&(a=l)}else{const l=this.playersByElement.get(n);if(l){const d=!s||s==ch;l.forEach(_=>{_.queued||!d&&_.triggerName!=o||a.push(_)})}}return(i||o)&&(a=a.filter(l=>!(i&&i!=l.namespaceId||o&&o!=l.triggerName))),a}_beforeAnimationBuild(n,e,i){const s=e.element,a=e.isRemovalTransition?void 0:n,l=e.isRemovalTransition?void 0:e.triggerName;for(const d of e.timelines){const _=d.element,E=_!==s,F=Mo(i,_,[]);this._getPreviousPlayers(_,E,a,l,e.toState).forEach(ie=>{const _e=ie.getRealPlayer();_e.beforeDestroy&&_e.beforeDestroy(),ie.destroy(),F.push(ie)})}Vl(s,e.fromStyles)}_buildAnimation(n,e,i,o,s,a){const l=e.triggerName,d=e.element,_=[],E=new Set,F=new Set,G=e.timelines.map(_e=>{const xe=_e.element;E.add(xe);const Ae=xe[Wo];if(Ae&&Ae.removedBeforeQueried)return new oh(_e.duration,_e.delay);const ze=xe!==d,Ee=function JV(t){const n=[];return pT(t,n),n}((i.get(xe)||UV).map(Ri=>Ri.getRealPlayer())).filter(Ri=>!!Ri.element&&Ri.element===xe),qe=s.get(xe),dt=a.get(xe),Rt=UD(this._normalizer,_e.keyframes,qe,dt),sn=this._buildPlayer(_e,Rt,Ee);if(_e.subTimeline&&o&&F.add(xe),ze){const Ri=new t0(n,l,xe);Ri.setRealPlayer(sn),_.push(Ri)}return sn});_.forEach(_e=>{Mo(this.playersByQueriedElement,_e.element,[]).push(_e),_e.onDone(()=>function qV(t,n,e){let i=t.get(n);if(i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,_e.element,_e))}),E.forEach(_e=>$o(_e,XD));const ie=Wa(G);return ie.onDestroy(()=>{E.forEach(_e=>md(_e,XD)),Ps(d,e.toStyles)}),F.forEach(_e=>{Mo(o,_e,[]).push(ie)}),ie}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new oh(n.duration,n.delay)}}class t0{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new oh,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(o=>Fy(n,i,void 0,o))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Mo(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function _m(t){return t&&1===t.nodeType}function uT(t,n){const e=t.style.display;return t.style.display=n??"none",e}function hT(t,n,e,i,o){const s=[];e.forEach(d=>s.push(uT(d)));const a=[];i.forEach((d,_)=>{const E=new Map;d.forEach(F=>{const G=n.computeStyle(_,F,o);E.set(F,G),(!G||0==G.length)&&(_[Wo]=WV,a.push(_))}),t.set(_,E)});let l=0;return e.forEach(d=>uT(d,s[l++])),a}function fT(t,n){const e=new Map;if(t.forEach(l=>e.set(l,[])),0==n.length)return e;const i=1,o=new Set(n),s=new Map;function a(l){if(!l)return i;let d=s.get(l);if(d)return d;const _=l.parentNode;return d=e.has(_)?_:o.has(_)?i:a(_),s.set(l,d),d}return n.forEach(l=>{const d=a(l);d!==i&&e.get(d).push(l)}),e}function $o(t,n){t.classList?.add(n)}function md(t,n){t.classList?.remove(n)}function XV(t,n,e){Wa(e).onDone(()=>t.processLeaveNode(n))}function pT(t,n){for(let e=0;eo.add(s)):n.set(t,i),e.delete(t),!0}class bm{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new GV(n,e,i),this._timelineEngine=new HV(n,e,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,e,i,o,s){const a=n+"-"+o;let l=this._triggerCache[a];if(!l){const d=[],E=Wy(this._driver,s,d,[]);if(d.length)throw function VB(t,n){return new Fe(3404,!1)}();l=function FV(t,n,e){return new RV(t,n,e)}(o,E,this._normalizer),this._triggerCache[a]=l}this._transitionEngine.registerTrigger(e,o,l)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[s,a]=WD(i);this._timelineEngine.command(s,e,a,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,s){if("@"==i.charAt(0)){const[a,l]=WD(i);return this._timelineEngine.listen(a,e,l,s)}return this._transitionEngine.listen(n,e,i,o,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let t8=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Ps(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ps(this._element,this._initialStyles),this._endStyles&&(Ps(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Vl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vl(this._element,this._endStyles),this._endStyles=null),Ps(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function n0(t){let n=null;return t.forEach((e,i)=>{(function n8(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class gT{constructor(n,e,i,o){this.element=n,this.keyframes=e,this.options=i,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,o)=>{"offset"!==o&&n.set(o,this._finished?i:tT(this.element,o))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class i8{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return GD(n,e)}getParentElement(n){return Yy(n)}query(n,e,i){return qD(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,s,a=[]){const d={duration:i,delay:o,fill:0==o?"both":"forwards"};s&&(d.easing=s);const _=new Map,E=a.filter(ie=>ie instanceof gT);(function dV(t,n){return 0===t||0===n})(i,o)&&E.forEach(ie=>{ie.currentSnapshot.forEach((_e,xe)=>_.set(xe,_e))});let F=function aV(t){return t.length?t[0]instanceof Map?t:t.map(n=>JD(n)):[]}(e).map(ie=>$a(ie));F=function uV(t,n,e){if(e.size&&n.length){let i=n[0],o=[];if(e.forEach((s,a)=>{i.has(a)||o.push(a),i.set(a,s)}),o.length)for(let s=1;sa.set(l,tT(t,l)))}}return n}(n,F,_);const G=function e8(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=n0(n[0]),n.length>1&&(i=n0(n[n.length-1]))):n instanceof Map&&(e=n0(n)),e||i?new t8(t,e,i):null}(n,F);return new gT(n,F,d,G)}}let r8=(()=>{class t extends YD{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Dr.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?BD(e):e;return _T(this._renderer,null,i,"register",[o]),new o8(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(we(Iu),we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class o8 extends vB{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new s8(this._id,n,e||{},this._renderer)}}class s8{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return _T(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function _T(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const bT="@.disabled";let a8=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,a)=>{const l=a?.parentNode(s);l&&a.removeChild(l,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let E=this._rendererCache.get(s);return E||(E=new vT("",s,this.engine,()=>this._rendererCache.delete(s)),this._rendererCache.set(s,E)),E}const a=i.id,l=i.id+"-"+this._currentId;this._currentId++,this.engine.register(l,e);const d=E=>{Array.isArray(E)?E.forEach(d):this.engine.registerTrigger(a,l,e,E.name,E)};return i.data.animation.forEach(d),new l8(this,l,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[a,l]=s;a(l)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(we(Iu),we(bm),we(ft))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();class vT{constructor(n,e,i,o){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=o,this.destroyNode=this.delegate.destroyNode?s=>e.destroyNode(s):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==bT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class l8 extends vT{constructor(n,e,i,o,s){super(e,i,o,s),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==bT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function c8(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let s=e.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function d8(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,e,i)}}let u8=(()=>{class t extends bm{constructor(e,i,o,s){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Hy),we(Zy),we(ja))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const yT=[{provide:YD,useClass:r8},{provide:Zy,useFactory:function h8(){return new IV}},{provide:bm,useClass:u8},{provide:Iu,useFactory:function f8(t,n,e){return new a8(t,n,e)},deps:[Dy,bm,ft]}],r0=[{provide:Hy,useFactory:()=>new i8},{provide:Vi,useValue:"BrowserAnimations"},...yT],MT=[{provide:Hy,useClass:KD},{provide:Vi,useValue:"NoopAnimations"},...yT];let p8=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?MT:r0}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:r0,imports:[PD]}),t})();function $e(...t){let n=t[t.length-1];return Se(n)?(t.pop(),W(t,n)):Rn(t)}function zl(t,n){return Ne(t,n,1)}function _i(t,n){return function(i){return i.lift(new m8(t,n))}}class m8{constructor(n,e){this.predicate=n,this.thisArg=e}call(n,e){return e.subscribe(new g8(n,this.predicate,this.thisArg))}}class g8 extends A{constructor(n,e,i){super(n),this.predicate=e,this.thisArg=i,this.count=0}_next(n){let e;try{e=this.predicate.call(this.thisArg,n,this.count++)}catch(i){return void this.destination.error(i)}e&&this.destination.next(n)}}function gr(t,n){return"function"==typeof n?e=>e.pipe(gr((i,o)=>ue(t(i,o)).pipe(ke((s,a)=>n(i,s,o,a))))):e=>e.lift(new _8(t))}class _8{constructor(n){this.project=n}call(n,e){return e.subscribe(new b8(n,this.project))}}class b8 extends Me{constructor(n,e){super(n),this.project=e,this.index=0}_next(n){let e;const i=this.index++;try{e=this.project(n,i)}catch(o){return void this.destination.error(o)}this._innerSub(e)}_innerSub(n){const e=this.innerSubscription;e&&e.unsubscribe();const i=new be(this),o=this.destination;o.add(i),this.innerSubscription=Ie(n,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}class ym{}class o0{}class rs{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),s=o.toLowerCase(),a=e.slice(i+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(a):this.headers.set(s,[a])}})}:()=>{this.headers=new Map,Object.entries(n).forEach(([e,i])=>{let o;if(o="string"==typeof i?[i]:"number"==typeof i?[i.toString()]:i.map(s=>s.toString()),o.length>0){const s=e.toLowerCase();this.headers.set(s,o),this.maybeSetNormalizedName(e,s)}})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof rs?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new rs;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof rs?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const s=n.value;if(s){let a=this.headers.get(e);if(!a)return;a=a.filter(l=>-1===s.indexOf(l)),0===a.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class v8{encodeKey(n){return wT(n)}encodeValue(n){return wT(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const M8=/%(\d[a-f0-9])/gi,w8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function wT(t){return encodeURIComponent(t).replace(M8,(n,e)=>w8[e]??n)}function Mm(t){return`${t}`}class Ga{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new v8,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function y8(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[a,l]=-1==s?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,s)),n.decodeValue(o.slice(s+1))],d=e.get(a)||[];d.push(l),e.set(a,d)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],o=Array.isArray(i)?i.map(Mm):[Mm(i)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Ga({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Mm(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(Mm(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class C8{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function CT(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function xT(t){return typeof Blob<"u"&&t instanceof Blob}function kT(t){return typeof FormData<"u"&&t instanceof FormData}class dh{constructor(n,e,i,o){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function x8(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,s=o):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new rs),this.context||(this.context=new C8),this.params){const a=this.params.toString();if(0===a.length)this.urlWithParams=e;else{const l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":lF.set(G,n.setHeaders[G]),d)),n.setParams&&(_=Object.keys(n.setParams).reduce((F,G)=>F.set(G,n.setParams[G]),_)),new dh(e,i,s,{params:_,headers:d,context:E,reportProgress:l,responseType:o,withCredentials:a})}}var Zi=(()=>((Zi=Zi||{})[Zi.Sent=0]="Sent",Zi[Zi.UploadProgress=1]="UploadProgress",Zi[Zi.ResponseHeader=2]="ResponseHeader",Zi[Zi.DownloadProgress=3]="DownloadProgress",Zi[Zi.Response=4]="Response",Zi[Zi.User=5]="User",Zi))();class s0{constructor(n,e=200,i="OK"){this.headers=n.headers||new rs,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class a0 extends s0{constructor(n={}){super(n),this.type=Zi.ResponseHeader}clone(n={}){return new a0({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class gd extends s0{constructor(n={}){super(n),this.type=Zi.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new gd({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class ST extends s0{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function l0(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Ul=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let s;if(e instanceof dh)s=e;else{let d,_;d=o.headers instanceof rs?o.headers:new rs(o.headers),o.params&&(_=o.params instanceof Ga?o.params:new Ga({fromObject:o.params})),s=new dh(e,i,void 0!==o.body?o.body:null,{headers:d,context:o.context,params:_,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const a=$e(s).pipe(zl(d=>this.handler.handle(d)));if(e instanceof dh||"events"===o.observe)return a;const l=a.pipe(_i(d=>d instanceof gd));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ke(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(ke(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(ke(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return l.pipe(ke(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ga).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,l0(o,i))}post(e,i,o={}){return this.request("POST",e,l0(o,i))}put(e,i,o={}){return this.request("PUT",e,l0(o,i))}}return t.\u0275fac=function(e){return new(e||t)(we(ym))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function DT(t,n){return n(t)}function S8(t,n){return(e,i)=>n.intercept(e,{handle:o=>t(o,i)})}const T8=new Re(""),uh=new Re(""),TT=new Re("");function L8(){let t=null;return(n,e)=>(null===t&&(t=(Qe(T8,{optional:!0})??[]).reduceRight(S8,DT)),t(n,e))}let LT=(()=>{class t extends ym{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(uh),...this.injector.get(TT,[])]));this.chain=i.reduceRight((o,s)=>function D8(t,n,e){return(i,o)=>e.runInContext(()=>n(i,s=>t(s,o)))}(o,s,this.injector),DT)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(we(o0),we(ks))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const O8=/^\)\]\}',?\n/;let IT=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");const i=this.xhrFactory;return(i.\u0275loadImpl?ue(i.\u0275loadImpl()):$e(null)).pipe(gr(()=>new he(s=>{const a=i.build();if(a.open(e.method,e.urlWithParams),e.withCredentials&&(a.withCredentials=!0),e.headers.forEach((Ee,qe)=>a.setRequestHeader(Ee,qe.join(","))),e.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const Ee=e.detectContentTypeHeader();null!==Ee&&a.setRequestHeader("Content-Type",Ee)}if(e.responseType){const Ee=e.responseType.toLowerCase();a.responseType="json"!==Ee?Ee:"text"}const l=e.serializeBody();let d=null;const _=()=>{if(null!==d)return d;const Ee=a.statusText||"OK",qe=new rs(a.getAllResponseHeaders()),dt=function A8(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(a)||e.url;return d=new a0({headers:qe,status:a.status,statusText:Ee,url:dt}),d},E=()=>{let{headers:Ee,status:qe,statusText:dt,url:Rt}=_(),sn=null;204!==qe&&(sn=typeof a.response>"u"?a.responseText:a.response),0===qe&&(qe=sn?200:0);let Ri=qe>=200&&qe<300;if("json"===e.responseType&&"string"==typeof sn){const ds=sn;sn=sn.replace(O8,"");try{sn=""!==sn?JSON.parse(sn):null}catch(us){sn=ds,Ri&&(Ri=!1,sn={error:us,text:sn})}}Ri?(s.next(new gd({body:sn,headers:Ee,status:qe,statusText:dt,url:Rt||void 0})),s.complete()):s.error(new ST({error:sn,headers:Ee,status:qe,statusText:dt,url:Rt||void 0}))},F=Ee=>{const{url:qe}=_(),dt=new ST({error:Ee,status:a.status||0,statusText:a.statusText||"Unknown Error",url:qe||void 0});s.error(dt)};let G=!1;const ie=Ee=>{G||(s.next(_()),G=!0);let qe={type:Zi.DownloadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(qe.total=Ee.total),"text"===e.responseType&&a.responseText&&(qe.partialText=a.responseText),s.next(qe)},_e=Ee=>{let qe={type:Zi.UploadProgress,loaded:Ee.loaded};Ee.lengthComputable&&(qe.total=Ee.total),s.next(qe)};let xe;a.addEventListener("load",E),a.addEventListener("error",F),a.addEventListener("timeout",F),a.addEventListener("abort",F),e.reportProgress&&(a.addEventListener("progress",ie),null!==l&&a.upload&&a.upload.addEventListener("progress",_e));const Ae=()=>{xe??=function R8(){const t=setTimeout(()=>{},F8);return()=>clearTimeout(t)}()},ze=()=>{xe?.()};return a.addEventListener("loadstart",Ae),a.addEventListener("loadend",ze),a.send(l),s.next({type:Zi.Sent}),()=>{a.removeEventListener("loadstart",Ae),a.removeEventListener("loadend",ze),a.removeEventListener("error",F),a.removeEventListener("abort",F),a.removeEventListener("load",E),a.removeEventListener("timeout",F),xe?.(),e.reportProgress&&(a.removeEventListener("progress",ie),null!==l&&a.upload&&a.upload.removeEventListener("progress",_e)),a.readyState!==a.DONE&&a.abort()}})))}}return t.\u0275fac=function(e){return new(e||t)(we(mD))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const F8=2147483647,c0=new Re("XSRF_ENABLED"),PT=new Re("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),OT=new Re("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class AT{}let H8=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=iD(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(Ya),we(PT))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function B8(t,n){const e=t.url.toLowerCase();if(!Qe(c0)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Qe(AT).getToken(),o=Qe(OT);return null!=i&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,i)})),n(t)}var Ui=(()=>((Ui=Ui||{})[Ui.Interceptors=0]="Interceptors",Ui[Ui.LegacyInterceptors=1]="LegacyInterceptors",Ui[Ui.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ui[Ui.NoXsrfProtection=3]="NoXsrfProtection",Ui[Ui.JsonpSupport=4]="JsonpSupport",Ui[Ui.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ui))();function _d(t,n){return{\u0275kind:t,\u0275providers:n}}function V8(...t){const n=[Ul,IT,LT,{provide:ym,useExisting:LT},{provide:o0,useExisting:IT},{provide:uh,useValue:B8,multi:!0},{provide:c0,useValue:!0},{provide:AT,useClass:H8}];for(const e of t)n.push(...e.\u0275providers);return function Mb(t){return{\u0275providers:t}}(n)}const FT=new Re("LEGACY_INTERCEPTOR_FN");let z8=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[V8(_d(Ui.LegacyInterceptors,[{provide:FT,useFactory:L8},{provide:uh,useExisting:FT,multi:!0}]))]}),t})();function qa(t){return!!t&&(t instanceof he||"function"==typeof t.lift&&"function"==typeof t.subscribe)}class Or extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return e&&!e.closed&&n.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ee;return this._value}next(n){super.next(this._value=n)}}class K8 extends A{notifyNext(n,e,i,o,s){this.destination.next(e)}notifyError(n,e){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class Z8 extends A{constructor(n,e,i){super(),this.parent=n,this.outerValue=e,this.outerIndex=i,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function X8(t,n,e,i,o=new Z8(t,e,i)){if(!o.closed)return n instanceof he?n.subscribe(o):Yi(n)(o)}const RT={};function wm(...t){let n,e;return Se(t[t.length-1])&&(e=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&M(t[0])&&(t=t[0]),Rn(t,e).lift(new J8(n))}class J8{constructor(n){this.resultSelector=n}call(n,e){return e.subscribe(new Q8(n,this.resultSelector))}}class Q8 extends K8{constructor(n,e){super(n),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(RT),this.observables.push(n)}_complete(){const n=this.observables,e=n.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let i=0;i{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function Ka(...t){return function e6(){return fn(1)}()($e(...t))}const aa=new he(t=>t.complete());function xm(t){return t?function t6(t){return new he(n=>t.schedule(()=>n.complete()))}(t):aa}function Wl(t){return new he(n=>{let e;try{e=t()}catch(o){return void n.error(o)}return(e?ue(e):xm()).subscribe(n)})}function Ar(t,n){return new he(n?e=>n.schedule(n6,0,{error:t,subscriber:e}):e=>e.error(t))}function n6({error:t,subscriber:n}){n.error(t)}const NT=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Kn(t){return n=>0===t?xm():n.lift(new i6(t))}class i6{constructor(n){if(this.total=n,this.total<0)throw new NT}call(n,e){return e.subscribe(new r6(n,this.total))}}class r6 extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){const e=this.total,i=++this.count;i<=e&&(this.destination.next(n),i===e&&(this.destination.complete(),this.unsubscribe()))}}function Go(...t){const n=t[t.length-1];return Se(n)?(t.pop(),e=>Ka(t,e,n)):e=>Ka(t,e)}function km(t=null){return n=>n.lift(new o6(t))}class o6{constructor(n){this.defaultValue=n}call(n,e){return e.subscribe(new s6(n,this.defaultValue))}}class s6 extends A{constructor(n,e){super(n),this.defaultValue=e,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function YT(t=c6){return n=>n.lift(new a6(t))}class a6{constructor(n){this.errorFactory=n}call(n,e){return e.subscribe(new l6(n,this.errorFactory))}}class l6 extends A{constructor(n,e){super(n),this.errorFactory=e,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(e){n=e}this.destination.error(n)}}}function c6(){return new Cm}function Os(t,n){const e=arguments.length>=2;return i=>i.pipe(t?_i((o,s)=>t(o,s,i)):ye,Kn(1),e?km(n):YT(()=>new Cm))}function Za(){}function bi(t,n,e){return function(o){return o.lift(new d6(t,n,e))}}class d6{constructor(n,e,i){this.nextOrObserver=n,this.error=e,this.complete=i}call(n,e){return e.subscribe(new u6(n,this.nextOrObserver,this.error,this.complete))}}class u6 extends A{constructor(n,e,i,o){super(n),this._tapNext=Za,this._tapError=Za,this._tapComplete=Za,this._tapError=i||Za,this._tapComplete=o||Za,O(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Za,this._tapError=e.error||Za,this._tapComplete=e.complete||Za)}_next(n){try{this._tapNext.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(e){return void this.destination.error(e)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function Co(t){return function(e){const i=new h6(t),o=e.lift(i);return i.caught=o}}class h6{constructor(n){this.selector=n}call(n,e){return e.subscribe(new f6(n,this.selector,this.caught))}}class f6 extends Me{constructor(n,e,i){super(n),this.selector=e,this.caught=i}error(n){if(!this.isStopped){let e;try{e=this.selector(n,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const i=new be(this);this.add(i);const o=Ie(e,i);o!==i&&this.add(o)}}}class m6{constructor(n,e,i=!1){this.accumulator=n,this.seed=e,this.hasSeed=i}call(n,e){return e.subscribe(new g6(n,this.accumulator,this.seed,this.hasSeed))}}class g6 extends A{constructor(n,e,i,o){super(n),this.accumulator=e,this._seed=i,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const e=this.index++;let i;try{i=this.accumulator(this.seed,n,e)}catch(o){this.destination.error(o)}this.seed=i,this.destination.next(i)}}function d0(t){return function(e){return 0===t?xm():e.lift(new _6(t))}}class _6{constructor(n){if(this.total=n,this.total<0)throw new NT}call(n,e){return e.subscribe(new b6(n,this.total))}}class b6 extends A{constructor(n,e){super(n),this.total=e,this.ring=new Array,this.count=0}_next(n){const e=this.ring,i=this.total,o=this.count++;e.length0){const i=this.count>=this.total?this.total:this.count,o=this.ring;for(let s=0;sn.lift(new C6(t))}class C6{constructor(n){this.callback=n}call(n,e){return e.subscribe(new x6(n,this.callback))}}class x6 extends A{constructor(n,e){super(n),this.add(new T(e))}}const Gt="primary",fh=Symbol("RouteTitle");class k6{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function bd(t){return new k6(t)}function S6(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[s]===o)}return t===n}function BT(t){return t.length>0?t[t.length-1]:null}function Xa(t){return qa(t)?t:Vu(t)?ue(Promise.resolve(t)):$e(t)}const T6={exact:function zT(t,n,e){if(!$l(t.segments,n.segments)||!Dm(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!zT(t.children[i],n.children[i],e))return!1;return!0},subset:UT},VT={exact:function L6(t,n){return As(t,n)},subset:function E6(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>HT(t[e],n[e]))},ignored:()=>!0};function jT(t,n,e){return T6[e.paths](t.root,n.root,e.matrixParams)&&VT[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function UT(t,n,e){return WT(t,n,n.segments,e)}function WT(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!$l(o,e)||n.hasChildren()||!Dm(o,e,i))}if(t.segments.length===e.length){if(!$l(t.segments,e)||!Dm(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!UT(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!($l(t.segments,o)&&Dm(t.segments,o,i)&&t.children[Gt])&&WT(t.children[Gt],n,s,i)}}function Dm(t,n,e){return n.every((i,o)=>VT[e](t[o].parameters,i.parameters))}class vd{constructor(n=new Hn([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bd(this.queryParams)),this._queryParamMap}toString(){return O6.serialize(this)}}class Hn{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tm(this)}}class ph{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=bd(this.parameters)),this._parameterMap}toString(){return qT(this)}}function $l(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let mh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return new u0},providedIn:"root"}),t})();class u0{parse(n){const e=new U6(n);return new vd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${gh(n.root,!0)}`,i=function R6(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${Lm(e)}=${Lm(o)}`).join("&"):`${Lm(e)}=${Lm(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams),o="string"==typeof n.fragment?`#${function A6(t){return encodeURI(t)}(n.fragment)}`:"";return`${e}${i}${o}`}}const O6=new u0;function Tm(t){return t.segments.map(n=>qT(n)).join("/")}function gh(t,n){if(!t.hasChildren())return Tm(t);if(n){const e=t.children[Gt]?gh(t.children[Gt],!1):"",i=[];return Object.entries(t.children).forEach(([o,s])=>{o!==Gt&&i.push(`${o}:${gh(s,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function P6(t,n){let e=[];return Object.entries(t.children).forEach(([i,o])=>{i===Gt&&(e=e.concat(n(o,i)))}),Object.entries(t.children).forEach(([i,o])=>{i!==Gt&&(e=e.concat(n(o,i)))}),e}(t,(i,o)=>o===Gt?[gh(t.children[Gt],!1)]:[`${o}:${gh(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Gt]?`${Tm(t)}/${e[0]}`:`${Tm(t)}/(${e.join("//")})`}}function $T(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Lm(t){return $T(t).replace(/%3B/gi,";")}function h0(t){return $T(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Em(t){return decodeURIComponent(t)}function GT(t){return Em(t.replace(/\+/g,"%20"))}function qT(t){return`${h0(t.path)}${function F6(t){return Object.keys(t).map(n=>`;${h0(n)}=${h0(t[n])}`).join("")}(t.parameters)}`}const N6=/^[^\/()?;#]+/;function f0(t){const n=t.match(N6);return n?n[0]:""}const Y6=/^[^\/()?;=#]+/,B6=/^[^=?&#]+/,j6=/^[^&#]+/;class U6{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Hn([],{}):new Hn([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Gt]=new Hn(n,e)),i}parseSegment(){const n=f0(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Fe(4009,!1);return this.capture(n),new ph(Em(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=function H6(t){const n=t.match(Y6);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=f0(this.remaining);o&&(i=o,this.capture(i))}n[Em(e)]=Em(i)}parseQueryParam(n){const e=function V6(t){const n=t.match(B6);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const a=function z6(t){const n=t.match(j6);return n?n[0]:""}(this.remaining);a&&(i=a,this.capture(i))}const o=GT(e),s=GT(i);if(n.hasOwnProperty(o)){let a=n[o];Array.isArray(a)||(a=[a],n[o]=a),a.push(s)}else n[o]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=f0(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new Fe(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=Gt);const a=this.parseChildren();e[s]=1===Object.keys(a).length?a[Gt]:new Hn([],a),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Fe(4011,!1)}}function KT(t){return t.segments.length>0?new Hn([],{[Gt]:t}):t}function ZT(t){const n={};for(const i of Object.keys(t.children)){const s=ZT(t.children[i]);if(i===Gt&&0===s.segments.length&&s.hasChildren())for(const[a,l]of Object.entries(s.children))n[a]=l;else(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function W6(t){if(1===t.numberOfChildren&&t.children[Gt]){const n=t.children[Gt];return new Hn(t.segments.concat(n.segments),n.children)}return t}(new Hn(t.segments,n))}function Gl(t){return t instanceof vd}function XT(t){let n;const o=KT(function e(s){const a={};for(const d of s.children){const _=e(d);a[d.outlet]=_}const l=new Hn(s.url,a);return s===t&&(n=l),l}(t.root));return n??o}function JT(t,n,e,i){let o=t;for(;o.parent;)o=o.parent;if(0===n.length)return p0(o,o,o,e,i);const s=function G6(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new e2(!0,0,t);let n=0,e=!1;const i=t.reduce((o,s,a)=>{if("object"==typeof s&&null!=s){if(s.outlets){const l={};return Object.entries(s.outlets).forEach(([d,_])=>{l[d]="string"==typeof _?_.split("/"):_}),[...o,{outlets:l}]}if(s.segmentPath)return[...o,s.segmentPath]}return"string"!=typeof s?[...o,s]:0===a?(s.split("/").forEach((l,d)=>{0==d&&"."===l||(0==d&&""===l?e=!0:".."===l?n++:""!=l&&o.push(l))}),o):[...o,s]},[]);return new e2(e,n,i)}(n);if(s.toRoot())return p0(o,o,new Hn([],{}),e,i);const a=function q6(t,n,e){if(t.isAbsolute)return new Pm(n,!0,0);if(!e)return new Pm(n,!1,NaN);if(null===e.parent)return new Pm(e,!0,0);const i=Im(t.commands[0])?0:1;return function K6(t,n,e){let i=t,o=n,s=e;for(;s>o;){if(s-=o,i=i.parent,!i)throw new Fe(4005,!1);o=i.segments.length}return new Pm(i,!1,o-s)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?bh(a.segmentGroup,a.index,s.commands):t2(a.segmentGroup,a.index,s.commands);return p0(o,a.segmentGroup,l,e,i)}function Im(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function _h(t){return"object"==typeof t&&null!=t&&t.outlets}function p0(t,n,e,i,o){let a,s={};i&&Object.entries(i).forEach(([d,_])=>{s[d]=Array.isArray(_)?_.map(E=>`${E}`):`${_}`}),a=t===n?e:QT(t,n,e);const l=KT(ZT(a));return new vd(l,s,o)}function QT(t,n,e){const i={};return Object.entries(t.children).forEach(([o,s])=>{i[o]=s===n?e:QT(s,n,e)}),new Hn(t.segments,i)}class e2{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Im(i[0]))throw new Fe(4003,!1);const o=i.find(_h);if(o&&o!==BT(i))throw new Fe(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pm{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function t2(t,n,e){if(t||(t=new Hn([],{})),0===t.segments.length&&t.hasChildren())return bh(t,n,e);const i=function X6(t,n,e){let i=0,o=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return s;const a=t.segments[o],l=e[i];if(_h(l))break;const d=`${l}`,_=i0&&void 0===d)break;if(d&&_&&"object"==typeof _&&void 0===_.outlets){if(!r2(d,_,a))return s;i+=2}else{if(!r2(d,{},a))return s;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof a&&(a=[a]),null!==a&&(o[s]=t2(t.children[s],n,a))}),Object.entries(t.children).forEach(([s,a])=>{void 0===i[s]&&(o[s]=a)}),new Hn(t.segments,o)}}function m0(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof i&&(i=[i]),null!==i&&(n[e]=m0(new Hn([],{}),0,i))}),n}function n2(t){const n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function r2(t,n,e){return t==e.path&&As(n,e.parameters)}const vh="imperative";class Fs{constructor(n,e){this.id=n,this.url=e}}class g0 extends Fs{constructor(n,e,i="imperative",o=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ja extends Fs{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Om extends Fs{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yh extends Fs{constructor(n,e,i,o){super(n,e),this.reason=i,this.code=o,this.type=16}}class _0 extends Fs{constructor(n,e,i,o){super(n,e),this.error=i,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Q6 extends Fs{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ej extends Fs{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tj extends Fs{constructor(n,e,i,o,s){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class nj extends Fs{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ij extends Fs{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rj{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class oj{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class sj{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aj{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class lj{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class cj{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class o2{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class dj{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Mh,this.attachRef=null}}let Mh=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const o=this.getOrCreateContext(e);o.outlet=i,this.contexts.set(e,o)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new dj,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class s2{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=b0(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=b0(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=v0(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return v0(n,this._root).map(e=>e.value)}}function b0(t,n){if(t===n.value)return n;for(const e of n.children){const i=b0(t,e);if(i)return i}return null}function v0(t,n){if(t===n.value)return[n];for(const e of n.children){const i=v0(t,e);if(i.length)return i.unshift(n),i}return[]}class la{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function yd(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class a2 extends s2{constructor(n,e){super(n),this.snapshot=e,y0(this,n)}toString(){return this.snapshot.toString()}}function l2(t,n){const e=function uj(t,n){const a=new Am([],{},{},"",{},Gt,n,null,{});return new d2("",new la(a,[]))}(0,n),i=new Or([new ph("",{})]),o=new Or({}),s=new Or({}),a=new Or({}),l=new Or(""),d=new Cr(i,o,a,l,s,Gt,n,e.root);return d.snapshot=e.root,new a2(new la(d,[]),e)}class Cr{constructor(n,e,i,o,s,a,l,d){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=o,this.dataSubject=s,this.outlet=a,this.component=l,this._futureSnapshot=d,this.title=this.dataSubject?.pipe(ke(_=>_[fh]))??$e(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ke(n=>bd(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ke(n=>bd(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function c2(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],s=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(s.component)break;i--}}return function hj(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Am{get title(){return this.data?.[fh]}constructor(n,e,i,o,s,a,l,d,_){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s,this.outlet=a,this.component=l,this.routeConfig=d,this._resolve=_}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=bd(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=bd(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class d2 extends s2{constructor(n,e){super(e),this.url=n,y0(this,e)}toString(){return u2(this._root)}}function y0(t,n){n.value._routerState=t,n.children.forEach(e=>y0(t,e))}function u2(t){const n=t.children.length>0?` { ${t.children.map(u2).join(", ")} } `:"";return`${t.value}${n}`}function M0(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,As(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),As(n.params,e.params)||t.paramsSubject.next(e.params),function D6(t,n){if(t.length!==n.length)return!1;for(let e=0;eAs(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||w0(t.parent,n.parent))}let Fm=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=Gt,this.activateEvents=new ht,this.deactivateEvents=new ht,this.attachEvents=new ht,this.detachEvents=new ht,this.parentContexts=Qe(Mh),this.location=Qe(or),this.changeDetector=Qe(pi),this.environmentInjector=Qe(ks),this.inputBinder=Qe(Rm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:o}=e.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Fe(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Fe(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Fe(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Fe(4013,!1);this._activatedRoute=e;const o=this.location,a=e.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new fj(e,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Gi]}),t})();class fj{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Cr?this.route:n===Mh?this.childContexts:this.parent.get(n,e)}}const Rm=new Re("");let h2=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:i}=e,o=wm([i.queryParams,i.params,i.data]).pipe(gr(([s,a,l],d)=>(l={...s,...a,...l},0===d?$e(l):Promise.resolve(l)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const a=function Z5(t){const n=gn(t);if(!n)return null;const e=new Ru(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone}}}(i.component);if(a)for(const{templateName:l}of a.inputs)e.activatedComponentRef.setInput(l,s[l]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function wh(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function mj(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return wh(t,i,o);return wh(t,i)})}(t,n,e);return new la(i,o)}{if(t.shouldAttach(n.value)){const s=t.retrieve(n.value);if(null!==s){const a=s.route;return a.value._futureSnapshot=n.value,a.children=n.children.map(l=>wh(t,l)),a}}const i=function gj(t){return new Cr(new Or(t.url),new Or(t.params),new Or(t.queryParams),new Or(t.fragment),new Or(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(s=>wh(t,s));return new la(i,o)}}const C0="ngNavigationCancelingError";function f2(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Gl(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=p2(!1,0,n);return o.url=e,o.navigationBehaviorOptions=i,o}function p2(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[C0]=!0,i.cancellationCode=n,e&&(i.url=e),i}function m2(t){return g2(t)&&Gl(t.url)}function g2(t){return t&&t[C0]}let _2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["ng-component"]],standalone:!0,features:[bk],decls:1,vars:0,template:function(e,i){1&e&&Ce(0,"router-outlet")},dependencies:[Fm],encapsulation:2}),t})();function x0(t){const n=t.children&&t.children.map(x0),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==Gt&&(e.component=_2),e}function os(t){return t.outlet||Gt}function Ch(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class Cj{constructor(n,e,i,o,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o,this.inputBindingEnabled=s}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),M0(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=yd(e);n.children.forEach(s=>{const a=s.value.outlet;this.deactivateRoutes(s,o[a],i),delete o[a]}),Object.values(o).forEach(s=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(o===s)if(o.component){const a=i.getContext(o.outlet);a&&this.deactivateChildRoutes(n,e,a.children)}else this.deactivateChildRoutes(n,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=yd(n);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],o);if(i&&i.outlet){const a=i.outlet.detach(),l=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:a,route:n,contexts:l})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=yd(n);for(const a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],o);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){const o=yd(e);n.children.forEach(s=>{this.activateRoutes(s,o[s.value.outlet],i),this.forwardEvent(new cj(s.value.snapshot))}),n.children.length&&this.forwardEvent(new aj(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(M0(o),o===s)if(o.component){const a=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,a.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const a=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const l=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),a.children.onOutletReAttached(l.contexts),a.attachRef=l.componentRef,a.route=l.route.value,a.outlet&&a.outlet.attach(l.componentRef,l.route.value),M0(l.route.value),this.activateChildRoutes(n,null,a.children)}else{const l=Ch(o.snapshot);a.attachRef=null,a.route=o,a.injector=l,a.outlet&&a.outlet.activateWith(o,a.injector),this.activateChildRoutes(n,null,a.children)}}else this.activateChildRoutes(n,null,i)}}class b2{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Nm{constructor(n,e){this.component=n,this.route=e}}function xj(t,n,e){const i=t._root;return xh(i,n?n._root:null,e,[i.value])}function Md(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function Ug(t){return null!==fc(t)}(t)?n.get(t):t:i}function xh(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=yd(n);return t.children.forEach(a=>{(function Sj(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=e?e.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const d=function Dj(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!$l(t.url,n.url);case"pathParamsOrQueryParamsChange":return!$l(t.url,n.url)||!As(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!w0(t,n)||!As(t.queryParams,n.queryParams);default:return!w0(t,n)}}(a,s,s.routeConfig.runGuardsAndResolvers);d?o.canActivateChecks.push(new b2(i)):(s.data=a.data,s._resolvedData=a._resolvedData),xh(t,n,s.component?l?l.children:null:e,i,o),d&&l&&l.outlet&&l.outlet.isActivated&&o.canDeactivateChecks.push(new Nm(l.outlet.component,a))}else a&&kh(n,l,o),o.canActivateChecks.push(new b2(i)),xh(t,null,s.component?l?l.children:null:e,i,o)})(a,s[a.value.outlet],e,i.concat([a.value]),o),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,l])=>kh(l,e.getContext(a),o)),o}function kh(t,n,e){const i=yd(t),o=t.value;Object.entries(i).forEach(([s,a])=>{kh(a,o.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new Nm(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function Sh(t){return"function"==typeof t}function v2(t){return t instanceof Cm||"EmptyError"===t?.name}const Ym=Symbol("INITIAL_VALUE");function wd(){return gr(t=>wm(t.map(n=>n.pipe(Kn(1),Go(Ym)))).pipe(ke(n=>{for(const e of n)if(!0!==e){if(e===Ym)return Ym;if(!1===e||e instanceof vd)return e}return!0}),_i(n=>n!==Ym),Kn(1)))}function y2(t){return function Z(...t){return X(t)}(bi(n=>{if(Gl(n))throw f2(0,n)}),ke(n=>!0===n))}class Hm{constructor(n){this.segmentGroup=n||null}}class M2{constructor(n){this.urlTree=n}}function Cd(t){return Ar(new Hm(t))}function w2(t){return Ar(new M2(t))}class Gj{constructor(n,e){this.urlSerializer=n,this.urlTree=e}noMatchError(n){return new Fe(4002,!1)}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return $e(i);if(o.numberOfChildren>1||!o.children[Gt])return Ar(new Fe(4e3,!1));o=o.children[Gt]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,o){const s=this.createSegmentGroup(n,e.root,i,o);return new vd(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Object.entries(n).forEach(([o,s])=>{if("string"==typeof s&&s.startsWith(":")){const l=s.substring(1);i[o]=e[l]}else i[o]=s}),i}createSegmentGroup(n,e,i,o){const s=this.createSegments(n,e.segments,i,o);let a={};return Object.entries(e.children).forEach(([l,d])=>{a[l]=this.createSegmentGroup(n,d,i,o)}),new Hn(s,a)}createSegments(n,e,i,o){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,o):this.findOrReturn(s,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new Fe(4001,!1);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}const k0={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qj(t,n,e,i,o){const s=S0(t,n,e);return s.matched?(i=function _j(t,n){return t.providers&&!t._injector&&(t._injector=kv(t.providers,n,`Route: ${t.path}`)),t._injector??n}(n,i),function Uj(t,n,e,i){const o=n.canMatch;return o&&0!==o.length?$e(o.map(a=>{const l=Md(a,t);return Xa(function Oj(t){return t&&Sh(t.canMatch)}(l)?l.canMatch(n,e):t.runInContext(()=>l(n,e)))})).pipe(wd(),y2()):$e(!0)}(i,n,e).pipe(ke(a=>!0===a?s:{...k0}))):$e(s)}function S0(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...k0}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const o=(n.matcher||S6)(e,t,n);if(!o)return{...k0};const s={};Object.entries(o.posParams??{}).forEach(([l,d])=>{s[l]=d.path});const a=o.consumed.length>0?{...s,...o.consumed[o.consumed.length-1].parameters}:s;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:a,positionalParamSegments:o.posParams??{}}}function C2(t,n,e,i){return e.length>0&&function Xj(t,n,e){return e.some(i=>Bm(t,n,i)&&os(i)!==Gt)}(t,e,i)?{segmentGroup:new Hn(n,Zj(i,new Hn(e,t.children))),slicedSegments:[]}:0===e.length&&function Jj(t,n,e){return e.some(i=>Bm(t,n,i))}(t,e,i)?{segmentGroup:new Hn(t.segments,Kj(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Hn(t.segments,t.children),slicedSegments:e}}function Kj(t,n,e,i,o){const s={};for(const a of i)if(Bm(t,e,a)&&!o[os(a)]){const l=new Hn([],{});s[os(a)]=l}return{...o,...s}}function Zj(t,n){const e={};e[Gt]=n;for(const i of t)if(""===i.path&&os(i)!==Gt){const o=new Hn([],{});e[os(i)]=o}return e}function Bm(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}class n7{constructor(n,e,i,o,s,a,l){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=o,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=l,this.allowRedirects=!0,this.applyRedirects=new Gj(this.urlSerializer,this.urlTree)}noMatchError(n){return new Fe(4002,!1)}recognize(){const n=C2(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Gt).pipe(Co(e=>{if(e instanceof M2)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof Hm?this.noMatchError(e):e}),ke(e=>{const i=new Am([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Gt,this.rootComponentType,null,{}),o=new la(i,e),s=new d2("",o),a=function $6(t,n,e=null,i=null){return JT(XT(t),n,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root),{state:s,tree:a}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,Gt).pipe(Co(i=>{throw i instanceof Hm?this.noMatchError(i):i}))}inheritParamsAndData(n){const e=n.value,i=c2(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,o,!0)}processChildren(n,e,i){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return ue(o).pipe(zl(s=>{const a=i.children[s],l=function Mj(t,n){const e=t.filter(i=>os(i)===n);return e.push(...t.filter(i=>os(i)!==n)),e}(e,s);return this.processSegmentGroup(n,l,a,s)}),function p6(t,n){let e=!1;return arguments.length>=2&&(e=!0),function(o){return o.lift(new m6(t,n,e))}}((s,a)=>(s.push(...a),s)),km(null),function v6(t,n){const e=arguments.length>=2;return i=>i.pipe(t?_i((o,s)=>t(o,s,i)):ye,d0(1),e?km(n):YT(()=>new Cm))}(),Ne(s=>{if(null===s)return Cd(i);const a=x2(s);return function i7(t){t.sort((n,e)=>n.value.outlet===Gt?-1:e.value.outlet===Gt?1:n.value.outlet.localeCompare(e.value.outlet))}(a),$e(a)}))}processSegment(n,e,i,o,s,a){return ue(e).pipe(zl(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,o,s,a).pipe(Co(d=>{if(d instanceof Hm)return $e(null);throw d}))),Os(l=>!!l),Co(l=>{if(v2(l))return function e7(t,n,e){return 0===n.length&&!t.children[e]}(i,o,s)?$e([]):Cd(i);throw l}))}processSegmentAgainstRoute(n,e,i,o,s,a,l){return function Qj(t,n,e,i){return!!(os(t)===i||i!==Gt&&Bm(n,e,t))&&("**"===t.path||S0(n,t,e).matched)}(i,o,s,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,o,i,s,a,l):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,e,i,s,a):Cd(o):Cd(o)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const s=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?w2(s):this.applyRedirects.lineralizeSegments(i,s).pipe(Ne(a=>{const l=new Hn(a,{});return this.processSegment(n,e,l,a,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,a){const{matched:l,consumedSegments:d,remainingSegments:_,positionalParamSegments:E}=S0(e,o,s);if(!l)return Cd(e);const F=this.applyRedirects.applyRedirectCommands(d,o.redirectTo,E);return o.redirectTo.startsWith("/")?w2(F):this.applyRedirects.lineralizeSegments(o,F).pipe(Ne(G=>this.processSegment(n,i,e,G.concat(_),a,!1)))}matchSegmentAgainstRoute(n,e,i,o,s,a){let l;if("**"===i.path){const d=o.length>0?BT(o).parameters:{};l=$e({snapshot:new Am(o,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,k2(i),os(i),i.component??i._loadedComponent??null,i,S2(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else l=qj(e,i,o,n).pipe(ke(({matched:d,consumedSegments:_,remainingSegments:E,parameters:F})=>d?{snapshot:new Am(_,F,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,k2(i),os(i),i.component??i._loadedComponent??null,i,S2(i)),consumedSegments:_,remainingSegments:E}:null));return l.pipe(gr(d=>null===d?Cd(e):this.getChildConfig(n=i._injector??n,i,o).pipe(gr(({routes:_})=>{const E=i._loadedInjector??n,{snapshot:F,consumedSegments:G,remainingSegments:ie}=d,{segmentGroup:_e,slicedSegments:xe}=C2(e,G,ie,_);if(0===xe.length&&_e.hasChildren())return this.processChildren(E,_,_e).pipe(ke(ze=>null===ze?null:[new la(F,ze)]));if(0===_.length&&0===xe.length)return $e([new la(F,[])]);const Ae=os(i)===s;return this.processSegment(E,_,_e,xe,Ae?Gt:s,!0).pipe(ke(ze=>[new la(F,ze)]))}))))}getChildConfig(n,e,i){return e.children?$e({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?$e({routes:e._loadedRoutes,injector:e._loadedInjector}):function zj(t,n,e,i){const o=n.canLoad;return void 0===o||0===o.length?$e(!0):$e(o.map(a=>{const l=Md(a,t);return Xa(function Lj(t){return t&&Sh(t.canLoad)}(l)?l.canLoad(n,e):t.runInContext(()=>l(n,e)))})).pipe(wd(),y2())}(n,e,i).pipe(Ne(o=>o?this.configLoader.loadChildren(n,e).pipe(bi(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):function $j(t){return Ar(p2(!1,3))}())):$e({routes:[],injector:n})}}function r7(t){const n=t.value.routeConfig;return n&&""===n.path}function x2(t){const n=[],e=new Set;for(const i of t){if(!r7(i)){n.push(i);continue}const o=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=x2(i.children);n.push(new la(i.value,o))}return n.filter(i=>!e.has(i))}function k2(t){return t.data||{}}function S2(t){return t.resolve||{}}function D2(t){return"string"==typeof t.title||null===t.title}function D0(t){return gr(n=>{const e=t(n);return e?ue(e).pipe(ke(()=>n)):$e(n)})}const xd=new Re("ROUTES");let T0=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Qe(sS)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return $e(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=Xa(e.loadComponent()).pipe(ke(T2),bi(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),Sm(()=>{this.componentLoaders.delete(e)})),o=new Kr(i,()=>new J).pipe(qt());return this.componentLoaders.set(e,o),o}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return $e({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(ke(l=>{this.onLoadEndListener&&this.onLoadEndListener(i);let d,_;return Array.isArray(l)?_=l:(d=l.create(e).injector,_=d.get(xd,[],Ct.Self|Ct.Optional).flat()),{routes:_.map(x0),injector:d}}),Sm(()=>{this.childrenLoaders.delete(i)})),a=new Kr(s,()=>new J).pipe(qt());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(e){return Xa(e()).pipe(ke(T2),Ne(i=>i instanceof gk||Array.isArray(i)?$e(i):ue(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function T2(t){return function u7(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let Vm=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new J,this.configLoader=Qe(T0),this.environmentInjector=Qe(ks),this.urlSerializer=Qe(mh),this.rootContexts=Qe(Mh),this.inputBindingEnabled=null!==Qe(Rm,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>$e(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new oj(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new rj(o))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new Or({id:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:vh,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(_i(i=>0!==i.id),ke(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),gr(i=>{let o=!1,s=!1;return $e(i).pipe(bi(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),gr(a=>{const l=e.browserUrlTree.toString(),d=!e.navigated||a.extractedUrl.toString()!==l||l!==e.currentUrlTree.toString();if(!d&&"reload"!==(a.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const E="";return this.events.next(new yh(a.id,e.serializeUrl(i.rawUrl),E,0)),e.rawUrlTree=a.rawUrl,a.resolve(null),aa}if(e.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return L2(a.source)&&(e.browserUrlTree=a.extractedUrl),$e(a).pipe(gr(E=>{const F=this.transitions?.getValue();return this.events.next(new g0(E.id,this.urlSerializer.serialize(E.extractedUrl),E.source,E.restoredState)),F!==this.transitions?.getValue()?aa:Promise.resolve(E)}),function o7(t,n,e,i,o,s){return Ne(a=>function t7(t,n,e,i,o,s,a="emptyOnly"){return new n7(t,n,e,i,o,a,s).recognize()}(t,n,e,i,a.extractedUrl,o,s).pipe(ke(({state:l,tree:d})=>({...a,targetSnapshot:l,urlAfterRedirects:d}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),bi(E=>{if(i.targetSnapshot=E.targetSnapshot,i.urlAfterRedirects=E.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:E.urlAfterRedirects},"eager"===e.urlUpdateStrategy){if(!E.extras.skipLocationChange){const G=e.urlHandlingStrategy.merge(E.urlAfterRedirects,E.rawUrl);e.setBrowserUrl(G,E)}e.browserUrlTree=E.urlAfterRedirects}const F=new Q6(E.id,this.urlSerializer.serialize(E.extractedUrl),this.urlSerializer.serialize(E.urlAfterRedirects),E.targetSnapshot);this.events.next(F)}));if(d&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:E,extractedUrl:F,source:G,restoredState:ie,extras:_e}=a,xe=new g0(E,this.urlSerializer.serialize(F),G,ie);this.events.next(xe);const Ae=l2(0,this.rootComponentType).snapshot;return $e(i={...a,targetSnapshot:Ae,urlAfterRedirects:F,extras:{..._e,skipLocationChange:!1,replaceUrl:!1}})}{const E="";return this.events.next(new yh(a.id,e.serializeUrl(i.extractedUrl),E,1)),e.rawUrlTree=a.rawUrl,a.resolve(null),aa}}),bi(a=>{const l=new ej(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),ke(a=>i={...a,guards:xj(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function Fj(t,n){return Ne(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:a}}=e;return 0===a.length&&0===s.length?$e({...e,guardsResult:!0}):function Rj(t,n,e,i){return ue(t).pipe(Ne(o=>function jj(t,n,e,i,o){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?$e(s.map(l=>{const d=Ch(n)??o,_=Md(l,d);return Xa(function Pj(t){return t&&Sh(t.canDeactivate)}(_)?_.canDeactivate(t,n,e,i):d.runInContext(()=>_(t,n,e,i))).pipe(Os())})).pipe(wd()):$e(!0)}(o.component,o.route,e,n,i)),Os(o=>!0!==o,!0))}(a,i,o,t).pipe(Ne(l=>l&&function Tj(t){return"boolean"==typeof t}(l)?function Nj(t,n,e,i){return ue(n).pipe(zl(o=>Ka(function Hj(t,n){return null!==t&&n&&n(new sj(t)),$e(!0)}(o.route.parent,i),function Yj(t,n){return null!==t&&n&&n(new lj(t)),$e(!0)}(o.route,i),function Vj(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(a=>function kj(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(a)).filter(a=>null!==a).map(a=>Wl(()=>$e(a.guards.map(d=>{const _=Ch(a.node)??e,E=Md(d,_);return Xa(function Ij(t){return t&&Sh(t.canActivateChild)}(E)?E.canActivateChild(i,t):_.runInContext(()=>E(i,t))).pipe(Os())})).pipe(wd())));return $e(s).pipe(wd())}(t,o.path,e),function Bj(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return $e(!0);const o=i.map(s=>Wl(()=>{const a=Ch(n)??e,l=Md(s,a);return Xa(function Ej(t){return t&&Sh(t.canActivate)}(l)?l.canActivate(n,t):a.runInContext(()=>l(n,t))).pipe(Os())}));return $e(o).pipe(wd())}(t,o.route,e))),Os(o=>!0!==o,!0))}(i,s,t,n):$e(l)),ke(l=>({...e,guardsResult:l})))})}(this.environmentInjector,a=>this.events.next(a)),bi(a=>{if(i.guardsResult=a.guardsResult,Gl(a.guardsResult))throw f2(0,a.guardsResult);const l=new tj(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(l)}),_i(a=>!!a.guardsResult||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),D0(a=>{if(a.guards.canActivateChecks.length)return $e(a).pipe(bi(l=>{const d=new nj(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),gr(l=>{let d=!1;return $e(l).pipe(function s7(t,n){return Ne(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return $e(e);let s=0;return ue(o).pipe(zl(a=>function a7(t,n,e,i){const o=t.routeConfig,s=t._resolve;return void 0!==o?.title&&!D2(o)&&(s[fh]=o.title),function l7(t,n,e,i){const o=function c7(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===o.length)return $e({});const s={};return ue(o).pipe(Ne(a=>function d7(t,n,e,i){const o=Ch(n)??i,s=Md(t,o);return Xa(s.resolve?s.resolve(n,e):o.runInContext(()=>s(n,e)))}(t[a],n,e,i).pipe(Os(),bi(l=>{s[a]=l}))),d0(1),function y6(t){return n=>n.lift(new M6(t))}(s),Co(a=>v2(a)?aa:Ar(a)))}(s,t,n,i).pipe(ke(a=>(t._resolvedData=a,t.data=c2(t,e).resolve,o&&D2(o)&&(t.data[fh]=o.title),null)))}(a.route,i,t,n)),bi(()=>s++),d0(1),Ne(a=>s===o.length?$e(e):aa))})}(e.paramsInheritanceStrategy,this.environmentInjector),bi({next:()=>d=!0,complete:()=>{d||(e.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),bi(l=>{const d=new ij(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),D0(a=>{const l=d=>{const _=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&_.push(this.configLoader.loadComponent(d.routeConfig).pipe(bi(E=>{d.component=E}),ke(()=>{})));for(const E of d.children)_.push(...l(E));return _};return wm(l(a.targetSnapshot.root)).pipe(km(),Kn(1))}),D0(()=>this.afterPreactivation()),ke(a=>{const l=function pj(t,n,e){const i=wh(t,n._root,e?e._root:void 0);return new a2(i,n)}(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i={...a,targetRouterState:l}}),bi(a=>{e.currentUrlTree=a.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),e.routerState=a.targetRouterState,"deferred"===e.urlUpdateStrategy&&(a.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,a),e.browserUrlTree=a.urlAfterRedirects)}),((t,n,e,i)=>ke(o=>(new Cj(n,o.targetRouterState,o.currentRouterState,e,i).activate(t),o)))(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),Kn(1),bi({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Ja(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Sm(()=>{o||s||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Co(a=>{if(s=!0,g2(a)){m2(a)||(e.navigated=!0,e.restoreHistory(i,!0));const l=new Om(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(l),m2(a)){const d=e.urlHandlingStrategy.merge(a.url,e.rawUrlTree),_={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||L2(i.source)};e.scheduleNavigation(d,vh,null,_,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const l=new _0(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(l);try{i.resolve(e.errorHandler(a))}catch(d){i.reject(d)}}return aa}))}))}cancelNavigationTransition(e,i,o){const s=new Om(e.id,this.urlSerializer.serialize(e.extractedUrl),i,o);this.events.next(s),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function L2(t){return t!==vh}let E2=(()=>{class t{buildTitle(e){let i,o=e.root;for(;void 0!==o;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===Gt);return i}getResolvedTitleForRoute(e){return e.data[fh]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Qe(h7)},providedIn:"root"}),t})(),h7=(()=>{class t extends E2{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(we(OD))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),I2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Qe(p7)},providedIn:"root"}),t})();class f7{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let p7=(()=>{class t extends f7{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jm=new Re("",{providedIn:"root",factory:()=>({})});let m7=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:function(){return Qe(g7)},providedIn:"root"}),t})(),g7=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var xo=(()=>((xo=xo||{})[xo.COMPLETE=0]="COMPLETE",xo[xo.FAILED=1]="FAILED",xo[xo.REDIRECTING=2]="REDIRECTING",xo))();function P2(t,n){t.events.pipe(_i(e=>e instanceof Ja||e instanceof Om||e instanceof _0||e instanceof yh),ke(e=>e instanceof Ja||e instanceof yh?xo.COMPLETE:e instanceof Om&&(0===e.code||1===e.code)?xo.REDIRECTING:xo.FAILED),_i(e=>e!==xo.REDIRECTING),Kn(1)).subscribe(()=>{n()})}function _7(t){throw t}function b7(t,n,e){return n.parse("/")}const v7={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},y7={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let hn=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Qe(oS),this.isNgZoneEnabled=!1,this.options=Qe(jm,{optional:!0})||{},this.pendingTasks=Qe(jS),this.errorHandler=this.options.errorHandler||_7,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||b7,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Qe(m7),this.routeReuseStrategy=Qe(I2),this.titleStrategy=Qe(E2),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Qe(xd,{optional:!0})?.flat()??[],this.navigationTransitions=Qe(Vm),this.urlSerializer=Qe(mh),this.location=Qe(Qu),this.componentInputBindingEnabled=!!Qe(Rm,{optional:!0}),this.isNgZoneEnabled=Qe(ft)instanceof ft&&ft.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vd,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=l2(0,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId??0},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),vh,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,o){const s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){const d={...o};delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(s.state=d)}const l=this.parseUrl(e);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(x0),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=i,_=d?this.currentUrlTree.fragment:a;let F,E=null;switch(l){case"merge":E={...this.currentUrlTree.queryParams,...s};break;case"preserve":E=this.currentUrlTree.queryParams;break;default:E=s||null}null!==E&&(E=this.removeEmptyProps(E));try{F=XT(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),F=this.currentUrlTree.root}return JT(F,e,E,_??null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=Gl(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,vh,null,i)}navigate(e,i={skipLocationChange:!1}){return function M7(t){for(let n=0;n{const s=e[o];return null!=s&&(i[o]=s),i},{})}scheduleNavigation(e,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,_;a?(l=a.resolve,d=a.reject,_=a.promise):_=new Promise((F,G)=>{l=F,d=G});const E=this.pendingTasks.add();return P2(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(E))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:l,reject:d,promise:_,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),_.catch(F=>Promise.reject(F))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(o,"",a)}else{const s={...i.extras.state,...this.generateNgRouterState(i.id,(this.browserPageId??0)+1)};this.location.go(o,"",s)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const s=this.currentPageId-(this.browserPageId??this.currentPageId);0!==s?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===s&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Qa=(()=>{class t{constructor(e,i,o,s,a,l){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new J;const d=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===d||"area"===d,this.isAnchorElement?this.subscription=e.events.subscribe(_=>{_ instanceof Ja&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=fd(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=fd(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=fd(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,i,o,s,a){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||i||o||s||a||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function Yw(t,n,e){return function jA(t,n){return"src"===n&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===n&&("base"===t||"link"===t)?Nw:Vo}(n,e)(t)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,i){const o=this.renderer,s=this.el.nativeElement;null!==i?o.setAttribute(s,e,i):o.removeAttribute(s,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(N(hn),N(Cr),Na("tabindex"),N(Xs),N(vt),N(Hl))},t.\u0275dir=Ze({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,i){1&e&&ve("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&Jt("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Gi]}),t})();class O2{}let x7=(()=>{class t{constructor(e,i,o,s,a){this.router=e,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(_i(e=>e instanceof Ja),zl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const s of i){s.providers&&!s._injector&&(s._injector=kv(s.providers,e,`Route: ${s.path}`));const a=s._injector??e,l=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&void 0===s.canLoad||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(l,s.children??s._loadedRoutes))}return ue(o).pipe(fn())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let o;o=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):$e(null);const s=o.pipe(Ne(a=>null===a?$e(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??e,a.routes))));return i.loadComponent&&!i._loadedComponent?ue([s,this.loader.loadComponent(i)]).pipe(fn()):s})}}return t.\u0275fac=function(e){return new(e||t)(we(hn),we(sS),we(ks),we(O2),we(T0))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const L0=new Re("");let A2=(()=>{class t{constructor(e,i,o,s,a={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof g0?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ja?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof yh&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof o2&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new o2(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){Ha()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function ca(t,n){return{\u0275kind:t,\u0275providers:n}}function R2(){const t=Qe(Ti);return n=>{const e=t.get(ja);if(n!==e.components[0])return;const i=t.get(hn),o=t.get(N2);1===t.get(E0)&&i.initialNavigation(),t.get(Y2,null,Ct.Optional)?.setUpPreloading(),t.get(L0,null,Ct.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const N2=new Re("",{factory:()=>new J}),E0=new Re("",{providedIn:"root",factory:()=>1}),Y2=new Re("");function T7(t){return ca(0,[{provide:Y2,useExisting:x7},{provide:O2,useExisting:t}])}const H2=new Re("ROUTER_FORROOT_GUARD"),E7=[Qu,{provide:mh,useClass:u0},hn,Mh,{provide:Cr,useFactory:function F2(t){return t.routerState.root},deps:[hn]},T0,[]];function I7(){return new _S("Router",hn)}let B2=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[E7,[],{provide:xd,multi:!0,useValue:e},{provide:H2,useFactory:F7,deps:[[hn,new Dl,new _u]]},{provide:jm,useValue:i||{}},i?.useHash?{provide:Hl,useClass:tY}:{provide:Hl,useClass:$S},{provide:L0,useFactory:()=>{const t=Qe(gH),n=Qe(ft),e=Qe(jm),i=Qe(Vm),o=Qe(mh);return e.scrollOffset&&t.setOffset(e.scrollOffset),new A2(o,i,t,n,e)}},i?.preloadingStrategy?T7(i.preloadingStrategy).\u0275providers:[],{provide:_S,multi:!0,useFactory:I7},i?.initialNavigation?R7(i):[],i?.bindToComponentInputs?ca(8,[h2,{provide:Rm,useExisting:h2}]).\u0275providers:[],[{provide:V2,useFactory:R2},{provide:Kv,multi:!0,useExisting:V2}]]}}static forChild(e){return{ngModule:t,providers:[{provide:xd,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(we(H2,8))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();function F7(t){return"guarded"}function R7(t){return["disabled"===t.initialNavigation?ca(3,[{provide:Bv,multi:!0,useFactory:()=>{const n=Qe(hn);return()=>{n.setUpLocationChangeListener()}}},{provide:E0,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?ca(2,[{provide:E0,useValue:0},{provide:Bv,multi:!0,deps:[Ti],useFactory:n=>{const e=n.get(Q5,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const o=n.get(hn),s=n.get(N2);P2(o,()=>{i(!0)}),n.get(Vm).afterPreactivation=()=>(i(!0),s.closed?$e(void 0):s),o.initialNavigation()}))}}]).\u0275providers:[]]}const V2=new Re("");class Y7 extends T{constructor(n,e){super()}schedule(n,e=0){return this}}class zm extends Y7{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return e;clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(s){i=!0,o=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),o}_unsubscribe(){const n=this.id,e=this.scheduler,i=e.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&i.splice(o,1),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null}}let j2=(()=>{class t{constructor(e,i=t.now){this.SchedulerAction=e,this.now=i}schedule(e,i=0,o){return new this.SchedulerAction(this,e).schedule(o,i)}}return t.now=()=>Date.now(),t})();class ss extends j2{constructor(n,e=j2.now){super(n,()=>ss.delegate&&ss.delegate!==this?ss.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,e=0,i){return ss.delegate&&ss.delegate!==this?ss.delegate.schedule(n,e,i):super.schedule(n,e,i)}flush(n){const{actions:e}=this;if(this.active)return void e.push(n);let i;this.active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this.active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const kd=new ss(zm);class no{constructor(n,e,i){this.kind=n,this.value=e,this.error=i,this.hasValue="N"===n}observe(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()}}do(n,e,i){switch(this.kind){case"N":return n&&n(this.value);case"E":return e&&e(this.error);case"C":return i&&i()}}accept(n,e,i){return n&&"function"==typeof n.next?this.observe(n):this.do(n,e,i)}toObservable(){switch(this.kind){case"N":return $e(this.value);case"E":return Ar(this.error);case"C":return xm()}throw new Error("unexpected notification kind value")}static createNext(n){return typeof n<"u"?new no("N",n):no.undefinedValueNotification}static createError(n){return new no("E",void 0,n)}static createComplete(){return no.completeNotification}}function Ei(t,n=kd){const i=function H7(t){return t instanceof Date&&!isNaN(+t)}(t)?+t-n.now():Math.abs(t);return o=>o.lift(new B7(i,n))}no.completeNotification=new no("C"),no.undefinedValueNotification=new no("N",void 0);class B7{constructor(n,e){this.delay=n,this.scheduler=e}call(n,e){return e.subscribe(new I0(n,this.delay,this.scheduler))}}class I0 extends A{constructor(n,e,i){super(n),this.delay=e,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(n){const e=n.source,i=e.queue,o=n.scheduler,s=n.destination;for(;i.length>0&&i[0].time-o.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const a=Math.max(0,i[0].time-o.now());this.schedule(n,a)}else this.unsubscribe(),e.active=!1}_schedule(n){this.active=!0,this.destination.add(n.schedule(I0.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))}scheduleNotification(n){if(!0===this.errored)return;const e=this.scheduler,i=new V7(e.now()+this.delay,n);this.queue.push(i),!1===this.active&&this._schedule(e)}_next(n){this.scheduleNotification(no.createNext(n))}_error(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()}_complete(){this.scheduleNotification(no.createComplete()),this.unsubscribe()}}class V7{constructor(n,e){this.time=n,this.notification=e}}var el=(()=>((el=el||{}).NoConnection="NoConnection",el.Unknown="Unknown",el))();class j7{}const z2="common.operation-error";function Qt(t){if(t&&t.type&&!t.srcElement)return t;const n=new j7;if(n.originalError=t,!t||"string"==typeof t)return n.originalServerErrorMsg=t||"",n.translatableErrorMsg=t||z2,n.type=el.Unknown,n;n.originalServerErrorMsg=function U7(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{}}return null}(t);return null!=t.status&&(0===t.status||504===t.status)&&(n.type=el.NoConnection,n.translatableErrorMsg="common.no-connection-error"),n.type||(n.type=el.Unknown,n.translatableErrorMsg=n.originalServerErrorMsg?function z7(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch{}if(t.startsWith("400")||t.startsWith("403")){const e=t.split(" - ",2);t=2===e.length?e[1]:t}const 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}(n.originalServerErrorMsg):z2),n}const G7=new class $7 extends ss{}(class W7 extends zm{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}schedule(n,e=0){return e>0?super.schedule(n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)}execute(n,e){return e>0||this.closed?super.execute(n,e):this._execute(n,e)}requestAsyncId(n,e,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(n,e,i):n.flush(this)}});class Um extends A{constructor(n,e,i=0){super(n),this.scheduler=e,this.delay=i}static dispatch(n){const{notification:e,destination:i}=n;e.observe(i),this.unsubscribe()}scheduleMessage(n){this.destination.add(this.scheduler.schedule(Um.dispatch,this.delay,new K7(n,this.destination)))}_next(n){this.scheduleMessage(no.createNext(n))}_error(n){this.scheduleMessage(no.createError(n)),this.unsubscribe()}_complete(){this.scheduleMessage(no.createComplete()),this.unsubscribe()}}class K7{constructor(n,e){this.notification=n,this.destination=e}}class ko extends J{constructor(n=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=n<1?1:n,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(n){if(!this.isStopped){const e=this._events;e.push(n),e.length>this._bufferSize&&e.shift()}super.next(n)}nextTimeWindow(n){this.isStopped||(this._events.push(new Z7(this._getNow(),n)),this._trimBufferThenGetEvents()),super.next(n)}_subscribe(n){const e=this._infiniteTimeWindow,i=e?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,s=i.length;let a;if(this.closed)throw new ee;if(this.isStopped||this.hasError?a=T.EMPTY:(this.observers.push(n),a=new ae(this,n)),o&&n.add(n=new Um(n,o)),e)for(let l=0;le&&(a=Math.max(a,s-e)),a>0&&o.splice(0,a),o}}class Z7{constructor(n,e){this.time=n,this.value=e}}const Wm="refreshSeconds",$m="labelsData",Gm="localNodesData",U2="nodesData";var Xi=(()=>((Xi=Xi||{}).Node="nd",Xi.Transport="tp",Xi.DmsgServer="ds",Xi))();let Ji=(()=>{class t{constructor(){this.currentRefreshTimeSubject=new ko(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set}initialize(e){this.storage=localStorage,this.hypervisorPk=e,this.migrateDataToHvStorage(),this.currentRefreshTime=parseInt(this.getDataForHv(Wm),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(s=>{this.savedLocalNodes.set(s.publicKey,s),s.hidden||this.savedVisibleLocalNodes.add(s.publicKey)}),this.getSavedLabels().forEach(s=>this.savedLabels.set(s.id,s)),this.loadLegacyNodeData();const i=[];this.savedLocalNodes.forEach(s=>i.push(s));const o=[];this.savedLabels.forEach(s=>o.push(s)),this.saveLocalNodes(i),this.saveLabels(o)}getDataForHv(e){return this.storage.getItem(this.hypervisorPk+e)}setDataForHv(e,i){return this.storage.setItem(this.hypervisorPk+e,i)}migrateDataToHvStorage(){const e=this.storage.getItem(Wm);if(e){const s=parseInt(e,10)||10;this.setRefreshTime(s),this.storage.removeItem(Wm)}const i=this.storage.getItem(Gm);if(i){const s=JSON.parse(i)||[];this.saveLocalNodes(s),this.storage.removeItem(Gm)}const o=this.storage.getItem($m);if(o){const s=JSON.parse(o)||[];this.saveLabels(s),this.storage.removeItem($m)}}loadLegacyNodeData(){const e=JSON.parse(this.storage.getItem(U2))||[];if(e.length>0){const i=this.getSavedLocalNodes(),o=this.getSavedLabels();e.forEach(s=>{i.push({publicKey:s.publicKey,hidden:s.deleted,ip:null}),this.savedLocalNodes.set(s.publicKey,i[i.length-1]),s.deleted||this.savedVisibleLocalNodes.add(s.publicKey),o.push({id:s.publicKey,identifiedElementType:Xi.Node,label:s.label}),this.savedLabels.set(s.publicKey,o[o.length-1])}),this.saveLocalNodes(i),this.saveLabels(o),this.storage.removeItem(U2)}}setRefreshTime(e){this.setDataForHv(Wm,e.toString()),this.currentRefreshTime=e,this.currentRefreshTimeSubject.next(this.currentRefreshTime)}getRefreshTimeObservable(){return this.currentRefreshTimeSubject.asObservable()}getRefreshTime(){return this.currentRefreshTime}includeVisibleLocalNodes(e,i){this.changeLocalNodesHiddenProperty(e,i,!1)}setLocalNodesAsHidden(e,i){this.changeLocalNodesHiddenProperty(e,i,!0)}changeLocalNodesHiddenProperty(e,i,o){if(e.length!==i.length)throw new Error("Invalid params");const s=new Map,a=new Map;e.forEach((_,E)=>{s.set(_,i[E]),a.set(_,i[E])});let l=!1;const d=this.getSavedLocalNodes();d.forEach(_=>{s.has(_.publicKey)&&(a.has(_.publicKey)&&a.delete(_.publicKey),_.ip!==s.get(_.publicKey)&&(_.ip=s.get(_.publicKey),l=!0,this.savedLocalNodes.set(_.publicKey,_)),_.hidden!==o&&(_.hidden=o,l=!0,this.savedLocalNodes.set(_.publicKey,_),o?this.savedVisibleLocalNodes.delete(_.publicKey):this.savedVisibleLocalNodes.add(_.publicKey)))}),a.forEach((_,E)=>{l=!0;const F={publicKey:E,hidden:o,ip:_};d.push(F),this.savedLocalNodes.set(E,F),o?this.savedVisibleLocalNodes.delete(E):this.savedVisibleLocalNodes.add(E)}),l&&this.saveLocalNodes(d)}getSavedLocalNodes(){return JSON.parse(this.getDataForHv(Gm))||[]}getSavedVisibleLocalNodes(){return this.savedVisibleLocalNodes}saveLocalNodes(e){this.setDataForHv(Gm,JSON.stringify(e))}getSavedLabels(){return JSON.parse(this.getDataForHv($m))||[]}saveLabels(e){this.setDataForHv($m,JSON.stringify(e))}saveLabel(e,i,o){if(i){let s=!1;const a=this.getSavedLabels().map(l=>(l.id===e&&l.identifiedElementType===o&&(s=!0,l.label=i,this.savedLabels.set(l.id,{label:l.label,id:l.id,identifiedElementType:l.identifiedElementType})),l));if(s)this.saveLabels(a);else{const l={label:i,id:e,identifiedElementType:o};a.push(l),this.savedLabels.set(e,l),this.saveLabels(a)}}else{this.savedLabels.has(e)&&this.savedLabels.delete(e);let s=!1;const a=this.getSavedLabels().filter(l=>l.id!==e||(s=!0,!1));s&&this.saveLabels(a)}}getDefaultLabel(e){return e?e.ip?e.ip:e.localPk.substr(0,8):""}getLabelInfo(e){return this.savedLabels.has(e)?this.savedLabels.get(e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function _n(t){return null!=t&&"false"!=`${t}`}function So(t,n=0){return function X7(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function qm(t){return Array.isArray(t)?t:[t]}function Qi(t){return null==t?"":"string"==typeof t?t:`${t}px`}function da(t){return t instanceof vt?t.nativeElement:t}function Dh(t,n,e,i){return O(e)&&(i=e,e=void 0),i?Dh(t,n,e).pipe(ke(o=>M(o)?i(...o):i(o))):new he(o=>{W2(t,n,function s(a){o.next(arguments.length>1?Array.prototype.slice.call(arguments):a)},o,e)})}function W2(t,n,e,i,o){let s;if(function e9(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const a=t;t.addEventListener(n,e,o),s=()=>a.removeEventListener(n,e,o)}else if(function Q7(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const a=t;t.on(n,e),s=()=>a.off(n,e)}else if(function J7(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const a=t;t.addListener(n,e),s=()=>a.removeListener(n,e)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,l=t.length;a0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(cancelAnimationFrame(e),n.scheduled=void 0)}});let r9=1;const o9=Promise.resolve(),Km={};function $2(t){return t in Km&&(delete Km[t],!0)}const G2={setImmediate(t){const n=r9++;return Km[n]=!0,o9.then(()=>$2(n)&&t()),n},clearImmediate(t){$2(t)}},P0=new class a9 extends ss{flush(n){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let i,o=-1,s=e.length;n=n||e.shift();do{if(i=n.execute(n.state,n.delay))break}while(++o0?super.requestAsyncId(n,e,i):(n.actions.push(this),n.scheduled||(n.scheduled=G2.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,e,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(n,e,i);0===n.actions.length&&(G2.clearImmediate(e),n.scheduled=void 0)}});class c9{constructor(n){this.durationSelector=n}call(n,e){return e.subscribe(new d9(n,this.durationSelector))}}class d9 extends Me{constructor(n,e){super(n),this.durationSelector=e,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let e;try{const{durationSelector:o}=this;e=o(n)}catch(o){return this.destination.error(o)}const i=Ie(e,new be(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:n,hasValue:e,throttled:i}=this;i&&(this.remove(i),this.throttled=void 0,i.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function O0(t){return!M(t)&&t-parseFloat(t)+1>=0}function Th(t=0,n,e){let i=-1;return O0(n)?i=Number(n)<1?1:Number(n):Se(n)&&(e=n),Se(e)||(e=kd),new he(o=>{const s=O0(t)?t:+t-e.now();return e.schedule(u9,s,{index:0,period:i,subscriber:o})})}function u9(t){const{index:n,period:e,subscriber:i}=t;if(i.next(n),!i.closed){if(-1===e)return i.complete();t.index=n+1,this.schedule(t,e)}}function q2(t,n=kd){return function l9(t){return function(e){return e.lift(new c9(t))}}(()=>Th(t,n))}let A0;try{A0=typeof Intl<"u"&&Intl.v8BreakIterator}catch{A0=!1}let Sd,ui=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function mH(t){return t===hD}(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&&!A0)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(we(Ya))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const K2=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Z2(){if(Sd)return Sd;if("object"!=typeof document||!document)return Sd=new Set(K2),Sd;let t=document.createElement("input");return Sd=new Set(K2.filter(n=>(t.setAttribute("type",n),t.type===n))),Sd}let Lh,ql,F0;function tl(t){return function h9(){if(null==Lh&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Lh=!0}))}finally{Lh=Lh||!1}return Lh}()?t:!!t.capture}function f9(){if(null==ql){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ql=!1,ql;if("scrollBehavior"in document.documentElement.style)ql=!0;else{const t=Element.prototype.scrollTo;ql=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return ql}function R0(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function nl(t){return t.composedPath?t.composedPath()[0]:t.target}function N0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const g9=new Re("cdk-dir-doc",{providedIn:"root",factory:function _9(){return Qe(It)}}),b9=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Do=(()=>{class t{constructor(e){this.value="ltr",this.change=new ht,e&&(this.value=function v9(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?b9.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(we(g9,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Eh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),X2=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new he(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(q2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):$e()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(_i(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=da(i),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Dh(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(we(ft),we(ui),we(It,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Dd=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new J,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(q2(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft),we(It,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ih=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),J2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Eh,Ih,Eh,Ih]}),t})();function Bn(t){return n=>n.lift(new w9(t))}class w9{constructor(n){this.notifier=n}call(n,e){const i=new C9(n),o=Ie(this.notifier,new be(i));return o&&!i.seenValue?(i.add(o),e.subscribe(i)):i}}class C9 extends Me{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class k9{constructor(n,e){this.predicate=n,this.inclusive=e}call(n,e){return e.subscribe(new S9(n,this.predicate,this.inclusive))}}class S9 extends A{constructor(n,e,i){super(n),this.predicate=e,this.inclusive=i,this.index=0}_next(n){const e=this.destination;let i;try{i=this.predicate(n,this.index++)}catch(o){return void e.error(o)}this.nextOrComplete(n,i)}nextOrComplete(n,e){const i=this.destination;e?i.next(n):(this.inclusive&&i.next(n),i.complete())}}class Y0{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Td extends Y0{constructor(n,e,i,o,s){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o,this.projectableNodes=s}}class Kl extends Y0{constructor(n,e,i,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class D9 extends Y0{constructor(n){super(),this.element=n instanceof vt?n.nativeElement:n}}class Xm{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Td?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Kl?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof D9?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class T9 extends Xm{constructor(n,e,i,o,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=a=>{const l=a.element,d=this._document.createComment("dom-portal");l.parentNode.insertBefore(d,l),this.outletElement.appendChild(l),this._attachedPortal=a,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(l,d)})},this._document=s}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||Ti.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let L9=(()=>{class t extends Kl{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(N(mr),N(or))},t.\u0275dir=Ze({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[nt]}),t})(),il=(()=>{class t extends Xm{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ht,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(s,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(N(Il),N(or),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[nt]}),t})(),Ld=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();function Rs(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}const eL=f9();class z9{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Qi(-this._previousScrollPosition.left),n.style.top=Qi(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,s=i.scrollBehavior||"",a=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),eL&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),eL&&(i.scrollBehavior=s,o.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class U9{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(_i(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class tL{enable(){}disable(){}attach(){}}function H0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function nL(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class W9{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();H0(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let $9=(()=>{class t{constructor(e,i,o,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new tL,this.close=a=>new U9(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new z9(this._viewportRuler,this._document),this.reposition=a=>new W9(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(we(X2),we(Dd),we(ft),we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Fh{constructor(n){if(this.scrollStrategy=new tL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class G9{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let iL=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),q9=(()=>{class t extends iL{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){const l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ft,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),K9=(()=>{class t extends iL{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=nl(s)},this._clickListener=s=>{const a=nl(s),l="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;const d=this._attachedOverlays.slice();for(let _=d.length-1;_>-1;_--){const E=d[_];if(E._outsidePointerEvents.observers.length<1||!E.hasAttached())continue;if(E.overlayElement.contains(a)||E.overlayElement.contains(l))break;const F=E._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>F.next(s)):F.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ui),we(ft,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ng=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||N0()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;sthis._backdropClick.next(F),this._backdropTransitionendHandler=F=>{this._disposeBackdrop(F.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Kn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Qi(this._config.width),n.height=Qi(this._config.height),n.minWidth=Qi(this._config.minWidth),n.minHeight=Qi(this._config.minHeight),n.maxWidth=Qi(this._config.maxWidth),n.maxHeight=Qi(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const o=qm(e||[]).filter(s=>!!s);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Bn(bt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const rL="cdk-overlay-connected-position-bounding-box",Z9=/([A-Za-z%]+)$/;class X9{get positions(){return this._preferredPositions}constructor(n,e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J,this._resizeSubscription=T.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(rL),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,s=[];let a;for(let l of this._preferredPositions){let d=this._getOriginPoint(n,o,l),_=this._getOverlayPoint(d,e,l),E=this._getOverlayFit(_,e,i,l);if(E.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,d);this._canFitWithFlexibleDimensions(E,_,i)?s.push({position:l,origin:d,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(d,l)}):(!a||a.overlayFit.visibleAread&&(d=E,l=_)}return this._isPushed=!1,void this._applyPosition(l.position,l.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(a.position,a.originPoint);this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){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(rL),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,s;if("center"==i.originX)o=n.left+n.width/2;else{const a=this._isRtl()?n.right:n.left,l=this._isRtl()?n.left:n.right;o="start"==i.originX?a:l}return e.left<0&&(o-=e.left),s="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(n,e,i){let o,s;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+s}}_getOverlayFit(n,e,i,o){const s=sL(e);let{x:a,y:l}=n,d=this._getOffset(o,"x"),_=this._getOffset(o,"y");d&&(a+=d),_&&(l+=_);let G=0-l,ie=l+s.height-i.height,_e=this._subtractOverflows(s.width,0-a,a+s.width-i.width),xe=this._subtractOverflows(s.height,G,ie),Ae=_e*xe;return{visibleArea:Ae,isCompletelyWithinViewport:s.width*s.height===Ae,fitsInViewportVertically:xe===s.height,fitsInViewportHorizontally:_e==s.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,s=i.right-e.x,a=oL(this._overlayRef.getConfig().minHeight),l=oL(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=a&&a<=o)&&(n.fitsInViewportHorizontally||null!=l&&l<=s)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=sL(e),s=this._viewportRect,a=Math.max(n.x+o.width-s.width,0),l=Math.max(n.y+o.height-s.height,0),d=Math.max(s.top-i.top-n.y,0),_=Math.max(s.left-i.left-n.x,0);let E=0,F=0;return E=o.width<=s.width?_||-a:n.x_e&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-_e/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)G=i.width-n.x+this._viewportMargin,E=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)F=n.x,E=i.right-n.x;else{const ie=Math.min(i.right-n.x+i.left,n.x),_e=this._lastBoundingBoxSize.width;E=2*ie,F=n.x-ie,E>_e&&!this._isInitialRender&&!this._growAfterOpen&&(F=n.x-_e/2)}return{top:a,left:F,bottom:l,right:G,width:E,height:s}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;o.height=Qi(i.height),o.top=Qi(i.top),o.bottom=Qi(i.bottom),o.width=Qi(i.width),o.left=Qi(i.left),o.right=Qi(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Qi(s)),a&&(o.maxWidth=Qi(a))}this._lastBoundingBoxSize=i,Zl(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Zl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Zl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(o){const E=this._viewportRuler.getViewportScrollPosition();Zl(i,this._getExactOverlayY(e,n,E)),Zl(i,this._getExactOverlayX(e,n,E))}else i.position="static";let l="",d=this._getOffset(e,"x"),_=this._getOffset(e,"y");d&&(l+=`translateX(${d}px) `),_&&(l+=`translateY(${_}px)`),i.transform=l.trim(),a.maxHeight&&(o?i.maxHeight=Qi(a.maxHeight):s&&(i.maxHeight="")),a.maxWidth&&(o?i.maxWidth=Qi(a.maxWidth):s&&(i.maxWidth="")),Zl(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=Qi(s.y),o}_getExactOverlayX(n,e,i){let a,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),a=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===a?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=Qi(s.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:nL(n,i),isOriginOutsideView:H0(n,i),isOverlayClipped:nL(e,i),isOverlayOutsideView:H0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&qm(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof vt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Zl(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function oL(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(Z9);return e&&"px"!==e?null:parseFloat(n)}return t||null}function sL(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const aL="cdk-global-overlay-wrapper";class J9{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aL),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:a,maxHeight:l}=i,d=!("100%"!==o&&"100vw"!==o||a&&"100%"!==a&&"100vw"!==a),_=!("100%"!==s&&"100vh"!==s||l&&"100%"!==l&&"100vh"!==l),E=this._xPosition,F=this._xOffset,G="rtl"===this._overlayRef.getConfig().direction;let ie="",_e="",xe="";d?xe="flex-start":"center"===E?(xe="center",G?_e=F:ie=F):G?"left"===E||"end"===E?(xe="flex-end",ie=F):("right"===E||"start"===E)&&(xe="flex-start",_e=F):"left"===E||"start"===E?(xe="flex-start",ie=F):("right"===E||"end"===E)&&(xe="flex-end",_e=F),n.position=this._cssPosition,n.marginLeft=d?"0":ie,n.marginTop=_?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=d?"0":_e,e.justifyContent=xe,e.alignItems=_?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(aL),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let Q9=(()=>{class t{constructor(e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new J9}flexibleConnectedTo(e){return new X9(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(we(Dd),we(It),we(ui),we(ng))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ez=0,io=(()=>{class t{constructor(e,i,o,s,a,l,d,_,E,F,G,ie){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=_,this._directionality=E,this._location=F,this._outsideClickDispatcher=G,this._animationsModuleType=ie}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new Fh(e);return a.direction=a.direction||this._directionality.value,new Rh(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ez++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ja)),new T9(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(we($9),we(ng),we(Il),we(Q9),we(q9),we(Ti),we(ft),we(It),we(Do),we(Qu),we(K9),we(Vi,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const tz=[{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"}],lL=new Re("cdk-connected-overlay-scroll-strategy");let B0=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),t})(),cL=(()=>{class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=_n(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=_n(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=_n(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=_n(e)}get push(){return this._push}set push(e){this._push=_n(e)}constructor(e,i,o,s,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=T.EMPTY,this._attachSubscription=T.EMPTY,this._detachSubscription=T.EMPTY,this._positionSubscription=T.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new ht,this.positionChange=new ht,this.attach=new ht,this.detach=new ht,this.overlayKeydown=new ht,this.overlayOutsideClick=new ht,this._templatePortal=new Kl(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=tz);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!Rs(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Fh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof B0?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function x9(t,n=!1){return e=>e.lift(new k9(t,n))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(mr),N(or),N(lL),N(Do,8))},t.\u0275dir=Ze({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Gi]}),t})();const iz={provide:lL,deps:[io],useFactory:function nz(t){return()=>t.scrollStrategies.reposition()}};let Ed=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[io,iz],imports:[Eh,Ld,J2,J2]}),t})();function V0(t,n=kd){return e=>e.lift(new rz(t,n))}class rz{constructor(n,e){this.dueTime=n,this.scheduler=e}call(n,e){return e.subscribe(new oz(n,this.dueTime,this.scheduler))}}class oz extends A{constructor(n,e,i){super(n),this.dueTime=e,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sz,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:n}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}}clearDebounce(){const n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)}}function sz(t){t.debouncedNext()}function j0(t){return n=>n.lift(new az(t))}class az{constructor(n){this.total=n}call(n,e){return e.subscribe(new lz(n,this.total))}}class lz extends A{constructor(n,e){super(n),this.total=e,this.count=0}_next(n){++this.count>this.total&&this.destination.next(n)}}function z0(t,n){return e=>e.lift(new cz(t,n))}class cz{constructor(n,e){this.compare=n,this.keySelector=e}call(n,e){return e.subscribe(new dz(n,this.compare,this.keySelector))}}class dz extends A{constructor(n,e,i){super(n),this.keySelector=i,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(n,e){return n===e}_next(n){let e;try{const{keySelector:o}=this;e=o?o(n):n}catch(o){return this.destination.error(o)}let i=!1;if(this.hasKey)try{const{compare:o}=this;i=o(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;i||(this.key=e,this.destination.next(n))}}let dL=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uz=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=da(e);return new he(o=>{const a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new J,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(we(dL))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),uL=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=So(e),this._subscribe()}constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new ht,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(V0(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(uz),N(vt),N(ft))},t.\u0275dir=Ze({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),U0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[dL]}),t})();const hL=new Set;let Xl,hz=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):pz}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function fz(t,n){if(!hL.has(t))try{Xl||(Xl=document.createElement("style"),n&&(Xl.nonce=n),Xl.setAttribute("type","text/css"),document.head.appendChild(Xl)),Xl.sheet&&(Xl.sheet.insertRule(`@media ${t} {body{ }}`,0),hL.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(Eb,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function pz(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let W0=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return fL(qm(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let s=wm(fL(qm(e)).map(a=>this._registerQuery(a).observable));return s=Ka(s.pipe(Kn(1)),s.pipe(j0(1),V0(0))),s.pipe(ke(a=>{const l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:_})=>{l.matches=l.matches||d,l.breakpoints[_]=d}),l}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new he(a=>{const l=d=>this._zone.run(()=>a.next(d));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Go(i),ke(({matches:a})=>({query:e,matches:a})),Bn(this._destroySubject)),mql:i};return this._queries.set(e,s),s}}return t.\u0275fac=function(e){return new(e||t)(we(hz),we(ft))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fL(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function ig(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const mL="cdk-describedby-message",rg="cdk-describedby-host";let $0=0,bz=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+$0++,this._document=e,this._id=Qe(Du)+"-"+$0++}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const s=G0(i,o);"string"!=typeof i?(gL(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,i,o){if(!i||!this._isElementNode(e))return;const s=G0(i,o);if(this._isElementDescribedByMessage(e,s)&&this._removeMessageReference(e,s),"string"==typeof i){const a=this._messageRegistry.get(s);a&&0===a.referenceCount&&this._deleteMessageElement(s)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${rg}="${this._id}"]`);for(let i=0;i0!=o.indexOf(mL));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);(function gz(t,n,e){const i=ig(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(rg,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,function _z(t,n,e){const o=ig(t,n).filter(s=>s!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(rg)}_isElementDescribedByMessage(e,i){const o=ig(e,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&-1!=o.indexOf(a)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),s=e.getAttribute("aria-label");return!(!o||s&&s.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(we(It),we(ui))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function G0(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function gL(t,n){t.id||(t.id=`${mL}-${n}-${$0++}`)}class _L{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=T.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,n instanceof Nl&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(bi(e=>this._pressedLetters.push(e)),V0(n),_i(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&o){const s=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(s>0?s:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&o){const s=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(s=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Nl?this._items.toArray():this._items}}class vz extends _L{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class bL extends _L{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let og=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Mz(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function yz(t){try{return t.frameElement}catch{return null}}(function Lz(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===yL(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),s=yL(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Dz(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function Tz(t){return!function Cz(t){return function kz(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function wz(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function xz(t){return function Sz(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||vL(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(we(ui))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function vL(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function yL(t){if(!vL(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class Ez{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,o,s=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(Kn(1)).subscribe(n)}}let q0=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new Ez(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(we(og),we(ft),we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function K0(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function Z0(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const Iz=new Re("cdk-input-modality-detector-options"),Pz={ignoreKeys:[18,17,224,91,16]},Id=tl({passive:!0,capture:!0});let Oz=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new Or(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=nl(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs<650||(this._modality.next(K0(a)?"keyboard":"mouse"),this._mostRecentTarget=nl(a))},this._onTouchstart=a=>{Z0(a)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=nl(a))},this._options={...Pz,...s},this.modalityDetected=this._modality.pipe(j0(1)),this.modalityChanged=this.modalityDetected.pipe(z0()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Id),o.addEventListener("mousedown",this._onMousedown,Id),o.addEventListener("touchstart",this._onTouchstart,Id)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Id),document.removeEventListener("mousedown",this._onMousedown,Id),document.removeEventListener("touchstart",this._onTouchstart,Id))}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft),we(It),we(Iz,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Az=new Re("liveAnnouncerElement",{providedIn:"root",factory:function Fz(){return null}}),Rz=new Re("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Nz=0,X0=(()=>{class t{constructor(e,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let s,a;return 1===i.length&&"number"==typeof i[0]?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof a&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{constructor(e,i,o,s,a){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{for(let _=nl(l);_;_=_.parentElement)"focus"===l.type?this._onFocus(l,_):this._onBlur(l,_)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(e,i=!1){const o=da(e);if(!this._platform.isBrowser||1!==o.nodeType)return $e(null);const s=function m9(t){if(function p9(){if(null==F0){const t=typeof document<"u"?document.head:null;F0=!(!t||!t.createShadowRoot&&!t.attachShadow)}return F0}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;const l={checkChildren:i,subject:new J,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(e){const i=da(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const s=da(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,d])=>this._originChanged(l,i,d)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),s=nl(e);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,sg),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,sg)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Bn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,sg),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,sg),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if("mouse"!==o||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const s=e.labels;if(s)for(let a=0;a{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new ht}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(rl))},t.\u0275dir=Ze({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const wL="cdk-high-contrast-black-on-white",CL="cdk-high-contrast-white-on-black",J0="cdk-high-contrast-active";let xL=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Qe(W0).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(J0,wL,CL),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(J0,wL):2===i&&e.add(J0,CL)}}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Q0=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(we(xL))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[U0]}),t})();function Bz(t,n){}class ag{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let kL=(()=>{class t extends Xm{constructor(e,i,o,s,a,l,d,_){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=d,this._focusMonitor=_,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=E=>{this._portalOutlet.hasAttached();const F=this._portalOutlet.attachDomPortal(E);return this._contentAttached(),F},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=o}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const o=R0(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=R0();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=R0())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(q0),N(It,8),N(ag),N(og),N(ft),N(Rh),N(rl))},t.\u0275cmp=Ke({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&pt(il,7),2&e){let o;it(o=rt())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Jt("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[nt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&V(0,Bz,0,0,"ng-template",0)},dependencies:[il],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class e1{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new J,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Rs(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const SL=new Re("DialogScrollStrategy"),Vz=new Re("DialogData"),jz=new Re("DefaultDialogConfig"),Uz={provide:SL,deps:[io],useFactory:function zz(t){return()=>t.scrollStrategies.block()}};let Wz=0,DL=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,o,s,a,l){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._ariaHiddenElements=new Map,this.afterAllClosed=Wl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Go(void 0))),this._scrollStrategy=l}open(e,i){(i={...this._defaultOptions||new ag,...i}).id=i.id||"cdk-dialog-"+Wz++,i.id&&this.getDialogById(i.id);const s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new e1(a,i),d=this._attachContainer(a,l,i);return l.containerInstance=d,this._attachDialogContent(e,l,d,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){t1(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){t1(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),t1(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Fh({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,o){const s=o.injector||o.viewContainerRef?.injector,a=[{provide:ag,useValue:o},{provide:e1,useValue:i},{provide:Rh,useValue:e}];let l;o.container?"function"==typeof o.container?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=kL;const d=new Td(l,o.viewContainerRef,Ti.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return e.attach(d).instance}_attachDialogContent(e,i,o,s){if(e instanceof mr){const a=this._createInjector(s,i,o,void 0);let l={$implicit:s.data,dialogRef:i};s.templateContext&&(l={...l,..."function"==typeof s.templateContext?s.templateContext():s.templateContext}),o.attachTemplatePortal(new Kl(e,null,l,a))}else{const a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new Td(e,s.viewContainerRef,a,s.componentFactoryResolver));i.componentInstance=l.instance}}_createInjector(e,i,o,s){const a=e.injector||e.viewContainerRef?.injector,l=[{provide:Vz,useValue:e.data},{provide:e1,useValue:i}];return e.providers&&("function"==typeof e.providers?l.push(...e.providers(i,e,o)):l.push(...e.providers)),e.direction&&(!a||!a.get(Do,null,{optional:!0}))&&l.push({provide:Do,useValue:{value:e.direction,change:$e()}}),Ti.create({parent:a||s,providers:l})}_removeOpenDialog(e,i){const o=this.openDialogs.indexOf(e);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){const s=i[o];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Ti),we(jz,8),we(t,12),we(ng),we(SL))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function t1(t,n){let e=t.length;for(;e--;)n(t[e])}let $z=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[DL,Uz],imports:[Ed,Ld,Q0,Ld]}),t})();const Gz=["text"];function qz(t,n){if(1&t&&Ce(0,"mat-pseudo-checkbox",6),2&t){const e=z();w("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function Kz(t,n){1&t&&Ce(0,"mat-pseudo-checkbox",7),2&t&&w("disabled",z().disabled)}function Zz(t,n){if(1&t&&(k(0,"span",8),I(1),C()),2&t){const e=z();c(1),ce("(",e.group.label,")")}}const Xz=[[["mat-icon"]],"*"],Jz=["mat-icon","*"],eU=new Re("mat-sanity-checks",{providedIn:"root",factory:function Qz(){return!0}});let Wn=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!N0()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(we(xL),we(eU,8),we(It))},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Eh,Eh]}),t})();function Pd(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=_n(n)}constructor(...n){super(...n),this._disabled=!1}}}function Nh(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function Yh(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=_n(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function EL(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?So(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}function IL(t){return class extends t{updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}constructor(...n){super(...n),this.errorState=!1}}}let nU=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.dirty||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),n1=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class iU{constructor(n,e,i,o=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=o,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const PL=tl({passive:!0,capture:!0});class rU{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=nl(n);e&&this._events.get(n.type)?.forEach((i,o)=>{(o===e||o.contains(e))&&i.forEach(s=>s.handleEvent(n))})}}addHandler(n,e,i,o){const s=this._events.get(e);if(s){const a=s.get(i);a?a.add(o):s.set(i,new Set([o]))}else this._events.set(e,new Map([[i,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,PL)})}removeHandler(n,e,i){const o=this._events.get(n);if(!o)return;const s=o.get(e);s&&(s.delete(i),0===s.size&&o.delete(e),0===o.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,PL)))}}const OL={enterDuration:225,exitDuration:150},AL=tl({passive:!0,capture:!0}),FL=["mousedown","touchstart"],RL=["mouseup","mouseleave","touchend","touchcancel"];class Od{constructor(n,e,i,o){this._target=n,this._ngZone=e,this._platform=o,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=da(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s={...OL,...i.animation};i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const a=i.radius||function sU(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),l=n-o.left,d=e-o.top,_=s.enterDuration,E=document.createElement("div");E.classList.add("mat-ripple-element"),E.style.left=l-a+"px",E.style.top=d-a+"px",E.style.height=2*a+"px",E.style.width=2*a+"px",null!=i.color&&(E.style.backgroundColor=i.color),E.style.transitionDuration=`${_}ms`,this._containerElement.appendChild(E);const F=window.getComputedStyle(E),ie=F.transitionDuration,_e="none"===F.transitionProperty||"0s"===ie||"0s, 0s"===ie||0===o.width&&0===o.height,xe=new iU(this,E,i,_e);E.style.transform="scale3d(1, 1, 1)",xe.state=0,i.persistent||(this._mostRecentTransientRipple=xe);let Ae=null;return!_e&&(_||s.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const ze=()=>this._finishRippleTransition(xe),Ee=()=>this._destroyRipple(xe);E.addEventListener("transitionend",ze),E.addEventListener("transitioncancel",Ee),Ae={onTransitionEnd:ze,onTransitionCancel:Ee}}),this._activeRipples.set(xe,Ae),(_e||!_)&&this._finishRippleTransition(xe),xe}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...OL,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=da(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,FL.forEach(i=>{Od._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{RL.forEach(e=>{this._triggerElement.addEventListener(e,this,AL)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=K0(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(FL.forEach(e=>Od._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&RL.forEach(e=>n.removeEventListener(e,this,AL)))}}Od._eventManager=new rU;const r1=new Re("mat-ripple-global-options");let Jl=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,o,s,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Od(this,i,e,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...o}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(ui),N(r1,8),N(Vi,8))},t.\u0275dir=Ze({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),Bh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Wn]}),t})(),aU=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return t.\u0275fac=function(e){return new(e||t)(N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&nn("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{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-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),t})(),lU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn]}),t})();const NL=new Re("MAT_OPTION_PARENT_COMPONENT"),YL=new Re("MatOptgroup");let cU=0;class dU{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let uU=(()=>{class t{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=_n(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,i,o,s){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+cU++,this.onSelectionChange=new ht,this._stateChanges=new J}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!Rs(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new dU(this,e))}}return t.\u0275fac=function(e){Ha()},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(Gz,7),2&e){let o;it(o=rt())&&(i._text=o.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),Ql=(()=>{class t extends uU{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(NL,8),N(YL,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(e,i){1&e&&ve("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&e&&(ea("id",i.id),Jt("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),nn("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},exportAs:["matOption"],features:[nt],ngContentSelectors:Jz,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Ir(Xz),V(0,qz,1,2,"mat-pseudo-checkbox",0),Tn(1),k(2,"span",1,2),Tn(4,1),C(),V(5,Kz,1,1,"mat-pseudo-checkbox",3),V(6,Zz,2,1,"span",4),Ce(7,"div",5)),2&e&&(w("ngIf",i.multiple),c(5),w("ngIf",!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator),c(1),w("ngIf",i.group&&i.group._inert),c(1),w("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Jl,Ft,aU],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),HL=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Bh,ia,Wn,lU]}),t})();function pU(t,n){}class Ln{constructor(){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.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const o1="mdc-dialog--open",BL="mdc-dialog--opening",VL="mdc-dialog--closing";let _U=(()=>{class t extends kL{constructor(e,i,o,s,a,l,d,_){super(e,i,o,s,a,l,d,_),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(q0),N(It,8),N(Ln),N(og),N(ft),N(Rh),N(rl))},t.\u0275cmp=Ke({type:t,selectors:[["ng-component"]],features:[nt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();const jL="--mat-dialog-transition-duration";function zL(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?So(t.substring(0,t.length-2)):t.endsWith("s")?1e3*So(t.substring(0,t.length-1)):"0"===t?0:null}let bU=(()=>{class t extends _U{constructor(e,i,o,s,a,l,d,_,E){super(e,i,o,s,a,l,d,E),this._animationMode=_,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?zL(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?zL(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(jL,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(BL,o1)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(o1),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(o1),this._animationsEnabled?(this._hostElement.style.setProperty(jL,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(VL)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(BL,VL)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(e):e()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(q0),N(It,8),N(Ln),N(og),N(ft),N(Rh),N(Vi,8),N(rl))},t.\u0275cmp=Ke({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,i){2&e&&(ea("id",i._config.id),Jt("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),nn("_mat-animation-noopable",!i._animationsEnabled))},features:[nt],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,pU,0,0,"ng-template",2),C()())},dependencies:[il],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),t})();class On{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new J,this._beforeClosed=new J,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(_i(o=>"opened"===o.state),Kn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(_i(o=>"closed"===o.state),Kn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),bt(this.backdropClick(),this.keydownEvents().pipe(_i(o=>27===o.keyCode&&!this.disableClose&&!Rs(o)))).subscribe(o=>{this.disableClose||(o.preventDefault(),UL(this,"keydown"===o.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(_i(e=>"closing"===e.state),Kn(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function UL(t,n,e){return t._closeInteractionType=n,t.close(e)}const vi=new Re("MatMdcDialogData"),WL=new Re("mat-mdc-dialog-default-options"),$L=new Re("mat-mdc-dialog-scroll-strategy"),yU={provide:$L,deps:[io],useFactory:function vU(t){return()=>t.scrollStrategies.block()}};let MU=0,wU=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,o,s,a,l,d,_,E,F){this._overlay=e,this._defaultOptions=o,this._parentDialog=s,this._dialogRefConstructor=d,this._dialogContainerType=_,this._dialogDataToken=E,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new J,this._afterOpenedAtThisLevel=new J,this._idPrefix="mat-dialog-",this.dialogConfigClass=Ln,this.afterAllClosed=Wl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Go(void 0))),this._scrollStrategy=l,this._dialog=i.get(DL)}open(e,i){let o;(i={...this._defaultOptions||new Ln,...i}).id=i.id||`${this._idPrefix}${MU++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const s=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:ag,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,l,d)=>(o=new this._dialogRefConstructor(a,i,d),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:d},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])});return o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{const a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){Ha()},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),xn=(()=>{class t extends wU{constructor(e,i,o,s,a,l,d,_){super(e,i,s,l,d,a,On,bU,vi,_),this._idPrefix="mat-mdc-dialog-"}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(Ti),we(Qu,8),we(WL,8),we($L),we(t,12),we(ng),we(Vi,8))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),CU=0,xU=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=GL(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){UL(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(N(On,8),N(vt),N(xn))},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&ve("click",function(s){return i._onButtonClick(s)}),2&e&&Jt("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Gi]}),t})(),kU=(()=>{class t{constructor(e,i,o){this._dialogRef=e,this._elementRef=i,this._dialog=o,this.id="mat-mdc-dialog-title-"+CU++}ngOnInit(){this._dialogRef||(this._dialogRef=GL(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(N(On,8),N(vt),N(xn))},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,i){2&e&&ea("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),lg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]}),t})();function GL(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let SU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[xn,yU],imports:[$z,Ed,Ld,Wn,Wn]}),t})();const KL=["mat-button",""],ZL=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],XL=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],JL=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",TU=["mat-icon-button",""],LU=["*"],QL={capture:!0},eE=["focus","click","mouseenter","touchstart"],Vh="mat-button-ripple-uninitialized";let EU=(()=>{class t{constructor(){this._document=Qe(It,{optional:!0}),this._animationMode=Qe(Vi,{optional:!0}),this._globalRippleOptions=Qe(r1,{optional:!0}),this._platform=Qe(ui),this._ngZone=Qe(ft),this._onInteraction=e=>{if(e.target===this._document)return;const o=e.target.closest(`[${Vh}]`);o&&(o.removeAttribute(Vh),this._appendRipple(o))},this._ngZone.runOutsideAngular(()=>{for(const e of eE)this._document?.addEventListener(e,this._onInteraction,QL)})}ngOnDestroy(){for(const e of eE)this._document?.removeEventListener(e,this._onInteraction,QL)}_appendRipple(e){if(!this._document)return;const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const o=new IU(e,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);o.rippleConfig.centered=e.hasAttribute("mat-icon-button"),new Od(o,this._ngZone,i,this._platform).setupTriggerEvents(e),e.append(i)}_createMatRipple(e){if(!this._document)return;e.querySelector(".mat-mdc-button-ripple")?.remove(),e.removeAttribute(Vh);const i=this._document.createElement("span");i.classList.add("mat-mdc-button-ripple");const o=new Jl(new vt(i),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,e.append(i),o}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class IU{constructor(n,e,i){this._button=n,this._globalRippleOptions=e,this._setRippleConfig(e,i)}_setRippleConfig(n,e){this.rippleConfig=n||{},"NoopAnimations"===e&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const PU=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],OU=Nh(Pd(Yh(class{constructor(t){this._elementRef=t}})));let s1=(()=>{class t extends OU{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement)),this._ripple}set ripple(e){this._ripple=e}constructor(e,i,o,s){super(e),this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=Qe(rl),this._rippleLoader=Qe(EU),this._isFab=!1;const a=e.nativeElement.classList;for(const l of PU)this._hasHostAttributes(l.selector)&&l.mdcClasses.forEach(d=>{a.add(d)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)}}return t.\u0275fac=function(e){Ha()},t.\u0275dir=Ze({type:t,features:[nt]}),t})(),FU=(()=>{class t extends s1{constructor(e,i,o,s){super(e,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return t.\u0275fac=function(e){Ha()},t.\u0275dir=Ze({type:t,features:[nt]}),t})(),$r=(()=>{class t extends s1{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:KL,ngContentSelectors:XL,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(ZL),Ce(0,"span",0),Tn(1),k(2,"span",1),Tn(3,1),C(),Tn(4,2),Ce(5,"span",2)(6,"span",3)),2&e&&nn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),RU=(()=>{class t extends FU{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:11,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("tabindex",i.disabled?-1:i.tabIndex)("aria-disabled",i.disabled.toString())("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[nt],attrs:KL,ngContentSelectors:XL,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(ZL),Ce(0,"span",0),Tn(1),k(2,"span",1),Tn(3,1),C(),Tn(4,2),Ce(5,"span",2)(6,"span",3)),2&e&&nn("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',JL],encapsulation:2,changeDetection:0}),t})(),ol=(()=>{class t extends s1{get ripple(){return!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0),this._ripple}constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(ft),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(e,i){2&e&&(Jt("disabled",i.disabled||null)("mat-button-disabled",i._isRippleDisabled())("mat-button-is-fab",i._isFab),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[nt],attrs:TU,ngContentSelectors:LU,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Ir(),Ce(0,"span",0),Tn(1),Ce(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',JL],encapsulation:2,changeDetection:0}),t})(),tE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Bh,Wn]}),t})();function YU(t,n){if(1&t){const e=et();k(0,"div",2)(1,"button",3),ve("click",function(){return Pe(e),Oe(z().action())}),I(2),C()()}if(2&t){const e=z();c(2),ce(" ",e.data.action," ")}}const HU=["label"];function BU(t,n){}const VU=Math.pow(2,31)-1;class cg{constructor(n,e){this._overlayRef=e,this._afterDismissed=new J,this._afterOpened=new J,this._onAction=new J,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,VU))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const a1=new Re("MatSnackBarData");class dg{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let jU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),t})(),zU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),t})(),UU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),t})(),WU=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(N(cg),N(a1))},t.\u0275cmp=Ke({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(k(0,"div",0),I(1),C(),V(2,YU,3,1,"div",1)),2&e&&(c(1),ce(" ",i.data.message,"\n"),c(1),w("ngIf",i.hasAction))},dependencies:[Ft,$r,jU,zU,UU],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),t})();const $U={snackBarState:oa("state",[yo("void, hidden",ei({transform:"scale(0.8)",opacity:0})),yo("visible",ei({transform:"scale(1)",opacity:1})),Pr("* => visible",Wr("150ms cubic-bezier(0, 0, 0.2, 1)")),Pr("* => void, * => hidden",Wr("75ms cubic-bezier(0.4, 0.0, 1, 1)",ei({opacity:0})))])};let GU=0,qU=(()=>{class t extends Xm{constructor(e,i,o,s,a){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=o,this._platform=s,this.snackBarConfig=a,this._document=Qe(It),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new J,this._onExit=new J,this._onEnter=new J,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+GU++,this.attachDomPortal=l=>{this._assertNotAttached();const d=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),d},this._live="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:o}=e;if(("void"===o&&"void"!==i||"hidden"===o)&&this._completeExit(),"visible"===o){const s=this._onEnter;this._ngZone.run(()=>{s.next(),s.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Kn(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{const i=e.getAttribute("aria-owns");if(i){const o=i.replace(this._liveElementId,"").trim();o.length>0?e.setAttribute("aria-owns",o):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let o=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(o=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),o?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(ft),N(vt),N(pi),N(ui),N(dg))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(il,7),2&e){let o;it(o=rt())&&(i._portalOutlet=o.first)}},features:[nt]}),t})(),KU=(()=>{class t extends qU{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&pt(HU,7),2&e){let o;it(o=rt())&&(i._label=o.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&dv("@state.done",function(s){return i.onAnimationEnd(s)}),2&e&&gv("@state",i._animationState)},features:[nt],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1,2)(3,"div",3),V(4,BU,0,0,"ng-template",4),C(),Ce(5,"div"),C()()),2&e&&(c(5),Jt("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[il],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;--mdc-snackbar-container-shape:4px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape)}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size);font-family:var(--mdc-snackbar-supporting-text-font);font-weight:var(--mdc-snackbar-supporting-text-weight);line-height:var(--mdc-snackbar-supporting-text-line-height)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[$U.snackBarState]}}),t})(),nE=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Ed,Ld,ia,tE,Wn,Wn]}),t})();const l1=new Re("mat-snack-bar-default-options",{providedIn:"root",factory:function ZU(){return new dg}});let XU=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,o,s,a,l){this._overlay=e,this._live=i,this._injector=o,this._breakpointObserver=s,this._parentSnackBar=a,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",o){const s={...this._defaultConfig,...o};return s.data={message:e,action:i},s.announcementMessage===e&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const s=Ti.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:dg,useValue:i}]}),a=new Td(this.snackBarContainerComponent,i.viewContainerRef,s),l=e.attach(a);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){const o={...new dg,...this._defaultConfig,...i},s=this._createOverlay(o),a=this._attachSnackBarContainer(s,o),l=new cg(a,s);if(e instanceof mr){const d=new Kl(e,null,{$implicit:o.data,snackBarRef:l});l.instance=a.attachTemplatePortal(d)}else{const d=this._createInjector(o,l),_=new Td(e,void 0,d),E=a.attachComponentPortal(_);l.instance=E.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Bn(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),o.announcementMessage&&a._onAnnounce.subscribe(()=>{this._live.announce(o.announcementMessage,o.politeness)}),this._animateSnackBar(l,o),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new Fh;i.direction=e.direction;let o=this._overlay.position().global();const s="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!s||"end"===e.horizontalPosition&&s,l=!a&&"center"!==e.horizontalPosition;return a?o.left("0"):l?o.right("0"):o.centerHorizontally(),"top"===e.verticalPosition?o.top("0"):o.bottom("0"),i.positionStrategy=o,this._overlay.create(i)}_createInjector(e,i){return Ti.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:cg,useValue:i},{provide:a1,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(X0),we(Ti),we(W0),we(t,12),we(l1))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})(),JU=(()=>{class t extends XU{constructor(e,i,o,s,a,l){super(e,i,o,s,a,l),this.simpleSnackBarComponent=WU,this.snackBarContainerComponent=KU,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(we(io),we(X0),we(Ti),we(W0),we(t,12),we(l1))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:nE}),t})();function c1(...t){if(1===t.length){const n=t[0];if(M(n))return ug(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){const e=Object.keys(n);return ug(e.map(i=>n[i]),e)}}if("function"==typeof t[t.length-1]){const n=t.pop();return ug(t=1===t.length&&M(t[0])?t[0]:t,null).pipe(ke(e=>n(...e)))}return ug(t,null)}function ug(t,n){return new he(e=>{const i=t.length;if(0===i)return void e.complete();const o=new Array(i);let s=0,a=0;for(let l=0;l{_||(_=!0,a++),o[l]=E},error:E=>e.error(E),complete:()=>{s++,(s===i||!_)&&(a===i&&e.next(n?n.reduce((E,F,G)=>(E[F]=o[G],E),{}):o),e.complete())}}))}})}const QU=["*"];let hg;function jh(t){return function eW(){if(void 0===hg&&(hg=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(hg=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return hg}()?.createHTML(t)||t}function iE(t){return Error(`Unable to find icon with the name "${t}"`)}function rE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function oE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class ec{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let fg=(()=>{class t{constructor(e,i,o,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,s){return this._addSvgIconConfig(e,i,new ec(o,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,s){const a=this._sanitizer.sanitize(Dn.HTML,o);if(!a)throw oE(o);const l=jh(a);return this._addSvgIconConfig(e,i,new ec("",l,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new ec(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const s=this._sanitizer.sanitize(Dn.HTML,i);if(!s)throw oE(i);const a=jh(s);return this._addSvgIconSetConfig(e,new ec("",a,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Dn.RESOURCE_URL,e);if(!i)throw rE(e);const o=this._cachedIconsByUrl.get(i);return o?$e(pg(o)):this._loadSvgIconFromConfig(new ec(e,null)).pipe(bi(s=>this._cachedIconsByUrl.set(i,s)),ke(s=>pg(s)))}getNamedSvgIcon(e,i=""){const o=sE(i,e);let s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);const a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(e,a):Ar(iE(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?$e(pg(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ke(i=>pg(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?$e(o):c1(i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Co(l=>{const _=`Loading icon set URL: ${this._sanitizer.sanitize(Dn.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(_)),$e(null)})))).pipe(ke(()=>{const a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw iE(e);return a}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const s=i[o];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,e,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(bi(i=>e.svgText=i),ke(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?$e(null):this._fetchIcon(e).pipe(bi(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const a=s.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,o);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),o);const l=this._svgElementFromString(jh(""));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(jh("")),o=e.attributes;for(let s=0;sjh(_)),Sm(()=>this._inProgressUrlFetches.delete(a)),fl());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(sE(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),aE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],lW=aE.map(t=>`[${t}]`).join(", "),cW=/^url\(['"]?#(.*?)['"]?\)$/;let bn=(()=>{class t extends rW{get inline(){return this._inline}set inline(e){this._inline=_n(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,o,s,a,l){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=T.EMPTY,l&&(l.color&&(this.color=this.defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),i.forEach(o=>e.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(lW),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const l=i[s],d=l.getAttribute(a),_=d?d.match(cW):null;if(_){let E=o.get(l);E||(E=[],o.set(l,E)),E.push({name:a,value:_[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Kn(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${s.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(fg),Na("aria-hidden"),N(sW),N(Ss),N(oW,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Jt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),nn("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[nt],ngContentSelectors:QU,decls:1,vars:0,template:function(e,i){1&e&&(Ir(),Tn(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),dW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Wn]}),t})();function zh(t){return(zh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function Lt(t,n,e){return(n=function hW(t){var n=function uW(t,n){if("object"!==zh(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!==zh(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===zh(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function lE(t,n,e){let i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:n,refCount:!1,scheduler:e},o=>o.lift(function fW({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:n=Number.POSITIVE_INFINITY,refCount:e,scheduler:i}){let o,a,s=0,l=!1,d=!1;return function(E){let F;s++,!o||l?(l=!1,o=new ko(t,n,i),F=o.subscribe(this),a=E.subscribe({next(G){o.next(G)},error(G){l=!0,o.error(G)},complete(){d=!0,a=void 0,o.complete()}}),d&&(a=void 0)):F=o.subscribe(this),this.add(()=>{s--,F.unsubscribe(),F=void 0,a&&!d&&e&&0===s&&(a.unsubscribe(),a=void 0,o=void 0)})}}(i))}class Uh{}let cE=(()=>{class t extends Uh{getTranslation(e){return $e({})}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})();class d1{}let dE=(()=>{class t{handle(e){return e.key}}return Lt(t,"\u0275fac",function(e){return new(e||t)}),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})();function mg(t,n){if(t===n)return!0;if(null===t||null===n)return!1;if(t!=t&&n!=n)return!0;let o,s,a,e=typeof t;if(e==typeof n&&"object"==e){if(!Array.isArray(t)){if(Array.isArray(n))return!1;for(s in a=Object.create(null),t){if(!mg(t[s],n[s]))return!1;a[s]=!0}for(s in n)if(!(s in a)&&typeof n[s]<"u")return!1;return!0}if(!Array.isArray(n))return!1;if((o=t.length)==n.length){for(s=0;s{u1(n[i])?i in t?e[i]=uE(t[i],n[i]):Object.assign(e,{[i]:n[i]}):Object.assign(e,{[i]:n[i]})}),e}class gg{}let hE=(()=>{class t extends gg{constructor(...e){super(...e),Lt(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(e,i){let o;return o="string"==typeof e?this.interpolateString(e,i):"function"==typeof e?this.interpolateFunction(e,i):e,o}getValue(e,i){let o="string"==typeof i?i.split("."):[i];i="";do{i+=o.shift(),!sl(e)||!sl(e[i])||"object"!=typeof e[i]&&o.length?o.length?i+=".":e=void 0:(e=e[i],i="")}while(o.length);return e}interpolateFunction(e,i){return e(i)}interpolateString(e,i){return i?e.replace(this.templateMatcher,(o,s)=>{let a=this.getValue(i,s);return sl(a)?a:o}):e}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})();class _g{}let fE=(()=>{class t extends _g{compile(e,i){return e}compileTranslations(e,i){return e}}return Lt(t,"\u0275fac",function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}()),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})();class pE{constructor(){Lt(this,"defaultLang",void 0),Lt(this,"currentLang",this.defaultLang),Lt(this,"translations",{}),Lt(this,"langs",[]),Lt(this,"onTranslationChange",new ht),Lt(this,"onLangChange",new ht),Lt(this,"onDefaultLangChange",new ht)}}const h1=new Re("USE_STORE"),f1=new Re("USE_DEFAULT_LANG"),p1=new Re("DEFAULT_LANGUAGE"),m1=new Re("USE_EXTEND");let To=(()=>{class t{get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}constructor(e,i,o,s,a,l=!0,d=!1,_=!1,E){Lt(this,"store",void 0),Lt(this,"currentLoader",void 0),Lt(this,"compiler",void 0),Lt(this,"parser",void 0),Lt(this,"missingTranslationHandler",void 0),Lt(this,"useDefaultLang",void 0),Lt(this,"isolate",void 0),Lt(this,"extend",void 0),Lt(this,"loadingTranslations",void 0),Lt(this,"pending",!1),Lt(this,"_onTranslationChange",new ht),Lt(this,"_onLangChange",new ht),Lt(this,"_onDefaultLangChange",new ht),Lt(this,"_defaultLang",void 0),Lt(this,"_currentLang",void 0),Lt(this,"_langs",[]),Lt(this,"_translations",{}),Lt(this,"_translationRequests",{}),this.store=e,this.currentLoader=i,this.compiler=o,this.parser=s,this.missingTranslationHandler=a,this.useDefaultLang=l,this.isolate=d,this.extend=_,E&&this.setDefaultLang(E)}setDefaultLang(e){if(e===this.defaultLang)return;let i=this.retrieveTranslations(e);typeof i<"u"?(null==this.defaultLang&&(this.defaultLang=e),i.pipe(Kn(1)).subscribe(o=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return $e(this.translations[e]);let i=this.retrieveTranslations(e);return typeof i<"u"?(this.currentLang||(this.currentLang=e),i.pipe(Kn(1)).subscribe(o=>{this.changeLang(e)}),i):(this.changeLang(e),$e(this.translations[e]))}retrieveTranslations(e){let i;return(typeof this.translations[e]>"u"||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),i=this._translationRequests[e]),i}getTranslation(e){this.pending=!0;const i=this.currentLoader.getTranslation(e).pipe(lE(1),Kn(1));return this.loadingTranslations=i.pipe(ke(o=>this.compiler.compileTranslations(o,e)),lE(1),Kn(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[e]=this.extend&&this.translations[e]?{...o,...this.translations[e]}:o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(e,i,o=!1){i=this.compiler.compileTranslations(i,e),this.translations[e]=(o||this.extend)&&this.translations[e]?uE(this.translations[e],i):i,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(i=>{-1===this.langs.indexOf(i)&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,i,o){let s;if(i instanceof Array){let a={},l=!1;for(let d of i)a[d]=this.getParsedResult(e,d,o),qa(a[d])&&(l=!0);return l?c1(i.map(_=>qa(a[_])?a[_]:$e(a[_]))).pipe(ke(_=>{let E={};return _.forEach((F,G)=>{E[i[G]]=F}),E})):a}if(e&&(s=this.parser.interpolate(this.parser.getValue(e,i),o)),typeof s>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof s>"u"){let a={key:i,translateService:this};typeof o<"u"&&(a.interpolateParams=o),s=this.missingTranslationHandler.handle(a)}return typeof s<"u"?s:i}get(e,i){if(!sl(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(zl(o=>qa(o=this.getParsedResult(o,e,i))?o:$e(o)));{let o=this.getParsedResult(this.translations[this.currentLang],e,i);return qa(o)?o:$e(o)}}getStreamOnTranslationChange(e,i){if(!sl(e)||!e.length)throw new Error('Parameter "key" required');return Ka(Wl(()=>this.get(e,i)),this.onTranslationChange.pipe(gr(o=>{const s=this.getParsedResult(o.translations,e,i);return"function"==typeof s.subscribe?s:$e(s)})))}stream(e,i){if(!sl(e)||!e.length)throw new Error('Parameter "key" required');return Ka(Wl(()=>this.get(e,i)),this.onLangChange.pipe(gr(o=>{const s=this.getParsedResult(o.translations,e,i);return qa(s)?s:$e(s)})))}instant(e,i){if(!sl(e)||!e.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],e,i);if(qa(o)){if(e instanceof Array){let s={};return e.forEach((a,l)=>{s[e[l]]=e[l]}),s}return e}return o}set(e,i,o=this.currentLang){this.translations[o][e]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,typeof e>"u"?void 0:(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e)}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return Lt(t,"\u0275fac",function(e){return new(e||t)(we(pE),we(Uh),we(_g),we(gg),we(d1),we(f1),we(h1),we(m1),we(p1))}),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})(),yt=(()=>{class t{constructor(e,i){Lt(this,"translate",void 0),Lt(this,"_ref",void 0),Lt(this,"value",""),Lt(this,"lastKey",null),Lt(this,"lastParams",[]),Lt(this,"onTranslationChange",void 0),Lt(this,"onLangChange",void 0),Lt(this,"onDefaultLangChange",void 0),this.translate=e,this._ref=i}updateValue(e,i,o){let s=a=>{this.value=void 0!==a?a:e,this.lastKey=e,this._ref.markForCheck()};if(o){let a=this.translate.getParsedResult(o,e,i);qa(a.subscribe)?a.subscribe(s):s(a)}this.translate.get(e,i).subscribe(s)}transform(e,...i){if(!e||!e.length)return e;if(mg(e,this.lastKey)&&mg(i,this.lastParams))return this.value;let o;if(sl(i[0])&&i.length)if("string"==typeof i[0]&&i[0].length){let s=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(s)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else"object"==typeof i[0]&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=e,this.lastParams=i,this.updateValue(e,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{this.lastKey&&s.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o,s.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return Lt(t,"\u0275fac",function(e){return new(e||t)(N(To,16),N(pi,16))}),Lt(t,"\u0275pipe",ur({name:"translate",type:t,pure:!1})),Lt(t,"\u0275prov",Ye({token:t,factory:t.\u0275fac})),t})(),mE=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[e.loader||{provide:Uh,useClass:cE},e.compiler||{provide:_g,useClass:fE},e.parser||{provide:gg,useClass:hE},e.missingTranslationHandler||{provide:d1,useClass:dE},pE,{provide:h1,useValue:e.isolate},{provide:f1,useValue:e.useDefaultLang},{provide:m1,useValue:e.extend},{provide:p1,useValue:e.defaultLanguage},To]}}static forChild(e={}){return{ngModule:t,providers:[e.loader||{provide:Uh,useClass:cE},e.compiler||{provide:_g,useClass:fE},e.parser||{provide:gg,useClass:hE},e.missingTranslationHandler||{provide:d1,useClass:dE},{provide:h1,useValue:e.isolate},{provide:f1,useValue:e.useDefaultLang},{provide:m1,useValue:e.extend},{provide:p1,useValue:e.defaultLanguage},To]}}}return Lt(t,"\u0275fac",function(e){return new(e||t)}),Lt(t,"\u0275mod",Vt({type:t})),Lt(t,"\u0275inj",Nt({})),t})();function pW(t,n){if(1&t&&(k(0,"div",5)(1,"mat-icon",6),I(2),C()()),2&t){const e=z();c(1),w("inline",!0),c(1),re(e.config.icon)}}function mW(t,n){if(1&t&&(k(0,"div",7),I(1),R(2,"translate"),R(3,"translate"),C()),2&t){const e=z();c(1),vo(" ",H(2,2,"common.error")," ",kt(3,4,e.config.smallText,e.config.smallTextTranslationParams)," ")}}var ua=(()=>((ua=ua||{}).Error="error",ua.Done="done",ua.Warning="warning",ua))(),ha=(()=>((ha=ha||{}).Red="red-background",ha.Green="green-background",ha.Yellow="yellow-background",ha))();let gW=(()=>{class t{constructor(e,i){this.snackbarRef=i,this.config=e}close(){this.snackbarRef.dismiss()}}return t.\u0275fac=function(e){return new(e||t)(N(a1),N(cg))},t.\u0275cmp=Ke({type:t,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(e,i){1&e&&(k(0,"div"),V(1,pW,3,2,"div",0),k(2,"div",1),I(3),R(4,"translate"),V(5,mW,4,7,"div",2),C(),Ce(6,"div",3),k(7,"mat-icon",4),ve("click",function(){return i.close()}),I(8,"close"),C()()),2&e&&(eo("main-container "+i.config.color),c(1),w("ngIf",i.config.icon),c(2),ce(" ",kt(4,5,i.config.text,i.config.textTranslationParams)," "),c(2),w("ngIf",i.config.smallText))},dependencies:[Ft,bn,yt],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;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:#0000004d}.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;user-select:none}']}),t})(),kn=(()=>{class t{constructor(e){this.snackBar=e,this.lastWasTemporaryError=!1}showError(e,i=null,o=!1,s=null,a=null){e=Qt(e),s=s?Qt(s):null,this.lastWasTemporaryError=o,this.show(e.translatableErrorMsg,i,s?s.translatableErrorMsg:null,a,ua.Error,ha.Red,15e3)}showWarning(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,ua.Warning,ha.Yellow,15e3)}showDone(e,i=null){this.lastWasTemporaryError=!1,this.show(e,i,null,null,ua.Done,ha.Green,5e3)}closeCurrent(){this.snackBar.dismiss()}closeCurrentIfTemporaryError(){this.lastWasTemporaryError&&this.snackBar.dismiss()}show(e,i,o,s,a,l,d){this.snackBar.openFromComponent(gW,{duration:d,panelClass:"snackbar-container",data:{text:e,textTranslationParams:i,smallText:o,smallTextTranslationParams:s,icon:a,color:l}})}}return t.\u0275fac=function(e){return new(e||t)(we(JU))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Bt={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}};class _W{constructor(n){Object.assign(this,n)}}let bg=(()=>{class t{constructor(e){this.translate=e,this.currentLanguage=new ko(1),this.languages=new ko(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}loadLanguageSettings(){if(this.settingsLoaded)return;this.settingsLoaded=!0;const e=[];Bt.languages.forEach(i=>{const o=new _W(i);this.languagesInternal.push(o),e.push(o.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(Bt.defaultLanguage),this.translate.onLangChange.subscribe(i=>this.onLanguageChanged(i)),this.loadCurrentLanguage()}changeLanguage(e){this.translate.use(e)}onLanguageChanged(e){this.currentLanguage.next(this.languagesInternal.find(i=>i.code===e.lang)),localStorage.setItem(this.storageKey,e.lang)}loadCurrentLanguage(){let e=localStorage.getItem(this.storageKey);e=e||Bt.defaultLanguage,setTimeout(()=>this.translate.use(e),16)}}return t.\u0275fac=function(e){return new(e||t)(we(To))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const bW={url:"",deserializer:t=>JSON.parse(t.data),serializer:t=>JSON.stringify(t)};class g1 extends Te{constructor(n,e){if(super(),n instanceof he)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},bW);if(this._output=new J,"string"==typeof n)i.url=n;else for(let o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new ko}}lift(n){const e=new g1(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new ko),this._output=new J}multiplex(n,e,i){const o=this;return new he(s=>{try{o.next(n())}catch(l){s.error(l)}const a=o.subscribe(l=>{try{i(l)&&s.next(l)}catch(d){s.error(d)}},l=>s.error(l),()=>s.complete());return()=>{try{o.next(e())}catch(l){s.error(l)}a.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:n,protocol:e,url:i,binaryType:o}=this._config,s=this._output;let a=null;try{a=e?new n(i,e):new n(i),this._socket=a,o&&(this._socket.binaryType=o)}catch(d){return void s.error(d)}const l=new T(()=>{this._socket=null,a&&1===a.readyState&&a.close()});a.onopen=d=>{const{_socket:_}=this;if(!_)return a.close(),void this._resetState();const{openObserver:E}=this._config;E&&E.next(d);const F=this.destination;this.destination=A.create(G=>{if(1===a.readyState)try{const{serializer:ie}=this._config;a.send(ie(G))}catch(ie){this.destination.error(ie)}},G=>{const{closingObserver:ie}=this._config;ie&&ie.next(void 0),G&&G.code?a.close(G.code,G.reason):s.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),this._resetState()},()=>{const{closingObserver:G}=this._config;G&&G.next(void 0),a.close(),this._resetState()}),F&&F instanceof ko&&l.add(F.subscribe(this.destination))},a.onerror=d=>{this._resetState(),s.error(d)},a.onclose=d=>{this._resetState();const{closeObserver:_}=this._config;_&&_.next(d),d.wasClean?s.complete():s.error(d)},a.onmessage=d=>{try{const{deserializer:_}=this._config;s.next(_(d))}catch(_){s.error(_)}}}_subscribe(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&1===i.readyState&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&1===n.readyState&&n.close(),this._resetState(),super.unsubscribe()}}var al=(()=>((al=al||{}).Json="json",al.Text="text",al))(),tc=(()=>((tc=tc||{}).Json="json",tc))();class Ns{constructor(n){this.responseType=al.Json,this.requestType=tc.Json,this.ignoreAuth=!1,Object.assign(this,n)}}let ll=(()=>{class t{constructor(e,i,o){this.http=e,this.router=i,this.ngZone=o,this.apiPrefix="api/",this.wsApiPrefix="api/"}get(e,i=null){return this.request("GET",e,{},i)}post(e,i={},o=null){return this.getCsrf().pipe(Os(),Ne(s=>((o=o||new Ns).csrfToken=s,this.request("POST",e,i,o))))}put(e,i={},o=null){return this.getCsrf().pipe(Os(),Ne(s=>((o=o||new Ns).csrfToken=s,this.request("PUT",e,i,o))))}delete(e,i=null){return this.getCsrf().pipe(Os(),Ne(o=>((i=i||new Ns).csrfToken=o,this.request("DELETE",e,{},i))))}getCsrf(){return this.get("csrf").pipe(ke(e=>e.csrf_token))}ws(e,i={}){const a=function yW(t){return new g1(t)}((location.protocol.startsWith("https")?"wss://":"ws://")+location.host+"/"+this.wsApiPrefix+e);return a.next(i),a}request(e,i,o,s){return o=o||{},s=s||new Ns,i.startsWith("/")&&(i=i.substr(1,i.length-1)),this.http.request(e,this.apiPrefix+i,{...this.getRequestOptions(s),responseType:s.responseType,withCredentials:!0,body:this.getPostBody(o,s)}).pipe(ke(a=>this.successHandler(a)),Co(a=>this.errorHandler(a,s)))}getRequestOptions(e){const i={};return i.headers=new rs,e.requestType===tc.Json&&(i.headers=i.headers.append("Content-Type","application/json")),e.csrfToken&&(i.headers=i.headers.append("X-CSRF-Token",e.csrfToken)),i}getPostBody(e,i){if(i.requestType===tc.Json)return JSON.stringify(e);const o=new FormData;return Object.keys(e).forEach(s=>o.append(s,e[s])),o}successHandler(e){if("string"==typeof e&&"manager token is null"===e)throw new Error(e);return e}errorHandler(e,i){if(!i.ignoreAuth){if(401===e.status){const o=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(o,{replaceUrl:!0}))}if(e.error&&"string"==typeof e.error&&e.error.includes("change password")){const o=i.vpnKeyForAuth?["vpnlogin",i.vpnKeyForAuth]:["login"];this.ngZone.run(()=>this.router.navigate(o,{replaceUrl:!0}))}}return Ar(Qt(e))}}return t.\u0275fac=function(e){return new(e||t)(we(Ul),we(hn),we(ft))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const MW=["determinateSpinner"];function wW(t,n){if(1&t&&(kl(),k(0,"svg",11),Ce(1,"circle",12),C()),2&t){const e=z();Jt("viewBox",e._viewBox()),c(1),Fl("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Jt("r",e._circleRadius())}}const CW=Nh(class{constructor(t){this._elementRef=t}},"primary"),xW=new Re("mat-progress-spinner-default-options",{providedIn:"root",factory:function kW(){return{diameter:gE}}}),gE=100;let nc=(()=>{class t extends CW{constructor(e,i,o){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=gE,this._noopAnimations="NoopAnimations"===i&&!!o&&!o._forceAnimations,o&&(o.color&&(this.color=this.defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,So(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=So(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=So(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Vi,8),N(xW))},t.\u0275cmp=Ke({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&pt(MW,5),2&e){let o;it(o=rt())&&(i._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(e,i){2&e&&(Jt("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),Fl("width",i.diameter,"px")("height",i.diameter,"px")("--mdc-circular-progress-size",i.diameter+"px")("--mdc-circular-progress-active-indicator-width",i.diameter+"px"),nn("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[nt],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,i){if(1&e&&(V(0,wW,2,8,"ng-template",null,0,Es),k(2,"div",1,2),kl(),k(4,"svg",3),Ce(5,"circle",4),C()(),Uf(),k(6,"div",5)(7,"div",6)(8,"div",7),Jo(9,8),C(),k(10,"div",9),Jo(11,8),C(),k(12,"div",10),Jo(13,8),C()()()),2&e){const o=ci(1);c(4),Jt("viewBox",i._viewBox()),c(1),Fl("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),Jt("r",i._circleRadius()),c(4),w("ngTemplateOutlet",o),c(2),w("ngTemplateOutlet",o),c(2),w("ngTemplateOutlet",o)}},dependencies:[pd],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),DW=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[ia,Wn]}),t})();const TW=function(t){return{"white-theme":t}};let as=(()=>{class t{constructor(){this.showWhite=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-loading-indicator"]],inputs:{showWhite:"showWhite"},decls:2,vars:4,consts:[[1,"container",3,"ngClass"],[3,"diameter"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"mat-spinner",1),C()),2&e&&(w("ngClass",He(2,TW,i.showWhite)),c(1),w("diameter",50))},dependencies:[Pn,nc],styles:["[_nghost-%COMP%]{width:100%;height:100%;display:flex}.container[_ngcontent-%COMP%]{width:100%;align-self:center;display:flex;flex-direction:column;align-items:center}.container[_ngcontent-%COMP%] > mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t})();function LW(t,n){1&t&&(k(0,"div",6)(1,"div"),Ce(2,"img",7),k(3,"div"),I(4),R(5,"translate"),C()()()),2&t&&(c(4),re(H(5,1,"common.window-size-error")))}function EW(t,n){1&t&&Ce(0,"router-outlet")}function IW(t,n){1&t&&Ce(0,"app-loading-indicator",8)}function PW(t,n){1&t&&(k(0,"div",9)(1,"span",10)(2,"mat-icon",11),I(3,"error_outline"),C(),I(4),R(5,"translate"),C()()),2&t&&(c(2),w("inline",!0),c(2),ce(" ",H(5,2,"common.data-update-problems")," "))}const OW=function(t){return{background:t}};let fa=(()=>{class t{constructor(e,i,o,s,a,l){this.storage=e,this.snackbarService=s,this.languageService=a,this.apiService=l,this.inVpnClient=!1,this.inLoginPage=!1,this.hypervisorPkObtained=!1,this.pkErrorShown=!1,this.pkErrorsFound=0,this.showingDataProblemMsg=!1,t.currentInstance=this,o.afterOpened.subscribe(()=>s.closeCurrent()),history.scrollRestoration&&(history.scrollRestoration="manual"),i.events.subscribe(d=>{d instanceof Ja&&(s.closeCurrent(),o.closeAll())}),o.afterAllClosed.subscribe(()=>s.closeCurrentIfTemporaryError()),i.events.subscribe(d=>{if(this.inVpnClient=i.url.includes("/vpn/")||i.url.includes("vpnlogin"),d.url){const _=this.inLoginPage;this.inLoginPage=d.url.includes("login"),_&&!this.inLoginPage&&!this.hypervisorPkObtained&&this.checkHypervisorPk(0)}i.url.length>2&&(document.title=this.inVpnClient?"Skywire VPN":"Skywire Manager")}),this.languageService.loadLanguageSettings(),this.checkHypervisorPk(0)}processLoginDone(){this.inLoginPage=!1,this.hypervisorPkObtained||this.checkHypervisorPk(0)}showDataProblemMsg(){this.showingDataProblemMsg=!0}hideDataProblemMsg(){this.showingDataProblemMsg=!1}checkHypervisorPk(e){this.obtainPkSubscription&&this.obtainPkSubscription.unsubscribe(),this.obtainPkSubscription=$e(1).pipe(Ei(e),Ne(()=>this.apiService.get("about"))).subscribe(i=>{i.public_key?(this.finishStartup(i.public_key),this.hypervisorPkObtained=!0):(this.pkErrorShown||(this.snackbarService.showError("start.loading-error",null,!0),this.pkErrorShown=!0),this.checkHypervisorPk(1e3))},i=>{if(this.pkErrorsFound+=1,this.pkErrorsFound>4&&!this.pkErrorShown){const o=Qt(i);this.snackbarService.showError("start.loading-error",null,!0,o),this.pkErrorShown=!0}this.inLoginPage||this.checkHypervisorPk(1e3)})}finishStartup(e){this.storage.initialize(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Ji),N(hn),N(xn),N(kn),N(bg),N(ll))},t.\u0275cmp=Ke({type:t,selectors:[["app-root"]],decls:6,vars:7,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[4,"ngIf"],["class","h-100",4,"ngIf"],["class","connection-problem-container",4,"ngIf"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"],[1,"h-100"],[1,"connection-problem-container"],[1,"blinking"],[3,"inline"]],template:function(e,i){1&e&&(V(0,LW,6,3,"div",0),k(1,"div",1),Ce(2,"div",2),V(3,EW,1,0,"router-outlet",3),V(4,IW,1,0,"app-loading-indicator",4),C(),V(5,PW,6,4,"div",5)),2&e&&(w("ngIf",i.inVpnClient),c(2),w("ngClass",He(5,OW,i.inVpnClient)),c(1),w("ngIf",i.hypervisorPkObtained||i.inLoginPage),c(1),w("ngIf",!i.hypervisorPkObtained&&!i.inLoginPage),c(1),w("ngIf",i.showingDataProblemMsg))},dependencies:[Pn,Ft,Fm,bn,as,yt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:#000000d9;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}.connection-problem-container[_ngcontent-%COMP%]{position:fixed;bottom:0;right:0;background-color:red;padding:0 10px 5px;font-size:10px;opacity:.75}.connection-problem-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}"]}),t})(),$h=(()=>{class t{set forceFail(e){this.forceFailInternal=e}constructor(e){this.router=e,this.forceFailInternal=!1}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.forceFailInternal?(this.router.navigate(["login"],{replaceUrl:!0}),$e(!1)):$e(!0)}}return t.\u0275fac=function(e){return new(e||t)(we(hn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Fr=(()=>((Fr=Fr||{})[Fr.AuthDisabled=0]="AuthDisabled",Fr[Fr.Logged=1]="Logged",Fr[Fr.NotLogged=2]="NotLogged",Fr))();let Gh=(()=>{class t{constructor(e,i,o){this.apiService=e,this.translateService=i,this.authGuardService=o}login(e){return this.apiService.post("login",{username:"admin",password:e},new Ns({ignoreAuth:!0})).pipe(bi(i=>{if(!0!==i)throw new Error;this.authGuardService.forceFail=!1}))}checkLogin(){return this.apiService.get("user",new Ns({ignoreAuth:!0})).pipe(ke(e=>e.username?Fr.Logged:Fr.AuthDisabled),Co(e=>(e=Qt(e)).originalError&&401===e.originalError.status?(this.authGuardService.forceFail=!0,$e(Fr.NotLogged)):Ar(e)))}logout(){return this.apiService.post("logout",{}).pipe(bi(e=>{if(!0!==e)throw new Error;this.authGuardService.forceFail=!0}))}changePassword(e,i){return this.apiService.post("change-password",{old_password:e,new_password:i},new Ns({responseType:al.Text,ignoreAuth:!0})).pipe(ke(o=>{if("string"==typeof o&&"true"===o.trim())return!0;throw"Please do not change the default password."===o?new Error(this.translateService.instant("settings.password.errors.default-password")):new Error(this.translateService.instant("common.operation-error"))}),Co(o=>((o=Qt(o)).originalError&&401===o.originalError.status&&(o.translatableErrorMsg="settings.password.errors.bad-old-password"),Ar(o))))}initialConfig(e){return this.apiService.post("create-account",{username:"admin",password:e},new Ns({responseType:al.Text,ignoreAuth:!0})).pipe(ke(i=>{if("string"==typeof i&&"true"===i.trim())return!0;throw new Error(i)}),Co(i=>((i=Qt(i)).originalError&&500===i.originalError.status&&(i.translatableErrorMsg="settings.password.initial-config.error"),Ar(i))))}}return t.\u0275fac=function(e){return new(e||t)(we(ll),we(To),we($h))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class AW{}class er{constructor(){this.persistentScrollPosKey="scroll-pos"}ngOnInit(){let n=this.getLocalValue(this.persistentScrollPosKey);n=n?n.value:"0",window.scrollTo(0,Number(n)),setTimeout(()=>window.scrollTo(0,Number(n)),1)}saveScrollPosition(n){this.saveLocalValue(this.persistentScrollPosKey,window.scrollY+"")}saveLocalValue(n,e){const i=window.history.state;i[n]=e,i[n+"_time"]=(new Date).getTime(),window.history.replaceState(i,"",window.location.pathname+window.location.hash)}getLocalValue(n){if(!window.history.state||void 0===window.history.state[n])return null;const e=new AW;return e.value=window.history.state[n],e.date=window.history.state[n+"_time"],e}}er.mustCallNgOnInitSuper=Symbol("You must call super.ngOnInit."),er.\u0275fac=function(n){return new(n||er)},er.\u0275cmp=Ke({type:er,selectors:[["app-page-base"]],hostBindings:function(n,e){1&n&&ve("scroll",function(o){return e.saveScrollPosition(o)},0,zb)},decls:0,vars:0,template:function(n,e){},encapsulation:2});let FW=(()=>{class t extends er{constructor(e,i){super(),this.authService=e,this.router=i}ngOnInit(){return this.verificationSubscription=this.authService.checkLogin().subscribe(e=>{this.router.navigate(e!==Fr.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},()=>{this.router.navigate(["nodes"],{replaceUrl:!0})}),super.ngOnInit()}ngOnDestroy(){this.verificationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(Gh),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-start"]],features:[nt],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"app-loading-indicator"),C())},dependencies:[as]}),t})(),_E=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(N(Xs),N(vt))},t.\u0275dir=Ze({type:t}),t})(),ic=(()=>{class t extends _E{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,features:[nt]}),t})();const ls=new Re("NgValueAccessor"),NW={provide:ls,useExisting:pn(()=>Ii),multi:!0},HW=new Re("CompositionEventMode");let Ii=(()=>{class t extends _E{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function YW(){const t=za()?za().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Xs),N(vt),N(HW,8))},t.\u0275dir=Ze({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(e,i){1&e&&ve("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[un([NW]),nt]}),t})();function cl(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function vE(t){return null!=t&&"number"==typeof t.length}const xr=new Re("NgValidators"),dl=new Re("NgAsyncValidators"),BW=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Yt{static min(n){return function yE(t){return n=>{if(cl(n.value)||cl(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(cl(n.value)||cl(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return function wE(t){return cl(t.value)?{required:!0}:null}(n)}static requiredTrue(n){return function CE(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function xE(t){return cl(t.value)||BW.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function kE(t){return n=>cl(n.value)||!vE(n.value)?null:n.value.length{if(cl(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return OE(n)}static composeAsync(n){return AE(n)}}function SE(t){return n=>vE(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function vg(t){return null}function TE(t){return null!=t}function LE(t){return Vu(t)?ue(t):t}function EE(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function IE(t,n){return n.map(e=>e(t))}function PE(t){return t.map(n=>function VW(t){return!t.validate}(n)?n:e=>n.validate(e))}function OE(t){if(!t)return null;const n=t.filter(TE);return 0==n.length?null:function(e){return EE(IE(e,n))}}function _1(t){return null!=t?OE(PE(t)):null}function AE(t){if(!t)return null;const n=t.filter(TE);return 0==n.length?null:function(e){return c1(IE(e,n).map(LE)).pipe(ke(EE))}}function b1(t){return null!=t?AE(PE(t)):null}function FE(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function RE(t){return t._rawValidators}function NE(t){return t._rawAsyncValidators}function v1(t){return t?Array.isArray(t)?t:[t]:[]}function yg(t,n){return Array.isArray(t)?t.includes(n):t===n}function YE(t,n){const e=v1(n);return v1(t).forEach(o=>{yg(e,o)||e.push(o)}),e}function HE(t,n){return v1(n).filter(e=>!yg(t,e))}class BE{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=_1(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=b1(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Gr extends BE{get formDirective(){return null}get path(){return null}}class Ys extends BE{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class VE{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Pi=(()=>{class t extends VE{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Ys,2))},t.\u0275dir=Ze({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&nn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[nt]}),t})(),Oi=(()=>{class t extends VE{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,10))},t.\u0275dir=Ze({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&nn("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[nt]}),t})();const qh="VALID",wg="INVALID",Ad="PENDING",Kh="DISABLED";function w1(t){return(Cg(t)?t.validators:t)||null}function C1(t,n){return(Cg(n)?n.asyncValidators:t)||null}function Cg(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function zE(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new Fe(1e3,"");if(!i[e])throw new Fe(1001,"")}function UE(t,n,e){t._forEachChild((i,o)=>{if(void 0===e[o])throw new Fe(1002,"")})}class xg{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===qh}get invalid(){return this.status===wg}get pending(){return this.status==Ad}get disabled(){return this.status===Kh}get enabled(){return this.status!==Kh}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(YE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(YE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(HE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(HE(n,this._rawAsyncValidators))}hasValidator(n){return yg(this._rawValidators,n)}hasAsyncValidator(n){return yg(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Ad,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Kh,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=qh,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qh||this.status===Ad)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Kh:qh}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ad,this._hasOwnPendingAsyncValidator=!0;const e=LE(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,o)=>i&&i._find(o),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ht,this.statusChanges=new ht}_calculateStatus(){return this._allControlsDisabled()?Kh:this.errors?wg:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ad)?Ad:this._anyControlsHaveStatus(wg)?wg:qh}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Cg(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function WW(t){return Array.isArray(t)?_1(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function $W(t){return Array.isArray(t)?b1(t):t||null}(this._rawAsyncValidators)}}class Fd extends xg{constructor(n,e,i){super(w1(e),C1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){UE(this,0,n),Object.keys(n).forEach(i=>{zE(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,o)=>((i.enabled||this.disabled)&&(e[o]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,s)=>{i=e(i,o,s)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const WE=Fd;class $E extends Fd{}const rc=new Re("CallSetDisabledState",{providedIn:"root",factory:()=>Zh}),Zh="always";function kg(t,n){return[...n.path,t]}function Xh(t,n,e=Zh){x1(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function qW(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&GE(t,n)})}(t,n),function ZW(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function KW(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&GE(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function GW(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Sg(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Tg(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Dg(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function x1(t,n){const e=RE(t);null!==n.validator?t.setValidators(FE(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=NE(t);null!==n.asyncValidator?t.setAsyncValidators(FE(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();Dg(n._rawValidators,o),Dg(n._rawAsyncValidators,o)}function Tg(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=RE(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.validator);s.length!==o.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const o=NE(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(a=>a!==n.asyncValidator);s.length!==o.length&&(e=!0,t.setAsyncValidators(s))}}}const i=()=>{};return Dg(n._rawValidators,i),Dg(n._rawAsyncValidators,i),e}function GE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function qE(t,n){x1(t,n)}function KE(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const t$={provide:Gr,useExisting:pn(()=>Qh)},Jh=(()=>Promise.resolve())();let Qh=(()=>{class t extends Gr{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new ht,this.form=new Fd({},_1(e),b1(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Jh.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Xh(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Jh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Jh.then(()=>{const i=this._findContainer(e.path),o=new Fd({});qE(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Jh.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Jh.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,KE(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(N(xr,10),N(dl,10),N(rc,8))},t.\u0275dir=Ze({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ve("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([t$]),nt]}),t})();function ZE(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function XE(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Rd=class extends xg{constructor(n=null,e,i){super(w1(e),C1(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cg(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=XE(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){ZE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){ZE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){XE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Lg=Rd;let JE=(()=>{class t extends Gr{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return kg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,features:[nt]}),t})(),Ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const o$={provide:ls,useExisting:pn(()=>T1),multi:!0};let T1=(()=>{class t extends ic{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ve("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[un([o$]),nt]}),t})(),nI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const L1=new Re("NgModelWithFormControlWarning"),d$={provide:Gr,useExisting:pn(()=>ti)};let ti=(()=>{class t extends Gr{constructor(e,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new ht,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Tg(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Xh(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Sg(e.control||null,e,!1),function e$(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,KE(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Sg(i||null,e),(t=>t instanceof Rd)(o)&&(Xh(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);qE(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function XW(t,n){return Tg(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){x1(this.form,this),this._oldForm&&Tg(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(N(xr,10),N(dl,10),N(rc,8))},t.\u0275dir=Ze({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ve("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[un([d$]),nt,Gi]}),t})();const u$={provide:Gr,useExisting:pn(()=>ef)};let ef=(()=>{class t extends JE{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){sI(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(dl,10))},t.\u0275dir=Ze({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[un([u$]),nt]}),t})();const h$={provide:Gr,useExisting:pn(()=>tf)};let tf=(()=>{class t extends Gr{constructor(e,i,o){super(),this.name=null,this._parent=e,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return kg(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){sI(this._parent)}}return t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(dl,10))},t.\u0275dir=Ze({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[un([h$]),nt]}),t})();function sI(t){return!(t instanceof ef||t instanceof ti||t instanceof tf)}const f$={provide:Ys,useExisting:pn(()=>yi)};let yi=(()=>{class t extends Ys{set isDisabled(e){}constructor(e,i,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new ht,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function D1(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(s=>{s.constructor===Ii?e=s:function QW(t){return Object.getPrototypeOf(t.constructor)===ic}(s)?i=s:o=s}),o||i||e||null}(0,s)}ngOnChanges(e){this._added||this._setUpControl(),function S1(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return kg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(N(Gr,13),N(xr,10),N(dl,10),N(ls,10),N(L1,8))},t.\u0275dir=Ze({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[un([f$]),nt,Gi]}),t})();let oc=(()=>{class t{constructor(){this._validator=vg}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):vg,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,features:[Gi]}),t})();const S$={provide:xr,useExisting:pn(()=>kr),multi:!0};let kr=(()=>{class t extends oc{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function cI(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>SE(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Jt("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[un([S$]),nt]}),t})(),gI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[nI]}),t})();class _I extends xg{constructor(n,e,i){super(w1(e),C1(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){UE(this,0,n),n.forEach((i,o)=>{zE(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function bI(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let vI=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const o=this._reduceControls(e);let s={};return bI(i)?s=i:null!==i&&(s.validators=i.validator,s.asyncValidators=i.asyncValidator),new Fd(o,s)}record(e,i=null){const o=this._reduceControls(e);return new $E(o,i)}control(e,i,o){let s={};return this.useNonNullable?(bI(i)?s=i:(s.validators=i,s.asyncValidators=o),new Rd(e,{...s,nonNullable:!0})):new Rd(e,i,o)}array(e,i,o){const s=e.map(a=>this._createControl(a));return new _I(s,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return e instanceof Rd||e instanceof xg?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_r=(()=>{class t extends vI{group(e,i=null){return super.group(e,i)}control(e,i,o){return super.control(e,i,o)}array(e,i,o){return super.array(e,i,o)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),T$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:rc,useValue:e.callSetDisabledState??Zh}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[gI]}),t})(),L$=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:L1,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:rc,useValue:e.callSetDisabledState??Zh}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[gI]}),t})();const E$=["matFormFieldNotchedOutline",""],I$=["*"],P$=["textField"],O$=["iconPrefixContainer"],A$=["textPrefixContainer"];function F$(t,n){1&t&&Ce(0,"span",19)}function R$(t,n){if(1&t){const e=et();k(0,"label",17),ve("cdkObserveContent",function(){return Pe(e),Oe(z(2)._refreshOutlineNotchWidth())}),Tn(1,1),V(2,F$,1,0,"span",18),C()}if(2&t){const e=z(2);w("floating",e._shouldLabelFloat())("cdkObserveContentDisabled",!e._hasOutline())("id",e._labelId),Jt("for",e._control.id)("aria-owns",e._control.id),c(2),w("ngIf",!e.hideRequiredMarker&&e._control.required)}}function N$(t,n){1&t&&V(0,R$,3,6,"label",16),2&t&&w("ngIf",z()._hasFloatingLabel())}function Y$(t,n){1&t&&Ce(0,"div",20)}function H$(t,n){}function B$(t,n){1&t&&V(0,H$,0,0,"ng-template",22),2&t&&(z(2),w("ngTemplateOutlet",ci(1)))}function V$(t,n){if(1&t&&(k(0,"div",21),V(1,B$,1,1,"ng-template",9),C()),2&t){const e=z();w("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",e._labelWidth),c(1),w("ngIf",!e._forceDisplayInfixLabel())}}function j$(t,n){1&t&&(k(0,"div",23,24),Tn(2,2),C())}function z$(t,n){1&t&&(k(0,"div",25,26),Tn(2,3),C())}function U$(t,n){}function W$(t,n){1&t&&V(0,U$,0,0,"ng-template",22),2&t&&(z(),w("ngTemplateOutlet",ci(1)))}function $$(t,n){1&t&&(k(0,"div",27),Tn(1,4),C())}function G$(t,n){1&t&&(k(0,"div",28),Tn(1,5),C())}function q$(t,n){1&t&&Ce(0,"div",29)}function K$(t,n){1&t&&(k(0,"div",30),Tn(1,6),C()),2&t&&w("@transitionMessages",z()._subscriptAnimationState)}function Z$(t,n){if(1&t&&(k(0,"mat-hint",34),I(1),C()),2&t){const e=z(2);w("id",e._hintLabelId),c(1),re(e.hintLabel)}}function X$(t,n){if(1&t&&(k(0,"div",31),V(1,Z$,2,2,"mat-hint",32),Tn(2,7),Ce(3,"div",33),Tn(4,8),C()),2&t){const e=z();w("@transitionMessages",e._subscriptAnimationState),c(1),w("ngIf",e.hintLabel)}}const J$=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Q$=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let yI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-label"]]}),t})(),eG=0;const MI=new Re("MatError");let pa=(()=>{class t{constructor(e,i){this.id="mat-mdc-error-"+eG++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(Na("aria-live"),N(vt))},t.\u0275dir=Ze({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,i){2&e&&ea("id",i.id)},inputs:{id:"id"},features:[un([{provide:MI,useExisting:t}])]}),t})(),tG=0,wI=(()=>{class t{constructor(){this.align="start",this.id="mat-mdc-hint-"+tG++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,i){2&e&&(ea("id",i.id),Jt("align",null),nn("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}}),t})();const nG=new Re("MatPrefix"),iG=new Re("MatSuffix");let CI=(()=>{class t{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function rG(t){if(null!==t.offsetParent)return t.scrollWidth;const e=t.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);const i=e.scrollWidth;return e.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating"}}),t})();const xI="mdc-line-ripple--active",Eg="mdc-line-ripple--deactivating";let kI=(()=>{class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=o=>{const s=this._elementRef.nativeElement.classList,a=s.contains(Eg);"opacity"===o.propertyName&&a&&s.remove(xI,Eg)},i.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Eg),e.add(xI)}deactivate(){this._elementRef.nativeElement.classList.add(Eg)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft))},t.\u0275dir=Ze({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),t})(),SI=(()=>{class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft))},t.\u0275cmp=Ke({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,i){2&e&&nn("mdc-notched-outline--notched",i.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:E$,ngContentSelectors:I$,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,i){1&e&&(Ir(),Ce(0,"div",0),k(1,"div",1),Tn(2),C(),Ce(3,"div",2)),2&e&&(c(1),Fl("width",i._getNotchWidth()))},encapsulation:2,changeDetection:0}),t})();const oG={transitionMessages:oa("transitionMessages",[yo("enter",ei({opacity:1,transform:"translateY(0%)"})),Pr("void => enter",[ei({opacity:0,transform:"translateY(-5px)"}),Wr("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let A1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t}),t})();const F1=new Re("MatFormField"),sG=new Re("MAT_FORM_FIELD_DEFAULT_OPTIONS");let DI=0,tr=(()=>{class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=_n(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,o,s,a,l,d,_){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=d,this._document=_,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+DI++,this._hintLabelId="mat-mdc-hint-"+DI++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new J,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(Bn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),bt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Bn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Bn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,o=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=i?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${s+a}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const i=e.getRootNode();return i&&i!==e}return document.documentElement.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(ft),N(Do),N(ui),N(sG,8),N(Vi,8),N(It))},t.\u0275cmp=Ke({type:t,selectors:[["mat-form-field"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,yI,5),sr(o,yI,7),sr(o,A1,5),sr(o,nG,5),sr(o,iG,5),sr(o,MI,5),sr(o,wI,5)),2&e){let s;it(s=rt())&&(i._labelChildNonStatic=s.first),it(s=rt())&&(i._labelChildStatic=s.first),it(s=rt())&&(i._formFieldControl=s.first),it(s=rt())&&(i._prefixChildren=s),it(s=rt())&&(i._suffixChildren=s),it(s=rt())&&(i._errorChildren=s),it(s=rt())&&(i._hintChildren=s)}},viewQuery:function(e,i){if(1&e&&(pt(P$,5),pt(O$,5),pt(A$,5),pt(CI,5),pt(SI,5),pt(kI,5)),2&e){let o;it(o=rt())&&(i._textField=o.first),it(o=rt())&&(i._iconPrefixContainer=o.first),it(o=rt())&&(i._textPrefixContainer=o.first),it(o=rt())&&(i._floatingLabel=o.first),it(o=rt())&&(i._notchedOutline=o.first),it(o=rt())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,i){2&e&&nn("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===i._animationMode)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[un([{provide:F1,useExisting:t}])],ngContentSelectors:Q$,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,i){1&e&&(Ir(J$),V(0,N$,1,1,"ng-template",null,0,Es),k(2,"div",1,2),ve("click",function(s){return i._control.onContainerClick(s)}),V(4,Y$,1,0,"div",3),k(5,"div",4),V(6,V$,2,3,"div",5),V(7,j$,3,0,"div",6),V(8,z$,3,0,"div",7),k(9,"div",8),V(10,W$,1,1,"ng-template",9),Tn(11),C(),V(12,$$,2,0,"div",10),V(13,G$,2,0,"div",11),C(),V(14,q$,1,0,"div",12),C(),k(15,"div",13),V(16,K$,2,1,"div",14),V(17,X$,5,2,"div",15),C()),2&e&&(c(2),nn("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),c(2),w("ngIf",!i._hasOutline()&&!i._control.disabled),c(2),w("ngIf",i._hasOutline()),c(1),w("ngIf",i._hasIconPrefix),c(1),w("ngIf",i._hasTextPrefix),c(2),w("ngIf",!i._hasOutline()||i._forceDisplayInfixLabel()),c(2),w("ngIf",i._hasTextSuffix),c(1),w("ngIf",i._hasIconSuffix),c(1),w("ngIf",!i._hasOutline()),c(1),nn("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing),w("ngSwitch",i._getDisplayedMessages()),c(1),w("ngSwitchCase","error"),c(1),w("ngSwitchCase","hint"))},dependencies:[Ft,pd,nh,_y,uL,wI,CI,SI,kI],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[oG.transitionMessages]},changeDetection:0}),t})(),Ig=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,ia,U0,Wn]}),t})();const EI=tl({passive:!0});let cG=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return aa;const i=da(e),o=this._monitoredElements.get(i);if(o)return o.subject;const s=new J,a="cdk-text-field-autofilled",l=d=>{"cdk-text-field-autofill-start"!==d.animationName||i.classList.contains(a)?"cdk-text-field-autofill-end"===d.animationName&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!1}))):(i.classList.add(a),this._ngZone.run(()=>s.next({target:d.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,EI),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,EI)}}),s}stopMonitoring(e){const i=da(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(we(ui),we(ft))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})();const uG=new Re("MAT_INPUT_VALUE_ACCESSOR"),hG=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let fG=0;const pG=IL(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new J}});let br=(()=>{class t extends pG{get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Yt.required)??!1}set required(e){this._required=_n(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Z2().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=_n(e)}constructor(e,i,o,s,a,l,d,_,E,F){super(l,s,a,o),this._elementRef=e,this._platform=i,this._autofillMonitor=_,this._formField=F,this._uid="mat-input-"+fG++,this.focused=!1,this.stateChanges=new J,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(_e=>Z2().has(_e)),this._iOSKeyupListener=_e=>{const xe=_e.target;!xe.value&&0===xe.selectionStart&&0===xe.selectionEnd&&(xe.setSelectionRange(1,1),xe.setSelectionRange(0,0))};const G=this._elementRef.nativeElement,ie=G.nodeName.toLowerCase();this._inputValueAccessor=d||G,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&E.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ie,this._isTextarea="textarea"===ie,this._isInFormField=!!F,this._isNativeSelect&&(this.controlType=G.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){hG.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ui),N(Ys,10),N(Qh,8),N(ti,8),N(n1),N(uG,10),N(cG),N(ft),N(F1,8))},t.\u0275dir=Ze({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,i){1&e&&ve("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(ea("id",i.id)("disabled",i.disabled)("required",i.required),Jt("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),nn("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[un([{provide:A1,useExisting:t}]),nt,Gi]}),t})(),mG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Ig,Ig,dG,Wn]}),t})();const gG=["tooltip"],II=new Re("mat-tooltip-scroll-strategy"),vG={provide:II,deps:[io],useFactory:function bG(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},MG=new Re("mat-tooltip-default-options",{providedIn:"root",factory:function yG(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),PI="tooltip-panel",OI=tl({passive:!0});let DG=(()=>{class t{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=_n(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){this._disabled=_n(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=So(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=So(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,i,o,s,a,l,d,_,E,F,G,ie){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=d,this._focusMonitor=_,this._dir=F,this._defaultOptions=G,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new J,this._scrollStrategy=E,this._document=ie,G&&(this._showDelay=G.showDelay,this._hideDelay=G.hideDelay,G.position&&(this.position=G.position),G.positionAtOrigin&&(this.positionAtOrigin=G.positionAtOrigin),G.touchGestures&&(this.touchGestures=G.touchGestures)),F.change.pipe(Bn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Bn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,OI)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Td(this._tooltipComponent,this._viewContainerRef);const s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Bn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){const s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&s._origin instanceof vt)return this._overlayRef;this._detach()}const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&e||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Bn(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${PI}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Bn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Bn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Bn(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!Rs(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset({...o.main,...s.main}),this._addOffset({...o.fallback,...s.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Kn(1),Bn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:s}=e;let a;if(a="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===s?"above":"below",a!==this._currentPosition){const l=this._overlayRef;if(l){const d=`${this._cssClassPrefix}-${PI}-`;l.removePanelClass(d+this._currentPosition),l.addPanelClass(d+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{let i;this._setupPointerExitEventsIfNeeded(),void 0!==e.x&&void 0!==e.y&&(i=e),this.show(void 0,i)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{const i=e.targetTouches?.[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const o=i.relatedTarget;(!o||!this._overlayRef?.overlayElement.contains(o))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,OI)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){Ha()},t.\u0275dir=Ze({type:t,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),Mi=(()=>{class t extends DG{constructor(e,i,o,s,a,l,d,_,E,F,G,ie){super(e,i,o,s,a,l,d,_,E,F,G,ie),this._tooltipComponent=LG,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(e){const o=!this._dir||"ltr"==this._dir.value;return"top"===e.originY?e.offsetY=-8:"bottom"===e.originY?e.offsetY=8:"start"===e.originX?e.offsetX=o?-8:8:"end"===e.originX&&(e.offsetX=o?8:-8),e}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(vt),N(X2),N(or),N(ft),N(ui),N(bz),N(rl),N(II),N(Do,8),N(MG,8),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[nt]}),t})(),TG=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new J,this._animationsDisabled="NoopAnimations"===i}show(e){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(e?s:o),i.classList.add(e?o:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const a=getComputedStyle(i);("0s"===a.getPropertyValue("animation-duration")||"none"===a.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(N(pi),N(Vi,8))},t.\u0275dir=Ze({type:t}),t})(),LG=(()=>{class t extends TG{constructor(e,i,o){super(e,o),this._elementRef=i,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>24&&e.width>=200}}return t.\u0275fac=function(e){return new(e||t)(N(pi),N(vt),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&pt(gG,7),2&e){let o;it(o=rt())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ve("mouseleave",function(s){return i._handleMouseLeave(s)}),2&e&&Fl("zoom",i.isVisible()?1:null)},features:[nt],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(e,i){1&e&&(k(0,"div",0,1),ve("animationend",function(s){return i._handleAnimationEnd(s)}),k(2,"div",2),I(3),C()()),2&e&&(nn("mdc-tooltip--multiline",i._isMultiline),w("ngClass",i.tooltipClass),c(3),re(i.message))},dependencies:[Pn],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),t})(),EG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[vG],imports:[Q0,ia,Ed,Wn,Wn,Ih]}),t})();const IG=["button1"],PG=["button2"];function OG(t,n){1&t&&Ce(0,"mat-spinner",5),2&t&&w("diameter",z().loadingSize)}function AG(t,n){1&t&&(k(0,"mat-icon"),I(1,"error_outline"),C())}const FG=function(t){return{"for-dark-background":t}},RG=["*"];var qr=(()=>((qr=qr||{})[qr.Normal=0]="Normal",qr[qr.Error=1]="Error",qr[qr.Loading=2]="Loading",qr))();let Fi=(()=>{class t{constructor(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=20,this.action=new ht,this.state=qr.Normal,this.buttonStates=qr}ngOnDestroy(){this.action.complete()}click(){this.disabled||(this.reset(),this.action.emit())}reset(e=!0){this.state=qr.Normal,e&&(this.disabled=!1)}focus(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()}showEnabled(){this.disabled=!1}showDisabled(){this.disabled=!0}showLoading(e=!0){this.state=qr.Loading,e&&(this.disabled=!0)}showError(e=!0){this.state=qr.Error,e&&(this.disabled=!1)}get isLoading(){return this.state===qr.Loading}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-button"]],viewQuery:function(e,i){if(1&e&&(pt(IG,5),pt(PG,5)),2&e){let o;it(o=rt())&&(i.button1=o.first),it(o=rt())&&(i.button2=o.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:RG,decls:6,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[1,"d-flex"],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(e,i){1&e&&(Ir(),k(0,"button",0,1),ve("click",function(){return i.click()}),k(2,"div",2),V(3,OG,1,1,"mat-spinner",3),V(4,AG,2,0,"mat-icon",4),Tn(5),C()()),2&e&&(w("disabled",i.disabled)("color",i.color)("ngClass",He(5,FG,i.forDarkBackground)),c(3),w("ngIf",i.state===i.buttonStates.Loading),c(1),w("ngIf",i.state===i.buttonStates.Error))},dependencies:[Pn,Ft,$r,bn,nc],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:15px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t})();const NG=["button"],YG=["firstInput"],HG=function(t){return{"element-disabled":t}};function BG(t,n){if(1&t&&(k(0,"mat-form-field",12)(1,"div",5)(2,"label",6),I(3),R(4,"translate"),C(),Ce(5,"input",13),C(),k(6,"mat-error")(7,"span"),I(8),R(9,"translate"),C()()()),2&t){const e=z();w("ngClass",He(7,HG,e.working)),c(3),re(H(4,3,"settings.password.old-password")),c(5),re(H(9,5,"settings.password.errors.old-password-required"))}}const VG=function(t){return{"rounded-elevated-box":t}},AI=function(t,n){return{"white-form-field":t,"element-disabled":n}},jG=function(t,n){return{"mt-2 app-button":t,"float-right":n}};let FI=(()=>{class t{constructor(e,i,o,s){this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.workingState=new ht,this.forInitialConfig=!1}ngOnInit(){this.form=new WE({oldPassword:new Lg("",this.forInitialConfig?null:Yt.required),newPassword:new Lg("",Yt.compose([Yt.required,Yt.minLength(6),Yt.maxLength(64)])),newPasswordConfirmation:new Lg("",[Yt.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(()=>this.form.controls.newPasswordConfirmation.updateValueAndValidity())}ngAfterViewInit(){this.forInitialConfig&&setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()}get working(){return!!this.button&&this.button.isLoading}changePassword(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.workingState.next(!0),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(()=>{this.dialog.closeAll(),this.snackbarService.showDone("settings.password.initial-config.done"),this.workingState.next(!1)},e=>{this.button.showError(),e=Qt(e),this.snackbarService.showError(e,null,!0),this.workingState.next(!1)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(()=>{this.router.navigate(["nodes"]),this.snackbarService.showDone("settings.password.password-changed"),this.workingState.next(!1)},e=>{this.button.showError(),e=Qt(e),this.snackbarService.showError(e),this.workingState.next(!1)}))}validatePasswords(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(Gh),N(hn),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-password"]],viewQuery:function(e,i){if(1&e&&(pt(NG,5),pt(YG,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},inputs:{forInitialConfig:"forInitialConfig"},outputs:{workingState:"workingState"},decls:33,vars:40,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[1,"help-icon",3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",3,"ngClass",4,"ngIf"],[1,"field-container"],["for","remoteKey",1,"field-label"],["type","password","formControlName","newPassword","maxlength","64","matInput",""],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput",""],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field",3,"ngClass"],["type","password","formControlName","oldPassword","maxlength","64","matInput",""]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div")(3,"mat-icon",2),R(4,"translate"),I(5," help "),C()(),k(6,"form",3),V(7,BG,10,9,"mat-form-field",4),k(8,"mat-form-field",0)(9,"div",5)(10,"label",6),I(11),R(12,"translate"),C(),Ce(13,"input",7,8),C(),k(15,"mat-error")(16,"span"),I(17),R(18,"translate"),C()()(),k(19,"mat-form-field",0)(20,"div",5)(21,"label",6),I(22),R(23,"translate"),C(),Ce(24,"input",9),C(),k(25,"mat-error")(26,"span"),I(27),R(28,"translate"),C()()(),k(29,"app-button",10,11),ve("action",function(){return i.changePassword()}),I(31),R(32,"translate"),C()()()()),2&e&&(w("ngClass",He(29,VG,!i.forInitialConfig)),c(2),eo((i.forInitialConfig?"":"white-")+"form-help-icon-container"),c(1),w("inline",!0)("matTooltip",H(4,17,i.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),c(3),w("formGroup",i.form),c(1),w("ngIf",!i.forInitialConfig),c(1),w("ngClass",mn(31,AI,!i.forInitialConfig,i.working)),c(3),re(H(12,19,i.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),c(6),re(H(18,21,"settings.password.errors.new-password-error")),c(2),w("ngClass",mn(34,AI,!i.forInitialConfig,i.working)),c(3),re(H(23,23,i.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),c(5),re(H(28,25,"settings.password.errors.passwords-not-match")),c(2),w("ngClass",mn(37,jG,!i.forInitialConfig,i.forInitialConfig))("disabled",!i.form.valid)("forDarkBackground",!i.forInitialConfig),c(2),ce(" ",H(32,27,i.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},dependencies:[Pn,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,bn,Mi,Fi,yt],styles:[".help-icon[_ngcontent-%COMP%]{display:inline}mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),t})();function zG(t,n){1&t&&(k(0,"button",5)(1,"mat-icon"),I(2,"close"),C()())}function UG(t,n){1&t&&Jo(0)}const RI=function(t){return{"content-margin":t}};function WG(t,n){if(1&t&&(k(0,"mat-dialog-content",6),V(1,UG,1,0,"ng-container",7),C()),2&t){const e=z(),i=ci(8);w("ngClass",He(2,RI,e.includeVerticalMargins)),c(1),w("ngTemplateOutlet",i)}}function $G(t,n){1&t&&Jo(0)}function GG(t,n){if(1&t&&(k(0,"div",6),V(1,$G,1,0,"ng-container",7),C()),2&t){const e=z(),i=ci(8);w("ngClass",He(2,RI,e.includeVerticalMargins)),c(1),w("ngTemplateOutlet",i)}}function qG(t,n){1&t&&Tn(0)}const KG=["*"];let Zn=(()=>{class t{set dialog(e){e.disableClose=!0,this.dialogInternal=e}constructor(e){this.matDialog=e,this.includeScrollableArea=!0,this.includeVerticalMargins=!0}onKeyUp(){this.closePopup()}closePopup(){this.disableDismiss||this.matDialog.openDialogs[this.matDialog.openDialogs.length-1].id===this.dialogInternal.id&&this.dialogInternal.close()}}return t.\u0275fac=function(e){return new(e||t)(N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-dialog"]],hostBindings:function(e,i){1&e&&ve("keyup.esc",function(){return i.onKeyUp()},0,zb)},inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins",dialog:"dialog"},ngContentSelectors:KG,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(e,i){1&e&&(Ir(),k(0,"div",0)(1,"span"),I(2),C(),V(3,zG,3,0,"button",1),C(),Ce(4,"div",2),V(5,WG,2,4,"mat-dialog-content",3),V(6,GG,2,4,"div",3),V(7,qG,1,0,"ng-template",null,4,Es)),2&e&&(c(2),re(i.headline),c(1),w("ngIf",!i.disableDismiss),c(2),w("ngIf",i.includeScrollableArea),c(1),w("ngIf",!i.includeScrollableArea))},dependencies:[Pn,Ft,pd,xU,kU,lg,ol,bn],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-mdc-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;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:700;display:flex;align-items:center}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex-grow:1}@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-mdc-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px;padding:0}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:#215f9e33;margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t})(),ZG=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.smallModalWidth,e.open(t,i)}constructor(e){this.dialogRef=e,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-initial-setup"]],decls:3,vars:6,consts:[[3,"headline","dialog","disableDismiss"],[3,"forInitialConfig","workingState"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"app-password",1),ve("workingState",function(s){return i.disableDismiss=s}),C()()),2&e&&(w("headline",H(1,4,"settings.password.initial-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("forInitialConfig",!0))},dependencies:[FI,Zn,yt]}),t})();var R1=Y(9774),Pg=Y.n(R1);class N1{}class XG{}var ro=(()=>((ro=ro||{}).Connecting="connecting",ro.Unhealthy="unhealthy",ro.Healthy="healthy",ro))(),oo=(()=>((oo=oo||{}).UseCustomSettings="updaterUseCustomSettings",oo.Channel="updaterChannel",oo.Version="updaterVersion",oo.ArchiveURL="updaterArchiveURL",oo.ChecksumsURL="updaterChecksumsURL",oo))();let ma=(()=>{class t{constructor(e,i){this.apiService=e,this.storageService=i}getNodes(){let e=[];return this.apiService.get("visors-summary").pipe(ke(i=>{i&&i.forEach(d=>{const _=new N1;_.online=d.online,_.localPk=d.overview.local_pk,_.version=d.overview.build_info.version,_.autoconnectTransports=d.public_autoconnect,_.buildTag=d.build_tag?d.build_tag:"",_.rewardsAddress=d.reward_address,_.ip=d.overview&&d.overview.local_ip&&d.overview.local_ip.trim()?d.overview.local_ip:null;const E=this.storageService.getLabelInfo(_.localPk);if(_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),!_.online)return _.dmsgServerPk="",_.roundTripPing="",void e.push(_);_.health={servicesHealth:d.health.services_health},_.dmsgServerPk=d.dmsg_stats.server_public_key,_.roundTripPing=this.nsToMs(d.dmsg_stats.round_trip),_.isHypervisor=d.is_hypervisor,e.push(_)});const o=new Map,s=[],a=[];e.forEach(d=>{o.set(d.localPk,d),d.online&&(s.push(d.localPk),a.push(d.ip))}),this.storageService.includeVisibleLocalNodes(s,a);const l=[];return this.storageService.getSavedLocalNodes().forEach(d=>{if(!o.has(d.publicKey)&&!d.hidden){const _=new N1;_.localPk=d.publicKey;const E=this.storageService.getLabelInfo(d.publicKey);_.label=E&&E.label?E.label:this.storageService.getDefaultLabel(_),_.online=!1,_.dmsgServerPk="",_.roundTripPing="",l.push(_)}o.has(d.publicKey)&&!o.get(d.publicKey).online&&d.hidden&&o.delete(d.publicKey)}),e=[],o.forEach(d=>e.push(d)),e=e.concat(l),e}))}nsToMs(e){let i=new(Pg())(e).dividedBy(1e6);return i=i.isLessThan(10)?i.decimalPlaces(2):i.decimalPlaces(0),i.toString(10)}getNode(e){return this.apiService.get(`visors/${e}/summary`).pipe(ke(i=>{const o=new N1;o.localPk=i.overview.local_pk,o.version=i.overview.build_info.version,o.secondsOnline=Math.floor(Number.parseFloat(i.uptime)),o.minHops=i.min_hops,o.buildTag=i.build_tag,o.skybianBuildVersion=i.skybian_build_version,o.isSymmeticNat=i.overview.is_symmetic_nat,o.publicIp=i.overview.public_ip,o.autoconnectTransports=i.public_autoconnect,o.rewardsAddress=i.reward_address,o.ip=i.overview.local_ip&&i.overview.local_ip.trim()?i.overview.local_ip:null;const s=this.storageService.getLabelInfo(o.localPk);o.label=s&&s.label?s.label:this.storageService.getDefaultLabel(o),o.health={servicesHealth:i.health.services_health},o.transports=[],i.overview.transports&&i.overview.transports.forEach(l=>{o.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),o.persistentTransports=[],i.persistent_transports&&i.persistent_transports.forEach(l=>{o.persistentTransports.push({pk:l.pk,type:l.type})}),o.routes=[],i.routes&&i.routes.forEach(l=>{o.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.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&&(o.routes[o.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),o.apps=[],i.overview.apps&&i.overview.apps.forEach(l=>{o.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,detailedStatus:l.detailed_status,args:l.args})});let a=!1;return i.dmsg_stats&&(o.dmsgServerPk=i.dmsg_stats.server_public_key,o.roundTripPing=this.nsToMs(i.dmsg_stats.round_trip),a=!0),a||(o.dmsgServerPk="-",o.roundTripPing="-1"),o}))}setRewardsAddress(e,i){return this.apiService.put(`visors/${e}/reward`,{reward_address:i})}getRewardsAddress(e){return this.apiService.get(`visors/${e}/reward`)}getRuntimeLogs(e){return this.apiService.get(`visors/${e}/runtime-logs`)}deleteRewardsAddress(e){return this.apiService.delete(`visors/${e}/reward`)}shutdown(e){return this.apiService.post(`visors/${e}/shutdown`)}checkIfUpdating(e){return this.apiService.get(`visors/${e}/update/ws/running`)}checkUpdate(e){let i="stable";return i=localStorage.getItem(oo.Channel)||i,this.apiService.get(`visors/${e}/update/available/${i}`)}update(e){const i={channel:"stable"};if(localStorage.getItem(oo.UseCustomSettings)){const s=localStorage.getItem(oo.Channel);s&&(i.channel=s);const a=localStorage.getItem(oo.Version);a&&(i.version=a);const l=localStorage.getItem(oo.ArchiveURL);l&&(i.archive_url=l);const d=localStorage.getItem(oo.ChecksumsURL);d&&(i.checksums_url=d)}return this.apiService.ws(`visors/${e}/update/ws`,i)}}return t.\u0275fac=function(e){return new(e||t)(we(ll),we(Ji))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class JG{}let NI=(()=>{class t{constructor(e,i){this.storageService=e,this.nodeService=i,this.dataSubject=new Or(null),this.lastEmitedData=new JG,this.firstCallToGetDataMade=!1,this.storageService.getRefreshTimeObservable().subscribe(o=>{this.dataRefreshDelay=1e3*o,this.forceRefresh()})}startRequestingData(){return this.firstCallToGetDataMade||this.getData(0),this.dataSubject.asObservable()}stopRequestingData(){this.updateSubscription&&(this.updateSubscription.unsubscribe(),this.firstCallToGetDataMade=!1)}getData(e){this.firstCallToGetDataMade=!0,this.updateSubscription&&this.updateSubscription.unsubscribe(),this.updateSubscription=$e(1).pipe(Ei(e),bi(()=>{this.lastEmitedData.updating=!0,this.dataSubject.next(this.lastEmitedData)}),Ei(120),Ne(()=>this.nodeService.getNodes())).subscribe(i=>{this.lastEmitedData={data:i,error:null,momentOfLastCorrectUpdate:Date.now(),updating:!1},this.dataSubject.next(this.lastEmitedData),this.getData(this.dataRefreshDelay)},i=>{i=Qt(i),this.lastEmitedData={data:this.lastEmitedData.data,error:i,momentOfLastCorrectUpdate:this.lastEmitedData.momentOfLastCorrectUpdate,updating:!1},this.dataSubject.next(this.lastEmitedData),this.getData(Bt.connectionRetryDelay)})}forceRefresh(){this.getData(0)}}return t.\u0275fac=function(e){return new(e||t)(we(Ji),we(ma))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function QG(t,n){if(1&t){const e=et();k(0,"button",3),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().closePopup(s))}),Ce(1,"img",4),k(2,"div",5),I(3),C()()}if(2&t){const e=n.$implicit;c(1),w("src","assets/img/lang/"+e.iconName,Vo),c(2),re(e.name)}}let YI=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.mediumModalWidth,e.open(t,i)}constructor(e,i){this.dialogRef=e,this.languageService=i,this.languages=[]}ngOnInit(){this.subscription=this.languageService.languages.subscribe(e=>{this.languages=e})}ngOnDestroy(){this.subscription.unsubscribe()}closePopup(e=null){e&&this.languageService.changeLanguage(e.code),this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(bg))},t.\u0275cmp=Ke({type:t,selectors:[["app-select-language"]],decls:4,vars:5,consts:[[3,"headline","dialog"],[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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),V(3,QG,4,2,"button",2),C()()),2&e&&(w("headline",H(1,3,"language.title"))("dialog",i.dialogRef),c(3),w("ngForOf",i.languages))},dependencies:[gi,$r,Zn,yt],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;height:auto!important;margin:20px;font-size:.7rem;line-height:unset;padding:0!important;color:unset}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .mdc-button__label{width:100%}@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%]{color:#202226!important;background-color:#ffffff40;padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t})();function eq(t,n){1&t&&Ce(0,"img",2),2&t&&w("src","assets/img/lang/"+z().language.iconName,Vo)}let tq=(()=>{class t{constructor(e,i){this.languageService=e,this.dialog=i}ngOnInit(){this.subscription=this.languageService.currentLanguage.subscribe(e=>{this.language=e})}ngOnDestroy(){this.subscription.unsubscribe()}openLanguageWindow(){YI.openDialog(this.dialog)}}return t.\u0275fac=function(e){return new(e||t)(N(bg),N(xn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"button",0),ve("click",function(){return i.openLanguageWindow()}),R(1,"translate"),V(2,eq,1,1,"img",1),C()),2&e&&(w("matTooltip",H(1,2,"language.title")),c(2),w("ngIf",i.language))},dependencies:[Ft,$r,Mi,yt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:1;padding:0!important}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t})();const nq=function(t){return{"element-disabled":t}};let HI=(()=>{class t extends er{constructor(e,i,o,s,a,l){super(),this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.route=a,this.multipleNodeDataService=l,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}ngOnInit(){return this.multipleNodeDataService.stopRequestingData(),this.routeSubscription=this.route.paramMap.subscribe(e=>{this.vpnKey=e.get("key"),this.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),this.verificationSubscription=this.authService.checkLogin().subscribe(i=>{i!==Fr.NotLogged&&(fa.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})},5))})}),this.form=new WE({password:new Lg("",Yt.required)}),super.ngOnInit()}ngOnDestroy(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()}login(){!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(()=>this.onLoginSuccess(),e=>this.onLoginError(e)))}configure(){ZG.openDialog(this.dialog)}onLoginSuccess(){fa.currentInstance.processLoginDone(),setTimeout(()=>{this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}onLoginError(e){e=Qt(e),this.loading=!1,this.snackbarService.showError(e.originalError&&401===e.originalError.status?"login.incorrect-password":e.translatableErrorMsg)}}return t.\u0275fac=function(e){return new(e||t)(N(Gh),N(hn),N(kn),N(xn),N(Cr),N(NI))},t.\u0275cmp=Ke({type:t,selectors:[["app-login"]],features:[nt],decls:14,vars:11,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",3,"ngClass"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"app-lang-button"),k(2,"div",1),Ce(3,"img",2),k(4,"form",3)(5,"div",4)(6,"input",5),ve("keydown.enter",function(){return i.login()}),R(7,"translate"),C(),k(8,"button",6),ve("click",function(){return i.login()}),k(9,"mat-icon"),I(10,"chevron_right"),C()()()(),k(11,"div",7),ve("click",function(){return i.configure()}),I(12),R(13,"translate"),C()()()),2&e&&(c(4),w("formGroup",i.form),c(1),w("ngClass",He(9,nq,i.loading)),c(1),w("placeholder",H(7,5,"login.password")),c(2),w("disabled",!i.form.valid||i.loading),c(4),re(H(13,7,"login.initial-config")))},dependencies:[Pn,Ai,Ii,Pi,Oi,ti,yi,bn,tq,yt],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;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;z-index:10}.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 #0000001a,0 6px 20px #0000001a;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})();const iq=["firstInput"];let Y1=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.storageService=s,this.snackbarService=a}ngOnInit(){this.form=this.formBuilder.group({label:[this.data.label]})}ngAfterViewInit(){setTimeout(()=>this.firstInput.nativeElement.focus())}save(){const e=this.form.get("label").value.trim();e!==this.data.label?(this.storageService.saveLabel(this.data.id,e,this.data.identifiedElementType),e?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(Ji),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-label"]],viewQuery:function(e,i){if(1&e&&pt(iq,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","label","maxlength","66","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.save()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"labeled-element.edit-label"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"edit-label.label")),c(5),re(H(12,9,"common.save")))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const rq=["cancelButton"],oq=["confirmButton"];function sq(t,n){if(1&t&&(k(0,"div"),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;c(1),ce(" - ",H(2,1,e)," ")}}function aq(t,n){if(1&t&&(k(0,"div",8),V(1,sq,3,3,"div",9),C()),2&t){const e=z();c(1),w("ngForOf",e.state!==e.confirmationStates.Done?e.data.list:e.doneList)}}function lq(t,n){if(1&t&&(k(0,"div",1),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.data.lowerText)," ")}}function cq(t,n){if(1&t){const e=et();k(0,"app-button",10,11),ve("action",function(){return Pe(e),Oe(z().closeModal())}),I(2),R(3,"translate"),C()}if(2&t){const e=z();c(2),ce(" ",H(3,1,e.data.cancelButtonText)," ")}}var cs=(()=>((cs=cs||{}).Asking="Asking",cs.Processing="Processing",cs.Done="Done",cs))();let dq=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.disableDismiss=!1,this.state=cs.Asking,this.confirmationStates=cs,this.operationAccepted=new ht,this.disableDismiss=!!i.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}ngAfterViewInit(){this.data.cancelButtonText?setTimeout(()=>this.cancelButton.focus()):setTimeout(()=>this.confirmButton.focus())}ngOnDestroy(){this.operationAccepted.complete()}closeModal(){this.dialogRef.close()}sendOperationAcceptedEvent(){this.operationAccepted.emit()}showAsking(e){e&&(this.data=e),this.state=cs.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()}showProcessing(){this.state=cs.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()}showDone(e,i,o=null){this.doneTitle=e||this.data.headerText,this.doneText=i,this.doneList=o,this.confirmButton.reset(),setTimeout(()=>this.confirmButton.focus()),this.state=cs.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi))},t.\u0275cmp=Ke({type:t,selectors:[["app-confirmation"]],viewQuery:function(e,i){if(1&e&&(pt(rq,5),pt(oq,5)),2&e){let o;it(o=rt())&&(i.cancelButton=o.first),it(o=rt())&&(i.confirmButton=o.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:14,consts:[[3,"headline","dialog","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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),V(5,aq,2,1,"div",2),V(6,lq,3,3,"div",3),k(7,"div",4),V(8,cq,4,3,"app-button",5),k(9,"app-button",6,7),ve("action",function(){return i.state===i.confirmationStates.Asking?i.sendOperationAcceptedEvent():i.closeModal()}),I(11),R(12,"translate"),C()()()),2&e&&(w("headline",H(1,8,i.state!==i.confirmationStates.Done?i.data.headerText:i.doneTitle))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),ce(" ",H(4,10,i.state!==i.confirmationStates.Done?i.data.text:i.doneText)," "),c(2),w("ngIf",i.data.list&&i.state!==i.confirmationStates.Done||i.doneList&&i.state===i.confirmationStates.Done),c(1),w("ngIf",i.data.lowerText&&i.state!==i.confirmationStates.Done),c(2),w("ngIf",i.data.cancelButtonText&&i.state!==i.confirmationStates.Done),c(3),ce(" ",H(12,12,i.state!==i.confirmationStates.Done?i.data.confirmButtonText:"confirmation.close")," "))},dependencies:[gi,Ft,Fi,Zn,yt],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}"]}),t})();class Zt{static createConfirmationDialog(n,e){const i={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!1},o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,n.open(dq,o)}static checkIfTagIsUpdatable(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase()||n.toUpperCase()==="Mac".toUpperCase()||n.toUpperCase()==="Macos".toUpperCase()||n.toUpperCase()==="Mac OS".toUpperCase()||n.toUpperCase()==="Darwin".toUpperCase())}static checkIfTagCanOpenterminal(n){return!(null==n||n.toUpperCase()==="Windows".toUpperCase()||n.toUpperCase()==="Win".toUpperCase())}static checkIfIpValidOrEmpty(n){if(!n)return!0;const e=n.split(".");if(4!==e.length)return!1;for(const i of e){const o=Number.parseInt(i,10);if(isNaN(o)||o+""!==i||o<0||o>255)return!1}return!0}}function uq(t,n){if(1&t&&(k(0,"mat-icon",6),I(1),C()),2&t){const e=z().$implicit;w("inline",!0),c(1),re(e.icon)}}function hq(t,n){if(1&t){const e=et();k(0,"div",2)(1,"button",3),ve("click",function(){const s=Pe(e).index;return Oe(z().closePopup(s+1))}),k(2,"div",4),V(3,uq,2,2,"mat-icon",5),k(4,"span"),I(5),R(6,"translate"),C()()()()}if(2&t){const e=n.$implicit;c(3),w("ngIf",e.icon),c(2),re(H(6,2,e.label))}}let Rr=(()=>{class t{static openDialog(e,i,o){const s=new Ln;return s.data={options:i,title:o},s.autoFocus=!1,s.width=Bt.smallModalWidth,e.open(t,s)}constructor(e,i){this.data=e,this.dialogRef=i}closePopup(e){this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-select-option"]],decls:3,vars:6,consts:[[3,"headline","dialog","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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,hq,7,4,"div",1),C()),2&e&&(w("headline",H(1,4,i.data.title))("dialog",i.dialogRef)("includeVerticalMargins",!1),c(2),w("ngForOf",i.data.options))},dependencies:[gi,Ft,$r,bn,Zn,yt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px;line-height:1}.grey-button-background[_ngcontent-%COMP%]{justify-content:left!important;min-height:45px}"]}),t})();var $n=(()=>(($n=$n||{}).TextInput="TextInput",$n.Select="Select",$n))();let nf=(()=>{class t{constructor(e){this.dom=e}copy(e){let i=null,o=!1;try{i=this.dom.createElement("textarea"),i.style.height="0px",i.style.left="-100px",i.style.opacity="0",i.style.position="fixed",i.style.top="-100px",i.style.width="0px",this.dom.body.appendChild(i),i.value=e,i.select(),this.dom.execCommand("copy"),o=!0}finally{i&&i.parentNode&&i.parentNode.removeChild(i)}return o}}return t.\u0275fac=function(e){return new(e||t)(we(It))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();function mq(t,n){if(1&t&&(Ue(0),k(1,"span",2),I(2),C(),We()),2&t){const e=z();c(2),re(e.shortText)}}function gq(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z();c(2),re(e.text)}}const _q=function(){return{"tooltip-word-break":!0}};let BI=(()=>{class t{constructor(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}get shortText(){if(this.text.length>2*this.shortTextLength){const e=this.text.length;return`${this.text.slice(0,this.shortTextLength)}...${this.text.slice(e-this.shortTextLength,e)}`}return this.text}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0),V(1,mq,3,1,"ng-container",1),V(2,gq,3,1,"ng-container",1),C()),2&e&&(w("matTooltip",i.short&&i.showTooltip?i.text:"")("matTooltipClass",qn(4,_q)),c(1),w("ngIf",i.short),c(1),w("ngIf",!i.short))},dependencies:[Ft,Mi],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;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 bq(t,n){if(1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.labelComponents.prefix)," ")}}function vq(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z();c(1),ce(" ",e.labelComponents.prefixSeparator," ")}}function yq(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z();c(1),ce(" ",e.labelComponents.label," ")}}function Mq(t,n){if(1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.labelComponents.translatableLabel)," ")}}const wq=function(t){return{text:t}},Cq=function(){return{"tooltip-word-break":!0}};class xq{constructor(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}let ga=(()=>{class t{set id(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)}get id(){return this.idInternal?this.idInternal:""}static getLabelComponents(e,i){let o;o=!!e.getSavedVisibleLocalNodes().has(i);const s=new xq;return s.labelInfo=e.getLabelInfo(i),s.labelInfo&&s.labelInfo.label?(o&&(s.prefix="labeled-element.local-element",s.prefixSeparator=" - "),s.label=s.labelInfo.label):e.getSavedVisibleLocalNodes().has(i)?s.prefix="labeled-element.unnamed-local-visor":s.translatableLabel="labeled-element.unnamed-element",s}static getCompleteLabel(e,i,o){const s=t.getLabelComponents(e,o);return(s.prefix?i.instant(s.prefix):"")+s.prefixSeparator+s.label+(s.translatableLabel?i.instant(s.translatableLabel):"")}constructor(e,i,o,s,a){this.dialog=e,this.storageService=i,this.clipboardService=o,this.snackbarService=s,this.router=a,this.short=!1,this.shortTextLength=5,this.elementType=Xi.Node,this.labelEdited=new ht}ngOnDestroy(){this.labelEdited.complete()}processClick(){const 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"}),e.push({icon:"settings",label:"labeled-element.go-to-settings"}),Rr.openDialog(this.dialog,e,"common.options").afterClosed().subscribe(i=>{if(1===i)this.clipboardService.copy(this.id)&&this.snackbarService.showDone("copy.copied");else if(i>2)if(3===i&&this.labelComponents.labelInfo){const o=Zt.createConfirmationDialog(this.dialog,"labeled-element.remove-label-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.closeModal(),this.storageService.saveLabel(this.id,null,this.elementType),this.snackbarService.showDone("edit-label.label-removed-warning"),this.labelEdited.emit()})}else this.router.navigate(["/settings"]);else if(2===i){let o=this.labelComponents.labelInfo;o||(o={id:this.id,label:"",identifiedElementType:this.elementType}),Y1.openDialog(this.dialog,o).afterClosed().subscribe(s=>{s&&this.labelEdited.emit()})}})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Ji),N(nf),N(kn),N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0),ve("click",function(s){return s.stopPropagation(),s.preventDefault(),i.processClick()}),R(1,"translate"),k(2,"span",1),V(3,bq,3,3,"span",2),V(4,vq,2,1,"span",2),V(5,yq,2,1,"span",2),V(6,Mq,3,3,"span",2),C(),Ce(7,"br")(8,"app-truncated-text",3),I(9," \xa0"),k(10,"mat-icon",4),I(11,"settings"),C()()),2&e&&(w("matTooltip",kt(1,11,i.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",He(14,wq,i.id)))("matTooltipClass",qn(16,Cq)),c(3),w("ngIf",i.labelComponents&&i.labelComponents.prefix),c(1),w("ngIf",i.labelComponents&&i.labelComponents.prefixSeparator),c(1),w("ngIf",i.labelComponents&&i.labelComponents.label),c(1),w("ngIf",i.labelComponents&&i.labelComponents.translatableLabel),c(2),w("short",i.short)("showTooltip",!1)("shortTextLength",i.shortTextLength)("text",i.id),c(2),w("inline",!0))},dependencies:[Ft,bn,Mi,BI,yt],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;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;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t})();class Vn{constructor(n,e,i,o){this.properties=n,this.label=e,this.sortingMode=i,this.labelProperties=o}get id(){return this.properties.join("")}}var Xt=(()=>((Xt=Xt||{}).Text="Text",Xt.Number="Number",Xt.NumberReversed="NumberReversed",Xt.Boolean="Boolean",Xt))();class Nd{get sortingArrow(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"}get currentSortingColumn(){return this.sortBy}get sortingInReverseOrder(){return this.sortReverse}get dataSorted(){return this.dataUpdatedSubject.asObservable()}get currentlySortingByLabel(){return this.sortByLabel}constructor(n,e,i,o,s,a){this.dialog=n,this.translateService=e,this.storageService=i,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new J,this.sortableColumns=o,this.id=a,this.defaultColumnIndex=s,this.sortBy=o[s];const l=this.storageService.getDataForHv(this.columnStorageKeyPrefix+a);if(l){const d=o.find(_=>_.id===l);d&&(this.sortBy=d)}this.sortReverse="true"===this.storageService.getDataForHv(this.orderStorageKeyPrefix+a),this.sortByLabel="true"===this.storageService.getDataForHv(this.labelStorageKeyPrefix+a)}dispose(){this.dataUpdatedSubject.complete()}setTieBreakerColumnIndex(n){this.tieBreakerColumnIndex=n}setData(n){this.data=n,this.sortData()}changeSortingOrder(n){if(this.sortBy===n||n.labelProperties)if(n.labelProperties){const e=[{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")}];Rr.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(n,i>2,i%2==0)})}else this.sortReverse=!this.sortReverse,this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(n,!1,!1)}changeSortingParams(n,e,i){this.sortBy=n,this.sortByLabel=e,this.sortReverse=i,this.storageService.setDataForHv(this.columnStorageKeyPrefix+this.id,n.id),this.storageService.setDataForHv(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.storageService.setDataForHv(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()}openSortingOrderModal(){const n=[],e=[];this.sortableColumns.forEach(i=>{const o=this.translateService.instant(i.label);n.push({label:o}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),n.push({label:o+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(n.push({label:o+" "+this.translateService.instant("tables.label")}),e.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),n.push({label:o+" "+this.translateService.instant("tables.label")+" "+this.translateService.instant("tables.inverted-order")}),e.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))}),Rr.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(i=>{i&&this.changeSortingParams(e[i-1].sortBy,e[i-1].sortByLabel,e[i-1].sortReverse)})}sortData(){this.data&&(this.data.sort((n,e)=>{let i=this.getSortResponse(this.sortBy,n,e,!0);return 0===i&&null!==this.tieBreakerColumnIndex&&this.sortableColumns[this.tieBreakerColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.tieBreakerColumnIndex],n,e,!1)),0===i&&this.sortableColumns[this.defaultColumnIndex]!==this.sortBy&&(i=this.getSortResponse(this.sortableColumns[this.defaultColumnIndex],n,e,!1)),i}),this.dataUpdatedSubject.next())}getSortResponse(n,e,i,o){let a=e,l=i;(this.sortByLabel&&o&&n.labelProperties?n.labelProperties:n.properties).forEach(E=>{a=a[E],l=l[E]});const d=this.sortByLabel&&o?Xt.Text:n.sortingMode;let _=0;return d===Xt.Text?_=this.sortReverse?l.localeCompare(a):a.localeCompare(l):d===Xt.NumberReversed?_=this.sortReverse?a-l:l-a:d===Xt.Number?_=this.sortReverse?l-a:a-l:d===Xt.Boolean&&(a&&!l?_=-1:!a&&l&&(_=1),_*=this.sortReverse?-1:1),_}}class kq{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,i=!0,o){this._multiple=n,this._emitChanges=i,this.compareWith=o,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,e&&e.length&&(n?e.forEach(s=>this._markSelected(s)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(s=>this._markSelected(s)),e.filter(s=>!i.has(s)).forEach(s=>this._unmarkSelected(s));const o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n){if(this.compareWith){for(let e of this._selection)if(this.compareWith(n,e))return e;return n}return n}}const Sq=["trigger"],Dq=["panel"];function Tq(t,n){if(1&t&&(k(0,"span",10),I(1),C()),2&t){const e=z();c(1),re(e.placeholder)}}function Lq(t,n){if(1&t&&(k(0,"span",14),I(1),C()),2&t){const e=z(2);c(1),re(e.triggerValue)}}function Eq(t,n){1&t&&Tn(0,0,["*ngSwitchCase","true"])}function Iq(t,n){1&t&&(k(0,"span",11),V(1,Lq,2,1,"span",12),V(2,Eq,1,0,"ng-content",13),C()),2&t&&(w("ngSwitch",!!z().customTrigger),c(2),w("ngSwitchCase",!0))}function Pq(t,n){if(1&t){const e=et();kl(),Uf(),k(0,"div",15,16),ve("@transformPanel.done",function(o){return Pe(e),Oe(z()._panelDoneAnimatingStream.next(o.toState))})("keydown",function(o){return Pe(e),Oe(z()._handleKeydown(o))}),Tn(2,1),C()}if(2&t){const e=z();(function Px(t,n,e){es(go,Ls,Qc(Ve(),t,n,e),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),w("ngClass",e.panelClass)("@transformPanel","showing"),Jt("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Oq=[[["mat-select-trigger"]],"*"],Aq=["mat-select-trigger","*"],Fq={transformPanelWrap:oa("transformPanelWrap",[Pr("* => void",Oy("@transformPanel",[Py()],{optional:!0}))]),transformPanel:oa("transformPanel",[yo("void",ei({opacity:0,transform:"scale(1, 0.8)"})),Pr("void => showing",Wr("120ms cubic-bezier(0, 0, 0.2, 1)",ei({opacity:1,transform:"scale(1, 1)"}))),Pr("* => void",Wr("100ms linear",ei({opacity:0})))])};let VI=0;const jI=new Re("mat-select-scroll-strategy"),Nq=new Re("MAT_SELECT_CONFIG"),Yq={provide:jI,deps:[io],useFactory:function Rq(t){return()=>t.scrollStrategies.reposition()}},zI=new Re("MatSelectTrigger");class Hq{constructor(n,e){this.source=n,this.value=e}}const Bq=Yh(EL(Pd(IL(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o,this.stateChanges=new J}}))));let Vq=(()=>{class t extends Bq{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Yt.required)??!1}set required(e){this._required=_n(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=_n(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=_n(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=So(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,i,o,s,a,l,d,_,E,F,G,ie,_e,xe){super(a,s,d,_,F),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=l,this._parentFormField=E,this._liveAnnouncer=_e,this._defaultOptions=xe,this._panelOpen=!1,this._compareWith=(Ae,ze)=>Ae===ze,this._uid="mat-select-"+VI++,this._triggerAriaLabelledBy=null,this._destroy=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+VI++,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Wl(()=>{const Ae=this.options;return Ae?Ae.changes.pipe(Go(Ae),gr(()=>bt(...Ae.map(ze=>ze.onSelectionChange)))):this._ngZone.onStable.pipe(Kn(1),gr(()=>this.optionSelectionChanges))}),this.openedChange=new ht,this._openedStream=this.openedChange.pipe(_i(Ae=>Ae),ke(()=>{})),this._closedStream=this.openedChange.pipe(_i(Ae=>!Ae),ke(()=>{})),this.selectionChange=new ht,this.valueChange=new ht,this.ngControl&&(this.ngControl.valueAccessor=this),null!=xe?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=xe.typeaheadDebounceInterval),this._scrollStrategyFactory=ie,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(G)||0,this.id=this.id}ngOnInit(){this._selectionModel=new kq(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(z0(),Bn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Bn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Go(null),Bn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,s=13===i||32===i,a=this._keyManager;if(!a.isTyping()&&s&&!Rs(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const l=this.selected;a.onKeydown(e);const d=this.selected;d&&l!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,s=40===o||38===o,a=i.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(a||13!==o&&32!==o||!i.activeItem||Rs(e))if(!a&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const l=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(l?d.select():d.deselect())})}else{const l=i.activeItemIndex;i.onKeydown(e),this._multiple&&s&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Kn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new vz(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=bt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Bn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),bt(...this.options.map(i=>i._stateChanges)).pipe(Bn(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let i=0;i0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(N(Dd),N(pi),N(ft),N(n1),N(vt),N(Do,8),N(Qh,8),N(ti,8),N(F1,8),N(Ys,10),Na("tabindex"),N(jI),N(X0),N(Nq,8))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&(pt(Sq,5),pt(Dq,5),pt(cL,5)),2&e){let o;it(o=rt())&&(i.trigger=o.first),it(o=rt())&&(i.panel=o.first),it(o=rt())&&(i._overlayDir=o.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[nt,Gi]}),t})(),jq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=Ze({type:t,selectors:[["mat-select-trigger"]],features:[un([{provide:zI,useExisting:t}])]}),t})(),Yd=(()=>{class t extends Vq{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._skipPredicate=e=>!this.panelOpen&&e.disabled}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Bn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(e){const i=this.options.toArray()[e];if(i){const o=this.panel.nativeElement,s=function hU(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),s=0;for(let a=0;ae+i?Math.max(0,t-i+n):e}(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Hq(this,e)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof B0?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=_n(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,zI,5),sr(o,Ql,5),sr(o,YL,5)),2&e){let s;it(s=rt())&&(i.customTrigger=s.first),it(s=rt())&&(i.options=s),it(s=rt())&&(i.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox","ngSkipHydration","true",1,"mat-mdc-select"],hostVars:19,hostBindings:function(e,i){1&e&&ve("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Jt("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),nn("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[un([{provide:A1,useExisting:t},{provide:NL,useExisting:t}]),nt],ngContentSelectors:Aq,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Ir(Oq),k(0,"div",0,1),ve("click",function(){return i.toggle()}),k(3,"div",2),V(4,Tq,2,1,"span",3),V(5,Iq,3,2,"span",4),C(),k(6,"div",5)(7,"div",6),kl(),k(8,"svg",7),Ce(9,"path",8),C()()()(),V(10,Pq,3,9,"ng-template",9),ve("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const o=ci(1);Jt("aria-owns",i.panelOpen?i.id+"-panel":null),c(3),w("ngSwitch",i.empty),Jt("id",i._valueId),c(1),w("ngSwitchCase",!0),c(1),w("ngSwitchCase",!1),c(5),w("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Pn,nh,_y,lD,cL,B0],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mat-mdc-select{display:inline-block;width:100%;outline:none}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[Fq.transformPanel]},changeDetection:0}),t})(),zq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[Yq],imports:[ia,Ed,HL,Wn,Ih,Ig,HL,Wn]}),t})();function Uq(t,n){if(1&t&&Ce(0,"input",9),2&t){const e=z().$implicit;w("formControlName",e.keyNameInFiltersObject)("maxlength",e.maxlength)}}function Wq(t,n){if(1&t&&(k(0,"div",14),Ce(1,"div",15),C()),2&t){const e=z().$implicit,i=z(2).$implicit;di("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),c(1),di("background-image: url('"+e.image+"');")}}function $q(t,n){if(1&t&&(k(0,"mat-option",12),V(1,Wq,2,4,"div",13),I(2),R(3,"translate"),C()),2&t){const e=n.$implicit,i=z(2).$implicit;w("value",e.value),c(1),w("ngIf",i.printableLabelGeneralSettings&&e.image),c(1),ce(" ",H(3,3,e.label)," ")}}function Gq(t,n){if(1&t&&(k(0,"mat-select",10),V(1,$q,4,5,"mat-option",11),C()),2&t){const e=z().$implicit;w("formControlName",e.keyNameInFiltersObject),c(1),w("ngForOf",e.printableLabelsForValues)}}function qq(t,n){if(1&t&&(Ue(0),k(1,"mat-form-field")(2,"div",5)(3,"label",6),I(4),R(5,"translate"),C(),V(6,Uq,1,2,"input",7),V(7,Gq,2,2,"mat-select",8),C()(),We()),2&t){const e=n.$implicit,i=z();c(4),re(H(5,3,e.filterName)),c(2),w("ngIf",e.type===i.filterFieldTypes.TextInput),c(1),w("ngIf",e.type===i.filterFieldTypes.Select)}}let Kq=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o,this.filterFieldTypes=$n}ngOnInit(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=[this.data.currentFilters[i.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(e)}apply(){const e={};this.data.filterPropertiesList.forEach(i=>{e[i.keyNameInFiltersObject]=this.form.get(i.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-filters-selection"]],decls:8,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],[1,"field-container"],["for","remoteKey",1,"field-label"],["matInput","",3,"formControlName","maxlength",4,"ngIf"],[3,"formControlName",4,"ngIf"],["matInput","",3,"formControlName","maxlength"],[3,"formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1),V(3,qq,8,5,"ng-container",2),C(),k(4,"app-button",3,4),ve("action",function(){return i.apply()}),I(6),R(7,"translate"),C()()),2&e&&(w("headline",H(1,5,"filters.filter-action"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(1),w("ngForOf",i.data.filterPropertiesList),c(3),ce(" ",H(7,7,"common.ok")," "))},dependencies:[gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Yd,Ql,Fi,Zn,yt],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%}"]}),t})();class Hd{get currentFiltersTexts(){return this.currentFiltersTextsInternal}get currentUrlQueryParams(){return this.currentUrlQueryParamsInternal}get dataFiltered(){return this.dataUpdatedSubject.asObservable()}constructor(n,e,i,o,s){this.dialog=n,this.route=e,this.router=i,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new J,this.filterPropertiesList=o,this.currentFilters={},this.filterPropertiesList.forEach(a=>{a.keyNameInFiltersObject=s+"_"+a.keyNameInElementsArray,this.currentFilters[a.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(a=>{Object.keys(this.currentFilters).forEach(l=>{a.has(l)&&(this.currentFilters[l]=a.get(l))}),this.currentUrlQueryParamsInternal={},a.keys.forEach(l=>{this.currentUrlQueryParamsInternal[l]=a.get(l)}),this.filter()})}dispose(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()}setData(n){this.data=n,this.filter()}removeFilters(){const n=Zt.createConfirmationDialog(this.dialog,"filters.remove-confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.closeModal(),this.router.navigate([],{queryParams:{}})})}changeFilters(){Kq.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(e=>{e&&this.router.navigate([],{queryParams:e})})}filter(){if(this.data){let n,e=!1;Object.keys(this.currentFilters).forEach(i=>{this.currentFilters[i]&&(e=!0)}),e?(n=function fq(t,n,e){if(t){const i=[];return Object.keys(n).forEach(s=>{if(n[s])for(const a of e)if(a.keyNameInFiltersObject===s){i.push(a);break}}),t.filter(s=>{let a=!0;return i.forEach(l=>{const d=String(s[l.keyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase()),_=l.secondaryKeyNameInElementsArray&&String(s[l.secondaryKeyNameInElementsArray]).toLowerCase().includes(n[l.keyNameInFiltersObject].toLowerCase());!d&&!_&&(a=!1)}),a})}return null}(this.data,this.currentFilters,this.filterPropertiesList),this.updateCurrentFilters()):(n=this.data,this.updateCurrentFilters()),this.dataUpdatedSubject.next(n)}}updateCurrentFilters(){this.currentFiltersTextsInternal=function pq(t,n){const e=[];return n.forEach(i=>{if(t[i.keyNameInFiltersObject]){let o,s;i.printableLabelsForValues&&i.printableLabelsForValues.forEach(a=>{a.value===t[i.keyNameInFiltersObject]&&(s=a.label)}),s||(o=t[i.keyNameInFiltersObject]),e.push({filterName:i.filterName,translatableValue:s,value:o})}}),e}(this.currentFilters,this.filterPropertiesList)}}function Zq(t,n){if(1&t){const e=et();k(0,"div",5)(1,"div",6)(2,"div",7),I(3),C(),k(4,"div",8),I(5),C()(),k(6,"div",9)(7,"app-button",10),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).openTerminal(s.key))}),I(8),R(9,"translate"),C()()()}if(2&t){const e=n.$implicit;c(3),re(e.label),c(2),re(e.version),c(3),ce(" ",H(9,3,"update-all.update-button")," ")}}function Xq(t,n){if(1&t&&(Ue(0),k(1,"div",2),I(2),R(3,"translate"),C(),k(4,"div",3),V(5,Zq,10,5,"div",4),C(),We()),2&t){const e=z();c(2),ce(" ",H(3,2,"update-all.updatable-list-text")," "),c(3),w("ngForOf",e.updatableNodes)}}function Jq(t,n){if(1&t&&(k(0,"div",8),I(1),C()),2&t){const e=z().$implicit;c(1),re(e.tag)}}function Qq(t,n){if(1&t&&(k(0,"div",5)(1,"div",6)(2,"div",7),I(3),C(),k(4,"div",8),I(5),C(),V(6,Jq,2,1,"div",11),C()()),2&t){const e=n.$implicit;c(3),re(e.label),c(2),re(e.version),c(1),w("ngIf",e.tag)}}function eK(t,n){if(1&t&&(Ue(0),k(1,"div",2),I(2),R(3,"translate"),C(),k(4,"div",3),V(5,Qq,7,3,"div",4),C(),We()),2&t){const e=z();c(2),ce(" ",H(3,2,"update-all.non-updatable-list-text")," "),c(3),w("ngForOf",e.nonUpdatableNodes)}}let tK=(()=>{class t{static openDialog(e,i,o){const s=new Ln;return s.data=[i,o],s.autoFocus=!1,s.width=Bt.smallModalWidth,e.open(t,s)}constructor(e,i){this.dialogRef=e,this.updatableNodes=i[0],this.nonUpdatableNodes=i[1]}openTerminal(e){const i=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(i+"//"+o+"/pty/"+e+"?commands=update","_blank","noopener noreferrer")}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi))},t.\u0275cmp=Ke({type:t,selectors:[["app-update-all"]],decls:4,vars:6,consts:[[3,"headline","dialog"],[4,"ngIf"],[1,"text-container"],[1,"list-container"],["class","list-element",4,"ngFor","ngForOf"],[1,"list-element"],[1,"left-part"],[1,"name"],[1,"version"],[1,"right-part"],["color","primary",3,"click"],["class","version",4,"ngIf"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,Xq,6,4,"ng-container",1),V(3,eK,6,4,"ng-container",1),C()),2&e&&(w("headline",H(1,4,"update-all.title"))("dialog",i.dialogRef),c(2),w("ngIf",i.updatableNodes&&i.updatableNodes.length>0),c(1),w("ngIf",i.nonUpdatableNodes&&i.nonUpdatableNodes.length>0))},dependencies:[gi,Ft,Fi,Zn,yt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word;line-height:1.2}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;align-self:center;margin-right:10px;min-width:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575px){.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem}}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%] .version[_ngcontent-%COMP%]{font-size:.7rem;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-basis:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}"]}),t})();const nK=["input"],iK=["label"],rK=["*"],oK=new Re("mat-checkbox-default-options",{providedIn:"root",factory:UI});function UI(){return{color:"accent",clickAction:"check-indeterminate"}}const sK={provide:ls,useExisting:pn(()=>_a),multi:!0};class aK{}let lK=0;const WI=UI(),cK=EL(Nh(Yh(Pd(class{constructor(t){this._elementRef=t}}))));let dK=(()=>{class t extends cK{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=_n(e)}constructor(e,i,o,s,a,l,d){super(i),this._changeDetectorRef=o,this._ngZone=s,this._animationMode=l,this._options=d,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ht,this.indeterminateChange=new ht,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||WI,this.color=this.defaultColor=this._options.color||WI.color,this.tabIndex=parseInt(a)||0,this.id=this._uniqueId=`${e}${++lK}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=_n(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=_n(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=_n(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_transitionCheckState(e){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(i!==e&&o&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);const s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){Ha()},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&(pt(nK,5),pt(iK,5),pt(Jl,5)),2&e){let o;it(o=rt())&&(i._inputElement=o.first),it(o=rt())&&(i._labelElement=o.first),it(o=rt())&&(i.ripple=o.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[nt]}),t})(),_a=(()=>{class t extends dK{constructor(e,i,o,s,a,l){super("mat-mdc-checkbox-",e,i,o,s,a,l),this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){const i=new aK;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(ft),Na("tabindex"),N(Vi,8),N(oK,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(e,i){2&e&&(ea("id",i.id),Jt("tabindex",null)("aria-label",null)("aria-labelledby",null),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mdc-checkbox--disabled",i.disabled)("mat-mdc-checkbox-disabled",i.disabled)("mat-mdc-checkbox-checked",i.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[un([sK]),nt],ngContentSelectors:rK,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(e,i){if(1&e&&(Ir(),k(0,"div",0),ve("click",function(s){return i._preventBubblingFromLabel(s)}),k(1,"div",1,2)(3,"div",3),ve("click",function(){return i._onTouchTargetClick()}),C(),k(4,"input",4,5),ve("blur",function(){return i._onBlur()})("click",function(){return i._onInputClick()})("change",function(s){return i._onInteractionEvent(s)}),C(),Ce(6,"div",6),k(7,"div",7),kl(),k(8,"svg",8),Ce(9,"path",9),C(),Uf(),Ce(10,"div",10),C(),Ce(11,"div",11),C(),k(12,"label",12,13),Tn(14),C()()),2&e){const o=ci(2);nn("mdc-form-field--align-end","before"==i.labelPosition),c(4),nn("mdc-checkbox--selected",i.checked),w("checked",i.checked)("indeterminate",i.indeterminate)("disabled",i.disabled)("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex),Jt("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby)("name",i.name)("value",i.value),c(7),w("matRippleTrigger",o)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0),c(1),w("for",i.inputId)}},dependencies:[Jl],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mat-mdc-checkbox{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),$I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({}),t})(),fK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn,Bh,$I,Wn,$I]}),t})();const pK=["button"];function mK(t,n){1&t&&(k(0,"span",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.checking"),""))}function gK(t,n){if(1&t&&(k(0,"span",23)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5),R(6,"translate"),C()()),2&t){const e=z(2).$implicit;c(2),ce(" ",H(3,2,"bulk-rewards.error-checking"),""),c(3),ce(" ",H(6,4,e.operationError),"")}}function _K(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z(2).$implicit;c(1),ce(" ",e.currentAddress,"")}}function bK(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.not-registered"),""))}function vK(t,n){if(1&t&&(Ue(0,15),k(1,"mat-checkbox",16)(2,"div")(3,"div",17),I(4),C(),k(5,"div",18)(6,"span",19),I(7),R(8,"translate"),C(),V(9,mK,3,3,"span",20),V(10,gK,7,6,"span",21),V(11,_K,2,1,"span",12),V(12,bK,3,3,"span",12),C()()(),We()),2&t){const e=z(),o=e.$implicit;w("formGroupName",e.index),c(4),ce(" ",o.label," "),c(3),re(H(8,7,"bulk-rewards.current-address")),c(2),w("ngIf",null===o.currentAddress&&!o.operationError),c(1),w("ngIf",o.operationError),c(1),w("ngIf",o.currentAddress&&!o.operationError),c(1),w("ngIf",""===o.currentAddress&&!o.operationError)}}function yK(t,n){1&t&&(k(0,"span",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.processing"),""))}function MK(t,n){if(1&t&&(k(0,"span",23)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5),R(6,"translate"),C()()),2&t){const e=z(2).$implicit;c(2),ce(" ",H(3,2,"bulk-rewards.error-processing"),""),c(3),ce(" ",H(6,4,e.operationError),"")}}function wK(t,n){1&t&&(k(0,"span",28),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"bulk-rewards.done"),""))}function CK(t,n){if(1&t&&(Ue(0),k(1,"div",24),I(2,"-"),C(),k(3,"div",25),I(4),k(5,"div",26),V(6,yK,3,3,"span",20),V(7,MK,7,6,"span",21),V(8,wK,3,3,"span",27),C()(),We()),2&t){const e=z().$implicit;c(4),ce(" ",e.label," "),c(2),w("ngIf",e.processing&&!e.operationError),c(1),w("ngIf",e.operationError),c(1),w("ngIf",!e.processing&&!e.operationError)}}const xK=function(t){return{"element-margin":t}};function kK(t,n){if(1&t&&(k(0,"div",13),V(1,vK,13,9,"ng-container",14),V(2,CK,9,4,"ng-container",12),C()),2&t){const e=z();w("ngClass",He(3,xK,e.processingStarted)),c(1),w("ngIf",!e.processingStarted),c(1),w("ngIf",e.processingStarted)}}function SK(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"bulk-rewards.perform-changes")))}function DK(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.close")))}const TK=function(t){return{"element-disabled":t}};let LK=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.nodeService=o,this.formBuilder=s,this.dialog=a,this.processingStarted=!1,this.processingFinished=!1,this.currentlyProcessed=0,this.form=s.group({address:["",Yt.compose([Yt.minLength(20),Yt.maxLength(40)])],nodes:s.array([])}),i.nodes.forEach(l=>{const d=this.formBuilder.group({selected:[!0]});this.form.get("nodes").push(d)}),this.startChecking()}formValid(){if(!this.processingStarted){if(!this.form.valid)return!1;let e=0;return this.form.get("nodes").controls.forEach((i,o)=>{i.get("selected")?.value&&(e+=1)}),e>0}return!0}get disableDismiss(){return this.processingStarted&&!this.processingFinished}startChecking(){this.nodesToEdit=[],this.data.nodes.forEach(e=>{this.nodesToEdit.push({key:e.key,label:e.label,currentAddress:null,operationError:"",processing:!1})}),this.operationSubscriptions=[],this.nodesToEdit.forEach((e,i)=>{this.operationSubscriptions.push(this.nodeService.getRewardsAddress(e.key).subscribe(o=>{this.nodesToEdit[i].currentAddress=o},o=>{this.nodesToEdit[i].operationError=o.translatableErrorMsg?o.translatableErrorMsg:o.originalServerErrorMsg}))})}checkBeforeProcessing(){if(this.form.valid)if(this.form.get("address").value)this.startProcessing();else{const i=Zt.createConfirmationDialog(this.dialog,"bulk-rewards.empty-warning");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.startProcessing()})}}startProcessing(){this.processingStarted=!0,this.button.showLoading(),this.closeoperationSubscriptions();const e=[];this.form.get("nodes").controls.forEach((o,s)=>{o.get("selected")?.value&&(this.nodesToEdit[s].operationError="",this.nodesToEdit[s].processing=!0,e.push(this.nodesToEdit[s]))}),this.nodesToEdit=e;const i=this.form.get("address").value;this.form.get("address").disable(),this.currentlyProcessed=0,this.operationSubscriptions=[],this.nodesToEdit.forEach((o,s)=>{let a=this.nodeService.setRewardsAddress(o.key,i);i||(a=this.nodeService.deleteRewardsAddress(o.key)),this.operationSubscriptions.push($e(0).pipe(Ei(100),Ne(()=>a)).subscribe(l=>{this.nodesToEdit[s].processing=!1,this.currentlyProcessed+=1,this.currentlyProcessed===this.nodesToEdit.length&&(this.processingFinished=!0,this.button.reset())},l=>{this.nodesToEdit[s].processing=!1,this.nodesToEdit[s].operationError=l.translatableErrorMsg?l.translatableErrorMsg:l.originalServerErrorMsg,this.currentlyProcessed+=1,this.currentlyProcessed===this.nodesToEdit.length&&(this.processingFinished=!0,this.button.reset())}))})}ngOnDestroy(){this.closeoperationSubscriptions()}closeoperationSubscriptions(){this.operationSubscriptions&&this.operationSubscriptions.forEach(e=>e.unsubscribe())}closeModal(){this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(ma),N(_r),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-bulk-reward-address-changer"]],viewQuery:function(e,i){if(1&e&&pt(pK,5),2&e){let o;it(o=rt())&&(i.button=o.first)}},decls:30,vars:28,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[1,"text-container"],["href","https://github.com/skycoin/skywire/blob/master/mainnet_rules.md","target","_blank","rel","noreferrer nofollow noopener"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","address","maxlength","40","matInput","",3,"ngClass"],["formArrayName","nodes",1,"list-container"],["class","list-element",3,"ngClass",4,"ngFor","ngForOf"],[1,"buttons"],["type","mat-raised-button","color","primary",3,"disabled","action"],["button",""],[4,"ngIf"],[1,"list-element",3,"ngClass"],[3,"formGroupName",4,"ngIf"],[3,"formGroupName"],["color","primary","formControlName","selected"],[1,"contents"],[1,"address","contents"],[1,"address-label"],["class","blinking",4,"ngIf"],["class","red-text",4,"ngIf"],[1,"blinking"],[1,"red-text"],[1,"left-area"],[1,"right-area","contents"],[1,"address"],["class","green-text",4,"ngIf"],[1,"green-text"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"div",2)(4,"span"),I(5),R(6,"translate"),C(),k(7,"a",3),I(8),R(9,"translate"),C()(),k(10,"mat-form-field")(11,"div",4)(12,"label",5),I(13),R(14,"translate"),C(),Ce(15,"input",6),C(),k(16,"mat-error")(17,"span"),I(18),R(19,"translate"),C()()(),k(20,"div",2),I(21),R(22,"translate"),C(),k(23,"div",7),V(24,kK,3,5,"div",8),C()(),k(25,"div",9)(26,"app-button",10,11),ve("action",function(){return i.processingStarted?i.closeModal():i.checkBeforeProcessing()}),V(28,SK,3,3,"ng-container",12),V(29,DK,3,3,"ng-container",12),C()()()),2&e&&(w("headline",H(1,14,"bulk-rewards.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("formGroup",i.form),c(3),ce("",H(6,16,"bulk-rewards.info")," "),c(3),ce(" ",H(9,18,"bulk-rewards.more-info-link")," "),c(5),re(H(14,20,"rewards-address-config.address")),c(2),w("ngClass",He(26,TK,i.processingStarted)),c(3),re(H(19,22,"rewards-address-config.address-error")),c(3),ce(" ",H(22,24,"bulk-rewards.select-visors")," "),c(3),w("ngForOf",i.nodesToEdit),c(2),w("disabled",!i.formValid()),c(2),w("ngIf",!i.processingStarted),c(1),w("ngIf",i.processingStarted))},dependencies:[Pn,gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,ef,tf,tr,pa,br,_a,Fi,Zn,yt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}mat-form-field[_ngcontent-%COMP%]{margin-top:10px}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .element-margin[_ngcontent-%COMP%]{margin:15px 0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-area[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-area[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .contents[_ngcontent-%COMP%]{white-space:normal;line-height:1.2}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .address[_ngcontent-%COMP%]{font-size:.7rem;color:#777}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .address[_ngcontent-%COMP%] .address-label[_ngcontent-%COMP%]{opacity:.7}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t})();const EK=["mat-menu-item",""];function IK(t,n){1&t&&(kl(),k(0,"svg",3),Ce(1,"polygon",4),C())}const PK=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],OK=["mat-icon, [matMenuItemIcon]","*"];function AK(t,n){if(1&t){const e=et();k(0,"div",0),ve("keydown",function(o){return Pe(e),Oe(z()._handleKeydown(o))})("click",function(){return Pe(e),Oe(z().closed.emit("click"))})("@transformMenu.start",function(o){return Pe(e),Oe(z()._onAnimationStart(o))})("@transformMenu.done",function(o){return Pe(e),Oe(z()._onAnimationDone(o))}),k(1,"div",1),Tn(2),C()()}if(2&t){const e=z();w("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Jt("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const FK=["*"],H1=new Re("MAT_MENU_PANEL"),RK=Yh(Pd(class{}));let ba=(()=>{class t extends RK{constructor(e,i,o,s,a){super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this._hovered=new J,this._focused=new J,this._highlighted=!1,this._triggersSubmenu=!1,s?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let o=0;o enter",Wr("120ms cubic-bezier(0, 0, 0.2, 1)",ei({opacity:1,transform:"scale(1)"}))),Pr("* => void",Wr("100ms 25ms linear",ei({opacity:0})))]),fadeInItems:oa("fadeInItems",[yo("showing",ei({opacity:1})),Pr("void => *",[ei({opacity:0}),Wr("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let YK=0;const GI=new Re("mat-menu-default-options",{providedIn:"root",factory:function HK(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let rf=(()=>{class t{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=_n(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=_n(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,i,o,s){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=s,this._directDescendantItems=new Nl,this._classList={},this._panelAnimationState="void",this._animationDone=new J,this.closed=new ht,this.close=this.closed,this.panelId="mat-menu-panel-"+YK++,this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this._overlapTrigger=o.overlapTrigger,this._hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new bL(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Go(this._directDescendantItems),gr(e=>bt(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const o=e.toArray(),s=Math.max(0,Math.min(o.length-1,i.activeItemIndex||0));o[s]&&!o[s].disabled?i.setActiveItem(s):i.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(Go(this._directDescendantItems),gr(i=>bt(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:Rs(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Kn(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){const o=this._classList;o["mat-menu-before"]="before"===e,o["mat-menu-after"]="after"===e,o["mat-menu-above"]="above"===i,o["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Go(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(GI),N(pi))},t.\u0275dir=Ze({type:t,contentQueries:function(e,i,o){if(1&e&&(sr(o,NK,5),sr(o,ba,5),sr(o,ba,4)),2&e){let s;it(s=rt())&&(i.lazyContent=s.first),it(s=rt())&&(i._allItems=s),it(s=rt())&&(i.items=s)}},viewQuery:function(e,i){if(1&e&&pt(mr,5),2&e){let o;it(o=rt())&&(i.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),Bd=(()=>{class t extends rf{constructor(e,i,o,s){super(e,i,o,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(ft),N(GI),N(pi))},t.\u0275cmp=Ke({type:t,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration","true"],hostVars:3,hostBindings:function(e,i){2&e&&Jt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[un([{provide:H1,useExisting:t}]),nt],ngContentSelectors:FK,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(e,i){1&e&&(Ir(),V(0,AK,3,6,"ng-template"))},dependencies:[Pn],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Og.transformMenu,Og.fadeInItems]},changeDetection:0}),t})();const qI=new Re("mat-menu-scroll-strategy"),VK={provide:qI,deps:[io],useFactory:function BK(t){return()=>t.scrollStrategies.reposition()}},KI=tl({passive:!0});let jK=(()=>{class t{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,i,o,s,a,l,d,_,E){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=d,this._focusMonitor=_,this._ngZone=E,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=T.EMPTY,this._hoverSubscription=T.EMPTY,this._menuCloseSubscription=T.EMPTY,this._changeDetectorRef=Qe(pi),this._handleTouchStart=F=>{Z0(F)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new ht,this.onMenuOpen=this.menuOpened,this.menuClosed=new ht,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof rf?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,KI)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,KI),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),o=i.getConfig(),s=o.positionStrategy;this._setPosition(e,s),o.hasBackdrop=null==e.hasBackdrop?!this.triggersSubmenu():e.hasBackdrop,i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof rf&&(e._startAnimation(),e._directDescendantItems.changes.pipe(Bn(e.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof rf?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(_i(o=>"void"===o.toState),Kn(1),Bn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,o=e.parentMenu;for(;o;)i++,o=o.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Fh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(o=>{const s="start"===o.connectionPair.overlayX?"after":"before",a="top"===o.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(s,a)):e.setPositionClasses(s,a)})}_setPosition(e,i){let[o,s]="before"===e.xPosition?["end","start"]:["start","end"],[a,l]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[d,_]=[a,l],[E,F]=[o,s],G=0;if(this.triggersSubmenu()){if(F=o="before"===e.xPosition?"start":"end",s=E="end"===o?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const ie=this._parentMaterialMenu.items.first;this._parentInnerPadding=ie?ie._getHostElement().offsetTop:0}G="bottom"===a?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(d="top"===a?"bottom":"top",_="top"===l?"bottom":"top");i.withPositions([{originX:o,originY:d,overlayX:E,overlayY:a,offsetY:G},{originX:s,originY:d,overlayX:F,overlayY:a,offsetY:G},{originX:o,originY:_,overlayX:E,overlayY:l,offsetY:-G},{originX:s,originY:_,overlayX:F,overlayY:l,offsetY:-G}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return bt(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:$e(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(_i(a=>a!==this._menuItemInstance),_i(()=>this._menuOpen)):$e(),i)}_handleMousedown(e){K0(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(_i(e=>e===this._menuItemInstance&&!e.disabled),Ei(0,P0)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof rf&&this.menu._isAnimating?this.menu._animationDone.pipe(Kn(1),Ei(0,P0),Bn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Kl(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(N(io),N(vt),N(or),N(qI),N(H1,8),N(ba,10),N(Do,8),N(rl),N(ft))},t.\u0275dir=Ze({type:t,hostVars:3,hostBindings:function(e,i){1&e&&ve("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),2&e&&Jt("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),Vd=(()=>{class t extends jK{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[nt]}),t})(),zK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({providers:[VK],imports:[ia,Bh,Wn,Ed,Ih,Wn]}),t})();const ZI=function(){return["1"]};function UK(t,n){if(1&t&&(k(0,"a",10)(1,"mat-icon",11),I(2,"chevron_left"),C(),I(3),R(4,"translate"),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(qn(6,ZI)))("queryParams",e.queryParams),c(1),w("inline",!0),c(2),ce(" ",H(4,4,"paginator.first")," ")}}function WK(t,n){if(1&t&&(k(0,"a",12)(1,"mat-icon",11),I(2,"chevron_left"),C(),k(3,"span",13),I(4),R(5,"translate"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(qn(6,ZI)))("queryParams",e.queryParams),c(1),w("inline",!0),c(3),re(H(5,4,"paginator.first"))}}const ul=function(t){return[t]};function $K(t,n){if(1&t&&(k(0,"a",10)(1,"div")(2,"mat-icon",11),I(3,"chevron_left"),C()()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage-1).toString())))("queryParams",e.queryParams),c(2),w("inline",!0)}}function GK(t,n){if(1&t&&(k(0,"a",10),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage-2).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage-2)}}function qK(t,n){if(1&t&&(k(0,"a",14),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage-1).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage-1)}}function KK(t,n){if(1&t&&(k(0,"a",14),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage+1).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage+1)}}function ZK(t,n){if(1&t&&(k(0,"a",10),I(1),C()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage+2).toString())))("queryParams",e.queryParams),c(1),re(e.currentPage+2)}}function XK(t,n){if(1&t&&(k(0,"a",10)(1,"div")(2,"mat-icon",11),I(3,"chevron_right"),C()()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(3,ul,(e.currentPage+1).toString())))("queryParams",e.queryParams),c(2),w("inline",!0)}}function JK(t,n){if(1&t&&(k(0,"a",10),I(1),R(2,"translate"),k(3,"mat-icon",11),I(4,"chevron_right"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(6,ul,e.numberOfPages.toString())))("queryParams",e.queryParams),c(1),ce(" ",H(2,4,"paginator.last")," "),c(2),w("inline",!0)}}function QK(t,n){if(1&t&&(k(0,"a",12)(1,"mat-icon",11),I(2,"chevron_right"),C(),k(3,"span",13),I(4),R(5,"translate"),C()()),2&t){const e=z();w("routerLink",e.linkParts.concat(He(6,ul,e.numberOfPages.toString())))("queryParams",e.queryParams),c(1),w("inline",!0),c(3),re(H(5,4,"paginator.last"))}}const XI=function(t){return{number:t}};function eZ(t,n){if(1&t&&(k(0,"div",15),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"paginator.total",He(4,XI,e.numberOfPages)))}}function tZ(t,n){if(1&t&&(k(0,"div",16),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"paginator.total",He(4,XI,e.numberOfPages)))}}let jd=(()=>{class t{constructor(e,i){this.dialog=e,this.router=i,this.linkParts=[""],this.queryParams={}}openSelectionDialog(){const e=[];for(let i=1;i<=this.numberOfPages;i++)e.push({label:i.toString()});Rr.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe(i=>{i&&this.router.navigate(this.linkParts.concat([i.toString()]),{queryParams:this.queryParams})})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),I(4,"\xa0"),Ce(5,"br"),I(6,"\xa0"),C(),V(7,UK,5,7,"a",4),V(8,WK,6,7,"a",5),V(9,$K,4,5,"a",4),V(10,GK,2,5,"a",4),V(11,qK,2,5,"a",6),k(12,"a",7),ve("click",function(){return i.openSelectionDialog()}),I(13),C(),V(14,KK,2,5,"a",6),V(15,ZK,2,5,"a",4),V(16,XK,4,5,"a",4),V(17,JK,5,8,"a",4),V(18,QK,6,8,"a",5),C()(),V(19,eZ,3,6,"div",8),V(20,tZ,3,6,"div",9),C()),2&e&&(c(7),w("ngIf",i.currentPage>3),c(1),w("ngIf",i.currentPage>2),c(1),w("ngIf",i.currentPage>1),c(1),w("ngIf",i.currentPage>2),c(1),w("ngIf",i.currentPage>1),c(2),re(i.currentPage),c(1),w("ngIf",i.currentPage3),c(1),w("ngIf",i.numberOfPages>2))},dependencies:[Ft,Qa,bn,yt],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:#f8f9f980;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})();function sf(t){return n=>n.lift(new nZ(t,n))}class nZ{constructor(n,e){this.notifier=n,this.source=e}call(n,e){return e.subscribe(new iZ(n,this.notifier,this.source))}}class iZ extends Me{constructor(n,e,i){super(n),this.notifier=e,this.source=i}error(n){if(!this.isStopped){let e=this.errors,i=this.retries,o=this.retriesSubscription;if(i)this.errors=void 0,this.retriesSubscription=void 0;else{e=new J;try{const{notifier:s}=this;i=s(e)}catch(s){return super.error(s)}o=Ie(i,new be(this))}this._unsubscribeAndRecycle(),this.errors=e,this.retries=i,this.retriesSubscription=o,e.next(n)}}_unsubscribe(){const{errors:n,retriesSubscription:e}=this;n&&(n.unsubscribe(),this.errors=void 0),e&&(e.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:n}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=n,this.source.subscribe(this)}}let va=(()=>{class t{constructor(e){this.apiService=e}changeAppState(e,i,o){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,{status:o?1:0})}changeAppAutostart(e,i,o){return this.changeAppSettings(e,i,{autostart:o})}changeAppSettings(e,i,o){return this.apiService.put(`visors/${e}/apps/${encodeURIComponent(i)}`,o)}getLogMessages(e,i,o){const a=ZS(-1!==o?Date.now()-864e5*o:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get(this.getLogMessagesUrl(e,i)+`?since=${a}`).pipe(ke(l=>l.logs))}getLogMessagesUrl(e,i){return`visors/${e}/apps/${encodeURIComponent(i)}/logs`}}return t.\u0275fac=function(e){return new(e||t)(we(ll))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var An=(()=>((An=An||{}).None="None",An.Favorite="Favorite",An.Blocked="Blocked",An))(),Sr=(()=>((Sr=Sr||{}).BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",Sr.OnlyBytes="OnlyBytes",Sr.OnlyBits="OnlyBits",Sr))();let sc=(()=>{class t{constructor(e,i){this.router=e,this.storageService=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new ko(1),this.historySubject=new ko(1),this.favoritesSubject=new ko(1),this.blockedSubject=new ko(1)}initialize(){this.migrateDataToHvStorage(),this.serversMap=new Map;const e=this.storageService.getDataForHv(this.savedServersStorageKey);if(e){const i=JSON.parse(e);i.serverList.forEach(o=>{this.serversMap.set(o.pk,o)}),this.savedDataVersion=i.version,i.selectedServerPk&&this.updateCurrentServerPk(i.selectedServerPk)}this.launchListEvents()}migrateDataToHvStorage(){const e=localStorage.getItem(this.savedServersStorageKey);e&&(this.storageService.setDataForHv(this.savedServersStorageKey,e),localStorage.removeItem(this.savedServersStorageKey));const i=localStorage.getItem(this.checkIpSettingStorageKey);i&&(this.storageService.setDataForHv(this.checkIpSettingStorageKey,i),localStorage.removeItem(this.checkIpSettingStorageKey));const o=localStorage.getItem(this.dataUnitsSettingStorageKey);o&&(this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,o),localStorage.removeItem(this.dataUnitsSettingStorageKey))}get currentServer(){return this.serversMap.get(this.currentServerPk)}get currentServerObservable(){return this.currentServerSubject.asObservable()}get history(){return this.historySubject.asObservable()}get favorites(){return this.favoritesSubject.asObservable()}get blocked(){return this.blockedSubject.asObservable()}getSavedVersion(e,i){return i&&this.checkIfDataWasChanged(),this.serversMap.get(e)}getCheckIpSetting(){const e=this.storageService.getDataForHv(this.checkIpSettingStorageKey);return null==e||"false"!==e}setCheckIpSetting(e){this.storageService.setDataForHv(this.checkIpSettingStorageKey,e?"true":"false")}getDataUnitsSetting(){return this.storageService.getDataForHv(this.dataUnitsSettingStorageKey)??Sr.BitsSpeedAndBytesVolume}setDataUnitsSetting(e){this.storageService.setDataForHv(this.dataUnitsSettingStorageKey,e)}updateFromDiscovery(e){this.checkIfDataWasChanged(),e.forEach(i=>{if(this.serversMap.has(i.pk)){const o=this.serversMap.get(i.pk);o.countryCode=i.countryCode,o.name=i.name,o.location=i.location,o.note=i.note}}),this.saveData()}updateServer(e){this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData()}processFromDiscovery(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.countryCode=e.countryCode,i.name=e.name,i.location=e.location,i.note=e.note,this.saveData(),i):{countryCode:e.countryCode,name:e.name,customName:null,pk:e.pk,lastUsed:0,inHistory:!1,flag:An.None,location:e.location,personalNote:null,note:e.note,enteredManually:!1,usedWithPassword:!1}}processFromManual(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e.pk);return i?(i.customName=e.name,i.personalNote=e.note,i.enteredManually=!0,this.saveData(),i):{countryCode:"zz",name:"",customName:e.name,pk:e.pk,lastUsed:0,inHistory:!1,flag:An.None,location:"",personalNote:e.note,note:"",enteredManually:!0,usedWithPassword:!1}}changeFlag(e,i){this.checkIfDataWasChanged();const o=this.serversMap.get(e.pk);o&&(e=o),e.flag!==i&&(e.flag=i,this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.cleanServers(),this.saveData())}removeFromHistory(e){this.checkIfDataWasChanged();const i=this.serversMap.get(e);!i||!i.inHistory||(i.inHistory=!1,this.cleanServers(),this.saveData())}modifyCurrentServer(e){this.checkIfDataWasChanged(),e.pk!==this.currentServerPk&&(this.serversMap.has(e.pk)||this.serversMap.set(e.pk,e),this.updateCurrentServerPk(e.pk),this.cleanServers(),this.saveData())}compareCurrentServer(e){if(this.checkIfDataWasChanged(),e){if(!this.currentServerPk||this.currentServerPk!==e){if(this.currentServerPk=e,!this.serversMap.get(e)){const o=this.processFromManual({pk:e});this.serversMap.set(o.pk,o),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))}updateHistory(){this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;let e=[];this.serversMap.forEach(o=>{o.inHistory&&e.push(o)}),e=e.sort((o,s)=>s.lastUsed-o.lastUsed);let i=0;e.forEach(o=>{i{!i.inHistory&&i.flag===An.None&&i.pk!==this.currentServerPk&&!i.customName&&!i.personalNote&&e.push(i.pk)}),e.forEach(i=>{this.serversMap.delete(i)})}saveData(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);if(i&&(e=JSON.parse(i).version),e!==this.savedDataVersion)return void this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"storage"}});this.savedDataVersion+=1;const o={version:this.savedDataVersion,serverList:Array.from(this.serversMap.values()),selectedServerPk:this.currentServerPk},s=JSON.stringify(o);this.storageService.setDataForHv(this.savedServersStorageKey,s),this.launchListEvents()}checkIfDataWasChanged(){let e=0;const i=this.storageService.getDataForHv(this.savedServersStorageKey);i&&(e=JSON.parse(i).version),e!==this.savedDataVersion&&this.initialize()}launchListEvents(){const e=[],i=[],o=[];this.serversMap.forEach(s=>{s.inHistory&&e.push(s),s.flag===An.Favorite&&i.push(s),s.flag===An.Blocked&&o.push(s)}),this.historySubject.next(e),this.favoritesSubject.next(i),this.blockedSubject.next(o)}updateCurrentServerPk(e){this.currentServerPk=e,this.currentServerSubject.next(this.currentServer)}}return t.\u0275fac=function(e){return new(e||t)(we(hn),we(Ji))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var on=(()=>((on=on||{}).Stopped="stopped",on.Connecting="Connecting",on.Running="Running",on.ShuttingDown="Shutting down",on.Reconnecting="Connection failed, reconnecting",on))();class rZ{constructor(){this.updateDate=Date.now()}}class oZ{}class sZ{constructor(){this.latency=0,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.connectionDuration=0,this.error=""}}var jn=(()=>((jn=jn||{})[jn.PerformingInitialCheck=1]="PerformingInitialCheck",jn[jn.Off=10]="Off",jn[jn.Starting=20]="Starting",jn[jn.Running=100]="Running",jn[jn.Disconnecting=200]="Disconnecting",jn))(),wi=(()=>((wi=wi||{})[wi.Busy=1]="Busy",wi[wi.Ok=2]="Ok",wi[wi.MustStop=3]="MustStop",wi[wi.SamePkRunning=4]="SamePkRunning",wi[wi.SamePkStopped=5]="SamePkStopped",wi))();let ac=(()=>{class t{constructor(e,i,o,s,a,l,d){this.apiService=e,this.appsService=i,this.router=o,this.vpnSavedDataService=s,this.http=a,this.snackbarService=l,this.translateService=d,this.vpnClientAppName="vpn-client",this.standardWaitTime=2e3,this.stateSubject=new Or(null),this.errorSubject=new Or(!1),this.working=!0,this.requestedServer=null,this.requestedPassword=null,this.updatesStopped=!1,this.currentEventData=new rZ,this.currentEventData.busy=!0,this.lastServiceState=jn.PerformingInitialCheck}initialize(e){e&&(this.nodeKey?e!==this.nodeKey?this.router.navigate(["vpn","unavailable"],{queryParams:{problem:"pkChange"}}):this.updatesStopped&&(this.updatesStopped=!1,this.updateData()):(this.nodeKey=e,this.vpnSavedDataService.initialize(),this.updateData()))}get backendState(){return this.stateSubject.asObservable()}get errorsConnecting(){return this.errorSubject.asObservable()}updateData(){this.continuallyUpdateData(0)}start(){return!this.working&&this.lastServiceState<20&&(this.changeAppState(!0),!0)}stop(){return!this.working&&this.lastServiceState>=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)}getIpData(){return this.http.request("GET",window.location.protocol+"//ip.skycoin.com/").pipe(sf(e=>Ka(e.pipe(Ei(this.standardWaitTime),Kn(4)),Ar(""))),ke(e=>{let i="";i=e&&e.ip_address?e.ip_address:this.translateService.instant("common.unknown");let o="";return o=e&&e.country_name?e.country_name:this.translateService.instant("common.unknown"),[i,o]}))}changeServerUsingHistory(e,i){return this.requestedServer=e,this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerUsingDiscovery(e,i){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}changeServerManually(e,i){return this.requestedServer=this.vpnSavedDataService.processFromManual(e),this.requestedPassword=i,this.updateRequestedServerPasswordSetting(),this.changeServer()}updateRequestedServerPasswordSetting(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;const e=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);e&&(e.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(e))}changeServer(){return!this.working&&(this.stop()||this.processServerChange(),!0)}checkNewPk(e){return this.working?wi.Busy:this.lastServiceState!==jn.Off?e===this.vpnSavedDataService.currentServer.pk?wi.SamePkRunning:wi.MustStop:this.vpnSavedDataService.currentServer&&e===this.vpnSavedDataService.currentServer.pk?wi.SamePkStopped:wi.Ok}processServerChange(){this.dataSubscription&&this.dataSubscription.unsubscribe();const e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe(()=>{this.vpnSavedDataService.modifyCurrentServer(this.requestedServer),this.requestedServer=null,this.requestedPassword=null,this.working=!1,this.start()},i=>{i=Qt(i),this.snackbarService.showError("vpn.server-change.backend-error",null,!1,i.originalServerErrorMsg),this.working=!1,this.requestedServer=null,this.requestedPassword=null,this.sendUpdate(),this.updateData()})}changeAppState(e){if(this.working)return;this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();const i={status:1};e?(this.lastServiceState=jn.Starting,this.connectionHistoryPk=null):(this.lastServiceState=jn.Disconnecting,i.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,i).pipe(Co(o=>this.getVpnClientState().pipe(Ne(s=>{if(s){if(e&&s.running)return $e(!0);if(!e&&!s.running)return $e(!0)}return Ar(o)}))),sf(o=>Ka(o.pipe(Ei(this.standardWaitTime),Kn(3)),o.pipe(Ne(s=>Ar(s)))))).subscribe(o=>{this.working=!1;const s=this.processAppData(o);this.lastServiceState=s.running?jn.Running:jn.Off,this.currentEventData.vpnClientAppData=s,this.currentEventData.updateDate=Date.now(),this.sendUpdate(),this.updateData(),!e&&this.requestedServer&&this.processServerChange()},o=>{o=Qt(o),this.snackbarService.showError(this.lastServiceState===jn.Starting?"vpn.status-page.problem-starting-error":this.lastServiceState===jn.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,o.originalServerErrorMsg),this.working=!1,this.sendUpdate(),this.updateData()})}continuallyUpdateData(e){if(this.working&&this.lastServiceState!==jn.PerformingInitialCheck)return;this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();let i=0;this.continuousUpdateSubscription=$e(0).pipe(Ei(e),Ne(()=>this.getVpnClientState()),sf(o=>o.pipe(Ne(s=>(this.errorSubject.next(!0),fa.currentInstance.showDataProblemMsg(),(s=Qt(s)).originalError&&s.originalError.status&&401===s.originalError.status?Ar(s):this.lastServiceState!==jn.PerformingInitialCheck||i<4?(i+=1,$e(s).pipe(Ei(this.standardWaitTime))):Ar(s)))))).subscribe(o=>{o?(this.errorSubject.next(!1),fa.currentInstance.hideDataProblemMsg(),this.lastServiceState===jn.PerformingInitialCheck&&(this.working=!1),this.vpnSavedDataService.compareCurrentServer(o.serverPk),this.lastServiceState=o.running?jn.Running:jn.Off,this.currentEventData.vpnClientAppData=o,this.currentEventData.updateDate=Date.now(),this.sendUpdate()):this.lastServiceState===jn.PerformingInitialCheck&&(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null,this.updatesStopped=!0),this.continuallyUpdateData(this.standardWaitTime)},o=>{(o=Qt(o)).originalError&&o.originalError.status&&401===o.originalError.status||(this.router.navigate(["vpn","unavailable"]),this.nodeKey=null),this.updatesStopped=!0})}stopContinuallyUpdatingData(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()}getVpnClientState(){let e;const i=new Ns;return i.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/summary`,i).pipe(Ne(o=>{let s;if(o&&o.overview&&o.overview.apps&&o.overview.apps.length>0&&o.overview.apps.forEach(a=>{a.name===this.vpnClientAppName&&(s=a)}),s&&(e=this.processAppData(s)),e.minHops=o.min_hops?o.min_hops:0,e&&e.running){const a=new Ns;return a.vpnKeyForAuth=this.nodeKey,this.apiService.get(`visors/${this.nodeKey}/apps/${this.vpnClientAppName}/connections`,a)}return $e(null)}),ke(o=>{if(o&&o.length>0){const s=new sZ;o.forEach(a=>{s.latency+=a.latency/o.length,s.uploadSpeed+=a.upload_speed/o.length,s.downloadSpeed+=a.download_speed/o.length,s.totalUploaded+=a.bandwidth_sent,s.totalDownloaded+=a.bandwidth_received,a.error&&(s.error=a.error),a.connection_duration>s.connectionDuration&&(s.connectionDuration=a.connection_duration)}),(!this.connectionHistoryPk||this.connectionHistoryPk!==e.serverPk)&&(this.connectionHistoryPk=e.serverPk,this.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),s.latency=Math.round(s.latency),s.uploadSpeed=Math.round(s.uploadSpeed),s.downloadSpeed=Math.round(s.downloadSpeed),s.totalUploaded=Math.round(s.totalUploaded),s.totalDownloaded=Math.round(s.totalDownloaded),this.uploadSpeedHistory.splice(0,1),this.uploadSpeedHistory.push(s.uploadSpeed),s.uploadSpeedHistory=this.uploadSpeedHistory,this.downloadSpeedHistory.splice(0,1),this.downloadSpeedHistory.push(s.downloadSpeed),s.downloadSpeedHistory=this.downloadSpeedHistory,this.latencyHistory.splice(0,1),this.latencyHistory.push(s.latency),s.latencyHistory=this.latencyHistory,e.connectionData=s}return e}))}processAppData(e){const i=new oZ;if(i.running=0!==e.status&&2!==e.status,i.connectionDuration=e.connection_duration,i.appState=on.Stopped,i.running?e.detailed_status===on.Connecting||3===e.status?i.appState=on.Connecting:e.detailed_status===on.Running?i.appState=on.Running:e.detailed_status===on.ShuttingDown?i.appState=on.ShuttingDown:e.detailed_status===on.Reconnecting&&(i.appState=on.Reconnecting):2===e.status&&(i.lastErrorMsg=e.detailed_status,i.lastErrorMsg||(i.lastErrorMsg=this.translateService.instant("vpn.status-page.unknown-error"))),i.killswitch=!1,e.args&&e.args.length>0)for(let o=0;o{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.vpnSavedDataService=a}ngOnInit(){this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){let e=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);e=e||this.data.server;const i=this.form.get("value").value;i!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?e.customName=i:e.personalNote=i,this.vpnSavedDataService.updateServer(e),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(sc))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(e,i){if(1&e&&pt(aZ,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","value","maxlength","100","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.process()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"vpn.server-options.edit-value."+(i.data.editName?"name":"note")+"-label")),c(5),ce(" ",H(12,9,"vpn.server-options.edit-value.apply-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const cZ=["firstInput"];let JI=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=e,this.data=i,this.formBuilder=o}ngOnInit(){this.form=this.formBuilder.group({password:["",this.data?void 0:Yt.required]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){this.dialogRef.close("-"+this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(e,i){if(1&e&&pt(cZ,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:12,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","password","type","password","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.process()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,6,"vpn.server-list.password-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,8,"vpn.server-list.password-dialog.password"+(i.data?"-if-any":"")+"-label")),c(4),w("disabled",!i.form.valid),c(1),ce(" ",H(12,10,"vpn.server-list.password-dialog.continue-button")," "))},dependencies:[Ai,Ii,Pi,Oi,ti,yi,tr,br,Fi,Zn,yt]}),t})(),lr=(()=>{class t{static changeCurrentPk(e){this.currentPk=e}static setDefaultTabForServerList(e){sessionStorage.setItem(t.serverListTabStorageKey,e)}static get vpnTabsData(){const e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]}static getLatencyValueString(e){return e<1e3?"time-in-ms":"time-in-segs"}static getPrintableLatency(e){return e<1e3?e+"":(e/1e3).toFixed(1)}static processServerChange(e,i,o,s,a,l,d,_,E,F,G){let ie;if(_&&(E||F)||E&&(_||F)||F&&(_||E))throw new Error("Invalid call");if(_)ie=_.pk;else if(E)ie=E.pk;else{if(!F)throw new Error("Invalid call");ie=F.pk}const _e=o.getSavedVersion(ie,!0),xe=_e&&(G||_e.usedWithPassword),Ae=i.checkNewPk(ie);if(Ae!==wi.Busy)if(Ae!==wi.SamePkRunning||xe)if(Ae===wi.MustStop||Ae===wi.SamePkRunning&&xe){const ze=Zt.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");ze.componentInstance.operationAccepted.subscribe(()=>{ze.componentInstance.closeModal(),_?i.changeServerUsingHistory(_,G):E?i.changeServerUsingDiscovery(E,G):F&&i.changeServerManually(F,G),t.redirectAfterServerChange(e,l,d)})}else if(Ae!==wi.SamePkStopped||xe)_?i.changeServerUsingHistory(_,G):E?i.changeServerUsingDiscovery(E,G):F&&i.changeServerManually(F,G),t.redirectAfterServerChange(e,l,d);else{const ze=Zt.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");ze.componentInstance.operationAccepted.subscribe(()=>{ze.componentInstance.closeModal(),F&&_e&&o.processFromManual(F),i.start(),t.redirectAfterServerChange(e,l,d)})}else s.showWarning("vpn.server-change.already-selected-warning");else s.showError("vpn.server-change.busy-error")}static redirectAfterServerChange(e,i,o){i&&i.close(),e.navigate(["vpn",o,"status"])}static openServerOptions(e,i,o,s,a,l){const d=[],_=[];return e.usedWithPassword?(d.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),_.push(201),d.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),_.push(202)):e.enteredManually&&(d.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),_.push(202)),d.push({icon:"edit",label:"vpn.server-options.edit-name"}),_.push(101),d.push({icon:"subject",label:"vpn.server-options.edit-label"}),_.push(102),(!e||e.flag!==An.Favorite)&&(d.push({icon:"star",label:"vpn.server-options.make-favorite"}),_.push(1)),e&&e.flag===An.Favorite&&(d.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),_.push(-1)),(!e||e.flag!==An.Blocked)&&(d.push({icon:"pan_tool",label:"vpn.server-options.block"}),_.push(2)),e&&e.flag===An.Blocked&&(d.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),_.push(-2)),e&&e.inHistory&&(d.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),_.push(-3)),Rr.openDialog(l,d,"common.options").afterClosed().pipe(Ne(E=>{if(E){const F=o.getSavedVersion(e.pk,!0);if(e=F||e,_[E-=1]>200){if(201===_[E]){let G=!1;const ie=Zt.createConfirmationDialog(l,"vpn.server-options.connect-without-password-confirmation");return ie.componentInstance.operationAccepted.subscribe(()=>{G=!0,t.processServerChange(i,s,o,a,l,null,t.currentPk,e,null,null,null),ie.componentInstance.closeModal()}),ie.afterClosed().pipe(ke(()=>G))}return JI.openDialog(l,!1).afterClosed().pipe(ke(G=>!(!G||"-"===G||(t.processServerChange(i,s,o,a,l,null,t.currentPk,e,null,null,G.substr(1)),0))))}if(_[E]>100)return lZ.openDialog(l,{editName:101===_[E],server:e}).afterClosed();if(1===_[E])return t.makeFavorite(e,o,a,l);if(-1===_[E])return o.changeFlag(e,An.None),a.showDone("vpn.server-options.remove-from-favorites-done"),$e(!0);if(2===_[E])return t.blockServer(e,o,s,a,l);if(-2===_[E])return o.changeFlag(e,An.None),a.showDone("vpn.server-options.unblock-done"),$e(!0);if(-3===_[E])return t.removeFromHistory(e,o,a,l)}return $e(!1)}))}static removeFromHistory(e,i,o,s){let a=!1;const l=Zt.createConfirmationDialog(s,"vpn.server-options.remove-from-history-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.removeFromHistory(e.pk),o.showDone("vpn.server-options.remove-from-history-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(ke(()=>a))}static makeFavorite(e,i,o,s){if(e.flag!==An.Blocked)return i.changeFlag(e,An.Favorite),o.showDone("vpn.server-options.make-favorite-done"),$e(!0);let a=!1;const l=Zt.createConfirmationDialog(s,"vpn.server-options.make-favorite-confirmation");return l.componentInstance.operationAccepted.subscribe(()=>{a=!0,i.changeFlag(e,An.Favorite),o.showDone("vpn.server-options.make-favorite-done"),l.componentInstance.closeModal()}),l.afterClosed().pipe(ke(()=>a))}static blockServer(e,i,o,s,a){if(e.flag!==An.Favorite&&(!i.currentServer||i.currentServer.pk!==e.pk))return i.changeFlag(e,An.Blocked),s.showDone("vpn.server-options.block-done"),$e(!0);let l=!1;const d=i.currentServer&&i.currentServer.pk===e.pk;let _;_=e.flag!==An.Favorite?"vpn.server-options.block-selected-confirmation":d?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation";const E=Zt.createConfirmationDialog(a,_);return E.componentInstance.operationAccepted.subscribe(()=>{l=!0,i.changeFlag(e,An.Blocked),s.showDone("vpn.server-options.block-done"),d&&o.stop(),E.componentInstance.closeModal()}),E.afterClosed().pipe(ke(()=>l))}}return t.serverListTabStorageKey="ServerListTab",t.currentPk="",t})();var cr=(()=>((cr=cr||{})[cr.Seconds=0]="Seconds",cr[cr.Minutes=1]="Minutes",cr[cr.Hours=2]="Hours",cr[cr.Days=3]="Days",cr[cr.Weeks=4]="Weeks",cr))();class dZ{}class Ag{static getElapsedTime(n){const e=new dZ;e.timeRepresentation=cr.Seconds,e.totalMinutes=Math.floor(n/60).toString(),e.translationVarName="second";let i=1;n>=60&&n<3600?(e.timeRepresentation=cr.Minutes,i=60,e.translationVarName="minute"):n>=3600&&n<86400?(e.timeRepresentation=cr.Hours,i=3600,e.translationVarName="hour"):n>=86400&&n<604800?(e.timeRepresentation=cr.Days,i=86400,e.translationVarName="day"):n>=604800&&(e.timeRepresentation=cr.Weeks,i=604800,e.translationVarName="week");const o=Math.floor(n/i);return e.elapsedTime=o.toString(),(e.timeRepresentation===cr.Seconds||o>1)&&(e.translationVarName=e.translationVarName+"s"),e}}function uZ(t,n){1&t&&Ce(0,"mat-spinner",6),2&t&&w("diameter",14)}function hZ(t,n){1&t&&Ce(0,"mat-spinner",7),2&t&&w("diameter",18)}function fZ(t,n){1&t&&(k(0,"mat-icon",10),I(1,"refresh"),C()),2&t&&w("inline",!0)}function pZ(t,n){1&t&&(k(0,"mat-icon",11),I(1,"warning"),C()),2&t&&w("inline",!0)}function mZ(t,n){if(1&t&&(Ue(0),V(1,fZ,2,1,"mat-icon",8),V(2,pZ,2,1,"mat-icon",9),We()),2&t){const e=z();c(1),w("ngIf",!e.showAlert),c(1),w("ngIf",e.showAlert)}}const QI=function(t){return{time:t}};function gZ(t,n){if(1&t&&(k(0,"span",12),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),re(kt(2,1,"refresh-button."+e.elapsedTime.translationVarName,He(4,QI,e.elapsedTime.elapsedTime)))}}const _Z=function(t){return{"grey-button-background":t}};let bZ=(()=>{class t{constructor(){this.refeshRate=-1}set secondsSinceLastUpdate(e){this.elapsedTime=Ag.getElapsedTime(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:7,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],[1,"internal-container"],["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(e,i){1&e&&(k(0,"button",0),R(1,"translate"),k(2,"div",1),V(3,uZ,1,1,"mat-spinner",2),V(4,hZ,1,1,"mat-spinner",3),V(5,mZ,3,2,"ng-container",4),V(6,gZ,3,6,"span",5),C()()),2&e&&(w("disabled",i.showLoading)("ngClass",He(10,_Z,!i.showLoading))("matTooltip",i.showAlert?kt(1,7,"refresh-button.error-tooltip",He(12,QI,i.refeshRate)):""),c(3),w("ngIf",i.showLoading),c(1),w("ngIf",i.showLoading),c(1),w("ngIf",!i.showLoading),c(1),w("ngIf",i.elapsedTime))},dependencies:[Pn,Ft,$r,bn,Mi,nc,yt],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%] .internal-container[_ngcontent-%COMP%]{display:flex;align-items:center}.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})(),af=(()=>{class t{transform(e,i){let s,o=!0;i?i.showPerSecond?i.useBits?(s=t.measurementsPerSecInBits,o=!1):s=t.measurementsPerSec:i.useBits?(s=t.accumulatedMeasurementsInBits,o=!1):s=t.accumulatedMeasurements:s=t.accumulatedMeasurements;let a=new R1.BigNumber(e);o||(a=a.multipliedBy(8));let l=s[0],d=0;for(;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),d+=1,l=s[d];let _="";return(!i||i.showValue)&&(_=i&&i.limitDecimals?new R1.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!i||i.showValue&&i.showUnit)&&(_+=" "),(!i||i.showUnit)&&(_+=l),_}}return t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=ur({name:"autoScale",type:t,pure:!0}),t})();function vZ(t,n){if(1&t){const e=et();k(0,"button",23),ve("click",function(){return Pe(e),Oe(z().requestAction(null))}),k(1,"mat-icon"),I(2,"chevron_left"),C()()}}function yZ(t,n){1&t&&(Ue(0),Ce(1,"img",24),We())}function MZ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z();c(1),ce(" ",H(2,1,e.titleParts[e.titleParts.length-1])," ")}}const wZ=function(t){return{transparent:t}};function CZ(t,n){if(1&t){const e=et();Ue(0),k(1,"div",26),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).requestAction(s.actionName))}),k(2,"mat-icon",27),I(3),C(),I(4),R(5,"translate"),C(),We()}if(2&t){const e=n.$implicit;c(1),w("disabled",e.disabled),c(1),w("ngClass",He(6,wZ,e.disabled)),c(1),re(e.icon),c(1),ce(" ",H(5,4,e.name)," ")}}function xZ(t,n){1&t&&Ce(0,"div",28)}function kZ(t,n){if(1&t&&(Ue(0),V(1,CZ,6,8,"ng-container",25),V(2,xZ,1,0,"div",9),We()),2&t){const e=z();c(1),w("ngForOf",e.optionsData),c(1),w("ngIf",e.returnText)}}function SZ(t,n){1&t&&Ce(0,"div",28)}function DZ(t,n){1&t&&Ce(0,"img",31),2&t&&w("src","assets/img/lang/"+z(2).language.iconName,Vo)}function TZ(t,n){if(1&t){const e=et();k(0,"div",29),ve("click",function(){return Pe(e),Oe(z().openLanguageWindow())}),V(1,DZ,1,1,"img",30),I(2),R(3,"translate"),C()}if(2&t){const e=z();c(1),w("ngIf",e.language),c(1),ce(" ",H(3,2,e.language?e.language.name:"")," ")}}function LZ(t,n){if(1&t){const e=et();k(0,"div",32)(1,"a",33),ve("click",function(){return Pe(e),Oe(z().requestAction(null))}),R(2,"translate"),k(3,"mat-icon",34),I(4,"chevron_left"),C()()()}if(2&t){const e=z();c(1),w("matTooltip",H(2,2,e.returnText)),c(2),w("inline",!0)}}function EZ(t,n){if(1&t&&(k(0,"span",35),I(1),R(2,"translate"),C()),2&t){const e=z();c(1),ce(" ",H(2,1,e.titleParts[e.titleParts.length-1])," ")}}function IZ(t,n){1&t&&Ce(0,"img",36)}const PZ=function(t,n){return{"d-lg-none":t,"d-none d-md-inline-block":n}},eP=function(t,n){return{"mouse-disabled":t,"grey-button-background":n}};function OZ(t,n){if(1&t&&(k(0,"div",27)(1,"a",37)(2,"mat-icon",34),I(3),C(),k(4,"span"),I(5),R(6,"translate"),C()()()),2&t){const e=n.$implicit,i=n.index,o=z();w("ngClass",mn(9,PZ,e.onlyIfLessThanLg,1!==o.tabsData.length)),c(1),w("disabled",i===o.selectedTabIndex)("routerLink",e.linkParts)("ngClass",mn(12,eP,o.disableMouse,!o.disableMouse&&i!==o.selectedTabIndex)),c(1),w("inline",!0),c(1),re(e.icon),c(2),re(H(6,7,e.label))}}const AZ=function(t){return{"d-none":t}};function FZ(t,n){if(1&t){const e=et();k(0,"div",38)(1,"button",39),ve("click",function(){return Pe(e),Oe(z().openTabSelector())}),k(2,"div",40)(3,"mat-icon",34),I(4),C(),k(5,"span"),I(6),R(7,"translate"),C(),k(8,"mat-icon",34),I(9,"keyboard_arrow_down"),C()()()()}if(2&t){const e=z();w("ngClass",He(8,AZ,1===e.tabsData.length)),c(1),w("ngClass",mn(10,eP,e.disableMouse,!e.disableMouse)),c(2),w("inline",!0),c(1),re(e.tabsData[e.selectedTabIndex].icon),c(2),re(H(7,6,e.tabsData[e.selectedTabIndex].label)),c(2),w("inline",!0)}}function RZ(t,n){if(1&t){const e=et();k(0,"app-refresh-button",45),ve("click",function(){return Pe(e),Oe(z(2).sendRefreshEvent())}),C()}if(2&t){const e=z(2);w("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.showLoading)("showAlert",e.showAlert)("refeshRate",e.refeshRate)}}function NZ(t,n){if(1&t&&(k(0,"div",41),V(1,RZ,1,4,"app-refresh-button",42),k(2,"button",43)(3,"div",44)(4,"mat-icon",34),I(5,"menu"),C()()()()),2&t){const e=z(),i=ci(12);c(1),w("ngIf",e.showUpdateButton),c(1),w("matMenuTriggerFor",i),c(2),w("inline",!0)}}function YZ(t,n){if(1&t){const e=et();k(0,"div",53)(1,"div",54),ve("click",function(){return Pe(e),Oe(z(2).openLanguageWindow())}),Ce(2,"img",55),I(3),R(4,"translate"),C()()}if(2&t){const e=z(2);c(2),w("src","assets/img/lang/"+e.language.iconName,Vo),c(1),ce(" ",H(4,2,e.language?e.language.name:"")," ")}}function HZ(t,n){1&t&&(k(0,"div",56),R(1,"translate"),k(2,"mat-icon",34),I(3,"warning"),C(),I(4),R(5,"translate"),C()),2&t&&(w("matTooltip",H(1,3,"vpn.connection-error.info")),c(2),w("inline",!0),c(2),ce(" ",H(5,5,"vpn.connection-error.text")," "))}function BZ(t,n){1&t&&(k(0,"div",63)(1,"mat-icon",61),I(2,"brightness_1"),C()()),2&t&&(c(1),w("inline",!0))}const VZ=function(t,n){return{"animation-container":t,"d-none":n}},jZ=function(t){return{time:t}},tP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function zZ(t,n){if(1&t&&(k(0,"table",57)(1,"tr")(2,"td",58),R(3,"translate"),k(4,"div",27)(5,"div",59)(6,"div",60)(7,"mat-icon",61),I(8,"brightness_1"),C(),I(9),R(10,"translate"),C()()(),V(11,BZ,3,1,"div",62),k(12,"mat-icon",61),I(13,"brightness_1"),C(),I(14),R(15,"translate"),C(),k(16,"td",58),R(17,"translate"),k(18,"mat-icon",34),I(19,"swap_horiz"),C(),I(20),R(21,"translate"),C()(),k(22,"tr")(23,"td",58),R(24,"translate"),k(25,"mat-icon",34),I(26,"arrow_upward"),C(),I(27),R(28,"autoScale"),C(),k(29,"td",58),R(30,"translate"),k(31,"mat-icon",34),I(32,"arrow_downward"),C(),I(33),R(34,"autoScale"),C()()()),2&t){const e=z(2);c(2),eo(e.vpnData.stateClass+" state-td"),w("matTooltip",H(3,18,e.vpnData.state+"-info")),c(2),w("ngClass",mn(39,VZ,e.showVpnStateAnimation,!e.showVpnStateAnimation)),c(3),w("inline",!0),c(2),ce(" ",H(10,20,e.vpnData.state)," "),c(2),w("ngIf",e.showVpnStateAnimatedDot),c(1),w("inline",!0),c(2),ce(" ",H(15,22,e.vpnData.state)," "),c(2),w("matTooltip",H(17,24,"vpn.connection-info.latency-info")),c(2),w("inline",!0),c(2),ce(" ",kt(21,26,"common."+e.getLatencyValueString(e.vpnData.latency),He(42,jZ,e.getPrintableLatency(e.vpnData.latency)))," "),c(3),w("matTooltip",H(24,29,"vpn.connection-info.upload-info")),c(2),w("inline",!0),c(2),ce(" ",kt(28,31,e.vpnData.uploadSpeed,He(44,tP,e.showVpnDataStatsInBits))," "),c(2),w("matTooltip",H(30,34,"vpn.connection-info.download-info")),c(2),w("inline",!0),c(2),ce(" ",kt(34,36,e.vpnData.downloadSpeed,He(46,tP,e.showVpnDataStatsInBits))," ")}}function UZ(t,n){1&t&&Ce(0,"mat-spinner",64),2&t&&w("diameter",20)}function WZ(t,n){if(1&t&&(k(0,"div")(1,"div",46),V(2,YZ,5,4,"div",47),Ce(3,"div",48),V(4,HZ,6,7,"div",49),C(),k(5,"div",50),V(6,zZ,35,48,"table",51),V(7,UZ,1,1,"mat-spinner",52),C()()),2&t){const e=z();c(2),w("ngIf",!e.hideLanguageButton&&e.language),c(2),w("ngIf",e.errorsConnectingToVpn),c(2),w("ngIf",e.vpnData),c(1),w("ngIf",!e.vpnData)}}function $Z(t,n){1&t&&(k(0,"div",65)(1,"div",66)(2,"mat-icon",34),I(3,"error_outline"),C(),I(4),R(5,"translate"),C(),k(6,"div",67),I(7),R(8,"translate"),C()()),2&t&&(c(2),w("inline",!0),c(2),ce(" ",H(5,3,"vpn.remote-access-title")," "),c(3),ce(" ",H(8,5,"vpn.remote-access-text")," "))}const nP=function(t,n){return{"d-lg-none":t,"d-none":n}},GZ=function(t){return{"normal-height":t}},qZ=function(t,n){return{"d-none d-lg-flex":t,"d-flex":n}};let lc=(()=>{class t{set localVpnKey(e){this.localVpnKeyInternal=e,e?this.startGettingVpnInfo():this.stopGettingVpnInfo()}constructor(e,i,o,s,a){this.languageService=e,this.dialog=i,this.router=o,this.vpnClientService=s,this.vpnSavedDataService=a,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new ht,this.optionSelected=new ht,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=[]}ngOnInit(){this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(i=>{this.language=i})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(i=>{this.hideLanguageButton=!(i.length>1)}));const e=window.location.hostname;!e.toLowerCase().includes("localhost")&&!e.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)}ngOnDestroy(){this.langSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()}startGettingVpnInfo(){this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(e=>{e&&(this.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===on.Stopped?(this.vpnData.state="vpn.connection-info.state-disconnected",this.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===on.Connecting?(this.vpnData.state="vpn.connection-info.state-connecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===on.Running?(this.vpnData.state="vpn.connection-info.state-connected",this.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===on.ShuttingDown?(this.vpnData.state="vpn.connection-info.state-disconnecting",this.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===on.Reconnecting&&(this.vpnData.state="vpn.connection-info.state-reconnecting",this.vpnData.stateClass="yellow-clear-text"),this.initialVpnStateObtained?this.lastVpnState!==this.vpnData.state&&(this.lastVpnState=this.vpnData.state,this.showVpnStateAnimation=!1,this.showVpnStateChangeAnimationSubscription&&this.showVpnStateChangeAnimationSubscription.unsubscribe(),this.showVpnStateChangeAnimationSubscription=$e(0).pipe(Ei(1)).subscribe(()=>this.showVpnStateAnimation=!0)):(this.initialVpnStateObtained=!0,this.lastVpnState=this.vpnData.state),this.showVpnStateAnimatedDot=!1,this.showVpnStateAnimatedDotSubscription&&this.showVpnStateAnimatedDotSubscription.unsubscribe(),this.showVpnStateAnimatedDotSubscription=$e(0).pipe(Ei(1)).subscribe(()=>this.showVpnStateAnimatedDot=!0))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(e=>{this.errorsConnectingToVpn=e})}stopGettingVpnInfo(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()}getLatencyValueString(e){return lr.getLatencyValueString(e)}getPrintableLatency(e){return lr.getPrintableLatency(e)}requestAction(e){this.optionSelected.emit(e)}openLanguageWindow(){YI.openDialog(this.dialog)}sendRefreshEvent(){this.refreshRequested.emit()}openTabSelector(){const e=[];this.tabsData.forEach(i=>{e.push({label:i.label,icon:i.icon})}),Rr.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe(i=>{i&&(i-=1)!==this.selectedTabIndex&&this.router.navigate(this.tabsData[i].linkParts)})}updateVpnDataStatsUnit(){const e=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=e===Sr.BitsSpeedAndBytesVolume||e===Sr.OnlyBits}}return t.\u0275fac=function(e){return new(e||t)(N(bg),N(xn),N(hn),N(ac),N(sc))},t.\u0275cmp=Ke({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",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,"d-flex"],[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"],[1,"icon-container"],[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(e,i){if(1&e&&(k(0,"div",0)(1,"div",1),V(2,vZ,3,0,"button",2),C(),k(3,"div",3),V(4,yZ,2,0,"ng-container",4),V(5,MZ,3,3,"ng-container",4),C(),k(6,"div",1)(7,"button",5)(8,"mat-icon"),I(9,"menu"),C()()()(),Ce(10,"div",6),k(11,"mat-menu",7,8),V(13,kZ,3,2,"ng-container",4),V(14,SZ,1,0,"div",9),V(15,TZ,4,4,"div",10),C(),k(16,"div",11)(17,"div",12)(18,"div",13),V(19,LZ,5,4,"div",14),V(20,EZ,3,3,"span",15),V(21,IZ,1,0,"img",16),C(),k(22,"div",17),V(23,OZ,7,15,"div",18),V(24,FZ,10,13,"div",19),Ce(25,"div",20),V(26,NZ,6,3,"div",21),C()(),V(27,WZ,8,4,"div",4),C(),V(28,$Z,9,7,"div",22)),2&e){const o=ci(12);w("ngClass",mn(20,nP,!i.showVpnInfo,i.showVpnInfo)),c(2),w("ngIf",i.returnText),c(2),w("ngIf",!i.titleParts||i.titleParts.length<2),c(1),w("ngIf",i.titleParts&&i.titleParts.length>=2),c(2),w("matMenuTriggerFor",o),c(3),w("ngClass",mn(23,nP,!i.showVpnInfo,i.showVpnInfo)),c(1),w("overlapTrigger",!1),c(2),w("ngIf",i.optionsData&&i.optionsData.length>=1),c(1),w("ngIf",!i.hideLanguageButton&&i.optionsData&&i.optionsData.length>=1),c(1),w("ngIf",!i.hideLanguageButton),c(1),w("ngClass",He(26,GZ,!i.showVpnInfo)),c(2),w("ngClass",mn(28,qZ,!i.showVpnInfo,i.showVpnInfo)),c(1),w("ngIf",i.returnText),c(1),w("ngIf",!i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo),c(2),w("ngForOf",i.tabsData),c(1),w("ngIf",i.tabsData&&i.tabsData[i.selectedTabIndex]),c(2),w("ngIf",!i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo),c(1),w("ngIf",i.showVpnInfo&&i.remoteAccess)}},dependencies:[Pn,gi,Ft,Qa,RU,$r,ol,bn,Mi,Bd,ba,Vd,nc,bZ,yt,af],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!important;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{display:flex;place-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:#0000001f}.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:700}.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;user-select:none;width:auto;line-height:1}.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;animation:_ngcontent-%COMP%_state-icon-animation 1s linear 1}@keyframes _ngcontent-%COMP%_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;animation:_ngcontent-%COMP%_state-animation 1s linear 1;opacity:0}@keyframes _ngcontent-%COMP%_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%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 5px 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}"]}),t})();const iP=function(){return["start.title"]};function KZ(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3),C(),Ce(3,"app-loading-indicator",4),C()),2&t){const e=z();c(2),w("titleParts",qn(4,iP))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("showUpdateButton",!1)}}function ZZ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function XZ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function JZ(t,n){if(1&t&&(k(0,"div",23)(1,"span"),I(2),R(3,"translate"),C(),V(4,ZZ,3,3,"ng-container",24),V(5,XZ,2,1,"ng-container",24),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function QZ(t,n){if(1&t){const e=et();k(0,"div",20),ve("click",function(){return Pe(e),Oe(z(2).dataFilterer.removeFilters())}),V(1,JZ,6,5,"div",21),k(2,"div",22),I(3),R(4,"translate"),C()()}if(2&t){const e=z(2);c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function eX(t,n){if(1&t){const e=et();k(0,"mat-icon",25),ve("click",function(){return Pe(e),Oe(z(2).dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function tX(t,n){1&t&&(k(0,"mat-icon",26),I(1,"more_horiz"),C()),2&t&&(z(),w("matMenuTriggerFor",ci(12)))}const rP=function(){return["/nodes","list"]},oP=function(){return["/nodes","dmsg"]};function nX(t,n){if(1&t&&Ce(0,"app-paginator",27),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?qn(5,oP):qn(4,rP))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function iX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function rX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function oX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function sX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function aX(t,n){1&t&&(Ue(0),I(1,"*"),We())}function lX(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",42),I(2),C(),V(3,aX,2,0,"ng-container",24),We()),2&t){const e=z(5);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function cX(t,n){if(1&t){const e=et();k(0,"th",38),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.dmsgServerSortData))}),I(1),R(2,"translate"),V(3,lX,4,3,"ng-container",24),C()}if(2&t){const e=z(4);c(1),ce(" ",H(2,2,"nodes.dmsg-server")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.dmsgServerSortData)}}function dX(t,n){if(1&t&&(k(0,"mat-icon",42),I(1),C()),2&t){const e=z(5);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function uX(t,n){if(1&t){const e=et();k(0,"th",38),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.pingSortData))}),I(1),R(2,"translate"),V(3,dX,2,2,"mat-icon",35),C()}if(2&t){const e=z(4);c(1),ce(" ",H(2,2,"nodes.ping")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.pingSortData)}}function hX(t,n){1&t&&(k(0,"mat-icon",49),R(1,"translate"),I(2,"star"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"nodes.hypervisor-info"))}function fX(t,n){if(1&t){const e=et();k(0,"app-labeled-element-text",51),ve("labelEdited",function(){return Pe(e),Oe(z(6).forceDataRefresh())}),C()}if(2&t){const e=z(2).$implicit,i=z(4);In("id",e.dmsgServerPk),w("short",!0)("elementType",i.labeledElementTypes.DmsgServer)}}function pX(t,n){if(1&t&&(k(0,"td"),V(1,fX,1,3,"app-labeled-element-text",50),C()),2&t){const e=z().$implicit;c(1),w("ngIf",e.dmsgServerPk)}}const sP=function(t){return{time:t}};function mX(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z(2).$implicit;c(1),ce(" ",kt(2,1,"common.time-in-ms",He(4,sP,e.roundTripPing))," ")}}function gX(t,n){if(1&t&&(k(0,"td"),V(1,mX,3,6,"ng-container",24),C()),2&t){const e=z().$implicit;c(1),w("ngIf",e.dmsgServerPk)}}function _X(t,n){1&t&&(k(0,"button",52),R(1,"translate"),k(2,"mat-icon",42),I(3,"chevron_right"),C()()),2&t&&(w("matTooltip",H(1,2,"nodes.view-node")),c(2),w("inline",!0))}function bX(t,n){if(1&t){const e=et();k(0,"button",46),ve("click",function(o){Pe(e);const s=z().$implicit,a=z(4);return o.stopPropagation(),o.preventDefault(),Oe(a.deleteNode(s))}),R(1,"translate"),k(2,"mat-icon"),I(3,"close"),C()()}2&t&&w("matTooltip",H(1,1,"nodes.delete-node"))}const vX=function(t,n){return{"click-effect":t,"non-selectable":n}},aP=function(t){return["/nodes",t]};function yX(t,n){if(1&t){const e=et();k(0,"a",43)(1,"td"),V(2,hX,3,4,"mat-icon",44),C(),k(3,"td"),Ce(4,"span",45),R(5,"translate"),C(),k(6,"td"),I(7),C(),k(8,"td"),I(9),C(),V(10,pX,2,1,"td",24),V(11,gX,2,1,"td",24),k(12,"td",40)(13,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.copyToClipboard(a))}),R(14,"translate"),k(15,"mat-icon",42),I(16,"filter_none"),C()(),k(17,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.showEditLabelDialog(a))}),R(18,"translate"),k(19,"mat-icon",42),I(20,"short_text"),C()(),V(21,_X,4,4,"button",47),V(22,bX,4,3,"button",48),C()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",mn(22,vX,e.online,!e.online))("routerLink",e.online?He(25,aP,e.localPk):null),c(2),w("ngIf",e.isHypervisor),c(2),eo(i.nodeStatusClass(e,!0)),w("matTooltip",H(5,16,i.nodeStatusText(e,!0))),c(3),ce(" ",e.label," "),c(2),ce(" ",e.localPk," "),c(1),w("ngIf",i.showDmsgInfo),c(1),w("ngIf",i.showDmsgInfo),c(2),w("matTooltip",H(14,18,i.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),c(2),w("inline",!0),c(2),w("matTooltip",H(18,20,"labeled-element.edit-label")),c(2),w("inline",!0),c(2),w("ngIf",e.online),c(1),w("ngIf",!e.online)}}function MX(t,n){if(1&t){const e=et();k(0,"table",32)(1,"tr")(2,"th",33),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.hypervisorSortData))}),R(3,"translate"),k(4,"mat-icon",34),I(5,"star_outline"),C(),V(6,iX,2,2,"mat-icon",35),C(),k(7,"th",33),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.stateSortData))}),R(8,"translate"),Ce(9,"span",36),V(10,rX,2,2,"mat-icon",35),C(),k(11,"th",37),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.labelSortData))}),I(12),R(13,"translate"),V(14,oX,2,2,"mat-icon",35),C(),k(15,"th",38),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.keySortData))}),I(16),R(17,"translate"),V(18,sX,2,2,"mat-icon",35),C(),V(19,cX,4,4,"th",39),V(20,uX,4,4,"th",39),Ce(21,"th",40),C(),V(22,yX,23,27,"a",41),C()}if(2&t){const e=z(3);c(2),w("matTooltip",H(3,11,"nodes.hypervisor")),c(4),w("ngIf",e.dataSorter.currentSortingColumn===e.hypervisorSortData),c(1),w("matTooltip",H(8,13,"nodes.state-tooltip")),c(3),w("ngIf",e.dataSorter.currentSortingColumn===e.stateSortData),c(2),ce(" ",H(13,15,"nodes.label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),c(2),ce(" ",H(17,17,"nodes.key")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),c(1),w("ngIf",e.showDmsgInfo),c(1),w("ngIf",e.showDmsgInfo),c(2),w("ngForOf",e.dataSource)}}function wX(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function CX(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function xX(t,n){1&t&&(k(0,"div",62)(1,"mat-icon",67),I(2,"star"),C(),I(3,"\xa0 "),k(4,"span",68),I(5),R(6,"translate"),C()()),2&t&&(c(1),w("inline",!0),c(4),re(H(6,2,"nodes.hypervisor")))}function kX(t,n){if(1&t){const e=et();k(0,"div",63)(1,"span",9),I(2),R(3,"translate"),C(),I(4,": "),k(5,"app-labeled-element-text",69),ve("labelEdited",function(){return Pe(e),Oe(z(5).forceDataRefresh())}),C()()}if(2&t){const e=z().$implicit,i=z(4);c(2),re(H(3,3,"nodes.dmsg-server")),c(3),In("id",e.dmsgServerPk),w("elementType",i.labeledElementTypes.DmsgServer)}}function SX(t,n){if(1&t&&(k(0,"div",62)(1,"span",9),I(2),R(3,"translate"),C(),I(4),R(5,"translate"),C()),2&t){const e=z().$implicit;c(2),re(H(3,2,"nodes.ping")),c(2),ce(": ",kt(5,4,"common.time-in-ms",He(7,sP,e.roundTripPing))," ")}}const DX=function(t){return{"selectable click-effect":t}};function TX(t,n){if(1&t){const e=et();k(0,"a",59)(1,"tr",60)(2,"td",60)(3,"div",55)(4,"div",56),V(5,xX,7,4,"div",61),k(6,"div",62)(7,"span",9),I(8),R(9,"translate"),C(),I(10,": "),k(11,"span"),I(12),R(13,"translate"),C()(),k(14,"div",62)(15,"span",9),I(16),R(17,"translate"),C(),I(18),C(),k(19,"div",63)(20,"span",9),I(21),R(22,"translate"),C(),I(23),C(),V(24,kX,6,5,"div",64),V(25,SX,6,9,"div",61),C(),Ce(26,"div",65),k(27,"div",57)(28,"button",66),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),o.preventDefault(),Oe(l.showOptionsDialog(a))}),R(29,"translate"),k(30,"mat-icon"),I(31),C()()()()()()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",He(25,DX,e.online))("routerLink",e.online?He(27,aP,e.localPk):null),c(5),w("ngIf",e.isHypervisor),c(3),re(H(9,15,"nodes.state")),c(3),eo(i.nodeStatusClass(e,!1)+" title"),c(1),re(H(13,17,i.nodeStatusText(e,!1))),c(4),re(H(17,19,"nodes.label")),c(2),ce(": ",e.label," "),c(3),re(H(22,21,"nodes.key")),c(2),ce(": ",e.localPk," "),c(1),w("ngIf",i.showDmsgInfo),c(1),w("ngIf",i.showDmsgInfo),c(3),w("matTooltip",H(29,23,"common.options")),c(3),re("add")}}function LX(t,n){if(1&t){const e=et();k(0,"table",53)(1,"tr",54),ve("click",function(){return Pe(e),Oe(z(3).dataSorter.openSortingOrderModal())}),k(2,"td")(3,"div",55)(4,"div",56)(5,"div",9),I(6),R(7,"translate"),C(),k(8,"div"),I(9),R(10,"translate"),V(11,wX,3,3,"ng-container",24),V(12,CX,3,3,"ng-container",24),C()(),k(13,"div",57)(14,"mat-icon",42),I(15,"keyboard_arrow_down"),C()()()()(),V(16,TX,32,29,"a",58),C()}if(2&t){const e=z(3);c(6),re(H(7,6,"tables.sorting-title")),c(3),ce("",H(10,8,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource)}}function EX(t,n){if(1&t&&(k(0,"div",28)(1,"div",29),V(2,MX,23,19,"table",30),V(3,LX,17,10,"table",31),C()()),2&t){const e=z(2);c(2),w("ngIf",e.dataSource.length>0),c(1),w("ngIf",e.dataSource.length>0)}}function IX(t,n){if(1&t&&Ce(0,"app-paginator",27),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",e.showDmsgInfo?qn(5,oP):qn(4,rP))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function PX(t,n){1&t&&(k(0,"span",73),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"nodes.empty")))}function OX(t,n){1&t&&(k(0,"span",73),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"nodes.empty-with-filter")))}function AX(t,n){if(1&t&&(k(0,"div",28)(1,"div",70)(2,"mat-icon",71),I(3,"warning"),C(),V(4,PX,3,3,"span",72),V(5,OX,3,3,"span",72),C()()),2&t){const e=z(2);c(2),w("inline",!0),c(2),w("ngIf",0===e.allNodes.length),c(1),w("ngIf",0!==e.allNodes.length)}}const FX=function(t){return{"paginator-icons-fixer":t}};function RX(t,n){if(1&t){const e=et();k(0,"div",5)(1,"div",6)(2,"app-top-bar",7),ve("refreshRequested",function(){return Pe(e),Oe(z().forceDataRefresh(!0))})("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))}),C()(),k(3,"div",6)(4,"div",8)(5,"div",9),V(6,QZ,5,4,"div",10),C(),k(7,"div",11)(8,"div",12),V(9,eX,3,4,"mat-icon",13),V(10,tX,2,1,"mat-icon",14),k(11,"mat-menu",15,16)(13,"div",17),ve("click",function(){return Pe(e),Oe(z().removeOffline())}),I(14),R(15,"translate"),C()()(),V(16,nX,1,6,"app-paginator",18),C()(),V(17,EX,4,2,"div",19),V(18,IX,1,6,"app-paginator",18),V(19,AX,6,3,"div",19),C()()}if(2&t){const e=z();c(2),w("titleParts",qn(21,iP))("tabsData",e.tabsData)("selectedTabIndex",e.showDmsgInfo?1:0)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.options),c(2),w("ngClass",He(22,FX,e.numberOfPages>1)),c(2),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",e.allNodes&&e.allNodes.length>0),c(1),w("ngIf",e.dataSource.length>0),c(1),w("overlapTrigger",!1),c(2),In("disabled",!e.hasOfflineNodes),c(1),ce(" ",H(15,19,"nodes.delete-all-offline")," "),c(2),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0!==e.dataSource.length),c(1),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0===e.dataSource.length)}}let lP=(()=>{class t extends er{constructor(e,i,o,s,a,l,d,_,E,F,G){super(),this.nodeService=e,this.multipleNodeDataService=i,this.router=o,this.dialog=s,this.authService=a,this.storageService=l,this.ngZone=d,this.snackbarService=_,this.clipboardService=E,this.translateService=F,this.persistentServerDataResponseKey="serv-dat-response",this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new Vn(["isHypervisor"],"nodes.hypervisor",Xt.Boolean),this.stateSortData=new Vn(["online"],"nodes.state",Xt.Boolean),this.labelSortData=new Vn(["label"],"nodes.label",Xt.Text),this.keySortData=new Vn(["localPk"],"nodes.key",Xt.Text),this.dmsgServerSortData=new Vn(["dmsgServerPk"],"nodes.dmsg-server",Xt.Text,["dmsgServerPk_label"]),this.pingSortData=new Vn(["roundTripPing"],"nodes.ping",Xt.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.canLogOut=!0,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:$n.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:$n.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:$n.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:$n.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=Xi,this.updateOptionsMenu(),this.authVerificationSubscription=this.authService.checkLogin().subscribe(_e=>{this.canLogOut=_e!==Fr.AuthDisabled,this.updateOptionsMenu()}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);const ie=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(ie.push(this.dmsgServerSortData),ie.push(this.pingSortData)),this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,ie,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Hd(this.dialog,G,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_e=>{this.filteredNodes=_e,this.hasOfflineNodes=!1,this.filteredNodes.forEach(xe=>{xe.online||(this.hasOfflineNodes=!0)}),this.dataSorter.setData(this.filteredNodes)}),this.navigationsSubscription=G.paramMap.subscribe(_e=>{if(_e.has("page")){let xe=Number.parseInt(_e.get("page"),10);(isNaN(xe)||xe<1)&&(xe=1),this.currentPageInUrl=xe,this.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(()=>{this.multipleNodeDataService.forceRefresh()})}updateOptionsMenu(){this.options=[],this.options.push({name:"nodes.modify-rewards-all",actionName:"modifyRewardsAll",icon:"edit"}),this.canLogOut&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})}ngOnInit(){return this.startGettingData(!0),this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Th(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))}),super.ngOnInit()}ngOnDestroy(){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()}performAction(e){"logout"===e?this.logout():"updateAll"===e?this.updateAll():"modifyRewardsAll"===e&&this.changeRewardsToAll()}nodeStatusClass(e,i){return e.online?e.health&&e.health.servicesHealth===ro.Unhealthy?i?"dot-yellow blinking":"yellow-text":e.health&&e.health.servicesHealth===ro.Healthy?i?"dot-green":"green-text":i?"dot-outline-gray":"":i?"dot-red":"red-text"}nodeStatusText(e,i){return e.online?e.health&&e.health.servicesHealth===ro.Healthy?"node.statuses.online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===ro.Unhealthy?"node.statuses.partially-online"+(i?"-tooltip":""):e.health&&e.health.servicesHealth===ro.Connecting?"node.statuses.connecting"+(i?"-tooltip":""):"node.statuses.unknown"+(i?"-tooltip":""):"node.statuses.offline"+(i?"-tooltip":"")}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.multipleNodeDataService.forceRefresh()}startGettingData(e){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.multipleNodeDataService.startRequestingData();i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),this.updating=!s||s.updating,s&&!s.updating&&(s.data&&!s.error?(this.allNodes=s.data,this.showDmsgInfo&&this.allNodes.forEach(a=>{a.dmsgServerPk_label=ga.getCompleteLabel(this.storageService,this.translateService,a.dmsgServerPk)}),this.dataFilterer.setData(this.allNodes),this.loading=!1,this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=s.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-s.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,fa.currentInstance.hideDataProblemMsg(),this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1)):s.error&&(this.errorsUpdating||this.snackbarService.showError(this.loading?"common.loading-error":"nodes.error-load",null,!0,s.error),this.errorsUpdating=!0,fa.currentInstance.showDataProblemMsg())),i&&this.startGettingData(!1)})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){const e=Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(i,i+e)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)}logout(){const e=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}updateAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-update");const e=[],i=[];this.dataSource.forEach(o=>{if(o.online){const s={key:o.localPk,label:o.label,version:o.version,tag:o.buildTag};Zt.checkIfTagIsUpdatable(o.buildTag)?e.push(s):i.push(s)}}),tK.openDialog(this.dialog,e,i)}changeRewardsToAll(){if(!this.dataSource||0===this.dataSource.length)return void this.snackbarService.showError("nodes.no-visors-to-modify");const e=[];this.dataSource.forEach(o=>{o.online&&e.push({key:o.localPk,label:o.label})}),LK.openDialog(this.dialog,{nodes:e})}recursivelyUpdateWallets(e,i,o=0){return this.nodeService.update(e[e.length-1]).pipe(Co(()=>$e(null)),Ne(s=>(s&&s.updated&&!s.error?this.snackbarService.showDone(this.translateService.instant("nodes.update.done",{name:i[i.length-1]})):(this.snackbarService.showError(this.translateService.instant("nodes.update.update-error",{name:i[i.length-1]})),o+=1),e.pop(),i.pop(),e.length>=1?this.recursivelyUpdateWallets(e,i,o):$e(o))))}showOptionsDialog(e){const i=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&i.push({icon:"filter_none",label:"nodes.copy-dmsg"}),i.push({icon:"short_text",label:"labeled-element.edit-label"}),e.online||i.push({icon:"close",label:"nodes.delete-node"}),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.copySpecificTextToClipboard(e.localPk):this.showDmsgInfo?2===o?this.copySpecificTextToClipboard(e.dmsgServerPk):3===o?this.showEditLabelDialog(e):4===o&&this.deleteNode(e):2===o?this.showEditLabelDialog(e):3===o&&this.deleteNode(e)})}copyToClipboard(e){this.showDmsgInfo?Rr.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(o=>{1===o?this.copySpecificTextToClipboard(e.localPk):2===o&&this.copySpecificTextToClipboard(e.dmsgServerPk)}):this.copySpecificTextToClipboard(e.localPk)}copySpecificTextToClipboard(e){this.clipboardService.copy(e)&&this.snackbarService.showDone("copy.copied")}showEditLabelDialog(e){let i=this.storageService.getLabelInfo(e.localPk);i||(i={id:e.localPk,label:"",identifiedElementType:Xi.Node}),Y1.openDialog(this.dialog,i).afterClosed().subscribe(o=>{o&&this.forceDataRefresh()})}deleteNode(e){const i=Zt.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.setLocalNodesAsHidden([e.localPk],[e.ip]),this.forceDataRefresh(),this.snackbarService.showDone("nodes.deleted")})}removeOffline(){let e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");const i=Zt.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close();const o=[],s=[];this.filteredNodes.forEach(a=>{a.online||(o.push(a.localPk),s.push(a.ip))}),o.length>0&&(this.storageService.setLocalNodesAsHidden(o,s),this.forceDataRefresh(),1===o.length?this.snackbarService.showDone("nodes.deleted-singular"):this.snackbarService.showDone("nodes.deleted-plural",{number:o.length}))})}}return t.\u0275fac=function(e){return new(e||t)(N(ma),N(NI),N(hn),N(xn),N(Gh),N(Ji),N(ft),N(kn),N(nf),N(To),N(Cr))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-list"]],features:[nt],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 link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable","link-row",3,"ngClass","routerLink"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-button","","class","big-action-button transparent-button",3,"matTooltip",4,"ngIf"],["mat-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"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"selectable","click-effect",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","link-row",3,"ngClass","routerLink",4,"ngFor","ngForOf"],[1,"link-row",3,"ngClass","routerLink"],[1,"d-block"],["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(e,i){1&e&&(V(0,KZ,4,5,"div",0),V(1,RX,20,24,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Pn,gi,Ft,Qa,$r,ol,bn,Mi,Bd,ba,Vd,as,jd,lc,ga,yt],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}.non-selectable[_ngcontent-%COMP%]{cursor:not-allowed}"]}),t})();const NX=["content"],B1=function(t){return{number:t}};function YX(t,n){if(1&t&&(k(0,"div",14),I(1),R(2,"translate"),C()),2&t){const e=z(2);c(1),ce(" ",kt(2,1,"node.logs.filter-ignored",He(4,B1,e.logEntries.length-e.filteredLogEntries.length))," ")}}function HX(t,n){if(1&t){const e=et();k(0,"div",9),ve("click",function(){return Pe(e),Oe(z().showFilters())}),k(1,"div",10)(2,"div")(3,"span"),I(4),R(5,"translate"),C(),k(6,"span",11),I(7),R(8,"translate"),C()(),V(9,YX,3,6,"div",12),C(),Ce(10,"div",13),C()}if(2&t){const e=z();c(4),ce("",H(5,3,"node.logs.selected-filter")," "),c(3),re(H(8,5,"node.logs."+e.levelDetails.get(e.currentMinimumLevel).levelFilterName)),c(2),w("ngIf",e.logEntries.length>e.filteredLogEntries.length)}}function BX(t,n){if(1&t&&(k(0,"div",15)(1,"a",16),I(2),R(3,"translate"),C()()),2&t){const e=z();c(1),w("href",e.getFullLogsUrl(),Vo),c(1),ce(" ",kt(3,2,"node.logs.view-rest",He(5,B1,e.totalLogs))," ")}}function VX(t,n){1&t&&(Ue(0),I(1,":"),We())}function jX(t,n){if(1&t&&(k(0,"span"),I(1),C()),2&t){const e=z().$implicit;c(1),ce(" ",e.msg," ")}}function zX(t,n){if(1&t&&(Ue(0),k(1,"span",21),I(2),C(),k(3,"span"),I(4),C(),We()),2&t){const e=n.$implicit;c(2),ce(" ",e.name," "),c(2),ce(' ="',e.value,'" ')}}function UX(t,n){if(1&t&&(k(0,"div",15)(1,"span",18),I(2),C(),k(3,"span"),I(4),C(),I(5," [ "),k(6,"span",18),I(7),C(),k(8,"span",19),I(9),C(),I(10," ]"),V(11,VX,2,0,"ng-container",4),V(12,jX,2,1,"span",4),V(13,zX,5,2,"ng-container",20),C()),2&t){const e=n.$implicit,i=z(2);c(2),ce(" ",e.time," "),c(1),eo(i.levelDetails.get(e.level).colorClass),c(1),ce(" ",i.levelDetails.get(e.level).name," "),c(3),ce(" ",e.func," "),c(2),ce(" ",e._module," "),c(2),w("ngIf",e.msg),c(1),w("ngIf",e.msg),c(1),w("ngForOf",e.extra)}}function WX(t,n){if(1&t&&(Ue(0),V(1,UX,14,9,"div",17),We()),2&t){const e=z();c(1),w("ngForOf",e.filteredLogEntries)}}function $X(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.view-all")," "))}function GX(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z(2);c(1),ce(" ",kt(2,1,"node.logs.view-rest",He(4,B1,e.totalLogs))," ")}}function qX(t,n){if(1&t&&(k(0,"div",15)(1,"a",16),V(2,$X,3,3,"ng-container",4),V(3,GX,3,6,"ng-container",4),C()()),2&t){const e=z();c(1),w("href",e.getFullLogsUrl(),Vo),c(1),w("ngIf",!e.hasMoreLogMessages),c(1),w("ngIf",e.hasMoreLogMessages)}}function KX(t,n){1&t&&(k(0,"div",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.no-logs")," "))}function ZX(t,n){1&t&&(k(0,"div",22),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"node.logs.no-logs-for-filter")," "))}function XX(t,n){1&t&&Ce(0,"app-loading-indicator",23),2&t&&w("showWhite",!1)}function JX(t,n){1&t&&(k(0,"mat-icon",26),I(1,"refresh"),C()),2&t&&w("inline",!0)}const QX=function(t){return{time:t}};function eJ(t,n){if(1&t&&(k(0,"div",24),V(1,JX,2,1,"mat-icon",25),k(2,"span"),I(3),R(4,"translate"),C()()),2&t){const e=z();c(1),w("ngIf",!e.showAlert),c(2),re(kt(4,2,"refresh-button."+e.elapsedTime.translationVarName,He(5,QX,e.elapsedTime.elapsedTime)))}}var $t=(()=>(($t=$t||{})[$t.PanicLevel=0]="PanicLevel",$t[$t.FatalLevel=1]="FatalLevel",$t[$t.ErrorLevel=2]="ErrorLevel",$t[$t.WarnLevel=3]="WarnLevel",$t[$t.InfoLevel=4]="InfoLevel",$t[$t.DebugLevel=5]="DebugLevel",$t[$t.TraceLevel=6]="TraceLevel",$t[$t.Unknown=7]="Unknown",$t))();class tJ{constructor(){this.extra=[]}}let nJ=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.largeModalWidth,e.open(t,i)}constructor(e,i,o,s,a){this.dialogRef=e,this.nodeService=i,this.snackbarService=o,this.ngZone=s,this.dialog=a,this.levelDetails=new Map([[$t.PanicLevel,{name:"PANIC",colorClass:"panic-level-color",levelFilterName:"filter-panic",importance:8}],[$t.FatalLevel,{name:"FATAL",colorClass:"fatal-level-color",levelFilterName:"filter-faltal",importance:7}],[$t.ErrorLevel,{name:"ERROR",colorClass:"error-level-color",levelFilterName:"filter-error",importance:6}],[$t.WarnLevel,{name:"WARNING",colorClass:"warning-level-color",levelFilterName:"filter-warning",importance:5}],[$t.InfoLevel,{name:"INFO",colorClass:"info-level-color",levelFilterName:"filter-info",importance:4}],[$t.DebugLevel,{name:"DEBUG",colorClass:"debug-level-color",levelFilterName:"filter-debug",importance:3}],[$t.TraceLevel,{name:"TRACE",colorClass:"trace-level-color",levelFilterName:"filter-all",importance:2}],[$t.Unknown,{name:"UNKNOWN LOG",colorClass:"unknown-level-color",levelFilterName:"filter-all",importance:1}]]),this.currentMinimumLevel=$t.Unknown,this.loading=!0,this.LoadingMoment=0,this.maxElementsPerPage=1e3,this.logEntries=[],this.filteredLogEntries=[],this.hasMoreLogMessages=!1,this.totalLogs=0,this.shouldShowError=!0}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription(),this.removeTimeSubscription()}showFilters(){const e=[{icon:"",label:"node.logs.filter-all"},{icon:"",label:"node.logs.filter-debug"},{icon:"",label:"node.logs.filter-info"},{icon:"",label:"node.logs.filter-warning"},{icon:"",label:"node.logs.filter-error"},{icon:"",label:"node.logs.filter-faltal"},{icon:"",label:"node.logs.filter-panic"}],i=[$t.Unknown,$t.DebugLevel,$t.InfoLevel,$t.WarnLevel,$t.ErrorLevel,$t.FatalLevel,$t.PanicLevel];for(let o=0;o<=i.length;o++)this.currentMinimumLevel===i[o]&&(e[o].icon="check");Rr.openDialog(this.dialog,e,"node.logs.filter-title").afterClosed().subscribe(o=>{this.currentMinimumLevel=i[o-1],this.filter()})}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=$e(1).pipe(Ei(e),Ne(()=>this.nodeService.getRuntimeLogs(Mt.getCurrentNodeKey()))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}removeTimeSubscription(){this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}onLogsReceived(e){let i=0;this.totalLogs=e.length,this.hasMoreLogMessages=this.totalLogs-this.maxElementsPerPage>0,e.forEach(o=>{const s=new tJ;s.time=o.time,s._module=o._module,s.msg=o.msg,s.func=o.func;const a=o.level?o.level.toLowerCase():"";if(s.level=a.includes("panic")?$t.PanicLevel:a.includes("fatal")?$t.FatalLevel:a.includes("error")?$t.ErrorLevel:a.includes("warn")?$t.WarnLevel:a.includes("info")?$t.InfoLevel:a.includes("debug")?$t.DebugLevel:a.includes("trace")?$t.TraceLevel:$t.Unknown,o.current_backoff){const d=Math.floor(o.current_backoff/1e9),_=Math.floor(d/60),E=Math.floor(d%60);s.extra.push(_?{name:"current_backoff",value:_+"m"+E+"s"}:{name:"current_backoff",value:E+"s"})}o.error&&s.extra.push({name:"error",value:o.error});const l=new Set;l.add("time"),l.add("_module"),l.add("msg"),l.add("func"),l.add("level"),l.add("current_backoff"),l.add("error"),l.add("log_line");for(const d in o)l.has(d)||s.extra.push({name:d,value:o[d]});this.totalLogs-i<=this.maxElementsPerPage&&this.logEntries.push(s),i+=1}),this.loading=!1,this.LoadingMoment=Date.now(),this.startUpdatingTime(),this.filter()}filter(){this.filteredLogEntries=[];const e=this.levelDetails.get(this.currentMinimumLevel).importance;this.logEntries.forEach(i=>{const o=this.levelDetails.get(i.level).importance;e<=o&&this.filteredLogEntries.push(i)}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}startUpdatingTime(){this.elapsedTime=Ag.getElapsedTime(Math.floor((Date.now()-this.LoadingMoment)/1e3)),this.removeTimeSubscription(),this.timeUpdateSubscription=Th(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.elapsedTime=Ag.getElapsedTime(Math.floor((Date.now()-this.LoadingMoment)/1e3))}))}getFullLogsUrl(){return window.location.origin+"/api/visors/"+Mt.getCurrentNodeKey()+"/runtime-logs"}onLogsError(e){e=Qt(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(ma),N(kn),N(ft),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-logs"]],viewQuery:function(e,i){if(1&e&&pt(NX,5),2&e){let o;it(o=rt())&&(i.content=o.first)}},decls:13,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],["class","top-dialog-button",3,"click",4,"ngIf"],["content",""],["class","log-entry",4,"ngIf"],[4,"ngIf"],["class","log-empty-msg",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"update-button","subtle-transparent-button",3,"click"],["class","update-time",4,"ngIf"],[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"actual-value"],["class","small",4,"ngIf"],[1,"top-dialog-button-margin"],[1,"small"],[1,"log-entry"],["target","_blank",1,"view-raw-link",3,"href"],["class","log-entry",4,"ngFor","ngForOf"],[1,"transparent"],[1,"module-color"],[4,"ngFor","ngForOf"],[1,"extra-data-color"],[1,"log-empty-msg"],[3,"showWhite"],[1,"update-time"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,HX,11,7,"div",1),k(3,"mat-dialog-content",null,2),V(5,BX,4,7,"div",3),V(6,WX,2,1,"ng-container",4),V(7,qX,4,3,"div",3),V(8,KX,3,3,"div",5),V(9,ZX,3,3,"div",5),V(10,XX,1,1,"app-loading-indicator",6),k(11,"div",7),ve("click",function(){return i.loadData(0)}),V(12,eJ,5,7,"div",8),C()()()),2&e&&(w("headline",H(1,12,"node.logs.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),c(2),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0),c(3),w("ngIf",!i.loading&&i.hasMoreLogMessages),c(1),w("ngIf",!i.loading),c(1),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0),c(1),w("ngIf",!(i.loading||i.logEntries&&0!==i.logEntries.length)),c(1),w("ngIf",!i.loading&&i.logEntries&&i.logEntries.length>0&&i.filteredLogEntries.length<1),c(1),w("ngIf",i.loading),c(2),w("ngIf",!i.loading))},dependencies:[gi,Ft,lg,bn,Zn,as,yt],styles:[".top-dialog-button[_ngcontent-%COMP%]{color:#777!important}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{text-align:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .actual-value[_ngcontent-%COMP%]{color:#202226}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .small[_ngcontent-%COMP%]{font-size:.6rem}.log-entry[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.log-entry[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.log-entry[_ngcontent-%COMP%]:first-of-type{margin-top:0}.log-entry[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.log-empty-msg[_ngcontent-%COMP%]{text-align:center}.view-raw-link[_ngcontent-%COMP%]{color:#215f9e}.update-button[_ngcontent-%COMP%]{display:flex;justify-content:center;cursor:pointer}.update-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;margin-right:5px}.update-button[_ngcontent-%COMP%] .update-time[_ngcontent-%COMP%]{text-align:center;font-size:.7rem;color:#202226;margin:0 5px}.panic-level-color[_ngcontent-%COMP%], .fatal-level-color[_ngcontent-%COMP%]{color:red}.error-level-color[_ngcontent-%COMP%]{color:#d10000}.warning-level-color[_ngcontent-%COMP%]{color:#e27505}.info-level-color[_ngcontent-%COMP%]{color:#0d9519}.debug-level-color[_ngcontent-%COMP%]{color:#0065ff}.trace-level-color[_ngcontent-%COMP%]{color:#468cf5}.unknown-level-color[_ngcontent-%COMP%]{color:#e27505}.module-color[_ngcontent-%COMP%]{color:#a119fc}.extra-data-color[_ngcontent-%COMP%]{color:#ad8021}"]}),t})();class cP{constructor(n,e){this.canBeUpdated=!1,this.canOpenTerminal=!1,this.options=[],this.dialog=n.get(xn),this.router=n.get(hn),this.snackbarService=n.get(kn),this.nodeService=n.get(ma),this.storageService=n.get(Ji),this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title",this.updateOptions()}updateOptions(){this.options=[],this.canOpenTerminal&&this.options.push({name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"}),this.options.push({name:"actions.menu.logs",actionName:"logs",icon:"subject"}),this.options.push({name:"actions.menu.turn-off",actionName:"shutdown",icon:"power_settings_new"})}setCurrentNode(n){this.currentNode=n,this.canBeUpdated=!!Zt.checkIfTagIsUpdatable(n.buildTag),this.canOpenTerminal=Zt.checkIfTagCanOpenterminal(n.buildTag),this.updateOptions()}setCurrentNodeKey(n){this.currentNodeKey=n}performAction(n,e){"terminal"===n?this.terminal():"update"===n?this.update():"logs"===n?this.runtimeLogs():"shutdown"===n?this.shutdown():null===n&&this.back()}dispose(){this.updateSubscription&&this.updateSubscription.unsubscribe(),this.shutdownSubscription&&this.shutdownSubscription.unsubscribe()}shutdown(){const n=Zt.createConfirmationDialog(this.dialog,"actions.turn-off.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{n.componentInstance.showProcessing(),this.shutdownSubscription=this.nodeService.shutdown(this.currentNodeKey).subscribe(()=>{this.snackbarService.showDone("actions.turn-off.done"),n.close(),this.router.navigate(["nodes"])},e=>{e=Qt(e),n.componentInstance.showDone("confirmation.error-header-text",e.translatableErrorMsg)})})}update(){const n=Zt.createConfirmationDialog(this.dialog,"actions.update.confirmation");n.componentInstance.operationAccepted.subscribe(()=>{const e=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(e+"//"+i+"/pty/"+this.currentNodeKey+"?commands=update","_blank","noopener noreferrer"),n.close()})}terminal(){const n=window.location.protocol,e=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(n+"//"+e+"/pty/"+this.currentNodeKey,"_blank","noopener noreferrer")}runtimeLogs(){nJ.openDialog(this.dialog)}back(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])}}class iJ{constructor(){this.trafficData=new rJ}}class rJ{constructor(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}class oJ{constructor(){this.lastEmitedData=new iJ,this.dataSubject=new Or(null),this.whenUpdateWasScheduled=0,this.stopRequestedDate=-1}}let sJ=(()=>{class t{constructor(e,i){this.storageService=e,this.nodeService=i,this.maxTrafficHistorySlots=10,this.expirationTime=6e4,this.nodesMap=new Map,this.storageService.getRefreshTimeObservable().subscribe(o=>{this.dataRefreshDelay=1e3*o,this.nodesMap.forEach(s=>{this.forceSpecificNodeRefresh(s.pk)})}),this.checkForExpired()}checkForExpired(){$e(1).pipe(Ei(5e3)).subscribe(()=>{try{this.nodesMap.forEach(e=>{this.finishIfExpired(e)})}catch{}this.checkForExpired()})}startRequestingData(e){let i=this.nodesMap.get(e);return i?i.stopRequestedDate=-1:(i=new oJ,i.pk=e,this.nodesMap.set(e,i),this.startDataSubscription(0,i)),i.dataSubject.asObservable()}stopRequestingSpecificNode(e){const i=this.nodesMap.get(e);i&&(i.stopRequestedDate=Date.now())}startDataSubscription(e,i){i.updateSubscription&&i.updateSubscription.unsubscribe(),i.updateSubscription=$e(1).pipe(Ei(e),bi(()=>{i.lastEmitedData.updating=!0,i.dataSubject.next(i.lastEmitedData)}),Ei(120),Ne(()=>this.nodeService.getNode(i.pk))).subscribe(o=>{this.updateTrafficData(o.transports,i.lastEmitedData.trafficData,i.whenUpdateWasScheduled);let s=this.calculateRemainingTime(i.whenUpdateWasScheduled);s<1e3&&(i.whenUpdateWasScheduled=Date.now(),s=this.dataRefreshDelay),i.lastEmitedData={data:o,error:null,momentOfLastCorrectUpdate:Date.now(),updating:!1,trafficData:i.lastEmitedData.trafficData},i.dataSubject.next(i.lastEmitedData),this.startDataSubscription(s,i)},o=>{o=Qt(o),i.lastEmitedData={data:i.lastEmitedData.data,error:o,momentOfLastCorrectUpdate:i.lastEmitedData.momentOfLastCorrectUpdate,updating:!1,trafficData:i.lastEmitedData.trafficData},i.dataSubject.next(i.lastEmitedData),o.originalError&&400===o.originalError.status?(i.dataSubject.complete(),i.updateSubscription.unsubscribe(),this.nodesMap.delete(i.pk)):this.startDataSubscription(Bt.connectionRetryDelay,i)})}calculateRemainingTime(e){if(e<1)return 0;let i=this.dataRefreshDelay-(Date.now()-e);return i<0&&(i=0),i}updateTrafficData(e,i,o){if(i.totalSent=0,i.totalReceived=0,e&&e.length>0&&(i.totalSent=e.reduce((s,a)=>s+a.sent,0),i.totalReceived=e.reduce((s,a)=>s+a.recv,0)),0===i.sentHistory.length)for(let s=0;sthis.maxTrafficHistorySlots&&(a=this.maxTrafficHistorySlots),0===a)i.sentHistory[i.sentHistory.length-1]=i.totalSent,i.receivedHistory[i.receivedHistory.length-1]=i.totalReceived;else for(let l=0;lthis.maxTrafficHistorySlots&&(i.sentHistory.splice(0,i.sentHistory.length-this.maxTrafficHistorySlots),i.receivedHistory.splice(0,i.receivedHistory.length-this.maxTrafficHistorySlots))}}forceSpecificNodeRefresh(e){const i=this.nodesMap.get(e);i&&this.startDataSubscription(0,i)}finishIfExpired(e){e.stopRequestedDate>0&&Date.now()-e.stopRequestedDate>this.expirationTime&&(e.dataSubject.complete(),e.updateSubscription.unsubscribe(),this.nodesMap.delete(e.pk))}}return t.\u0275fac=function(e){return new(e||t)(we(Ji),we(ma))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function aJ(t,n){1&t&&Ce(0,"app-loading-indicator")}function lJ(t,n){1&t&&(k(0,"div",6)(1,"div")(2,"mat-icon",7),I(3,"error"),C(),I(4),R(5,"translate"),C()()),2&t&&(c(2),w("inline",!0),c(2),ce(" ",H(5,2,"node.not-found")," "))}function cJ(t,n){if(1&t){const e=et();k(0,"div",2)(1,"div")(2,"app-top-bar",3),ve("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))}),C()(),V(3,aJ,1,0,"app-loading-indicator",4),V(4,lJ,6,4,"div",5),C()}if(2&t){const e=z();c(2),w("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("showUpdateButton",!1)("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound)}}function dJ(t,n){if(1&t&&Ce(0,"app-node-info-content",15),2&t){const e=z(2);w("nodeInfo",e.node)("trafficData",e.trafficData)}}const uJ=function(t,n){return{"main-area":t,"full-size-main-area":n}},hJ=function(t){return{"d-none":t}};function fJ(t,n){if(1&t){const e=et();k(0,"div",8)(1,"div",9)(2,"app-top-bar",10),ve("optionSelected",function(o){return Pe(e),Oe(z().performAction(o))})("refreshRequested",function(){return Pe(e),Oe(z().forceDataRefresh(!0))}),C()(),k(3,"div",9)(4,"div",11)(5,"div",12),Ce(6,"router-outlet"),C()(),k(7,"div",13),V(8,dJ,1,2,"app-node-info-content",14),C()()()}if(2&t){const e=z();c(2),w("titleParts",e.titleParts)("tabsData",e.tabsData)("selectedTabIndex",e.selectedTabIndex)("secondsSinceLastUpdate",e.secondsSinceLastUpdate)("showLoading",e.updating)("showAlert",e.errorsUpdating)("refeshRate",e.storageService.getRefreshTime())("optionsData",e.nodeActionsHelper?e.nodeActionsHelper.options:null)("returnText",e.nodeActionsHelper?e.nodeActionsHelper.returnButtonText:""),c(2),w("ngClass",mn(12,uJ,!e.showingInfo&&!e.showingFullList,e.showingInfo||e.showingFullList)),c(3),w("ngClass",He(15,hJ,e.showingInfo||e.showingFullList)),c(1),w("ngIf",!e.showingInfo&&!e.showingFullList)}}let Mt=(()=>{class t extends er{static refreshCurrentDisplayedData(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)}static getCurrentNodeKey(){return t.currentNodeKey}static get currentNode(){return t.nodeSubject.asObservable()}static get currentTrafficData(){return t.trafficDataSubject.asObservable()}constructor(e,i,o,s,a,l,d){super(),this.storageService=e,this.singleNodeDataService=i,this.route=o,this.ngZone=s,this.snackbarService=a,this.injector=l,this.persistentDataResponseKey="serv-dat-response",this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.initialRouteEventFired=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new ko(1),t.trafficDataSubject=new ko(1),t.currentInstanceInternal=this,this.navigationsSubscription=d.events.subscribe(_=>{_.urlAfterRedirects&&(this.lastUrl=_.urlAfterRedirects,this.processRouteUpdate(),this.initialRouteEventFired=!0)})}ngOnInit(){return this.ngZone.runOutsideAngular(()=>{this.updateTimeSubscription=Th(5e3,5e3).subscribe(()=>this.ngZone.run(()=>{this.secondsSinceLastUpdate=Math.floor((Date.now()-this.lastUpdate)/1e3)}))}),this.initSubscription=$e(0).pipe(Ei(500)).subscribe(()=>{this.initialRouteEventFired||(this.lastUrl=window.location.href,this.processRouteUpdate())}),super.ngOnInit()}processRouteUpdate(){t.currentNodeKey=this.route.snapshot.params.key,this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.updateTabBar(),this.navigationsSubscription.unsubscribe(),this.startGettingData(!0)}updateTabBar(){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 cP(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 cP(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);let 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=[]}performAction(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)}forceDataRefresh(e=!1){e&&(this.lastUpdateRequestedManually=!0),this.singleNodeDataService.forceSpecificNodeRefresh(t.currentNodeKey)}startGettingData(e){const i=e?this.getLocalValue(this.persistentDataResponseKey):null;let o=this.singleNodeDataService.startRequestingData(t.currentNodeKey);i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{if(i||this.saveLocalValue(this.persistentDataResponseKey,JSON.stringify(s)),this.updating=!s||s.updating,s&&!s.updating)if(s.data&&!s.error)this.node=s.data,this.trafficData=s.trafficData,t.nodeSubject.next(this.node),t.trafficDataSubject.next(this.trafficData),this.nodeActionsHelper&&this.nodeActionsHelper.setCurrentNode(this.node),this.snackbarService.closeCurrentIfTemporaryError(),this.lastUpdate=s.momentOfLastCorrectUpdate,this.secondsSinceLastUpdate=Math.floor((Date.now()-s.momentOfLastCorrectUpdate)/1e3),this.errorsUpdating=!1,fa.currentInstance.hideDataProblemMsg(),this.lastUpdateRequestedManually&&(this.snackbarService.showDone("common.refreshed",null),this.lastUpdateRequestedManually=!1);else if(s.error){if(s.error.originalError&&400===s.error.originalError.status)return void(this.notFound=!0);this.errorsUpdating||this.snackbarService.showError(this.node?"node.error-load":"common.loading-error",null,!0,s.error),this.errorsUpdating=!0,fa.currentInstance.showDataProblemMsg()}i&&this.startGettingData(!1)})}ngOnDestroy(){this.singleNodeDataService.stopRequestingSpecificNode(t.currentNodeKey),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.initSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,t.trafficDataSubject.complete(),t.trafficDataSubject=void 0,this.nodeActionsHelper.dispose()}}return t.\u0275fac=function(e){return new(e||t)(N(Ji),N(sJ),N(Cr),N(ft),N(kn),N(Ti),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node"]],features:[nt],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","trafficData",4,"ngIf"],[3,"nodeInfo","trafficData"]],template:function(e,i){1&e&&(V(0,cJ,5,8,"div",0),V(1,fJ,9,17,"div",1)),2&e&&(w("ngIf",!i.node),c(1),w("ngIf",i.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 pJ(t,n){if(1&t&&(k(0,"mat-option",10),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;In("value",e),c(1),vo(" ",e," ",H(2,3,"settings.seconds")," ")}}let mJ=(()=>{class t{constructor(e,i,o){this.formBuilder=e,this.storageService=i,this.snackbarService=o,this.timesList=["3","5","10","15","30","60","90","150","300"]}ngOnInit(){this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(e=>{this.storageService.setRefreshTime(e),this.snackbarService.showDone("settings.refresh-rate-confirmation")})}ngOnDestroy(){this.subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(_r),N(Ji),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-refresh-rate"]],decls:14,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[1,"help-icon",3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","refreshRate"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"mat-icon",3),R(4,"translate"),I(5," help "),C()(),k(6,"form",4)(7,"mat-form-field",5)(8,"div",6)(9,"label",7),I(10),R(11,"translate"),C(),k(12,"mat-select",8),V(13,pJ,3,5,"mat-option",9),C()()()()()()),2&e&&(c(3),w("inline",!0)("matTooltip",H(4,5,"settings.refresh-rate-help")),c(3),w("formGroup",i.form),c(4),re(H(11,7,"settings.refresh-rate")),c(3),w("ngForOf",i.timesList))},dependencies:[gi,Ai,Pi,Oi,ti,yi,tr,bn,Mi,Yd,Ql,yt],styles:[".help-icon[_ngcontent-%COMP%]{display:inline}mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-mdc-form-field-bottom-align{margin-bottom:0!important}"]}),t})();const gJ=function(t){return{number:t}};let Fg=(()=>{class t{constructor(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"a",1),I(2),R(3,"translate"),k(4,"mat-icon",2),I(5,"chevron_right"),C()()()),2&e&&(c(1),w("routerLink",i.linkParts)("queryParams",i.queryParams),c(1),ce(" ",kt(3,4,"view-all-link.label",He(7,gJ,i.numberOfElements))," "),c(2),w("inline",!0))},dependencies:[Qa,bn,yt],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:7px}"]}),t})();function _J(t,n){1&t&&(k(0,"span",14),I(1),R(2,"translate"),k(3,"mat-icon",15),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"labels.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"labels.info")))}function bJ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function vJ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function yJ(t,n){if(1&t&&(k(0,"div",19)(1,"span"),I(2),R(3,"translate"),C(),V(4,bJ,3,3,"ng-container",20),V(5,vJ,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function MJ(t,n){if(1&t){const e=et();k(0,"div",16),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,yJ,6,5,"div",17),k(2,"div",18),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function wJ(t,n){if(1&t){const e=et();k(0,"mat-icon",21),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function CJ(t,n){if(1&t&&(k(0,"mat-icon",22),I(1,"more_horiz"),C()),2&t){z();const e=ci(9);w("inline",!0)("matMenuTriggerFor",e)}}const V1=function(){return["/settings","labels"]};function xJ(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",qn(4,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function kJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function SJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function DJ(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function TJ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td",38)(2,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),I(4),C(),k(5,"td"),I(6),C(),k(7,"td"),I(8),R(9,"translate"),C(),k(10,"td",29)(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).delete(s.id))}),R(12,"translate"),k(13,"mat-icon",36),I(14,"close"),C()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("checked",i.selections.get(e.id)),c(2),ce(" ",e.label," "),c(2),ce(" ",e.id," "),c(2),vo(" ",i.getLabelTypeIdentification(e)[0]," - ",H(9,7,i.getLabelTypeIdentification(e)[1])," "),c(3),w("matTooltip",H(12,9,"labels.delete")),c(2),w("inline",!0)}}function LJ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function EJ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function IJ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",33)(3,"div",41)(4,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",34)(6,"div",42)(7,"span",1),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",43)(12,"span",1),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",42)(17,"span",1),I(18),R(19,"translate"),C(),I(20),R(21,"translate"),C()(),Ce(22,"div",44),k(23,"div",35)(24,"button",45),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(25,"translate"),k(26,"mat-icon"),I(27),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(4),w("checked",i.selections.get(e.id)),c(4),re(H(9,10,"labels.label")),c(2),ce(": ",e.label," "),c(3),re(H(14,12,"labels.id")),c(2),ce(": ",e.id," "),c(3),re(H(19,14,"labels.type")),c(2),vo(": ",i.getLabelTypeIdentification(e)[0]," - ",H(21,16,i.getLabelTypeIdentification(e)[1])," "),c(4),w("matTooltip",H(25,18,"common.options")),c(3),re("add")}}function PJ(t,n){if(1&t&&Ce(0,"app-view-all-link",46),2&t){const e=z(2);w("numberOfElements",e.filteredLabels.length)("linkParts",qn(3,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const OJ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},AJ=function(t){return{"d-lg-none d-xl-table":t}},FJ=function(t){return{"d-lg-table d-xl-none":t}};function RJ(t,n){if(1&t){const e=et();k(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ce(4,"th"),k(5,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.labelSortData))}),I(6),R(7,"translate"),V(8,kJ,2,2,"mat-icon",28),C(),k(9,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.idSortData))}),I(10),R(11,"translate"),V(12,SJ,2,2,"mat-icon",28),C(),k(13,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(14),R(15,"translate"),V(16,DJ,2,2,"mat-icon",28),C(),Ce(17,"th",29),C(),V(18,TJ,15,11,"tr",30),C(),k(19,"table",31)(20,"tr",32),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(21,"td")(22,"div",33)(23,"div",34)(24,"div",1),I(25),R(26,"translate"),C(),k(27,"div"),I(28),R(29,"translate"),V(30,LJ,3,3,"ng-container",20),V(31,EJ,3,3,"ng-container",20),C()(),k(32,"div",35)(33,"mat-icon",36),I(34,"keyboard_arrow_down"),C()()()()(),V(35,IJ,28,20,"tr",30),C(),V(36,PJ,1,4,"app-view-all-link",37),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(27,OJ,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(30,AJ,e.showShortList_)),c(4),ce(" ",H(7,17,"labels.label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.labelSortData),c(2),ce(" ",H(11,19,"labels.id")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),c(2),ce(" ",H(15,21,"labels.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(32,FJ,e.showShortList_)),c(6),re(H(26,23,"tables.sorting-title")),c(3),ce("",H(29,25,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function NJ(t,n){1&t&&(k(0,"span",50),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"labels.empty")))}function YJ(t,n){1&t&&(k(0,"span",50),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"labels.empty-with-filter")))}function HJ(t,n){if(1&t&&(k(0,"div",24)(1,"div",47)(2,"mat-icon",48),I(3,"warning"),C(),V(4,NJ,3,3,"span",49),V(5,YJ,3,3,"span",49),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allLabels.length),c(1),w("ngIf",0!==e.allLabels.length)}}function BJ(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",qn(4,V1))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const VJ=function(t){return{"paginator-icons-fixer":t}};let dP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredLabels)}constructor(e,i,o,s,a,l){this.dialog=e,this.route=i,this.router=o,this.snackbarService=s,this.translateService=a,this.storageService=l,this.listId="ll",this.labelSortData=new Vn(["label"],"labels.label",Xt.Text),this.idSortData=new Vn(["id"],"labels.id",Xt.Text),this.typeSortData=new Vn(["identifiedElementType_sort"],"labels.type",Xt.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:$n.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:$n.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:$n.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:Xi.Node,label:"labels.filter-dialog.type-options.visor"},{value:Xi.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:Xi.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Hd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredLabels=_,this.dataSorter.setData(this.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()}loadData(){this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(e=>{e.identifiedElementType_sort=this.getLabelTypeIdentification(e)[0]}),this.dataFilterer.setData(this.allLabels)}getLabelTypeIdentification(e){return e.identifiedElementType===Xi.Node?["1","labels.filter-dialog.type-options.visor"]:e.identifiedElementType===Xi.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:e.identifiedElementType===Xi.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.close(),this.selections.forEach((i,o)=>{i&&this.storageService.saveLabel(o,"",null)}),this.snackbarService.showDone("labels.deleted"),this.loadData()})}showOptionsDialog(e){Rr.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(o=>{1===o&&this.delete(e.id)})}delete(e){const i=Zt.createConfirmationDialog(this.dialog,"labels.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.storageService.saveLabel(e,"",null),this.snackbarService.showDone("labels.deleted"),this.loadData()})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredLabels){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(i,i+e);const s=new Map;this.labelsToShow.forEach(l=>{s.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,_J,6,7,"span",2),V(3,MJ,5,4,"div",3),C(),k(4,"div",4)(5,"div",5),V(6,wJ,3,4,"mat-icon",6),V(7,CJ,2,2,"mat-icon",7),k(8,"mat-menu",8,9)(10,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(11),R(12,"translate"),C(),k(13,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(14),R(15,"translate"),C(),k(16,"div",11),ve("click",function(){return i.deleteSelected()}),I(17),R(18,"translate"),C()()(),V(19,xJ,1,5,"app-paginator",12),C()(),V(20,RJ,37,34,"div",13),V(21,HJ,6,3,"div",13),V(22,BJ,1,5,"app-paginator",12)),2&e&&(w("ngClass",He(20,VJ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allLabels&&i.allLabels.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(12,14,"selection.select-all")," "),c(3),ce(" ",H(15,16,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(18,18,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,ol,bn,Mi,Bd,ba,Vd,_a,Fg,jd,yt],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}"]}),t})();function jJ(t,n){1&t&&Ce(0,"app-password")}function zJ(t,n){1&t&&(k(0,"div",8),Ce(1,"mat-spinner",9),I(2),R(3,"translate"),C()),2&t&&(c(1),w("diameter",11),c(1),ce(" ",H(3,2,"settings.checking-auth")," "))}const UJ=function(){return["start.title"]};let WJ=(()=>{class t extends er{constructor(e,i,o,s){super(),this.authService=e,this.router=i,this.snackbarService=o,this.dialog=s,this.persistentAuthDataResponseKey="serv-aut-response",this.tabsData=[],this.options=[],this.waitBeforeShowingLoading=!0,this.authChecked=!1,this.authActive=!1,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.updateOptionsMenu()}ngOnInit(){return setTimeout(()=>{this.waitBeforeShowingLoading=!1},500),this.checkAuth(0,!0),super.ngOnInit()}checkAuth(e,i){const o=i?this.getLocalValue(this.persistentAuthDataResponseKey):null;let s=this.authService.checkLogin();o&&(s=$e(JSON.parse(o.value))),this.authSubscription=$e(1).pipe(Ei(e),Ne(()=>s)).subscribe(a=>{o||this.saveLocalValue(this.persistentAuthDataResponseKey,JSON.stringify(a)),this.authChecked=!0,this.authActive=a===Fr.Logged,this.updateOptionsMenu(),o&&this.checkAuth(0,!1)},()=>{this.checkAuth(15e3,!1)})}ngOnDestroy(){this.authSubscription.unsubscribe()}updateOptionsMenu(){this.options=[],this.authActive&&(this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}])}performAction(e){"logout"===e&&this.logout()}logout(){const e=Zt.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.authService.logout().subscribe(()=>this.router.navigate(["login"]),()=>this.snackbarService.showError("common.logout-error"))})}}return t.\u0275fac=function(e){return new(e||t)(N(Gh),N(hn),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-settings"]],features:[nt],decls:8,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"],[4,"ngIf"],["class","white-theme checking-container",4,"ngIf"],[3,"showShortList"],[1,"white-theme","checking-container"],[3,"diameter"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"app-top-bar",2),ve("optionSelected",function(s){return i.performAction(s)}),C()(),k(3,"div",3),Ce(4,"app-refresh-rate",4),V(5,jJ,1,0,"app-password",5),V(6,zJ,4,4,"div",6),Ce(7,"app-label-list",7),C()()),2&e&&(c(2),w("titleParts",qn(8,UJ))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",i.options),c(3),w("ngIf",i.authChecked&&i.authActive),c(1),w("ngIf",!i.authChecked&&!i.waitBeforeShowingLoading),c(1),w("showShortList",!0))},dependencies:[Ft,nc,FI,mJ,lc,dP,yt],styles:[".checking-container[_ngcontent-%COMP%]{font-size:10px;opacity:.5}.checking-container[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{display:inline-block}.show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t})(),j1=(()=>{class t{constructor(e){this.apiService=e}create(e,i,o){const s={remote_pk:i};return o&&(s.transport_type=o),this.apiService.post(`visors/${e}/transports`,s)}delete(e,i){return this.apiService.delete(`visors/${e}/transports/${i}`)}savePersistentTransportsData(e,i){return this.apiService.put(`visors/${e}/persistent-transports`,i)}getPersistentTransports(e){return this.apiService.get(`visors/${e}/persistent-transports`)}types(e){return this.apiService.get(`visors/${e}/transport-types`)}changeAutoconnectSetting(e,i){const o={};return o.public_autoconnect=i,this.apiService.put(`visors/${e}/public-autoconnect`,o)}}return t.\u0275fac=function(e){return new(e||t)(we(ll))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const $J=["button"],GJ=["firstInput"];function qJ(t,n){1&t&&Ce(0,"app-loading-indicator",5),2&t&&w("showWhite",!1)}function KJ(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"transports.dialog.errors.remote-key-length-error")))}function ZJ(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.dialog.errors.remote-key-chars-error")))}function XJ(t,n){if(1&t&&(k(0,"mat-option",19),I(1),C()),2&t){const e=n.$implicit;w("value",e),c(1),re(e)}}const Rg=function(t){return{"element-disabled":t}};function JJ(t,n){if(1&t){const e=et();k(0,"form",6)(1,"mat-form-field",7)(2,"div",8)(3,"label",9),I(4),R(5,"translate"),C(),Ce(6,"input",10,11),C(),k(8,"mat-error"),V(9,KJ,4,3,"ng-container",12),C(),V(10,ZJ,3,3,"ng-template",null,13,Es),C(),k(12,"mat-form-field",7)(13,"div",8)(14,"label",9),I(15),R(16,"translate"),C(),Ce(17,"input",14),C()(),k(18,"mat-form-field",7)(19,"div",8)(20,"label",9),I(21),R(22,"translate"),C(),k(23,"mat-select",15),V(24,XJ,2,2,"mat-option",16),C()(),k(25,"mat-error")(26,"span"),I(27),R(28,"translate"),C()()(),k(29,"mat-checkbox",17),ve("change",function(o){return Pe(e),Oe(z().setMakePersistent(o))}),I(30),R(31,"translate"),k(32,"mat-icon",18),R(33,"translate"),I(34,"help"),C()()()}if(2&t){const e=ci(11),i=z();w("formGroup",i.form),c(1),w("ngClass",He(28,Rg,i.disableDismiss)),c(3),re(H(5,16,"transports.dialog.remote-key")),c(5),w("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",e),c(3),w("ngClass",He(30,Rg,i.disableDismiss)),c(3),re(H(16,18,"transports.dialog.label")),c(3),w("ngClass",He(32,Rg,i.disableDismiss)),c(3),re(H(22,20,"transports.dialog.transport-type")),c(3),w("ngForOf",i.types),c(3),re(H(28,22,"transports.dialog.errors.transport-type-error")),c(2),w("checked",i.makePersistent)("ngClass",He(34,Rg,i.disableDismiss)),c(1),ce(" ",H(31,24,"transports.dialog.make-persistent")," "),c(2),w("inline",!0)("matTooltip",H(33,26,"transports.dialog.persistent-tooltip"))}}let QJ=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.mediumModalWidth,e.open(t,i)}constructor(e,i,o,s,a,l){this.transportService=e,this.formBuilder=i,this.dialogRef=o,this.snackbarService=s,this.storageService=a,this.nodeService=l,this.makePersistent=!1,this.shouldShowError=!0}ngOnInit(){this.form=this.formBuilder.group({remoteKey:["",Yt.compose([Yt.required,Yt.minLength(66),Yt.maxLength(66),Yt.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",Yt.required]}),this.loadData(0)}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setMakePersistent(e){this.makePersistent=!!e.checked}create(){if(!this.form.valid||this.button.disabled)return;this.button.showLoading();const e=this.form.get("remoteKey").value,i=this.form.get("type").value,o=this.form.get("label").value;if(this.makePersistent){const s=this.transportService.getPersistentTransports(Mt.getCurrentNodeKey());this.operationSubscription=s.subscribe(a=>{const l=a||[];let d=!1;l.forEach(_=>{_.pk.toUpperCase()===e.toUpperCase()&&_.type.toUpperCase()===i.toUpperCase()&&(d=!0)}),d?this.createTransport(e,i,o,!0):this.createPersistent(l,e,i,o)},a=>{this.onError(a)})}else this.createTransport(e,i,o,!1)}createPersistent(e,i,o,s){e.push({pk:i,type:o}),this.operationSubscription=this.transportService.savePersistentTransportsData(Mt.getCurrentNodeKey(),e).subscribe(()=>{this.createTransport(i,o,s,!0)},a=>{this.onError(a)})}createTransport(e,i,o,s){this.operationSubscription=this.transportService.create(Mt.getCurrentNodeKey(),e,i).subscribe(a=>{let l=!1;o&&(a&&a.id?this.storageService.saveLabel(a.id,o,Xi.Transport):l=!0),Mt.refreshCurrentDisplayedData(),this.dialogRef.close(),l?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},a=>{s?(Mt.refreshCurrentDisplayedData(),this.dialogRef.close(),this.snackbarService.showWarning("transports.dialog.only-persistent-created")):this.onError(a)})}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}loadData(e){this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=$e(1).pipe(Ei(e),Ne(()=>this.transportService.types(Mt.getCurrentNodeKey()))).subscribe(i=>{i.sort((s,a)=>"stcp"===s.toLowerCase()?1:"stcp"===a.toLowerCase()?-1:s.localeCompare(a));let o=i.findIndex(s=>"dmsg"===s.toLowerCase());o=-1!==o?o:0,this.types=i,this.form.get("type").setValue(i[o]),this.snackbarService.closeCurrentIfTemporaryError(),setTimeout(()=>this.firstInput.nativeElement.focus())},i=>{i=Qt(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)})}}return t.\u0275fac=function(e){return new(e||t)(N(j1),N(_r),N(On),N(kn),N(Ji),N(ma))},t.\u0275cmp=Ke({type:t,selectors:[["app-create-transport"]],viewQuery:function(e,i){if(1&e&&(pt($J,5),pt(GJ,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:8,vars:11,consts:[[3,"headline","dialog","disableDismiss"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","remoteKey","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput",""],["formControlName","type"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),V(2,qJ,1,1,"app-loading-indicator",1),V(3,JJ,35,36,"form",2),k(4,"app-button",3,4),ve("action",function(){return i.create()}),I(6),R(7,"translate"),C()()),2&e&&(w("headline",H(1,7,"transports.create"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("ngIf",!i.types),c(1),w("ngIf",i.types),c(1),w("disabled",!i.form.valid),c(2),ce(" ",H(7,9,"transports.create")," "))},dependencies:[Pn,gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,bn,Mi,Yd,Ql,_a,Fi,Zn,as,yt],styles:["mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}"]}),t})();function eQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),k(3,"mat-icon",6),R(4,"translate"),I(5,"help"),C(),We()),2&t&&(c(1),ce(" ",H(2,3,"common.yes")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"transports.persistent-transport-tooltip")))}function tQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.no")))}let nQ=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i){this.data=e,this.dialogRef=i}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On))},t.\u0275cmp=Ke({type:t,selectors:[["app-transport-details"]],decls:51,vars:45,consts:[[1,"info-dialog",3,"headline","dialog"],[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(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div")(3,"div",1)(4,"mat-icon",2),I(5,"list"),C(),I(6),R(7,"translate"),C(),k(8,"div",3)(9,"span"),I(10),R(11,"translate"),C(),V(12,eQ,6,7,"ng-container",4),V(13,tQ,3,3,"ng-container",4),C(),k(14,"div",3)(15,"span"),I(16),R(17,"translate"),C(),I(18),C(),k(19,"div",3)(20,"span"),I(21),R(22,"translate"),C(),I(23),C(),k(24,"div",3)(25,"span"),I(26),R(27,"translate"),C(),I(28),C(),k(29,"div",3)(30,"span"),I(31),R(32,"translate"),C(),I(33),C(),k(34,"div",5)(35,"mat-icon",2),I(36,"import_export"),C(),I(37),R(38,"translate"),C(),k(39,"div",3)(40,"span"),I(41),R(42,"translate"),C(),I(43),R(44,"autoScale"),C(),k(45,"div",3)(46,"span"),I(47),R(48,"translate"),C(),I(49),R(50,"autoScale"),C()()()),2&e&&(w("headline",H(1,21,"transports.details.title"))("dialog",i.dialogRef),c(4),w("inline",!0),c(2),ce("",H(7,23,"transports.details.basic.title")," "),c(4),re(H(11,25,"transports.details.basic.persistent")),c(2),w("ngIf",i.data.isPersistent),c(1),w("ngIf",!i.data.isPersistent),c(3),re(H(17,27,"transports.details.basic.id")),c(2),ce(" ",i.data.id," "),c(3),re(H(22,29,"transports.details.basic.local-pk")),c(2),ce(" ",i.data.localPk," "),c(3),re(H(27,31,"transports.details.basic.remote-pk")),c(2),ce(" ",i.data.remotePk," "),c(3),re(H(32,33,"transports.details.basic.type")),c(2),ce(" ",i.data.type," "),c(2),w("inline",!0),c(2),ce("",H(38,35,"transports.details.data.title")," "),c(4),re(H(42,37,"transports.details.data.uploaded")),c(2),ce(" ",H(44,39,i.data.sent)," "),c(4),re(H(48,41,"transports.details.data.downloaded")),c(2),ce(" ",H(50,43,i.data.recv)," "))},dependencies:[Ft,bn,Mi,Zn,yt,af],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),t})();function iQ(t,n){1&t&&(k(0,"span",15),I(1),R(2,"translate"),k(3,"mat-icon",16),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"transports.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"transports.info")))}function rQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function oQ(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function sQ(t,n){if(1&t&&(k(0,"div",20)(1,"span"),I(2),R(3,"translate"),C(),V(4,rQ,3,3,"ng-container",21),V(5,oQ,2,1,"ng-container",21),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function aQ(t,n){if(1&t){const e=et();k(0,"div",17),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,sQ,6,5,"div",18),k(2,"div",19),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function lQ(t,n){if(1&t){const e=et();k(0,"mat-icon",22),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),I(1,"filter_list"),C()}2&t&&w("inline",!0)}function cQ(t,n){if(1&t&&(k(0,"mat-icon",23),I(1,"more_horiz"),C()),2&t){z();const e=ci(11);w("inline",!0)("matMenuTriggerFor",e)}}const z1=function(t){return["/nodes",t,"transports"]};function dQ(t,n){if(1&t&&Ce(0,"app-paginator",24),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function uQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function hQ(t,n){1&t&&(Ue(0),I(1,"*"),We())}function fQ(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",39),I(2),C(),V(3,hQ,2,0,"ng-container",21),We()),2&t){const e=z(2);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function pQ(t,n){1&t&&(Ue(0),I(1,"*"),We())}function mQ(t,n){if(1&t&&(Ue(0),k(1,"mat-icon",39),I(2),C(),V(3,pQ,2,0,"ng-container",21),We()),2&t){const e=z(2);c(1),w("inline",!0),c(1),re(e.dataSorter.sortingArrow),c(1),w("ngIf",e.dataSorter.currentlySortingByLabel)}}function gQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function _Q(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function bQ(t,n){if(1&t&&(k(0,"mat-icon",39),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function vQ(t,n){if(1&t){const e=et();k(0,"button",48),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).changeIfPersistent([o],!1))}),R(1,"translate"),k(2,"mat-icon",49),I(3,"star"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.persistent-transport-button-tooltip")),c(2),w("inline",!0))}function yQ(t,n){if(1&t){const e=et();k(0,"button",48),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).changeIfPersistent([o],!0))}),R(1,"translate"),k(2,"mat-icon",50),I(3,"star_outline"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.non-persistent-transport-button-tooltip")),c(2),w("inline",!0))}function MQ(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function wQ(t,n){if(1&t){const e=et();k(0,"td")(1,"app-labeled-element-text",51),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C(),V(2,MQ,3,3,"span",21),C()}if(2&t){const e=z().$implicit,i=z(2);c(1),In("id",e.id),w("short",!0)("elementType",i.labeledElementTypes.Transport),c(1),w("ngIf",e.notFound)}}function CQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function xQ(t,n){if(1&t&&(k(0,"td"),I(1),R(2,"autoScale"),C()),2&t){const e=z().$implicit;c(1),ce(" ",H(2,1,e.sent)," ")}}function kQ(t,n){if(1&t&&(k(0,"td"),I(1),R(2,"autoScale"),C()),2&t){const e=z().$implicit;c(1),ce(" ",H(2,1,e.recv)," ")}}function SQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function DQ(t,n){1&t&&(k(0,"td"),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"transports.offline")," "))}function TQ(t,n){if(1&t){const e=et();k(0,"button",52),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).details(o))}),R(1,"translate"),k(2,"mat-icon",39),I(3,"visibility"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.details.title")),c(2),w("inline",!0))}function LQ(t,n){if(1&t){const e=et();k(0,"button",52),ve("click",function(){Pe(e);const o=z().$implicit;return Oe(z(2).delete(o))}),R(1,"translate"),k(2,"mat-icon",39),I(3,"close"),C()()}2&t&&(w("matTooltip",H(1,2,"transports.delete")),c(2),w("inline",!0))}const uP=function(t){return{offline:t}};function EQ(t,n){if(1&t){const e=et();k(0,"tr",42)(1,"td",43)(2,"mat-checkbox",44),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),V(4,vQ,4,4,"button",45),V(5,yQ,4,4,"button",45),C(),V(6,wQ,3,4,"td",21),V(7,CQ,3,3,"td",21),k(8,"td")(9,"app-labeled-element-text",46),ve("labelEdited",function(){return Pe(e),Oe(z(2).refreshData())}),C()(),k(10,"td"),I(11),C(),V(12,xQ,3,3,"td",21),V(13,kQ,3,3,"td",21),V(14,SQ,3,3,"td",21),V(15,DQ,3,3,"td",21),k(16,"td",32),V(17,TQ,4,4,"button",47),V(18,LQ,4,4,"button",47),C()()}if(2&t){const e=n.$implicit,i=z(2);w("ngClass",He(15,uP,e.notFound)),c(2),w("checked",i.selections.get(e.id)),c(2),w("ngIf",e.isPersistent),c(1),w("ngIf",!e.isPersistent),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(2),In("id",e.remotePk),w("short",!0),c(2),ce(" ",e.type," "),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(1),w("ngIf",e.notFound),c(2),w("ngIf",!e.notFound),c(1),w("ngIf",!e.notFound)}}function IQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function PQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function OQ(t,n){1&t&&(k(0,"div",59)(1,"div",59)(2,"mat-icon",62),I(3,"star"),C(),I(4,"\xa0 "),k(5,"span",63),I(6),R(7,"translate"),C()()()),2&t&&(c(2),w("inline",!0),c(4),re(H(7,2,"transports.persistent")))}function AQ(t,n){if(1&t){const e=et();k(0,"app-labeled-element-text",64),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()}if(2&t){const e=z().$implicit,i=z(2);In("id",e.id),w("elementType",i.labeledElementTypes.Transport)}}function FQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function RQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"autoScale"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.sent))}}function NQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function YQ(t,n){if(1&t&&(Ue(0),I(1),R(2,"autoScale"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.recv))}}function HQ(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"transports.offline")))}function BQ(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",53)(3,"div",54)(4,"mat-checkbox",44),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",37),V(6,OQ,8,4,"div",55),k(7,"div",56)(8,"span",1),I(9),R(10,"translate"),C(),I(11,": "),V(12,AQ,1,2,"app-labeled-element-text",57),V(13,FQ,3,3,"ng-container",21),C(),k(14,"div",56)(15,"span",1),I(16),R(17,"translate"),C(),I(18,": "),k(19,"app-labeled-element-text",58),ve("labelEdited",function(){return Pe(e),Oe(z(2).refreshData())}),C()(),k(20,"div",59)(21,"span",1),I(22),R(23,"translate"),C(),I(24),C(),k(25,"div",59)(26,"span",1),I(27),R(28,"translate"),C(),I(29,": "),V(30,RQ,3,3,"ng-container",21),V(31,NQ,3,3,"ng-container",21),C(),k(32,"div",59)(33,"span",1),I(34),R(35,"translate"),C(),I(36,": "),V(37,YQ,3,3,"ng-container",21),V(38,HQ,3,3,"ng-container",21),C()(),Ce(39,"div",60),k(40,"div",38)(41,"button",61),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(42,"translate"),k(43,"mat-icon"),I(44),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("ngClass",He(30,uP,e.notFound)),c(2),w("checked",i.selections.get(e.id)),c(2),w("ngIf",e.isPersistent),c(3),re(H(10,18,"transports.id")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),re(H(17,20,"transports.remote-node")),c(3),In("id",e.remotePk),c(3),re(H(23,22,"transports.type")),c(2),ce(": ",e.type," "),c(3),re(H(28,24,"common.uploaded")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),re(H(35,26,"common.downloaded")),c(3),w("ngIf",!e.notFound),c(1),w("ngIf",e.notFound),c(3),w("matTooltip",H(42,28,"common.options")),c(3),re("add")}}function VQ(t,n){if(1&t&&Ce(0,"app-view-all-link",65),2&t){const e=z(2);w("numberOfElements",e.filteredTransports.length)("linkParts",He(3,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const jQ=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},zQ=function(t){return{"d-lg-none d-xl-table":t}},UQ=function(t){return{"d-lg-table d-xl-none":t}};function WQ(t,n){if(1&t){const e=et();k(0,"div",25)(1,"div",26)(2,"table",27)(3,"tr"),Ce(4,"th"),k(5,"th",28),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.persistentSortData))}),R(6,"translate"),k(7,"mat-icon",29),I(8,"star_outline"),C(),V(9,uQ,2,2,"mat-icon",30),C(),k(10,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.idSortData))}),I(11),R(12,"translate"),V(13,fQ,4,3,"ng-container",21),C(),k(14,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.remotePkSortData))}),I(15),R(16,"translate"),V(17,mQ,4,3,"ng-container",21),C(),k(18,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(19),R(20,"translate"),V(21,gQ,2,2,"mat-icon",30),C(),k(22,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.uploadedSortData))}),I(23),R(24,"translate"),V(25,_Q,2,2,"mat-icon",30),C(),k(26,"th",31),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.downloadedSortData))}),I(27),R(28,"translate"),V(29,bQ,2,2,"mat-icon",30),C(),Ce(30,"th",32),C(),V(31,EQ,19,17,"tr",33),C(),k(32,"table",34)(33,"tr",35),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(34,"td")(35,"div",36)(36,"div",37)(37,"div",1),I(38),R(39,"translate"),C(),k(40,"div"),I(41),R(42,"translate"),V(43,IQ,3,3,"ng-container",21),V(44,PQ,3,3,"ng-container",21),C()(),k(45,"div",38)(46,"mat-icon",39),I(47,"keyboard_arrow_down"),C()()()()(),V(48,BQ,45,32,"tr",40),C(),V(49,VQ,1,5,"app-view-all-link",41),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(39,jQ,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(42,zQ,e.showShortList_)),c(3),w("matTooltip",H(6,23,"transports.persistent-tooltip")),c(4),w("ngIf",e.dataSorter.currentSortingColumn===e.persistentSortData),c(2),ce(" ",H(12,25,"transports.id")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.idSortData),c(2),ce(" ",H(16,27,"transports.remote-node")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.remotePkSortData),c(2),ce(" ",H(20,29,"transports.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),ce(" ",H(24,31,"common.uploaded")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.uploadedSortData),c(2),ce(" ",H(28,33,"common.downloaded")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.downloadedSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(44,UQ,e.showShortList_)),c(6),re(H(39,35,"tables.sorting-title")),c(3),ce("",H(42,37,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function $Q(t,n){1&t&&(k(0,"span",69),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.empty")))}function GQ(t,n){1&t&&(k(0,"span",69),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"transports.empty-with-filter")))}function qQ(t,n){if(1&t&&(k(0,"div",25)(1,"div",66)(2,"mat-icon",67),I(3,"warning"),C(),V(4,$Q,3,3,"span",68),V(5,GQ,3,3,"span",68),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allTransports.length),c(1),w("ngIf",0!==e.allTransports.length)}}function KQ(t,n){if(1&t&&Ce(0,"app-paginator",24),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,z1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const ZQ=function(t){return{"paginator-icons-fixer":t}};let hP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredTransports)}set node(e){this.currentNode=e,this.allTransports=e.transports,this.nodePK=e.localPk;const i=new Map;e.persistentTransports.forEach(o=>i.set(this.getPersistentTransportID(o.pk,o.type),o)),this.allTransports.forEach(o=>{i.has(this.getPersistentTransportID(o.remotePk,o.type))?(o.isPersistent=!0,i.delete(this.getPersistentTransportID(o.remotePk,o.type))):o.isPersistent=!1}),i.forEach((o,s)=>{this.allTransports.push({id:this.getPersistentTransportID(o.pk,o.type),localPk:e.localPk,remotePk:o.pk,type:o.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(o=>{o.id_label=ga.getCompleteLabel(this.storageService,this.translateService,o.id),o.remote_pk_label=ga.getCompleteLabel(this.storageService,this.translateService,o.remotePk)}),this.dataFilterer.setData(this.allTransports)}constructor(e,i,o,s,a,l,d,_){this.dialog=e,this.transportService=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.nodeService=_,this.listId="tr",this.persistentSortData=new Vn(["isPersistent"],"transports.persistent",Xt.Boolean),this.idSortData=new Vn(["id"],"transports.id",Xt.Text,["id_label"]),this.remotePkSortData=new Vn(["remotePk"],"transports.remote-node",Xt.Text,["remote_pk_label"]),this.typeSortData=new Vn(["type"],"transports.type",Xt.Text),this.uploadedSortData=new Vn(["sent"],"common.uploaded",Xt.NumberReversed),this.downloadedSortData=new Vn(["recv"],"common.downloaded",Xt.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:$n.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:$n.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:$n.TextInput,maxlength:66}],this.labeledElementTypes=Xi,this.operationSubscriptionsGroup=[],this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Hd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(F=>{this.filteredTransports=F,this.dataSorter.setData(this.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(F=>{if(F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(()=>{this.node=this.currentNode})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()}changeSelection(e){this.selections.get(e.id)?this.selections.set(e.id,!1):this.selections.set(e.id,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((o,s)=>{o&&i.push(s)}),this.deleteRecursively(i,e)})}create(){QJ.openDialog(this.dialog)}showOptionsDialog(e){const i=[];i.push(e.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),e.notFound||(i.push({icon:"visibility",label:"transports.details.title"}),i.push({icon:"close",label:"transports.delete"})),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.changeIfPersistent([e],!e.isPersistent):2===o?this.details(e):3===o&&this.delete(e)})}changeIfPersistentOfSelected(e){const i=[];this.allTransports.forEach(o=>{this.selections.has(o.id)&&this.selections.get(o.id)&&i.push(o)}),this.changeIfPersistent(i,e)}changeIfPersistent(e,i){if(e.length<1)return;let o="transports.";o+=1===e.length?i?"make-persistent-confirmation":"make"+(e[0].notFound?"-offline":"")+"-non-persistent-confirmation":i?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation";const s=Zt.createConfirmationDialog(this.dialog,o);s.componentInstance.operationAccepted.subscribe(()=>{s.componentInstance.showProcessing(),this.persistentTransportSubscription=this.transportService.getPersistentTransports(this.nodePK).subscribe(a=>{const l=a||[];let d=!1;const _=new Map;if(e.forEach(E=>_.set(this.getPersistentTransportID(E.remotePk,E.type),E)),i)l.forEach(E=>{_.has(this.getPersistentTransportID(E.pk,E.type))&&_.delete(this.getPersistentTransportID(E.pk,E.type))}),d=0===_.size,d||_.forEach(E=>{l.push({pk:E.remotePk,type:E.type})});else{d=!0;for(let E=0;E{s.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.changes-made")},E=>{E=Qt(E),s.componentInstance.showDone("confirmation.error-header-text",E.translatableErrorMsg)})},a=>{a=Qt(a),s.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})}details(e){nQ.openDialog(this.dialog,e)}delete(e){const o=Zt.createConfirmationDialog(this.dialog,"transports.delete-"+(e.isPersistent?"persistent-":"")+"confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e.id).subscribe(()=>{o.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")},s=>{s=Qt(s),o.componentInstance.showDone("confirmation.error-header-text",s.translatableErrorMsg)}))})}refreshData(){Mt.refreshCurrentDisplayedData()}getPersistentTransportID(e,i){return e.toUpperCase()+i.toUpperCase()}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredTransports){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(i,i+e);const s=new Map;this.transportsToShow.forEach(l=>{s.set(l.id,!0),this.selections.has(l.id)||this.selections.set(l.id,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow}startDeleting(e){return this.transportService.delete(Mt.getCurrentNodeKey(),e)}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("transports.deleted")):this.deleteRecursively(e,i)},o=>{Mt.refreshCurrentDisplayedData(),o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(j1),N(Cr),N(hn),N(kn),N(To),N(Ji),N(ma))},t.\u0275cmp=Ke({type:t,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-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,iQ,6,7,"span",2),V(3,aQ,5,4,"div",3),C(),k(4,"div",4)(5,"div",5)(6,"mat-icon",6),ve("click",function(){return i.create()}),I(7,"add"),C(),V(8,lQ,2,1,"mat-icon",7),V(9,cQ,2,2,"mat-icon",8),k(10,"mat-menu",9,10)(12,"div",11),ve("click",function(){return i.changeAllSelections(!0)}),I(13),R(14,"translate"),C(),k(15,"div",11),ve("click",function(){return i.changeAllSelections(!1)}),I(16),R(17,"translate"),C(),k(18,"div",12),ve("click",function(){return i.changeIfPersistentOfSelected(!0)}),I(19),R(20,"translate"),C(),k(21,"div",12),ve("click",function(){return i.changeIfPersistentOfSelected(!1)}),I(22),R(23,"translate"),C(),k(24,"div",12),ve("click",function(){return i.deleteSelected()}),I(25),R(26,"translate"),C()()(),V(27,dQ,1,6,"app-paginator",13),C()(),V(28,WQ,50,46,"div",14),V(29,qQ,6,3,"div",14),V(30,KQ,1,6,"app-paginator",13)),2&e&&(w("ngClass",He(29,ZQ,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("inline",!0),c(2),w("ngIf",i.allTransports&&i.allTransports.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(14,19,"selection.select-all")," "),c(3),ce(" ",H(17,21,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(20,23,"transports.make-selected-persistent")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(23,25,"transports.make-selected-non-persistent")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(26,27,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,ol,bn,Mi,Bd,ba,Vd,_a,Fg,jd,ga,yt,af],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}"]}),t})();function XQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"settings"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.app")," "))}function JQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"swap_horiz"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.forward")," "))}function QQ(t,n){1&t&&(k(0,"div",5)(1,"mat-icon",2),I(2,"arrow_forward"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce("",H(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function eee(t,n){if(1&t&&(k(0,"div")(1,"div",3)(2,"span"),I(3),R(4,"translate"),C(),I(5),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C()()),2&t){const e=z(2);c(3),re(H(4,5,"routes.details.specific-fields.route-id")),c(2),ce(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextRid:e.routeRule.intermediaryForwardFields.nextRid," "),c(3),re(H(9,7,"routes.details.specific-fields.transport-id")),c(2),vo(" ",e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid," ",e.getLabel(e.routeRule.forwardFields?e.routeRule.forwardFields.nextTid:e.routeRule.intermediaryForwardFields.nextTid)," ")}}function tee(t,n){if(1&t&&(k(0,"div")(1,"div",3)(2,"span"),I(3),R(4,"translate"),C(),I(5),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",3)(12,"span"),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",3)(17,"span"),I(18),R(19,"translate"),C(),I(20),C()()),2&t){const e=z(2);c(3),re(H(4,10,"routes.details.specific-fields.destination-pk")),c(2),vo(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPk:e.routeRule.forwardFields.routeDescriptor.dstPk)," "),c(3),re(H(9,12,"routes.details.specific-fields.source-pk")),c(2),vo(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk," ",e.getLabel(e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPk:e.routeRule.forwardFields.routeDescriptor.srcPk)," "),c(3),re(H(14,14,"routes.details.specific-fields.destination-port")),c(2),ce(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.dstPort:e.routeRule.forwardFields.routeDescriptor.dstPort," "),c(3),re(H(19,16,"routes.details.specific-fields.source-port")),c(2),ce(" ",e.routeRule.appFields?e.routeRule.appFields.routeDescriptor.srcPort:e.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function nee(t,n){if(1&t&&(k(0,"div")(1,"div",5)(2,"mat-icon",2),I(3,"list"),C(),I(4),R(5,"translate"),C(),k(6,"div",3)(7,"span"),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",3)(12,"span"),I(13),R(14,"translate"),C(),I(15),C(),k(16,"div",3)(17,"span"),I(18),R(19,"translate"),C(),I(20),C(),V(21,XQ,5,4,"div",6),V(22,JQ,5,4,"div",6),V(23,QQ,5,4,"div",6),V(24,eee,11,9,"div",4),V(25,tee,21,18,"div",4),C()),2&t){const e=z();c(2),w("inline",!0),c(2),ce("",H(5,13,"routes.details.summary.title")," "),c(4),re(H(9,15,"routes.details.summary.keep-alive")),c(2),ce(" ",e.routeRule.ruleSummary.keepAlive," "),c(3),re(H(14,17,"routes.details.summary.type")),c(2),ce(" ",e.getRuleTypeName(e.routeRule.ruleSummary.ruleType)," "),c(3),re(H(19,19,"routes.details.summary.key-route-id")),c(2),ce(" ",e.routeRule.ruleSummary.keyRouteId," "),c(1),w("ngIf",e.routeRule.appFields),c(1),w("ngIf",e.routeRule.forwardFields),c(1),w("ngIf",e.routeRule.intermediaryForwardFields),c(1),w("ngIf",e.routeRule.forwardFields||e.routeRule.intermediaryForwardFields),c(1),w("ngIf",e.routeRule.appFields&&e.routeRule.appFields.routeDescriptor||e.routeRule.forwardFields&&e.routeRule.forwardFields.routeDescriptor)}}let iee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=i,this.storageService=o,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=e}getRuleTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):e.toString()}closePopup(){this.dialogRef.close()}getLabel(e){const i=this.storageService.getLabelInfo(e);return i?" ("+i.label+")":""}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-route-details"]],decls:19,vars:17,consts:[[1,"info-dialog",3,"headline","dialog"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div")(3,"div",1)(4,"mat-icon",2),I(5,"list"),C(),I(6),R(7,"translate"),C(),k(8,"div",3)(9,"span"),I(10),R(11,"translate"),C(),I(12),C(),k(13,"div",3)(14,"span"),I(15),R(16,"translate"),C(),I(17),C(),V(18,nee,26,21,"div",4),C()()),2&e&&(w("headline",H(1,9,"routes.details.title"))("dialog",i.dialogRef),c(4),w("inline",!0),c(2),ce("",H(7,11,"routes.details.basic.title")," "),c(4),re(H(11,13,"routes.details.basic.key")),c(2),ce(" ",i.routeRule.key," "),c(3),re(H(16,15,"routes.details.basic.rule")),c(2),ce(" ",i.routeRule.rule," "),c(1),w("ngIf",i.routeRule.ruleSummary))},dependencies:[Ft,bn,Zn,yt]}),t})(),fP=(()=>{class t{constructor(e){this.apiService=e}get(e,i){return this.apiService.get(`visors/${e}/routes/${i}`)}delete(e,i){return this.apiService.delete(`visors/${e}/routes/${i}`)}setMinHops(e,i){return this.apiService.post(`visors/${e}/min-hops`,{min_hops:i})}}return t.\u0275fac=function(e){return new(e||t)(we(ll))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ree(t,n){1&t&&(k(0,"span",14),I(1),R(2,"translate"),k(3,"mat-icon",15),R(4,"translate"),I(5,"help"),C()()),2&t&&(c(1),ce(" ",H(2,3,"routes.title")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"routes.info")))}function oee(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function see(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function aee(t,n){if(1&t&&(k(0,"div",19)(1,"span"),I(2),R(3,"translate"),C(),V(4,oee,3,3,"ng-container",20),V(5,see,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function lee(t,n){if(1&t){const e=et();k(0,"div",16),ve("click",function(){return Pe(e),Oe(z().dataFilterer.removeFilters())}),V(1,aee,6,5,"div",17),k(2,"div",18),I(3),R(4,"translate"),C()()}if(2&t){const e=z();c(1),w("ngForOf",e.dataFilterer.currentFiltersTexts),c(2),re(H(4,2,"filters.press-to-remove"))}}function cee(t,n){if(1&t){const e=et();k(0,"mat-icon",21),ve("click",function(){return Pe(e),Oe(z().dataFilterer.changeFilters())}),R(1,"translate"),I(2,"filter_list"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"filters.filter-action"))}function dee(t,n){1&t&&(k(0,"mat-icon",22),I(1,"more_horiz"),C()),2&t&&(z(),w("matMenuTriggerFor",ci(9)))}const U1=function(t){return["/nodes",t,"routes"]};function uee(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function hee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function fee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function pee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function mee(t,n){if(1&t&&(k(0,"mat-icon",36),I(1),C()),2&t){const e=z(2);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function gee(t,n){if(1&t){const e=et();Ue(0),k(1,"td")(2,"app-labeled-element-text",41),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),k(3,"td")(4,"app-labeled-element-text",41),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(2),In("id",e.src),w("short",!0)("elementType",i.labeledElementTypes.Node),c(2),In("id",e.dst),w("short",!0)("elementType",i.labeledElementTypes.Node)}}function _ee(t,n){if(1&t){const e=et();Ue(0),k(1,"td"),I(2,"---"),C(),k(3,"td")(4,"app-labeled-element-text",42),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(4),In("id",e.dst),w("short",!0)("elementType",i.labeledElementTypes.Transport)}}function bee(t,n){1&t&&(Ue(0),k(1,"td"),I(2,"---"),C(),k(3,"td"),I(4,"---"),C(),We())}function vee(t,n){if(1&t){const e=et();k(0,"tr")(1,"td",38)(2,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(3,"td"),I(4),C(),k(5,"td"),I(6),C(),V(7,gee,5,6,"ng-container",20),V(8,_ee,5,3,"ng-container",20),V(9,bee,5,0,"ng-container",20),k(10,"td",29)(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).details(s))}),R(12,"translate"),k(13,"mat-icon",36),I(14,"visibility"),C()(),k(15,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).delete(s.key))}),R(16,"translate"),k(17,"mat-icon",36),I(18,"close"),C()()()()}if(2&t){const e=n.$implicit,i=z(2);c(2),w("checked",i.selections.get(e.key)),c(2),ce(" ",e.key," "),c(2),ce(" ",i.getTypeName(e.type)," "),c(1),w("ngIf",e.appFields||e.forwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),c(2),w("matTooltip",H(12,10,"routes.details.title")),c(2),w("inline",!0),c(2),w("matTooltip",H(16,12,"routes.delete")),c(2),w("inline",!0)}}function yee(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.label")))}function Mee(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"tables.inverted-order")))}function wee(t,n){if(1&t){const e=et();Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": "),k(6,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),k(7,"div",44)(8,"span",1),I(9),R(10,"translate"),C(),I(11,": "),k(12,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(3),re(H(4,6,"routes.source")),c(3),In("id",e.src),w("elementType",i.labeledElementTypes.Node),c(3),re(H(10,8,"routes.destination")),c(3),In("id",e.dst),w("elementType",i.labeledElementTypes.Node)}}function Cee(t,n){if(1&t){const e=et();Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": --- "),C(),k(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10,": "),k(11,"app-labeled-element-text",47),ve("labelEdited",function(){return Pe(e),Oe(z(3).refreshData())}),C()(),We()}if(2&t){const e=z().$implicit,i=z(2);c(3),re(H(4,4,"routes.source")),c(5),re(H(9,6,"routes.destination")),c(3),In("id",e.dst),w("elementType",i.labeledElementTypes.Transport)}}function xee(t,n){1&t&&(Ue(0),k(1,"div",44)(2,"span",1),I(3),R(4,"translate"),C(),I(5,": --- "),C(),k(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10,": --- "),C(),We()),2&t&&(c(3),re(H(4,2,"routes.source")),c(5),re(H(9,4,"routes.destination")))}function kee(t,n){if(1&t){const e=et();k(0,"tr")(1,"td")(2,"div",33)(3,"div",43)(4,"mat-checkbox",39),ve("change",function(){const s=Pe(e).$implicit;return Oe(z(2).changeSelection(s))}),C()(),k(5,"div",34)(6,"div",44)(7,"span",1),I(8),R(9,"translate"),C(),I(10),C(),k(11,"div",44)(12,"span",1),I(13),R(14,"translate"),C(),I(15),C(),V(16,wee,13,10,"ng-container",20),V(17,Cee,12,8,"ng-container",20),V(18,xee,11,6,"ng-container",20),C(),Ce(19,"div",45),k(20,"div",35)(21,"button",46),ve("click",function(o){const a=Pe(e).$implicit,l=z(2);return o.stopPropagation(),Oe(l.showOptionsDialog(a))}),R(22,"translate"),k(23,"mat-icon"),I(24),C()()()()()()}if(2&t){const e=n.$implicit,i=z(2);c(4),w("checked",i.selections.get(e.key)),c(4),re(H(9,10,"routes.key")),c(2),ce(": ",e.key," "),c(3),re(H(14,12,"routes.type")),c(2),ce(": ",i.getTypeName(e.type)," "),c(1),w("ngIf",e.appFields||e.forwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&e.intermediaryForwardFields),c(1),w("ngIf",!e.appFields&&!e.forwardFields&&!e.intermediaryForwardFields),c(3),w("matTooltip",H(22,14,"common.options")),c(3),re("add")}}function See(t,n){if(1&t&&Ce(0,"app-view-all-link",48),2&t){const e=z(2);w("numberOfElements",e.filteredRoutes.length)("linkParts",He(3,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Dee=function(t,n){return{"small-node-list-margins":t,"full-node-list-margins":n}},Tee=function(t){return{"d-lg-none d-xl-table":t}},Lee=function(t){return{"d-lg-table d-xl-none":t}};function Eee(t,n){if(1&t){const e=et();k(0,"div",24)(1,"div",25)(2,"table",26)(3,"tr"),Ce(4,"th"),k(5,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.keySortData))}),I(6),R(7,"translate"),V(8,hee,2,2,"mat-icon",28),C(),k(9,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.typeSortData))}),I(10),R(11,"translate"),V(12,fee,2,2,"mat-icon",28),C(),k(13,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.sourceSortData))}),I(14),R(15,"translate"),V(16,pee,2,2,"mat-icon",28),C(),k(17,"th",27),ve("click",function(){Pe(e);const o=z();return Oe(o.dataSorter.changeSortingOrder(o.destinationSortData))}),I(18),R(19,"translate"),V(20,mee,2,2,"mat-icon",28),C(),Ce(21,"th",29),C(),V(22,vee,19,14,"tr",30),C(),k(23,"table",31)(24,"tr",32),ve("click",function(){return Pe(e),Oe(z().dataSorter.openSortingOrderModal())}),k(25,"td")(26,"div",33)(27,"div",34)(28,"div",1),I(29),R(30,"translate"),C(),k(31,"div"),I(32),R(33,"translate"),V(34,yee,3,3,"ng-container",20),V(35,Mee,3,3,"ng-container",20),C()(),k(36,"div",35)(37,"mat-icon",36),I(38,"keyboard_arrow_down"),C()()()()(),V(39,kee,25,16,"tr",30),C(),V(40,See,1,5,"app-view-all-link",37),C()()}if(2&t){const e=z();c(1),w("ngClass",mn(31,Dee,e.showShortList_,!e.showShortList_)),c(1),w("ngClass",He(34,Tee,e.showShortList_)),c(4),ce(" ",H(7,19,"routes.key")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.keySortData),c(2),ce(" ",H(11,21,"routes.type")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.typeSortData),c(2),ce(" ",H(15,23,"routes.source")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.sourceSortData),c(2),ce(" ",H(19,25,"routes.destination")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.destinationSortData),c(2),w("ngForOf",e.dataSource),c(1),w("ngClass",He(36,Lee,e.showShortList_)),c(6),re(H(30,27,"tables.sorting-title")),c(3),ce("",H(33,29,e.dataSorter.currentSortingColumn.label)," "),c(2),w("ngIf",e.dataSorter.currentlySortingByLabel),c(1),w("ngIf",e.dataSorter.sortingInReverseOrder),c(2),w("inline",!0),c(2),w("ngForOf",e.dataSource),c(1),w("ngIf",e.showShortList_&&e.numberOfPages>1)}}function Iee(t,n){1&t&&(k(0,"span",52),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"routes.empty")))}function Pee(t,n){1&t&&(k(0,"span",52),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"routes.empty-with-filter")))}function Oee(t,n){if(1&t&&(k(0,"div",24)(1,"div",49)(2,"mat-icon",50),I(3,"warning"),C(),V(4,Iee,3,3,"span",51),V(5,Pee,3,3,"span",51),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allRoutes.length),c(1),w("ngIf",0!==e.allRoutes.length)}}function Aee(t,n){if(1&t&&Ce(0,"app-paginator",23),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",He(4,U1,e.nodePK))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const Fee=function(t){return{"paginator-icons-fixer":t}};let pP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter.setData(this.filteredRoutes)}set routes(e){this.allRoutes=e,this.allRoutes.forEach(i=>{if(i.type=i.ruleSummary.ruleType||0===i.ruleSummary.ruleType?i.ruleSummary.ruleType:"",i.appFields||i.forwardFields){const o=i.appFields?i.appFields.routeDescriptor:i.forwardFields.routeDescriptor;i.src=o.srcPk,i.src_label=ga.getCompleteLabel(this.storageService,this.translateService,i.src),i.dst=o.dstPk,i.dst_label=ga.getCompleteLabel(this.storageService,this.translateService,i.dst)}else i.intermediaryForwardFields?(i.src="",i.src_label="",i.dst=i.intermediaryForwardFields.nextTid,i.dst_label=ga.getCompleteLabel(this.storageService,this.translateService,i.dst)):(i.src="",i.src_label="",i.dst="",i.dst_label="")}),this.dataFilterer.setData(this.allRoutes)}constructor(e,i,o,s,a,l,d){this.routeService=e,this.dialog=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.listId="rl",this.keySortData=new Vn(["key"],"routes.key",Xt.Number),this.typeSortData=new Vn(["type"],"routes.type",Xt.Number),this.sourceSortData=new Vn(["src"],"routes.source",Xt.Text,["src_label"]),this.destinationSortData=new Vn(["dst"],"routes.destination",Xt.Text,["dst_label"]),this.labeledElementTypes=Xi,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:$n.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:$n.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:$n.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()});const E={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:$n.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((F,G)=>{E.printableLabelsForValues.push({value:G+"",label:F})}),this.filterProperties=[E].concat(this.filterProperties),this.dataFilterer=new Hd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(F=>{this.filteredRoutes=F,this.dataSorter.setData(this.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(F=>{if(F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}})}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}refreshData(){Mt.refreshCurrentDisplayedData()}getTypeName(e){return this.ruleTypes.has(e)?this.ruleTypes.get(e):"Unknown"}changeSelection(e){this.selections.get(e.key)?this.selections.set(e.key,!1):this.selections.set(e.key,!0)}hasSelectedElements(){if(!this.selections)return!1;let e=!1;return this.selections.forEach(i=>{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}deleteSelected(){const e=Zt.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=[];this.selections.forEach((o,s)=>{o&&i.push(s)}),this.deleteRecursively(i,e)})}showOptionsDialog(e){Rr.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(o=>{1===o?this.details(e):2===o&&this.delete(e.key)})}details(e){iee.openDialog(this.dialog,e)}delete(e){const i=Zt.createConfirmationDialog(this.dialog,"routes.delete-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.operationSubscriptionsGroup.push(this.startDeleting(e).subscribe(()=>{i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")},o=>{o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))})}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(i,i+e);const s=new Map;this.routesToShow.forEach(l=>{s.set(l.key,!0),this.selections.has(l.key)||this.selections.set(l.key,!1)});const a=[];this.selections.forEach((l,d)=>{s.has(d)||a.push(d)}),a.forEach(l=>{this.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow}startDeleting(e){return this.routeService.delete(Mt.getCurrentNodeKey(),e.toString())}deleteRecursively(e,i){this.operationSubscriptionsGroup.push(this.startDeleting(e[e.length-1]).subscribe(()=>{e.pop(),0===e.length?(i.close(),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("routes.deleted")):this.deleteRecursively(e,i)},o=>{Mt.refreshCurrentDisplayedData(),o=Qt(o),i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)}))}}return t.\u0275fac=function(e){return new(e||t)(N(fP),N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({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-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,ree,6,7,"span",2),V(3,lee,5,4,"div",3),C(),k(4,"div",4)(5,"div",5),V(6,cee,3,4,"mat-icon",6),V(7,dee,2,1,"mat-icon",7),k(8,"mat-menu",8,9)(10,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(11),R(12,"translate"),C(),k(13,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(14),R(15,"translate"),C(),k(16,"div",11),ve("click",function(){return i.deleteSelected()}),I(17),R(18,"translate"),C()()(),V(19,uee,1,6,"app-paginator",12),C()(),V(20,Eee,41,38,"div",13),V(21,Oee,6,3,"div",13),V(22,Aee,1,6,"app-paginator",12)),2&e&&(w("ngClass",He(20,Fee,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allRoutes&&i.allRoutes.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(12,14,"selection.select-all")," "),c(3),ce(" ",H(15,16,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(18,18,"selection.delete-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,ol,bn,Mi,Bd,ba,Vd,_a,Fg,jd,ga,yt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t})(),Ree=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.node=e,this.routes=e.routes}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-routing"]],features:[nt],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&Ce(0,"app-transport-list",0)(1,"app-route-list",1),2&e&&(w("node",i.node)("showShortList",!0),c(1),w("routes",i.routes)("showShortList",!0)("nodePK",i.nodePK))},dependencies:[hP,pP]}),t})();function Nee(t,n){if(1&t&&(k(0,"mat-option",6),I(1),R(2,"translate"),C()),2&t){const e=n.$implicit;w("value",e.days),c(1),re(H(2,2,e.text))}}let Yee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o}ngOnInit(){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(e=>{this.dialogRef.close(this.filters.find(i=>i.days===e))})}ngOnDestroy(){this.formSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-log-filter"]],decls:10,vars:9,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","filter"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),k(8,"mat-select",4),V(9,Nee,3,4,"mat-option",5),C()()()()()),2&e&&(w("headline",H(1,5,"apps.log.filter.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"apps.log.filter.filter")),c(3),w("ngForOf",i.filters))},dependencies:[gi,Ai,Pi,Oi,ti,yi,tr,Yd,Ql,Zn,yt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t})();const Hee=["content"],Bee=function(t){return{totalLogs:t}};function Vee(t,n){if(1&t&&(k(0,"app-button",11)(1,"div",12),I(2),R(3,"translate"),C()()),2&t){const e=z();c(2),ce(" ",kt(3,1,"apps.log.view-all",He(4,Bee,e.totalLogs))," ")}}function jee(t,n){if(1&t&&(k(0,"div",13)(1,"span",14),I(2),C(),I(3),C()),2&t){const e=n.$implicit;c(2),ce(" ",e.time," "),c(1),ce(" ",e.msg," ")}}function zee(t,n){1&t&&(k(0,"div",15),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"apps.log.empty")," "))}function Uee(t,n){1&t&&Ce(0,"app-loading-indicator",16),2&t&&w("showWhite",!1)}let Wee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.dialogRef=i,this.appsService=o,this.dialog=s,this.snackbarService=a,this.apiService=l,this.logMessages=[],this.hasMoreLogMessages=!1,this.totalLogs=0,this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}ngOnInit(){this.loadData(0)}ngOnDestroy(){this.removeSubscription()}filter(){Yee.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(e=>{e&&(this.currentFilter=e,this.logMessages=[],this.loadData(0))})}getLogsUrl(){return"/"+this.apiService.apiPrefix+this.appsService.getLogMessagesUrl(Mt.getCurrentNodeKey(),this.data.name)}loadData(e){this.removeSubscription(),this.loading=!0,this.subscription=$e(1).pipe(Ei(e),Ne(()=>this.appsService.getLogMessages(Mt.getCurrentNodeKey(),this.data.name,this.currentFilter.days))).subscribe(i=>this.onLogsReceived(i),i=>this.onLogsError(i))}removeSubscription(){this.subscription&&this.subscription.unsubscribe()}onLogsReceived(e=[]){this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError();let i=0;this.hasMoreLogMessages=!1,this.totalLogs=e.length,e.forEach(o=>{if(i<5e3){const s=o.startsWith("[")?0:-1,a=-1!==s?o.indexOf("]"):-1;this.logMessages.push(-1!==s&&-1!==a?{time:o.substr(s,a+1),msg:o.substr(a+1)}:{time:"",msg:o})}else this.hasMoreLogMessages=!0;i+=1}),setTimeout(()=>{this.content.nativeElement.scrollTop=this.content.nativeElement.scrollHeight})}onLogsError(e){e=Qt(e),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,e),this.shouldShowError=!1),this.loadData(Bt.connectionRetryDelay)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(va),N(xn),N(kn),N(ll))},t.\u0275cmp=Ke({type:t,selectors:[["app-log"]],viewQuery:function(e,i){if(1&e&&pt(Hee,5),2&e){let o;it(o=rt())&&(i.content=o.first)}},decls:19,vars:17,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea","dialog"],[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"actual-value"],[1,"top-dialog-button-margin"],["content",""],["target","_blank",3,"href"],["class","full-logs-button","color","primary",4,"ngIf"],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],["color","primary",1,"full-logs-button"],[1,"text-container"],[1,"app-log-message"],[1,"transparent"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),ve("click",function(){return i.filter()}),k(3,"div",2)(4,"div")(5,"span"),I(6),R(7,"translate"),C(),k(8,"span",3),I(9),R(10,"translate"),C()()(),Ce(11,"div",4),C(),k(12,"mat-dialog-content",null,5)(14,"a",6),V(15,Vee,4,6,"app-button",7),C(),V(16,jee,4,2,"div",8),V(17,zee,3,3,"div",9),V(18,Uee,1,1,"app-loading-indicator",10),C()()),2&e&&(w("headline",H(1,11,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1)("dialog",i.dialogRef),c(6),ce("",H(7,13,"apps.log.filter-button")," "),c(3),re(H(10,15,i.currentFilter.text)),c(5),w("href",i.getLogsUrl(),Vo),c(1),w("ngIf",i.hasMoreLogMessages),c(1),w("ngForOf",i.logMessages),c(1),w("ngIf",!(i.loading||i.logMessages&&0!==i.logMessages.length)),c(1),w("ngIf",i.loading))},dependencies:[gi,Ft,lg,Fi,Zn,as,yt],styles:[".mat-mdc-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}.top-dialog-button[_ngcontent-%COMP%]{color:#777!important}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{text-align:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .actual-value[_ngcontent-%COMP%]{color:#202226}.full-logs-button[_ngcontent-%COMP%] button{width:100%!important;display:block;text-align:center;margin-bottom:15px}.full-logs-button[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%}"]}),t})();const $ee=["button"],Gee=["firstInput"],Ng=function(t){return{"element-disabled":t}};function qee(t,n){if(1&t&&(k(0,"mat-form-field",2)(1,"div",3)(2,"label",4),I(3),R(4,"translate"),C(),Ce(5,"input",12),C()()),2&t){const e=z();w("ngClass",He(4,Ng,e.disableDismiss)),c(3),re(H(4,2,"apps.vpn-socks-server-settings.netifc"))}}function Kee(t,n){if(1&t){const e=et();k(0,"div",13)(1,"mat-checkbox",14),ve("change",function(o){return Pe(e),Oe(z().setSecureMode(o))}),I(2),R(3,"translate"),k(4,"mat-icon",15),R(5,"translate"),I(6,"help"),C()()()}if(2&t){const e=z();c(1),w("checked",e.secureMode)("ngClass",He(9,Ng,e.disableDismiss)),c(1),ce(" ",H(3,5,"apps.vpn-socks-server-settings.secure-mode-check")," "),c(2),w("inline",!0)("matTooltip",H(5,7,"apps.vpn-socks-server-settings.secure-mode-info"))}}let Zee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l,this.configuringVpn=!1,this.secureMode=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}ngOnInit(){if(this.form=this.formBuilder.group({password:[""],passwordConfirmation:["",this.validatePasswords.bind(this)],netifc:[""]}),this.formSubscription=this.form.get("password").valueChanges.subscribe(()=>{this.form.get("passwordConfirmation").updateValueAndValidity()}),this.data.args&&this.data.args.length>0)for(let e=0;ethis.firstInput.nativeElement.focus())}ngOnDestroy(){this.formSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}setSecureMode(e){this.button.disabled||(this.secureMode=!!e.checked)}saveChanges(){if(!this.form.valid||this.button.disabled)return;const e=this.form.get("password").value?"apps.vpn-socks-server-settings.change-passowrd-confirmation":"apps.vpn-socks-server-settings.remove-passowrd-confirmation",i=Zt.createConfirmationDialog(this.dialog,e);i.componentInstance.operationAccepted.subscribe(()=>{i.close(),this.continueSavingChanges()})}continueSavingChanges(){this.button.showLoading();const e={passcode:this.form.get("password").value};this.configuringVpn&&(e.secure=this.secureMode,e.netifc=this.form.get("netifc").value),this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,e).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-server-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}validatePasswords(){return this.form&&this.form.get("password").value!==this.form.get("passwordConfirmation").value?{invalid:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(va),N(_r),N(On),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-settings"]],viewQuery:function(e,i){if(1&e&&(pt($ee,5),pt(Gee,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:27,vars:27,consts:[[3,"headline","dialog","disableDismiss"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["id","password","type","password","formControlName","password","maxlength","100","matInput",""],["firstInput",""],["id","passwordConfirmation","type","password","formControlName","passwordConfirmation","maxlength","100","matInput",""],[3,"ngClass",4,"ngIf"],["class","main-theme settings-option",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["id","netifc","type","text","formControlName","netifc","matInput",""],[1,"main-theme","settings-option"],["color","primary",3,"checked","ngClass","change"],[1,"help-icon",3,"inline","matTooltip"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field",2)(4,"div",3)(5,"label",4),I(6),R(7,"translate"),C(),Ce(8,"input",5,6),C()(),k(10,"mat-form-field",2)(11,"div",3)(12,"label",4),I(13),R(14,"translate"),C(),Ce(15,"input",7,6),C(),k(17,"mat-error")(18,"span"),I(19),R(20,"translate"),C()()(),V(21,qee,6,6,"mat-form-field",8),V(22,Kee,7,11,"div",9),C(),k(23,"app-button",10,11),ve("action",function(){return i.saveChanges()}),I(25),R(26,"translate"),C()()),2&e&&(w("headline",H(1,13,"apps.vpn-socks-server-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(2),w("formGroup",i.form),c(1),w("ngClass",He(23,Ng,i.disableDismiss)),c(3),re(H(7,15,"apps.vpn-socks-server-settings.new-password")),c(4),w("ngClass",He(25,Ng,i.disableDismiss)),c(3),re(H(14,17,"apps.vpn-socks-server-settings.repeat-password")),c(6),re(H(20,19,"apps.vpn-socks-server-settings.passwords-not-match")),c(2),w("ngIf",i.configuringVpn),c(1),w("ngIf",i.configuringVpn),c(1),w("disabled",!i.form.valid),c(2),ce(" ",H(26,21,"apps.vpn-socks-server-settings.save")," "))},dependencies:[Pn,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,bn,Mi,_a,Fi,Zn,yt],styles:["mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}"]}),t})();const Xee=["firstInput"];let Jee=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i||"",o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.dialogRef=e,this.data=i,this.formBuilder=o}ngOnInit(){this.form=this.formBuilder.group({note:[this.data]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("note").value.trim();this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-edit-skysocks-client-note"]],viewQuery:function(e,i){if(1&e&&pt(Xee,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:13,vars:11,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","note","maxlength","100","matInput",""],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6),ve("action",function(){return i.finish()}),I(11),R(12,"translate"),C()()),2&e&&(w("headline",H(1,5,"apps.vpn-socks-client-settings.change-note-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,7,"apps.vpn-socks-client-settings.change-note-dialog.note")),c(5),re(H(12,9,"common.save")))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const ya={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Democratic Republic",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea (North)",KR:"Korea (South)",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",ME:"Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",ZZ:"Unknown"};function Qee(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit,i=z(2);c(1),re(i.completeCountriesList[e.toUpperCase()])}}function ete(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.toUpperCase())}}function tte(t,n){if(1&t&&(k(0,"mat-option",10)(1,"div",12),Ce(2,"div"),C(),V(3,Qee,2,1,"ng-container",2),V(4,ete,2,1,"ng-container",2),C()),2&t){const e=n.$implicit,i=z(2);w("value",e.toUpperCase()),c(2),di("background-image: url('assets/img/flags/"+e.toLocaleLowerCase()+".png');"),c(1),w("ngIf",i.completeCountriesList[e.toUpperCase()]),c(1),w("ngIf",!i.completeCountriesList[e.toUpperCase()])}}function nte(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"apps.vpn-socks-client-settings.filter-dialog.any-country")," "))}function ite(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.completeCountriesList[e.form.get("country").value])}}function rte(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.form.get("country").value)}}function ote(t,n){if(1&t&&(Ue(0),k(1,"div",12),Ce(2,"div"),C(),V(3,ite,2,1,"ng-container",2),V(4,rte,2,1,"ng-container",2),We()),2&t){const e=z(2);c(2),di("background-image: url('assets/img/flags/"+e.form.get("country").value.toLocaleLowerCase()+".png');"),c(1),w("ngIf",e.completeCountriesList[e.form.get("country").value]),c(1),w("ngIf",!e.completeCountriesList[e.form.get("country").value])}}function ste(t,n){if(1&t&&(k(0,"mat-form-field")(1,"div",3)(2,"label",4),I(3),R(4,"translate"),C(),k(5,"mat-select",9)(6,"mat-option",10),I(7),R(8,"translate"),C(),V(9,tte,5,5,"mat-option",11),k(10,"mat-select-trigger"),V(11,nte,3,3,"ng-container",2),V(12,ote,5,4,"ng-container",2),C()()()()),2&t){const e=z();c(3),re(H(4,6,"apps.vpn-socks-client-settings.filter-dialog.country")),c(3),w("value","-"),c(1),re(H(8,8,"apps.vpn-socks-client-settings.filter-dialog.any-country")),c(2),w("ngForOf",e.data.availableCountries),c(2),w("ngIf","-"===e.form.get("country").value),c(1),w("ngIf","-"!==e.form.get("country").value)}}class mP{constructor(){this.country="",this.location="",this.key=""}}let ate=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o){this.data=e,this.dialogRef=i,this.formBuilder=o,this.completeCountriesList=ya}ngOnInit(){this.form=this.formBuilder.group({country:[this.data.currentFilters.country?this.data.currentFilters.country:"-"],"location-text":[this.data.currentFilters.location],"key-text":[this.data.currentFilters.key]})}apply(){const e=new mP;let i=this.form.get("country").value.trim();"-"===i&&(i=""),e.country=i,e.location=this.form.get("location-text").value.trim(),e.key=this.form.get("key-text").value.trim(),this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-filter"]],decls:20,vars:15,consts:[[3,"headline","dialog"],[3,"formGroup"],[4,"ngIf"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","location-text","maxlength","100","matInput",""],["formControlName","key-text","maxlength","66","matInput",""],["type","mat-raised-button","color","primary",1,"float-right",3,"action"],["button",""],["formControlName","country","id","country"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"flag-container"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1),V(3,ste,13,10,"mat-form-field",2),k(4,"mat-form-field")(5,"div",3)(6,"label",4),I(7),R(8,"translate"),C(),Ce(9,"input",5),C()(),k(10,"mat-form-field")(11,"div",3)(12,"label",4),I(13),R(14,"translate"),C(),Ce(15,"input",6),C()()(),k(16,"app-button",7,8),ve("action",function(){return i.apply()}),I(18),R(19,"translate"),C()()),2&e&&(w("headline",H(1,7,"apps.vpn-socks-client-settings.filter-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(1),w("ngIf",i.data.availableCountries.length>0),c(4),re(H(8,9,"apps.vpn-socks-client-settings.filter-dialog.location")),c(6),re(H(14,11,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),c(5),ce(" ",H(19,13,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},dependencies:[gi,Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Yd,jq,Ql,Fi,Zn,yt]}),t})();const lte=["firstInput"];let cte=(()=>{class t{static openDialog(e){const i=new Ln;return i.autoFocus=!1,i.width=Bt.smallModalWidth,e.open(t,i)}constructor(e,i){this.dialogRef=e,this.formBuilder=i}ngOnInit(){this.form=this.formBuilder.group({password:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}finish(){const e=this.form.get("password").value;this.dialogRef.close("-"+e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(_r))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(e,i){if(1&e&&pt(lte,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:16,vars:14,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"info"],[1,"field-container"],["for","remoteKey",1,"field-label"],["type","password","id","password","formControlName","password","maxlength","100","matInput",""],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"div",2),I(4),R(5,"translate"),C(),k(6,"mat-form-field")(7,"div",3)(8,"label",4),I(9),R(10,"translate"),C(),Ce(11,"input",5,6),C()()(),k(13,"app-button",7),ve("action",function(){return i.finish()}),I(14),R(15,"translate"),C()()),2&e&&(w("headline",H(1,6,"apps.vpn-socks-client-settings.password-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(2),re(H(5,8,"apps.vpn-socks-client-settings.password-dialog.info")),c(5),re(H(10,10,"apps.vpn-socks-client-settings.password-dialog.password")),c(5),ce(" ",H(15,12,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t})(),dte=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}getServices(e){const i=[];return this.http.get(this.discoveryServiceUrl+(e?"proxy":"vpn")).pipe(sf(o=>o.pipe(Ei(4e3))),ke(o=>(o||(o=[]),o.forEach(s=>{const a=new XG,l=s.address.split(":");2===l.length&&(a.address=s.address,a.pk=l[0],a.port=l[1],a.location="",s.geo&&(s.geo.country&&(a.country=s.geo.country,a.location+=ya[s.geo.country.toUpperCase()]?ya[s.geo.country.toUpperCase()]:s.geo.country),s.geo.region&&s.geo.country&&(a.location+=", "),s.geo.region&&(a.region=s.geo.region,a.location+=a.region)),i.push(a))}),i)))}}return t.\u0275fac=function(e){return new(e||t)(we(Ul))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ute(t,n){}const hte=function(t){return{animationDuration:t}},fte=function(t,n){return{value:t,params:n}};function pte(t,n){1&t&&Tn(0)}const gP=["*"],mte=["tabListContainer"],gte=["tabList"],_te=["tabListInner"],bte=["nextPaginator"],vte=["previousPaginator"],yte=["tabBodyWrapper"],Mte=["tabHeader"];function wte(t,n){}function Cte(t,n){1&t&&V(0,wte,0,0,"ng-template",14),2&t&&w("cdkPortalOutlet",z().$implicit.templateLabel)}function xte(t,n){1&t&&I(0),2&t&&re(z().$implicit.textLabel)}function kte(t,n){if(1&t){const e=et();k(0,"div",6,7),ve("click",function(){const o=Pe(e),s=o.$implicit,a=o.index,l=z(),d=ci(1);return Oe(l._handleClick(s,d,a))})("cdkFocusChange",function(o){const a=Pe(e).index;return Oe(z()._tabFocusChanged(o,a))}),Ce(2,"span",8)(3,"div",9),k(4,"span",10)(5,"span",11),V(6,Cte,1,1,"ng-template",12),V(7,xte,1,1,"ng-template",null,13,Es),C()()()}if(2&t){const e=n.$implicit,i=n.index,o=ci(1),s=ci(8),a=z();nn("mdc-tab--active",a.selectedIndex===i),w("id",a._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),Jt("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),c(3),w("matRippleTrigger",o)("matRippleDisabled",e.disabled||a.disableRipple),c(3),w("ngIf",e.templateLabel)("ngIfElse",s)}}function Ste(t,n){if(1&t){const e=et();k(0,"mat-tab-body",15),ve("_onCentered",function(){return Pe(e),Oe(z()._removeTabBodyWrapperHeight())})("_onCentering",function(o){return Pe(e),Oe(z()._setTabBodyWrapperHeight(o))}),C()}if(2&t){const e=n.$implicit,i=n.index,o=z();nn("mat-mdc-tab-body-active",o.selectedIndex===i),w("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),Jt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))}}const Dte={translateTab:oa("translateTab",[yo("center, void, left-origin-center, right-origin-center",ei({transform:"none"})),yo("left",ei({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),yo("right",ei({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Pr("* => left, * => right, left => center, right => center",Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Pr("void => left-origin-center",[ei({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Pr("void => right-origin-center",[ei({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Wr("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Tte=(()=>{class t extends il{constructor(e,i,o,s){super(e,i,s),this._host=o,this._centeringSub=T.EMPTY,this._leavingSub=T.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Go(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(Il),N(or),N(pn(()=>_P)),N(It))},t.\u0275dir=Ze({type:t,selectors:[["","matTabBodyHost",""]],features:[nt]}),t})(),Lte=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=T.EMPTY,this._translateTabComplete=new J,this._onCentering=new ht,this._beforeCentering=new ht,this._afterLeavingCenter=new ht,this._onCentered=new ht(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),o.markForCheck()})),this._translateTabComplete.pipe(z0((s,a)=>s.fromState===a.fromState&&s.toState===a.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Do,8),N(pi))},t.\u0275dir=Ze({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),_P=(()=>{class t extends Lte{constructor(e,i,o){super(e,i,o)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(Do,8),N(pi))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&pt(il,5),2&e){let o;it(o=rt())&&(i._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[nt],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(k(0,"div",0,1),ve("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),V(2,ute,0,0,"ng-template",2),C()),2&e&&w("@translateTab",mn(3,fte,i._position,He(1,hte,i.animationDuration)))},dependencies:[Tte],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Dte.translateTab]}}),t})();const Ete=new Re("MatTabContent");let Ite=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(N(mr))},t.\u0275dir=Ze({type:t,selectors:[["","matTabContent",""]],features:[un([{provide:Ete,useExisting:t}])]}),t})();const Pte=new Re("MatTabLabel"),bP=new Re("MAT_TAB");let Ote=(()=>{class t extends L9{constructor(e,i,o){super(e,i),this._closestTab=o}}return t.\u0275fac=function(e){return new(e||t)(N(mr),N(or),N(bP,8))},t.\u0275dir=Ze({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[un([{provide:Pte,useExisting:t}]),nt]}),t})();const W1="mdc-tab-indicator--active",vP="mdc-tab-indicator--no-transition";class Ate{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){const e=this._items.find(o=>o.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){const o=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(o),this._currentItem=e}}}function Fte(t){return class extends t{constructor(...n){super(...n),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(n){const e=_n(n);this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(n){const e=this.elementRef.nativeElement;if(!n||!e.getBoundingClientRect||!this._inkBarContentElement)return void e.classList.add(W1);const i=e.getBoundingClientRect(),o=n.width/i.width,s=n.left-i.left;e.classList.add(vP),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${o})`),e.getBoundingClientRect(),e.classList.remove(vP),e.classList.add(W1),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(W1)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const n=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=n.createElement("span"),this._inkBarContentElement=n.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const Nte=Pd(class{}),Yte=Fte((()=>{class t extends Nte{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(N(vt))},t.\u0275dir=Ze({type:t,features:[nt]}),t})());let yP=(()=>{class t extends Yte{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275dir=Ze({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Jt("aria-disabled",!!i.disabled),nn("mat-mdc-tab-disabled",i.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[nt]}),t})();const Hte=Pd(class{}),MP=new Re("MAT_TAB_GROUP");let Bte=(()=>{class t extends Hte{get content(){return this._contentPortal}constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new J,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Kl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(N(or),N(MP,8))},t.\u0275dir=Ze({type:t,viewQuery:function(e,i){if(1&e&&pt(mr,7),2&e){let o;it(o=rt())&&(i._implicitContent=o.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[nt,Gi]}),t})(),wP=(()=>{class t extends Bte{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,o){if(1&e&&(sr(o,Ite,7,mr),sr(o,Ote,5)),2&e){let s;it(s=rt())&&(i._explicitContent=s.first),it(s=rt())&&(i.templateLabel=s.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[un([{provide:bP,useExisting:t}]),nt],ngContentSelectors:gP,decls:1,vars:0,template:function(e,i){1&e&&(Ir(),V(0,pte,1,0,"ng-template"))},encapsulation:2}),t})();const CP=tl({passive:!0});let zte=(()=>{class t{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_n(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=So(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,i,o,s,a,l,d){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=s,this._ngZone=a,this._platform=l,this._animationMode=d,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new J,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new J,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new ht,this.indexFocused=new ht,a.runOutsideAngular(()=>{Dh(e.nativeElement,"mouseleave").pipe(Bn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Dh(this._previousPaginator.nativeElement,"touchstart",CP).pipe(Bn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Dh(this._nextPaginator.nativeElement,"touchstart",CP).pipe(Bn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:$e("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bL(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Kn(1)).subscribe(o),bt(e,i,this._items.changes,this._itemsResized()).pipe(Bn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?aa:this._items.changes.pipe(Go(this._items),gr(e=>new he(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(s=>i.next(s));return e.forEach(s=>o.observe(s.elementRef.nativeElement)),()=>{o.disconnect()}}))),j0(1),_i(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){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())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Rs(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:a}=i.elementRef.nativeElement;let l,d;"ltr"==this._getLayoutDirection()?(l=s,d=l+a):(d=this._tabListInner.nativeElement.offsetWidth-s,l=d-a);const _=this.scrollDistance,E=this.scrollDistance+o;l<_?this.scrollDistance-=_-l:d>E&&(this.scrollDistance+=Math.min(d-E,l-_))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Th(650,100).pipe(Bn(bt(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:s}=this._scrollHeader(e);(0===s||s>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Dd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),Ute=(()=>{class t extends zte{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=_n(e)}constructor(e,i,o,s,a,l,d){super(e,i,o,s,a,l,d),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Dd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{disableRipple:"disableRipple"},features:[nt]}),t})(),Wte=(()=>{class t extends Ute{constructor(e,i,o,s,a,l,d){super(e,i,o,s,a,l,d)}ngAfterContentInit(){this._inkBar=new Ate(this._items),super.ngAfterContentInit()}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(Dd),N(Do,8),N(ft),N(ui),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,o){if(1&e&&sr(o,yP,4),2&e){let s;it(s=rt())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(pt(mte,7),pt(gte,7),pt(_te,7),pt(bte,5),pt(vte,5)),2&e){let o;it(o=rt())&&(i._tabListContainer=o.first),it(o=rt())&&(i._tabList=o.first),it(o=rt())&&(i._tabListInner=o.first),it(o=rt())&&(i._nextPaginator=o.first),it(o=rt())&&(i._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&nn("mat-mdc-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[nt],ngContentSelectors:gP,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Ir(),k(0,"button",0,1),ve("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),Ce(2,"div",2),C(),k(3,"div",3,4),ve("keydown",function(s){return i._handleKeydown(s)}),k(5,"div",5,6),ve("cdkObserveContent",function(){return i._onContentChanges()}),k(7,"div",7,8),Tn(9),C()()(),k(10,"button",9,10),ve("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Ce(12,"div",2),C()),2&e&&(nn("mat-mdc-tab-header-pagination-disabled",i._disableScrollBefore),w("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),c(3),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode),c(7),nn("mat-mdc-tab-header-pagination-disabled",i._disableScrollAfter),w("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[Jl,uL],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mat-mdc-tab-header-pagination{-webkit-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2}),t})();const xP=new Re("MAT_TABS_CONFIG");let $te=0;const Gte=Nh(Yh(class{constructor(t){this._elementRef=t}}),"primary");let qte=(()=>{class t extends Gte{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=_n(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=So(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=So(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_n(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=_n(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,o,s){super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new Nl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=T.EMPTY,this._tabLabelSubscription=T.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new ht,this.focusChange=new ht,this.animationDone=new ht,this.selectedTabChange=new ht(!0),this._groupId=$te++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,s)=>o.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Go(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Zte;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=bt(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){i.focusIndex=o,e.disabled||(this.selectedIndex=o)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(xP,8),N(Vi,8))},t.\u0275dir=Ze({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[nt]}),t})(),Kte=(()=>{class t extends qte{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=_n(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=_n(e)}constructor(e,i,o,s){super(e,i,o,s),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!o||null==o.fitInkBarToContent)&&o.fitInkBarToContent,this.stretchTabs=!o||null==o.stretchTabs||o.stretchTabs}}return t.\u0275fac=function(e){return new(e||t)(N(vt),N(pi),N(xP,8),N(Vi,8))},t.\u0275cmp=Ke({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,o){if(1&e&&sr(o,wP,5),2&e){let s;it(s=rt())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(pt(yte,5),pt(Mte,5)),2&e){let o;it(o=rt())&&(i._tabBodyWrapper=o.first),it(o=rt())&&(i._tabHeader=o.first)}},hostAttrs:["ngSkipHydration","true",1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,i){2&e&&nn("mat-mdc-tab-group-dynamic-height",i.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===i.headerPosition)("mat-mdc-tab-group-stretch-tabs",i.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[un([{provide:MP,useExisting:t}]),nt],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(k(0,"mat-tab-header",0,1),ve("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),V(2,kte,9,17,"div",2),C(),k(3,"div",3,4),V(5,Ste,1,11,"mat-tab-body",5),C()),2&e&&(w("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),c(2),w("ngForOf",i._tabs),c(1),nn("_mat-animation-noopable","NoopAnimations"===i._animationMode),c(2),w("ngForOf",i._tabs))},dependencies:[Pn,gi,Ft,il,Jl,Hz,_P,yP,Wte],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-letter-spacing);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2}),t})();class Zte{}let Xte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[ia,Wn,Ld,Bh,U0,Q0,Wn]}),t})(),Jte=(()=>{class t{constructor(e){this.dialog=e,this.tabNames=[""],this.selectedTab=0,this.tabChanged=new ht}ngOnDestroy(){this.tabChanged.complete()}showTabSelector(){const e=[];this.tabNames.forEach((i,o)=>{e.push({icon:o===this.selectedTab?"check":"",label:i})}),Rr.openDialog(this.dialog,e,"node.logs.filter-title").afterClosed().subscribe(i=>{this.tabChanged.emit(i-1)})}}return t.\u0275fac=function(e){return new(e||t)(N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-tab-selector"]],inputs:{tabNames:"tabNames",selectedTab:"selectedTab"},outputs:{tabChanged:"tabChanged"},decls:9,vars:4,consts:[[1,"top-dialog-button",3,"click"],[1,"top-dialog-button-content"],[1,"tab-name"],[1,"icon",3,"inline"],[1,"top-dialog-button-margin"]],template:function(e,i){1&e&&(k(0,"div",0),ve("click",function(){return i.showTabSelector()}),k(1,"div",1)(2,"div",2)(3,"span"),I(4),R(5,"translate"),C()(),k(6,"mat-icon",3),I(7,"expand_more"),C()(),Ce(8,"div",4),C()),2&e&&(c(4),re(H(5,2,i.tabNames[i.selectedTab])),c(2),w("inline",!0))},dependencies:[bn,yt],styles:[".top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%]{display:flex}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .tab-name[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;align-self:center}.top-dialog-button[_ngcontent-%COMP%] .top-dialog-button-content[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:20px;flex-shrink:0;align-self:center}"]}),t})();const Qte=["button"],ene=["settingsButton"],tne=["firstInput"],nne=["tabGroup"];function ine(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"apps.vpn-socks-client-settings.remote-key-length-error")))}function rne(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.vpn-socks-client-settings.remote-key-chars-error")))}const cc=function(t){return{"element-disabled":t}};function one(t,n){if(1&t&&(k(0,"mat-form-field",7)(1,"div",8)(2,"label",9),I(3),R(4,"translate"),C(),Ce(5,"input",24),C()()),2&t){const e=z();w("ngClass",He(4,cc,e.disableDismiss)),c(3),re(H(4,2,"apps.vpn-socks-client-settings.password"))}}function sne(t,n){1&t&&(k(0,"div",25)(1,"mat-icon",26),I(2,"warning"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function ane(t,n){1&t&&Ce(0,"app-loading-indicator",27),2&t&&w("showWhite",!1)}function lne(t,n){1&t&&(k(0,"div",28)(1,"mat-icon",26),I(2,"error"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function cne(t,n){1&t&&(k(0,"div",35),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function dne(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e[1]))}}function une(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e[2])}}function hne(t,n){if(1&t&&(k(0,"div",35)(1,"span"),I(2),R(3,"translate"),C(),V(4,dne,3,3,"ng-container",20),V(5,une,2,1,"ng-container",20),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e[0])," "),c(2),w("ngIf",e[1]),c(1),w("ngIf",e[2])}}function fne(t,n){1&t&&(k(0,"div",28)(1,"mat-icon",26),I(2,"error"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}const kP=function(t){return{highlighted:t}};function pne(t,n){if(1&t&&(Ue(0),k(1,"span",7),I(2),C(),We()),2&t){const e=n.$implicit,i=n.index;c(1),w("ngClass",He(2,kP,i%2!=0)),c(1),re(e)}}function mne(t,n){if(1&t&&(Ue(0),k(1,"div",42),Ce(2,"div"),C(),We()),2&t){const e=z(2).$implicit;c(2),di("background-image: url('assets/img/flags/"+e.country.toLocaleLowerCase()+".png');")}}function gne(t,n){if(1&t&&(Ue(0),k(1,"span",7),I(2),C(),We()),2&t){const e=n.$implicit,i=n.index;c(1),w("ngClass",He(2,kP,i%2!=0)),c(1),re(e)}}function _ne(t,n){if(1&t&&(k(0,"div",35)(1,"span"),I(2),R(3,"translate"),C(),k(4,"span"),I(5,"\xa0 "),V(6,mne,3,2,"ng-container",20),V(7,gne,3,4,"ng-container",39),C()()),2&t){const e=z().$implicit,i=z(2);c(2),re(H(3,3,"apps.vpn-socks-client-settings.location")),c(4),w("ngIf",e.country),c(1),w("ngForOf",i.getHighlightedTextParts(e.location,i.currentFilters.location))}}function bne(t,n){if(1&t){const e=et();k(0,"div",36)(1,"button",37),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).saveChanges(s.pk,null,!1,s.location))}),k(2,"div",38)(3,"div",35)(4,"span"),I(5),R(6,"translate"),C(),k(7,"span"),I(8,"\xa0"),V(9,pne,3,4,"ng-container",39),C()(),V(10,_ne,8,5,"div",32),C()(),k(11,"button",40),ve("click",function(){const s=Pe(e).$implicit;return Oe(z(2).copyPk(s.pk))}),R(12,"translate"),k(13,"mat-icon",41),I(14,"filter_none"),C()()()}if(2&t){const e=n.$implicit,i=z(2);c(1),w("ngClass",He(10,cc,i.disableDismiss)),c(4),re(H(6,6,"apps.vpn-socks-client-settings.key")),c(4),w("ngForOf",i.getHighlightedTextParts(e.pk,i.currentFilters.key)),c(1),w("ngIf",e.location),c(1),w("matTooltip",H(12,8,"apps.vpn-socks-client-settings.copy-pk-info")),c(2),w("inline",!0)}}function vne(t,n){if(1&t){const e=et();Ue(0),k(1,"button",29),ve("click",function(){return Pe(e),Oe(z().changeFilters())}),k(2,"div",30)(3,"div",31)(4,"mat-icon",26),I(5,"filter_list"),C()(),k(6,"div"),V(7,cne,3,3,"div",32),V(8,hne,6,5,"div",33),k(9,"div",34),I(10),R(11,"translate"),C()()()(),V(12,fne,5,4,"div",19),V(13,bne,15,12,"div",22),We()}if(2&t){const e=z();c(4),w("inline",!0),c(3),w("ngIf",0===e.currentFiltersTexts.length),c(1),w("ngForOf",e.currentFiltersTexts),c(2),re(H(11,6,"apps.vpn-socks-client-settings.click-to-change")),c(2),w("ngIf",0===e.filteredProxiesFromDiscovery.length),c(1),w("ngForOf",e.proxiesFromDiscoveryToShow)}}const yne=function(t,n){return{currentElementsRange:t,totalElements:n}};function Mne(t,n){if(1&t){const e=et();k(0,"div",43)(1,"span"),I(2),R(3,"translate"),C(),k(4,"button",44),ve("click",function(){return Pe(e),Oe(z().goToPreviousPage())}),k(5,"mat-icon"),I(6,"chevron_left"),C()(),k(7,"button",44),ve("click",function(){return Pe(e),Oe(z().goToNextPage())}),k(8,"mat-icon"),I(9,"chevron_right"),C()()()}if(2&t){const e=z();c(2),re(kt(3,1,"apps.vpn-socks-client-settings.pagination-info",mn(4,yne,e.currentRange,e.filteredProxiesFromDiscovery.length)))}}const wne=function(t){return{number:t}};function Cne(t,n){if(1&t&&(k(0,"div")(1,"div",28)(2,"mat-icon",26),I(3,"error"),C(),I(4),R(5,"translate"),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),ce(" ",kt(5,2,"apps.vpn-socks-client-settings.no-history",He(5,wne,e.maxHistoryElements))," ")}}function xne(t,n){1&t&&Jo(0)}function kne(t,n){1&t&&Jo(0)}function Sne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z(2).$implicit;c(2),ce(" ",e.note,"")}}function Dne(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),ce(" ",H(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function Tne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),C(),We()),2&t){const e=z(4).$implicit;c(2),ce(" (",e.location,")")}}function Lne(t,n){if(1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),V(4,Tne,3,1,"ng-container",20),We()),2&t){const e=z(3).$implicit;c(2),ce(" ",H(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),c(2),w("ngIf",e.location)}}function Ene(t,n){if(1&t&&(Ue(0),V(1,Dne,4,3,"ng-container",20),V(2,Lne,5,4,"ng-container",20),We()),2&t){const e=z(2).$implicit;c(1),w("ngIf",e.enteredManually),c(1),w("ngIf",!e.enteredManually)}}function Ine(t,n){if(1&t&&(k(0,"div",49)(1,"div",50)(2,"div",35)(3,"span"),I(4),R(5,"translate"),C(),k(6,"span"),I(7),C()(),k(8,"div",35)(9,"span"),I(10),R(11,"translate"),C(),V(12,Sne,3,1,"ng-container",20),V(13,Ene,3,2,"ng-container",20),C()(),k(14,"div",51)(15,"div",52)(16,"mat-icon",26),I(17,"add"),C()()()()),2&t){const e=z().$implicit;c(4),re(H(5,6,"apps.vpn-socks-client-settings.key")),c(3),ce(" ",e.key,""),c(3),re(H(11,8,"apps.vpn-socks-client-settings.note")),c(2),w("ngIf",e.note),c(1),w("ngIf",!e.note),c(3),w("inline",!0)}}function Pne(t,n){if(1&t){const e=et();k(0,"div",36)(1,"button",45),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().useFromHistory(s))}),V(2,xne,1,0,"ng-container",46),C(),k(3,"button",47),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().changeNote(s))}),R(4,"translate"),k(5,"mat-icon",41),I(6,"edit"),C()(),k(7,"button",47),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().removeFromHistory(s.key))}),R(8,"translate"),k(9,"mat-icon",41),I(10,"close"),C()(),k(11,"button",48),ve("click",function(){const s=Pe(e).$implicit;return Oe(z().openHistoryOptions(s))}),V(12,kne,1,0,"ng-container",46),C(),V(13,Ine,18,10,"ng-template",null,2,Es),C()}if(2&t){const e=ci(14),i=z();c(1),w("ngClass",He(12,cc,i.disableDismiss)),c(1),w("ngTemplateOutlet",e),c(1),w("matTooltip",H(4,8,"apps.vpn-socks-client-settings.change-note")),c(2),w("inline",!0),c(2),w("matTooltip",H(8,10,"apps.vpn-socks-client-settings.remove-entry")),c(2),w("inline",!0),c(2),w("ngClass",He(14,cc,i.disableDismiss)),c(1),w("ngTemplateOutlet",e)}}function One(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"apps.vpn-socks-client-settings.dns-error")))}function Ane(t,n){1&t&&(k(0,"div",59)(1,"mat-icon",26),I(2,"warning"),C(),I(3),R(4,"translate"),C()),2&t&&(c(1),w("inline",!0),c(2),ce(" ",H(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}function Fne(t,n){if(1&t){const e=et();k(0,"mat-tab",5),R(1,"translate"),k(2,"form",6)(3,"mat-form-field",7)(4,"div",8)(5,"label",9),I(6),R(7,"translate"),C(),Ce(8,"input",53),C(),k(9,"mat-error"),V(10,One,4,3,"ng-container",20),C()(),k(11,"div",54)(12,"mat-checkbox",55),I(13),R(14,"translate"),k(15,"mat-icon",56),R(16,"translate"),I(17,"help"),C()()(),V(18,Ane,5,4,"div",57),k(19,"app-button",16,58),ve("action",function(){return Pe(e),Oe(z().saveSettings())}),I(21),R(22,"translate"),C()()()}if(2&t){const e=z();w("label",H(1,12,e.tabLabels[3])),c(2),w("formGroup",e.settingsForm),c(1),w("ngClass",He(22,cc,e.disableDismiss)),c(3),re(H(7,14,"apps.vpn-socks-client-settings.dns")),c(4),w("ngIf",!e.settingsForm.get("dns").valid),c(2),w("ngClass",He(24,cc,e.disableDismiss)),c(1),ce(" ",H(14,16,"apps.vpn-socks-client-settings.killswitch-check")," "),c(2),w("inline",!0)("matTooltip",H(16,18,"apps.vpn-socks-client-settings.killswitch-info")),c(3),w("ngIf",e.settingsChanged),c(1),w("disabled",!e.settingsForm.valid||!e.settingsChanged||e.working),c(2),ce(" ",H(22,20,"apps.vpn-socks-client-settings.save-settings")," ")}}let Rne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.largeModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l,d,_,E){this.data=e,this.dialogRef=i,this.appsService=o,this.formBuilder=s,this.snackbarService=a,this.dialog=l,this.proxyDiscoveryService=d,this.clipboardService=_,this.storageService=E,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.tabLabels=[],this.currentTab=0,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new mP,this.currentFiltersTexts=[],this.configuringVpn=!1,this.initialKillswitchSetting=!1,this.initialDnsSetting="",this.working=!1,-1!==e.name.toLocaleLowerCase().indexOf("vpn")?(this.configuringVpn=!0,this.tabLabels=["apps.vpn-socks-client-settings.remote-visor-tab","apps.vpn-socks-client-settings.discovery-tab","apps.vpn-socks-client-settings.history-tab","apps.vpn-socks-client-settings.settings-tab"]):this.tabLabels=["apps.vpn-socks-client-settings.remote-visor-tab","apps.vpn-socks-client-settings.discovery-tab","apps.vpn-socks-client-settings.history-tab"]}ngOnInit(){this.migrateDataToHvStorage(),this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(o=>{this.proxiesFromDiscovery=o,this.proxiesFromDiscovery.forEach(s=>{s.country&&this.countriesFromDiscovery.add(s.country.toUpperCase())}),this.filterProxies(),this.loadingFromDiscovery=!1});const e=this.storageService.getDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];let i="";if(this.data.args&&this.data.args.length>0)for(let o=0;othis.firstInput.nativeElement.focus())}ngOnDestroy(){this.discoverySubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}migrateDataToHvStorage(){const e=localStorage.getItem(this.socksHistoryStorageKey);e&&(this.storageService.setDataForHv(this.socksHistoryStorageKey,e),localStorage.removeItem(this.socksHistoryStorageKey));const i=localStorage.getItem(this.vpnHistoryStorageKey);i&&(this.storageService.setDataForHv(this.vpnHistoryStorageKey,i),localStorage.removeItem(this.vpnHistoryStorageKey))}get disableDismiss(){return this.button&&this.button.isLoading||this.settingsButton&&this.settingsButton.isLoading}tabChangeRequested(e){this.tabGroup.selectedIndex=e}tabIdexChanged(){this.currentTab=this.tabGroup.selectedIndex}validateIp(){if(this.settingsForm){const e=this.settingsForm.get("dns").value;return Zt.checkIfIpValidOrEmpty(e)?null:{invalid:!0}}return null}get settingsChanged(){return this.initialKillswitchSetting!==this.settingsForm.get("killswitch").value||this.initialDnsSetting!==this.settingsForm.get("dns").value}changeFilters(){const e=[];this.countriesFromDiscovery.forEach(o=>e.push(o)),ate.openDialog(this.dialog,{currentFilters:this.currentFilters,availableCountries:e}).afterClosed().subscribe(o=>{o&&(this.currentFilters=o,this.filterProxies())})}getHighlightedTextParts(e,i){if(!i)return[e];const o=e.toLowerCase(),s=i.toLowerCase();let a=!0,l=0;const d=[];for(;a;){const _=o.indexOf(s,l);-1===_?a=!1:(d.push(e.substring(l,_)),d.push(e.substring(_,_+i.length)),l=_+i.length)}return d.push(e.substring(l)),d}filterProxies(){this.filteredProxiesFromDiscovery=this.currentFilters.country||this.currentFilters.location||this.currentFilters.key?this.proxiesFromDiscovery.filter(e=>!(this.currentFilters.country&&(!e.country||!e.country.toUpperCase().includes(this.currentFilters.country.toUpperCase()))||this.currentFilters.location&&!e.location.toLowerCase().includes(this.currentFilters.location.toLowerCase())||this.currentFilters.key&&!e.address.toLowerCase().includes(this.currentFilters.key.toLowerCase()))):this.proxiesFromDiscovery,this.updateCurrentFilters(),this.updatePagination()}updateCurrentFilters(){if(this.currentFiltersTexts=[],this.currentFilters.country){const e=ya[this.currentFilters.country.toUpperCase()]?ya[this.currentFilters.country.toUpperCase()]:this.currentFilters.country.toUpperCase();this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.country","",e])}this.currentFilters.location&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.location","",this.currentFilters.location]),this.currentFilters.key&&this.currentFiltersTexts.push(["apps.vpn-socks-client-settings.filter-dialog.pub-key","",this.currentFilters.key])}updatePagination(){this.currentPage=1,this.numberOfPages=Math.ceil(this.filteredProxiesFromDiscovery.length/this.maxElementsPerPage),this.showCurrentPage()}goToNextPage(){this.currentPage>=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())}goToPreviousPage(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())}showCurrentPage(){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.currentPage{1===o?this.useFromHistory(e):2===o?this.changeNote(e):3===o&&this.removeFromHistory(e.key)})}removeFromHistory(e){const o=Zt.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.remove-from-history-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{this.history=this.history.filter(a=>a.key!==e);const s=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),o.close()})}changeNote(e){Jee.openDialog(this.dialog,e.note).afterClosed().subscribe(i=>{if(i){i=i.substr(1,i.length-1),this.history.forEach(s=>{s.key===e.key&&(s.note=i)});const o=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,o),i?this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"):this.snackbarService.showWarning("apps.vpn-socks-client-settings.default-note-warning")}})}useFromHistory(e){e.hasPassword?cte.openDialog(this.dialog).afterClosed().subscribe(i=>{i&&(i=i.substr(1,i.length-1),this.saveChanges(e.key,i,e.enteredManually,e.location,e.note))}):this.saveChanges(e.key,null,e.enteredManually,e.location,e.note)}saveChanges(e=null,i=null,o=null,s=null,a=null){if(!this.form.valid&&!e||this.working)return;o=!e||o,i=e?i:this.form.get("password").value,e=e||this.form.get("pk").value;const d=Zt.createConfirmationDialog(this.dialog,"apps.vpn-socks-client-settings.change-key-confirmation");d.componentInstance.operationAccepted.subscribe(()=>{d.close(),this.continueSavingChanges(e,i,o,s,a)})}saveSettings(){if(this.working)return;const e={killswitch:this.settingsForm.get("killswitch").value,dns:this.settingsForm.get("dns").value};this.settingsButton.showLoading(!1),this.button.showLoading(!1),this.working=!0,this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,e).subscribe(()=>{this.initialKillswitchSetting=e.killswitch,this.initialDnsSetting=e.dns,this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.settingsButton.reset(!1),this.button.reset(!1),Mt.refreshCurrentDisplayedData()},i=>{this.working=!1,this.settingsButton.showError(!1),this.button.reset(!1),i=Qt(i),this.snackbarService.showError(i)})}copyPk(e){this.clipboardService.copy(e)?this.snackbarService.showDone("apps.vpn-socks-client-settings.copied-pk-info"):this.snackbarService.showError("apps.vpn-socks-client-settings.copy-pk-error")}continueSavingChanges(e,i,o,s,a){if(this.working)return;this.button.showLoading(!1),this.settingsButton&&this.settingsButton.showLoading(!1),this.working=!0;const l={pk:e};this.configuringVpn&&(l.passcode=i||""),this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,l).subscribe(()=>this.onServerDataChangeSuccess(e,!!i,o,s,a),d=>this.onServerDataChangeError(d))}onServerDataChangeSuccess(e,i,o,s,a){this.history=this.history.filter(_=>_.key!==e);const l={key:e,enteredManually:o};if(i&&(l.hasPassword=i),s&&(l.location=s),a&&(l.note=a),this.history=[l].concat(this.history),this.history.length>this.maxHistoryElements){const _=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-_,_)}this.form.get("pk").setValue(e);const d=JSON.stringify(this.history);this.storageService.setDataForHv(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,d),Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton&&this.settingsButton.reset(!1)}onServerDataChangeError(e){this.working=!1,this.button.showError(!1),this.settingsButton&&this.settingsButton.reset(!1),e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(On),N(va),N(_r),N(kn),N(xn),N(dte),N(nf),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(e,i){if(1&e&&(pt(Qte,5),pt(ene,5),pt(tne,5),pt(nne,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.settingsButton=o.first),it(o=rt())&&(i.firstInput=o.first),it(o=rt())&&(i.tabGroup=o.first)}},decls:38,vars:40,consts:[[3,"headline","dialog","disableDismiss","includeVerticalMargins","includeScrollableArea"],[3,"tabNames","selectedTab","tabChanged"],["content",""],[3,"selectedIndexChange"],["tabGroup",""],[3,"label"],[3,"formGroup"],[3,"ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["id","pk","formControlName","pk","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[3,"ngClass",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"],[4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[3,"label",4,"ngIf"],["id","password","type","password","formControlName","password","maxlength","100","matInput",""],[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"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"ngClass","click"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[1,"option-button-icon",3,"inline"],[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,"ngClass","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,"ngClass","click"],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],["formControlName","dns","maxlength","15","matInput",""],[1,"main-theme","settings-option"],["color","primary","formControlName","killswitch",3,"ngClass"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],[1,"settings-changed-warning"]],template:function(e,i){if(1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"app-tab-selector",1),ve("tabChanged",function(s){return i.tabChangeRequested(s)}),C(),k(3,"mat-dialog-content",null,2)(5,"mat-tab-group",3,4),ve("selectedIndexChange",function(){return i.tabIdexChanged()}),k(7,"mat-tab",5),R(8,"translate"),k(9,"form",6)(10,"mat-form-field",7)(11,"div",8)(12,"label",9),I(13),R(14,"translate"),C(),Ce(15,"input",10,11),C(),k(17,"mat-error"),V(18,ine,4,3,"ng-container",12),C(),V(19,rne,3,3,"ng-template",null,13,Es),C(),V(21,one,6,6,"mat-form-field",14),V(22,sne,5,4,"div",15),k(23,"app-button",16,17),ve("action",function(){return i.saveChanges()}),I(25),R(26,"translate"),C()()(),k(27,"mat-tab",5),R(28,"translate"),V(29,ane,1,1,"app-loading-indicator",18),V(30,lne,5,4,"div",19),V(31,vne,14,8,"ng-container",20),V(32,Mne,10,7,"div",21),C(),k(33,"mat-tab",5),R(34,"translate"),V(35,Cne,6,7,"div",20),V(36,Pne,15,16,"div",22),C(),V(37,Fne,23,26,"mat-tab",23),C()()()),2&e){const o=ci(20);w("headline",H(1,26,"apps.vpn-socks-client-settings."+(i.configuringVpn?"vpn-title":"socks-title")))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss)("includeVerticalMargins",!1)("includeScrollableArea",!1),c(2),w("tabNames",i.tabLabels)("selectedTab",i.currentTab),c(5),w("label",H(8,28,i.tabLabels[0])),c(2),w("formGroup",i.form),c(1),w("ngClass",He(38,cc,i.disableDismiss)),c(3),re(H(14,30,"apps.vpn-socks-client-settings.public-key")),c(5),w("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",o),c(3),w("ngIf",i.configuringVpn),c(1),w("ngIf",i.form&&i.form.get("password").value),c(1),w("disabled",!i.form.valid||i.working),c(2),ce(" ",H(26,32,"apps.vpn-socks-client-settings.save")," "),c(2),w("label",H(28,34,i.tabLabels[1])),c(2),w("ngIf",i.loadingFromDiscovery),c(1),w("ngIf",!i.loadingFromDiscovery&&0===i.proxiesFromDiscovery.length),c(1),w("ngIf",!i.loadingFromDiscovery&&i.proxiesFromDiscovery.length>0),c(1),w("ngIf",i.numberOfPages>1),c(1),w("label",H(34,36,i.tabLabels[2])),c(2),w("ngIf",0===i.history.length),c(1),w("ngForOf",i.history),c(1),w("ngIf",i.configuringVpn)}},dependencies:[Pn,gi,Ft,pd,Ai,Ii,Pi,Oi,kr,ti,yi,lg,tr,pa,br,wP,Kte,$r,ol,bn,Mi,_a,Fi,Zn,as,Jte,yt],styles:["mat-tab-header{border-bottom:solid 1px rgba(0,0,0,.12)}@media (max-width: 767px){ mat-tab-header{display:none!important}}app-tab-selector[_ngcontent-%COMP%]{display:none}@media (max-width: 767px){app-tab-selector[_ngcontent-%COMP%]{display:block!important}}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:5px}.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);height:auto;justify-content:left}.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}.list-button[_ngcontent-%COMP%] .option-button-icon[_ngcontent-%COMP%]{font-size:14px;margin:0!important;overflow:visible!important}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px;display:flex;align-items:center}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px;display:flex}.settings-option[_ngcontent-%COMP%]{margin-top:20px}.settings-option[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{margin-bottom:15px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative}"]}),t})();const Nne=["button"],SP=function(t){return{"element-disabled":t}},DP=function(t){return{number:t}};function Yne(t,n){if(1&t){const e=et();Ue(0,7),k(1,"div",8)(2,"mat-form-field",9)(3,"div",10)(4,"label",11),I(5),R(6,"translate"),C(),Ce(7,"input",12),C()(),k(8,"mat-form-field",9)(9,"div",10)(10,"label",13),I(11),R(12,"translate"),C(),Ce(13,"input",14),C()(),k(14,"button",15),ve("click",function(){const s=Pe(e).index;return Oe(z().removeSetting(s))}),R(15,"translate"),k(16,"mat-icon",16),I(17,"close"),C()()(),We()}if(2&t){const e=n.index,i=z();c(1),w("formGroupName",e),c(1),w("ngClass",He(15,SP,i.disableDismiss)),c(3),re(kt(6,7,"apps.user-app-settings.name",He(17,DP,e+1))),c(3),w("ngClass",He(19,SP,i.disableDismiss)),c(3),re(kt(12,10,"apps.user-app-settings.value",He(21,DP,e+1))),c(3),w("matTooltip",H(15,13,"apps.user-app-settings.remove")),c(2),w("inline",!0)}}const Hne=function(t){return{name:t}};let Bne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l,this.appName="",this.appName=e.name}ngOnInit(){if(this.form=this.formBuilder.group({settings:this.formBuilder.array([])}),this.data.args&&this.data.args.length>0)for(let e=0;e{let a=s.get("name").value,l=s.get("value").value;a=a&&a.trim(),l=l&&l.trim(),a?(o[a]=l,i+=1):e=!0}),e||0===i){const a=Zt.createConfirmationDialog(this.dialog,"apps.user-app-settings."+(0===i?"empty-confirmation":"invalid-confirmation"));a.componentInstance.operationAccepted.subscribe(()=>{a.close(),this.continueSavingChanges(o)})}else this.continueSavingChanges(o)}continueSavingChanges(e){this.button.showLoading();const i={custom_setting:e};this.operationSubscription=this.appsService.changeAppSettings(Mt.getCurrentNodeKey(),this.data.name,i).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(){Mt.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.user-app-settings.changes-made"),this.dialogRef.close()}onError(e){this.button.showError(),e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(vi),N(va),N(_r),N(On),N(kn),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-user-app-settings"]],viewQuery:function(e,i){if(1&e&&pt(Nne,5),2&e){let o;it(o=rt())&&(i.button=o.first)}},decls:15,vars:20,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup"],["formArrayName","settings",4,"ngFor","ngForOf"],[1,"add-setting",3,"click"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["formArrayName","settings"],[1,"settings-row",3,"formGroupName"],[3,"ngClass"],[1,"field-container"],["for","name",1,"field-label"],["id","name","formControlName","name","matInput",""],["for","value",1,"field-label"],["id","value","formControlName","value","matInput",""],["mat-button","",1,"transparent-button",3,"matTooltip","click"],[3,"inline"]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),k(5,"form",2),V(6,Yne,18,23,"ng-container",3),C(),k(7,"div")(8,"a",4),ve("click",function(){return i.addSetting()}),I(9),R(10,"translate"),C()(),k(11,"app-button",5,6),ve("action",function(){return i.saveChanges()}),I(13),R(14,"translate"),C()()),2&e&&(w("headline",kt(1,9,"apps.user-app-settings.title",He(18,Hne,i.appName)))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),re(H(4,12,"apps.user-app-settings.info")),c(2),w("formGroup",i.form),c(1),w("ngForOf",i.settingsControls),c(3),ce("+ ",H(10,14,"apps.user-app-settings.add"),""),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(14,16,"apps.user-app-settings.save")," "))},dependencies:[Pn,gi,Ai,Ii,Pi,Oi,ti,yi,ef,tf,tr,br,$r,bn,Mi,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}.settings-row[_ngcontent-%COMP%]{display:flex}mat-form-field[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px}button[_ngcontent-%COMP%]{flex-shrink:0;width:50px;padding:0!important;align-self:center;border-radius:10px}button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin:0!important}.add-setting[_ngcontent-%COMP%]{color:#215f9e!important;cursor:pointer}"]}),t})();const Vne=["button"],TP=function(t){return{"element-disabled":t}};let jne=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.data=e,this.appsService=i,this.formBuilder=o,this.dialogRef=s,this.snackbarService=a,this.dialog=l}ngOnInit(){if(this.form=this.formBuilder.group({localhostOnly:[!0],port:["",Yt.compose([Yt.required,Yt.min(1025),Yt.max(65536)])]}),this.formSubscription=this.form.get("localhostOnly").valueChanges.subscribe(e=>{if(!e){this.form.get("localhostOnly").setValue(!0);const i=Zt.createConfirmationDialog(this.dialog,"apps.skychat-settings.non-localhost-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.form.get("localhostOnly").setValue(!1,{emitEvent:!1})})}}),this.data.args&&this.data.args.length>0)for(let e=0;e1)}}function _ie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-official")))}function bie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-user")))}function vie(t,n){1&t&&(k(0,"span",61),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"apps.apps-list.empty-with-filter")))}function yie(t,n){if(1&t&&(k(0,"div",23)(1,"div",58)(2,"mat-icon",59),I(3,"warning"),C(),V(4,_ie,3,3,"span",60),V(5,bie,3,3,"span",60),V(6,vie,3,3,"span",60),C()()),2&t){const e=z();c(2),w("inline",!0),c(2),w("ngIf",0===e.allAppsForType.length&&e.showOfficialApps),c(1),w("ngIf",0===e.allAppsForType.length&&!e.showOfficialApps),c(1),w("ngIf",0!==e.allAppsForType.length)}}function Mie(t,n){if(1&t&&Ce(0,"app-paginator",22),2&t){const e=z();w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",mn(4,LP,e.nodePK,e.showOfficialApps))("queryParams",e.dataFilterer.currentUrlQueryParams)}}const wie=function(t){return{"paginator-icons-fixer":t}};let IP=(()=>{class t{set showShortList(e){this.showShortList_=e,this.dataSorter&&this.dataSorter.setData(this.filteredApps)}set apps(e){this.allApps=e||[],this.allApps&&(this.allAppsForType=[],this.allApps.forEach(i=>{(this.showOfficialApps&&this.officialAppsList.has(i.name)||!this.showOfficialApps&&!this.officialAppsList.has(i.name))&&this.allAppsForType.push(i)}),this.dataFilterer&&this.dataFilterer.setData(this.allAppsForType))}constructor(e,i,o,s,a,l,d){this.appsService=e,this.dialog=i,this.route=o,this.router=s,this.snackbarService=a,this.translateService=l,this.storageService=d,this.listIdForOfficialApps="op",this.listIdForUserApps="up",this.officialAppsList=new Set(["skychat","skysocks","skysocks-client","vpn-client","vpn-server"]),this.showOfficialApps=!0,this.stateSortData=new Vn(["status"],"apps.apps-list.state",Xt.NumberReversed),this.nameSortData=new Vn(["name"],"apps.apps-list.app-name",Xt.Text),this.portSortData=new Vn(["port"],"apps.apps-list.port",Xt.Number),this.autoStartSortData=new Vn(["autostart"],"apps.apps-list.auto-start",Xt.Boolean),this.selections=new Map,this.appsWithoutConfig=new Set,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:$n.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:$n.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:$n.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:$n.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.navigationsSubscription=this.route.paramMap.subscribe(_=>{if(_.has("showOfficialApps")&&(this.showOfficialApps=_.get("showOfficialApps").toUpperCase()==="true".toUpperCase()),_.has("page")){let E=Number.parseInt(_.get("page"),10);(isNaN(E)||E<1)&&(E=1),this.currentPageInUrl=E,this.recalculateElementsToShow()}})}ngOnInit(){const e=this.showOfficialApps?this.listIdForOfficialApps:this.listIdForUserApps;this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,e),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataSorter&&this.dataSorter.setData(this.filteredApps),this.dataFilterer=new Hd(this.dialog,this.route,this.router,this.filterProperties,e),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(o=>{this.filteredApps=o,this.dataSorter.setData(this.filteredApps)}),this.allAppsForType&&this.dataFilterer.setData(this.allAppsForType)}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(e=>e.unsubscribe()),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()}getLink(e){if("skychat"===e.name.toLocaleLowerCase()&&this.nodeIp&&0!==e.status&&2!==e.status){let i="8001",o="127.0.0.1";if(e.args)for(let s=0;s{i&&(e=!0)}),e}changeAllSelections(e){this.selections.forEach((i,o)=>{this.selections.set(o,e)})}changeStateOfSelected(e){const i=[];if(this.selections.forEach((o,s)=>{o&&(e&&(0===this.appsMap.get(s).status||2===this.appsMap.get(s).status)||!e&&0!==this.appsMap.get(s).status&&2!==this.appsMap.get(s).status)&&i.push(s)}),e)this.changeAppsValRecursively(i,!1,e);else{const o=Zt.createConfirmationDialog(this.dialog,"apps.stop-selected-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!1,e,o)})}}changeAutostartOfSelected(e){const i=[];this.selections.forEach((s,a)=>{s&&(e&&!this.appsMap.get(a).autostart||!e&&this.appsMap.get(a).autostart)&&i.push(a)});const o=Zt.createConfirmationDialog(this.dialog,e?"apps.enable-autostart-selected-confirmation":"apps.disable-autostart-selected-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.showProcessing(),this.changeAppsValRecursively(i,!0,e,o)})}showOptionsDialog(e){const i=[{icon:"list",label:"apps.view-logs"},{icon:0===e.status||2===e.status?"play_arrow":"stop",label:"apps."+(0===e.status||2===e.status?"start-app":"stop-app")},{icon:e.autostart?"close":"done",label:e.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart"}];this.appsWithoutConfig.has(e.name)||i.push({icon:"settings",label:"apps.settings"}),Rr.openDialog(this.dialog,i,"common.options").afterClosed().subscribe(o=>{1===o?this.viewLogs(e):2===o?this.changeAppState(e):3===o?this.changeAppAutostart(e):4===o&&this.config(e)})}changeAppState(e){if(0===e.status||2===e.status)this.changeSingleAppVal(this.startChangingAppState(e.name,!0));else{const i=Zt.createConfirmationDialog(this.dialog,"apps.stop-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppState(e.name,!1),i)})}}changeAppAutostart(e){const i=Zt.createConfirmationDialog(this.dialog,e.autostart?"apps.disable-autostart-confirmation":"apps.enable-autostart-confirmation");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.showProcessing(),this.changeSingleAppVal(this.startChangingAppAutostart(e.name,!e.autostart),i)})}changeSingleAppVal(e,i=null){this.operationSubscriptionsGroup.push(e.subscribe(()=>{i&&i.close(),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")},o=>{o=Qt(o),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),i?i.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg):this.snackbarService.showError(o)}))}viewLogs(e){0!==e.status&&2!==e.status?Wee.openDialog(this.dialog,e):this.snackbarService.showError("apps.apps-list.unavailable-logs-error")}config(e){"skychat"===e.name?jne.openDialog(this.dialog,e):"skysocks"===e.name||"vpn-server"===e.name?Zee.openDialog(this.dialog,e):"skysocks-client"===e.name||"vpn-client"===e.name?Rne.openDialog(this.dialog,e):Bne.openDialog(this.dialog,e)}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredApps){const e=this.showShortList_?Bt.maxShortListElements:Bt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredApps.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(i,i+e),this.appsMap=new Map,this.appsToShow.forEach(a=>{this.appsMap.set(a.name,a),this.selections.has(a.name)||this.selections.set(a.name,!1)});const s=[];this.selections.forEach((a,l)=>{this.appsMap.has(l)||s.push(l)}),s.forEach(a=>{this.selections.delete(a)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(()=>Mt.refreshCurrentDisplayedData(),2e3))}startChangingAppState(e,i){return this.appsService.changeAppState(Mt.getCurrentNodeKey(),e,i).pipe(ke(o=>(null!=o.status&&this.dataSource.forEach(s=>{s.name===e&&(s.status=o.status,s.detailedStatus=o.detailed_status)}),o)))}startChangingAppAutostart(e,i){return this.appsService.changeAppAutostart(Mt.getCurrentNodeKey(),e,i)}changeAppsValRecursively(e,i,o,s=null){if(!e||0===e.length)return setTimeout(()=>Mt.refreshCurrentDisplayedData(),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(s&&s.close());let a;a=i?this.startChangingAppAutostart(e[e.length-1],o):this.startChangingAppState(e[e.length-1],o),this.operationSubscriptionsGroup.push(a.subscribe(()=>{e.pop(),0===e.length?(s&&s.close(),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),this.snackbarService.showDone("apps.operation-completed")):this.changeAppsValRecursively(e,i,o,s)},l=>{l=Qt(l),setTimeout(()=>{this.refreshAgain=!0,Mt.refreshCurrentDisplayedData()},50),s?s.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):this.snackbarService.showError(l)}))}}return t.\u0275fac=function(e){return new(e||t)(N(va),N(xn),N(Cr),N(hn),N(kn),N(To),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showOfficialApps:"showOfficialApps",showShortList:"showShortList",apps:"apps"},decls:33,vars:35,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,"class","matTooltip",4,"ngIf"],["class","red-text",3,"inline","matTooltip",4,"ngIf"],["mat-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[3,"matTooltip"],[1,"red-text",3,"inline","matTooltip"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-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(e,i){1&e&&(k(0,"div",0)(1,"div",1),V(2,zne,3,3,"span",2),V(3,Une,3,3,"span",2),V(4,qne,5,4,"div",3),C(),k(5,"div",4)(6,"div",5),V(7,Kne,3,4,"mat-icon",6),V(8,Zne,2,1,"mat-icon",7),k(9,"mat-menu",8,9)(11,"div",10),ve("click",function(){return i.changeAllSelections(!0)}),I(12),R(13,"translate"),C(),k(14,"div",10),ve("click",function(){return i.changeAllSelections(!1)}),I(15),R(16,"translate"),C(),k(17,"div",11),ve("click",function(){return i.changeStateOfSelected(!0)}),I(18),R(19,"translate"),C(),k(20,"div",11),ve("click",function(){return i.changeStateOfSelected(!1)}),I(21),R(22,"translate"),C(),k(23,"div",11),ve("click",function(){return i.changeAutostartOfSelected(!0)}),I(24),R(25,"translate"),C(),k(26,"div",11),ve("click",function(){return i.changeAutostartOfSelected(!1)}),I(27),R(28,"translate"),C()()(),V(29,Xne,1,7,"app-paginator",12),C()(),V(30,gie,41,38,"div",13),V(31,yie,7,4,"div",13),V(32,Mie,1,7,"app-paginator",12)),2&e&&(w("ngClass",He(33,wie,!i.showShortList_&&i.numberOfPages>1&&i.dataSource)),c(2),w("ngIf",i.showShortList_&&i.showOfficialApps),c(1),w("ngIf",i.showShortList_&&!i.showOfficialApps),c(1),w("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),c(3),w("ngIf",i.allAppsForType&&i.allAppsForType.length>0),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("overlapTrigger",!1),c(3),ce(" ",H(13,21,"selection.select-all")," "),c(3),ce(" ",H(16,23,"selection.unselect-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(19,25,"selection.start-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(22,27,"selection.stop-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(25,29,"selection.enable-autostart-all")," "),c(2),In("disabled",!i.hasSelectedElements()),c(1),ce(" ",H(28,31,"selection.disable-autostart-all")," "),c(2),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource),c(1),w("ngIf",i.dataSource&&i.dataSource.length>0),c(1),w("ngIf",!i.dataSource||0===i.dataSource.length),c(1),w("ngIf",!i.showShortList_&&i.numberOfPages>1&&i.dataSource))},dependencies:[Pn,gi,Ft,$r,ol,bn,Mi,Bd,ba,Vd,_a,Fg,jd,yt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:150px}.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}"]}),t})(),Cie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps,this.nodeIp=e.ip}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-apps"]],features:[nt],decls:2,vars:10,consts:[[3,"showOfficialApps","apps","showShortList","nodePK","nodeIp"]],template:function(e,i){1&e&&Ce(0,"app-node-app-list",0)(1,"app-node-app-list",0),2&e&&(w("showOfficialApps",!0)("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp),c(1),w("showOfficialApps",!1)("apps",i.apps)("showShortList",!0)("nodePK",i.nodePK)("nodeIp",i.nodeIp))},dependencies:[IP]}),t})();function xie(t,n){1&t&&Ce(0,"app-transport-list",1),2&t&&w("node",z().node)("showShortList",!1)}let kie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>this.node=e),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-transports"]],features:[nt],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(e,i){1&e&&V(0,xie,1,2,"app-transport-list",0),2&e&&w("ngIf",i.node)},dependencies:[Ft,hP]}),t})();function Sie(t,n){if(1&t&&Ce(0,"app-route-list",1),2&t){const e=z();w("routes",e.routes)("showShortList",!1)("nodePK",e.nodePK)}}let Die=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.routes=e.routes}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-routes"]],features:[nt],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(e,i){1&e&&V(0,Sie,1,3,"app-route-list",0),2&e&&w("ngIf",i.routes)},dependencies:[Ft,pP]}),t})();function Tie(t,n){if(1&t&&Ce(0,"app-node-app-list",1),2&t){const e=z();w("apps",e.apps)("showShortList",!1)("nodePK",e.nodePK)}}let Lie=(()=>{class t extends er{ngOnInit(){return this.dataSubscription=Mt.currentNode.subscribe(e=>{this.nodePK=e.localPk,this.apps=e.apps}),super.ngOnInit()}ngOnDestroy(){this.dataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-all-apps"]],features:[nt],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(e,i){1&e&&V(0,Tie,1,3,"app-node-app-list",0),2&e&&w("ngIf",i.apps)},dependencies:[Ft,IP]}),t})();const Eie=["button"],Iie=["firstInput"],Pie=function(t){return{"element-disabled":t}};let PP=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.routeService=a}ngOnInit(){this.form=this.formBuilder.group({min:[this.data.minHops,Yt.compose([Yt.required,Yt.maxLength(3),Yt.pattern("^[0-9]+$")])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}save(){!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)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(fP))},t.\u0275cmp=Ke({type:t,selectors:[["app-router-config"]],viewQuery:function(e,i){if(1&e&&(pt(Eie,5),pt(Iie,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:21,vars:22,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],[3,"formGroup","ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","min","maxlength","3","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1),I(3),R(4,"translate"),C(),k(5,"form",2)(6,"mat-form-field")(7,"div",3)(8,"label",4),I(9),R(10,"translate"),C(),Ce(11,"input",5,6),C(),k(13,"mat-error")(14,"span"),I(15),R(16,"translate"),C()()()(),k(17,"app-button",7,8),ve("action",function(){return i.save()}),I(19),R(20,"translate"),C()()),2&e&&(w("headline",H(1,10,"router-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(3),re(H(4,12,"router-config.info")),c(2),w("formGroup",i.form)("ngClass",He(20,Pie,i.disableDismiss)),c(4),re(H(10,14,"router-config.min-hops")),c(6),re(H(16,16,"router-config.min-hops-error")),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(20,18,"router-config.save-config-button")," "))},dependencies:[Pn,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}"]}),t})();const Oie=["button"],Aie=["firstInput"],Fie=function(t){return{"element-disabled":t}};let Rie=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.nodeService=a,this.dialog=l}ngOnInit(){this.form=this.formBuilder.group({address:[this.data.currentAddress,Yt.compose([Yt.minLength(20),Yt.maxLength(40)])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}get disableDismiss(){return!!this.button&&this.button.isLoading}startSaving(){if(this.form.valid&&!this.operationSubscription)if(this.form.get("address").value)this.finishSaving();else{const i=Zt.createConfirmationDialog(this.dialog,"rewards-address-config.empty-warning");i.componentInstance.operationAccepted.subscribe(()=>{i.componentInstance.closeModal(),this.finishSaving()})}}finishSaving(){this.button.showLoading();const e=this.form.get("address").value;let i=this.nodeService.setRewardsAddress(this.data.nodePk,e);e||(i=this.nodeService.deleteRewardsAddress(this.data.nodePk)),this.operationSubscription=i.subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)})}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("rewards-address-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(kn),N(ma),N(xn))},t.\u0275cmp=Ke({type:t,selectors:[["app-rewards-address-config"]],viewQuery:function(e,i){if(1&e&&(pt(Oie,5),pt(Aie,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:25,vars:25,consts:[[3,"headline","dialog","disableDismiss"],[1,"info-container"],["href","https://github.com/skycoin/skywire/blob/master/mainnet_rules.md","target","_blank","rel","noreferrer nofollow noopener"],[3,"formGroup","ngClass"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","address","maxlength","40","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"div",1)(3,"span"),I(4),R(5,"translate"),C(),k(6,"a",2),I(7),R(8,"translate"),C()(),k(9,"form",3)(10,"mat-form-field")(11,"div",4)(12,"label",5),I(13),R(14,"translate"),C(),Ce(15,"input",6,7),C(),k(17,"mat-error")(18,"span"),I(19),R(20,"translate"),C()()()(),k(21,"app-button",8,9),ve("action",function(){return i.startSaving()}),I(23),R(24,"translate"),C()()),2&e&&(w("headline",H(1,11,"rewards-address-config.title"))("dialog",i.dialogRef)("disableDismiss",i.disableDismiss),c(4),ce("",H(5,13,"rewards-address-config.info")," "),c(3),ce(" ",H(8,15,"rewards-address-config.more-info-link")," "),c(2),w("formGroup",i.form)("ngClass",He(23,Fie,i.disableDismiss)),c(4),re(H(14,17,"rewards-address-config.address")),c(6),re(H(20,19,"rewards-address-config.address-error")),c(2),w("disabled",!i.form.valid),c(2),ce(" ",H(24,21,"rewards-address-config.save-config-button")," "))},dependencies:[Pn,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,Fi,Zn,yt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px}"]}),t})(),Nie=(()=>{class t{constructor(e){this.clipboardService=e,this.copyEvent=new ht,this.errorEvent=new ht,this.value=""}ngOnDestroy(){this.copyEvent.complete(),this.errorEvent.complete()}copyToClipboard(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()}}return t.\u0275fac=function(e){return new(e||t)(N(nf))},t.\u0275dir=Ze({type:t,selectors:[["","clipboard",""]],hostBindings:function(e,i){1&e&&ve("click",function(){return i.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t})();function Yie(t,n){if(1&t&&(Ue(0),Ce(1,"app-truncated-text",3),k(2,"mat-icon",4),I(3,"filter_none"),C(),We()),2&t){const e=z();c(1),w("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.text),c(1),w("inline",!0)}}function Hie(t,n){if(1&t&&(k(0,"div",5)(1,"div",6),I(2),C(),k(3,"mat-icon",4),I(4,"filter_none"),C()()),2&t){const e=z();c(2),re(e.text),c(1),w("inline",!0)}}const Bie=function(t){return{text:t}},Vie=function(){return{"tooltip-word-break":!0}};let $1=(()=>{class t{constructor(e){this.snackbarService=e,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}onCopyToClipboardClicked(){this.snackbarService.showDone("copy.copied")}}return t.\u0275fac=function(e){return new(e||t)(N(kn))},t.\u0275cmp=Ke({type:t,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"],[1,"text-margin",3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line","text-margin"]],template:function(e,i){1&e&&(k(0,"div",0),ve("copyEvent",function(){return i.onCopyToClipboardClicked()}),R(1,"translate"),V(2,Yie,4,5,"ng-container",1),V(3,Hie,5,2,"div",2),C()),2&e&&(w("clipboard",i.text)("matTooltip",kt(1,5,i.short||i.shortSimple?"copy.tooltip-with-text":"copy.tooltip",He(8,Bie,i.text)))("matTooltipClass",qn(10,Vie)),c(2),w("ngIf",!i.shortSimple),c(1),w("ngIf",i.shortSimple))},dependencies:[Ft,bn,Mi,Nie,BI,yt],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;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%] .text-margin[_ngcontent-%COMP%]{margin-right:5px}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;user-select:none;flex-shrink:0;display:inline!important}']}),t})();var jie=Y(6149);const zie=["chart"];let G1=(()=>{class t{constructor(e){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=e.find([]).create(null)}ngAfterViewInit(){this.chart=new jie.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:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))}ngDoCheck(){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))}ngOnDestroy(){this.chart&&this.chart.destroy()}updateMinAndMax(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}}}return t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(N(Xu))},t.\u0275cmp=Ke({type:t,selectors:[["app-line-chart"]],viewQuery:function(e,i){if(1&e&&pt(zie,5),2&e){let o;it(o=rt())&&(i.chartElement=o.first)}},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(e,i){1&e&&(k(0,"div",0),Ce(1,"canvas",null,1),C()),2&e&&di("height: "+i.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t})();const OP=function(){return{showValue:!0}},AP=function(){return{showUnit:!0}};function Uie(t,n){if(1&t&&(k(0,"div",1),Ce(1,"app-line-chart",2),k(2,"div",3)(3,"span",4),I(4),R(5,"translate"),C(),k(6,"span",5)(7,"span",6),I(8),R(9,"autoScale"),C(),k(10,"span",7),I(11),R(12,"autoScale"),C()()()()),2&t){const e=z();c(1),w("data",e.trafficData.sentHistory),c(3),re(H(5,4,"common.uploaded")),c(4),re(kt(9,6,e.trafficData.totalSent,qn(12,OP))),c(3),re(kt(12,9,e.trafficData.totalSent,qn(13,AP)))}}function Wie(t,n){if(1&t&&(k(0,"div",1),Ce(1,"app-line-chart",2),k(2,"div",3)(3,"span",4),I(4),R(5,"translate"),C(),k(6,"span",5)(7,"span",6),I(8),R(9,"autoScale"),C(),k(10,"span",7),I(11),R(12,"autoScale"),C()()()()),2&t){const e=z();c(1),w("data",e.trafficData.receivedHistory),c(3),re(H(5,4,"common.downloaded")),c(4),re(kt(9,6,e.trafficData.totalReceived,qn(12,OP))),c(3),re(kt(12,9,e.trafficData.totalReceived,qn(13,AP)))}}let $ie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,selectors:[["app-charts"]],inputs:{trafficData:"trafficData"},decls:2,vars:2,consts:[["class","small-rounded-elevated-box chart",4,"ngIf"],[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(e,i){1&e&&(V(0,Uie,13,14,"div",0),V(1,Wie,13,14,"div",0)),2&e&&(w("ngIf",i.trafficData),c(1),w("ngIf",i.trafficData))},dependencies:[Ft,G1,yt,af],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})();function Gie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),Ce(4,"app-copy-to-clipboard-text",9),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.public-ip")," "),c(2),In("text",e.node.publicIp)}}function qie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),Ce(4,"app-copy-to-clipboard-text",9),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.ip")," "),c(2),In("text",e.node.ip)}}function Kie(t,n){if(1&t&&(Ue(0),Ce(1,"app-copy-to-clipboard-text",9),We()),2&t){const e=z(2);c(1),In("text",e.node.dmsgServerPk)}}function Zie(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.node-info.no-dmsg-server")," "))}function Xie(t,n){if(1&t&&(k(0,"span",4)(1,"span",5),I(2),R(3,"translate"),C(),I(4),C()),2&t){const e=z(2);c(2),ce("",H(3,2,"node.details.node-info.skybian-version")," "),c(2),ce(" ",e.node.skybianBuildVersion," ")}}const q1=function(t){return{time:t}};function Jie(t,n){if(1&t&&(k(0,"mat-icon",16),R(1,"translate"),I(2," info "),C()),2&t){const e=z(2);w("inline",!0)("matTooltip",kt(1,2,"node.details.node-info.time.minutes",He(5,q1,e.timeOnline.totalMinutes)))}}function Qie(t,n){if(1&t&&(Ue(0),Ce(1,"app-copy-to-clipboard-text",18),k(2,"a",19)(3,"mat-icon",20),R(4,"translate"),I(5," open_in_browser "),C()(),We()),2&t){const e=z(2);c(1),In("text",e.node.rewardsAddress),c(1),w("href","https://explorer.skycoin.com/app/address/"+e.node.rewardsAddress,Vo),c(1),w("inline",!0)("matTooltip",H(4,4,"node.details.rewards-info.open-in-explorer"))}}function ere(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),k(3,"mat-icon",16),R(4,"translate"),I(5,"info"),C(),We()),2&t&&(c(1),ce(" ",H(2,3,"node.details.rewards-info.not-registered")," "),c(2),w("inline",!0)("matTooltip",H(4,5,"node.details.rewards-info.not-registered-info")))}function tre(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.rewards-info.change-address-button")," "))}function nre(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"node.details.rewards-info.set-address-button")," "))}function ire(t,n){if(1&t){const e=et();k(0,"div",1)(1,"div",2)(2,"span",3),I(3),R(4,"translate"),C(),k(5,"span",4)(6,"span",5),I(7),R(8,"translate"),C(),k(9,"span",6),ve("click",function(){return Pe(e),Oe(z().showEditLabelDialog())}),k(10,"span",7),I(11),C(),k(12,"mat-icon",8),I(13,"edit"),C()()(),k(14,"span",4)(15,"span",5),I(16),R(17,"translate"),C(),Ce(18,"app-copy-to-clipboard-text",9),C(),k(19,"span",4)(20,"span",5),I(21),R(22,"translate"),C(),I(23),R(24,"translate"),C(),V(25,Gie,5,4,"span",10),V(26,qie,5,4,"span",10),k(27,"span",4)(28,"span",5),I(29),R(30,"translate"),C(),V(31,Kie,2,1,"ng-container",11),V(32,Zie,3,3,"ng-container",11),C(),k(33,"span",4)(34,"span",5),I(35),R(36,"translate"),C(),I(37),R(38,"translate"),C(),k(39,"span",4)(40,"span",5),I(41),R(42,"translate"),C(),I(43),R(44,"translate"),C(),k(45,"span",4)(46,"span",5),I(47),R(48,"translate"),C(),I(49),R(50,"translate"),C(),V(51,Xie,5,4,"span",10),k(52,"span",4)(53,"span",5),I(54),R(55,"translate"),C(),I(56),R(57,"translate"),V(58,Jie,3,7,"mat-icon",12),C()(),Ce(59,"div",13),k(60,"div",2)(61,"span",3),I(62),R(63,"translate"),C(),k(64,"span",4)(65,"span",5),I(66),R(67,"translate"),C(),V(68,Qie,6,6,"ng-container",11),V(69,ere,6,7,"ng-container",11),C(),k(70,"div",14)(71,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeRewardsAddressConfig())}),V(72,tre,3,3,"ng-container",11),V(73,nre,3,3,"ng-container",11),C()()(),Ce(74,"div",13),k(75,"div",2)(76,"span",3),I(77),R(78,"translate"),C(),k(79,"span",4)(80,"span",5),I(81),R(82,"translate"),C(),I(83),R(84,"translate"),k(85,"mat-icon",16),R(86,"translate"),I(87,"info"),C()(),k(88,"div",14)(89,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeTransportsConfig())}),I(90),R(91,"translate"),C()()(),Ce(92,"div",13),k(93,"div",2)(94,"span",3),I(95),R(96,"translate"),C(),k(97,"span",4)(98,"span",5),I(99),R(100,"translate"),C(),I(101),C(),k(102,"div",14)(103,"app-button",15),ve("action",function(){return Pe(e),Oe(z().changeRouterConfig())}),I(104),R(105,"translate"),C()()(),Ce(106,"div",13),k(107,"div",2)(108,"span",3),I(109),R(110,"translate"),C(),k(111,"span",4)(112,"span",5),I(113),R(114,"translate"),C(),Ce(115,"i"),I(116),R(117,"translate"),C()(),Ce(118,"div",13),k(119,"div",2)(120,"span",3),I(121),R(122,"translate"),C(),Ce(123,"app-charts",17),C()()}if(2&t){const e=z();c(3),re(H(4,49,"node.details.node-info.title")),c(4),ce("",H(8,51,"node.details.node-info.label")," "),c(4),re(e.node.label),c(1),w("inline",!0),c(4),ce("",H(17,53,"node.details.node-info.public-key")," "),c(2),In("text",e.node.localPk),c(3),ce("",H(22,55,"node.details.node-info.symmetic-nat")," "),c(2),ce(" ",H(24,57,e.node.isSymmeticNat?"common.yes":"common.no")," "),c(2),w("ngIf",!e.node.isSymmeticNat),c(1),w("ngIf",e.node.ip),c(3),ce("",H(30,59,"node.details.node-info.dmsg-server")," "),c(2),w("ngIf",e.hasDmsgServer()),c(1),w("ngIf",!e.hasDmsgServer()),c(3),ce("",H(36,61,"node.details.node-info.ping")," "),c(2),ce(" ",kt(38,63,"common.time-in-ms",He(107,q1,e.node.roundTripPing))," "),c(4),ce("",H(42,66,"node.details.node-info.node-version")," "),c(2),ce(" ",e.node.version?e.node.version:H(44,68,"common.unknown")," "),c(4),ce("",H(48,70,"node.details.node-info.build-type")," "),c(2),ce(" ",e.node.buildTag?e.node.buildTag:H(50,72,"node.details.node-info.unknown-build")," "),c(2),w("ngIf",e.node.skybianBuildVersion),c(3),ce("",H(55,74,"node.details.node-info.time.title")," "),c(2),ce(" ",kt(57,76,"node.details.node-info.time."+e.timeOnline.translationVarName,He(109,q1,e.timeOnline.elapsedTime))," "),c(2),w("ngIf",e.timeOnline.totalMinutes>60),c(4),re(H(63,79,"node.details.rewards-info.title")),c(4),ce("",H(67,81,"node.details.rewards-info.rewards-address")," "),c(2),w("ngIf",e.node.rewardsAddress),c(1),w("ngIf",!e.node.rewardsAddress),c(2),w("forDarkBackground",!0),c(1),w("ngIf",e.node.rewardsAddress),c(1),w("ngIf",!e.node.rewardsAddress),c(4),re(H(78,83,"node.details.transports-info.title")),c(4),ce("",H(82,85,"node.details.transports-info.autoconnect")," "),c(2),ce(" ",H(84,87,"node.details.transports-info."+(e.node.autoconnectTransports?"enabled":"disabled"))," "),c(2),w("inline",!0)("matTooltip",H(86,89,"node.details.transports-info.autoconnect-info")),c(4),w("forDarkBackground",!0),c(1),ce(" ",H(91,91,"node.details.transports-info."+(e.node.autoconnectTransports?"disable":"enable")+"-button")," "),c(5),re(H(96,93,"node.details.router-info.title")),c(4),ce("",H(100,95,"node.details.router-info.min-hops")," "),c(2),ce(" ",e.node.minHops," "),c(2),w("forDarkBackground",!0),c(1),ce(" ",H(105,97,"node.details.router-info.change-config-button")," "),c(5),ce("",H(110,99,"node.details.node-health.title")," "),c(4),re(H(114,101,"node.details.node-health.uptime-tracker")),c(2),eo(e.nodeHealthClass),c(1),ce(" ",H(117,103,e.nodeHealthText)," "),c(5),re(H(122,105,"node.details.node-traffic-data")),c(2),w("trafficData",e.trafficData)}}let FP=(()=>{class t{set nodeInfo(e){this.node=e,this.timeOnline=Ag.getElapsedTime(e.secondsOnline),e.health&&e.health.servicesHealth===ro.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):e.health&&e.health.servicesHealth===ro.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):e.health&&e.health.servicesHealth===ro.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")}constructor(e,i,o,s){this.dialog=e,this.storageService=i,this.transportService=o,this.snackbarService=s}ngOnDestroy(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()}showEditLabelDialog(){let e=this.storageService.getLabelInfo(this.node.localPk);e||(e={id:this.node.localPk,label:"",identifiedElementType:Xi.Node}),Y1.openDialog(this.dialog,e).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}changeRewardsAddressConfig(){Rie.openDialog(this.dialog,{nodePk:this.node.localPk,currentAddress:this.node.rewardsAddress}).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}changeRouterConfig(){PP.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(i=>{i&&Mt.refreshCurrentDisplayedData()})}hasDmsgServer(){return!(!this.node||0===this.node.dmsgServerPk.replace(/0/g,"").length)}changeTransportsConfig(){const e=Zt.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.showProcessing();const i=this.transportService.changeAutoconnectSetting(this.node.localPk,!this.node.autoconnectTransports);this.autoconnectSubscription=i.subscribe(()=>{e.close(),this.snackbarService.showDone(this.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),Mt.refreshCurrentDisplayedData()},o=>{o=Qt(o),e.componentInstance.showDone("confirmation.error-header-text",o.translatableErrorMsg)})})}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(Ji),N(j1),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo",trafficData:"trafficData"},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"],[1,"text-with-small-right-margin"],[1,"edit-icon",3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[3,"inline","matTooltip"],[1,"d-flex","flex-column","justify-content-end","mt-3",3,"trafficData"],[1,"text-with-right-margin",3,"text"],["target","_blank","rel","noreferrer nofollow noopener",3,"href"],[1,"link-icon","transparent-button",3,"inline","matTooltip"]],template:function(e,i){1&e&&V(0,ire,124,111,"div",0),2&e&&w("ngIf",i.node)},dependencies:[Ft,bn,Mi,$1,Fi,$ie,yt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-word;margin-top:7px}.info-line[_ngcontent-%COMP%] .text-with-right-margin[_ngcontent-%COMP%]{margin-right:5px}.info-line[_ngcontent-%COMP%] .text-with-small-right-margin[_ngcontent-%COMP%]{margin-right:3px}.info-line[_ngcontent-%COMP%] .link-icon[_ngcontent-%COMP%]{font-size:20px;line-height:1;color:#fff!important;cursor:pointer}.info-line[_ngcontent-%COMP%] .edit-icon[_ngcontent-%COMP%]{display:inline!important}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;-webkit-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}"]}),t})(),rre=(()=>{class t extends er{ngOnInit(){return this.nodeSubscription=Mt.currentNode.subscribe(e=>{this.node=e}),this.trafficDataSubscription=Mt.currentTrafficData.subscribe(e=>{this.trafficData=e}),super.ngOnInit()}ngOnDestroy(){this.nodeSubscription.unsubscribe(),this.trafficDataSubscription.unsubscribe()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=vn(t)))(i||t)}}(),t.\u0275cmp=Ke({type:t,selectors:[["app-node-info"]],features:[nt],decls:1,vars:2,consts:[[3,"nodeInfo","trafficData"]],template:function(e,i){1&e&&Ce(0,"app-node-info-content",0),2&e&&w("nodeInfo",i.node)("trafficData",i.trafficData)},dependencies:[FP]}),t})();const ore=function(){return["settings.title","labels.title"]};let sre=(()=>{class t{constructor(e){this.router=e,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}performAction(e){null===e&&this.router.navigate(["settings"])}}return t.\u0275fac=function(e){return new(e||t)(N(hn))},t.\u0275cmp=Ke({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(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"app-top-bar",2),ve("optionSelected",function(s){return i.performAction(s)}),C()(),k(3,"div",3),Ce(4,"app-label-list",4),C()()),2&e&&(c(2),w("titleParts",qn(5,ore))("tabsData",i.tabsData)("showUpdateButton",!1)("returnText",i.returnButtonText),c(2),w("showShortList",!1))},dependencies:[lc,dP]}),t})();const are=["firstInput"];function lre(t,n){1&t&&(Ue(0),k(1,"span"),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"vpn.server-list.add-server-dialog.pk-length-error")))}function cre(t,n){1&t&&(k(0,"span"),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.add-server-dialog.pk-chars-error")))}let dre=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.mediumModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l,d,_){this.dialogRef=e,this.data=i,this.formBuilder=o,this.dialog=s,this.router=a,this.vpnClientService=l,this.vpnSavedDataService=d,this.snackbarService=_}ngOnInit(){this.form=this.formBuilder.group({pk:["",Yt.compose([Yt.required,Yt.minLength(66),Yt.maxLength(66),Yt.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(()=>this.firstInput.nativeElement.focus())}process(){if(!this.form.valid)return;const e={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};lr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,e,this.form.get("password").value)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(_r),N(xn),N(hn),N(ac),N(sc),N(kn))},t.\u0275cmp=Ke({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(e,i){if(1&e&&pt(are,5),2&e){let o;it(o=rt())&&(i.firstInput=o.first)}},decls:35,vars:23,consts:[[3,"headline","dialog"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","pk","maxlength","66","matInput",""],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput",""],["formControlName","name","maxlength","100","matInput",""],["formControlName","note","maxlength","100","matInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(e,i){if(1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C(),k(10,"mat-error"),V(11,lre,4,3,"ng-container",6),C(),V(12,cre,3,3,"ng-template",null,7,Es),C(),k(14,"mat-form-field")(15,"div",2)(16,"label",3),I(17),R(18,"translate"),C(),Ce(19,"input",8),C()(),k(20,"mat-form-field")(21,"div",2)(22,"label",3),I(23),R(24,"translate"),C(),Ce(25,"input",9),C()(),k(26,"mat-form-field")(27,"div",2)(28,"label",3),I(29),R(30,"translate"),C(),Ce(31,"input",10),C()()(),k(32,"app-button",11),ve("action",function(){return i.process()}),I(33),R(34,"translate"),C()()),2&e){const o=ci(13);w("headline",H(1,11,"vpn.server-list.add-server-dialog.title"))("dialog",i.dialogRef),c(2),w("formGroup",i.form),c(4),re(H(7,13,"vpn.server-list.add-server-dialog.pk-label")),c(5),w("ngIf",!i.form.get("pk").hasError("pattern"))("ngIfElse",o),c(6),re(H(18,15,"vpn.server-list.add-server-dialog.password-label")),c(6),re(H(24,17,"vpn.server-list.add-server-dialog.name-label")),c(6),re(H(30,19,"vpn.server-list.add-server-dialog.note-label")),c(3),w("disabled",!i.form.valid),c(1),ce(" ",H(34,21,"vpn.server-list.add-server-dialog.use-server-button")," ")}},dependencies:[Ft,Ai,Ii,Pi,Oi,kr,ti,yi,tr,pa,br,Fi,Zn,yt]}),t})();class ure{constructor(){this.countryCode="ZZ"}}let hre=(()=>{class t{constructor(e){this.http=e,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}getServers(){return this.servers?$e(this.servers):this.http.get(this.discoveryServiceUrl).pipe(sf(e=>e.pipe(Ei(4e3))),ke(e=>{const i=[];return e&&e.forEach(o=>{const s=new ure,a=o.address.split(":");2===a.length&&(s.pk=a[0],s.location="",o.geo&&(o.geo.country&&(s.countryCode=o.geo.country),o.geo.region&&(s.location=o.geo.region)),s.name=a[0],s.note="",i.push(s))}),this.servers=i,i}))}}return t.\u0275fac=function(e){return new(e||t)(we(Ul))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fre(t,n){1&t&&Jo(0)}const RP=function(){return["vpn.title"]};function pre(t,n){if(1&t&&(k(0,"div",3)(1,"div",4),Ce(2,"app-top-bar",5),k(3,"div",6)(4,"div",7)(5,"div",8),V(6,fre,1,0,"ng-container",9),C()()()(),Ce(7,"app-loading-indicator",10),C()),2&t){const e=z(),i=ci(2);c(2),w("titleParts",qn(6,RP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(4),w("ngTemplateOutlet",i)}}function mre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.public")))}const Yg=function(t,n){return["/vpn",t,"servers",n,1]};function gre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Yg,e.currentLocalPk,e.lists.Public)),c(2),re(H(3,2,"vpn.server-list.tabs.public"))}}function _re(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.history")))}function bre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Yg,e.currentLocalPk,e.lists.History)),c(2),re(H(3,2,"vpn.server-list.tabs.history"))}}function vre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.favorites")))}function yre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Yg,e.currentLocalPk,e.lists.Favorites)),c(2),re(H(3,2,"vpn.server-list.tabs.favorites"))}}function Mre(t,n){1&t&&(k(0,"div",22)(1,"span"),I(2),R(3,"translate"),C()()),2&t&&(c(2),re(H(3,1,"vpn.server-list.tabs.blocked")))}function wre(t,n){if(1&t&&(k(0,"a",23)(1,"span"),I(2),R(3,"translate"),C()()),2&t){const e=z(2);w("routerLink",mn(4,Yg,e.currentLocalPk,e.lists.Blocked)),c(2),re(H(3,2,"vpn.server-list.tabs.blocked"))}}function Cre(t,n){1&t&&Ce(0,"br")}function xre(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z().$implicit;c(1),re(H(2,1,e.translatableValue))}}function kre(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),re(e.value)}}function Sre(t,n){if(1&t&&(k(0,"div",28)(1,"span"),I(2),R(3,"translate"),C(),V(4,xre,3,3,"ng-container",21),V(5,kre,2,1,"ng-container",21),C()),2&t){const e=n.$implicit;c(2),ce("",H(3,3,e.filterName),": "),c(2),w("ngIf",e.translatableValue),c(1),w("ngIf",e.value)}}function Dre(t,n){if(1&t){const e=et();k(0,"div",25),ve("click",function(){return Pe(e),Oe(z(3).dataFilterer.removeFilters())}),k(1,"div",26)(2,"mat-icon",19),I(3,"search"),C(),I(4),R(5,"translate"),C(),V(6,Sre,6,5,"div",27),C()}if(2&t){const e=z(3);c(2),w("inline",!0),c(2),ce(" ",H(5,3,"vpn.server-list.current-filters"),""),c(2),w("ngForOf",e.dataFilterer.currentFiltersTexts)}}function Tre(t,n){if(1&t&&(Ue(0),V(1,Cre,1,0,"br",21),V(2,Dre,7,5,"div",24),We()),2&t){const e=z(2);c(1),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),c(1),w("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0)}}const Lre=function(t){return{deactivated:t}};function Ere(t,n){if(1&t){const e=et();k(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14),V(4,mre,4,3,"div",15),V(5,gre,4,7,"a",16),V(6,_re,4,3,"div",15),V(7,bre,4,7,"a",16),V(8,vre,4,3,"div",15),V(9,yre,4,7,"a",16),V(10,Mre,4,3,"div",15),V(11,wre,4,7,"a",16),C()()()(),k(12,"div",17)(13,"div",12)(14,"div",13)(15,"div",14)(16,"div",18),ve("click",function(){Pe(e);const o=z();return Oe(o.dataFilterer?o.dataFilterer.changeFilters():null)}),R(17,"translate"),k(18,"span")(19,"mat-icon",19),I(20,"search"),C()()()()()()(),k(21,"div",20)(22,"div",12)(23,"div",13)(24,"div",14)(25,"div",18),ve("click",function(){return Pe(e),Oe(z().enterManually())}),R(26,"translate"),k(27,"span")(28,"mat-icon",19),I(29,"add"),C()()()()()()(),V(30,Tre,3,2,"ng-container",21)}if(2&t){const e=z();c(4),w("ngIf",e.currentList===e.lists.Public),c(1),w("ngIf",e.currentList!==e.lists.Public),c(1),w("ngIf",e.currentList===e.lists.History),c(1),w("ngIf",e.currentList!==e.lists.History),c(1),w("ngIf",e.currentList===e.lists.Favorites),c(1),w("ngIf",e.currentList!==e.lists.Favorites),c(1),w("ngIf",e.currentList===e.lists.Blocked),c(1),w("ngIf",e.currentList!==e.lists.Blocked),c(1),w("ngClass",He(18,Lre,e.loading)),c(4),w("matTooltip",H(17,14,"filters.filter-info")),c(3),w("inline",!0),c(6),w("matTooltip",H(26,16,"vpn.server-list.add-manually-info")),c(3),w("inline",!0),c(2),w("ngIf",e.dataFilterer)}}function Ire(t,n){1&t&&Jo(0)}function Pre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(5);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Ore(t,n){if(1&t){const e=et();k(0,"th",50),ve("click",function(){Pe(e);const o=z(4);return Oe(o.dataSorter.changeSortingOrder(o.dateSortData))}),R(1,"translate"),k(2,"div",43)(3,"div",44),I(4),R(5,"translate"),C(),V(6,Pre,2,2,"mat-icon",41),C()()}if(2&t){const e=z(4);w("matTooltip",H(1,3,"vpn.server-list.date-info")),c(4),ce(" ",H(5,5,"vpn.server-list.date-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.dateSortData)}}function Are(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Fre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Rre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Nre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Yre(t,n){if(1&t&&(k(0,"mat-icon",19),I(1),C()),2&t){const e=z(4);w("inline",!0),c(1),re(e.dataSorter.sortingArrow)}}function Hre(t,n){if(1&t&&(k(0,"td",64),I(1),R(2,"date"),C()),2&t){const e=z().$implicit;c(1),ce(" ",kt(2,1,e.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function Bre(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z().$implicit;c(1),ce(" ",e.location," ")}}function Vre(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),ce(" ",H(2,1,"vpn.server-list.unknown")," "))}const jre=function(t,n){return{custom:t,original:n}};function zre(t,n){if(1&t&&(k(0,"mat-icon",65),ve("click",function(i){return i.stopPropagation()}),R(1,"translate"),I(2,"info_outline"),C()),2&t){const e=z().$implicit,i=z(4);w("inline",!0)("matTooltip",kt(1,2,i.getNoteVar(e),mn(5,jre,e.personalNote,e.note)))}}const Ure=function(t){return{"selectable click-effect":t}};function Wre(t,n){if(1&t){const e=et();k(0,"tr",51),ve("click",function(){const s=Pe(e).$implicit,a=z(4);return Oe(a.currentList!==a.lists.Blocked?a.selectServer(s):null)}),V(1,Hre,3,4,"td",52),k(2,"td",53)(3,"div",54),Ce(4,"div",55),C()(),k(5,"td",56),Ce(6,"app-vpn-server-name",57),C(),k(7,"td",58),V(8,Bre,2,1,"ng-container",21),V(9,Vre,3,3,"ng-container",21),C(),k(10,"td",59)(11,"app-copy-to-clipboard-text",60),ve("click",function(o){return o.stopPropagation()}),C()(),k(12,"td",61),V(13,zre,3,8,"mat-icon",62),C(),k(14,"td",48)(15,"button",63),ve("click",function(o){const a=Pe(e).$implicit,l=z(4);return o.stopPropagation(),Oe(l.openOptions(a))}),R(16,"translate"),k(17,"mat-icon",19),I(18,"settings"),C()()()()}if(2&t){const e=n.$implicit,i=z(4);w("ngClass",He(23,Ure,i.currentList!==i.lists.Blocked)),c(1),w("ngIf",i.currentList===i.lists.History),c(3),di("background-image: url('assets/img/big-flags/"+e.countryCode.toLocaleLowerCase()+".png');"),w("matTooltip",i.getCountryName(e.countryCode)),c(2),w("isCurrentServer",i.currentServer&&e.pk===i.currentServer.pk)("isFavorite",e.flag===i.serverFlags.Favorite&&i.currentList!==i.lists.Favorites)("isBlocked",e.flag===i.serverFlags.Blocked&&i.currentList!==i.lists.Blocked)("isInHistory",e.inHistory&&i.currentList!==i.lists.History)("hasPassword",e.usedWithPassword)("name",e.name)("pk",e.pk)("customName",e.customName)("defaultName","vpn.server-list.none"),c(2),w("ngIf",e.location),c(1),w("ngIf",!e.location),c(2),w("shortSimple",!0)("text",e.pk),c(2),w("ngIf",e.note||e.personalNote),c(2),w("matTooltip",H(16,21,"vpn.server-options.tooltip")),c(2),w("inline",!0)}}const $re=function(t,n){return{"public-pk-column":t,"history-pk-column":n}};function Gre(t,n){if(1&t){const e=et();k(0,"table",38)(1,"tr"),V(2,Ore,7,7,"th",39),k(3,"th",40),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.countrySortData))}),R(4,"translate"),k(5,"mat-icon",19),I(6,"flag"),C(),V(7,Are,2,2,"mat-icon",41),C(),k(8,"th",42),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.nameSortData))}),k(9,"div",43)(10,"div",44),I(11),R(12,"translate"),C(),V(13,Fre,2,2,"mat-icon",41),C()(),k(14,"th",45),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.locationSortData))}),k(15,"div",43)(16,"div",44),I(17),R(18,"translate"),C(),V(19,Rre,2,2,"mat-icon",41),C()(),k(20,"th",46),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.pkSortData))}),R(21,"translate"),k(22,"div",43)(23,"div",44),I(24),R(25,"translate"),C(),V(26,Nre,2,2,"mat-icon",41),C()(),k(27,"th",47),ve("click",function(){Pe(e);const o=z(3);return Oe(o.dataSorter.changeSortingOrder(o.noteSortData))}),R(28,"translate"),k(29,"div",43)(30,"mat-icon",19),I(31,"info_outline"),C(),V(32,Yre,2,2,"mat-icon",41),C()(),Ce(33,"th",48),C(),V(34,Wre,19,25,"tr",49),C()}if(2&t){const e=z(3);c(2),w("ngIf",e.currentList===e.lists.History),c(1),w("matTooltip",H(4,16,"vpn.server-list.country-info")),c(2),w("inline",!0),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.countrySortData),c(4),ce(" ",H(12,18,"vpn.server-list.name-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.nameSortData),c(4),ce(" ",H(18,20,"vpn.server-list.location-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.locationSortData),c(1),w("ngClass",mn(28,$re,e.currentList===e.lists.Public,e.currentList===e.lists.History))("matTooltip",H(21,22,"vpn.server-list.public-key-info")),c(4),ce(" ",H(25,24,"vpn.server-list.public-key-small-table-label")," "),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.pkSortData),c(1),w("matTooltip",H(28,26,"vpn.server-list.note-info")),c(3),w("inline",!0),c(2),w("ngIf",e.dataSorter.currentSortingColumn===e.noteSortData),c(2),w("ngForOf",e.dataSource)}}function qre(t,n){if(1&t&&(k(0,"div",35)(1,"div",36),V(2,Gre,35,31,"table",37),C()()),2&t){const e=z(2);c(2),w("ngIf",e.dataSource.length>0)}}const Kre=function(t,n){return["/vpn",t,"servers",n]};function Zre(t,n){if(1&t&&Ce(0,"app-paginator",66),2&t){const e=z(2);w("currentPage",e.currentPage)("numberOfPages",e.numberOfPages)("linkParts",mn(4,Kre,e.currentLocalPk,e.currentList))("queryParams",e.dataFilterer.currentUrlQueryParams)}}function Xre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-discovery")))}function Jre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-history")))}function Qre(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-favorites")))}function eoe(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-blocked")))}function toe(t,n){1&t&&(k(0,"span",70),I(1),R(2,"translate"),C()),2&t&&(c(1),re(H(2,1,"vpn.server-list.empty-with-filter")))}function noe(t,n){if(1&t&&(k(0,"div",35)(1,"div",67)(2,"mat-icon",68),I(3,"warning"),C(),V(4,Xre,3,3,"span",69),V(5,Jre,3,3,"span",69),V(6,Qre,3,3,"span",69),V(7,eoe,3,3,"span",69),V(8,toe,3,3,"span",69),C()()),2&t){const e=z(2);c(2),w("inline",!0),c(2),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Public),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.History),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Favorites),c(1),w("ngIf",0===e.allServers.length&&e.currentList===e.lists.Blocked),c(1),w("ngIf",0!==e.allServers.length)}}const ioe=function(t){return{"mb-3":t}};function roe(t,n){if(1&t&&(k(0,"div",29)(1,"div",30),Ce(2,"app-top-bar",5),C(),k(3,"div",31)(4,"div",7)(5,"div",32),V(6,Ire,1,0,"ng-container",9),C(),V(7,qre,3,1,"div",33),V(8,Zre,1,7,"app-paginator",34),V(9,noe,9,6,"div",33),C()()()),2&t){const e=z(),i=ci(2);c(2),w("titleParts",qn(10,RP))("tabsData",e.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(3),w("ngClass",He(11,ioe,!e.dataFilterer.currentFiltersTexts||e.dataFilterer.currentFiltersTexts.length<1)),c(1),w("ngTemplateOutlet",i),c(1),w("ngIf",0!==e.dataSource.length),c(1),w("ngIf",e.numberOfPages>1),c(1),w("ngIf",0===e.dataSource.length)}}var ri=(()=>((ri=ri||{}).Public="public",ri.History="history",ri.Favorites="favorites",ri.Blocked="blocked",ri))();let NP=(()=>{class t extends er{constructor(e,i,o,s,a,l,d,_,E){super(),this.dialog=e,this.router=i,this.translateService=o,this.route=s,this.vpnClientDiscoveryService=a,this.vpnClientService=l,this.vpnSavedDataService=d,this.snackbarService=_,this.storageService=E,this.persistentServerDataResponseKey="serv-dat-response",this.maxFullListElements=50,this.dateSortData=new Vn(["lastUsed"],"vpn.server-list.date-small-table-label",Xt.NumberReversed),this.countrySortData=new Vn(["countryName"],"vpn.server-list.country-small-table-label",Xt.Text),this.nameSortData=new Vn(["name"],"vpn.server-list.name-small-table-label",Xt.Text),this.locationSortData=new Vn(["location"],"vpn.server-list.location-small-table-label",Xt.Text),this.pkSortData=new Vn(["pk"],"vpn.server-list.public-key-small-table-label",Xt.Text),this.noteSortData=new Vn(["note"],"vpn.server-list.note-small-table-label",Xt.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=lr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=ri.Public,this.vpnRunning=!1,this.serverFlags=An,this.lists=ri,this.initialLoadStarted=!1,this.navigationsSubscription=s.paramMap.subscribe(F=>{if(F.has("type")?F.get("type")===ri.Favorites?(this.currentList=ri.Favorites,this.listId="vfs"):F.get("type")===ri.Blocked?(this.currentList=ri.Blocked,this.listId="vbs"):F.get("type")===ri.History?(this.currentList=ri.History,this.listId="vhs"):(this.currentList=ri.Public,this.listId="vps"):(this.currentList=ri.Public,this.listId="vps"),lr.setDefaultTabForServerList(this.currentList),F.has("key")&&(this.currentLocalPk=F.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData),F.has("page")){let G=Number.parseInt(F.get("page"),10);(isNaN(G)||G<1)&&(G=1),this.currentPageInUrl=G,this.recalculateElementsToShow()}this.initialLoadStarted||(this.initialLoadStarted=!0,this.loadData(!0))}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(F=>this.currentServer=F),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(F=>{F&&(this.loadingBackendData=!1,this.vpnRunning=F.vpnClientAppData.running)})}ngOnDestroy(){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()}enterManually(){dre.openDialog(this.dialog,this.currentLocalPk)}getNoteVar(e){return e.note&&e.personalNote?"vpn.server-list.notes-info":!e.note&&e.personalNote?e.personalNote:e.note}selectServer(e){const i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),i&&i.flag===An.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===e.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{const o=Zt.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");o.componentInstance.operationAccepted.subscribe(()=>{o.componentInstance.closeModal(),this.vpnClientService.start(),lr.redirectAfterServerChange(this.router,null,this.currentLocalPk)})}return}if(i&&i.usedWithPassword)return void JI.openDialog(this.dialog,!0).afterClosed().subscribe(o=>{o&&this.makeServerChange(e,"-"===o?null:o.substr(1))});this.makeServerChange(e,null)}}makeServerChange(e,i){lr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,e.originalLocalData,e.originalDiscoveryData,null,i)}openOptions(e){let i=this.vpnSavedDataService.getSavedVersion(e.pk,!0);i||(i=this.vpnSavedDataService.processFromDiscovery(e.originalDiscoveryData)),i?lr.openServerOptions(i,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(o=>{o&&this.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")}loadData(e){if(this.currentList===ri.Public){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.vpnClientDiscoveryService.getServers();i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),this.allServers=s.map(a=>({countryCode:a.countryCode,countryName:this.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,originalDiscoveryData:a})),this.vpnSavedDataService.updateFromDiscovery(s),this.loading=!1,this.processAllServers(),i&&this.loadData(!1)})}else{let i;i=this.currentList===ri.History?this.vpnSavedDataService.history:this.currentList===ri.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked,this.dataSubscription=i.subscribe(o=>{const s=[];o.forEach(a=>{s.push({countryCode:a.countryCode,countryName:this.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,lastUsed:a.lastUsed,inHistory:a.inHistory,flag:a.flag,originalLocalData:a})}),this.allServers=s,this.loading=!1,this.processAllServers()})}}processAllServers(){this.fillFilterPropertiesArray();const e=new Set;this.allServers.forEach((_,E)=>{e.add(_.countryCode);const F=this.vpnSavedDataService.getSavedVersion(_.pk,0===E);_.customName=F?F.customName:null,_.personalNote=F?F.personalNote:null,_.inHistory=!!F&&F.inHistory,_.flag=F?F.flag:An.None,_.enteredManually=!!F&&F.enteredManually,_.usedWithPassword=!!F&&F.usedWithPassword});let i=[];e.forEach(_=>{i.push({label:this.getCountryName(_),value:_,image:"/assets/img/big-flags/"+_.toLowerCase()+".png"})}),i.sort((_,E)=>_.label.localeCompare(E.label)),i=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(i),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:$n.Select,printableLabelsForValues:i,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);const s=[];let a,l,d;this.currentList===ri.Public?(s.push(this.countrySortData),s.push(this.nameSortData),s.push(this.locationSortData),s.push(this.pkSortData),s.push(this.noteSortData),a=0,l=1):(this.currentList===ri.History&&s.push(this.dateSortData),s.push(this.countrySortData),s.push(this.nameSortData),s.push(this.locationSortData),s.push(this.pkSortData),s.push(this.noteSortData),a=this.currentList===ri.History?0:1,l=this.currentList===ri.History?2:3),this.dataSorter=new Nd(this.dialog,this.translateService,this.storageService,s,a,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(()=>{this.recalculateElementsToShow()}),this.dataFilterer=new Hd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(_=>{this.filteredServers=_,this.dataSorter.setData(this.filteredServers)}),d=this.currentList===ri.Public?this.allServers.filter(_=>_.flag!==An.Blocked):this.allServers,this.dataFilterer.setData(d)}fillFilterPropertiesArray(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:$n.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:$n.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:$n.TextInput,maxlength:100}]}recalculateElementsToShow(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){const e=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);const i=e*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(i,i+e)}else this.serversToShow=null;this.dataSource=this.serversToShow}getCountryName(e){return ya[e.toUpperCase()]?ya[e.toUpperCase()]:e}}return t.\u0275fac=function(e){return new(e||t)(N(xn),N(hn),N(To),N(Cr),N(hre),N(ac),N(sc),N(kn),N(Ji))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-server-list"]],features:[nt],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-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(e,i){1&e&&(V(0,pre,8,7,"div",0),V(1,Ere,31,20,"ng-template",null,1,Es),V(3,roe,10,13,"div",2)),2&e&&(w("ngIf",i.loading||i.loadingBackendData),c(3),w("ngIf",!i.loading&&!i.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;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:400!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}"]}),t})();function soe(t){const{subscriber:n,counter:e,period:i}=t;n.next(e),this.schedule({subscriber:n,counter:e+1,period:i},i)}const lf=function(t,n){return{"small-text-icon":t,"big-text-icon":n}};function aoe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"done"),C()),2&t){const e=z();w("ngClass",mn(5,lf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.selected-info"))}}function loe(t,n){if(1&t&&(k(0,"mat-icon",5),R(1,"translate"),I(2,"clear"),C()),2&t){const e=z();w("ngClass",mn(5,lf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.blocked-info"))}}function coe(t,n){if(1&t&&(k(0,"mat-icon",6),R(1,"translate"),I(2,"star"),C()),2&t){const e=z();w("ngClass",mn(5,lf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.favorite-info"))}}function doe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"history"),C()),2&t){const e=z();w("ngClass",mn(5,lf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.history-info"))}}function uoe(t,n){if(1&t&&(k(0,"mat-icon",4),R(1,"translate"),I(2,"lock_outlined"),C()),2&t){const e=z();w("ngClass",mn(5,lf,!e.adjustIconsForBigText,e.adjustIconsForBigText))("inline",!0)("matTooltip",H(1,3,"vpn.server-conditions.has-password-info"))}}function hoe(t,n){if(1&t&&(Ue(0),I(1),k(2,"mat-icon",7),I(3,"fiber_manual_record"),C(),I(4),We()),2&t){const e=z();c(1),ce(" ",e.customName," "),c(1),w("inline",!0),c(2),ce(" ",e.name,"\n")}}function foe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z();c(1),re(e.customName)}}function poe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z();c(1),re(e.name)}}function moe(t,n){if(1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t){const e=z();c(1),re(H(2,1,e.defaultName))}}let YP=(()=>{class t{constructor(){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 t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ke({type:t,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(e,i){1&e&&(V(0,aoe,3,8,"mat-icon",0),V(1,loe,3,8,"mat-icon",1),V(2,coe,3,8,"mat-icon",2),V(3,doe,3,8,"mat-icon",0),V(4,uoe,3,8,"mat-icon",0),V(5,hoe,5,3,"ng-container",3),V(6,foe,2,1,"ng-container",3),V(7,poe,2,1,"ng-container",3),V(8,moe,3,3,"ng-container",3)),2&e&&(w("ngIf",i.isCurrentServer),c(1),w("ngIf",i.isBlocked),c(1),w("ngIf",i.isFavorite),c(1),w("ngIf",i.isInHistory),c(1),w("ngIf",i.hasPassword),c(1),w("ngIf",i.customName&&i.name&&(!i.pk||i.name!==i.pk)),c(1),w("ngIf",(!i.name||i.pk&&i.name===i.pk)&&i.customName),c(1),w("ngIf",i.name&&(!i.pk||i.name!==i.pk)&&!i.customName),c(1),w("ngIf",(!i.name||i.pk&&i.name===i.pk)&&!i.customName))},dependencies:[Pn,Ft,bn,Mi,yt],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;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t})();const HP=function(){return["vpn.title"]};function goe(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3),C(),Ce(3,"app-loading-indicator"),C()),2&t){const e=z();c(2),w("titleParts",qn(5,HP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function _oe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",40)}function boe(t,n){1&t&&(k(0,"mat-icon",33),I(1,"power_settings_new"),C()),2&t&&w("inline",!0)}function voe(t,n){if(1&t){const e=et();Ue(0),k(1,"div",34),Ce(2,"div",35),C(),k(3,"div",36)(4,"div",37),Ce(5,"app-vpn-server-name",38),C(),k(6,"div",39),Ce(7,"app-copy-to-clipboard-text",40),C()(),k(8,"div",41),Ce(9,"div"),C(),k(10,"div",42)(11,"mat-icon",43),ve("click",function(){return Pe(e),Oe(z(3).openServerOptions())}),R(12,"translate"),I(13,"settings"),C()(),We()}if(2&t){const e=z(3);c(2),di("background-image: url('assets/img/big-flags/"+e.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),w("matTooltip",e.getCountryName(e.currentRemoteServer.countryCode)),c(3),w("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),c(2),w("shortSimple",!0)("text",e.currentRemoteServer.pk),c(4),w("inline",!0)("matTooltip",H(12,13,"vpn.server-options.tooltip"))}}function yoe(t,n){1&t&&(Ue(0),k(1,"div",44),I(2),R(3,"translate"),C(),We()),2&t&&(c(2),re(H(3,1,"vpn.status-page.no-server")))}const Moe=function(t,n){return{custom:t,original:n}};function woe(t,n){if(1&t&&(k(0,"div",45)(1,"mat-icon",33),I(2,"info_outline"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),ce(" ",kt(4,2,e.getNoteVar(),mn(5,Moe,e.currentRemoteServer.personalNote,e.currentRemoteServer.note))," ")}}function Coe(t,n){if(1&t&&(k(0,"div",46)(1,"mat-icon",33),I(2,"cancel"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),vo(" ",H(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.lastErrorMsg," ")}}const BP=function(t){return{"disabled-button":t}};function xoe(t,n){if(1&t){const e=et();k(0,"div",22)(1,"div",11)(2,"div",13),I(3),R(4,"translate"),C(),k(5,"div")(6,"div",23),ve("click",function(){return Pe(e),Oe(z(2).start())}),k(7,"div",24),Ce(8,"div",25),C(),k(9,"div",24),Ce(10,"div",26),C(),V(11,_oe,1,1,"mat-spinner",27),V(12,boe,2,1,"mat-icon",28),C()(),k(13,"div",29),V(14,voe,14,15,"ng-container",18),V(15,yoe,4,3,"ng-container",18),C(),k(16,"div"),V(17,woe,5,8,"div",30),C(),k(18,"div"),V(19,Coe,5,5,"div",31),C()()()}if(2&t){const e=z(2);c(3),re(H(4,8,"vpn.status-page.start-title")),c(3),w("ngClass",He(10,BP,e.showBusy)),c(5),w("ngIf",e.showBusy),c(1),w("ngIf",!e.showBusy),c(2),w("ngIf",e.currentRemoteServer),c(1),w("ngIf",!e.currentRemoteServer),c(2),w("ngIf",e.currentRemoteServer&&(e.currentRemoteServer.note||e.currentRemoteServer.personalNote)),c(2),w("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.lastErrorMsg)}}function koe(t,n){if(1&t&&(k(0,"div",77)(1,"mat-icon",33),I(2,"cancel"),C(),I(3),R(4,"translate"),C()),2&t){const e=z(3);c(1),w("inline",!0),c(2),vo(" ",H(4,3,"vpn.status-page.last-error")," ",e.backendState.vpnClientAppData.connectionData.error," ")}}function Soe(t,n){1&t&&(k(0,"div"),Ce(1,"mat-spinner",32),C()),2&t&&(c(1),w("diameter",24))}function Doe(t,n){1&t&&(k(0,"mat-icon",33),I(1,"power_settings_new"),C()),2&t&&w("inline",!0)}const zd=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},VP=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},jP=function(t){return{showValue:!0,showUnit:!0,useBits:t}},Hg=function(t){return{time:t}};function Toe(t,n){if(1&t){const e=et();k(0,"div",47)(1,"div",11)(2,"div",48)(3,"div",49)(4,"mat-icon",33),I(5,"timer"),C(),k(6,"span"),I(7),C()()(),k(8,"div",50),I(9),R(10,"translate"),C(),k(11,"div",51)(12,"div",52),I(13),R(14,"translate"),C(),Ce(15,"div"),C(),k(16,"div",53),I(17),R(18,"translate"),C(),V(19,koe,5,5,"div",54),k(20,"div",55)(21,"div",56),R(22,"translate"),k(23,"div",57),Ce(24,"app-line-chart",58),C(),k(25,"div",59)(26,"div",60)(27,"div",61),I(28),R(29,"autoScale"),C(),Ce(30,"div",62),C()(),k(31,"div",59)(32,"div",63)(33,"div",61),I(34),R(35,"autoScale"),C(),Ce(36,"div",62),C()(),k(37,"div",59)(38,"div",64)(39,"div",61),I(40),R(41,"autoScale"),C()()(),k(42,"div",65)(43,"mat-icon",66),I(44,"keyboard_backspace"),C(),k(45,"div",67),I(46),R(47,"autoScale"),C(),k(48,"div",68),I(49),R(50,"autoScale"),R(51,"translate"),C()()(),k(52,"div",56),R(53,"translate"),k(54,"div",57),Ce(55,"app-line-chart",58),C(),k(56,"div",69)(57,"div",60)(58,"div",61),I(59),R(60,"autoScale"),C(),Ce(61,"div",62),C()(),k(62,"div",59)(63,"div",63)(64,"div",61),I(65),R(66,"autoScale"),C(),Ce(67,"div",62),C()(),k(68,"div",59)(69,"div",64)(70,"div",61),I(71),R(72,"autoScale"),C()()(),k(73,"div",65)(74,"mat-icon",70),I(75,"keyboard_backspace"),C(),k(76,"div",67),I(77),R(78,"autoScale"),C(),k(79,"div",68),I(80),R(81,"autoScale"),R(82,"translate"),C()()()(),k(83,"div",71)(84,"div",72),R(85,"translate"),k(86,"div",57),Ce(87,"app-line-chart",73),C(),k(88,"div",69)(89,"div",60)(90,"div",61),I(91),R(92,"translate"),C(),Ce(93,"div",62),C()(),k(94,"div",59)(95,"div",63)(96,"div",61),I(97),R(98,"translate"),C(),Ce(99,"div",62),C()(),k(100,"div",59)(101,"div",64)(102,"div",61),I(103),R(104,"translate"),C()()(),k(105,"div",65)(106,"mat-icon",33),I(107,"swap_horiz"),C(),k(108,"div"),I(109),R(110,"translate"),C()()()(),k(111,"div",74),ve("click",function(){return Pe(e),Oe(z(2).stop())}),k(112,"div",75)(113,"div",76),V(114,Soe,2,1,"div",18),V(115,Doe,2,1,"mat-icon",28),k(116,"span"),I(117),R(118,"translate"),C()()()()()()}if(2&t){const e=z(2);c(4),w("inline",!0),c(3),re(e.connectionTimeString),c(2),re(H(10,58,"vpn.connection-info.state-title")),c(4),re(H(14,60,e.currentStateText)),c(2),eo("state-line "+e.currentStateLineClass),c(2),re(H(18,62,e.currentStateText+"-info")),c(2),w("ngIf",e.backendState&&e.backendState.vpnClientAppData&&e.backendState.vpnClientAppData.connectionData&&e.backendState.vpnClientAppData.connectionData.error),c(2),w("matTooltip",H(22,64,"vpn.status-page.upload-info")),c(3),w("animated",!1)("data",e.sentHistory)("min",e.minUploadInGraph)("max",e.maxUploadInGraph),c(4),ce(" ",kt(29,66,e.maxUploadInGraph,He(118,zd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(35,69,e.midUploadInGraph,He(120,zd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(41,72,e.minUploadInGraph,He(122,zd,e.showSpeedsInBits))," "),c(3),w("inline",!0),c(3),re(kt(47,75,e.uploadSpeed,He(124,VP,e.showSpeedsInBits))),c(3),vo(" ",kt(50,78,e.totalUploaded,He(126,jP,e.showTotalsInBits))," ",H(51,81,"vpn.status-page.total-data-label")," "),c(3),w("matTooltip",H(53,83,"vpn.status-page.download-info")),c(3),w("animated",!1)("data",e.receivedHistory)("min",e.minDownloadInGraph)("max",e.maxDownloadInGraph),c(4),ce(" ",kt(60,85,e.maxDownloadInGraph,He(128,zd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(66,88,e.midDownloadInGraph,He(130,zd,e.showSpeedsInBits))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(72,91,e.minDownloadInGraph,He(132,zd,e.showSpeedsInBits))," "),c(3),w("inline",!0),c(3),re(kt(78,94,e.downloadSpeed,He(134,VP,e.showSpeedsInBits))),c(3),vo(" ",kt(81,97,e.totalDownloaded,He(136,jP,e.showTotalsInBits))," ",H(82,100,"vpn.status-page.total-data-label")," "),c(4),w("matTooltip",H(85,102,"vpn.status-page.latency-info")),c(3),w("animated",!1)("data",e.latencyHistory)("min",e.minLatencyInGraph)("max",e.maxLatencyInGraph),c(4),ce(" ",kt(92,104,"common."+e.getLatencyValueString(e.maxLatencyInGraph),He(138,Hg,e.getPrintableLatency(e.maxLatencyInGraph)))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin+"px;"),c(4),ce(" ",kt(98,107,"common."+e.getLatencyValueString(e.midLatencyInGraph),He(140,Hg,e.getPrintableLatency(e.midLatencyInGraph)))," "),c(2),di("margin-top: "+e.graphsTopInternalMargin/2+"px;"),c(4),ce(" ",kt(104,110,"common."+e.getLatencyValueString(e.minLatencyInGraph),He(142,Hg,e.getPrintableLatency(e.minLatencyInGraph)))," "),c(3),w("inline",!0),c(3),re(kt(110,113,"common."+e.getLatencyValueString(e.latency),He(144,Hg,e.getPrintableLatency(e.latency)))),c(2),w("ngClass",He(146,BP,e.showBusy)),c(3),w("ngIf",e.showBusy),c(1),w("ngIf",!e.showBusy),c(2),re(H(118,116,"vpn.status-page.disconnect"))}}function Loe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.currentIp)}}function Eoe(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.unknown")))}function Ioe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",20)}function Poe(t,n){1&t&&(k(0,"mat-icon",81),R(1,"translate"),I(2,"warning"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-problem-info"))}function Ooe(t,n){if(1&t){const e=et();k(0,"mat-icon",82),ve("click",function(){return Pe(e),Oe(z(3).getIp())}),R(1,"translate"),I(2,"refresh"),C()}2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-refresh-info"))}function Aoe(t,n){if(1&t&&(k(0,"div",78),V(1,Loe,2,1,"ng-container",18),V(2,Eoe,3,3,"ng-container",18),V(3,Ioe,1,1,"mat-spinner",27),V(4,Poe,3,4,"mat-icon",79),V(5,Ooe,3,4,"mat-icon",80),C()),2&t){const e=z(2);c(1),w("ngIf",e.currentIp),c(1),w("ngIf",!e.currentIp&&!e.loadingCurrentIp),c(1),w("ngIf",e.loadingCurrentIp),c(1),w("ngIf",e.problemGettingIp),c(1),w("ngIf",!e.loadingCurrentIp)}}function Foe(t,n){1&t&&(k(0,"div",78),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"vpn.status-page.data.unavailable")," "))}function Roe(t,n){if(1&t&&(Ue(0),I(1),We()),2&t){const e=z(3);c(1),re(e.ipCountry)}}function Noe(t,n){1&t&&(Ue(0),I(1),R(2,"translate"),We()),2&t&&(c(1),re(H(2,1,"common.unknown")))}function Yoe(t,n){1&t&&Ce(0,"mat-spinner",32),2&t&&w("diameter",20)}function Hoe(t,n){1&t&&(k(0,"mat-icon",81),R(1,"translate"),I(2,"warning"),C()),2&t&&w("inline",!0)("matTooltip",H(1,2,"vpn.status-page.data.ip-country-problem-info"))}function Boe(t,n){if(1&t&&(k(0,"div",78),V(1,Roe,2,1,"ng-container",18),V(2,Noe,3,3,"ng-container",18),V(3,Yoe,1,1,"mat-spinner",27),V(4,Hoe,3,4,"mat-icon",79),C()),2&t){const e=z(2);c(1),w("ngIf",e.ipCountry),c(1),w("ngIf",!e.ipCountry&&!e.loadingCurrentIp),c(1),w("ngIf",e.loadingCurrentIp),c(1),w("ngIf",e.problemGettingIp)}}function Voe(t,n){1&t&&(k(0,"div",78),I(1),R(2,"translate"),C()),2&t&&(c(1),ce(" ",H(2,1,"vpn.status-page.data.unavailable")," "))}function joe(t,n){if(1&t){const e=et();k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",78),Ce(5,"app-vpn-server-name",83),k(6,"mat-icon",82),ve("click",function(){return Pe(e),Oe(z(2).openServerOptions())}),R(7,"translate"),I(8,"settings"),C()()()}if(2&t){const e=z(2);c(2),re(H(3,10,"vpn.status-page.data.server")),c(3),w("isFavorite",e.currentRemoteServer.flag===e.serverFlags.Favorite)("isBlocked",e.currentRemoteServer.flag===e.serverFlags.Blocked)("hasPassword",e.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",e.currentRemoteServer.name)("pk",e.currentRemoteServer.pk)("customName",e.currentRemoteServer.customName),c(1),w("inline",!0)("matTooltip",H(7,12,"vpn.server-options.tooltip"))}}function zoe(t,n){1&t&&Ce(0,"div",15)}function Uoe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),I(5),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data.server-note")),c(3),ce(" ",e.currentRemoteServer.personalNote," ")}}function Woe(t,n){1&t&&Ce(0,"div",15)}function $oe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),I(5),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data."+(e.currentRemoteServer.personalNote?"original-":"")+"server-note")),c(3),ce(" ",e.currentRemoteServer.note," ")}}function Goe(t,n){1&t&&Ce(0,"div",15)}function qoe(t,n){if(1&t&&(k(0,"div")(1,"div",13),I(2),R(3,"translate"),C(),k(4,"div",20),Ce(5,"app-copy-to-clipboard-text",21),C()()),2&t){const e=z(2);c(2),re(H(3,2,"vpn.status-page.data.remote-pk")),c(3),w("text",e.currentRemoteServer.pk)}}function Koe(t,n){1&t&&Ce(0,"div",15)}function Zoe(t,n){if(1&t&&(k(0,"div",4)(1,"div",5)(2,"div",6),Ce(3,"app-top-bar",3),C()(),k(4,"div",7),V(5,xoe,20,12,"div",8),V(6,Toe,119,148,"div",9),k(7,"div",10)(8,"div",11)(9,"div",12)(10,"div")(11,"div",13),I(12),R(13,"translate"),C(),V(14,Aoe,6,5,"div",14),V(15,Foe,3,3,"div",14),C(),Ce(16,"div",15),k(17,"div")(18,"div",13),I(19),R(20,"translate"),C(),V(21,Boe,5,4,"div",14),V(22,Voe,3,3,"div",14),C(),Ce(23,"div",16)(24,"div",17)(25,"div",16),V(26,joe,9,14,"div",18),V(27,zoe,1,0,"div",19),V(28,Uoe,6,4,"div",18),V(29,Woe,1,0,"div",19),V(30,$oe,6,4,"div",18),V(31,Goe,1,0,"div",19),V(32,qoe,6,4,"div",18),V(33,Koe,1,0,"div",19),k(34,"div")(35,"div",13),I(36),R(37,"translate"),C(),k(38,"div",20),Ce(39,"app-copy-to-clipboard-text",21),C()()()()()()()),2&t){const e=z();c(3),w("titleParts",qn(29,HP))("tabsData",e.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(2),w("ngIf",!e.showStarted),c(1),w("ngIf",e.showStarted),c(6),re(H(13,23,"vpn.status-page.data.ip")),c(2),w("ngIf",e.ipInfoAllowed),c(1),w("ngIf",!e.ipInfoAllowed),c(4),re(H(20,25,"vpn.status-page.data.country")),c(2),w("ngIf",e.ipInfoAllowed),c(1),w("ngIf",!e.ipInfoAllowed),c(4),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.personalNote),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer&&e.currentRemoteServer.note),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(1),w("ngIf",e.showStarted&&e.currentRemoteServer),c(3),re(H(37,27,"vpn.status-page.data.local-pk")),c(3),w("text",e.currentLocalPk)}}let Xoe=(()=>{class t extends er{constructor(e,i,o,s,a,l,d){super(),this.vpnClientService=e,this.vpnSavedDataService=i,this.snackbarService=o,this.translateService=s,this.route=a,this.dialog=l,this.router=d,this.persistentServerDataResponseKey="serv-dat-response",this.persistentIpResponseKey="serv-ip-response",this.tabsData=lr.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=G1.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.problemGettingIp=!1,this.lastIpRefresDate=0,this.serverFlags=An,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();const _=this.vpnSavedDataService.getDataUnitsSetting();_===Sr.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):_===Sr.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}ngOnInit(){return this.navigationsSubscription=this.route.paramMap.subscribe(e=>{e.has("key")&&(this.currentLocalPk=e.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData),setTimeout(()=>this.navigationsSubscription.unsubscribe()),this.startGettingData(!0),this.currentRemoteServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(i=>{this.currentRemoteServer=i})}),super.ngOnInit()}startGettingData(e){const i=e?this.getLocalValue(this.persistentServerDataResponseKey):null;let o=this.vpnClientService.backendState;i&&(o=$e(JSON.parse(i.value))),this.dataSubscription=o.subscribe(s=>{if(i||this.saveLocalValue(this.persistentServerDataResponseKey,JSON.stringify(s)),s&&s.serviceState!==jn.PerformingInitialCheck){const a=!this.backendState;if(this.backendState=s,a?(this.getIp(!0,e),console.info(2),console.info(e)):(this.lastAppState===on.Running&&s.vpnClientAppData.appState!==on.Running||this.lastAppState!==on.Running&&s.vpnClientAppData.appState===on.Running)&&(this.getIp(!0,e),console.info(1)),this.showStarted=s.vpnClientAppData.running||s.vpnClientAppData.appState!==on.Stopped,this.showStartedLastValue!==this.showStarted){for(let l=0;l<10;l++)this.receivedHistory[l]=0,this.sentHistory[l]=0,this.latencyHistory[l]=0;this.updateGraphLimits(),this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0}if(this.lastAppState=s.vpnClientAppData.appState,this.showStartedLastValue=this.showStarted,this.stopRequested?this.showStarted||(this.stopRequested=!1,this.showBusy=s.busy):this.showBusy=s.busy,s.vpnClientAppData.connectionData){for(let l=0;l<10;l++)this.receivedHistory[l]=s.vpnClientAppData.connectionData.downloadSpeedHistory[l],this.sentHistory[l]=s.vpnClientAppData.connectionData.uploadSpeedHistory[l],this.latencyHistory[l]=s.vpnClientAppData.connectionData.latencyHistory[l];this.updateGraphLimits(),this.uploadSpeed=s.vpnClientAppData.connectionData.uploadSpeed,this.downloadSpeed=s.vpnClientAppData.connectionData.downloadSpeed,this.totalUploaded=s.vpnClientAppData.connectionData.totalUploaded,this.totalDownloaded=s.vpnClientAppData.connectionData.totalDownloaded,this.latency=s.vpnClientAppData.connectionData.latency}s.vpnClientAppData.running&&s.vpnClientAppData.appState===on.Running&&s.vpnClientAppData.connectionData&&s.vpnClientAppData.connectionData.connectionDuration?(-1===this.calculatedSegs||s.vpnClientAppData.connectionData.connectionDuration>this.calculatedSegs+2||s.vpnClientAppData.connectionData.connectionDuration(e.add(n.schedule(soe,t,{subscriber:e,counter:0,period:t})),e))}(1e3).subscribe(()=>{this.calculatedSegs+=1,this.refreshConnectionTimeString()})):this.timeUpdateSubscription&&(this.timeUpdateSubscription.unsubscribe(),this.timeUpdateSubscription=null,this.calculatedSegs=-1,this.connectionTimeString="00:00:00"),this.loading=!1}i&&this.startGettingData(!1)})}refreshConnectionTimeString(){const e=this.calculatedSegs%60,i=Math.floor(this.calculatedSegs/60),o=i%60,s=Math.floor(i/60);this.connectionTimeString=String(s).padStart(2,"0")+":"+String(o).padStart(2,"0")+":"+String(e).padStart(2,"0")}ngOnDestroy(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe(),this.timeUpdateSubscription&&this.timeUpdateSubscription.unsubscribe()}start(){if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout(()=>this.snackbarService.showWarning("vpn.status-page.select-server-warning"),100);this.currentRemoteServer.flag!==An.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")}stop(){if(!this.backendState.vpnClientAppData.killswitch)return void this.finishStoppingVpn();const e=Zt.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishStoppingVpn()})}finishStoppingVpn(){this.stopRequested=!0,this.showBusy=!0,this.vpnClientService.stop()}openServerOptions(){lr.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()}getCountryName(e){return ya[e.toUpperCase()]?ya[e.toUpperCase()]:e}getNoteVar(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note}getLatencyValueString(e){return lr.getLatencyValueString(e)}getPrintableLatency(e){return lr.getPrintableLatency(e)}get currentStateText(){return this.backendState.vpnClientAppData.appState===on.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===on.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===on.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===on.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===on.Reconnecting?"vpn.connection-info.state-reconnecting":void 0}get currentStateLineClass(){return this.backendState.vpnClientAppData.appState===on.Stopped?"red-line":this.backendState.vpnClientAppData.appState===on.Connecting?"yellow-line":this.backendState.vpnClientAppData.appState===on.Running?"green-line":"yellow-line"}closeOperationSubscription(){this.operationSubscription&&this.operationSubscription.unsubscribe()}updateGraphLimits(){const e=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=e[0],this.midUploadInGraph=e[1],this.maxUploadInGraph=e[2];const i=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=i[0],this.midDownloadInGraph=i[1],this.maxDownloadInGraph=i[2];const o=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=o[0],this.midLatencyInGraph=o[1],this.maxLatencyInGraph=o[2]}calculateGraphLimits(e){let o=0,s=0;return e.forEach(a=>{a>o&&(o=a)}),0===o&&(o+=1),s=new(Pg())(o).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),[0,s,o]}getIp(e=!1,i=!1){if(!this.ipInfoAllowed)return;if(!e){if(this.loadingCurrentIp)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");const a=1e4;if(Date.now()-this.lastIpRefresDate{o||this.saveLocalValue(this.persistentIpResponseKey,JSON.stringify(a)),this.loadingCurrentIp=!1,this.lastIpRefresDate=Date.now(),a?(this.problemGettingIp=!1,this.currentIp=a[0],this.ipCountry=a[1]):this.problemGettingIp=!0,o&&this.getIp(e,!1)},()=>{this.lastIpRefresDate=Date.now(),this.loadingCurrentIp=!1,this.problemGettingIp=!1})}}return t.\u0275fac=function(e){return new(e||t)(N(ac),N(sc),N(kn),N(To),N(Cr),N(xn),N(hn))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-status"]],features:[nt],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(e,i){1&e&&(V(0,goe,4,6,"div",0),V(1,Zoe,40,30,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Pn,Ft,bn,Mi,nc,$1,G1,as,lc,YP,yt,af],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;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 #00000080;width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-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 #00000080}.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-mdc-progress-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-mdc-progress-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:700;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%]{animation:_ngcontent-%COMP%_button-animation 4s linear infinite;pointer-events:none}@keyframes _ngcontent-%COMP%_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;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-mdc-progress-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-mdc-progress-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;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:rgba(61,103,162,.1490196078);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;line-height:1}.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}"]}),t})(),K1=(()=>{class t{set lastError(e){this.lastErrorInternal=e}constructor(e){this.router=e}canActivate(e,i){return this.checkIfCanActivate()}canActivateChild(e,i){return this.checkIfCanActivate()}checkIfCanActivate(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),$e(!1)):$e(!0)}}return t.\u0275fac=function(e){return new(e||t)(we(hn))},t.\u0275prov=Ye({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var so=(()=>((so=so||{}).UnableToConnectWithTheVpnClientApp="unavailable",so.NoLocalVisorPkProvided="pk",so.InvalidStorageState="storage",so.LocalVisorPkChangedDuringUsage="pkChange",so))();let Joe=(()=>{class t extends er{constructor(e,i,o){super(),this.route=e,this.vpnAuthGuardService=i,this.vpnClientService=o,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(s=>{this.problem=s.get("problem"),this.problem||(this.problem=so.UnableToConnectWithTheVpnClientApp),this.vpnAuthGuardService.lastError=this.problem,this.vpnClientService.stopContinuallyUpdatingData(),setTimeout(()=>this.navigationsSubscription.unsubscribe())})}getTitle(){return this.problem===so.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===so.InvalidStorageState?"vpn.error-page.text-storage":this.problem===so.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"}getInfo(){return this.problem===so.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===so.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===so.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"}}return t.\u0275fac=function(e){return new(e||t)(N(Cr),N(K1),N(ac))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-error"]],features:[nt],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(e,i){1&e&&(k(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"mat-icon",4),I(5,"error_outline"),C()(),k(6,"div"),I(7),R(8,"translate"),C(),k(9,"div",5),I(10),R(11,"translate"),C()()()()),2&e&&(c(4),w("inline",!0),c(3),re(H(8,3,i.getTitle())),c(3),re(H(11,5,i.getInfo())))},dependencies:[bn,yt],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}"]}),t})();const Qoe=["button"],ese=["firstInput"];let tse=(()=>{class t{static openDialog(e,i){const o=new Ln;return o.data=i,o.autoFocus=!1,o.width=Bt.smallModalWidth,e.open(t,o)}constructor(e,i,o,s,a,l){this.dialogRef=e,this.data=i,this.formBuilder=o,this.snackbarService=s,this.appsService=a,this.vpnClientService=l}ngOnInit(){this.form=this.formBuilder.group({ip:[this.data.ip,Yt.compose([Yt.maxLength(15),this.validateIp.bind(this)])]}),setTimeout(()=>this.firstInput.nativeElement.focus())}ngOnDestroy(){this.operationSubscription&&this.operationSubscription.unsubscribe()}validateIp(){if(this.form){const e=this.form.get("ip").value;return Zt.checkIfIpValidOrEmpty(e)?null:{invalid:!0}}return null}save(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.appsService.changeAppSettings(this.data.nodePk,this.vpnClientService.vpnClientAppName,{dns:this.form.get("ip").value}).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))}onSuccess(e){this.dialogRef.close(!0),this.snackbarService.showDone("vpn.dns-config.done")}onError(e){this.button.showError(),this.operationSubscription=null,e=Qt(e),this.snackbarService.showError(e)}}return t.\u0275fac=function(e){return new(e||t)(N(On),N(vi),N(vI),N(kn),N(va),N(ac))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-dns-config"]],viewQuery:function(e,i){if(1&e&&(pt(Qoe,5),pt(ese,5)),2&e){let o;it(o=rt())&&(i.button=o.first),it(o=rt())&&(i.firstInput=o.first)}},decls:14,vars:11,consts:[[3,"headline"],[3,"formGroup"],[1,"field-container"],["for","remoteKey",1,"field-label"],["formControlName","ip","maxlength","15","matInput",""],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(e,i){1&e&&(k(0,"app-dialog",0),R(1,"translate"),k(2,"form",1)(3,"mat-form-field")(4,"div",2)(5,"label",3),I(6),R(7,"translate"),C(),Ce(8,"input",4,5),C()()(),k(10,"app-button",6,7),ve("action",function(){return i.save()}),I(12),R(13,"translate"),C()()),2&e&&(w("headline",H(1,5,"vpn.dns-config.title")),c(2),w("formGroup",i.form),c(4),re(H(7,7,"vpn.dns-config.ip")),c(4),w("disabled",!i.form.valid),c(2),ce(" ",H(13,9,"vpn.dns-config.save-config-button")," "))},dependencies:[Ai,Ii,Pi,Oi,kr,ti,yi,tr,br,Fi,Zn,yt]}),t})();const nse=["topBarLoading"],ise=["topBarLoaded"],zP=function(){return["vpn.title"]};function rse(t,n){if(1&t&&(k(0,"div",2)(1,"div"),Ce(2,"app-top-bar",3,4),C(),Ce(4,"app-loading-indicator",5),C()),2&t){const e=z();c(2),w("titleParts",qn(5,zP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk)}}function ose(t,n){1&t&&Ce(0,"mat-spinner",20),2&t&&w("diameter",12)}function sse(t,n){if(1&t){const e=et();k(0,"div",6)(1,"div",7),Ce(2,"app-top-bar",3,8),C(),k(4,"div",9)(5,"div",10)(6,"div",11)(7,"div",12)(8,"table",13)(9,"tr")(10,"th",14)(11,"div",15)(12,"div",16),I(13),R(14,"translate"),C()()(),k(15,"th",14),I(16),R(17,"translate"),C()(),k(18,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeKillswitchOption())}),k(19,"td",14)(20,"div"),I(21),R(22,"translate"),k(23,"mat-icon",18),R(24,"translate"),I(25,"help"),C()()(),k(26,"td",14),Ce(27,"span"),I(28),R(29,"translate"),V(30,ose,1,1,"mat-spinner",19),C()(),k(31,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeGetIpOption())}),k(32,"td",14)(33,"div"),I(34),R(35,"translate"),k(36,"mat-icon",18),R(37,"translate"),I(38,"help"),C()()(),k(39,"td",14),Ce(40,"span"),I(41),R(42,"translate"),C()(),k(43,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeDataUnits())}),k(44,"td",14)(45,"div"),I(46),R(47,"translate"),k(48,"mat-icon",18),R(49,"translate"),I(50,"help"),C()()(),k(51,"td",14),I(52),R(53,"translate"),C()(),k(54,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeHops())}),k(55,"td",14)(56,"div"),I(57),R(58,"translate"),k(59,"mat-icon",18),R(60,"translate"),I(61,"help"),C()()(),k(62,"td",14),I(63),C()(),k(64,"tr",17),ve("click",function(){return Pe(e),Oe(z().changeDns())}),k(65,"td",14)(66,"div"),I(67),R(68,"translate"),k(69,"mat-icon",18),R(70,"translate"),I(71,"help"),C()()(),k(72,"td",14),I(73),R(74,"translate"),C()()()()()()()()}if(2&t){const e=z();c(2),w("titleParts",qn(64,zP))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",e.currentLocalPk),c(11),ce(" ",H(14,32,"vpn.settings-page.setting-small-table-label")," "),c(3),ce(" ",H(17,34,"vpn.settings-page.value-small-table-label")," "),c(5),ce(" ",H(22,36,"vpn.settings-page.killswitch")," "),c(2),w("inline",!0)("matTooltip",H(24,38,"vpn.settings-page.killswitch-info")),c(4),eo(e.getStatusClass(e.backendData.vpnClientAppData.killswitch)),c(1),ce(" ",H(29,40,e.getStatusText(e.backendData.vpnClientAppData.killswitch))," "),c(2),w("ngIf",e.working===e.workingOptions.Killswitch),c(4),ce(" ",H(35,42,"vpn.settings-page.get-ip")," "),c(2),w("inline",!0)("matTooltip",H(37,44,"vpn.settings-page.get-ip-info")),c(4),eo(e.getStatusClass(e.getIpOption)),c(1),ce(" ",H(42,46,e.getStatusText(e.getIpOption))," "),c(5),ce(" ",H(47,48,"vpn.settings-page.data-units")," "),c(2),w("inline",!0)("matTooltip",H(49,50,"vpn.settings-page.data-units-info")),c(4),ce(" ",H(53,52,e.getUnitsOptionText(e.dataUnitsOption))," "),c(5),ce(" ",H(58,54,"vpn.settings-page.minimum-hops")," "),c(2),w("inline",!0)("matTooltip",H(60,56,"vpn.settings-page.minimum-hops-info")),c(4),ce(" ",e.backendData.vpnClientAppData.minHops," "),c(4),ce(" ",H(68,58,"vpn.settings-page.dns")," "),c(2),w("inline",!0)("matTooltip",H(70,60,"vpn.settings-page.dns-info")),c(4),ce(" ",e.backendData.vpnClientAppData.dns?e.backendData.vpnClientAppData.dns:H(74,62,"vpn.settings-page.setting-none")," ")}}var Lo=(()=>((Lo=Lo||{})[Lo.None=0]="None",Lo[Lo.Killswitch=1]="Killswitch",Lo))();const ase=[{path:"",component:FW},{path:"login",component:HI},{path:"nodes",canActivate:[$h],canActivateChild:[$h],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:lP},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:lP},{path:":key",component:Mt,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:rre},{path:"routing",component:Ree},{path:"apps",component:Cie},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:kie},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:Die},{path:"apps-list/:showOfficialApps/:page",component:Lie}]}]},{path:"settings",canActivate:[$h],canActivateChild:[$h],children:[{path:"",component:WJ},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:sre}]},{path:"vpnlogin/:key",component:HI},{path:"vpn",canActivate:[K1],canActivateChild:[K1],children:[{path:"unavailable",component:Joe},{path:":key",children:[{path:"status",component:Xoe},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:NP},{path:"settings",component:(()=>{class t extends er{constructor(e,i,o,s,a,l){super(),this.vpnClientService=e,this.snackbarService=i,this.appsService=o,this.vpnSavedDataService=s,this.dialog=a,this.loading=!0,this.tabsData=lr.vpnTabsData,this.working=Lo.None,this.workingOptions=Lo,this.navigationsSubscription=l.paramMap.subscribe(d=>{d.has("key")&&(this.currentLocalPk=d.get("key"),lr.changeCurrentPk(this.currentLocalPk),this.tabsData=lr.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(d=>{d&&d.serviceState!==jn.PerformingInitialCheck&&(this.backendData=d,this.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}ngOnDestroy(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()}getStatusClass(e){return!0===e?"dot-green":"dot-red"}getStatusText(e){return!0===e?"vpn.settings-page.setting-on":"vpn.settings-page.setting-off"}getUnitsOptionText(e){switch(e){case Sr.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case Sr.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}}changeKillswitchOption(){if(this.working===Lo.None)if(this.backendData.vpnClientAppData.running){const e=Zt.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe(()=>{e.componentInstance.closeModal(),this.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")}finishChangingKillswitchOption(){this.working=Lo.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(()=>{this.working=Lo.None,this.vpnClientService.updateData()},e=>{this.working=Lo.None,e=Qt(e),this.snackbarService.showError(e)})}changeGetIpOption(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)}changeDataUnits(){const e=[],i=[];Object.keys(Sr).forEach(o=>{const s={label:this.getUnitsOptionText(Sr[o])};this.dataUnitsOption===Sr[o]&&(s.icon="done"),e.push(s),i.push(Sr[o])}),Rr.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(o=>{o&&(this.dataUnitsOption=i[o-1],this.vpnSavedDataService.setDataUnitsSetting(this.dataUnitsOption),this.topBarLoading&&this.topBarLoading.updateVpnDataStatsUnit(),this.topBarLoaded&&this.topBarLoaded.updateVpnDataStatsUnit())})}changeHops(){PP.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()}changeDns(){tse.openDialog(this.dialog,{nodePk:this.currentLocalPk,ip:this.backendData.vpnClientAppData.dns}).afterClosed().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(N(ac),N(kn),N(va),N(sc),N(xn),N(Cr))},t.\u0275cmp=Ke({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(e,i){if(1&e&&(pt(nse,5),pt(ise,5)),2&e){let o;it(o=rt())&&(i.topBarLoading=o.first),it(o=rt())&&(i.topBarLoaded=o.first)}},features:[nt],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(e,i){1&e&&(V(0,rse,5,6,"div",0),V(1,sse,75,65,"div",1)),2&e&&(w("ngIf",i.loading),c(1),w("ngIf",!i.loading))},dependencies:[Ft,bn,Mi,nc,as,lc,yt],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:400!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}"]}),t})()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}];let lse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[B2.forRoot(ase,{useHash:!0}),B2]}),t})(),dse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[Wn]}),t})();class use{getTranslation(n){return ue(Y(6297)(`./${n}.json`))}}let hse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t}),t.\u0275inj=Nt({imports:[mE.forRoot({loader:{provide:Uh,useClass:use}}),mE]}),t})(),fse=(()=>{class t{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ye({token:t,factory:t.\u0275fac}),t})();const pse={disabled:!0};let mse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Vt({type:t,bootstrap:[fa]}),t.\u0275inj=Nt({providers:[nf,{provide:l1,useValue:{duration:3e3,verticalPosition:"top"}},{provide:WL,useValue:{width:"600px",hasBackdrop:!0}},{provide:n1,useClass:nU},{provide:I2,useClass:fse},{provide:r1,useValue:pse}],imports:[PD,p8,L$,z8,lse,hse,nE,SU,Ig,mG,Xte,tE,dW,EG,zK,T$,dse,zq,DW,fK]}),t})();Cc(Mt,[Pn,Ft,Fm,bn,as,lc,FP],[yt]),Cc(NP,[Pn,gi,Ft,pd,Qa,$r,bn,Mi,$1,as,jd,lc,YP],[dD,yt]),uB().bootstrapModule(mse).catch(t=>console.log(t))},9774:function(de,ge,Y){var O;!function(v){"use strict";var u,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,M=Math.floor,p="[BigNumber Error] ",y=p+"Number primitive has more than 15 significant digits: ",x=1e14,T=14,D=9007199254740991,S=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],L=1e7,A=1e9;function B(Q){var ee=0|Q;return Q>0||Q===ee?ee:ee-1}function K(Q){for(var ee,ae,le=1,J=Q.length,Te=Q[0]+"";lett^ae?1:-1;for(ke=(Be=J.length)<(tt=Te.length)?Be:tt,Se=0;SeTe[Se]^ae?1:-1;return Be==tt?0:Be>tt^ae?1:-1}function ye(Q,ee,ae,le){if(Qae||Q!==(Q<0?h(Q):M(Q)))throw Error(p+(le||"Argument")+("number"==typeof Q?Qae?" out of range: ":" not an integer: ":" not a primitive number: ")+Q)}function Z(Q){return"[object Array]"==Object.prototype.toString.call(Q)}function X(Q){var ee=Q.c.length-1;return B(Q.e/T)==ee&&Q.c[ee]%2!=0}function he(Q,ee){return(Q.length>1?Q.charAt(0)+"."+Q.slice(1):Q)+(ee<0?"e":"e+")+ee}function q(Q,ee,ae){var le,J;if(ee<0){for(J=ae+".";++ee;J+=ae);Q=J+Q}else if(++ee>(le=Q.length)){for(J=ae,ee-=le;--ee;J+=ae);Q+=J}else ee=10;be/=10,ue++);return Ie.e=ue,void(Ie.c=[W])}De=W+""}else{if(!f.test(De=W+""))return le(Ie,De,me);Ie.s=45==De.charCodeAt(0)?(De=De.slice(1),-1):1}(ue=De.indexOf("."))>-1&&(De=De.replace(".","")),(be=De.search(/e/i))>0?(ue<0&&(ue=be),ue+=+De.slice(be+1),De=De.substring(0,be)):ue<0&&(ue=De.length)}else{if(ye(se,2,zn.length,"Base"),De=W+"",10==se)return Xe(Ie=new Ge(W instanceof Ge?W:De),Se+Ie.e+1,ke);if(me="number"==typeof W){if(0*W!=0)return le(Ie,De,me,se);if(Ie.s=1/W<0?(De=De.slice(1),-1):1,Ge.DEBUG&&De.replace(/^0\.0*|\./,"").length>15)throw Error(y+W);me=!1}else Ie.s=45===De.charCodeAt(0)?(De=De.slice(1),-1):1;for(te=zn.slice(0,se),ue=be=0,Me=De.length;beue){ue=Me;continue}}else if(!fe&&(De==De.toUpperCase()&&(De=De.toLowerCase())||De==De.toLowerCase()&&(De=De.toUpperCase()))){fe=!0,be=-1,ue=0;continue}return le(Ie,W+"",me,se)}(ue=(De=ae(De,se,10,Ie.s)).indexOf("."))>-1?De=De.replace(".",""):ue=De.length}for(be=0;48===De.charCodeAt(be);be++);for(Me=De.length;48===De.charCodeAt(--Me););if(De=De.slice(be,++Me)){if(Me-=be,me&&Ge.DEBUG&&Me>15&&(W>D||W!==M(W)))throw Error(y+Ie.s*W);if((ue=ue-be-1)>at)Ie.c=Ie.e=null;else if(ueme){if(--se>0)for(Me+=".";se--;Me+="0");}else if((se+=ue-me)>0)for(ue+1==me&&(Me+=".");se--;Me+="0");return W.s<0&&fe?"-"+Me:Me}function Yi(W,se){var te,pe,fe=0;for(Z(W[0])&&(W=W[0]),te=new Ge(W[0]);++fe=10;fe/=10,pe++);return(te=pe+te*T-1)>at?W.c=W.e=null:te=10;me/=10,fe++);if((ue=se-fe)<0)ue+=T,Ie=(Me=Ne[De=0])/ut[fe-(be=se)-1]%10|0;else if((De=h((ue+1)/T))>=Ne.length){if(!pe)break e;for(;Ne.length<=De;Ne.push(0));Me=Ie=0,fe=1,be=(ue%=T)-T+1}else{for(Me=me=Ne[De],fe=1;me>=10;me/=10,fe++);Ie=(be=(ue%=T)-T+fe)<0?0:Me/ut[fe-be-1]%10|0}if(pe=pe||se<0||null!=Ne[De+1]||(be<0?Me:Me%ut[fe-be-1]),pe=te<4?(Ie||pe)&&(0==te||te==(W.s<0?3:2)):Ie>5||5==Ie&&(4==te||pe||6==te&&(ue>0?be>0?Me/ut[fe-be]:0:Ne[De-1])%10&1||te==(W.s<0?8:7)),se<1||!Ne[0])return Ne.length=0,pe?(Ne[0]=ut[(T-(se-=W.e+1)%T)%T],W.e=-se||0):Ne[0]=W.e=0,W;if(0==ue?(Ne.length=De,me=1,De--):(Ne.length=De+1,me=ut[T-ue],Ne[De]=be>0?M(Me/ut[fe-be]%ut[be])*me:0),pe)for(;;){if(0==De){for(ue=1,be=Ne[0];be>=10;be/=10,ue++);for(be=Ne[0]+=me,me=1;be>=10;be/=10,me++);ue!=me&&(W.e++,Ne[0]==x&&(Ne[0]=1));break}if(Ne[De]+=me,Ne[De]!=x)break;Ne[De--]=0,me=1}for(ue=Ne.length;0===Ne[--ue];Ne.pop());}W.e>at?W.c=W.e=null:W.e>>11))>=9e15?(fe=crypto.getRandomValues(new Uint32Array(2)),pe[Me]=fe[0],pe[Me+1]=fe[1]):(De.push(me%1e14),Me+=2);Me=be/2}else{if(!crypto.randomBytes)throw zt=!1,Error(p+"crypto unavailable");for(pe=crypto.randomBytes(be*=7);Me=9e15?crypto.randomBytes(7).copy(pe,Me):(De.push(me%1e14),Me+=7);Me=be/7}if(!zt)for(;Me=10;me/=10,Me++);Mefe-1&&(null==me[be+1]&&(me[be+1]=0),me[be+1]+=me[be]/fe|0,me[be]%=fe)}return me.reverse()}return function(te,pe,fe,ue,be){var me,Me,De,Ie,Ne,ut,gt,ot,fn=te.indexOf("."),Rn=Se,bt=ke;for(fn>=0&&(Ie=Xn,Xn=0,te=te.replace(".",""),ut=(ot=new Ge(pe)).pow(te.length-fn),Xn=Ie,ot.c=se(q(K(ut.c),ut.e,"0"),10,fe,W),ot.e=ot.c.length),De=Ie=(gt=se(te,pe,fe,be?(me=zn,W):(me=W,zn))).length;0==gt[--Ie];gt.pop());if(!gt[0])return me.charAt(0);if(fn<0?--De:(ut.c=gt,ut.e=De,ut.s=ue,gt=(ut=ee(ut,ot,Rn,bt,fe)).c,Ne=ut.r,De=ut.e),fn=gt[Me=De+Rn+1],Ie=fe/2,Ne=Ne||Me<0||null!=gt[Me+1],Ne=bt<4?(null!=fn||Ne)&&(0==bt||bt==(ut.s<0?3:2)):fn>Ie||fn==Ie&&(4==bt||Ne||6==bt&&1>[Me-1]||bt==(ut.s<0?8:7)),Me<1||!gt[0])te=Ne?q(me.charAt(1),-Rn,me.charAt(0)):me.charAt(0);else{if(gt.length=Me,Ne)for(--fe;++gt[--Me]>fe;)gt[Me]=0,Me||(++De,gt=[1].concat(gt));for(Ie=gt.length;!gt[--Ie];);for(fn=0,te="";fn<=Ie;te+=me.charAt(gt[fn++]));te=q(te,De,me.charAt(0))}return te}}(),ee=function(){function W(pe,fe,ue){var be,me,Me,De,Ie=0,Ne=pe.length,ut=fe%L,gt=fe/L|0;for(pe=pe.slice();Ne--;)Ie=((me=ut*(Me=pe[Ne]%L)+(be=gt*Me+(De=pe[Ne]/L|0)*ut)%L*L+Ie)/ue|0)+(be/L|0)+gt*De,pe[Ne]=me%ue;return Ie&&(pe=[Ie].concat(pe)),pe}function se(pe,fe,ue,be){var me,Me;if(ue!=be)Me=ue>be?1:-1;else for(me=Me=0;mefe[me]?1:-1;break}return Me}function te(pe,fe,ue,be){for(var me=0;ue--;)pe[ue]-=me,pe[ue]=(me=pe[ue]1;pe.splice(0,1));}return function(pe,fe,ue,be,me){var Me,De,Ie,Ne,ut,gt,ot,fn,Rn,bt,qt,Gn,oi,Kr,Io,Hi,ln,xi=pe.s==fe.s?1:-1,si=pe.c,Nn=fe.c;if(!(si&&si[0]&&Nn&&Nn[0]))return new Ge(pe.s&&fe.s&&(si?!Nn||si[0]!=Nn[0]:Nn)?si&&0==si[0]||!Nn?0*xi:xi/0:NaN);for(Rn=(fn=new Ge(xi)).c=[],xi=ue+(De=pe.e-fe.e)+1,me||(me=x,De=B(pe.e/T)-B(fe.e/T),xi=xi/T|0),Ie=0;Nn[Ie]==(si[Ie]||0);Ie++);if(Nn[Ie]>(si[Ie]||0)&&De--,xi<0)Rn.push(1),Ne=!0;else{for(Kr=si.length,Hi=Nn.length,Ie=0,xi+=2,(ut=M(me/(Nn[0]+1)))>1&&(Nn=W(Nn,ut,me),si=W(si,ut,me),Hi=Nn.length,Kr=si.length),oi=Hi,qt=(bt=si.slice(0,Hi)).length;qt=me/2&&Io++;do{if(ut=0,(Me=se(Nn,bt,Hi,qt))<0){if(Gn=bt[0],Hi!=qt&&(Gn=Gn*me+(bt[1]||0)),(ut=M(Gn/Io))>1)for(ut>=me&&(ut=me-1),ot=(gt=W(Nn,ut,me)).length,qt=bt.length;1==se(gt,bt,ot,qt);)ut--,te(gt,Hi=10;xi/=10,Ie++);Xe(fn,ue+(fn.e=Ie+De*T-1)+1,be,Ne)}else fn.e=De,fn.r=+Ne;return fn}}(),le=function(){var W=/^(-?)0([xbo])(?=\w[\w.]*$)/i,se=/^([^.]+)\.$/,te=/^\.([^.]+)$/,pe=/^-?(Infinity|NaN)$/,fe=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(ue,be,me,Me){var De,Ie=me?be:be.replace(fe,"");if(pe.test(Ie))ue.s=isNaN(Ie)?null:Ie<0?-1:1,ue.c=ue.e=null;else{if(!me&&(Ie=Ie.replace(W,function(Ne,ut,gt){return De="x"==(gt=gt.toLowerCase())?16:"b"==gt?2:8,Me&&Me!=De?Ne:ut}),Me&&(De=Me,Ie=Ie.replace(se,"$1").replace(te,"0.$1")),be!=Ie))return new Ge(Ie,De);if(Ge.DEBUG)throw Error(p+"Not a"+(Me?" base "+Me:"")+" number: "+be);ue.c=ue.e=ue.s=null}}}(),J.absoluteValue=J.abs=function(){var W=new Ge(this);return W.s<0&&(W.s=1),W},J.comparedTo=function(W,se){return oe(this,new Ge(W,se))},J.decimalPlaces=J.dp=function(W,se){var te,pe,fe;if(null!=W)return ye(W,0,A),null==se?se=ke:ye(se,0,8),Xe(new Ge(this),W+this.e+1,se);if(!(te=this.c))return null;if(pe=((fe=te.length-1)-B(this.e/T))*T,fe=te[fe])for(;fe%10==0;fe/=10,pe--);return pe<0&&(pe=0),pe},J.dividedBy=J.div=function(W,se){return ee(this,new Ge(W,se),Se,ke)},J.dividedToIntegerBy=J.idiv=function(W,se){return ee(this,new Ge(W,se),0,1)},J.exponentiatedBy=J.pow=function(W,se){var te,pe,fe,be,me,Me,De,Ie=this;if((W=new Ge(W)).c&&!W.isInteger())throw Error(p+"Exponent not an integer: "+W);if(null!=se&&(se=new Ge(se)),be=W.e>14,!Ie.c||!Ie.c[0]||1==Ie.c[0]&&!Ie.e&&1==Ie.c.length||!W.c||!W.c[0])return De=new Ge(Math.pow(+Ie.valueOf(),be?2-X(W):+W)),se?De.mod(se):De;if(me=W.s<0,se){if(se.c?!se.c[0]:!se.s)return new Ge(NaN);(pe=!me&&Ie.isInteger()&&se.isInteger())&&(Ie=Ie.mod(se))}else{if(W.e>9&&(Ie.e>0||Ie.e<-1||(0==Ie.e?Ie.c[0]>1||be&&Ie.c[1]>=24e7:Ie.c[0]<8e13||be&&Ie.c[0]<=9999975e7)))return fe=Ie.s<0&&X(W)?-0:0,Ie.e>-1&&(fe=1/fe),new Ge(me?1/fe:fe);Xn&&(fe=h(Xn/T+2))}for(be?(te=new Ge(.5),Me=X(W)):Me=W%2,me&&(W.s=1),De=new Ge(Te);;){if(Me){if(!(De=De.times(Ie)).c)break;fe?De.c.length>fe&&(De.c.length=fe):pe&&(De=De.mod(se))}if(be){if(Xe(W=W.times(te),W.e+1,1),!W.c[0])break;be=W.e>14,Me=X(W)}else{if(!(W=M(W/2)))break;Me=W%2}Ie=Ie.times(Ie),fe?Ie.c&&Ie.c.length>fe&&(Ie.c.length=fe):pe&&(Ie=Ie.mod(se))}return pe?De:(me&&(De=Te.div(De)),se?De.mod(se):fe?Xe(De,Xn,ke,void 0):De)},J.integerValue=function(W){var se=new Ge(this);return null==W?W=ke:ye(W,0,8),Xe(se,se.e+1,W)},J.isEqualTo=J.eq=function(W,se){return 0===oe(this,new Ge(W,se))},J.isFinite=function(){return!!this.c},J.isGreaterThan=J.gt=function(W,se){return oe(this,new Ge(W,se))>0},J.isGreaterThanOrEqualTo=J.gte=function(W,se){return 1===(se=oe(this,new Ge(W,se)))||0===se},J.isInteger=function(){return!!this.c&&B(this.e/T)>this.c.length-2},J.isLessThan=J.lt=function(W,se){return oe(this,new Ge(W,se))<0},J.isLessThanOrEqualTo=J.lte=function(W,se){return-1===(se=oe(this,new Ge(W,se)))||0===se},J.isNaN=function(){return!this.s},J.isNegative=function(){return this.s<0},J.isPositive=function(){return this.s>0},J.isZero=function(){return!!this.c&&0==this.c[0]},J.minus=function(W,se){var te,pe,fe,ue,be=this,me=be.s;if(se=(W=new Ge(W,se)).s,!me||!se)return new Ge(NaN);if(me!=se)return W.s=-se,be.plus(W);var Me=be.e/T,De=W.e/T,Ie=be.c,Ne=W.c;if(!Me||!De){if(!Ie||!Ne)return Ie?(W.s=-se,W):new Ge(Ne?be:NaN);if(!Ie[0]||!Ne[0])return Ne[0]?(W.s=-se,W):new Ge(Ie[0]?be:3==ke?-0:0)}if(Me=B(Me),De=B(De),Ie=Ie.slice(),me=Me-De){for((ue=me<0)?(me=-me,fe=Ie):(De=Me,fe=Ne),fe.reverse(),se=me;se--;fe.push(0));fe.reverse()}else for(pe=(ue=(me=Ie.length)<(se=Ne.length))?me:se,me=se=0;se0)for(;se--;Ie[te++]=0);for(se=x-1;pe>me;){if(Ie[--pe]=0;){for(te=0,ut=Gn[fe]%Rn,gt=Gn[fe]/Rn|0,ue=fe+(be=Me);ue>fe;)te=((De=ut*(De=qt[--be]%Rn)+(me=gt*De+(Ie=qt[be]/Rn|0)*ut)%Rn*Rn+ot[ue]+te)/fn|0)+(me/Rn|0)+gt*Ie,ot[ue--]=De%fn;ot[ue]=te}return te?++pe:ot.splice(0,1),dr(W,ot,pe)},J.negated=function(){var W=new Ge(this);return W.s=-W.s||null,W},J.plus=function(W,se){var te,pe=this,fe=pe.s;if(se=(W=new Ge(W,se)).s,!fe||!se)return new Ge(NaN);if(fe!=se)return W.s=-se,pe.minus(W);var ue=pe.e/T,be=W.e/T,me=pe.c,Me=W.c;if(!ue||!be){if(!me||!Me)return new Ge(fe/0);if(!me[0]||!Me[0])return Me[0]?W:new Ge(me[0]?pe:0*fe)}if(ue=B(ue),be=B(be),me=me.slice(),fe=ue-be){for(fe>0?(be=ue,te=Me):(fe=-fe,te=me),te.reverse();fe--;te.push(0));te.reverse()}for((fe=me.length)-(se=Me.length)<0&&(te=Me,Me=me,me=te,se=fe),fe=0;se;)fe=(me[--se]=me[se]+Me[se]+fe)/x|0,me[se]=x===me[se]?0:me[se]%x;return fe&&(me=[fe].concat(me),++be),dr(W,me,be)},J.precision=J.sd=function(W,se){var te,pe,fe;if(null!=W&&W!==!!W)return ye(W,1,A),null==se?se=ke:ye(se,0,8),Xe(new Ge(this),W,se);if(!(te=this.c))return null;if(pe=(fe=te.length-1)*T+1,fe=te[fe]){for(;fe%10==0;fe/=10,pe--);for(fe=te[0];fe>=10;fe/=10,pe++);}return W&&this.e+1>pe&&(pe=this.e+1),pe},J.shiftedBy=function(W){return ye(W,-D,D),this.times("1e"+W)},J.squareRoot=J.sqrt=function(){var W,se,te,pe,fe,ue=this,be=ue.c,me=ue.s,Me=ue.e,De=Se+4,Ie=new Ge("0.5");if(1!==me||!be||!be[0])return new Ge(!me||me<0&&(!be||be[0])?NaN:be?ue:1/0);if(0==(me=Math.sqrt(+ue))||me==1/0?(((se=K(be)).length+Me)%2==0&&(se+="0"),me=Math.sqrt(se),Me=B((Me+1)/2)-(Me<0||Me%2),te=new Ge(se=me==1/0?"1e"+Me:(se=me.toExponential()).slice(0,se.indexOf("e")+1)+Me)):te=new Ge(me+""),te.c[0])for((me=(Me=te.e)+De)<3&&(me=0);;)if(te=Ie.times((fe=te).plus(ee(ue,fe,De,1))),K(fe.c).slice(0,me)===(se=K(te.c)).slice(0,me)){if(te.e0&&ut>0){for(Me=Ne.substr(0,pe=ut%ue||ue);pe0&&(Me+=me+Ne.slice(pe)),Ie&&(Me="-"+Me)}te=De?Me+Fn.decimalSeparator+((be=+Fn.fractionGroupSize)?De.replace(new RegExp("\\d{"+be+"}\\B","g"),"$&"+Fn.fractionGroupSeparator):De):Me}return te},J.toFraction=function(W){var se,te,pe,fe,ue,be,me,Me,De,Ie,Ne,ut,gt=this,ot=gt.c;if(null!=W&&(!(Me=new Ge(W)).isInteger()&&(Me.c||1!==Me.s)||Me.lt(Te)))throw Error(p+"Argument "+(Me.isInteger()?"out of range: ":"not an integer: ")+W);if(!ot)return gt.toString();for(te=new Ge(Te),Ie=pe=new Ge(Te),fe=De=new Ge(Te),ut=K(ot),be=te.e=ut.length-gt.e-1,te.c[0]=S[(me=be%T)<0?T+me:me],W=!W||Me.comparedTo(te)>0?be>0?te:Ie:Me,me=at,at=1/0,Me=new Ge(ut),De.c[0]=0;Ne=ee(Me,te,0,1),1!=(ue=pe.plus(Ne.times(fe))).comparedTo(W);)pe=fe,fe=ue,Ie=De.plus(Ne.times(ue=Ie)),De=ue,te=Me.minus(Ne.times(ue=te)),Me=ue;return ue=ee(W.minus(pe),fe,0,1),De=De.plus(ue.times(Ie)),pe=pe.plus(ue.times(fe)),De.s=Ie.s=gt.s,se=ee(Ie,fe,be*=2,ke).minus(gt).abs().comparedTo(ee(De,pe,be,ke).minus(gt).abs())<1?[Ie.toString(),fe.toString()]:[De.toString(),pe.toString()],at=me,se},J.toNumber=function(){return+this},J.toPrecision=function(W,se){return null!=W&&ye(W,1,A),Ni(this,W,se,2)},J.toString=function(W){var se,pe=this.s,fe=this.e;return null===fe?pe?(se="Infinity",pe<0&&(se="-"+se)):se="NaN":(se=K(this.c),null==W?se=fe<=Be||fe>=tt?he(se,fe):q(se,fe,"0"):(ye(W,2,zn.length,"Base"),se=ae(q(se,fe,"0"),10,W,pe,!0)),pe<0&&this.c[0]&&(se="-"+se)),se},J.valueOf=J.toJSON=function(){var W,te=this.e;return null===te?this.toString():(W=K(this.c),W=te<=Be||te>=tt?he(W,te):q(W,te,"0"),this.s<0?"-"+W:W)},J._isBigNumber=!0,null!=Q&&Ge.set(Q),Ge}(),u.default=u.BigNumber=u,void 0!==(O=function(){return u}.call(ge,Y,ge,de))&&(de.exports=O)}()},6149:(de,ge,Y)=>{var O=Y(5979)();O.helpers=Y(3305),Y(3533)(O),O.defaults=Y(9800),O.Element=Y(8839),O.elements=Y(9931),O.Interaction=Y(2814),O.layouts=Y(2294),O.platform=Y(8244),O.plugins=Y(2445),O.Ticks=Y(8347),Y(8103)(O),Y(1047)(O),Y(7897)(O),Y(5464)(O),Y(6308)(O),Y(480)(O),Y(8351)(O),Y(4977)(O),Y(1704)(O),Y(1486)(O),Y(8726)(O),Y(4215)(O),Y(2690)(O),Y(4033)(O),Y(787)(O),Y(6769)(O),Y(6580)(O),Y(4657)(O),Y(1895)(O),Y(6038)(O),Y(2898)(O),Y(3414)(O),Y(6667)(O),Y(402)(O),Y(846)(O),Y(9377)(O);var v=Y(6747);for(var u in v)v.hasOwnProperty(u)&&O.plugins.register(v[u]);O.platform.initialize(),de.exports=O,typeof window<"u"&&(window.Chart=O),O.Legend=v.legend._element,O.Title=v.title._element,O.pluginService=O.plugins,O.PluginBase=O.Element.extend({}),O.canvasHelpers=O.helpers.canvas,O.layoutService=O.layouts},6038:de=>{"use strict";de.exports=function(ge){ge.Bar=function(Y,O){return O.type="bar",new ge(Y,O)}}},2898:de=>{"use strict";de.exports=function(ge){ge.Bubble=function(Y,O){return O.type="bubble",new ge(Y,O)}}},3414:de=>{"use strict";de.exports=function(ge){ge.Doughnut=function(Y,O){return O.type="doughnut",new ge(Y,O)}}},6667:de=>{"use strict";de.exports=function(ge){ge.Line=function(Y,O){return O.type="line",new ge(Y,O)}}},402:de=>{"use strict";de.exports=function(ge){ge.PolarArea=function(Y,O){return O.type="polarArea",new ge(Y,O)}}},846:de=>{"use strict";de.exports=function(ge){ge.Radar=function(Y,O){return O.type="radar",new ge(Y,O)}}},9377:de=>{"use strict";de.exports=function(ge){ge.Scatter=function(Y,O){return O.type="scatter",new ge(Y,O)}}},2690:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),O._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(p,y){var x="";return p.length>0&&(p[0].yLabel?x=p[0].yLabel:y.labels.length>0&&p[0].index0?Math.min(x,S-D):x,D=S;return x}(x,U):-1,{min:oe,pixels:U,start:L,end:A,stackCount:T,scale:x}},calculateBarValuePixels:function(y,x){var ye,Z,X,he,q,Q,T=this,D=T.chart,S=T.getMeta(),L=T.getValueScale(),A=D.data.datasets,U=L.getRightValue(A[y].data[x]),B=L.options.stacked,K=S.stack,oe=0;if(B||void 0===B&&void 0!==K)for(ye=0;ye=0&&X>0)&&(oe+=X));return he=L.getPixelForValue(oe),{size:Q=((q=L.getPixelForValue(oe+U))-he)/2,base:he,head:q,center:q+Q/2}},calculateBarIndexPixels:function(y,x,T){var S=T.scale.options,L="flex"===S.barThickness?function M(p,y,x){var T=y.pixels,D=T[p],S=p>0?T[p-1]:null,L=p{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._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(f,h){return(h.datasets[f.datasetIndex].label||"")+": ("+f.xLabel+", "+f.yLabel+", "+h.datasets[f.datasetIndex].data[f.index].r+")"}}}}),de.exports=function(f){f.controllers.bubble=f.DatasetController.extend({dataElementType:v.Point,update:function(h){var M=this,p=M.getMeta();u.each(p.data,function(x,T){M.updateElement(x,T,h)})},updateElement:function(h,M,p){var y=this,x=y.getMeta(),T=h.custom||{},D=y.getScaleForId(x.xAxisID),S=y.getScaleForId(x.yAxisID),L=y._resolveElementOptions(h,M),A=y.getDataset().data[M],U=y.index,B=p?D.getPixelForDecimal(.5):D.getPixelForValue("object"==typeof A?A:NaN,M,U),K=p?S.getBasePixel():S.getPixelForValue(A,M,U);h._xScale=D,h._yScale=S,h._options=L,h._datasetIndex=U,h._index=M,h._model={backgroundColor:L.backgroundColor,borderColor:L.borderColor,borderWidth:L.borderWidth,hitRadius:L.hitRadius,pointStyle:L.pointStyle,radius:p?0:L.radius,skip:T.skip||isNaN(B)||isNaN(K),x:B,y:K},h.pivot()},setHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=u.valueOrDefault(p.hoverBackgroundColor,u.getHoverColor(p.backgroundColor)),M.borderColor=u.valueOrDefault(p.hoverBorderColor,u.getHoverColor(p.borderColor)),M.borderWidth=u.valueOrDefault(p.hoverBorderWidth,p.borderWidth),M.radius=p.radius+p.hoverRadius},removeHoverStyle:function(h){var M=h._model,p=h._options;M.backgroundColor=p.backgroundColor,M.borderColor=p.borderColor,M.borderWidth=p.borderWidth,M.radius=p.radius},_resolveElementOptions:function(h,M){var B,K,oe,p=this,y=p.chart,T=y.data.datasets[p.index],D=h.custom||{},S=y.options.elements.point,L=u.options.resolve,A=T.data[M],U={},ye={chart:y,dataIndex:M,dataset:T,datasetIndex:p.index},Z=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(B=0,K=Z.length;B{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var x=0;x'),y[x]&&h.push(y[x]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),x=h.datasets[0],T=y.data[p],D=T&&T.custom||{},S=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:D.backgroundColor?D.backgroundColor:S(x.backgroundColor,p,L.backgroundColor),strokeStyle:D.borderColor?D.borderColor:S(x.borderColor,p,L.borderColor),lineWidth:D.borderWidth?D.borderWidth:S(x.borderWidth,p,L.borderWidth),hidden:isNaN(x.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,x,T,M=h.index,p=this.chart;for(y=0,x=(p.data.datasets||[]).length;y=Math.PI?-1:oe<-Math.PI?1:0))+K,Z={x:Math.cos(oe),y:Math.sin(oe)},X={x:Math.cos(ye),y:Math.sin(ye)},he=oe<=0&&ye>=0||oe<=2*Math.PI&&2*Math.PI<=ye,q=oe<=.5*Math.PI&&.5*Math.PI<=ye||oe<=2.5*Math.PI&&2.5*Math.PI<=ye,Q=oe<=-Math.PI&&-Math.PI<=ye||oe<=Math.PI&&Math.PI<=ye,ee=oe<=.5*-Math.PI&&.5*-Math.PI<=ye||oe<=1.5*Math.PI&&1.5*Math.PI<=ye,ae=B/100,le={x:Q?-1:Math.min(Z.x*(Z.x<0?1:ae),X.x*(X.x<0?1:ae)),y:ee?-1:Math.min(Z.y*(Z.y<0?1:ae),X.y*(X.y<0?1:ae))},J={x:he?1:Math.max(Z.x*(Z.x>0?1:ae),X.x*(X.x>0?1:ae)),y:q?1:Math.max(Z.y*(Z.y>0?1:ae),X.y*(X.y>0?1:ae))},Te={width:.5*(J.x-le.x),height:.5*(J.y-le.y)};L=Math.min(D/Te.width,S/Te.height),A={x:-.5*(J.x+le.x),y:-.5*(J.y+le.y)}}p.borderWidth=M.getMaxBorderWidth(U.data),p.outerRadius=Math.max((L-p.borderWidth)/2,0),p.innerRadius=Math.max(B?p.outerRadius/100*B:0,0),p.radiusLength=(p.outerRadius-p.innerRadius)/p.getVisibleDatasetCount(),p.offsetX=A.x*p.outerRadius,p.offsetY=A.y*p.outerRadius,U.total=M.calculateTotal(),M.outerRadius=p.outerRadius-p.radiusLength*M.getRingIndex(M.index),M.innerRadius=Math.max(M.outerRadius-p.radiusLength,0),u.each(U.data,function(Se,ke){M.updateElement(Se,ke,h)})},updateElement:function(h,M,p){var y=this,x=y.chart,T=x.chartArea,D=x.options,S=D.animation,L=(T.left+T.right)/2,A=(T.top+T.bottom)/2,U=D.rotation,B=D.rotation,K=y.getDataset(),oe=p&&S.animateRotate||h.hidden?0:y.calculateCircumference(K.data[M])*(D.circumference/(2*Math.PI));u.extend(h,{_datasetIndex:y.index,_index:M,_model:{x:L+x.offsetX,y:A+x.offsetY,startAngle:U,endAngle:B,circumference:oe,outerRadius:p&&S.animateScale?0:y.outerRadius,innerRadius:p&&S.animateScale?0:y.innerRadius,label:(0,u.valueAtIndexOrDefault)(K.label,M,x.data.labels[M])}});var he=h._model;this.removeHoverStyle(h),(!p||!S.animateRotate)&&(he.startAngle=0===M?D.rotation:y.getMeta().data[M-1]._model.endAngle,he.endAngle=he.startAngle+he.circumference),h.pivot()},removeHoverStyle:function(h){f.DatasetController.prototype.removeHoverStyle.call(this,h,this.chart.options.elements.arc)},calculateTotal:function(){var y,h=this.getDataset(),M=this.getMeta(),p=0;return u.each(M.data,function(x,T){y=h.data[T],!isNaN(y)&&!x.hidden&&(p+=Math.abs(y))}),p},calculateCircumference:function(h){var M=this.getMeta().total;return M>0&&!isNaN(h)?2*Math.PI*(Math.abs(h)/M):0},getMaxBorderWidth:function(h){for(var x,T,M=0,p=this.index,y=h.length,D=0;D(M=(x=h[D]._model?h[D]._model.borderWidth:0)>M?x:M)?T:M;return M}})}},6769:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),de.exports=function(f){function h(M,p){return u.valueOrDefault(M.showLine,p.showLines)}f.controllers.line=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,update:function(M){var A,U,B,p=this,y=p.getMeta(),x=y.dataset,T=y.data||[],D=p.chart.options,S=D.elements.line,L=p.getScaleForId(y.yAxisID),K=p.getDataset(),oe=h(K,D);for(oe&&(B=x.custom||{},void 0!==K.tension&&void 0===K.lineTension&&(K.lineTension=K.tension),x._scale=L,x._datasetIndex=p.index,x._children=T,x._model={spanGaps:K.spanGaps?K.spanGaps:D.spanGaps,tension:B.tension?B.tension:u.valueOrDefault(K.lineTension,S.tension),backgroundColor:B.backgroundColor?B.backgroundColor:K.backgroundColor||S.backgroundColor,borderWidth:B.borderWidth?B.borderWidth:K.borderWidth||S.borderWidth,borderColor:B.borderColor?B.borderColor:K.borderColor||S.borderColor,borderCapStyle:B.borderCapStyle?B.borderCapStyle:K.borderCapStyle||S.borderCapStyle,borderDash:B.borderDash?B.borderDash:K.borderDash||S.borderDash,borderDashOffset:B.borderDashOffset?B.borderDashOffset:K.borderDashOffset||S.borderDashOffset,borderJoinStyle:B.borderJoinStyle?B.borderJoinStyle:K.borderJoinStyle||S.borderJoinStyle,fill:B.fill?B.fill:void 0!==K.fill?K.fill:S.fill,steppedLine:B.steppedLine?B.steppedLine:u.valueOrDefault(K.steppedLine,S.stepped),cubicInterpolationMode:B.cubicInterpolationMode?B.cubicInterpolationMode:u.valueOrDefault(K.cubicInterpolationMode,S.cubicInterpolationMode)},x.pivot()),A=0,U=T.length;A{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._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(f){var h=[];h.push('
    ');var M=f.data,p=M.datasets,y=M.labels;if(p.length)for(var x=0;x'),y[x]&&h.push(y[x]),h.push("");return h.push("
"),h.join("")},legend:{labels:{generateLabels:function(f){var h=f.data;return h.labels.length&&h.datasets.length?h.labels.map(function(M,p){var y=f.getDatasetMeta(0),x=h.datasets[0],D=y.data[p].custom||{},S=u.valueAtIndexOrDefault,L=f.options.elements.arc;return{text:M,fillStyle:D.backgroundColor?D.backgroundColor:S(x.backgroundColor,p,L.backgroundColor),strokeStyle:D.borderColor?D.borderColor:S(x.borderColor,p,L.borderColor),lineWidth:D.borderWidth?D.borderWidth:S(x.borderWidth,p,L.borderWidth),hidden:isNaN(x.data[p])||y.data[p].hidden,index:p}}):[]}},onClick:function(f,h){var y,x,T,M=h.index,p=this.chart;for(y=0,x=(p.data.datasets||[]).length;y0&&!isNaN(h)?2*Math.PI/M:0}})}},4657:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),de.exports=function(f){f.controllers.radar=f.DatasetController.extend({datasetElementType:v.Line,dataElementType:v.Point,linkScales:u.noop,update:function(h){var M=this,p=M.getMeta(),x=p.data,T=p.dataset.custom||{},D=M.getDataset(),S=M.chart.options.elements.line,L=M.chart.scale;void 0!==D.tension&&void 0===D.lineTension&&(D.lineTension=D.tension),u.extend(p.dataset,{_datasetIndex:M.index,_scale:L,_children:x,_loop:!0,_model:{tension:T.tension?T.tension:u.valueOrDefault(D.lineTension,S.tension),backgroundColor:T.backgroundColor?T.backgroundColor:D.backgroundColor||S.backgroundColor,borderWidth:T.borderWidth?T.borderWidth:D.borderWidth||S.borderWidth,borderColor:T.borderColor?T.borderColor:D.borderColor||S.borderColor,fill:T.fill?T.fill:void 0!==D.fill?D.fill:S.fill,borderCapStyle:T.borderCapStyle?T.borderCapStyle:D.borderCapStyle||S.borderCapStyle,borderDash:T.borderDash?T.borderDash:D.borderDash||S.borderDash,borderDashOffset:T.borderDashOffset?T.borderDashOffset:D.borderDashOffset||S.borderDashOffset,borderJoinStyle:T.borderJoinStyle?T.borderJoinStyle:D.borderJoinStyle||S.borderJoinStyle}}),p.dataset.pivot(),u.each(x,function(A,U){M.updateElement(A,U,h)},M),M.updateBezierControlPoints()},updateElement:function(h,M,p){var y=this,x=h.custom||{},T=y.getDataset(),D=y.chart.scale,S=y.chart.options.elements.point,L=D.getPointPositionForValue(M,T.data[M]);void 0!==T.radius&&void 0===T.pointRadius&&(T.pointRadius=T.radius),void 0!==T.hitRadius&&void 0===T.pointHitRadius&&(T.pointHitRadius=T.hitRadius),u.extend(h,{_datasetIndex:y.index,_index:M,_scale:D,_model:{x:p?D.xCenter:L.x,y:p?D.yCenter:L.y,tension:x.tension?x.tension:u.valueOrDefault(T.lineTension,y.chart.options.elements.line.tension),radius:x.radius?x.radius:u.valueAtIndexOrDefault(T.pointRadius,M,S.radius),backgroundColor:x.backgroundColor?x.backgroundColor:u.valueAtIndexOrDefault(T.pointBackgroundColor,M,S.backgroundColor),borderColor:x.borderColor?x.borderColor:u.valueAtIndexOrDefault(T.pointBorderColor,M,S.borderColor),borderWidth:x.borderWidth?x.borderWidth:u.valueAtIndexOrDefault(T.pointBorderWidth,M,S.borderWidth),pointStyle:x.pointStyle?x.pointStyle:u.valueAtIndexOrDefault(T.pointStyle,M,S.pointStyle),hitRadius:x.hitRadius?x.hitRadius:u.valueAtIndexOrDefault(T.pointHitRadius,M,S.hitRadius)}}),h._model.skip=x.skip?x.skip:isNaN(h._model.x)||isNaN(h._model.y)},updateBezierControlPoints:function(){var h=this.chart.chartArea,M=this.getMeta();u.each(M.data,function(p,y){var x=p._model,T=u.splineCurve(u.previousItem(M.data,y,!0)._model,x,u.nextItem(M.data,y,!0)._model,x.tension);x.controlPointPreviousX=Math.max(Math.min(T.previous.x,h.right),h.left),x.controlPointPreviousY=Math.max(Math.min(T.previous.y,h.bottom),h.top),x.controlPointNextX=Math.max(Math.min(T.next.x,h.right),h.left),x.controlPointNextY=Math.max(Math.min(T.next.y,h.bottom),h.top),p.pivot()})},setHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,x=h._model;x.radius=p.hoverRadius?p.hoverRadius:u.valueAtIndexOrDefault(M.pointHoverRadius,y,this.chart.options.elements.point.hoverRadius),x.backgroundColor=p.hoverBackgroundColor?p.hoverBackgroundColor:u.valueAtIndexOrDefault(M.pointHoverBackgroundColor,y,u.getHoverColor(x.backgroundColor)),x.borderColor=p.hoverBorderColor?p.hoverBorderColor:u.valueAtIndexOrDefault(M.pointHoverBorderColor,y,u.getHoverColor(x.borderColor)),x.borderWidth=p.hoverBorderWidth?p.hoverBorderWidth:u.valueAtIndexOrDefault(M.pointHoverBorderWidth,y,x.borderWidth)},removeHoverStyle:function(h){var M=this.chart.data.datasets[h._datasetIndex],p=h.custom||{},y=h._index,x=h._model,T=this.chart.options.elements.point;x.radius=p.radius?p.radius:u.valueAtIndexOrDefault(M.pointRadius,y,T.radius),x.backgroundColor=p.backgroundColor?p.backgroundColor:u.valueAtIndexOrDefault(M.pointBackgroundColor,y,T.backgroundColor),x.borderColor=p.borderColor?p.borderColor:u.valueAtIndexOrDefault(M.pointBorderColor,y,T.borderColor),x.borderWidth=p.borderWidth?p.borderWidth:u.valueAtIndexOrDefault(M.pointBorderWidth,y,T.borderWidth)}})}},1895:(de,ge,Y)=>{"use strict";Y(9800)._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(v){return"("+v.xLabel+", "+v.yLabel+")"}}}}),de.exports=function(v){v.controllers.scatter=v.controllers.line}},8103:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:u.noop,onComplete:u.noop}}),de.exports=function(f){f.Animation=v.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),f.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(h,M,p,y){var T,D,x=this.animations;for(M.chart=h,y||(h.animating=!0),T=0,D=x.length;T1&&(p=Math.floor(h.dropFrames),h.dropFrames=h.dropFrames%1),h.advance(1+p);var y=Date.now();h.dropFrames+=(y-M)/h.frameDuration,h.animations.length>0&&h.requestAnimationFrame()},advance:function(h){for(var p,y,M=this.animations,x=0;x=p.numSteps?(u.callback(p.onAnimationComplete,[p],y),y.animating=!1,M.splice(x,1)):++x}},Object.defineProperty(f.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(f.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(h){this.chart=h}})}},1047:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(3305),u=Y(2814),f=Y(2294),h=Y(8244),M=Y(2445);de.exports=function(p){function T(D){return"top"===D||"bottom"===D}p.types={},p.instances={},p.controllers={},v.extend(p.prototype,{construct:function(D,S){var L=this;S=function y(D){var S=(D=D||{}).data=D.data||{};return S.datasets=S.datasets||[],S.labels=S.labels||[],D.options=v.configMerge(O.global,O[D.type],D.options||{}),D}(S);var A=h.acquireContext(D,S),U=A&&A.canvas,B=U&&U.height,K=U&&U.width;L.id=v.uid(),L.ctx=A,L.canvas=U,L.config=S,L.width=K,L.height=B,L.aspectRatio=B?K/B:null,L.options=S.options,L._bufferedRender=!1,L.chart=L,L.controller=L,p.instances[L.id]=L,Object.defineProperty(L,"data",{get:function(){return L.config.data},set:function(oe){L.config.data=oe}}),A&&U?(L.initialize(),L.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var D=this;return M.notify(D,"beforeInit"),v.retinaScale(D,D.options.devicePixelRatio),D.bindEvents(),D.options.responsive&&D.resize(!0),D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.initToolTip(),M.notify(D,"afterInit"),D},clear:function(){return v.canvas.clear(this),this},stop:function(){return p.animationService.cancelAnimation(this),this},resize:function(D){var S=this,L=S.options,A=S.canvas,U=L.maintainAspectRatio&&S.aspectRatio||null,B=Math.max(0,Math.floor(v.getMaximumWidth(A))),K=Math.max(0,Math.floor(U?B/U:v.getMaximumHeight(A)));if((S.width!==B||S.height!==K)&&(A.width=S.width=B,A.height=S.height=K,A.style.width=B+"px",A.style.height=K+"px",v.retinaScale(S,L.devicePixelRatio),!D)){var oe={width:B,height:K};M.notify(S,"resize",[oe]),S.options.onResize&&S.options.onResize(S,oe),S.stop(),S.update(S.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var D=this.options,S=D.scales||{},L=D.scale;v.each(S.xAxes,function(A,U){A.id=A.id||"x-axis-"+U}),v.each(S.yAxes,function(A,U){A.id=A.id||"y-axis-"+U}),L&&(L.id=L.id||"scale")},buildOrUpdateScales:function(){var D=this,S=D.options,L=D.scales||{},A=[],U=Object.keys(L).reduce(function(B,K){return B[K]=!1,B},{});S.scales&&(A=A.concat((S.scales.xAxes||[]).map(function(B){return{options:B,dtype:"category",dposition:"bottom"}}),(S.scales.yAxes||[]).map(function(B){return{options:B,dtype:"linear",dposition:"left"}}))),S.scale&&A.push({options:S.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),v.each(A,function(B){var K=B.options,oe=K.id,ye=v.valueOrDefault(K.type,B.dtype);T(K.position)!==T(B.dposition)&&(K.position=B.dposition),U[oe]=!0;var Z=null;if(oe in L&&L[oe].type===ye)(Z=L[oe]).options=K,Z.ctx=D.ctx,Z.chart=D;else{var X=p.scaleService.getScaleConstructor(ye);if(!X)return;Z=new X({id:oe,type:ye,options:K,ctx:D.ctx,chart:D}),L[Z.id]=Z}Z.mergeTicksOptions(),B.isDefault&&(D.scale=Z)}),v.each(U,function(B,K){B||delete L[K]}),D.scales=L,p.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var D=this,S=[],L=[];return v.each(D.data.datasets,function(A,U){var B=D.getDatasetMeta(U),K=A.type||D.config.type;if(B.type&&B.type!==K&&(D.destroyDatasetMeta(U),B=D.getDatasetMeta(U)),B.type=K,S.push(B.type),B.controller)B.controller.updateIndex(U),B.controller.linkScales();else{var oe=p.controllers[B.type];if(void 0===oe)throw new Error('"'+B.type+'" is not a chart type.');B.controller=new oe(D,U),L.push(B.controller)}},D),L},resetElements:function(){var D=this;v.each(D.data.datasets,function(S,L){D.getDatasetMeta(L).controller.reset()},D)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(D){var S=this;if((!D||"object"!=typeof D)&&(D={duration:D,lazy:arguments[1]}),function x(D){var S=D.options;v.each(D.scales,function(L){f.removeBox(D,L)}),S=v.configMerge(p.defaults.global,p.defaults[D.config.type],S),D.options=D.config.options=S,D.ensureScalesHaveIDs(),D.buildOrUpdateScales(),D.tooltip._options=S.tooltips,D.tooltip.initialize()}(S),M._invalidate(S),!1!==M.notify(S,"beforeUpdate")){S.tooltip._data=S.data;var L=S.buildOrUpdateControllers();v.each(S.data.datasets,function(A,U){S.getDatasetMeta(U).controller.buildOrUpdateElements()},S),S.updateLayout(),S.options.animation&&S.options.animation.duration&&v.each(L,function(A){A.reset()}),S.updateDatasets(),S.tooltip.initialize(),S.lastActive=[],M.notify(S,"afterUpdate"),S._bufferedRender?S._bufferedRequest={duration:D.duration,easing:D.easing,lazy:D.lazy}:S.render(D)}},updateLayout:function(){var D=this;!1!==M.notify(D,"beforeLayout")&&(f.update(this,this.width,this.height),M.notify(D,"afterScaleUpdate"),M.notify(D,"afterLayout"))},updateDatasets:function(){var D=this;if(!1!==M.notify(D,"beforeDatasetsUpdate")){for(var S=0,L=D.data.datasets.length;S"u"&&0!==U.duration)){var K=new p.Animation({numSteps:(L||U.duration)/16.66,easing:D.easing||U.easing,render:function(oe,ye){var X=ye.currentStep,he=X/ye.numSteps;oe.draw((0,v.easing.effects[ye.easing])(he),he,X)},onAnimationProgress:U.onProgress,onAnimationComplete:B});p.animationService.addAnimation(S,K,L,A)}else S.draw(),B(new p.Animation({numSteps:0,chart:S}));return S}},draw:function(D){var S=this;S.clear(),v.isNullOrUndef(D)&&(D=1),S.transition(D),!1!==M.notify(S,"beforeDraw",[D])&&(v.each(S.boxes,function(L){L.draw(S.chartArea)},S),S.scale&&S.scale.draw(),S.drawDatasets(D),S._drawTooltip(D),M.notify(S,"afterDraw",[D]))},transition:function(D){for(var S=this,L=0,A=(S.data.datasets||[]).length;L=0;--L)S.isDatasetVisible(L)&&S.drawDataset(L,D);M.notify(S,"afterDatasetsDraw",[D])}},drawDataset:function(D,S){var L=this,A=L.getDatasetMeta(D),U={meta:A,index:D,easingValue:S};!1!==M.notify(L,"beforeDatasetDraw",[U])&&(A.controller.draw(S),M.notify(L,"afterDatasetDraw",[U]))},_drawTooltip:function(D){var S=this,L=S.tooltip,A={tooltip:L,easingValue:D};!1!==M.notify(S,"beforeTooltipDraw",[A])&&(L.draw(),M.notify(S,"afterTooltipDraw",[A]))},getElementAtEvent:function(D){return u.modes.single(this,D)},getElementsAtEvent:function(D){return u.modes.label(this,D,{intersect:!0})},getElementsAtXAxis:function(D){return u.modes["x-axis"](this,D,{intersect:!0})},getElementsAtEventForMode:function(D,S,L){var A=u.modes[S];return"function"==typeof A?A(this,D,L):[]},getDatasetAtEvent:function(D){return u.modes.dataset(this,D,{intersect:!0})},getDatasetMeta:function(D){var S=this,L=S.data.datasets[D];L._meta||(L._meta={});var A=L._meta[S.id];return A||(A=L._meta[S.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),A},getVisibleDatasetCount:function(){for(var D=0,S=0,L=this.data.datasets.length;S{"use strict";var O=Y(3305);de.exports=function(v){var u=["push","pop","shift","splice","unshift"];function h(M,p){var y=M._chartjs;if(y){var x=y.listeners,T=x.indexOf(p);-1!==T&&x.splice(T,1),!(x.length>0)&&(u.forEach(function(D){delete M[D]}),delete M._chartjs)}}v.DatasetController=function(M,p){this.initialize(M,p)},O.extend(v.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(M,p){var y=this;y.chart=M,y.index=p,y.linkScales(),y.addElements()},updateIndex:function(M){this.index=M},linkScales:function(){var M=this,p=M.getMeta(),y=M.getDataset();(null===p.xAxisID||!(p.xAxisID in M.chart.scales))&&(p.xAxisID=y.xAxisID||M.chart.options.scales.xAxes[0].id),(null===p.yAxisID||!(p.yAxisID in M.chart.scales))&&(p.yAxisID=y.yAxisID||M.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(M){return this.chart.scales[M]},reset:function(){this.update(!0)},destroy:function(){this._data&&h(this._data,this)},createMetaDataset:function(){var M=this,p=M.datasetElementType;return p&&new p({_chart:M.chart,_datasetIndex:M.index})},createMetaData:function(M){var p=this,y=p.dataElementType;return y&&new y({_chart:p.chart,_datasetIndex:p.index,_index:M})},addElements:function(){var T,D,M=this,p=M.getMeta(),y=M.getDataset().data||[],x=p.data;for(T=0,D=y.length;Tx&&M.insertElements(x,T-x)},insertElements:function(M,p){for(var y=0;y{"use strict";var O=Y(3305);de.exports={_set:function(v,u){return O.merge(this[v]||(this[v]={}),u)}}},8839:(de,ge,Y)=>{"use strict";var O=Y(7726),v=Y(3305),f=function(h){v.extend(this,h),this.initialize.apply(this,arguments)};v.extend(f.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var h=this;return h._view||(h._view=v.clone(h._model)),h._start={},h},transition:function(h){var M=this,p=M._model,y=M._start,x=M._view;return p&&1!==h?(x||(x=M._view={}),y||(y=M._start={}),function u(h,M,p,y){var T,D,S,L,A,U,B,K,oe,x=Object.keys(p);for(T=0,D=x.length;T{"use strict";var O=Y(7726),v=Y(9800),u=Y(3305);de.exports=function(f){function h(y,x,T){var D;return"string"==typeof y?(D=parseInt(y,10),-1!==y.indexOf("%")&&(D=D/100*x.parentNode[T])):D=y,D}function M(y){return null!=y&&"none"!==y}function p(y,x,T){var D=document.defaultView,S=y.parentNode,L=D.getComputedStyle(y)[x],A=D.getComputedStyle(S)[x],U=M(L),B=M(A),K=Number.POSITIVE_INFINITY;return U||B?Math.min(U?h(L,y,T):K,B?h(A,S,T):K):"none"}u.configMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,x,T,D){var S=x[y]||{},L=T[y];"scales"===y?x[y]=u.scaleMerge(S,L):"scale"===y?x[y]=u.merge(S,[f.scaleService.getScaleDefaults(L.type),L]):u._merger(y,x,T,D)}})},u.scaleMerge=function(){return u.merge(u.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(y,x,T,D){if("xAxes"===y||"yAxes"===y){var L,A,U,S=T[y].length;for(x[y]||(x[y]=[]),L=0;L=x[y].length&&x[y].push({}),u.merge(x[y][L],!x[y][L].type||U.type&&U.type!==x[y][L].type?[f.scaleService.getScaleDefaults(A),U]:U)}else u._merger(y,x,T,D)}})},u.where=function(y,x){if(u.isArray(y)&&Array.prototype.filter)return y.filter(x);var T=[];return u.each(y,function(D){x(D)&&T.push(D)}),T},u.findIndex=Array.prototype.findIndex?function(y,x,T){return y.findIndex(x,T)}:function(y,x,T){T=void 0===T?y:T;for(var D=0,S=y.length;D=0;D--){var S=y[D];if(x(S))return S}},u.isNumber=function(y){return!isNaN(parseFloat(y))&&isFinite(y)},u.almostEquals=function(y,x,T){return Math.abs(y-x)y},u.max=function(y){return y.reduce(function(x,T){return isNaN(T)?x:Math.max(x,T)},Number.NEGATIVE_INFINITY)},u.min=function(y){return y.reduce(function(x,T){return isNaN(T)?x:Math.min(x,T)},Number.POSITIVE_INFINITY)},u.sign=Math.sign?function(y){return Math.sign(y)}:function(y){return 0==(y=+y)||isNaN(y)?y:y>0?1:-1},u.log10=Math.log10?function(y){return Math.log10(y)}:function(y){var x=Math.log(y)*Math.LOG10E,T=Math.round(x);return y===Math.pow(10,T)?T:x},u.toRadians=function(y){return y*(Math.PI/180)},u.toDegrees=function(y){return y*(180/Math.PI)},u.getAngleFromPoint=function(y,x){var T=x.x-y.x,D=x.y-y.y,S=Math.sqrt(T*T+D*D),L=Math.atan2(D,T);return L<-.5*Math.PI&&(L+=2*Math.PI),{angle:L,distance:S}},u.distanceBetweenPoints=function(y,x){return Math.sqrt(Math.pow(x.x-y.x,2)+Math.pow(x.y-y.y,2))},u.aliasPixel=function(y){return y%2==0?0:.5},u.splineCurve=function(y,x,T,D){var S=y.skip?x:y,L=x,A=T.skip?x:T,U=Math.sqrt(Math.pow(L.x-S.x,2)+Math.pow(L.y-S.y,2)),B=Math.sqrt(Math.pow(A.x-L.x,2)+Math.pow(A.y-L.y,2)),K=U/(U+B),oe=B/(U+B),ye=D*(K=isNaN(K)?0:K),Z=D*(oe=isNaN(oe)?0:oe);return{previous:{x:L.x-ye*(A.x-S.x),y:L.y-ye*(A.y-S.y)},next:{x:L.x+Z*(A.x-S.x),y:L.y+Z*(A.y-S.y)}}},u.EPSILON=Number.EPSILON||1e-14,u.splineCurveMonotone=function(y){var D,S,L,A,B,K,oe,ye,Z,x=(y||[]).map(function(X){return{model:X._model,deltaK:0,mK:0}}),T=x.length;for(D=0;D0?x[D-1]:null,(A=D0?x[D-1]:null)&&!S.model.skip&&(L.model.controlPointPreviousX=L.model.x-(Z=(L.model.x-S.model.x)/3),L.model.controlPointPreviousY=L.model.y-Z*L.mK),A&&!A.model.skip&&(L.model.controlPointNextX=L.model.x+(Z=(A.model.x-L.model.x)/3),L.model.controlPointNextY=L.model.y+Z*L.mK))},u.nextItem=function(y,x,T){return T?x>=y.length-1?y[0]:y[x+1]:x>=y.length-1?y[y.length-1]:y[x+1]},u.previousItem=function(y,x,T){return T?x<=0?y[y.length-1]:y[x-1]:x<=0?y[0]:y[x-1]},u.niceNum=function(y,x){var T=Math.floor(u.log10(y)),D=y/Math.pow(10,T);return(x?D<1.5?1:D<3?2:D<7?5:10:D<=1?1:D<=2?2:D<=5?5:10)*Math.pow(10,T)},u.requestAnimFrame=typeof window>"u"?function(y){y()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(y){return window.setTimeout(y,1e3/60)},u.getRelativePosition=function(y,x){var T,D,S=y.originalEvent||y,L=y.currentTarget||y.srcElement,A=L.getBoundingClientRect(),U=S.touches;U&&U.length>0?(T=U[0].clientX,D=U[0].clientY):(T=S.clientX,D=S.clientY);var B=parseFloat(u.getStyle(L,"padding-left")),K=parseFloat(u.getStyle(L,"padding-top")),oe=parseFloat(u.getStyle(L,"padding-right")),ye=parseFloat(u.getStyle(L,"padding-bottom")),X=A.bottom-A.top-K-ye;return{x:T=Math.round((T-A.left-B)/(A.right-A.left-B-oe)*L.width/x.currentDevicePixelRatio),y:D=Math.round((D-A.top-K)/X*L.height/x.currentDevicePixelRatio)}},u.getConstraintWidth=function(y){return p(y,"max-width","clientWidth")},u.getConstraintHeight=function(y){return p(y,"max-height","clientHeight")},u.getMaximumWidth=function(y){var x=y.parentNode;if(!x)return y.clientWidth;var T=parseInt(u.getStyle(x,"padding-left"),10),D=parseInt(u.getStyle(x,"padding-right"),10),S=x.clientWidth-T-D,L=u.getConstraintWidth(y);return isNaN(L)?S:Math.min(S,L)},u.getMaximumHeight=function(y){var x=y.parentNode;if(!x)return y.clientHeight;var T=parseInt(u.getStyle(x,"padding-top"),10),D=parseInt(u.getStyle(x,"padding-bottom"),10),S=x.clientHeight-T-D,L=u.getConstraintHeight(y);return isNaN(L)?S:Math.min(S,L)},u.getStyle=function(y,x){return y.currentStyle?y.currentStyle[x]:document.defaultView.getComputedStyle(y,null).getPropertyValue(x)},u.retinaScale=function(y,x){var T=y.currentDevicePixelRatio=x||window.devicePixelRatio||1;if(1!==T){var D=y.canvas,S=y.height,L=y.width;D.height=S*T,D.width=L*T,y.ctx.scale(T,T),!D.style.height&&!D.style.width&&(D.style.height=S+"px",D.style.width=L+"px")}},u.fontString=function(y,x,T){return x+" "+y+"px "+T},u.longestText=function(y,x,T,D){var S=(D=D||{}).data=D.data||{},L=D.garbageCollect=D.garbageCollect||[];D.font!==x&&(S=D.data={},L=D.garbageCollect=[],D.font=x),y.font=x;var A=0;u.each(T,function(K){null!=K&&!0!==u.isArray(K)?A=u.measureText(y,S,L,A,K):u.isArray(K)&&u.each(K,function(oe){null!=oe&&!u.isArray(oe)&&(A=u.measureText(y,S,L,A,oe))})});var U=L.length/2;if(U>T.length){for(var B=0;BD&&(D=L),D},u.numberOfLabelLines=function(y){var x=1;return u.each(y,function(T){u.isArray(T)&&T.length>x&&(x=T.length)}),x},u.color=O?function(y){return y instanceof CanvasGradient&&(y=v.global.defaultColor),O(y)}:function(y){return console.error("Color.js not found!"),y},u.getHoverColor=function(y){return y instanceof CanvasPattern?y:u.color(y).saturate(.5).darken(.1).rgbString()}}},2814:(de,ge,Y)=>{"use strict";var O=Y(3305);function v(y,x){return y.native?{x:y.x,y:y.y}:O.getRelativePosition(y,x)}function u(y,x){var D,S,L,A,U;for(S=0,A=y.data.datasets.length;S0&&(L=y.getDatasetMeta(L[0]._datasetIndex).data),L},"x-axis":function(y,x){return p(y,x,{intersect:!1})},point:function(y,x){return f(y,v(x,y))},nearest:function(y,x,T){var D=v(x,y);T.axis=T.axis||"xy";var S=M(T.axis),L=h(y,D,T.intersect,S);return L.length>1&&L.sort(function(A,U){var oe=A.getArea()-U.getArea();return 0===oe&&(oe=A._datasetIndex-U._datasetIndex),oe}),L.slice(0,1)},x:function(y,x,T){var D=v(x,y),S=[],L=!1;return u(y,function(A){A.inXRange(D.x)&&S.push(A),A.inRange(D.x,D.y)&&(L=!0)}),T.intersect&&!L&&(S=[]),S},y:function(y,x,T){var D=v(x,y),S=[],L=!1;return u(y,function(A){A.inYRange(D.y)&&S.push(A),A.inRange(D.x,D.y)&&(L=!0)}),T.intersect&&!L&&(S=[]),S}}}},5979:(de,ge,Y)=>{"use strict";Y(9800)._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}}}),de.exports=function(){var v=function(u,f){return this.construct(u,f),this};return v.Chart=v,v}},2294:(de,ge,Y)=>{"use strict";var O=Y(3305);function v(f,h){return O.where(f,function(M){return M.position===h})}function u(f,h){f.forEach(function(M,p){return M._tmpIndex_=p,M}),f.sort(function(M,p){var y=h?p:M,x=h?M:p;return y.weight===x.weight?y._tmpIndex_-x._tmpIndex_:y.weight-x.weight}),f.forEach(function(M){delete M._tmpIndex_})}de.exports={defaults:{},addBox:function(f,h){f.boxes||(f.boxes=[]),h.fullWidth=h.fullWidth||!1,h.position=h.position||"top",h.weight=h.weight||0,f.boxes.push(h)},removeBox:function(f,h){var M=f.boxes?f.boxes.indexOf(h):-1;-1!==M&&f.boxes.splice(M,1)},configure:function(f,h,M){for(var T,p=["fullWidth","position","weight"],y=p.length,x=0;x{"use strict";var O=Y(9800),v=Y(3305);O._set("global",{plugins:{}}),de.exports={_plugins:[],_cacheId:0,register:function(u){var f=this._plugins;[].concat(u).forEach(function(h){-1===f.indexOf(h)&&f.push(h)}),this._cacheId++},unregister:function(u){var f=this._plugins;[].concat(u).forEach(function(h){var M=f.indexOf(h);-1!==M&&f.splice(M,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(u,f,h){var y,x,T,D,S,M=this.descriptors(u),p=M.length;for(y=0;y{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(8347);function h(p){var x,T,y=[];for(x=0,T=p.length;x"u"&&(D.minor[S]=D[S]),typeof D.major[S]>"u"&&(D.major[S]=D[S]))},beforeUpdate:function(){u.callback(this.options.beforeUpdate,[this])},update:function(D,S,L){var U,B,K,oe,ye,Z,A=this;for(A.beforeUpdate(),A.maxWidth=D,A.maxHeight=S,A.margins=u.extend({left:0,right:0,top:0,bottom:0},L),A.longestTextCache=A.longestTextCache||{},A.beforeSetDimensions(),A.setDimensions(),A.afterSetDimensions(),A.beforeDataLimits(),A.determineDataLimits(),A.afterDataLimits(),A.beforeBuildTicks(),ye=A.buildTicks()||[],A.afterBuildTicks(),A.beforeTickToLabelConversion(),K=A.convertTicksToLabels(ye)||A.ticks,A.afterTickToLabelConversion(),A.ticks=K,U=0,B=K.length;UX&&BD.maxHeight){B--;break}B++,oe=ye*K}D.labelRotation=B},afterCalculateTickRotation:function(){u.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){u.callback(this.options.beforeFit,[this])},fit:function(){var D=this,S=D.minSize={width:0,height:0},L=h(D._ticks),A=D.options,U=A.ticks,B=A.scaleLabel,K=A.gridLines,oe=A.display,ye=D.isHorizontal(),Z=x(U),X=A.gridLines.tickMarkLength;if(S.width=ye?D.isFullWidth()?D.maxWidth-D.margins.left-D.margins.right:D.maxWidth:oe&&K.drawTicks?X:0,S.height=ye?oe&&K.drawTicks?X:0:D.maxHeight,B.display&&oe){var Q=T(B)+u.options.toPadding(B.padding).height;ye?S.height+=Q:S.width+=Q}if(U.display&&oe){var ee=u.longestText(D.ctx,Z.font,L,D.longestTextCache),ae=u.numberOfLabelLines(L),le=.5*Z.size,J=D.options.ticks.padding;if(ye){D.longestLabelWidth=ee;var Te=u.toRadians(D.labelRotation),Se=Math.cos(Te),ke=Math.sin(Te);S.height=Math.min(D.maxHeight,S.height+(ke*ee+Z.size*ae+le*(ae-1)+le)+J),D.ctx.font=Z.font;var tt=y(D.ctx,L[0],Z.font),st=y(D.ctx,L[L.length-1],Z.font);0!==D.labelRotation?(D.paddingLeft="bottom"===A.position?Se*tt+3:Se*le+3,D.paddingRight="bottom"===A.position?Se*le+3:Se*st+3):(D.paddingLeft=tt/2+3,D.paddingRight=st/2+3)}else U.mirror?ee=0:ee+=J+le,S.width=Math.min(D.maxWidth,S.width+ee),D.paddingTop=Z.size/2,D.paddingBottom=Z.size/2}D.handleMargins(),D.width=S.width,D.height=S.height},handleMargins:function(){var D=this;D.margins&&(D.paddingLeft=Math.max(D.paddingLeft-D.margins.left,0),D.paddingTop=Math.max(D.paddingTop-D.margins.top,0),D.paddingRight=Math.max(D.paddingRight-D.margins.right,0),D.paddingBottom=Math.max(D.paddingBottom-D.margins.bottom,0))},afterFit:function(){u.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(D){if(u.isNullOrUndef(D))return NaN;if("number"==typeof D&&!isFinite(D))return NaN;if(D)if(this.isHorizontal()){if(void 0!==D.x)return this.getRightValue(D.x)}else if(void 0!==D.y)return this.getRightValue(D.y);return D},getLabelForIndex:u.noop,getPixelForValue:u.noop,getValueForPixel:u.noop,getPixelForTick:function(D){var S=this,L=S.options.offset;if(S.isHorizontal()){var U=(S.width-(S.paddingLeft+S.paddingRight))/Math.max(S._ticks.length-(L?0:1),1),B=U*D+S.paddingLeft;return L&&(B+=U/2),S.left+Math.round(B)+(S.isFullWidth()?S.margins.left:0)}return S.top+D*((S.height-(S.paddingTop+S.paddingBottom))/(S._ticks.length-1))},getPixelForDecimal:function(D){var S=this;return S.isHorizontal()?S.left+Math.round((S.width-(S.paddingLeft+S.paddingRight))*D+S.paddingLeft)+(S.isFullWidth()?S.margins.left:0):S.top+D*S.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var D=this,S=D.min,L=D.max;return D.beginAtZero?0:S<0&&L<0?L:S>0&&L>0?S:0},_autoSkip:function(D){var S,X,he,Q,L=this,A=L.isHorizontal(),U=L.options.ticks.minor,B=D.length,K=u.toRadians(L.labelRotation),oe=Math.cos(K),ye=L.longestLabelWidth*oe,Z=[];for(U.maxTicksLimit&&(Q=U.maxTicksLimit),A&&(S=!1,(ye+U.autoSkipPadding)*B>L.width-(L.paddingLeft+L.paddingRight)&&(S=1+Math.floor((ye+U.autoSkipPadding)*B/(L.width-(L.paddingLeft+L.paddingRight)))),Q&&B>Q&&(S=Math.max(S,Math.floor(B/Q)))),X=0;X1&&X%S>0||X%S==0&&X+S>=B)&&X!==B-1&&delete he.label,Z.push(he);return Z},draw:function(D){var S=this,L=S.options;if(L.display){var A=S.ctx,U=O.global,B=L.ticks.minor,K=L.ticks.major||B,oe=L.gridLines,ye=L.scaleLabel,Z=0!==S.labelRotation,X=S.isHorizontal(),he=B.autoSkip?S._autoSkip(S.getTicks()):S.getTicks(),q=u.valueOrDefault(B.fontColor,U.defaultFontColor),Q=x(B),ee=u.valueOrDefault(K.fontColor,U.defaultFontColor),ae=x(K),le=oe.drawTicks?oe.tickMarkLength:0,J=u.valueOrDefault(ye.fontColor,U.defaultFontColor),Te=x(ye),Se=u.options.toPadding(ye.padding),ke=u.toRadians(S.labelRotation),Be=[],tt=S.options.gridLines.lineWidth,st="right"===L.position?S.right:S.right-tt-le,at="right"===L.position?S.right+le:S.right,zt="bottom"===L.position?S.top+tt:S.bottom-le-tt,an="bottom"===L.position?S.top+tt+le:S.bottom+tt;if(u.each(he,function(te,pe){if(!u.isNullOrUndef(te.label)){var ue,be,me,Me,fe=te.label;pe===S.zeroLineIndex&&L.offset===oe.offsetGridLines?(ue=oe.zeroLineWidth,be=oe.zeroLineColor,me=oe.zeroLineBorderDash,Me=oe.zeroLineBorderDashOffset):(ue=u.valueAtIndexOrDefault(oe.lineWidth,pe),be=u.valueAtIndexOrDefault(oe.color,pe),me=u.valueOrDefault(oe.borderDash,U.borderDash),Me=u.valueOrDefault(oe.borderDashOffset,U.borderDashOffset));var De,Ie,Ne,ut,gt,ot,fn,Rn,bt,qt,Gn="middle",oi="middle",Kr=B.padding;if(X){var Io=le+Kr;"bottom"===L.position?(oi=Z?"middle":"top",Gn=Z?"right":"center",qt=S.top+Io):(oi=Z?"middle":"bottom",Gn=Z?"left":"center",qt=S.bottom-Io);var Hi=M(S,pe,oe.offsetGridLines&&he.length>1);Hi1);si{"use strict";var O=Y(9800),v=Y(3305),u=Y(2294);de.exports=function(f){f.scaleService={constructors:{},defaults:{},registerScaleType:function(h,M,p){this.constructors[h]=M,this.defaults[h]=v.clone(p)},getScaleConstructor:function(h){return this.constructors.hasOwnProperty(h)?this.constructors[h]:void 0},getScaleDefaults:function(h){return this.defaults.hasOwnProperty(h)?v.merge({},[O.scale,this.defaults[h]]):{}},updateScaleDefaults:function(h,M){var p=this;p.defaults.hasOwnProperty(h)&&(p.defaults[h]=v.extend(p.defaults[h],M))},addScalesToLayout:function(h){v.each(h.scales,function(M){M.fullWidth=M.options.fullWidth,M.position=M.options.position,M.weight=M.options.weight,u.addBox(h,M)})}}}},8347:(de,ge,Y)=>{"use strict";var O=Y(3305);de.exports={formatters:{values:function(v){return O.isArray(v)?v:""+v},linear:function(v,u,f){var h=f.length>3?f[2]-f[1]:f[1]-f[0];Math.abs(h)>1&&v!==Math.floor(v)&&(h=v-Math.floor(v));var M=O.log10(Math.abs(h)),p="";if(0!==v){var y=-1*Math.floor(M);y=Math.max(Math.min(y,20),0),p=v.toFixed(y)}else p="0";return p},logarithmic:function(v,u,f){var h=v/Math.pow(10,Math.floor(O.log10(v)));return 0===v?"0":1===h||2===h||5===h||0===u||u===f.length-1?v.toExponential():""}}}},480:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._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:u.noop,title:function(f,h){var M="",p=h.labels,y=p?p.length:0;if(f.length>0){var x=f[0];x.xLabel?M=x.xLabel:y>0&&x.indexU.height-L.height&&(oe="bottom");var ye,Z,X,he,q,Q=(B.left+B.right)/2,ee=(B.top+B.bottom)/2;"center"===oe?(ye=function(le){return le<=Q},Z=function(le){return le>Q}):(ye=function(le){return le<=L.width/2},Z=function(le){return le>=U.width-L.width/2}),X=function(le){return le+L.width+A.caretSize+A.caretPadding>U.width},he=function(le){return le-L.width-A.caretSize-A.caretPadding<0},q=function(le){return le<=ee?"top":"bottom"},ye(A.x)?(K="left",X(A.x)&&(K="center",oe=q(A.y))):Z(A.x)&&(K="right",he(A.x)&&(K="center",oe=q(A.y)));var ae=S._options;return{xAlign:ae.xAlign?ae.xAlign:K,yAlign:ae.yAlign?ae.yAlign:oe}}(this,X),Z=function D(S,L,A,U){var B=S.x,K=S.y,ye=S.caretPadding,X=A.xAlign,he=A.yAlign,q=S.caretSize+ye,Q=S.cornerRadius+ye;return"right"===X?B-=L.width:"center"===X&&((B-=L.width/2)+L.width>U.width&&(B=U.width-L.width),B<0&&(B=0)),"top"===he?K+=q:K-="bottom"===he?L.height+q:L.height/2,"center"===he?"left"===X?B+=q:"right"===X&&(B-=q):"left"===X?B-=Q:"right"===X&&(B+=Q),{x:B,y:K}}(B,X,ye,L._chart)}else B.opacity=0;return B.xAlign=ye.xAlign,B.yAlign=ye.yAlign,B.x=Z.x,B.y=Z.y,B.width=X.width,B.height=X.height,B.caretX=he.x,B.caretY=he.y,L._model=B,S&&A.custom&&A.custom.call(L,B),L},drawCaret:function(S,L){var A=this._chart.ctx,B=this.getCaretPosition(S,L,this._view);A.lineTo(B.x1,B.y1),A.lineTo(B.x2,B.y2),A.lineTo(B.x3,B.y3)},getCaretPosition:function(S,L,A){var U,B,K,oe,ye,Z,X=A.caretSize,he=A.cornerRadius,q=A.xAlign,Q=A.yAlign,ee=S.x,ae=S.y,le=L.width,J=L.height;if("center"===Q)ye=ae+J/2,"left"===q?(B=(U=ee)-X,K=U,oe=ye+X,Z=ye-X):(B=(U=ee+le)+X,K=U,oe=ye-X,Z=ye+X);else if("left"===q?(U=(B=ee+he+X)-X,K=B+X):"right"===q?(U=(B=ee+le-he-X)-X,K=B+X):(U=(B=A.caretX)-X,K=B+X),"top"===Q)ye=(oe=ae)-X,Z=oe;else{ye=(oe=ae+J)+X,Z=oe;var Te=K;K=U,U=Te}return{x1:U,x2:B,x3:K,y1:oe,y2:ye,y3:Z}},drawTitle:function(S,L,A,U){var B=L.title;if(B.length){A.textAlign=L._titleAlign,A.textBaseline="top";var ye,Z,K=L.titleFontSize,oe=L.titleSpacing;for(A.fillStyle=h(L.titleFontColor,U),A.font=u.fontString(K,L._titleFontStyle,L._titleFontFamily),ye=0,Z=B.length;ye0&&A.stroke()},draw:function(){var S=this._chart.ctx,L=this._view;if(0!==L.opacity){var A={width:L.width,height:L.height},U={x:L.x,y:L.y},B=Math.abs(L.opacity<.001)?0:L.opacity;this._options.enabled&&(L.title.length||L.beforeBody.length||L.body.length||L.afterBody.length||L.footer.length)&&(this.drawBackground(U,L,S,A,B),U.x+=L.xPadding,U.y+=L.yPadding,this.drawTitle(U,L,S,B),this.drawBody(U,L,S,B),this.drawFooter(U,L,S,B))}},handleEvent:function(S){var U,L=this,A=L._options;return L._lastActive=L._lastActive||[],L._active="mouseout"===S.type?[]:L._chart.getElementsAtEventForMode(S,A.mode,A),(U=!u.arrayEquals(L._active,L._lastActive))&&(L._lastActive=L._active,(A.enabled||A.custom)&&(L._eventPosition={x:S.x,y:S.y},L.update(!0),L.pivot())),U}}),f.Tooltip.positioners={average:function(S){if(!S.length)return!1;var L,A,U=0,B=0,K=0;for(L=0,A=S.length;L{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305);O._set("global",{elements:{arc:{backgroundColor:O.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),de.exports=v.extend({inLabelRange:function(f){var h=this._view;return!!h&&Math.pow(f-h.x,2)D;)y-=2*Math.PI;for(;y=T&&y<=D&&x>=M.innerRadius&&x<=M.outerRadius}return!1},getCenterPoint:function(){var f=this._view,h=(f.startAngle+f.endAngle)/2,M=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},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,h=f.startAngle+(f.endAngle-f.startAngle)/2,M=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(h)*M,y:f.y+Math.sin(h)*M}},draw:function(){var f=this._chart.ctx,h=this._view,M=h.startAngle,p=h.endAngle;f.beginPath(),f.arc(h.x,h.y,h.outerRadius,M,p),f.arc(h.x,h.y,h.innerRadius,p,M,!0),f.closePath(),f.strokeStyle=h.borderColor,f.lineWidth=h.borderWidth,f.fillStyle=h.backgroundColor,f.fill(),f.lineJoin="bevel",h.borderWidth&&f.stroke()}})},3819:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=O.global;O._set("global",{elements:{line:{tension:.4,backgroundColor:f.defaultColor,borderWidth:3,borderColor:f.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),de.exports=v.extend({draw:function(){var S,L,A,U,h=this,M=h._view,p=h._chart.ctx,y=M.spanGaps,x=h._children.slice(),T=f.elements.line,D=-1;for(h._loop&&x.length&&x.push(x[0]),p.save(),p.lineCap=M.borderCapStyle||T.borderCapStyle,p.setLineDash&&p.setLineDash(M.borderDash||T.borderDash),p.lineDashOffset=M.borderDashOffset||T.borderDashOffset,p.lineJoin=M.borderJoinStyle||T.borderJoinStyle,p.lineWidth=M.borderWidth||T.borderWidth,p.strokeStyle=M.borderColor||f.defaultColor,p.beginPath(),D=-1,S=0;S{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=O.global.defaultColor;function h(p){var y=this._view;return!!y&&Math.abs(p-y.x){"use strict";var O=Y(9800),v=Y(8839);function u(h){return void 0!==h._view.width}function f(h){var p,y,x,T,M=h._view;if(u(h)){var D=M.width/2;p=M.x-D,y=M.x+D,x=Math.min(M.y,M.base),T=Math.max(M.y,M.base)}else{var S=M.height/2;p=Math.min(M.x,M.base),y=Math.max(M.x,M.base),x=M.y-S,T=M.y+S}return{left:p,top:x,right:y,bottom:T}}O._set("global",{elements:{rectangle:{backgroundColor:O.global.defaultColor,borderColor:O.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),de.exports=v.extend({draw:function(){var p,y,x,T,D,S,L,h=this._chart.ctx,M=this._view,A=M.borderWidth;if(M.horizontal?(x=M.y-M.height/2,T=M.y+M.height/2,D=(y=M.x)>(p=M.base)?1:-1,S=1,L=M.borderSkipped||"left"):(p=M.x-M.width/2,y=M.x+M.width/2,D=1,S=(T=M.base)>(x=M.y)?1:-1,L=M.borderSkipped||"bottom"),A){var U=Math.min(Math.abs(p-y),Math.abs(x-T)),B=(A=A>U?U:A)/2,K=p+("left"!==L?B*D:0),oe=y+("right"!==L?-B*D:0),ye=x+("top"!==L?B*S:0),Z=T+("bottom"!==L?-B*S:0);K!==oe&&(x=ye,T=Z),ye!==Z&&(p=K,y=oe)}h.beginPath(),h.fillStyle=M.backgroundColor,h.strokeStyle=M.borderColor,h.lineWidth=A;var X=[[p,T],[p,x],[y,x],[y,T]],q=["bottom","left","top","right"].indexOf(L,0);function Q(le){return X[(q+le)%4]}-1===q&&(q=0);var ee=Q(0);h.moveTo(ee[0],ee[1]);for(var ae=1;ae<4;ae++)ee=Q(ae),h.lineTo(ee[0],ee[1]);h.fill(),A&&h.stroke()},height:function(){var h=this._view;return h.base-h.y},inRange:function(h,M){var p=!1;if(this._view){var y=f(this);p=h>=y.left&&h<=y.right&&M>=y.top&&M<=y.bottom}return p},inLabelRange:function(h,M){var p=this;if(!p._view)return!1;var x=f(p);return u(p)?h>=x.left&&h<=x.right:M>=x.top&&M<=x.bottom},inXRange:function(h){var M=f(this);return h>=M.left&&h<=M.right},inYRange:function(h){var M=f(this);return h>=M.top&&h<=M.bottom},getCenterPoint:function(){var M,p,h=this._view;return u(this)?(M=h.x,p=(h.y+h.base)/2):(M=(h.x+h.base)/2,p=h.y),{x:M,y:p}},getArea:function(){var h=this._view;return h.width*Math.abs(h.y-h.base)},tooltipPosition:function(){var h=this._view;return{x:h.x,y:h.y}}})},9931:(de,ge,Y)=>{"use strict";de.exports={},de.exports.Arc=Y(280),de.exports.Line=Y(3819),de.exports.Point=Y(4674),de.exports.Rectangle=Y(8667)},2397:(de,ge,Y)=>{"use strict";var O=Y(4396),v=de.exports={clear:function(u){u.ctx.clearRect(0,0,u.width,u.height)},roundedRect:function(u,f,h,M,p,y){if(y){var x=Math.min(y,M/2),T=Math.min(y,p/2);u.moveTo(f+x,h),u.lineTo(f+M-x,h),u.quadraticCurveTo(f+M,h,f+M,h+T),u.lineTo(f+M,h+p-T),u.quadraticCurveTo(f+M,h+p,f+M-x,h+p),u.lineTo(f+x,h+p),u.quadraticCurveTo(f,h+p,f,h+p-T),u.lineTo(f,h+T),u.quadraticCurveTo(f,h,f+x,h)}else u.rect(f,h,M,p)},drawPoint:function(u,f,h,M,p){var y,x,T,D,S,L;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(y=f.toString())&&"[object HTMLCanvasElement]"!==y){if(!(isNaN(h)||h<=0)){switch(f){default:u.beginPath(),u.arc(M,p,h,0,2*Math.PI),u.closePath(),u.fill();break;case"triangle":u.beginPath(),S=(x=3*h/Math.sqrt(3))*Math.sqrt(3)/2,u.moveTo(M-x/2,p+S/3),u.lineTo(M+x/2,p+S/3),u.lineTo(M,p-2*S/3),u.closePath(),u.fill();break;case"rect":L=1/Math.SQRT2*h,u.beginPath(),u.fillRect(M-L,p-L,2*L,2*L),u.strokeRect(M-L,p-L,2*L,2*L);break;case"rectRounded":var A=h/Math.SQRT2,U=M-A,B=p-A,K=Math.SQRT2*h;u.beginPath(),this.roundedRect(u,U,B,K,K,h/2),u.closePath(),u.fill();break;case"rectRot":L=1/Math.SQRT2*h,u.beginPath(),u.moveTo(M-L,p),u.lineTo(M,p+L),u.lineTo(M+L,p),u.lineTo(M,p-L),u.closePath(),u.fill();break;case"cross":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"crossRot":u.beginPath(),T=Math.cos(Math.PI/4)*h,D=Math.sin(Math.PI/4)*h,u.moveTo(M-T,p-D),u.lineTo(M+T,p+D),u.moveTo(M-T,p+D),u.lineTo(M+T,p-D),u.closePath();break;case"star":u.beginPath(),u.moveTo(M,p+h),u.lineTo(M,p-h),u.moveTo(M-h,p),u.lineTo(M+h,p),T=Math.cos(Math.PI/4)*h,D=Math.sin(Math.PI/4)*h,u.moveTo(M-T,p-D),u.lineTo(M+T,p+D),u.moveTo(M-T,p+D),u.lineTo(M+T,p-D),u.closePath();break;case"line":u.beginPath(),u.moveTo(M-h,p),u.lineTo(M+h,p),u.closePath();break;case"dash":u.beginPath(),u.moveTo(M,p),u.lineTo(M+h,p),u.closePath()}u.stroke()}}else u.drawImage(f,M-f.width/2,p-f.height/2,f.width,f.height)},clipArea:function(u,f){u.save(),u.beginPath(),u.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),u.clip()},unclipArea:function(u){u.restore()},lineTo:function(u,f,h,M){if(h.steppedLine)return"after"===h.steppedLine&&!M||"after"!==h.steppedLine&&M?u.lineTo(f.x,h.y):u.lineTo(h.x,f.y),void u.lineTo(h.x,h.y);h.tension?u.bezierCurveTo(M?f.controlPointPreviousX:f.controlPointNextX,M?f.controlPointPreviousY:f.controlPointNextY,M?h.controlPointNextX:h.controlPointPreviousX,M?h.controlPointNextY:h.controlPointPreviousY,h.x,h.y):u.lineTo(h.x,h.y)}};O.clear=v.clear,O.drawRoundedRectangle=function(u){u.beginPath(),v.roundedRect.apply(v,arguments),u.closePath()}},4396:de=>{"use strict";var Y,ge={noop:function(){},uid:(Y=0,function(){return Y++}),isNullOrUndef:function(Y){return null===Y||typeof Y>"u"},isArray:Array.isArray?Array.isArray:function(Y){return"[object Array]"===Object.prototype.toString.call(Y)},isObject:function(Y){return null!==Y&&"[object Object]"===Object.prototype.toString.call(Y)},valueOrDefault:function(Y,O){return typeof Y>"u"?O:Y},valueAtIndexOrDefault:function(Y,O,v){return ge.valueOrDefault(ge.isArray(Y)?Y[O]:Y,v)},callback:function(Y,O,v){if(Y&&"function"==typeof Y.call)return Y.apply(v,O)},each:function(Y,O,v,u){var f,h,M;if(ge.isArray(Y))if(h=Y.length,u)for(f=h-1;f>=0;f--)O.call(v,Y[f],f);else for(f=0;f{"use strict";var O=Y(4396),v={linear:function(u){return u},easeInQuad:function(u){return u*u},easeOutQuad:function(u){return-u*(u-2)},easeInOutQuad:function(u){return(u/=.5)<1?.5*u*u:-.5*(--u*(u-2)-1)},easeInCubic:function(u){return u*u*u},easeOutCubic:function(u){return(u-=1)*u*u+1},easeInOutCubic:function(u){return(u/=.5)<1?.5*u*u*u:.5*((u-=2)*u*u+2)},easeInQuart:function(u){return u*u*u*u},easeOutQuart:function(u){return-((u-=1)*u*u*u-1)},easeInOutQuart:function(u){return(u/=.5)<1?.5*u*u*u*u:-.5*((u-=2)*u*u*u-2)},easeInQuint:function(u){return u*u*u*u*u},easeOutQuint:function(u){return(u-=1)*u*u*u*u+1},easeInOutQuint:function(u){return(u/=.5)<1?.5*u*u*u*u*u:.5*((u-=2)*u*u*u*u+2)},easeInSine:function(u){return 1-Math.cos(u*(Math.PI/2))},easeOutSine:function(u){return Math.sin(u*(Math.PI/2))},easeInOutSine:function(u){return-.5*(Math.cos(Math.PI*u)-1)},easeInExpo:function(u){return 0===u?0:Math.pow(2,10*(u-1))},easeOutExpo:function(u){return 1===u?1:1-Math.pow(2,-10*u)},easeInOutExpo:function(u){return 0===u?0:1===u?1:(u/=.5)<1?.5*Math.pow(2,10*(u-1)):.5*(2-Math.pow(2,-10*--u))},easeInCirc:function(u){return u>=1?u:-(Math.sqrt(1-u*u)-1)},easeOutCirc:function(u){return Math.sqrt(1-(u-=1)*u)},easeInOutCirc:function(u){return(u/=.5)<1?-.5*(Math.sqrt(1-u*u)-1):.5*(Math.sqrt(1-(u-=2)*u)+1)},easeInElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),-M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h))},easeOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:1===u?1:(h||(h=.3),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),M*Math.pow(2,-10*u)*Math.sin((u-f)*(2*Math.PI)/h)+1)},easeInOutElastic:function(u){var f=1.70158,h=0,M=1;return 0===u?0:2==(u/=.5)?1:(h||(h=.45),M<1?(M=1,f=h/4):f=h/(2*Math.PI)*Math.asin(1/M),u<1?M*Math.pow(2,10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*-.5:M*Math.pow(2,-10*(u-=1))*Math.sin((u-f)*(2*Math.PI)/h)*.5+1)},easeInBack:function(u){var f=1.70158;return u*u*((f+1)*u-f)},easeOutBack:function(u){var f=1.70158;return(u-=1)*u*((f+1)*u+f)+1},easeInOutBack:function(u){var f=1.70158;return(u/=.5)<1?u*u*((1+(f*=1.525))*u-f)*.5:.5*((u-=2)*u*((1+(f*=1.525))*u+f)+2)},easeInBounce:function(u){return 1-v.easeOutBounce(1-u)},easeOutBounce:function(u){return u<1/2.75?7.5625*u*u:u<2/2.75?7.5625*(u-=1.5/2.75)*u+.75:u<2.5/2.75?7.5625*(u-=2.25/2.75)*u+.9375:7.5625*(u-=2.625/2.75)*u+.984375},easeInOutBounce:function(u){return u<.5?.5*v.easeInBounce(2*u):.5*v.easeOutBounce(2*u-1)+.5}};de.exports={effects:v},O.easingEffects=v},5347:(de,ge,Y)=>{"use strict";var O=Y(4396);de.exports={toLineHeight:function(v,u){var f=(""+v).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*u;switch(v=+f[2],f[3]){case"px":return v;case"%":v/=100}return u*v},toPadding:function(v){var u,f,h,M;return O.isObject(v)?(u=+v.top||0,f=+v.right||0,h=+v.bottom||0,M=+v.left||0):u=f=h=M=+v||0,{top:u,right:f,bottom:h,left:M,height:u+h,width:M+f}},resolve:function(v,u,f){var h,M,p;for(h=0,M=v.length;h{"use strict";de.exports=Y(4396),de.exports.easing=Y(4317),de.exports.canvas=Y(2397),de.exports.options=Y(5347)},1607:de=>{de.exports={acquireContext:function(ge){return ge&&ge.canvas&&(ge=ge.canvas),ge&&ge.getContext("2d")||null}}},8005:(de,ge,Y)=>{"use strict";var O=Y(3305),v="$chartjs",u="chartjs-",f=u+"render-monitor",h=u+"render-animation",M=["animationstart","webkitAnimationStart"],p={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function y(q,Q){var ee=O.getStyle(q,Q),ae=ee&&ee.match(/^(\d+)(\.\d+)?px$/);return ae?Number(ae[1]):void 0}var D=!!function(){var q=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("e",null,Q)}catch{}return q}()&&{passive:!0};function S(q,Q,ee){q.addEventListener(Q,ee,D)}function L(q,Q,ee){q.removeEventListener(Q,ee,D)}function A(q,Q,ee,ae,le){return{type:q,chart:Q,native:le||null,x:void 0!==ee?ee:null,y:void 0!==ae?ae:null}}de.exports={_enabled:typeof window<"u"&&typeof document<"u",initialize:function(){var q="from{opacity:0.99}to{opacity:1}";!function he(q,Q){var ee=q._style||document.createElement("style");q._style||(q._style=ee,Q="/* Chart.js */\n"+Q,ee.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(ee)),ee.appendChild(document.createTextNode(Q))}(this,"@-webkit-keyframes "+h+"{"+q+"}@keyframes "+h+"{"+q+"}."+f+"{-webkit-animation:"+h+" 0.001s;animation:"+h+" 0.001s;}")},acquireContext:function(q,Q){"string"==typeof q?q=document.getElementById(q):q.length&&(q=q[0]),q&&q.canvas&&(q=q.canvas);var ee=q&&q.getContext&&q.getContext("2d");return ee&&ee.canvas===q?(function x(q,Q){var ee=q.style,ae=q.getAttribute("height"),le=q.getAttribute("width");if(q[v]={initial:{height:ae,width:le,style:{display:ee.display,height:ee.height,width:ee.width}}},ee.display=ee.display||"block",null===le||""===le){var J=y(q,"width");void 0!==J&&(q.width=J)}if(null===ae||""===ae)if(""===q.style.height)q.height=q.width/(Q.options.aspectRatio||2);else{var Te=y(q,"height");void 0!==J&&(q.height=Te)}}(q,Q),ee):null},releaseContext:function(q){var Q=q.canvas;if(Q[v]){var ee=Q[v].initial;["height","width"].forEach(function(ae){var le=ee[ae];O.isNullOrUndef(le)?Q.removeAttribute(ae):Q.setAttribute(ae,le)}),O.each(ee.style||{},function(ae,le){Q.style[le]=ae}),Q.width=Q.width,delete Q[v]}},addEventListener:function(q,Q,ee){var ae=q.canvas;if("resize"!==Q){var le=ee[v]||(ee[v]={}),Te=(le.proxies||(le.proxies={}))[q.id+"_"+Q]=function(Se){ee(function U(q,Q){var ee=p[q.type]||q.type,ae=O.getRelativePosition(q,Q);return A(ee,Q,ae.x,ae.y,q)}(Se,q))};S(ae,Q,Te)}else!function Z(q,Q,ee){var ae=q[v]||(q[v]={}),le=ae.resizer=function K(q){var Q=document.createElement("div"),ee=u+"size-monitor",ae=1e6,le="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";Q.style.cssText=le,Q.className=ee,Q.innerHTML='
';var J=Q.childNodes[0],Te=Q.childNodes[1];Q._reset=function(){J.scrollLeft=ae,J.scrollTop=ae,Te.scrollLeft=ae,Te.scrollTop=ae};var Se=function(){Q._reset(),q()};return S(J,"scroll",Se.bind(J,"expand")),S(Te,"scroll",Se.bind(Te,"shrink")),Q}(function B(q,Q){var ee=!1,ae=[];return function(){ae=Array.prototype.slice.call(arguments),Q=Q||this,ee||(ee=!0,O.requestAnimFrame.call(window,function(){ee=!1,q.apply(Q,ae)}))}}(function(){if(ae.resizer)return Q(A("resize",ee))}));!function oe(q,Q){var ee=q[v]||(q[v]={}),ae=ee.renderProxy=function(le){le.animationName===h&&Q()};O.each(M,function(le){S(q,le,ae)}),ee.reflow=!!q.offsetParent,q.classList.add(f)}(q,function(){if(ae.resizer){var J=q.parentNode;J&&J!==le.parentNode&&J.insertBefore(le,J.firstChild),le._reset()}})}(ae,ee,q)},removeEventListener:function(q,Q,ee){var ae=q.canvas;if("resize"!==Q){var Te=((ee[v]||{}).proxies||{})[q.id+"_"+Q];Te&&L(ae,Q,Te)}else!function X(q){var Q=q[v]||{},ee=Q.resizer;delete Q.resizer,function ye(q){var Q=q[v]||{},ee=Q.renderProxy;ee&&(O.each(M,function(ae){L(q,ae,ee)}),delete Q.renderProxy),q.classList.remove(f)}(q),ee&&ee.parentNode&&ee.parentNode.removeChild(ee)}(ae)}},O.addEvent=S,O.removeEvent=L},8244:(de,ge,Y)=>{"use strict";var O=Y(3305),v=Y(1607),u=Y(8005);de.exports=O.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},u._enabled?u:v)},6747:(de,ge,Y)=>{"use strict";de.exports={},de.exports.filler=Y(6579),de.exports.legend=Y(2230),de.exports.title=Y(7412)},6579:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(9931),u=Y(3305);O._set("global",{plugins:{filler:{propagate:!0}}});var f={dataset:function(S){var L=S.fill,A=S.chart,U=A.getDatasetMeta(L),K=U&&A.isDatasetVisible(L)&&U.dataset._children||[],oe=K.length||0;return oe?function(ye,Z){return Z=A)&&K;switch(B){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return B;default:return!1}}function M(S){var K,L=S.el._model||{},A=S.el._scale||{},U=S.fill,B=null;if(isFinite(U))return null;if("start"===U?B=void 0===L.scaleBottom?A.bottom:L.scaleBottom:"end"===U?B=void 0===L.scaleTop?A.top:L.scaleTop:void 0!==L.scaleZero?B=L.scaleZero:A.getBasePosition?B=A.getBasePosition():A.getBasePixel&&(B=A.getBasePixel()),null!=B){if(void 0!==B.x&&void 0!==B.y)return B;if("number"==typeof B&&isFinite(B))return{x:(K=A.isHorizontal())?B:null,y:K?null:B}}return null}function p(S,L,A){var oe,B=S[L].fill,K=[L];if(!A)return B;for(;!1!==B&&-1===K.indexOf(B);){if(!isFinite(B))return B;if(!(oe=S[B]))return!1;if(oe.visible)return B;K.push(B),B=oe.fill}return!1}function y(S){var L=S.fill,A="dataset";return!1===L?null:(isFinite(L)||(A="boundary"),f[A](S))}function x(S){return S&&!S.skip}function T(S,L,A,U,B){var K;if(U&&B){for(S.moveTo(L[0].x,L[0].y),K=1;K0;--K)u.canvas.lineTo(S,A[K],A[K-1],!0)}}de.exports={id:"filler",afterDatasetsUpdate:function(S,L){var K,oe,ye,Z,A=(S.data.datasets||[]).length,U=L.propagate,B=[];for(oe=0;oe{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(2294),h=u.noop;function M(x,T){return x.usePointStyle?T*Math.SQRT2:x.boxWidth}O._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(x,T){var D=T.datasetIndex,S=this.chart,L=S.getDatasetMeta(D);L.hidden=null===L.hidden?!S.data.datasets[D].hidden:null,S.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(x){var T=x.data;return u.isArray(T.datasets)?T.datasets.map(function(D,S){return{text:D.label,fillStyle:u.isArray(D.backgroundColor)?D.backgroundColor[0]:D.backgroundColor,hidden:!x.isDatasetVisible(S),lineCap:D.borderCapStyle,lineDash:D.borderDash,lineDashOffset:D.borderDashOffset,lineJoin:D.borderJoinStyle,lineWidth:D.borderWidth,strokeStyle:D.borderColor,pointStyle:D.pointStyle,datasetIndex:S}},this):[]}}},legendCallback:function(x){var T=[];T.push('
    ');for(var D=0;D'),x.data.datasets[D].label&&T.push(x.data.datasets[D].label),T.push("");return T.push("
"),T.join("")}});var p=v.extend({initialize:function(x){u.extend(this,x),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:h,update:function(x,T,D){var S=this;return S.beforeUpdate(),S.maxWidth=x,S.maxHeight=T,S.margins=D,S.beforeSetDimensions(),S.setDimensions(),S.afterSetDimensions(),S.beforeBuildLabels(),S.buildLabels(),S.afterBuildLabels(),S.beforeFit(),S.fit(),S.afterFit(),S.afterUpdate(),S.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var x=this;x.isHorizontal()?(x.width=x.maxWidth,x.left=0,x.right=x.width):(x.height=x.maxHeight,x.top=0,x.bottom=x.height),x.paddingLeft=0,x.paddingTop=0,x.paddingRight=0,x.paddingBottom=0,x.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:function(){var x=this,T=x.options.labels||{},D=u.callback(T.generateLabels,[x.chart],x)||[];T.filter&&(D=D.filter(function(S){return T.filter(S,x.chart.data)})),x.options.reverse&&D.reverse(),x.legendItems=D},afterBuildLabels:h,beforeFit:h,fit:function(){var x=this,T=x.options,D=T.labels,S=T.display,L=x.ctx,A=O.global,U=u.valueOrDefault,B=U(D.fontSize,A.defaultFontSize),K=U(D.fontStyle,A.defaultFontStyle),oe=U(D.fontFamily,A.defaultFontFamily),ye=u.fontString(B,K,oe),Z=x.legendHitBoxes=[],X=x.minSize,he=x.isHorizontal();if(he?(X.width=x.maxWidth,X.height=S?10:0):(X.width=S?10:0,X.height=x.maxHeight),S)if(L.font=ye,he){var q=x.lineWidths=[0],Q=x.legendItems.length?B+D.padding:0;L.textAlign="left",L.textBaseline="top",u.each(x.legendItems,function(ke,Be){var st=M(D,B)+B/2+L.measureText(ke.text).width;q[q.length-1]+st+D.padding>=x.width&&(Q+=B+D.padding,q[q.length]=x.left),Z[Be]={left:0,top:0,width:st,height:B},q[q.length-1]+=st+D.padding}),X.height+=Q}else{var ee=D.padding,ae=x.columnWidths=[],le=D.padding,J=0,Te=0,Se=B+ee;u.each(x.legendItems,function(ke,Be){var st=M(D,B)+B/2+L.measureText(ke.text).width;Te+Se>X.height&&(le+=J+D.padding,ae.push(J),J=0,Te=0),J=Math.max(J,st),Te+=Se,Z[Be]={left:0,top:0,width:st,height:B}}),le+=J,ae.push(J),X.width+=le}x.width=X.width,x.height=X.height},afterFit:h,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var x=this,T=x.options,D=T.labels,S=O.global,L=S.elements.line,A=x.width,U=x.lineWidths;if(T.display){var q,B=x.ctx,K=u.valueOrDefault,oe=K(D.fontColor,S.defaultFontColor),ye=K(D.fontSize,S.defaultFontSize),Z=K(D.fontStyle,S.defaultFontStyle),X=K(D.fontFamily,S.defaultFontFamily),he=u.fontString(ye,Z,X);B.textAlign="left",B.textBaseline="middle",B.lineWidth=.5,B.strokeStyle=oe,B.fillStyle=oe,B.font=he;var Q=M(D,ye),ee=x.legendHitBoxes,J=x.isHorizontal();q=J?{x:x.left+(A-U[0])/2,y:x.top+D.padding,line:0}:{x:x.left+D.padding,y:x.top+D.padding,line:0};var Te=ye+D.padding;u.each(x.legendItems,function(Se,ke){var Be=B.measureText(Se.text).width,tt=Q+ye/2+Be,st=q.x,at=q.y;J?st+tt>=A&&(at=q.y+=Te,q.line++,st=q.x=x.left+(A-U[q.line])/2):at+Te>x.bottom&&(st=q.x=st+x.columnWidths[q.line]+D.padding,at=q.y=x.top+D.padding,q.line++),function(Se,ke,Be){if(!(isNaN(Q)||Q<=0)){B.save(),B.fillStyle=K(Be.fillStyle,S.defaultColor),B.lineCap=K(Be.lineCap,L.borderCapStyle),B.lineDashOffset=K(Be.lineDashOffset,L.borderDashOffset),B.lineJoin=K(Be.lineJoin,L.borderJoinStyle),B.lineWidth=K(Be.lineWidth,L.borderWidth),B.strokeStyle=K(Be.strokeStyle,S.defaultColor);var tt=0===K(Be.lineWidth,L.borderWidth);if(B.setLineDash&&B.setLineDash(K(Be.lineDash,L.borderDash)),T.labels&&T.labels.usePointStyle){var st=ye*Math.SQRT2/2,at=st/Math.SQRT2;u.canvas.drawPoint(B,Be.pointStyle,st,Se+at,ke+at)}else tt||B.strokeRect(Se,ke,Q,ye),B.fillRect(Se,ke,Q,ye);B.restore()}}(st,at,Se),ee[ke].left=st,ee[ke].top=at,function(Se,ke,Be,tt){var st=ye/2,at=Q+st+Se,zt=ke+st;B.fillText(Be.text,at,zt),Be.hidden&&(B.beginPath(),B.lineWidth=2,B.moveTo(at,zt),B.lineTo(at+tt,zt),B.stroke())}(st,at,Se,Be),J?q.x+=tt+D.padding:q.y+=Te})}},handleEvent:function(x){var T=this,D=T.options,S="mouseup"===x.type?"click":x.type,L=!1;if("mousemove"===S){if(!D.onHover)return}else{if("click"!==S)return;if(!D.onClick)return}var A=x.x,U=x.y;if(A>=T.left&&A<=T.right&&U>=T.top&&U<=T.bottom)for(var B=T.legendHitBoxes,K=0;K=oe.left&&A<=oe.left+oe.width&&U>=oe.top&&U<=oe.top+oe.height){if("click"===S){D.onClick.call(T,x.native,T.legendItems[K]),L=!0;break}if("mousemove"===S){D.onHover.call(T,x.native,T.legendItems[K]),L=!0;break}}}return L}});function y(x,T){var D=new p({ctx:x.ctx,options:T,chart:x});f.configure(x,D,T),f.addBox(x,D),x.legend=D}de.exports={id:"legend",_element:p,beforeInit:function(x){var T=x.options.legend;T&&y(x,T)},beforeUpdate:function(x){var T=x.options.legend,D=x.legend;T?(u.mergeIf(T,O.global.legend),D?(f.configure(x,D,T),D.options=T):y(x,T)):D&&(f.removeBox(x,D),delete x.legend)},afterEvent:function(x,T){var D=x.legend;D&&D.handleEvent(T)}}},7412:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(8839),u=Y(3305),f=Y(2294),h=u.noop;O._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var M=v.extend({initialize:function(y){u.extend(this,y),this.legendHitBoxes=[]},beforeUpdate:h,update:function(y,x,T){var D=this;return D.beforeUpdate(),D.maxWidth=y,D.maxHeight=x,D.margins=T,D.beforeSetDimensions(),D.setDimensions(),D.afterSetDimensions(),D.beforeBuildLabels(),D.buildLabels(),D.afterBuildLabels(),D.beforeFit(),D.fit(),D.afterFit(),D.afterUpdate(),D.minSize},afterUpdate:h,beforeSetDimensions:h,setDimensions:function(){var y=this;y.isHorizontal()?(y.width=y.maxWidth,y.left=0,y.right=y.width):(y.height=y.maxHeight,y.top=0,y.bottom=y.height),y.paddingLeft=0,y.paddingTop=0,y.paddingRight=0,y.paddingBottom=0,y.minSize={width:0,height:0}},afterSetDimensions:h,beforeBuildLabels:h,buildLabels:h,afterBuildLabels:h,beforeFit:h,fit:function(){var y=this,T=y.options,D=T.display,S=(0,u.valueOrDefault)(T.fontSize,O.global.defaultFontSize),L=y.minSize,A=u.isArray(T.text)?T.text.length:1,U=u.options.toLineHeight(T.lineHeight,S),B=D?A*U+2*T.padding:0;y.isHorizontal()?(L.width=y.maxWidth,L.height=B):(L.width=B,L.height=y.maxHeight),y.width=L.width,y.height=L.height},afterFit:h,isHorizontal:function(){var y=this.options.position;return"top"===y||"bottom"===y},draw:function(){var y=this,x=y.ctx,T=u.valueOrDefault,D=y.options,S=O.global;if(D.display){var Q,ee,ae,L=T(D.fontSize,S.defaultFontSize),A=T(D.fontStyle,S.defaultFontStyle),U=T(D.fontFamily,S.defaultFontFamily),B=u.fontString(L,A,U),K=u.options.toLineHeight(D.lineHeight,L),oe=K/2+D.padding,ye=0,Z=y.top,X=y.left,he=y.bottom,q=y.right;x.fillStyle=T(D.fontColor,S.defaultFontColor),x.font=B,y.isHorizontal()?(ee=X+(q-X)/2,ae=Z+oe,Q=q-X):(ee="left"===D.position?X+oe:q-oe,ae=Z+(he-Z)/2,Q=he-Z,ye=Math.PI*("left"===D.position?-.5:.5)),x.save(),x.translate(ee,ae),x.rotate(ye),x.textAlign="center",x.textBaseline="middle";var le=D.text;if(u.isArray(le))for(var J=0,Te=0;Te{"use strict";de.exports=function(ge){var O=ge.Scale.extend({getLabels:function(){var v=this.chart.data;return this.options.labels||(this.isHorizontal()?v.xLabels:v.yLabels)||v.labels},determineDataLimits:function(){var f,v=this,u=v.getLabels();v.minIndex=0,v.maxIndex=u.length-1,void 0!==v.options.ticks.min&&(f=u.indexOf(v.options.ticks.min),v.minIndex=-1!==f?f:v.minIndex),void 0!==v.options.ticks.max&&(f=u.indexOf(v.options.ticks.max),v.maxIndex=-1!==f?f:v.maxIndex),v.min=u[v.minIndex],v.max=u[v.maxIndex]},buildTicks:function(){var v=this,u=v.getLabels();v.ticks=0===v.minIndex&&v.maxIndex===u.length-1?u:u.slice(v.minIndex,v.maxIndex+1)},getLabelForIndex:function(v,u){var f=this,h=f.chart.data,M=f.isHorizontal();return h.yLabels&&!M?f.getRightValue(h.datasets[u].data[v]):f.ticks[v-f.minIndex]},getPixelForValue:function(v,u){var p,f=this,h=f.options.offset,M=Math.max(f.maxIndex+1-f.minIndex-(h?0:1),1);if(null!=v&&(p=f.isHorizontal()?v.x:v.y),void 0!==p||void 0!==v&&isNaN(u)){var x=f.getLabels().indexOf(v=p||v);u=-1!==x?x:u}if(f.isHorizontal()){var T=f.width/M,D=T*(u-f.minIndex);return h&&(D+=T/2),f.left+Math.round(D)}var S=f.height/M,L=S*(u-f.minIndex);return h&&(L+=S/2),f.top+Math.round(L)},getPixelForTick:function(v){return this.getPixelForValue(this.ticks[v],v+this.minIndex,null)},getValueForPixel:function(v){var u=this,f=u.options.offset,M=Math.max(u._ticks.length-(f?0:1),1),p=u.isHorizontal(),y=(p?u.width:u.height)/M;return v-=p?u.left:u.top,f&&(v-=y/2),(v<=0?0:Math.round(v/y))+u.minIndex},getBasePixel:function(){return this.bottom}});ge.scaleService.registerScaleType("category",O,{position:"bottom"})}},1704:(de,ge,Y)=>{"use strict";var O=Y(9800),v=Y(3305),u=Y(8347);de.exports=function(f){var h={position:"left",ticks:{callback:u.formatters.linear}},M=f.LinearScaleBase.extend({determineDataLimits:function(){var p=this,y=p.options,x=p.chart,D=x.data.datasets,S=p.isHorizontal();function U(oe){return S?oe.xAxisID===p.id:oe.yAxisID===p.id}p.min=null,p.max=null;var B=y.stacked;if(void 0===B&&v.each(D,function(oe,ye){if(!B){var Z=x.getDatasetMeta(ye);x.isDatasetVisible(ye)&&U(Z)&&void 0!==Z.stack&&(B=!0)}}),y.stacked||B){var K={};v.each(D,function(oe,ye){var Z=x.getDatasetMeta(ye),X=[Z.type,void 0===y.stacked&&void 0===Z.stack?ye:"",Z.stack].join(".");void 0===K[X]&&(K[X]={positiveValues:[],negativeValues:[]});var he=K[X].positiveValues,q=K[X].negativeValues;x.isDatasetVisible(ye)&&U(Z)&&v.each(oe.data,function(Q,ee){var ae=+p.getRightValue(Q);isNaN(ae)||Z.data[ee].hidden||(he[ee]=he[ee]||0,q[ee]=q[ee]||0,y.relativePoints?he[ee]=100:ae<0?q[ee]+=ae:he[ee]+=ae)})}),v.each(K,function(oe){var ye=oe.positiveValues.concat(oe.negativeValues),Z=v.min(ye),X=v.max(ye);p.min=null===p.min?Z:Math.min(p.min,Z),p.max=null===p.max?X:Math.max(p.max,X)})}else v.each(D,function(oe,ye){var Z=x.getDatasetMeta(ye);x.isDatasetVisible(ye)&&U(Z)&&v.each(oe.data,function(X,he){var q=+p.getRightValue(X);isNaN(q)||Z.data[he].hidden||((null===p.min||qp.max)&&(p.max=q))})});p.min=isFinite(p.min)&&!isNaN(p.min)?p.min:0,p.max=isFinite(p.max)&&!isNaN(p.max)?p.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var p,y=this,x=y.options.ticks;if(y.isHorizontal())p=Math.min(x.maxTicksLimit?x.maxTicksLimit:11,Math.ceil(y.width/50));else{var T=v.valueOrDefault(x.fontSize,O.global.defaultFontSize);p=Math.min(x.maxTicksLimit?x.maxTicksLimit:11,Math.ceil(y.height/(2*T)))}return p},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(p,y){return+this.getRightValue(this.chart.data.datasets[y].data[p])},getPixelForValue:function(p){var y=this,x=y.start,T=+y.getRightValue(p),S=y.end-x;return y.isHorizontal()?y.left+y.width/S*(T-x):y.bottom-y.height/S*(T-x)},getValueForPixel:function(p){var y=this,x=y.isHorizontal();return y.start+(x?p-y.left:y.bottom-p)/(x?y.width:y.height)*(y.end-y.start)},getPixelForTick:function(p){return this.getPixelForValue(this.ticksAsNumbers[p])}});f.scaleService.registerScaleType("linear",M,h)}},8351:(de,ge,Y)=>{"use strict";var O=Y(3305);de.exports=function(u){var f=O.noop;u.LinearScaleBase=u.Scale.extend({getRightValue:function(h){return"string"==typeof h?+h:u.Scale.prototype.getRightValue.call(this,h)},handleTickRangeOptions:function(){var h=this,p=h.options.ticks;if(p.beginAtZero){var y=O.sign(h.min),x=O.sign(h.max);y<0&&x<0?h.max=0:y>0&&x>0&&(h.min=0)}var T=void 0!==p.min||void 0!==p.suggestedMin,D=void 0!==p.max||void 0!==p.suggestedMax;void 0!==p.min?h.min=p.min:void 0!==p.suggestedMin&&(h.min=null===h.min?p.suggestedMin:Math.min(h.min,p.suggestedMin)),void 0!==p.max?h.max=p.max:void 0!==p.suggestedMax&&(h.max=null===h.max?p.suggestedMax:Math.max(h.max,p.suggestedMax)),T!==D&&h.min>=h.max&&(T?h.max=h.min+1:h.min=h.max-1),h.min===h.max&&(h.max++,p.beginAtZero||h.min--)},getTickLimit:f,handleDirectionalChanges:f,buildTicks:function(){var h=this,p=h.options.ticks,y=h.getTickLimit(),x={maxTicks:y=Math.max(2,y),min:p.min,max:p.max,stepSize:O.valueOrDefault(p.fixedStepSize,p.stepSize)},T=h.ticks=function v(u,f){var M,h=[];if(u.stepSize&&u.stepSize>0)M=u.stepSize;else{var p=O.niceNum(f.max-f.min,!1);M=O.niceNum(p/(u.maxTicks-1),!0)}var y=Math.floor(f.min/M)*M,x=Math.ceil(f.max/M)*M;u.min&&u.max&&u.stepSize&&O.almostWhole((u.max-u.min)/u.stepSize,M/1e3)&&(y=u.min,x=u.max);var T=(x-y)/M;T=O.almostEquals(T,Math.round(T),M/1e3)?Math.round(T):Math.ceil(T);var D=1;M<1&&(D=Math.pow(10,M.toString().length-2),y=Math.round(y*D)/D,x=Math.round(x*D)/D),h.push(void 0!==u.min?u.min:y);for(var S=1;S{"use strict";var O=Y(3305),v=Y(8347);de.exports=function(f){var h={position:"left",ticks:{callback:v.formatters.logarithmic}},M=f.Scale.extend({determineDataLimits:function(){var p=this,y=p.options,x=p.chart,D=x.data.datasets,S=p.isHorizontal();function L(B){return S?B.xAxisID===p.id:B.yAxisID===p.id}p.min=null,p.max=null,p.minNotZero=null;var A=y.stacked;if(void 0===A&&O.each(D,function(B,K){if(!A){var oe=x.getDatasetMeta(K);x.isDatasetVisible(K)&&L(oe)&&void 0!==oe.stack&&(A=!0)}}),y.stacked||A){var U={};O.each(D,function(B,K){var oe=x.getDatasetMeta(K),ye=[oe.type,void 0===y.stacked&&void 0===oe.stack?K:"",oe.stack].join(".");x.isDatasetVisible(K)&&L(oe)&&(void 0===U[ye]&&(U[ye]=[]),O.each(B.data,function(Z,X){var he=U[ye],q=+p.getRightValue(Z);isNaN(q)||oe.data[X].hidden||q<0||(he[X]=he[X]||0,he[X]+=q)}))}),O.each(U,function(B){if(B.length>0){var K=O.min(B),oe=O.max(B);p.min=null===p.min?K:Math.min(p.min,K),p.max=null===p.max?oe:Math.max(p.max,oe)}})}else O.each(D,function(B,K){var oe=x.getDatasetMeta(K);x.isDatasetVisible(K)&&L(oe)&&O.each(B.data,function(ye,Z){var X=+p.getRightValue(ye);isNaN(X)||oe.data[Z].hidden||X<0||((null===p.min||Xp.max)&&(p.max=X),0!==X&&(null===p.minNotZero||X0?p.min:p.max<1?Math.pow(10,Math.floor(O.log10(p.max))):1)},buildTicks:function(){var p=this,x=p.options.ticks,T=!p.isHorizontal(),S=p.ticks=function u(f,h){var D,S,M=[],p=O.valueOrDefault,y=p(f.min,Math.pow(10,Math.floor(O.log10(h.min)))),x=Math.floor(O.log10(h.max)),T=Math.ceil(h.max/Math.pow(10,x));0===y?(D=Math.floor(O.log10(h.minNotZero)),S=Math.floor(h.minNotZero/Math.pow(10,D)),M.push(y),y=S*Math.pow(10,D)):(D=Math.floor(O.log10(y)),S=Math.floor(y/Math.pow(10,D)));var L=D<0?Math.pow(10,Math.abs(D)):1;do{M.push(y),10==++S&&(S=1,L=++D>=0?1:L),y=Math.round(S*Math.pow(10,D)*L)/L}while(D{"use strict";var O=Y(9800),v=Y(3305),u=Y(8347);de.exports=function(f){var h=O.global,M={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:u.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(Z){return Z}}};function p(Z){var X=Z.options;return X.angleLines.display||X.pointLabels.display?Z.chart.data.labels.length:0}function y(Z){var X=Z.options.pointLabels,he=v.valueOrDefault(X.fontSize,h.defaultFontSize),q=v.valueOrDefault(X.fontStyle,h.defaultFontStyle),Q=v.valueOrDefault(X.fontFamily,h.defaultFontFamily);return{size:he,style:q,family:Q,font:v.fontString(he,q,Q)}}function x(Z,X,he){return v.isArray(he)?{w:v.longestText(Z,Z.font,he),h:he.length*X+1.5*(he.length-1)*X}:{w:Z.measureText(he).width,h:X}}function T(Z,X,he,q,Q){return Z===q||Z===Q?{start:X-he/2,end:X+he/2}:ZQ?{start:X-he-5,end:X}:{start:X,end:X+he+5}}function L(Z){return 0===Z||180===Z?"center":Z<180?"left":"right"}function A(Z,X,he,q){if(v.isArray(X))for(var Q=he.y,ee=1.5*q,ae=0;ae270||Z<90)&&(he.y-=X.h)}function oe(Z){return v.isNumber(Z)?Z:0}var ye=f.LinearScaleBase.extend({setDimensions:function(){var Z=this,X=Z.options,he=X.ticks;Z.width=Z.maxWidth,Z.height=Z.maxHeight,Z.xCenter=Math.round(Z.width/2),Z.yCenter=Math.round(Z.height/2);var q=v.min([Z.height,Z.width]),Q=v.valueOrDefault(he.fontSize,h.defaultFontSize);Z.drawingArea=X.display?q/2-(Q/2+he.backdropPaddingY):q/2},determineDataLimits:function(){var Z=this,X=Z.chart,he=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;v.each(X.data.datasets,function(Q,ee){if(X.isDatasetVisible(ee)){var ae=X.getDatasetMeta(ee);v.each(Q.data,function(le,J){var Te=+Z.getRightValue(le);isNaN(Te)||ae.data[J].hidden||(he=Math.min(Te,he),q=Math.max(Te,q))})}}),Z.min=he===Number.POSITIVE_INFINITY?0:he,Z.max=q===Number.NEGATIVE_INFINITY?0:q,Z.handleTickRangeOptions()},getTickLimit:function(){var Z=this.options.ticks,X=v.valueOrDefault(Z.fontSize,h.defaultFontSize);return Math.min(Z.maxTicksLimit?Z.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*X)))},convertTicksToLabels:function(){var Z=this;f.LinearScaleBase.prototype.convertTicksToLabels.call(Z),Z.pointLabels=Z.chart.data.labels.map(Z.options.pointLabels.callback,Z)},getLabelForIndex:function(Z,X){return+this.getRightValue(this.chart.data.datasets[X].data[Z])},fit:function(){this.options.pointLabels.display?function D(Z){var ee,ae,le,X=y(Z),he=Math.min(Z.height/2,Z.width/2),q={r:Z.width,l:0,t:Z.height,b:0},Q={};Z.ctx.font=X.font,Z._pointLabelSizes=[];var J=p(Z);for(ee=0;eeq.r&&(q.r=ke.end,Q.r=Te),Be.startq.b&&(q.b=Be.end,Q.b=Te)}Z.setReductions(he,q,Q)}(this):function S(Z){var X=Math.min(Z.height/2,Z.width/2);Z.drawingArea=Math.round(X),Z.setCenterPoint(0,0,0,0)}(this)},setReductions:function(Z,X,he){var q=this,Q=X.l/Math.sin(he.l),ee=Math.max(X.r-q.width,0)/Math.sin(he.r),ae=-X.t/Math.cos(he.t),le=-Math.max(X.b-q.height,0)/Math.cos(he.b);Q=oe(Q),ee=oe(ee),ae=oe(ae),le=oe(le),q.drawingArea=Math.min(Math.round(Z-(Q+ee)/2),Math.round(Z-(ae+le)/2)),q.setCenterPoint(Q,ee,ae,le)},setCenterPoint:function(Z,X,he,q){var Q=this,le=he+Q.drawingArea,J=Q.height-q-Q.drawingArea;Q.xCenter=Math.round((Z+Q.drawingArea+(Q.width-X-Q.drawingArea))/2+Q.left),Q.yCenter=Math.round((le+J)/2+Q.top)},getIndexAngle:function(Z){return Z*(2*Math.PI/p(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Z){var X=this;if(null===Z)return 0;var he=X.drawingArea/(X.max-X.min);return X.options.ticks.reverse?(X.max-Z)*he:(Z-X.min)*he},getPointPosition:function(Z,X){var q=this.getIndexAngle(Z)-Math.PI/2;return{x:Math.round(Math.cos(q)*X)+this.xCenter,y:Math.round(Math.sin(q)*X)+this.yCenter}},getPointPositionForValue:function(Z,X){return this.getPointPosition(Z,this.getDistanceFromCenterForValue(X))},getBasePosition:function(){var Z=this,X=Z.min,he=Z.max;return Z.getPointPositionForValue(0,Z.beginAtZero?0:X<0&&he<0?he:X>0&&he>0?X:0)},draw:function(){var Z=this,X=Z.options,he=X.gridLines,q=X.ticks,Q=v.valueOrDefault;if(X.display){var ee=Z.ctx,ae=this.getIndexAngle(0),le=Q(q.fontSize,h.defaultFontSize),J=Q(q.fontStyle,h.defaultFontStyle),Te=Q(q.fontFamily,h.defaultFontFamily),Se=v.fontString(le,J,Te);v.each(Z.ticks,function(ke,Be){if(Be>0||q.reverse){var tt=Z.getDistanceFromCenterForValue(Z.ticksAsNumbers[Be]);if(he.display&&0!==Be&&function K(Z,X,he,q){var Q=Z.ctx;if(Q.strokeStyle=v.valueAtIndexOrDefault(X.color,q-1),Q.lineWidth=v.valueAtIndexOrDefault(X.lineWidth,q-1),Z.options.gridLines.circular)Q.beginPath(),Q.arc(Z.xCenter,Z.yCenter,he,0,2*Math.PI),Q.closePath(),Q.stroke();else{var ee=p(Z);if(0===ee)return;Q.beginPath();var ae=Z.getPointPosition(0,he);Q.moveTo(ae.x,ae.y);for(var le=1;le=0;le--){if(q.display){var J=Z.getPointPosition(le,ee);X.beginPath(),X.moveTo(Z.xCenter,Z.yCenter),X.lineTo(J.x,J.y),X.stroke(),X.closePath()}if(Q.display){var Te=Z.getPointPosition(le,ee+5),Se=v.valueAtIndexOrDefault(Q.fontColor,le,h.defaultFontColor);X.font=ae.font,X.fillStyle=Se;var ke=Z.getIndexAngle(le),Be=v.toDegrees(ke);X.textAlign=L(Be),U(Be,Z._pointLabelSizes[le],Te),A(X,Z.pointLabels[le]||"",Te,ae.size)}}}(Z)}}});f.scaleService.registerScaleType("radialLinear",ye,M)}},4215:(de,ge,Y)=>{"use strict";var O=Y(5439);O="function"==typeof O?O:window.moment;var v=Y(9800),u=Y(3305),f=Number.MIN_SAFE_INTEGER||-9007199254740991,h=Number.MAX_SAFE_INTEGER||9007199254740991,M={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}},p=Object.keys(M);function y(q,Q){return q-Q}function x(q){var ae,le,J,Q={},ee=[];for(ae=0,le=q.length;ae=0&&ae<=le;){if(Se=q[J=ae+le>>1],!(Te=q[J-1]||null))return{lo:null,hi:Se};if(Se[Q]ee))return{lo:Te,hi:Se};le=J-1}}return{lo:Se,hi:null}}(q,Q,ee),J=le.lo?le.hi?le.lo:q[q.length-2]:q[0],Te=le.lo?le.hi?le.hi:q[q.length-1]:q[1],Se=Te[Q]-J[Q];return J[ae]+(Te[ae]-J[ae])*(Se?(ee-J[Q])/Se:0)}function L(q,Q){var ee=Q.parser,ae=Q.parser||Q.format;return"function"==typeof ee?ee(q):"string"==typeof q&&"string"==typeof ae?O(q,ae):(q instanceof O||(q=O(q)),q.isValid()?q:"function"==typeof ae?ae(q):q)}function A(q,Q){if(u.isNullOrUndef(q))return null;var ee=Q.options.time,ae=L(Q.getRightValue(q),ee);return ae.isValid()?(ee.round&&ae.startOf(ee.round),ae.valueOf()):null}function oe(q){for(var Q=p.indexOf(q)+1,ee=p.length;Q=le&&at<=J&&Be.push(at);return ae.min=le,ae.max=J,ae._unit=Se.unit||function K(q,Q,ee,ae){var Te,Se,le=O.duration(O(ae).diff(O(ee)));for(Te=p.length-1;Te>=p.indexOf(Q);Te--)if(M[Se=p[Te]].common&&le.as(Se)>=q.length)return Se;return p[Q?p.indexOf(Q):0]}(Be,Se.minUnit,ae.min,ae.max),ae._majorUnit=oe(ae._unit),ae._table=function T(q,Q,ee,ae){if("linear"===ae||!q.length)return[{time:Q,pos:0},{time:ee,pos:1}];var Te,Se,ke,Be,tt,le=[],J=[Q];for(Te=0,Se=q.length;TeQ&&Be1?Q[1]:ae,"pos")-S(q,"time",ke,"pos"))/2),le.time.max||(ke=Q.length>1?Q[Q.length-2]:ee,Te=(S(q,"time",Q[Q.length-1],"pos")-S(q,"time",ke,"pos"))/2)),{left:J,right:Te}}(ae._table,Be,le,J,Te),ae._labelFormat=function he(q,Q){var ee,ae,le,J=q.length;for(ee=0;ee=0&&ae0?Be:1}});q.scaleService.registerScaleType("time",ee,{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}}})}},3207:(de,ge,Y)=>{var O=Y(9914);function v(X){if(X){var le=[0,0,0],J=1,Te=X.match(/^#([a-fA-F0-9]{3})$/i);if(Te){Te=Te[1];for(var Se=0;Se{var O=Y(7227),v=Y(3207),u=function(f){return f instanceof u?f:this instanceof u?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof f?(h=v.getRgba(f))?this.setValues("rgb",h):(h=v.getHsla(f))?this.setValues("hsl",h):(h=v.getHwb(f))&&this.setValues("hwb",h):"object"==typeof f&&(void 0!==(h=f).r||void 0!==h.red?this.setValues("rgb",h):void 0!==h.l||void 0!==h.lightness?this.setValues("hsl",h):void 0!==h.v||void 0!==h.value?this.setValues("hsv",h):void 0!==h.w||void 0!==h.whiteness?this.setValues("hwb",h):(void 0!==h.c||void 0!==h.cyan)&&this.setValues("cmyk",h)))):new u(f);var h};u.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var f=this.values;return 1!==f.alpha?f.hwb.concat([f.alpha]):f.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var f=this.values;return f.rgb.concat([f.alpha])},hslaArray:function(){var f=this.values;return f.hsl.concat([f.alpha])},alpha:function(f){return void 0===f?this.values.alpha:(this.setValues("alpha",f),this)},red:function(f){return this.setChannel("rgb",0,f)},green:function(f){return this.setChannel("rgb",1,f)},blue:function(f){return this.setChannel("rgb",2,f)},hue:function(f){return f&&(f=(f%=360)<0?360+f:f),this.setChannel("hsl",0,f)},saturation:function(f){return this.setChannel("hsl",1,f)},lightness:function(f){return this.setChannel("hsl",2,f)},saturationv:function(f){return this.setChannel("hsv",1,f)},whiteness:function(f){return this.setChannel("hwb",1,f)},blackness:function(f){return this.setChannel("hwb",2,f)},value:function(f){return this.setChannel("hsv",2,f)},cyan:function(f){return this.setChannel("cmyk",0,f)},magenta:function(f){return this.setChannel("cmyk",1,f)},yellow:function(f){return this.setChannel("cmyk",2,f)},black:function(f){return this.setChannel("cmyk",3,f)},hexString:function(){return v.hexString(this.values.rgb)},rgbString:function(){return v.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return v.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return v.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return v.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return v.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return v.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return v.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var f=this.values.rgb;return f[0]<<16|f[1]<<8|f[2]},luminosity:function(){for(var f=this.values.rgb,h=[],M=0;MM?(h+.05)/(M+.05):(M+.05)/(h+.05)},level:function(f){var h=this.contrast(f);return h>=7.1?"AAA":h>=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=[],h=0;h<3;h++)f[h]=255-this.values.rgb[h];return this.setValues("rgb",f),this},lighten:function(f){var h=this.values.hsl;return h[2]+=h[2]*f,this.setValues("hsl",h),this},darken:function(f){var h=this.values.hsl;return h[2]-=h[2]*f,this.setValues("hsl",h),this},saturate:function(f){var h=this.values.hsl;return h[1]+=h[1]*f,this.setValues("hsl",h),this},desaturate:function(f){var h=this.values.hsl;return h[1]-=h[1]*f,this.setValues("hsl",h),this},whiten:function(f){var h=this.values.hwb;return h[1]+=h[1]*f,this.setValues("hwb",h),this},blacken:function(f){var h=this.values.hwb;return h[2]+=h[2]*f,this.setValues("hwb",h),this},greyscale:function(){var f=this.values.rgb,h=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[h,h,h]),this},clearer:function(f){var h=this.values.alpha;return this.setValues("alpha",h-h*f),this},opaquer:function(f){var h=this.values.alpha;return this.setValues("alpha",h+h*f),this},rotate:function(f){var h=this.values.hsl,M=(h[0]+f)%360;return h[0]=M<0?360+M:M,this.setValues("hsl",h),this},mix:function(f,h){var M=this,p=f,y=void 0===h?.5:h,x=2*y-1,T=M.alpha()-p.alpha(),D=((x*T==-1?x:(x+T)/(1+x*T))+1)/2,S=1-D;return this.rgb(D*M.red()+S*p.red(),D*M.green()+S*p.green(),D*M.blue()+S*p.blue()).alpha(M.alpha()*y+p.alpha()*(1-y))},toJSON:function(){return this.rgb()},clone:function(){var p,y,f=new u,h=this.values,M=f.values;for(var x in h)h.hasOwnProperty(x)&&("[object Array]"===(y={}.toString.call(p=h[x]))?M[x]=p.slice(0):"[object Number]"===y?M[x]=p:console.error("unexpected color value:",p));return f}},u.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},u.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},u.prototype.getValues=function(f){for(var h=this.values,M={},p=0;p{function ge(W){var me,De,se=W[0]/255,te=W[1]/255,pe=W[2]/255,fe=Math.min(se,te,pe),ue=Math.max(se,te,pe),be=ue-fe;return ue==fe?me=0:se==ue?me=(te-pe)/be:te==ue?me=2+(pe-se)/be:pe==ue&&(me=4+(se-te)/be),(me=Math.min(60*me,360))<0&&(me+=360),De=(fe+ue)/2,[me,100*(ue==fe?0:De<=.5?be/(ue+fe):be/(2-ue-fe)),100*De]}function Y(W){var me,Me,se=W[0],te=W[1],pe=W[2],fe=Math.min(se,te,pe),ue=Math.max(se,te,pe),be=ue-fe;return Me=0==ue?0:be/ue*1e3/10,ue==fe?me=0:se==ue?me=(te-pe)/be:te==ue?me=2+(pe-se)/be:pe==ue&&(me=4+(se-te)/be),(me=Math.min(60*me,360))<0&&(me+=360),[me,Me,ue/255*1e3/10]}function O(W){var se=W[0],te=W[1],ue=W[2];return[ge(W)[0],1/255*Math.min(se,Math.min(te,ue))*100,100*(ue=1-1/255*Math.max(se,Math.max(te,ue)))]}function v(W){var me,se=W[0]/255,te=W[1]/255,pe=W[2]/255;return[100*((1-se-(me=Math.min(1-se,1-te,1-pe)))/(1-me)||0),100*((1-te-me)/(1-me)||0),100*((1-pe-me)/(1-me)||0),100*me]}function u(W){return dr[JSON.stringify(W)]}function f(W){var se=W[0]/255,te=W[1]/255,pe=W[2]/255;return[100*(.4124*(se=se>.04045?Math.pow((se+.055)/1.055,2.4):se/12.92)+.3576*(te=te>.04045?Math.pow((te+.055)/1.055,2.4):te/12.92)+.1805*(pe=pe>.04045?Math.pow((pe+.055)/1.055,2.4):pe/12.92)),100*(.2126*se+.7152*te+.0722*pe),100*(.0193*se+.1192*te+.9505*pe)]}function h(W){var se=f(W),te=se[0],pe=se[1],fe=se[2];return pe/=100,fe/=108.883,te=(te/=95.047)>.008856?Math.pow(te,1/3):7.787*te+16/116,[116*(pe=pe>.008856?Math.pow(pe,1/3):7.787*pe+16/116)-16,500*(te-pe),200*(pe-(fe=fe>.008856?Math.pow(fe,1/3):7.787*fe+16/116))]}function p(W){var fe,ue,be,me,Me,se=W[0]/360,te=W[1]/100,pe=W[2]/100;if(0==te)return[Me=255*pe,Me,Me];fe=2*pe-(ue=pe<.5?pe*(1+te):pe+te-pe*te),me=[0,0,0];for(var De=0;De<3;De++)(be=se+1/3*-(De-1))<0&&be++,be>1&&be--,me[De]=255*(Me=6*be<1?fe+6*(ue-fe)*be:2*be<1?ue:3*be<2?fe+(ue-fe)*(2/3-be)*6:fe);return me}function S(W){var se=W[0]/60,te=W[1]/100,Me=W[2]/100,pe=Math.floor(se)%6,fe=se-Math.floor(se),ue=255*Me*(1-te),be=255*Me*(1-te*fe),me=255*Me*(1-te*(1-fe));switch(Me*=255,pe){case 0:return[Me,me,ue];case 1:return[be,Me,ue];case 2:return[ue,Me,me];case 3:return[ue,be,Me];case 4:return[me,ue,Me];case 5:return[Me,ue,be]}}function K(W){var ue,be,me,Me,se=W[0]/360,te=W[1]/100,pe=W[2]/100,fe=te+pe;switch(fe>1&&(te/=fe,pe/=fe),me=6*se-(ue=Math.floor(6*se)),1&ue&&(me=1-me),Me=te+me*((be=1-pe)-te),ue){default:case 6:case 0:r=be,g=Me,b=te;break;case 1:r=Me,g=be,b=te;break;case 2:r=te,g=be,b=Me;break;case 3:r=te,g=Me,b=be;break;case 4:r=Me,g=te,b=be;break;case 5:r=be,g=te,b=Me}return[255*r,255*g,255*b]}function he(W){var te=W[1]/100,pe=W[2]/100,fe=W[3]/100;return[255*(1-Math.min(1,W[0]/100*(1-fe)+fe)),255*(1-Math.min(1,te*(1-fe)+fe)),255*(1-Math.min(1,pe*(1-fe)+fe))]}function le(W){var fe,ue,be,se=W[0]/100,te=W[1]/100,pe=W[2]/100;return ue=-.9689*se+1.8758*te+.0415*pe,be=.0557*se+-.204*te+1.057*pe,fe=(fe=3.2406*se+-1.5372*te+-.4986*pe)>.0031308?1.055*Math.pow(fe,1/2.4)-.055:fe*=12.92,ue=ue>.0031308?1.055*Math.pow(ue,1/2.4)-.055:ue*=12.92,be=be>.0031308?1.055*Math.pow(be,1/2.4)-.055:be*=12.92,[255*(fe=Math.min(Math.max(0,fe),1)),255*(ue=Math.min(Math.max(0,ue),1)),255*(be=Math.min(Math.max(0,be),1))]}function J(W){var se=W[0],te=W[1],pe=W[2];return te/=100,pe/=108.883,se=(se/=95.047)>.008856?Math.pow(se,1/3):7.787*se+16/116,[116*(te=te>.008856?Math.pow(te,1/3):7.787*te+16/116)-16,500*(se-te),200*(te-(pe=pe>.008856?Math.pow(pe,1/3):7.787*pe+16/116))]}function Se(W){var fe,ue,be,me,se=W[0],te=W[1],pe=W[2];return se<=8?me=(ue=100*se/903.3)/100*7.787+16/116:(ue=100*Math.pow((se+16)/116,3),me=Math.pow(ue/100,1/3)),[fe=fe/95.047<=.008856?fe=95.047*(te/500+me-16/116)/7.787:95.047*Math.pow(te/500+me,3),ue,be=be/108.883<=.008859?be=108.883*(me-pe/200-16/116)/7.787:108.883*Math.pow(me-pe/200,3)]}function ke(W){var ue,se=W[0],te=W[1],pe=W[2];return(ue=360*Math.atan2(pe,te)/2/Math.PI)<0&&(ue+=360),[se,Math.sqrt(te*te+pe*pe),ue]}function Be(W){return le(Se(W))}function tt(W){var be,te=W[1];return be=W[2]/360*2*Math.PI,[W[0],te*Math.cos(be),te*Math.sin(be)]}function zt(W){return Yi[W]}de.exports={rgb2hsl:ge,rgb2hsv:Y,rgb2hwb:O,rgb2cmyk:v,rgb2keyword:u,rgb2xyz:f,rgb2lab:h,rgb2lch:function M(W){return ke(h(W))},hsl2rgb:p,hsl2hsv:function y(W){var te=W[1]/100,pe=W[2]/100;return 0===pe?[0,0,0]:[W[0],2*(te*=(pe*=2)<=1?pe:2-pe)/(pe+te)*100,(pe+te)/2*100]},hsl2hwb:function x(W){return O(p(W))},hsl2cmyk:function T(W){return v(p(W))},hsl2keyword:function D(W){return u(p(W))},hsv2rgb:S,hsv2hsl:function L(W){var fe,ue,te=W[1]/100,pe=W[2]/100;return fe=te*pe,[W[0],100*(fe=(fe/=(ue=(2-te)*pe)<=1?ue:2-ue)||0),100*(ue/=2)]},hsv2hwb:function A(W){return O(S(W))},hsv2cmyk:function U(W){return v(S(W))},hsv2keyword:function B(W){return u(S(W))},hwb2rgb:K,hwb2hsl:function oe(W){return ge(K(W))},hwb2hsv:function ye(W){return Y(K(W))},hwb2cmyk:function Z(W){return v(K(W))},hwb2keyword:function X(W){return u(K(W))},cmyk2rgb:he,cmyk2hsl:function q(W){return ge(he(W))},cmyk2hsv:function Q(W){return Y(he(W))},cmyk2hwb:function ee(W){return O(he(W))},cmyk2keyword:function ae(W){return u(he(W))},keyword2rgb:zt,keyword2hsl:function an(W){return ge(zt(W))},keyword2hsv:function Xn(W){return Y(zt(W))},keyword2hwb:function Fn(W){return O(zt(W))},keyword2cmyk:function zn(W){return v(zt(W))},keyword2lab:function Ge(W){return h(zt(W))},keyword2xyz:function Ni(W){return f(zt(W))},xyz2rgb:le,xyz2lab:J,xyz2lch:function Te(W){return ke(J(W))},lab2xyz:Se,lab2rgb:Be,lab2lch:ke,lch2lab:tt,lch2xyz:function st(W){return Se(tt(W))},lch2rgb:function at(W){return Be(tt(W))}};var Yi={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]},dr={};for(var Xe in Yi)dr[JSON.stringify(Yi[Xe])]=Xe},7227:(de,ge,Y)=>{var O=Y(4126),v=function(){return new p};for(var u in O){v[u+"Raw"]=function(y){return function(x){return"number"==typeof x&&(x=Array.prototype.slice.call(arguments)),O[y](x)}}(u);var f=/(\w+)2(\w+)/.exec(u),h=f[1],M=f[2];(v[h]=v[h]||{})[M]=v[u]=function(y){return function(x){"number"==typeof x&&(x=Array.prototype.slice.call(arguments));var T=O[y](x);if("string"==typeof T||void 0===T)return T;for(var D=0;D{"use strict";de.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]}},7088:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^nm$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"vm":"VM":h?"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(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},2502:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},128:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},4519:function(de,ge,Y){!function(O){"use strict";var v={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(y){return 0===y?0:1===y?1:2===y?2:y%100>=3&&y%100<=10?3:y%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"]},h=function(y){return function(x,T,D,S){var L=u(x),A=f[y][u(x)];return 2===L&&(A=A[T?0:1]),A.replace(/%d/i,x)}},M=["\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"];O.defineLocale("ar-ly",{months:M,monthsShort:M,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(y){return"\u0645"===y},meridiem:function(y,x,T){return y<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:h("s"),ss:h("s"),m:h("m"),mm:h("m"),h:h("h"),hh:h("h"),d:h("d"),dd:h("d"),M:h("M"),MM:h("M"),y:h("y"),yy:h("y")},preparse:function(y){return y.replace(/\u060c/g,",")},postformat:function(y){return y.replace(/\d/g,function(x){return v[x]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(Y(5439))},5443:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7642:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};O.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(h){return"\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(Y(5439))},8592:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7038:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},f=function(x){return 0===x?0:1===x?1:2===x?2:x%100>=3&&x%100<=10?3:x%100>=11?4:5},h={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"]},M=function(x){return function(T,D,S,L){var A=f(T),U=h[x][f(T)];return 2===A&&(U=U[D?0:1]),U.replace(/%d/i,T)}},p=["\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"];O.defineLocale("ar",{months:p,monthsShort:p,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(x){return"\u0645"===x},meridiem:function(x,T,D){return x<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:M("s"),ss:M("s"),m:M("m"),mm:M("m"),h:M("h"),hh:M("h"),d:M("d"),dd:M("d"),M:M("M"),MM:M("M"),y:M("y"),yy:M("y")},preparse:function(x){return x.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(T){return u[T]}).replace(/\u060c/g,",")},postformat:function(x){return x.replace(/\d/g,function(T){return v[T]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(Y(5439))},1213:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h,M){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 h=f%10;return f+(v[h]||v[f%100-h]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},9191:function(de,ge,Y){!function(O){"use strict";function u(h,M,p){return"m"===p?M?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===p?M?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":h+" "+function v(h,M){var p=h.split("_");return M%10==1&&M%100!=11?p[0]:M%10>=2&&M%10<=4&&(M%100<10||M%100>=20)?p[1]:p[2]}({ss:M?"\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:M?"\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:M?"\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"}[p],+h)}O.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:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(h)},meridiem:function(h,M,p){return h<4?"\u043d\u043e\u0447\u044b":h<12?"\u0440\u0430\u043d\u0456\u0446\u044b":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(h,M){switch(M){case"M":case"d":case"DDD":case"w":case"W":return h%10!=2&&h%10!=3||h%100==12||h%100==13?h+"-\u044b":h+"-\u0456";case"D":return h+"-\u0433\u0430";default:return h}},week:{dow:1,doy:7}})}(Y(5439))},322:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(Y(5439))},8042:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},9620:function(de,ge,Y){!function(O){"use strict";var v={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};O.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(h){return h.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u09b0\u09be\u09a4"===M&&h>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===M&&h<5||"\u09ac\u09bf\u0995\u09be\u09b2"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u09b0\u09be\u09a4":h<10?"\u09b8\u0995\u09be\u09b2":h<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":h<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(Y(5439))},9645:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};O.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(h){return h.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M){return 12===h&&(h=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===M&&h>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===M&&h<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===M?h+12:h},meridiem:function(h,M,p){return h<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":h<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":h<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":h<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(Y(5439))},5020:function(de,ge,Y){!function(O){"use strict";function v(y,x,T){return y+" "+function h(y,x){return 2===x?function M(y){var x={m:"v",b:"v",d:"z"};return void 0===x[y.charAt(0)]?y:x[y.charAt(0)]+y.substring(1)}(y):y}({mm:"munutenn",MM:"miz",dd:"devezh"}[T],y)}function f(y){return y>9?f(y%10):y}O.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:v,h:"un eur",hh:"%d eur",d:"un devezh",dd:v,M:"ur miz",MM:v,y:"ur bloaz",yy:function u(y){switch(f(y)){case 1:case 3:case 4:case 5:case 9:return y+" bloaz";default:return y+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(y){return y+(1===y?"a\xf1":"vet")},week:{dow:1,doy:4}})}(Y(5439))},4792:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}O.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},7980:function(de,ge,Y){!function(O){"use strict";O.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(u,f){var h=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===f||"W"===f)&&(h="a"),u+h},week:{dow:1,doy:4}})}(Y(5439))},7322:function(de,ge,Y){!function(O){"use strict";var v="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function f(p){return p>1&&p<5&&1!=~~(p/10)}function h(p,y,x,T){var D=p+" ";switch(x){case"s":return y||T?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||T?D+(f(p)?"sekundy":"sekund"):D+"sekundami";case"m":return y?"minuta":T?"minutu":"minutou";case"mm":return y||T?D+(f(p)?"minuty":"minut"):D+"minutami";case"h":return y?"hodina":T?"hodinu":"hodinou";case"hh":return y||T?D+(f(p)?"hodiny":"hodin"):D+"hodinami";case"d":return y||T?"den":"dnem";case"dd":return y||T?D+(f(p)?"dny":"dn\xed"):D+"dny";case"M":return y||T?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||T?D+(f(p)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):D+"m\u011bs\xedci";case"y":return y||T?"rok":"rokem";case"yy":return y||T?D+(f(p)?"roky":"let"):D+"lety"}}O.defineLocale("cs",{months:v,monthsShort:u,monthsParse:function(p,y){var x,T=[];for(x=0;x<12;x++)T[x]=new RegExp("^"+p[x]+"$|^"+y[x]+"$","i");return T}(v,u),shortMonthsParse:function(p){var y,x=[];for(y=0;y<12;y++)x[y]=new RegExp("^"+p[y]+"$","i");return x}(u),longMonthsParse:function(p){var y,x=[];for(y=0;y<12;y++)x[y]=new RegExp("^"+p[y]+"$","i");return x}(v),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:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},365:function(de,ge,Y){!function(O){"use strict";O.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(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\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}})}(Y(5439))},2092:function(de,ge,Y){!function(O){"use strict";O.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(u){var h="";return u>20?h=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(h=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+h},week:{dow:1,doy:4}})}(Y(5439))},7387:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},9459:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},3694:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},4307:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[f+" Tage",f+" Tagen"],M:["ein Monat","einem Monat"],MM:[f+" Monate",f+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[f+" Jahre",f+" Jahren"]};return h?y[M][0]:y[M][1]}O.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:v,mm:"%d Minuten",h:v,hh:"%d Stunden",d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},9659:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("dv",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,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(h){return"\u0789\u078a"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(Y(5439))},3460:function(de,ge,Y){!function(O){"use strict";O.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,h){return f?"string"==typeof h&&/D/.test(h.substring(0,h.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,h,M){return f>11?M?"\u03bc\u03bc":"\u039c\u039c":M?"\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(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(f,h){var M=this._calendarEl[f],p=h&&h.hours();return function v(f){return f instanceof Function||"[object Function]"===Object.prototype.toString.call(f)}(M)&&(M=M.apply(h)),M.replace("{}",p%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}})}(Y(5439))},4369:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},530:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(Y(5439))},9998:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},3391:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},5414:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(Y(5439))},1248:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},4530:function(de,ge,Y){!function(O){"use strict";O.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(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,f,h){return u>11?h?"p.t.m.":"P.T.M.":h?"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}})}(Y(5439))},8944:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(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;O.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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}})}(Y(5439))},3609:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");O.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},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}})}(Y(5439))},6866:function(de,ge,Y){!function(O){"use strict";var v="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),f=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],h=/^(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;O.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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}})}(Y(5439))},6725:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[f+"sekundi",f+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[f+" minuti",f+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[f+" tunni",f+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[f+" kuu",f+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[f+" aasta",f+" aastat"]};return h?y[M][2]?y[M][2]:y[M][1]:p?y[M][0]:y[M][1]}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:"%d p\xe4eva",M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},7931:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6417:function(de,ge,Y){!function(O){"use strict";var v={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};O.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(h){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(h)},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u06f0-\u06f9]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(Y(5439))},944:function(de,ge,Y){!function(O){"use strict";var v="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",v[7],v[8],v[9]];function f(p,y,x,T){var D="";switch(x){case"s":return T?"muutaman sekunnin":"muutama sekunti";case"ss":return T?"sekunnin":"sekuntia";case"m":return T?"minuutin":"minuutti";case"mm":D=T?"minuutin":"minuuttia";break;case"h":return T?"tunnin":"tunti";case"hh":D=T?"tunnin":"tuntia";break;case"d":return T?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":D=T?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return T?"kuukauden":"kuukausi";case"MM":D=T?"kuukauden":"kuukautta";break;case"y":return T?"vuoden":"vuosi";case"yy":D=T?"vuoden":"vuotta"}return function h(p,y){return p<10?y?u[p]:v[p]:p}(p,T)+" "+D}O.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: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}})}(Y(5439))},5867:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6848:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(Y(5439))},7773:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(Y(5439))},1636:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(Y(5439))},4940:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");O.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(h,M){return h?/-MMM-/.test(M)?u[h.month()]:v[h.month()]:v},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(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},6924:function(de,ge,Y){!function(O){"use strict";O.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(y){return y+(1===y?"d":y%10==2?"na":"mh")},week:{dow:1,doy:4}})}(Y(5439))},6398:function(de,ge,Y){!function(O){"use strict";O.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(u){return 0===u.indexOf("un")?"n"+u:"en "+u},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}})}(Y(5439))},2545:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y={s:["thodde secondanim","thodde second"],ss:[f+" secondanim",f+" second"],m:["eka mintan","ek minute"],mm:[f+" mintanim",f+" mintam"],h:["eka horan","ek hor"],hh:[f+" horanim",f+" horam"],d:["eka disan","ek dis"],dd:[f+" disanim",f+" dis"],M:["eka mhoinean","ek mhoino"],MM:[f+" mhoineanim",f+" mhoine"],y:["eka vorsan","ek voros"],yy:[f+" vorsanim",f+" vorsam"]};return h?y[M][0]:y[M][1]}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,h){return"D"===h?f+"er":f},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,h){return 12===f&&(f=0),"rati"===h?f<4?f:f+12:"sokalli"===h?f:"donparam"===h?f>12?f:f+12:"sanje"===h?f+12:void 0},meridiem:function(f,h,M){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(Y(5439))},2641:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};O.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(h){return h.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0ab0\u0abe\u0aa4"===M?h<4?h:h+12:"\u0ab8\u0ab5\u0abe\u0ab0"===M?h:"\u0aac\u0aaa\u0acb\u0ab0"===M?h>=10?h:h+12:"\u0ab8\u0abe\u0a82\u0a9c"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0ab0\u0abe\u0aa4":h<10?"\u0ab8\u0ab5\u0abe\u0ab0":h<17?"\u0aac\u0aaa\u0acb\u0ab0":h<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(Y(5439))},7536:function(de,ge,Y){!function(O){"use strict";O.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(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \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(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,f,h){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?h?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?h?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(Y(5439))},6335:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924"===M?h<4?h:h+12:"\u0938\u0941\u092c\u0939"===M?h:"\u0926\u094b\u092a\u0939\u0930"===M?h>=10?h:h+12:"\u0936\u093e\u092e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0930\u093e\u0924":h<10?"\u0938\u0941\u092c\u0939":h<17?"\u0926\u094b\u092a\u0939\u0930":h<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(Y(5439))},7458:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var p=f+" ";switch(M){case"ss":return p+(1===f?"sekunda":2===f||3===f||4===f?"sekunde":"sekundi");case"m":return h?"jedna minuta":"jedne minute";case"mm":return p+(1===f?"minuta":2===f||3===f||4===f?"minute":"minuta");case"h":return h?"jedan sat":"jednog sata";case"hh":return p+(1===f?"sat":2===f||3===f||4===f?"sata":"sati");case"dd":return p+(1===f?"dan":"dana");case"MM":return p+(1===f?"mjesec":2===f||3===f||4===f?"mjeseca":"mjeseci");case"yy":return p+(1===f?"godina":2===f||3===f||4===f?"godine":"godina")}}O.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:v,m:v,mm:v,h:v,hh:v,d:"dan",dd:v,M:"mjesec",MM:v,y:"godinu",yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},6540:function(de,ge,Y){!function(O){"use strict";var v="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(M,p,y,x){var T=M;switch(y){case"s":return x||p?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return T+(x||p)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(x||p?" perc":" perce");case"mm":return T+(x||p?" perc":" perce");case"h":return"egy"+(x||p?" \xf3ra":" \xf3r\xe1ja");case"hh":return T+(x||p?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(x||p?" nap":" napja");case"dd":return T+(x||p?" nap":" napja");case"M":return"egy"+(x||p?" h\xf3nap":" h\xf3napja");case"MM":return T+(x||p?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(x||p?" \xe9v":" \xe9ve");case"yy":return T+(x||p?" \xe9v":" \xe9ve")}return""}function f(M){return(M?"":"[m\xfalt] ")+"["+v[this.day()]+"] LT[-kor]"}O.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(M){return"u"===M.charAt(1).toLowerCase()},meridiem:function(M,p,y){return M<12?!0===y?"de":"DE":!0===y?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return f.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return f.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},5283:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<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(u,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(Y(5439))},8780:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"siang"===f?u>=11?u:u+12:"sore"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"siang":u<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}})}(Y(5439))},4205:function(de,ge,Y){!function(O){"use strict";function v(h){return h%100==11||h%10!=1}function u(h,M,p,y){var x=h+" ";switch(p){case"s":return M||y?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return v(h)?x+(M||y?"sek\xfandur":"sek\xfandum"):x+"sek\xfanda";case"m":return M?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return v(h)?x+(M||y?"m\xedn\xfatur":"m\xedn\xfatum"):M?x+"m\xedn\xfata":x+"m\xedn\xfatu";case"hh":return v(h)?x+(M||y?"klukkustundir":"klukkustundum"):x+"klukkustund";case"d":return M?"dagur":y?"dag":"degi";case"dd":return v(h)?M?x+"dagar":x+(y?"daga":"d\xf6gum"):M?x+"dagur":x+(y?"dag":"degi");case"M":return M?"m\xe1nu\xf0ur":y?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return v(h)?M?x+"m\xe1nu\xf0ir":x+(y?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):M?x+"m\xe1nu\xf0ur":x+(y?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return M||y?"\xe1r":"\xe1ri";case"yy":return v(h)?x+(M||y?"\xe1r":"\xe1rum"):x+(M||y?"\xe1r":"\xe1ri")}}O.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:u,ss:u,m:u,mm:u,h:"klukkustund",hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},4211:function(de,ge,Y){!function(O){"use strict";O.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(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},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}})}(Y(5439))},1003:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u5348\u5f8c"===u},meridiem:function(u,f,h){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()=11?u:u+12:"sonten"===f||"ndalu"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"enjing":u<15?"siyang":u<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}})}(Y(5439))},851:function(de,ge,Y){!function(O){"use strict";O.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(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(u)?u.replace(/\u10d8$/,"\u10e8\u10d8"):u+"\u10e8\u10d8"},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.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(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(Y(5439))},6074:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},3343:function(de,ge,Y){!function(O){"use strict";var v={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};O.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(h){return"\u179b\u17d2\u1784\u17b6\u1785"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(Y(5439))},4799:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};O.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(h){return h.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M){return 12===h&&(h=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===M?h<4?h:h+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===M?h:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===M?h>=10?h:h+12:"\u0cb8\u0c82\u0c9c\u0cc6"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":h<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":h<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":h<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(h){return h+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(Y(5439))},3549:function(de,ge,Y){!function(O){"use strict";O.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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,f,h){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(Y(5439))},3125:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},9586:function(de,ge,Y){!function(O){"use strict";function v(p,y,x,T){var D={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 y?D[x][0]:D[x][1]}function h(p){if(p=parseInt(p,10),isNaN(p))return!1;if(p<0)return!0;if(p<10)return 4<=p&&p<=7;if(p<100){var y=p%10;return h(0===y?p/10:y)}if(p<1e4){for(;p>=10;)p/=10;return h(p)}return h(p/=1e3)}O.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 u(p){return h(p.substr(0,p.indexOf(" ")))?"a "+p:"an "+p},past:function f(p){return h(p.substr(0,p.indexOf(" ")))?"viru "+p:"virun "+p},s:"e puer Sekonnen",ss:"%d Sekonnen",m:v,mm:"%d Minutten",h:v,hh:"%d Stonnen",d:v,dd:"%d Deeg",M:v,MM:"%d M\xe9int",y:v,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},2349:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,f,h){return u<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(u){return"\u0e97\u0eb5\u0ec8"+u}})}(Y(5439))},2400:function(de,ge,Y){!function(O){"use strict";var v={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 f(x,T,D,S){return T?M(D)[0]:S?M(D)[1]:M(D)[2]}function h(x){return x%10==0||x>10&&x<20}function M(x){return v[x].split("_")}function p(x,T,D,S){var L=x+" ";return 1===x?L+f(0,T,D[0],S):T?L+(h(x)?M(D)[1]:M(D)[0]):S?L+M(D)[1]:L+(h(x)?M(D)[1]:M(D)[2])}O.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 u(x,T,D,S){return T?"kelios sekund\u0117s":S?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:p,m:f,mm:p,h:f,hh:p,d:f,dd:p,M:f,MM:p,y:f,yy:p},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(x){return x+"-oji"},week:{dow:1,doy:4}})}(Y(5439))},9991:function(de,ge,Y){!function(O){"use strict";var v={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 u(y,x,T){return T?x%10==1&&x%100!=11?y[2]:y[3]:x%10==1&&x%100!=11?y[0]:y[1]}function f(y,x,T){return y+" "+u(v[T],y,x)}function h(y,x,T){return u(v[T],y,x)}O.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 M(y,x){return x?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:f,m:h,mm:f,h,hh:f,d:h,dd:f,M:h,MM:f,y:h,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8477:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mjesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},5118:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},5943:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10,h=u%100;return 0===u?u+"-\u0435\u0432":0===h?u+"-\u0435\u043d":h>10&&h<20?u+"-\u0442\u0438":1===f?u+"-\u0432\u0438":2===f?u+"-\u0440\u0438":7===f||8===f?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(Y(5439))},3849:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?u+12:u},meridiem:function(u,f,h){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(Y(5439))},1977:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){switch(M){case"s":return h?"\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+(h?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return f+(h?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return f+(h?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return f+(h?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return f+(h?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return f+(h?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return f}}O.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,h,M){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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,h){switch(h){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(Y(5439))},6184:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function f(M,p,y,x){var T="";if(p)switch(y){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":T="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":T="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":T="%d \u0924\u093e\u0938";break;case"d":T="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":T="%d \u0926\u093f\u0935\u0938";break;case"M":T="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":T="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u0947"}else switch(y){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":T="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":T="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":T="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":T="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":T="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":T="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":T="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return T.replace(/%d/i,M)}O.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:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},preparse:function(M){return M.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(p){return u[p]})},postformat:function(M){return M.replace(/\d/g,function(p){return v[p]})},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(M,p){return 12===M&&(M=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===p?M<4?M:M+12:"\u0938\u0915\u093e\u0933\u0940"===p?M:"\u0926\u0941\u092a\u093e\u0930\u0940"===p?M>=10?M:M+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===p?M+12:void 0},meridiem:function(M,p,y){return M<4?"\u0930\u093e\u0924\u094d\u0930\u0940":M<10?"\u0938\u0915\u093e\u0933\u0940":M<17?"\u0926\u0941\u092a\u093e\u0930\u0940":M<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(Y(5439))},4524:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<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}})}(Y(5439))},485:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"pagi"===f?u:"tengahari"===f?u>=11?u:u+12:"petang"===f||"malam"===f?u+12:void 0},meridiem:function(u,f,h){return u<11?"pagi":u<15?"tengahari":u<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}})}(Y(5439))},6681:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2024:function(de,ge,Y){!function(O){"use strict";var v={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};O.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(h){return h.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},week:{dow:1,doy:4}})}(Y(5439))},2688:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},8914:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};O.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(h){return h.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0930\u093e\u0924\u093f"===M?h<4?h:h+12:"\u092c\u093f\u0939\u093e\u0928"===M?h:"\u0926\u093f\u0909\u0901\u0938\u094b"===M?h>=10?h:h+12:"\u0938\u093e\u0901\u091d"===M?h+12:void 0},meridiem:function(h,M,p){return h<3?"\u0930\u093e\u0924\u093f":h<12?"\u092c\u093f\u0939\u093e\u0928":h<16?"\u0926\u093f\u0909\u0901\u0938\u094b":h<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}})}(Y(5439))},2272:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^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],h=/^(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;O.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},1758:function(de,ge,Y){!function(O){"use strict";var v="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),f=[/^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],h=/^(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;O.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(p,y){return p?/-MMM-/.test(y)?u[p.month()]:v[p.month()]:v},monthsRegex:h,monthsShortRegex:h,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:f,longMonthsParse:f,shortMonthsParse:f,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(p){return p+(1===p||8===p||p>=20?"ste":"de")},week:{dow:1,doy:4}})}(Y(5439))},1510:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7944:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};O.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(h){return h.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(h,M){return 12===h&&(h=0),"\u0a30\u0a3e\u0a24"===M?h<4?h:h+12:"\u0a38\u0a35\u0a47\u0a30"===M?h:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===M?h>=10?h:h+12:"\u0a38\u0a3c\u0a3e\u0a2e"===M?h+12:void 0},meridiem:function(h,M,p){return h<4?"\u0a30\u0a3e\u0a24":h<10?"\u0a38\u0a35\u0a47\u0a30":h<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":h<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(Y(5439))},1605:function(de,ge,Y){!function(O){"use strict";var v="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function f(p){return p%10<5&&p%10>1&&~~(p/10)%10!=1}function h(p,y,x){var T=p+" ";switch(x){case"ss":return T+(f(p)?"sekundy":"sekund");case"m":return y?"minuta":"minut\u0119";case"mm":return T+(f(p)?"minuty":"minut");case"h":return y?"godzina":"godzin\u0119";case"hh":return T+(f(p)?"godziny":"godzin");case"MM":return T+(f(p)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return T+(f(p)?"lata":"lat")}}O.defineLocale("pl",{months:function(p,y){return p?""===y?"("+u[p.month()]+"|"+v[p.month()]+")":/D MMMM/.test(y)?u[p.month()]:v[p.month()]:v},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:h,m:h,mm:h,h,hh:h,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:h,y:"rok",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},3840:function(de,ge,Y){!function(O){"use strict";O.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"})}(Y(5439))},4225:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},5128:function(de,ge,Y){!function(O){"use strict";function v(f,h,M){var y=" ";return(f%100>=20||f>=100&&f%100==0)&&(y=" de "),f+y+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[M]}O.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:v,m:"un minut",mm:v,h:"o or\u0103",hh:v,d:"o zi",dd:v,M:"o lun\u0103",MM:v,y:"un an",yy:v},week:{dow:1,doy:7}})}(Y(5439))},5127:function(de,ge,Y){!function(O){"use strict";function u(M,p,y){return"m"===y?p?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":M+" "+function v(M,p){var y=M.split("_");return p%10==1&&p%100!=11?y[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?y[1]:y[2]}({ss:p?"\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:p?"\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"}[y],+M)}var f=[/^\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];O.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:f,longMonthsParse:f,shortMonthsParse:f,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(M){if(M.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(M){if(M.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:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(M){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(M)},meridiem:function(M,p,y){return M<4?"\u043d\u043e\u0447\u0438":M<12?"\u0443\u0442\u0440\u0430":M<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(M,p){switch(p){case"M":case"d":case"DDD":return M+"-\u0439";case"D":return M+"-\u0433\u043e";case"w":case"W":return M+"-\u044f";default:return M}},week:{dow:1,doy:4}})}(Y(5439))},2525:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("sd",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(Y(5439))},9893:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},3123:function(de,ge,Y){!function(O){"use strict";O.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(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,f,h){return u>11?h?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":h?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(Y(5439))},9635:function(de,ge,Y){!function(O){"use strict";var v="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function f(p){return p>1&&p<5}function h(p,y,x,T){var D=p+" ";switch(x){case"s":return y||T?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return y||T?D+(f(p)?"sekundy":"sek\xfand"):D+"sekundami";case"m":return y?"min\xfata":T?"min\xfatu":"min\xfatou";case"mm":return y||T?D+(f(p)?"min\xfaty":"min\xfat"):D+"min\xfatami";case"h":return y?"hodina":T?"hodinu":"hodinou";case"hh":return y||T?D+(f(p)?"hodiny":"hod\xedn"):D+"hodinami";case"d":return y||T?"de\u0148":"d\u0148om";case"dd":return y||T?D+(f(p)?"dni":"dn\xed"):D+"d\u0148ami";case"M":return y||T?"mesiac":"mesiacom";case"MM":return y||T?D+(f(p)?"mesiace":"mesiacov"):D+"mesiacmi";case"y":return y||T?"rok":"rokom";case"yy":return y||T?D+(f(p)?"roky":"rokov"):D+"rokmi"}}O.defineLocale("sk",{months:v,monthsShort:u,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:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:h,ss:h,m:h,mm:h,h,hh:h,d:h,dd:h,M:h,MM:h,y:h,yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8106:function(de,ge,Y){!function(O){"use strict";function v(f,h,M,p){var y=f+" ";switch(M){case"s":return h||p?"nekaj sekund":"nekaj sekundami";case"ss":return y+(1===f?h?"sekundo":"sekundi":2===f?h||p?"sekundi":"sekundah":f<5?h||p?"sekunde":"sekundah":"sekund");case"m":return h?"ena minuta":"eno minuto";case"mm":return y+(1===f?h?"minuta":"minuto":2===f?h||p?"minuti":"minutama":f<5?h||p?"minute":"minutami":h||p?"minut":"minutami");case"h":return h?"ena ura":"eno uro";case"hh":return y+(1===f?h?"ura":"uro":2===f?h||p?"uri":"urama":f<5?h||p?"ure":"urami":h||p?"ur":"urami");case"d":return h||p?"en dan":"enim dnem";case"dd":return y+(1===f?h||p?"dan":"dnem":2===f?h||p?"dni":"dnevoma":h||p?"dni":"dnevi");case"M":return h||p?"en mesec":"enim mesecem";case"MM":return y+(1===f?h||p?"mesec":"mesecem":2===f?h||p?"meseca":"mesecema":f<5?h||p?"mesece":"meseci":h||p?"mesecev":"meseci");case"y":return h||p?"eno leto":"enim letom";case"yy":return y+(1===f?h||p?"leto":"letom":2===f?h||p?"leti":"letoma":f<5?h||p?"leta":"leti":h||p?"let":"leti")}}O.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:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},8799:function(de,ge,Y){!function(O){"use strict";O.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(u){return"M"===u.charAt(0)},meridiem:function(u,f,h){return u<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}})}(Y(5439))},2872:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"\u0434\u0430\u043d",dd:v.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:v.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},7949:function(de,ge,Y){!function(O){"use strict";var v={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,h){return 1===f?h[0]:f>=2&&f<=4?h[1]:h[2]},translate:function(f,h,M){var p=v.words[M];return 1===M.length?h?p[0]:p[1]:f+" "+v.correctGrammaticalCase(f,p)}};O.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:v.translate,m:v.translate,mm:v.translate,h:v.translate,hh:v.translate,d:"dan",dd:v.translate,M:"mesec",MM:v.translate,y:"godinu",yy:v.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(Y(5439))},6167:function(de,ge,Y){!function(O){"use strict";O.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(u,f,h){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,f){return 12===u&&(u=0),"ekuseni"===f?u:"emini"===f?u>=11?u:u+12:"entsambama"===f||"ebusuku"===f?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(Y(5439))},9713:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(Y(5439))},1982:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2732:function(de,ge,Y){!function(O){"use strict";var v={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};O.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(h){return h+"\u0bb5\u0ba4\u0bc1"},preparse:function(h){return h.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(M){return u[M]})},postformat:function(h){return h.replace(/\d/g,function(M){return v[M]})},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(h,M,p){return h<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":h<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":h<10?" \u0b95\u0bbe\u0bb2\u0bc8":h<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":h<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":h<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(h,M){return 12===h&&(h=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===M?h<2?h:h+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===M||"\u0b95\u0bbe\u0bb2\u0bc8"===M||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===M&&h>=10?h:h+12},week:{dow:0,doy:6}})}(Y(5439))},3636:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===f?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?u+12:void 0},meridiem:function(u,f,h){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(Y(5439))},2115:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},9801:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h){return 12===f&&(f=0),"\u0448\u0430\u0431"===h?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===h?f:"\u0440\u04ef\u0437"===h?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===h?f+12:void 0},meridiem:function(f,h,M){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+(v[f]||v[f%10]||v[f>=100?100:null])},week:{dow:1,doy:7}})}(Y(5439))},2868:function(de,ge,Y){!function(O){"use strict";O.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(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,f,h){return u<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"}})}(Y(5439))},2360:function(de,ge,Y){!function(O){"use strict";O.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(u){return u},week:{dow:1,doy:4}})}(Y(5439))},6645:function(de,ge,Y){!function(O){"use strict";var v="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function h(y,x,T,D){var S=function M(y){var x=Math.floor(y%1e3/100),T=Math.floor(y%100/10),D=y%10,S="";return x>0&&(S+=v[x]+"vatlh"),T>0&&(S+=(""!==S?" ":"")+v[T]+"maH"),D>0&&(S+=(""!==S?" ":"")+v[D]),""===S?"pagh":S}(y);switch(T){case"ss":return S+" lup";case"mm":return S+" tup";case"hh":return S+" rep";case"dd":return S+" jaj";case"MM":return S+" jar";case"yy":return S+" DIS"}}O.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 u(y){var x=y;return-1!==y.indexOf("jaj")?x.slice(0,-3)+"leS":-1!==y.indexOf("jar")?x.slice(0,-3)+"waQ":-1!==y.indexOf("DIS")?x.slice(0,-3)+"nem":x+" pIq"},past:function f(y){var x=y;return-1!==y.indexOf("jaj")?x.slice(0,-3)+"Hu\u2019":-1!==y.indexOf("jar")?x.slice(0,-3)+"wen":-1!==y.indexOf("DIS")?x.slice(0,-3)+"ben":x+" ret"},s:"puS lup",ss:h,m:"wa\u2019 tup",mm:h,h:"wa\u2019 rep",hh:h,d:"wa\u2019 jaj",dd:h,M:"wa\u2019 jar",MM:h,y:"wa\u2019 DIS",yy:h},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},8374:function(de,ge,Y){!function(O){"use strict";var v={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"};O.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,h){switch(h){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var M=f%10;return f+(v[M]||v[f%100-M]||v[f>=100?100:null])}},week:{dow:1,doy:7}})}(Y(5439))},256:function(de,ge,Y){!function(O){"use strict";function u(f,h,M,p){var y={s:["viensas secunds","'iensas secunds"],ss:[f+" secunds",f+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[f+" m\xeduts",f+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[f+" \xfeoras",f+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[f+" ziuas",f+" ziuas"],M:["'n mes","'iens mes"],MM:[f+" mesen",f+" mesen"],y:["'n ar","'iens ar"],yy:[f+" ars",f+" ars"]};return p||h?y[M][0]:y[M][1]}O.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,h,M){return f>11?M?"d'o":"D'O":M?"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:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(Y(5439))},1631:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},1595:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},6050:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=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?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":M<900?"\u0633\u06d5\u06be\u06d5\u0631":M<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":M<1230?"\u0686\u06c8\u0634":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(Y(5439))},5610:function(de,ge,Y){!function(O){"use strict";function u(p,y,x){return"m"===x?y?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===x?y?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":p+" "+function v(p,y){var x=p.split("_");return y%10==1&&y%100!=11?x[0]:y%10>=2&&y%10<=4&&(y%100<10||y%100>=20)?x[1]:x[2]}({ss:y?"\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:y?"\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:y?"\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"}[x],+p)}function h(p){return function(){return p+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}O.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 f(p,y){var x={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 p?x[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(y)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(y)?"genitive":"nominative"][p.day()]:x.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:h("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:h("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:h("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:h("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return h("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return h("[\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:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(p){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(p)},meridiem:function(p,y,x){return p<4?"\u043d\u043e\u0447\u0456":p<12?"\u0440\u0430\u043d\u043a\u0443":p<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(p,y){switch(y){case"M":case"d":case"DDD":case"w":case"W":return p+"-\u0439";case"D":return p+"-\u0433\u043e";default:return p}},week:{dow:1,doy:7}})}(Y(5439))},6077:function(de,ge,Y){!function(O){"use strict";var v=["\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"],u=["\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"];O.defineLocale("ur",{months:v,monthsShort:v,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(h){return"\u0634\u0627\u0645"===h},meridiem:function(h,M,p){return h<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(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(Y(5439))},2207:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},2862:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},8093:function(de,ge,Y){!function(O){"use strict";O.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(u){return/^ch$/i.test(u)},meridiem:function(u,f,h){return u<12?h?"sa":"SA":h?"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(u){return u},week:{dow:1,doy:4}})}(Y(5439))},5590:function(de,ge,Y){!function(O){"use strict";O.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(u){var f=u%10;return u+(1==~~(u%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(Y(5439))},9058:function(de,ge,Y){!function(O){"use strict";O.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}})}(Y(5439))},7908:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:u>=11?u:u+12},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},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}})}(Y(5439))},8867:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(Y(5439))},3291:function(de,ge,Y){!function(O){"use strict";O.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(u,f){return 12===u&&(u=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?u:"\u4e2d\u5348"===f?u>=11?u:u+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?u+12:void 0},meridiem:function(u,f,h){var M=100*u+f;return M<600?"\u51cc\u6668":M<900?"\u65e9\u4e0a":M<1130?"\u4e0a\u5348":M<1230?"\u4e2d\u5348":M<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(u,f){switch(f){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(Y(5439))},5439:function(de,ge,Y){(de=Y.nmd(de)).exports=function(){"use strict";var O,B;function v(){return O.apply(null,arguments)}function f(m){return m instanceof Array||"[object Array]"===Object.prototype.toString.call(m)}function h(m){return null!=m&&"[object Object]"===Object.prototype.toString.call(m)}function p(m){return void 0===m}function y(m){return"number"==typeof m||"[object Number]"===Object.prototype.toString.call(m)}function x(m){return m instanceof Date||"[object Date]"===Object.prototype.toString.call(m)}function T(m,P){var $,j=[];for($=0;$>>0,$=0;$0)for(j=0;j=0?j?"+":"":"-")+Math.pow(10,Math.max(0,P-$.length)).toString().substr(1)+$}var Ie=/(\[[^\[]*\])|(\\)?([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,Ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ut={},gt={};function ot(m,P,j,$){var ne=$;"string"==typeof $&&(ne=function(){return this[$]()}),m&&(gt[m]=ne),P&&(gt[P[0]]=function(){return De(ne.apply(this,arguments),P[1],P[2])}),j&&(gt[j]=function(){return this.localeData().ordinal(ne.apply(this,arguments),m)})}function fn(m){return m.match(/\[[\s\S]/)?m.replace(/^\[|\]$/g,""):m.replace(/\\/g,"")}function bt(m,P){return m.isValid()?(P=qt(P,m.localeData()),ut[P]=ut[P]||function Rn(m){var j,$,P=m.match(Ie);for(j=0,$=P.length;j<$;j++)P[j]=gt[P[j]]?gt[P[j]]:fn(P[j]);return function(ne){var je,Le="";for(je=0;je<$;je++)Le+=ke(P[je])?P[je].call(ne,m):P[je];return Le}}(P),ut[P](m)):m.localeData().invalidDate()}function qt(m,P){var j=5;function $(ne){return P.longDateFormat(ne)||ne}for(Ne.lastIndex=0;j>=0&&Ne.test(m);)m=m.replace(Ne,$),Ne.lastIndex=0,j-=1;return m}var Gn=/\d/,oi=/\d\d/,Kr=/\d{3}/,Io=/\d{4}/,Hi=/[+-]?\d{6}/,ln=/\d\d?/,xi=/\d\d\d\d?/,si=/\d\d\d\d\d\d?/,Nn=/\d{1,3}/,Ud=/\d{1,4}/,fl=/[+-]?\d{1,6}/,Sn=/\d+/,wa=/[+-]?\d+/,Bi=/Z|[+-]\d\d:?\d\d/gi,Ca=/Z|[+-]\d\d(?::?\d\d)?/gi,pn=/[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,Dt={};function _t(m,P,j){Dt[m]=ke(P)?P:function($,ne){return $&&j?j:P}}function Wd(m,P){return D(Dt,m)?Dt[m](P._strict,P._locale):new RegExp(function X1(m){return hs(m.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,j,$,ne,Le){return j||$||ne||Le}))}(m))}function hs(m){return m.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Fe={};function En(m,P){var j,$=P;for("string"==typeof m&&(m=[m]),y(P)&&($=function(ne,Le){Le[P]=ee(ne)}),j=0;j68?1900:2e3)};var ki,jg=xa("FullYear",!0);function xa(m,P){return function(j){return null!=j?(df(this,m,j),v.updateOffset(this,P),this):Gd(this,m)}}function Gd(m,P){return m.isValid()?m._d["get"+(m._isUTC?"UTC":"")+P]():NaN}function df(m,P,j){m.isValid()&&!isNaN(j)&&("FullYear"===P&&$d(m.year())&&1===m.month()&&29===m.date()?m._d["set"+(m._isUTC?"UTC":"")+P](j,m.month(),qd(j,m.month())):m._d["set"+(m._isUTC?"UTC":"")+P](j))}function qd(m,P){if(isNaN(m)||isNaN(P))return NaN;var j=function wn(m,P){return(m%P+P)%P}(P,12);return m+=(P-j)/12,1===j?$d(m)?29:28:31-j%7%2}ki=Array.prototype.indexOf?Array.prototype.indexOf:function(m){var P;for(P=0;P=0&&isFinite(At.getFullYear())&&At.setFullYear(m),At}function Wi(m){var P=new Date(Date.UTC.apply(null,arguments));return m<100&&m>=0&&isFinite(P.getUTCFullYear())&&P.setUTCFullYear(m),P}function pl(m,P,j){var $=7+P-j;return-(7+Wi(m,0,$).getUTCDay()-P)%7+$-1}function $g(m,P,j,$,ne){var Wt,Di,At=1+7*(P-1)+(7+j-$)%7+pl(m,$,ne);return At<=0?Di=hc(Wt=m-1)+At:At>hc(m)?(Wt=m+1,Di=At-hc(m)):(Wt=m,Di=At),{year:Wt,dayOfYear:Di}}function Cn(m,P,j){var Le,je,$=pl(m.year(),P,j),ne=Math.floor((m.dayOfYear()-$-1)/7)+1;return ne<1?Le=ne+ka(je=m.year()-1,P,j):ne>ka(m.year(),P,j)?(Le=ne-ka(m.year(),P,j),je=m.year()+1):(je=m.year(),Le=ne),{week:Le,year:je}}function ka(m,P,j){var $=pl(m,P,j),ne=pl(m+1,P,j);return(hc(m)-$+ne)/7}ot("w",["ww",2],"wo","week"),ot("W",["WW",2],"Wo","isoWeek"),pe("week","w"),pe("isoWeek","W"),me("week",5),me("isoWeek",5),_t("w",ln),_t("ww",ln,oi),_t("W",ln),_t("WW",ln,oi),xt(["w","ww","W","WW"],function(m,P,j,$){P[$.substr(0,1)]=ee(m)});ot("d",0,"do","day"),ot("dd",0,0,function(m){return this.localeData().weekdaysMin(this,m)}),ot("ddd",0,0,function(m){return this.localeData().weekdaysShort(this,m)}),ot("dddd",0,0,function(m){return this.localeData().weekdays(this,m)}),ot("e",0,0,"weekday"),ot("E",0,0,"isoWeekday"),pe("day","d"),pe("weekday","e"),pe("isoWeekday","E"),me("day",11),me("weekday",11),me("isoWeekday",11),_t("d",ln),_t("e",ln),_t("E",ln),_t("dd",function(m,P){return P.weekdaysMinRegex(m)}),_t("ddd",function(m,P){return P.weekdaysShortRegex(m)}),_t("dddd",function(m,P){return P.weekdaysRegex(m)}),xt(["dd","ddd","dddd"],function(m,P,j,$){var ne=j._locale.weekdaysParse(m,$,j._strict);null!=ne?P.d=ne:U(j).invalidWeekday=m}),xt(["d","e","E"],function(m,P,j,$){P[$]=ee(m)});var mf="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var gf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Zg="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function _f(m,P,j){var $,ne,Le,je=m.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Le=L([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Le,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Le,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Le,"").toLocaleLowerCase();return j?"dddd"===P?-1!==(ne=ki.call(this._weekdaysParse,je))?ne:null:"ddd"===P?-1!==(ne=ki.call(this._shortWeekdaysParse,je))?ne:null:-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:"dddd"===P?-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._shortWeekdaysParse,je))||-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:"ddd"===P?-1!==(ne=ki.call(this._shortWeekdaysParse,je))||-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._minWeekdaysParse,je))?ne:null:-1!==(ne=ki.call(this._minWeekdaysParse,je))||-1!==(ne=ki.call(this._weekdaysParse,je))||-1!==(ne=ki.call(this._shortWeekdaysParse,je))?ne:null}var Xg=pn;var Qg=pn;var Oo=pn;function lo(){function m(Vr,Ml){return Ml.length-Vr.length}var Le,je,At,Wt,Di,P=[],j=[],$=[],ne=[];for(Le=0;Le<7;Le++)je=L([2e3,1]).day(Le),At=this.weekdaysMin(je,""),Wt=this.weekdaysShort(je,""),Di=this.weekdays(je,""),P.push(At),j.push(Wt),$.push(Di),ne.push(At),ne.push(Wt),ne.push(Di);for(P.sort(m),j.sort(m),$.sort(m),ne.sort(m),Le=0;Le<7;Le++)j[Le]=hs(j[Le]),$[Le]=hs($[Le]),ne[Le]=hs(ne[Le]);this._weekdaysRegex=new RegExp("^("+ne.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function cn(){return this.hours()%12||12}function vc(m,P){ot(m,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function yc(m,P){return P._meridiemParse}ot("H",["HH",2],0,"hour"),ot("h",["hh",2],0,cn),ot("k",["kk",2],0,function bc(){return this.hours()||24}),ot("hmm",0,0,function(){return""+cn.apply(this)+De(this.minutes(),2)}),ot("hmmss",0,0,function(){return""+cn.apply(this)+De(this.minutes(),2)+De(this.seconds(),2)}),ot("Hmm",0,0,function(){return""+this.hours()+De(this.minutes(),2)}),ot("Hmmss",0,0,function(){return""+this.hours()+De(this.minutes(),2)+De(this.seconds(),2)}),vc("a",!0),vc("A",!1),pe("hour","h"),me("hour",13),_t("a",yc),_t("A",yc),_t("H",ln),_t("h",ln),_t("k",ln),_t("HH",ln,oi),_t("hh",ln,oi),_t("kk",ln,oi),_t("hmm",xi),_t("hmmss",si),_t("Hmm",xi),_t("Hmmss",si),En(["H","HH"],ai),En(["k","kk"],function(m,P,j){var $=ee(m);P[ai]=24===$?0:$}),En(["a","A"],function(m,P,j){j._isPm=j._locale.isPM(m),j._meridiem=m}),En(["h","hh"],function(m,P,j){P[ai]=ee(m),U(j).bigHour=!0}),En("hmm",function(m,P,j){var $=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($)),U(j).bigHour=!0}),En("hmmss",function(m,P,j){var $=m.length-4,ne=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($,2)),P[ps]=ee(m.substr(ne)),U(j).bigHour=!0}),En("Hmm",function(m,P,j){var $=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($))}),En("Hmmss",function(m,P,j){var $=m.length-4,ne=m.length-2;P[ai]=ee(m.substr(0,$)),P[ni]=ee(m.substr($,2)),P[ps]=ee(m.substr(ne))});var Ta,vf=xa("Hours",!0),Qd={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:Ye,monthsShort:Nt,week:{dow:0,doy:6},weekdays:mf,weekdaysMin:Zg,weekdaysShort:gf,meridiemParse:/[ap]\.?m?\.?/i},hi={},Da={};function La(m){return m&&m.toLowerCase().replace("_","-")}function bl(m){var P=null;if(!hi[m]&&de&&de.exports)try{P=Ta._abbr,Y(6700)("./"+m),Ea(P)}catch{}return hi[m]}function Ea(m,P){var j;return m&&((j=p(P)?_s(m):Mc(m,P))?Ta=j:typeof console<"u"&&console.warn&&console.warn("Locale "+m+" not found. Did you forget to load it?")),Ta._abbr}function Mc(m,P){if(null!==P){var j,$=Qd;if(P.abbr=m,null!=hi[m])Se("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."),$=hi[m]._config;else if(null!=P.parentLocale)if(null!=hi[P.parentLocale])$=hi[P.parentLocale]._config;else{if(null==(j=bl(P.parentLocale)))return Da[P.parentLocale]||(Da[P.parentLocale]=[]),Da[P.parentLocale].push({name:m,config:P}),null;$=j._config}return hi[m]=new st(tt($,P)),Da[m]&&Da[m].forEach(function(ne){Mc(ne.name,ne.config)}),Ea(m),hi[m]}return delete hi[m],null}function _s(m){var P;if(m&&m._locale&&m._locale._abbr&&(m=m._locale._abbr),!m)return Ta;if(!f(m)){if(P=bl(m))return P;m=[m]}return function yf(m){for(var j,$,ne,Le,P=0;P0;){if(ne=bl(Le.slice(0,j).join("-")))return ne;if($&&$.length>=j&&ae(Le,$,!0)>=j-1)break;j--}P++}return Ta}(m)}function eu(m){var P,j=m._a;return j&&-2===U(m).overflow&&(P=j[fs]<0||j[fs]>11?fs:j[Po]<1||j[Po]>qd(j[ao],j[fs])?Po:j[ai]<0||j[ai]>24||24===j[ai]&&(0!==j[ni]||0!==j[ps]||0!==j[Bs])?ai:j[ni]<0||j[ni]>59?ni:j[ps]<0||j[ps]>59?ps:j[Bs]<0||j[Bs]>999?Bs:-1,U(m)._overflowDayOfYear&&(PPo)&&(P=Po),U(m)._overflowWeeks&&-1===P&&(P=J1),U(m)._overflowWeekday&&-1===P&&(P=ms),U(m).overflow=P),m}function Vs(m,P,j){return m??P??j}function tu(m){var P,j,ne,Le,je,$=[];if(!m._d){for(ne=function t_(m){var P=new Date(v.now());return m._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(m),m._w&&null==m._a[Po]&&null==m._a[fs]&&function n_(m){var P,j,$,ne,Le,je,At,Wt;if(null!=(P=m._w).GG||null!=P.W||null!=P.E)Le=1,je=4,j=Vs(P.GG,m._a[ao],Cn(Ut(),1,4).year),$=Vs(P.W,1),((ne=Vs(P.E,1))<1||ne>7)&&(Wt=!0);else{Le=m._locale._week.dow,je=m._locale._week.doy;var Di=Cn(Ut(),Le,je);j=Vs(P.gg,m._a[ao],Di.year),$=Vs(P.w,Di.week),null!=P.d?((ne=P.d)<0||ne>6)&&(Wt=!0):null!=P.e?(ne=P.e+Le,(P.e<0||P.e>6)&&(Wt=!0)):ne=Le}$<1||$>ka(j,Le,je)?U(m)._overflowWeeks=!0:null!=Wt?U(m)._overflowWeekday=!0:(At=$g(j,$,ne,Le,je),m._a[ao]=At.year,m._dayOfYear=At.dayOfYear)}(m),null!=m._dayOfYear&&(je=Vs(m._a[ao],ne[ao]),(m._dayOfYear>hc(je)||0===m._dayOfYear)&&(U(m)._overflowDayOfYear=!0),j=Wi(je,0,m._dayOfYear),m._a[fs]=j.getUTCMonth(),m._a[Po]=j.getUTCDate()),P=0;P<3&&null==m._a[P];++P)m._a[P]=$[P]=ne[P];for(;P<7;P++)m._a[P]=$[P]=null==m._a[P]?2===P?1:0:m._a[P];24===m._a[ai]&&0===m._a[ni]&&0===m._a[ps]&&0===m._a[Bs]&&(m._nextDay=!0,m._a[ai]=0),m._d=(m._useUTC?Wi:pf).apply(null,$),Le=m._useUTC?m._d.getUTCDay():m._d.getDay(),null!=m._tzm&&m._d.setUTCMinutes(m._d.getUTCMinutes()-m._tzm),m._nextDay&&(m._a[ai]=24),m._w&&typeof m._w.d<"u"&&m._w.d!==Le&&(U(m).weekdayMismatch=!0)}}var i_=/^\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)?)?$/,Mf=/^\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)?)?$/,r_=/Z|[+-]\d\d(?::?\d\d)?/,wc=[["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}/]],nu=[["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/]],Ke=/^\/?Date\((\-?\d+)/i;function Cc(m){var P,j,Le,je,At,Wt,$=m._i,ne=i_.exec($)||Mf.exec($);if(ne){for(U(m).iso=!0,P=0,j=wc.length;P0&&U(m).unusedInput.push(je),P=P.slice(P.indexOf($)+$.length),Wt+=$.length),gt[Le]?($?U(m).empty=!1:U(m).unusedTokens.push(Le),Mn(Le,$,m)):m._strict&&!$&&U(m).unusedTokens.push(Le);U(m).charsLeftOver=At-Wt,P.length>0&&U(m).unusedInput.push(P),m._a[ai]<=12&&!0===U(m).bigHour&&m._a[ai]>0&&(U(m).bigHour=void 0),U(m).parsedDateParts=m._a.slice(0),U(m).meridiem=m._meridiem,m._a[ai]=function Ia(m,P,j){var $;return null==j?P:null!=m.meridiemHour?m.meridiemHour(P,j):(null!=m.isPM&&(($=m.isPM(j))&&P<12&&(P+=12),!$&&12===P&&(P=0)),P)}(m._locale,m._a[ai],m._meridiem),tu(m),eu(m)}else gn(m);else Cc(m)}function vl(m){var P=m._i,j=m._f;return m._locale=m._locale||_s(m._l),null===P||void 0===j&&""===P?oe({nullInput:!0}):("string"==typeof P&&(m._i=P=m._locale.preparse(P)),q(P)?new he(eu(P)):(x(P)?m._d=P:f(j)?function Yr(m){var P,j,$,ne,Le;if(0===m._f.length)return U(m).invalidFormat=!0,void(m._d=new Date(NaN));for(ne=0;nethis?this:m:oe()});function Jn(m,P){var j,$;if(1===P.length&&f(P[0])&&(P=P[0]),!P.length)return Ut();for(j=P[0],$=1;$(Le=ka(m,$,ne))&&(P=Le),Ic.call(this,m,P,j,$,ne))}function Ic(m,P,j,$,ne){var Le=$g(m,P,j,$,ne),je=Wi(Le.year,0,Le.dayOfYear);return this.year(je.getUTCFullYear()),this.month(je.getUTCMonth()),this.date(je.getUTCDate()),this}ot(0,["gg",2],0,function(){return this.weekYear()%100}),ot(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ks("gggg","weekYear"),Ks("ggggg","weekYear"),Ks("GGGG","isoWeekYear"),Ks("GGGGG","isoWeekYear"),pe("weekYear","gg"),pe("isoWeekYear","GG"),me("weekYear",1),me("isoWeekYear",1),_t("G",wa),_t("g",wa),_t("GG",ln,oi),_t("gg",ln,oi),_t("GGGG",Ud,Io),_t("gggg",Ud,Io),_t("GGGGG",fl,Hi),_t("ggggg",fl,Hi),xt(["gggg","ggggg","GGGG","GGGGG"],function(m,P,j,$){P[$.substr(0,2)]=ee(m)}),xt(["gg","GG"],function(m,P,j,$){P[$]=v.parseTwoDigitYear(m)}),ot("Q",0,"Qo","quarter"),pe("quarter","Q"),me("quarter",7),_t("Q",Gn),En("Q",function(m,P){P[fs]=3*(ee(m)-1)}),ot("D",["DD",2],"Do","date"),pe("date","D"),me("date",9),_t("D",ln),_t("DD",ln,oi),_t("Do",function(m,P){return m?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),En(["D","DD"],Po),En("Do",function(m,P){P[Po]=ee(m.match(ln)[0])});var y_=xa("Date",!0);ot("DDD",["DDDD",3],"DDDo","dayOfYear"),pe("dayOfYear","DDD"),me("dayOfYear",4),_t("DDD",Nn),_t("DDDD",Kr),En(["DDD","DDDD"],function(m,P,j){j._dayOfYear=ee(m)}),ot("m",["mm",2],0,"minute"),pe("minute","m"),me("minute",14),_t("m",ln),_t("mm",ln,oi),En(["m","mm"],ni);var lu=xa("Minutes",!1);ot("s",["ss",2],0,"second"),pe("second","s"),me("second",15),_t("s",ln),_t("ss",ln,oi),En(["s","ss"],ps);var po,M_=xa("Seconds",!1);for(ot("S",0,0,function(){return~~(this.millisecond()/100)}),ot(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ot(0,["SSS",3],0,"millisecond"),ot(0,["SSSS",4],0,function(){return 10*this.millisecond()}),ot(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),ot(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),ot(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),ot(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),ot(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),pe("millisecond","ms"),me("millisecond",16),_t("S",Nn,Gn),_t("SS",Nn,oi),_t("SSS",Nn,Kr),po="SSSS";po.length<=9;po+="S")_t(po,Sn);function w_(m,P){P[Bs]=ee(1e3*("0."+m))}for(po="S";po.length<=9;po+="S")En(po,w_);var MM=xa("Milliseconds",!1);ot("z",0,0,"zoneAbbr"),ot("zz",0,0,"zoneName");var Je=he.prototype;function Gi(m){return m}Je.add=Gs,Je.calendar=function ru(m,P){var j=m||Ut(),$=bs(j,this).startOf("day"),ne=v.calendarFormat(this,$)||"sameElse",Le=P&&(ke(P[ne])?P[ne].call(this,j):P[ne]);return this.format(Le||this.localeData().calendar(ne,this,Ut(j)))},Je.clone=function d_(){return new he(this)},Je.diff=function cM(m,P,j){var $,ne,Le;if(!this.isValid())return NaN;if(!($=bs(m,this)).isValid())return NaN;switch(ne=6e4*($.utcOffset()-this.utcOffset()),P=fe(P)){case"year":Le=Tf(this,$)/12;break;case"month":Le=Tf(this,$);break;case"quarter":Le=Tf(this,$)/3;break;case"second":Le=(this-$)/1e3;break;case"minute":Le=(this-$)/6e4;break;case"hour":Le=(this-$)/36e5;break;case"day":Le=(this-$-ne)/864e5;break;case"week":Le=(this-$-ne)/6048e5;break;default:Le=this-$}return j?Le:Q(Le)},Je.endOf=function qs(m){return void 0===(m=fe(m))||"millisecond"===m?this:("date"===m&&(m="day"),this.startOf(m).add(1,"isoWeek"===m?"week":m).subtract(1,"ms"))},Je.format=function fM(m){m||(m=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var P=bt(this,m);return this.localeData().postformat(P)},Je.from=function pM(m,P){return this.isValid()&&(q(m)&&m.isValid()||Ut(m).isValid())?yr({to:this,from:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Je.fromNow=function mM(m){return this.from(Ut(),m)},Je.to=function gM(m,P){return this.isValid()&&(q(m)&&m.isValid()||Ut(m).isValid())?yr({from:this,to:m}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},Je.toNow=function Lf(m){return this.to(Ut(),m)},Je.get=function eM(m){return ke(this[m=fe(m)])?this[m]():this},Je.invalidAt=function b_(){return U(this).overflow},Je.isAfter=function oM(m,P){var j=q(m)?m:Ut(m);return!(!this.isValid()||!j.isValid())&&("millisecond"===(P=fe(p(P)?"millisecond":P))?this.valueOf()>j.valueOf():j.valueOf()9999?bt(j,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ke(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",bt(j,"Z")):bt(j,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Je.inspect=function hM(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var m="moment",P="";this.isLocal()||(m=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z");var j="["+m+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(j+$+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},Je.toJSON=function g_(){return this.isValid()?this.toISOString():null},Je.toString=function dM(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Je.unix=function bM(){return Math.floor(this.valueOf()/1e3)},Je.valueOf=function Ef(){return this._d.valueOf()-6e4*(this._offset||0)},Je.creationData=function Fo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Je.year=jg,Je.isLeapYear=function Q1(){return $d(this.year())},Je.weekYear=function $i(m){return Ec.call(this,m,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Je.isoWeekYear=function Pf(m){return Ec.call(this,m,this.isoWeek(),this.isoWeekday(),1,4)},Je.quarter=Je.quarters=function v_(m){return null==m?Math.ceil((this.month()+1)/3):this.month(3*(m-1)+this.month()%3)},Je.month=Kd,Je.daysInMonth=function pc(){return qd(this.year(),this.month())},Je.week=Je.weeks=function gc(m){var P=this.localeData().week(this);return null==m?P:this.add(7*(m-P),"d")},Je.isoWeek=Je.isoWeeks=function Gg(m){var P=Cn(this,1,4).week;return null==m?P:this.add(7*(m-P),"d")},Je.weeksInYear=function au(){var m=this.localeData()._week;return ka(this.year(),m.dow,m.doy)},Je.isoWeeksInYear=function yM(){return ka(this.year(),1,4)},Je.date=y_,Je.day=Je.days=function _c(m){if(!this.isValid())return null!=m?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=m?(m=function qg(m,P){return"string"!=typeof m?m:isNaN(m)?"number"==typeof(m=P.weekdaysParse(m))?m:null:parseInt(m,10)}(m,this.localeData()),this.add(m-P,"d")):P},Je.weekday=function Jd(m){if(!this.isValid())return null!=m?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==m?P:this.add(m-P,"d")},Je.isoWeekday=function gl(m){if(!this.isValid())return null!=m?this:NaN;if(null!=m){var P=function Kg(m,P){return"string"==typeof m?P.weekdaysParse(m)%7||7:isNaN(m)?null:m}(m,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},Je.dayOfYear=function Of(m){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==m?P:this.add(m-P,"d")},Je.hour=Je.hours=vf,Je.minute=Je.minutes=lu,Je.second=Je.seconds=M_,Je.millisecond=Je.milliseconds=MM,Je.utcOffset=function yl(m,P,j){var ne,$=this._offset||0;if(!this.isValid())return null!=m?this:NaN;if(null!=m){if("string"==typeof m){if(null===(m=$s(Ca,m)))return this}else Math.abs(m)<16&&!j&&(m*=60);return!this._isUTC&&P&&(ne=Xr(this)),this._offset=m,this._isUTC=!0,null!=ne&&this.add(ne,"m"),$!==m&&(!P||this._changeInProgress?Tc(this,yr(m-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,v.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:Xr(this)},Je.utc=function vs(m){return this.utcOffset(0,m)},Je.local=function Xo(m){return this._isUTC&&(this.utcOffset(0,m),this._isUTC=!1,m&&this.subtract(Xr(this),"m")),this},Je.parseZone=function kc(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var m=$s(Bi,this._i);null!=m?this.utcOffset(m):this.utcOffset(0,!0)}return this},Je.hasAlignedHourOffset=function Sc(m){return!!this.isValid()&&(m=m?Ut(m).utcOffset():0,(this.utcOffset()-m)%60==0)},Je.isDST=function en(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Je.isLocal=function iu(){return!!this.isValid()&&!this._isUTC},Je.isUtcOffset=function Df(){return!!this.isValid()&&this._isUTC},Je.isUtc=ho,Je.isUTC=ho,Je.zoneAbbr=function wM(){return this._isUTC?"UTC":""},Je.zoneName=function CM(){return this._isUTC?"Coordinated Universal Time":""},Je.dates=J("dates accessor is deprecated. Use date instead.",y_),Je.months=J("months accessor is deprecated. Use month instead",Kd),Je.years=J("years accessor is deprecated. Use year instead",jg),Je.zone=J("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Sf(m,P){return null!=m?("string"!=typeof m&&(m=-m),this.utcOffset(m,P),this):-this.utcOffset()}),Je.isDSTShifted=J("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function rM(){if(!p(this._isDSTShifted))return this._isDSTShifted;var m={};if(Z(m,this),(m=vl(m))._a){var P=m._isUTC?L(m._a):Ut(m._a);this._isDSTShifted=this.isValid()&&ae(m._a,P.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var Yn=st.prototype;function Pc(m,P,j,$){var ne=_s(),Le=L().set($,P);return ne[j](Le,m)}function Af(m,P,j){if(y(m)&&(P=m,m=void 0),m=m||"",null!=P)return Pc(m,P,j,"month");var $,ne=[];for($=0;$<12;$++)ne[$]=Pc(m,$,j,"month");return ne}function Oc(m,P,j,$){"boolean"==typeof m?(y(P)&&(j=P,P=void 0),P=P||""):(j=P=m,m=!1,y(P)&&(j=P,P=void 0),P=P||"");var ne=_s(),Le=m?ne._week.dow:0;if(null!=j)return Pc(P,(j+Le)%7,$,"day");var je,At=[];for(je=0;je<7;je++)At[je]=Pc(P,(je+Le)%7,$,"day");return At}Yn.calendar=function an(m,P,j){var $=this._calendar[m]||this._calendar.sameElse;return ke($)?$.call(P,j):$},Yn.longDateFormat=function Fn(m){var P=this._longDateFormat[m],j=this._longDateFormat[m.toUpperCase()];return P||!j?P:(this._longDateFormat[m]=j.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[m])},Yn.invalidDate=function Ge(){return this._invalidDate},Yn.ordinal=function dr(m){return this._ordinal.replace("%d",m)},Yn.preparse=Gi,Yn.postformat=Gi,Yn.relativeTime=function W(m,P,j,$){var ne=this._relativeTime[j];return ke(ne)?ne(m,P,j,$):ne.replace(/%d/i,m)},Yn.pastFuture=function se(m,P){var j=this._relativeTime[m>0?"future":"past"];return ke(j)?j(P):j.replace(/%s/i,P)},Yn.set=function Be(m){var P,j;for(j in m)ke(P=m[j])?this[j]=P:this["_"+j]=P;this._config=m,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yn.months=function tM(m,P){return m?f(this._months)?this._months[m.month()]:this._months[(this._months.isFormat||zg).test(P)?"format":"standalone"][m.month()]:f(this._months)?this._months:this._months.standalone},Yn.monthsShort=function fc(m,P){return m?f(this._monthsShort)?this._monthsShort[m.month()]:this._monthsShort[zg.test(P)?"format":"standalone"][m.month()]:f(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yn.monthsParse=function uf(m,P,j){var $,ne,Le;if(this._monthsParseExact)return Ug.call(this,m,P,j);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(ne=L([2e3,$]),j&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(ne,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(ne,"").replace(".","")+"$","i")),!j&&!this._monthsParse[$]&&(Le="^"+this.months(ne,"")+"|^"+this.monthsShort(ne,""),this._monthsParse[$]=new RegExp(Le.replace(".",""),"i")),j&&"MMMM"===P&&this._longMonthsParse[$].test(m))return $;if(j&&"MMM"===P&&this._shortMonthsParse[$].test(m))return $;if(!j&&this._monthsParse[$].test(m))return $}},Yn.monthsRegex=function Ct(m){return this._monthsParseExact?(D(this,"_monthsRegex")||mc.call(this),m?this._monthsStrictRegex:this._monthsRegex):(D(this,"_monthsRegex")||(this._monthsRegex=Wg),this._monthsStrictRegex&&m?this._monthsStrictRegex:this._monthsRegex)},Yn.monthsShortRegex=function ff(m){return this._monthsParseExact?(D(this,"_monthsRegex")||mc.call(this),m?this._monthsShortStrictRegex:this._monthsShortRegex):(D(this,"_monthsShortRegex")||(this._monthsShortRegex=Zd),this._monthsShortStrictRegex&&m?this._monthsShortStrictRegex:this._monthsShortRegex)},Yn.week=function nM(m){return Cn(m,this._week.dow,this._week.doy).week},Yn.firstDayOfYear=function Xd(){return this._week.doy},Yn.firstDayOfWeek=function ml(){return this._week.dow},Yn.weekdays=function Sa(m,P){return m?f(this._weekdays)?this._weekdays[m.day()]:this._weekdays[this._weekdays.isFormat.test(P)?"format":"standalone"][m.day()]:f(this._weekdays)?this._weekdays:this._weekdays.standalone},Yn.weekdaysMin=function we(m){return m?this._weekdaysMin[m.day()]:this._weekdaysMin},Yn.weekdaysShort=function gs(m){return m?this._weekdaysShort[m.day()]:this._weekdaysShort},Yn.weekdaysParse=function Qe(m,P,j){var $,ne,Le;if(this._weekdaysParseExact)return _f.call(this,m,P,j);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(ne=L([2e3,1]).day($),j&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(ne,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(ne,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(ne,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Le="^"+this.weekdays(ne,"")+"|^"+this.weekdaysShort(ne,"")+"|^"+this.weekdaysMin(ne,""),this._weekdaysParse[$]=new RegExp(Le.replace(".",""),"i")),j&&"dddd"===P&&this._fullWeekdaysParse[$].test(m))return $;if(j&&"ddd"===P&&this._shortWeekdaysParse[$].test(m))return $;if(j&&"dd"===P&&this._minWeekdaysParse[$].test(m))return $;if(!j&&this._weekdaysParse[$].test(m))return $}},Yn.weekdaysRegex=function Jg(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysStrictRegex:this._weekdaysRegex):(D(this,"_weekdaysRegex")||(this._weekdaysRegex=Xg),this._weekdaysStrictRegex&&m?this._weekdaysStrictRegex:this._weekdaysRegex)},Yn.weekdaysShortRegex=function Ko(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(D(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Qg),this._weekdaysShortStrictRegex&&m?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yn.weekdaysMinRegex=function Dr(m){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||lo.call(this),m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(D(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Oo),this._weekdaysMinStrictRegex&&m?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yn.isPM=function bf(m){return"p"===(m+"").toLowerCase().charAt(0)},Yn.meridiem=function _l(m,P,j){return m>11?j?"pm":"PM":j?"am":"AM"},Ea("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(m){var P=m%10;return m+(1===ee(m%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),v.lang=J("moment.lang is deprecated. Use moment.locale instead.",Ea),v.langData=J("moment.langData is deprecated. Use moment.localeData instead.",_s);var No=Math.abs;function Un(m,P,j,$){var ne=yr(P,j);return m._milliseconds+=$*ne._milliseconds,m._days+=$*ne._days,m._months+=$*ne._months,m._bubble()}function wr(m){return m<0?Math.floor(m):Math.ceil(m)}function du(m){return 4800*m/146097}function ys(m){return 146097*m/4800}function mo(m){return function(){return this.as(m)}}var E_=mo("ms"),Ms=mo("s"),Nf=mo("m"),I_=mo("h"),Yf=mo("d"),Hf=mo("w"),Bf=mo("M"),P_=mo("y");function Aa(m){return function(){return this.isValid()?this._data[m]:NaN}}var O_=Aa("milliseconds"),A_=Aa("seconds"),F_=Aa("minutes"),jf=Aa("hours"),Fa=Aa("days"),R_=Aa("months"),N_=Aa("years");var ws=Math.round,Yo={ss:44,s:45,m:45,h:22,d:26,M:11};function Ve(m,P,j,$,ne){return ne.relativeTime(P||1,!!j,m,$)}var Fc=Math.abs;function Ho(m){return(m>0)-(m<0)||+m}function Br(){if(!this.isValid())return this.localeData().invalidDate();var $,ne,m=Fc(this._milliseconds)/1e3,P=Fc(this._days),j=Fc(this._months);$=Q(m/60),ne=Q($/60),m%=60,$%=60;var je=Q(j/12),At=j%=12,Wt=P,Di=ne,Vr=$,Ml=m?m.toFixed(3).replace(/\.?0+$/,""):"",wl=this.asSeconds();if(!wl)return"P0D";var uu=wl<0?"-":"",Rc=Ho(this._months)!==Ho(wl)?"-":"",zf=Ho(this._days)!==Ho(wl)?"-":"",Cl=Ho(this._milliseconds)!==Ho(wl)?"-":"";return uu+"P"+(je?Rc+je+"Y":"")+(At?Rc+At+"M":"")+(Wt?zf+Wt+"D":"")+(Di||Vr||Ml?"T":"")+(Di?Cl+Di+"H":"")+(Vr?Cl+Vr+"M":"")+(Ml?Cl+Ml+"S":"")}var tn=Et.prototype;return tn.isValid=function Pa(){return this._isValid},tn.abs=function Rf(){var m=this._data;return this._milliseconds=No(this._milliseconds),this._days=No(this._days),this._months=No(this._months),m.milliseconds=No(m.milliseconds),m.seconds=No(m.seconds),m.minutes=No(m.minutes),m.hours=No(m.hours),m.months=No(m.months),m.years=No(m.years),this},tn.add=function D_(m,P){return Un(this,m,P,1)},tn.subtract=function Ac(m,P){return Un(this,m,P,-1)},tn.as=function Tr(m){if(!this.isValid())return NaN;var P,j,$=this._milliseconds;if("month"===(m=fe(m))||"year"===m)return j=this._months+du(P=this._days+$/864e5),"month"===m?j:j/12;switch(P=this._days+Math.round(ys(this._months)),m){case"week":return P/7+$/6048e5;case"day":return P+$/864e5;case"hour":return 24*P+$/36e5;case"minute":return 1440*P+$/6e4;case"second":return 86400*P+$/1e3;case"millisecond":return Math.floor(864e5*P)+$;default:throw new Error("Unknown unit "+m)}},tn.asMilliseconds=E_,tn.asSeconds=Ms,tn.asMinutes=Nf,tn.asHours=I_,tn.asDays=Yf,tn.asWeeks=Hf,tn.asMonths=Bf,tn.asYears=P_,tn.valueOf=function L_(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ee(this._months/12):NaN},tn._bubble=function T_(){var ne,Le,je,At,Wt,m=this._milliseconds,P=this._days,j=this._months,$=this._data;return m>=0&&P>=0&&j>=0||m<=0&&P<=0&&j<=0||(m+=864e5*wr(ys(j)+P),P=0,j=0),$.milliseconds=m%1e3,ne=Q(m/1e3),$.seconds=ne%60,Le=Q(ne/60),$.minutes=Le%60,je=Q(Le/60),$.hours=je%24,P+=Q(je/24),j+=Wt=Q(du(P)),P-=wr(ys(Wt)),At=Q(j/12),j%=12,$.days=P,$.months=j,$.years=At,this},tn.clone=function Tt(){return yr(this)},tn.get=function Vf(m){return m=fe(m),this.isValid()?this[m+"s"]():NaN},tn.milliseconds=O_,tn.seconds=A_,tn.minutes=F_,tn.hours=jf,tn.days=Fa,tn.weeks=function Y_(){return Q(this.days()/7)},tn.months=R_,tn.years=N_,tn.humanize=function nr(m){if(!this.isValid())return this.localeData().invalidDate();var P=this.localeData(),j=function dn(m,P,j){var $=yr(m).abs(),ne=ws($.as("s")),Le=ws($.as("m")),je=ws($.as("h")),At=ws($.as("d")),Wt=ws($.as("M")),Di=ws($.as("y")),Vr=ne<=Yo.ss&&["s",ne]||ne0,Vr[4]=j,Ve.apply(null,Vr)}(this,!m,P);return m&&(j=P.pastFuture(+this,j)),P.postformat(j)},tn.toISOString=Br,tn.toString=Br,tn.toJSON=Br,tn.locale=ou,tn.localeData=p_,tn.toIsoString=J("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Br),tn.lang=f_,ot("X",0,0,"unix"),ot("x",0,0,"valueOf"),_t("x",wa),_t("X",/[+-]?\d+(\.\d{1,3})?/),En("X",function(m,P,j){j._d=new Date(1e3*parseFloat(m,10))}),En("x",function(m,P,j){j._d=new Date(ee(m))}),v.version="2.22.2",function u(m){O=m}(Ut),v.fn=Je,v.min=function uo(){return Jn("isBefore",[].slice.call(arguments,0))},v.max=function js(){return Jn("isAfter",[].slice.call(arguments,0))},v.now=function(){return Date.now?Date.now():+new Date},v.utc=L,v.unix=function C_(m){return Ut(1e3*m)},v.months=function Ff(m,P){return Af(m,P,"months")},v.isDate=x,v.locale=Ea,v.invalid=oe,v.duration=yr,v.isMoment=q,v.weekdays=function cu(m,P,j){return Oc(m,P,j,"weekdays")},v.parseZone=function x_(){return Ut.apply(null,arguments).parseZone()},v.localeData=_s,v.isDuration=Us,v.monthsShort=function k_(m,P){return Af(m,P,"monthsShort")},v.weekdaysMin=function Ro(m,P,j){return Oc(m,P,j,"weekdaysMin")},v.defineLocale=Mc,v.updateLocale=function e_(m,P){if(null!=P){var j,$,ne=Qd;null!=($=bl(m))&&(ne=$._config),(j=new st(P=tt(ne,P))).parentLocale=hi[m],hi[m]=j,Ea(m)}else null!=hi[m]&&(null!=hi[m].parentLocale?hi[m]=hi[m].parentLocale:null!=hi[m]&&delete hi[m]);return hi[m]},v.locales=function co(){return at(hi)},v.weekdaysShort=function S_(m,P,j){return Oc(m,P,j,"weekdaysShort")},v.normalizeUnits=fe,v.relativeTimeRounding=function Pe(m){return void 0===m?ws:"function"==typeof m&&(ws=m,!0)},v.relativeTimeThreshold=function Oe(m,P){return void 0!==Yo[m]&&(void 0===P?Yo[m]:(Yo[m]=P,"s"===m&&(Yo.ss=P-1),!0))},v.calendarFormat=function fo(m,P){var j=m.diff(P,"days",!0);return j<-6?"sameElse":j<-1?"lastWeek":j<0?"lastDay":j<1?"sameDay":j<2?"nextDay":j<7?"nextWeek":"sameElse"},v.prototype=Je,v.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"},v}()},6700:(de,ge,Y)=>{var O={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-nz":1248,"./en-nz.js":1248,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-tw":3291,"./zh-tw.js":3291};function v(f){var h=u(f);return Y(h)}function u(f){if(!Y.o(O,f)){var h=new Error("Cannot find module '"+f+"'");throw h.code="MODULE_NOT_FOUND",h}return O[f]}v.keys=function(){return Object.keys(O)},v.resolve=u,de.exports=v,v.id=6700},6297:(de,ge,Y)=>{var O={"./de.json":[3634,634],"./de_base.json":[3431,431],"./en.json":[502,502],"./es.json":[4268,268],"./es_base.json":[3974,974],"./pt.json":[5733,733],"./pt_base.json":[7048,48]};function v(u){if(!Y.o(O,u))return Promise.resolve().then(()=>{var M=new Error("Cannot find module '"+u+"'");throw M.code="MODULE_NOT_FOUND",M});var f=O[u],h=f[0];return Y.e(f[1]).then(()=>Y.t(h,19))}v.keys=()=>Object.keys(O),v.id=6297,de.exports=v}},de=>{de(de.s=2904)}]); \ No newline at end of file diff --git a/pkg/visor/static/runtime.13fa92ceb6e1663f.js b/pkg/visor/static/runtime.1f2281fa59960429.js similarity index 94% rename from pkg/visor/static/runtime.13fa92ceb6e1663f.js rename to pkg/visor/static/runtime.1f2281fa59960429.js index 93709f5662..6ef9920f3e 100644 --- a/pkg/visor/static/runtime.13fa92ceb6e1663f.js +++ b/pkg/visor/static/runtime.1f2281fa59960429.js @@ -1 +1 @@ -(()=>{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=g,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(o,i),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{48:"f3c46c7fb32dae39",268:"c0b8e83e0a291a52",431:"1f4577c404f8817c",502:"a4e9fc35b045124a",634:"c0a4f0f1cd0c7990",733:"247affe9af11643d",974:"09ece36b855cb059"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="skywire-manager:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==o)for(var d=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var y=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),y&&y.forEach(h=>h(b)),_)return _(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((s,u)=>i=e[f]=[s,u]);o.push(i[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,s=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var u=s&&("load"===s.type?"missing":s.type),p=s&&s.target&&s.target.src;d.message="Loading chunk "+f+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,i[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var d,c,[i,a,l]=o,s=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(f&&f(o);s{"use strict";var e,g={},v={};function r(e){var n=v[e];if(void 0!==n)return n.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=g,e=[],r.O=(n,t,f,o)=>{if(!t){var a=1/0;for(i=0;i=o)&&Object.keys(r.O).every(b=>r.O[b](t[d]))?t.splice(d--,1):(l=!1,o0&&e[i-1][2]>o;i--)e[i]=e[i-1];e[i]=[t,f,o]},r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},(()=>{var n,e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__;r.t=function(t,f){if(1&f&&(t=this(t)),8&f||"object"==typeof t&&t&&(4&f&&t.__esModule||16&f&&"function"==typeof t.then))return t;var o=Object.create(null);r.r(o);var i={};n=n||[null,e({}),e([]),e(e)];for(var a=2&f&&t;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(l=>i[l]=()=>t[l]);return i.default=()=>t,r.d(o,i),o}})(),r.d=(e,n)=>{for(var t in n)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((n,t)=>(r.f[t](e,n),n),[])),r.u=e=>e+"."+{48:"f3c46c7fb32dae39",268:"755c45a9f3e6ecc6",431:"1f4577c404f8817c",502:"93f6687395a91953",634:"c0a4f0f1cd0c7990",733:"247affe9af11643d",974:"e57677e8327af0db"}[e]+".js",r.miniCssF=e=>{},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="skywire-manager:";r.l=(t,f,o,i)=>{if(e[t])e[t].push(f);else{var a,l;if(void 0!==o)for(var d=document.getElementsByTagName("script"),c=0;c{a.onerror=a.onload=null,clearTimeout(p);var y=e[t];if(delete e[t],a.parentNode&&a.parentNode.removeChild(a),y&&y.forEach(h=>h(b)),_)return _(b)},p=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}}})(),r.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;r.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),r.tu=e=>r.tt().createScriptURL(e),r.p="",(()=>{var e={666:0};r.f.j=(f,o)=>{var i=r.o(e,f)?e[f]:void 0;if(0!==i)if(i)o.push(i[2]);else if(666!=f){var a=new Promise((s,u)=>i=e[f]=[s,u]);o.push(i[2]=a);var l=r.p+r.u(f),d=new Error;r.l(l,s=>{if(r.o(e,f)&&(0!==(i=e[f])&&(e[f]=void 0),i)){var u=s&&("load"===s.type?"missing":s.type),p=s&&s.target&&s.target.src;d.message="Loading chunk "+f+" failed.\n("+u+": "+p+")",d.name="ChunkLoadError",d.type=u,d.request=p,i[1](d)}},"chunk-"+f,f)}else e[f]=0},r.O.j=f=>0===e[f];var n=(f,o)=>{var d,c,[i,a,l]=o,s=0;if(i.some(p=>0!==e[p])){for(d in a)r.o(a,d)&&(r.m[d]=a[d]);if(l)var u=l(r)}for(f&&f(o);smat-icon,.generic-title-container .icon-button{opacity:.85}.subtle-transparent-button:hover,.generic-title-container .options .options-container>mat-icon:hover,.generic-title-container .icon-button:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins{padding:0!important}}@media (max-width: 767px){.full-node-list-margins{padding:0!important}}@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")}span{overflow-wrap:break-word}.font-sm{font-size:.875rem!important;font-weight:lighter!important}.font-smaller{font-size:.8rem!important;font-weight:lighter!important}.uppercase{text-transform:uppercase}.single-line,.options-list-button-container button .internal-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text{color:#2ecc54}.green-clear-text{color:#84c826}.yellow-text{color:#d48b05}.yellow-clear-text{color:orange}.red-text{color:#da3439}.red-clear-text{color:#ff393f}.grey-text{color:#777!important}.dot-green{height:10px;width:10px;background-color:#2ecc54;border-radius:50%;display:inline-block}.dot-green.sm{height:7px;width:7px}.dot-red{height:10px;width:10px;background-color:#da3439;border-radius:50%;display:inline-block}.dot-red.sm{height:7px;width:7px}.dot-yellow{height:10px;width:10px;background-color:#d48b05;border-radius:50%;display:inline-block}.dot-yellow.sm{height:7px;width:7px}.dot-outline-white{height:10px;width:10px;border-radius:50%;border:solid 1px #F8F9F9;display:inline-block}.dot-outline-white.sm{height:7px;width:7px}.dot-outline-gray{height:10px;width:10px;border-radius:50%;border:solid 1px #777;display:inline-block}.dot-outline-gray.sm{height:7px;width:7px}.mat-mdc-menu-panel{border-radius:10px!important;max-width:none!important}.mat-mdc-menu-item{width:auto!important}.mat-mdc-menu-item mat-icon{opacity:.5}.responsive-table-translucid{background:transparent!important;margin-left:auto;margin-right:auto;border-collapse:separate!important;width:100%;word-break:break-all;color:#f8f9f9!important}.responsive-table-translucid td,.responsive-table-translucid th{color:#f8f9f9!important;padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.15)}.responsive-table-translucid th{font-size:.875rem!important;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:48px}.responsive-table-translucid td{font-size:.8rem!important;font-weight:lighter!important}.responsive-table-translucid tr .sortable-column mat-icon{display:inline;position:relative;top:2px}.responsive-table-translucid .link-row{display:table-row}.responsive-table-translucid .link-row:hover{text-decoration:none}.responsive-table-translucid .selection-col{width:30px;padding-top:0;padding-bottom:0}.responsive-table-translucid .selection-col .mat-mdc-checkbox{vertical-align:super}.responsive-table-translucid .action-button,.responsive-table-translucid .big-action-button{width:28px!important;height:28px!important;line-height:16px;font-size:16px;margin-right:5px;padding:0!important;color:#fff!important;min-width:0!important}.responsive-table-translucid .action-button:last-child,.responsive-table-translucid .big-action-button:last-child{margin-right:0}.responsive-table-translucid .action-button .mat-icon,.responsive-table-translucid .big-action-button .mat-icon{margin-right:0!important}.responsive-table-translucid .big-action-button{line-height:18px;font-size:18px}.responsive-table-translucid .selectable,.responsive-table-translucid tr .sortable-column{cursor:pointer}.responsive-table-translucid .selectable:hover,.responsive-table-translucid tr .sortable-column:hover{background:rgba(0,0,0,.2)}.responsive-table-translucid .click-effect:active{background:rgba(0,0,0,.4)!important}.responsive-table-translucid mat-checkbox>label{margin-bottom:0}.responsive-table-translucid mat-checkbox .mdc-checkbox__background{box-sizing:border-box;width:18px;height:18px;background:rgba(0,0,0,.3)!important;border-radius:6px;border-width:2px;border-color:#00000080}.responsive-table-translucid mat-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background{background-color:#0000004d!important;border-color:#00000080!important}.responsive-table-translucid mat-checkbox svg{color:#fff!important}.responsive-table-translucid .list-item-container{display:flex;padding:10px 0 10px 15px}.responsive-table-translucid .list-item-container .check-part{width:50px;flex-shrink:0;margin-left:-20px}.responsive-table-translucid .list-item-container .left-part{flex-grow:1}.responsive-table-translucid .list-item-container .left-part .list-row{margin-bottom:5px;word-break:break-word}.responsive-table-translucid .list-item-container .left-part .list-row:last-of-type{margin-bottom:0}.responsive-table-translucid .list-item-container .left-part .long-content{word-break:break-all}.responsive-table-translucid .list-item-container .margin-part{width:5px;height:5px;flex-shrink:0}.responsive-table-translucid .list-item-container .right-part{width:60px;text-align:center;flex-shrink:0}.responsive-table-translucid .list-item-container .right-part button{width:60px;height:60px}.responsive-table-translucid .list-item-container .right-part mat-icon{display:inline;font-size:20px}.responsive-table-translucid .title{font-size:.875rem!important;font-weight:700}@media (min-width: 768px){.generic-title-container{padding-right:5px}}@media (max-width: 767px){.generic-title-container{margin-right:-15px}}.generic-title-container .title{margin-right:auto;font-size:1rem;font-weight:700}@media (min-width: 768px){.generic-title-container .title{margin-left:1.25rem!important}}.generic-title-container .title .filter-label{font-size:.7rem;font-weight:lighter}.generic-title-container .title .help{opacity:.5;font-size:14px;cursor:default}.generic-title-container .icon-button{display:flex;line-height:18px!important;margin-right:15px;background:#F8F9F9;color:#154b6c;border-radius:1000px;cursor:pointer;padding:1px 7px;font-weight:400;border:0;font-size:.8rem;align-items:center}.generic-title-container .icon-button mat-icon{margin-right:2px;font-size:18px;height:auto;width:auto}@media (max-width: 767px){.generic-title-container .icon-button{padding:1px 10px;line-height:24px!important;font-size:.875rem!important}.generic-title-container .icon-button mat-icon{margin-right:3px;font-size:22px}}.generic-title-container .options{text-align:right}.generic-title-container .options .options-container{text-align:right;display:inline-flex}.generic-title-container .options .options-container>mat-icon{width:18px!important;height:18px!important;line-height:18px!important;font-size:18px!important;margin-right:15px;background:#F8F9F9;color:#154b6c;border-radius:1000px;cursor:pointer}@media (max-width: 767px){.generic-title-container .options .options-container>mat-icon{width:24px!important;height:24px!important;line-height:24px!important;font-size:24px!important}}.generic-title-container .options .options-container .small-icon{font-size:14px!important;text-align:center}.paginator-icons-fixer mat-icon:last-of-type{margin-right:0!important}mat-form-field{display:block!important}.white-form-field{color:#f8f9f9}.white-form-field .mat-mdc-select-value,.white-form-field .mat-mdc-select-arrow{color:#f8f9f9!important}.white-form-field .mdc-line-ripple:before{border-bottom-color:#f8f9f980!important}.white-form-field input{color:#f8f9f9!important}.white-form-field .mat-mdc-input-element{caret-color:#f8f9f9}.form-help-icon-container,.white-form-help-icon-container{height:0px;text-align:right;color:#215f9e}.white-form-help-icon-container{color:#f8f9f9cc}.element-disabled{pointer-events:none!important;opacity:.5!important}.app-background{width:100%;height:100%;top:0;left:0;position:fixed;background:linear-gradient(#060a10,#0a1421) no-repeat fixed!important;box-shadow:inset 0 0 200px #608dcd40;z-index:-1}.no-gradient-for-elevated-box{box-shadow:5px 5px 7px #00000059!important}.elevated-box,.rounded-elevated-box,.small-rounded-elevated-box{background-image:url(/assets/img/background-pattern.png);box-shadow:inset 0 0 55px #35578666,5px 5px 7px #00000059;border:rgba(156,197,255,.33) solid 1px}.rounded-elevated-box,.small-rounded-elevated-box{width:100%;border-radius:10px;overflow:hidden;padding:3px}.rounded-elevated-box .box-internal-container,.small-rounded-elevated-box .box-internal-container{border-radius:10px;padding:12px;border:rgba(156,197,255,.1155) solid 1px;overflow:hidden}.small-rounded-elevated-box{width:unset;padding:0;box-shadow:inset 0 0 20px #35578666,5px 5px 7px #00000059}.mat-mdc-dialog-surface{border-radius:10px!important;background-image:url(/assets/img/modal-background-pattern.png)!important;box-shadow:inset 0 0 100px #ffffff80,5px 5px 15px #000!important;background-color:#e0e5ec!important;overflow:hidden;padding:24px!important}.mat-mdc-dialog-content{font-family:Skycoin!important;margin:0 -24px -24px!important;padding:24px!important;color:#202226!important;line-height:1.5!important}app-dialog app-loading-indicator{margin-top:32px;margin-bottom:24px}.options-list-button-container{margin:0 -24px}.options-list-button-container button{width:100%}.options-list-button-container button .internal-container{text-align:left;padding:5px 7px}.options-list-button-container button mat-icon{margin-right:10px;position:relative;top:2px;opacity:.5}.options-list-button-container:first-of-type{margin-top:-24px!important}.options-list-button-container:last-of-type{margin-bottom:-24px!important}.info-dialog{word-break:break-all;font-size:.875rem;color:#202226}.info-dialog .title{margin-bottom:2px;font-size:1rem;margin-top:25px;color:#215f9e;display:flex}.info-dialog .title mat-icon{margin-right:5px;position:relative;top:2px}.info-dialog .item{margin-top:2px}.info-dialog .item span{color:#999}.top-dialog-button{margin-left:-24px;margin-right:-24px;font-size:.8rem;background-color:#d9deeb;color:#202226;cursor:pointer}.top-dialog-button:hover{background-color:#cfd5e6}.top-dialog-button .top-dialog-button-content{padding:10px 24px}.top-dialog-button .top-dialog-button-margin{height:1px;background-color:#215f9e33;margin:0 12px}.vpn-small-button{cursor:pointer;-webkit-user-select:none;user-select:none}.vpn-small-button:active{transform:scale(.9)}.vpn-dark-box-radius{border-radius:10px}.vpn-table-container{text-align:center}.vpn-table-container .width-limiter{width:inherit;max-width:1250px;display:inline-block;text-align:initial}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(32,34,38,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#f8f9f9}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#f8f9f9;border:1px solid rgba(32,34,38,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item:hover,.list-group-item:focus{z-index:1;text-decoration:none}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;background-color:#f8f9f9}.list-group-item.active{z-index:2;color:#f8f9f9;background-color:#007bff;border-color:#007bff}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom:0}.list-group-item-primary{color:#0f5097;background-color:#b3d6fb}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#0f5097;background-color:#9bc9fa}.list-group-item-primary.list-group-item-action.active{color:#f8f9f9;background-color:#0f5097;border-color:#0f5097}.list-group-item-secondary{color:#484d53;background-color:#d1d4d6}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#484d53;background-color:#c4c7ca}.list-group-item-secondary.list-group-item-action.active{color:#f8f9f9;background-color:#484d53;border-color:#484d53}.list-group-item-success{color:#277a3e;background-color:#bfeccb}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#277a3e;background-color:#abe6bb}.list-group-item-success.list-group-item-action.active{color:#f8f9f9;background-color:#277a3e;border-color:#277a3e}.list-group-item-info{color:#1b6572;background-color:#b9e1e7}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#1b6572;background-color:#a6d9e0}.list-group-item-info.list-group-item-action.active{color:#f8f9f9;background-color:#1b6572;border-color:#1b6572}.list-group-item-warning{color:#7e5915;background-color:#eedab5}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#7e5915;background-color:#e9d0a0}.list-group-item-warning.list-group-item-action.active{color:#f8f9f9;background-color:#7e5915;border-color:#7e5915}.list-group-item-danger{color:#812b30;background-color:#f0c2c3}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#812b30;background-color:#ebaeaf}.list-group-item-danger.list-group-item-action.active{color:#f8f9f9;background-color:#812b30;border-color:#812b30}.list-group-item-light{color:#909294;background-color:#f8f9f9}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#909294;background-color:#eaeded}.list-group-item-light.list-group-item-action.active{color:#f8f9f9;background-color:#909294;border-color:#909294}.list-group-item-dark{color:#2a2e34;background-color:#c1c4c5}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#2a2e34;background-color:#b4b7b9}.list-group-item-dark.list-group-item-action.active{color:#f8f9f9;background-color:#2a2e34;border-color:#2a2e34}.list-group-item-green{color:#277a3e;background-color:#bfeccb}.list-group-item-green.list-group-item-action:hover,.list-group-item-green.list-group-item-action:focus{color:#277a3e;background-color:#abe6bb}.list-group-item-green.list-group-item-action.active{color:#f8f9f9;background-color:#277a3e;border-color:#277a3e}.list-group-item-red{color:#812b30;background-color:#f0c2c3}.list-group-item-red.list-group-item-action:hover,.list-group-item-red.list-group-item-action:focus{color:#812b30;background-color:#ebaeaf}.list-group-item-red.list-group-item-action.active{color:#f8f9f9;background-color:#812b30;border-color:#812b30}.list-group-item-yellow{color:#7e5915;background-color:#eedab5}.list-group-item-yellow.list-group-item-action:hover,.list-group-item-yellow.list-group-item-action:focus{color:#7e5915;background-color:#e9d0a0}.list-group-item-yellow.list-group-item-action.active{color:#f8f9f9;background-color:#7e5915;border-color:#7e5915}.list-group-item-translucid-hover{color:#1d1e2295;background-color:#eeefefc6}.list-group-item-translucid-hover.list-group-item-action:hover,.list-group-item-translucid-hover.list-group-item-action:focus{color:#1d1e2295;background-color:#e1e3e3c6}.list-group-item-translucid-hover.list-group-item-action.active{color:#f8f9f9;background-color:#1d1e2295;border-color:#1d1e2295}.list-group-item-translucid-hover-hard{color:#191b1eaf;background-color:#e2e3e3d4}.list-group-item-translucid-hover-hard.list-group-item-action:hover,.list-group-item-translucid-hover-hard.list-group-item-action:focus{color:#191b1eaf;background-color:#d5d6d6d4}.list-group-item-translucid-hover-hard.list-group-item-action.active{color:#f8f9f9;background-color:#191b1eaf;border-color:#191b1eaf}.list-group-item-white{color:#909294;background-color:#f8f9f9}.list-group-item-white.list-group-item-action:hover,.list-group-item-white.list-group-item-action:focus{color:#909294;background-color:#eaeded}.list-group-item-white.list-group-item-action.active{color:#f8f9f9;background-color:#909294;border-color:#909294}.list-group-item-light-gray{color:#4d4e50;background-color:#d4d5d5}.list-group-item-light-gray.list-group-item-action:hover,.list-group-item-light-gray.list-group-item-action:focus{color:#4d4e50;background-color:#c7c8c8}.list-group-item-light-gray.list-group-item-action.active{color:#f8f9f9;background-color:#4d4e50;border-color:#4d4e50}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}h1,.h1{font-size:2.5rem}h2,.h2{font-size:2rem}h3,.h3{font-size:1.75rem}h4,.h4{font-size:1.5rem}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(32,34,38,.1)}small,.small{font-size:80%;font-weight:400}mark,.mark{padding:.2em;background-color:#fcf8e3}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}/*! +@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.1e50f5c2ffa6aba4.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(MaterialIcons-Regular.7ea2023eeca07427.woff2) format("woff2"),url(MaterialIcons-Regular.db852539204b1a34.woff) format("woff"),url(MaterialIcons-Regular.196fa4a92dd6fa73.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@charset "UTF-8";.cursor-pointer,.highlight-internal-icon{cursor:pointer}.reactivate-mouse{touch-action:initial!important;-webkit-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled{pointer-events:none}.clearfix:after{content:"";display:block;clear:both}.mt-4\.5{margin-top:2rem!important}.highlight-internal-icon mat-icon{opacity:.5}.highlight-internal-icon:hover mat-icon{opacity:.8}.transparent-button{opacity:.5}.transparent-button:hover{opacity:1}.subtle-transparent-button,.generic-title-container .options .options-container>mat-icon,.generic-title-container .icon-button{opacity:.85}.subtle-transparent-button:hover,.generic-title-container .options .options-container>mat-icon:hover,.generic-title-container .icon-button:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins{padding:0!important}}@media (max-width: 767px){.full-node-list-margins{padding:0!important}}@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")}span{overflow-wrap:break-word}.font-sm{font-size:.875rem!important;font-weight:lighter!important}.font-smaller{font-size:.8rem!important;font-weight:lighter!important}.uppercase{text-transform:uppercase}.single-line,.options-list-button-container button .internal-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text{color:#2ecc54}.green-clear-text{color:#84c826}.yellow-text{color:#d48b05}.yellow-clear-text{color:orange}.red-text{color:#da3439}.red-clear-text{color:#ff393f}.grey-text{color:#777!important}.dot-green{height:10px;width:10px;background-color:#2ecc54;border-radius:50%;display:inline-block}.dot-green.sm{height:7px;width:7px}.dot-red{height:10px;width:10px;background-color:#da3439;border-radius:50%;display:inline-block}.dot-red.sm{height:7px;width:7px}.dot-yellow{height:10px;width:10px;background-color:#d48b05;border-radius:50%;display:inline-block}.dot-yellow.sm{height:7px;width:7px}.dot-outline-white{height:10px;width:10px;border-radius:50%;border:solid 1px #F8F9F9;display:inline-block}.dot-outline-white.sm{height:7px;width:7px}.dot-outline-gray{height:10px;width:10px;border-radius:50%;border:solid 1px #777;display:inline-block}.dot-outline-gray.sm{height:7px;width:7px}.mat-mdc-menu-panel{border-radius:10px!important;max-width:none!important}.mat-mdc-menu-item{width:auto!important}.mat-mdc-menu-item mat-icon{opacity:.5}.responsive-table-translucid{background:transparent!important;margin-left:auto;margin-right:auto;border-collapse:separate!important;width:100%;word-break:break-all;color:#f8f9f9!important}.responsive-table-translucid td,.responsive-table-translucid th{color:#f8f9f9!important;padding:12px 10px;border-bottom:1px solid rgba(255,255,255,.15)}.responsive-table-translucid th{font-size:.875rem!important;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:48px}.responsive-table-translucid td{font-size:.8rem!important;font-weight:lighter!important}.responsive-table-translucid tr .sortable-column mat-icon{display:inline;position:relative;top:2px}.responsive-table-translucid .link-row{display:table-row}.responsive-table-translucid .link-row:hover{text-decoration:none}.responsive-table-translucid .selection-col{width:30px;padding-top:0;padding-bottom:0}.responsive-table-translucid .selection-col .mat-mdc-checkbox{vertical-align:super}.responsive-table-translucid .action-button,.responsive-table-translucid .big-action-button{width:28px!important;height:28px!important;line-height:16px;font-size:16px;margin-right:5px;padding:0!important;color:#fff!important;min-width:0!important}.responsive-table-translucid .action-button:last-child,.responsive-table-translucid .big-action-button:last-child{margin-right:0}.responsive-table-translucid .action-button .mat-icon,.responsive-table-translucid .big-action-button .mat-icon{margin-right:0!important}.responsive-table-translucid .big-action-button{line-height:18px;font-size:18px}.responsive-table-translucid .selectable,.responsive-table-translucid tr .sortable-column{cursor:pointer}.responsive-table-translucid .selectable:hover,.responsive-table-translucid tr .sortable-column:hover{background:rgba(0,0,0,.2)}.responsive-table-translucid .click-effect:active{background:rgba(0,0,0,.4)!important}.responsive-table-translucid mat-checkbox>label{margin-bottom:0}.responsive-table-translucid mat-checkbox .mdc-checkbox__background{box-sizing:border-box;width:18px;height:18px;background:rgba(0,0,0,.3)!important;border-radius:6px;border-width:2px;border-color:#00000080}.responsive-table-translucid mat-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background{background-color:#0000004d!important;border-color:#00000080!important}.responsive-table-translucid mat-checkbox svg{color:#fff!important}.responsive-table-translucid .list-item-container{display:flex;padding:10px 0 10px 15px}.responsive-table-translucid .list-item-container .check-part{width:50px;flex-shrink:0;margin-left:-20px}.responsive-table-translucid .list-item-container .left-part{flex-grow:1}.responsive-table-translucid .list-item-container .left-part .list-row{margin-bottom:5px;word-break:break-word}.responsive-table-translucid .list-item-container .left-part .list-row:last-of-type{margin-bottom:0}.responsive-table-translucid .list-item-container .left-part .long-content{word-break:break-all}.responsive-table-translucid .list-item-container .margin-part{width:5px;height:5px;flex-shrink:0}.responsive-table-translucid .list-item-container .right-part{width:60px;text-align:center;flex-shrink:0}.responsive-table-translucid .list-item-container .right-part button{width:60px;height:60px}.responsive-table-translucid .list-item-container .right-part mat-icon{display:inline;font-size:20px}.responsive-table-translucid .title{font-size:.875rem!important;font-weight:700}@media (min-width: 768px){.generic-title-container{padding-right:5px}}@media (max-width: 767px){.generic-title-container{margin-right:-15px}}.generic-title-container .title{margin-right:auto;font-size:1rem;font-weight:700}@media (min-width: 768px){.generic-title-container .title{margin-left:1.25rem!important}}.generic-title-container .title .filter-label{font-size:.7rem;font-weight:lighter}.generic-title-container .title .help{opacity:.5;font-size:14px;cursor:default}.generic-title-container .icon-button{display:flex;line-height:18px!important;margin-right:15px;background:#F8F9F9;color:#154b6c;border-radius:1000px;cursor:pointer;padding:1px 7px;font-weight:400;border:0;font-size:.8rem;align-items:center}.generic-title-container .icon-button mat-icon{margin-right:2px;font-size:18px;height:auto;width:auto}@media (max-width: 767px){.generic-title-container .icon-button{padding:1px 10px;line-height:24px!important;font-size:.875rem!important}.generic-title-container .icon-button mat-icon{margin-right:3px;font-size:22px}}.generic-title-container .options{text-align:right}.generic-title-container .options .options-container{text-align:right;display:inline-flex}.generic-title-container .options .options-container>mat-icon{width:18px!important;height:18px!important;line-height:18px!important;font-size:18px!important;margin-right:15px;background:#F8F9F9;color:#154b6c;border-radius:1000px;cursor:pointer}@media (max-width: 767px){.generic-title-container .options .options-container>mat-icon{width:24px!important;height:24px!important;line-height:24px!important;font-size:24px!important}}.generic-title-container .options .options-container .small-icon{font-size:14px!important;text-align:center}.paginator-icons-fixer{margin-right:0!important}mat-form-field{display:block!important}.white-form-field{color:#f8f9f9}.white-form-field .mat-mdc-select-value,.white-form-field .mat-mdc-select-arrow{color:#f8f9f9!important}.white-form-field .mdc-line-ripple:before{border-bottom-color:#f8f9f980!important}.white-form-field input{color:#f8f9f9!important}.white-form-field .mat-mdc-input-element{caret-color:#f8f9f9}.form-help-icon-container,.white-form-help-icon-container{height:0px;text-align:right;color:#215f9e}.white-form-help-icon-container{color:#f8f9f9cc}.element-disabled{pointer-events:none!important;opacity:.5!important}.app-background{width:100%;height:100%;top:0;left:0;position:fixed;background:linear-gradient(#060a10,#0a1421) no-repeat fixed!important;box-shadow:inset 0 0 200px #608dcd40;z-index:-1}.no-gradient-for-elevated-box{box-shadow:5px 5px 7px #00000059!important}.elevated-box,.rounded-elevated-box,.small-rounded-elevated-box{background-image:url(/assets/img/background-pattern.png);box-shadow:inset 0 0 55px #35578666,5px 5px 7px #00000059;border:rgba(156,197,255,.33) solid 1px}.rounded-elevated-box,.small-rounded-elevated-box{width:100%;border-radius:10px;overflow:hidden;padding:3px}.rounded-elevated-box .box-internal-container,.small-rounded-elevated-box .box-internal-container{border-radius:10px;padding:12px;border:rgba(156,197,255,.1155) solid 1px;overflow:hidden}.small-rounded-elevated-box{width:unset;padding:0;box-shadow:inset 0 0 20px #35578666,5px 5px 7px #00000059}.mat-mdc-dialog-surface{border-radius:10px!important;background-image:url(/assets/img/modal-background-pattern.png)!important;box-shadow:inset 0 0 100px #ffffff80,5px 5px 15px #000!important;background-color:#e0e5ec!important;overflow:hidden;padding:24px!important}.mat-mdc-dialog-content{font-family:Skycoin!important;margin:0 -24px -24px!important;padding:24px!important;color:#202226!important;line-height:1.5!important}app-dialog app-loading-indicator{margin-top:32px;margin-bottom:24px}.options-list-button-container{margin:0 -24px}.options-list-button-container button{width:100%}.options-list-button-container button .internal-container{text-align:left;padding:5px 7px}.options-list-button-container button mat-icon{margin-right:10px;position:relative;top:2px;opacity:.5}.options-list-button-container:first-of-type{margin-top:-24px!important}.options-list-button-container:last-of-type{margin-bottom:-24px!important}.info-dialog{word-break:break-all;font-size:.875rem;color:#202226}.info-dialog .title{margin-bottom:2px;font-size:1rem;margin-top:25px;color:#215f9e;display:flex}.info-dialog .title mat-icon{margin-right:5px;position:relative;top:2px}.info-dialog .item{margin-top:2px}.info-dialog .item span{color:#999}.top-dialog-button{margin-left:-24px;margin-right:-24px;font-size:.8rem;background-color:#d9deeb;color:#202226;cursor:pointer}.top-dialog-button:hover{background-color:#cfd5e6}.top-dialog-button .top-dialog-button-content{padding:10px 24px}.top-dialog-button .top-dialog-button-margin{height:1px;background-color:#215f9e33;margin:0 12px}.vpn-small-button{cursor:pointer;-webkit-user-select:none;user-select:none}.vpn-small-button:active{transform:scale(.9)}.vpn-dark-box-radius{border-radius:10px}.vpn-table-container{text-align:center}.vpn-table-container .width-limiter{width:inherit;max-width:1250px;display:inline-block;text-align:initial}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(32,34,38,0)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#f8f9f9}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[title],abbr[data-original-title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):hover,a:not([href]):not([tabindex]):focus{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.list-group{display:flex;flex-direction:column;padding-left:0;margin-bottom:0}.list-group-item-action{width:100%;color:#495057;text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{color:#495057;text-decoration:none;background-color:#f8f9fa}.list-group-item-action:active{color:#212529;background-color:#e9ecef}.list-group-item{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#f8f9f9;border:1px solid rgba(32,34,38,.125)}.list-group-item:first-child{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.list-group-item:hover,.list-group-item:focus{z-index:1;text-decoration:none}.list-group-item.disabled,.list-group-item:disabled{color:#6c757d;background-color:#f8f9f9}.list-group-item.active{z-index:2;color:#f8f9f9;background-color:#007bff;border-color:#007bff}.list-group-flush .list-group-item{border-right:0;border-left:0;border-radius:0}.list-group-flush:first-child .list-group-item:first-child{border-top:0}.list-group-flush:last-child .list-group-item:last-child{border-bottom:0}.list-group-item-primary{color:#0f5097;background-color:#b3d6fb}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#0f5097;background-color:#9bc9fa}.list-group-item-primary.list-group-item-action.active{color:#f8f9f9;background-color:#0f5097;border-color:#0f5097}.list-group-item-secondary{color:#484d53;background-color:#d1d4d6}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#484d53;background-color:#c4c7ca}.list-group-item-secondary.list-group-item-action.active{color:#f8f9f9;background-color:#484d53;border-color:#484d53}.list-group-item-success{color:#277a3e;background-color:#bfeccb}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#277a3e;background-color:#abe6bb}.list-group-item-success.list-group-item-action.active{color:#f8f9f9;background-color:#277a3e;border-color:#277a3e}.list-group-item-info{color:#1b6572;background-color:#b9e1e7}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#1b6572;background-color:#a6d9e0}.list-group-item-info.list-group-item-action.active{color:#f8f9f9;background-color:#1b6572;border-color:#1b6572}.list-group-item-warning{color:#7e5915;background-color:#eedab5}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#7e5915;background-color:#e9d0a0}.list-group-item-warning.list-group-item-action.active{color:#f8f9f9;background-color:#7e5915;border-color:#7e5915}.list-group-item-danger{color:#812b30;background-color:#f0c2c3}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#812b30;background-color:#ebaeaf}.list-group-item-danger.list-group-item-action.active{color:#f8f9f9;background-color:#812b30;border-color:#812b30}.list-group-item-light{color:#909294;background-color:#f8f9f9}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#909294;background-color:#eaeded}.list-group-item-light.list-group-item-action.active{color:#f8f9f9;background-color:#909294;border-color:#909294}.list-group-item-dark{color:#2a2e34;background-color:#c1c4c5}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#2a2e34;background-color:#b4b7b9}.list-group-item-dark.list-group-item-action.active{color:#f8f9f9;background-color:#2a2e34;border-color:#2a2e34}.list-group-item-green{color:#277a3e;background-color:#bfeccb}.list-group-item-green.list-group-item-action:hover,.list-group-item-green.list-group-item-action:focus{color:#277a3e;background-color:#abe6bb}.list-group-item-green.list-group-item-action.active{color:#f8f9f9;background-color:#277a3e;border-color:#277a3e}.list-group-item-red{color:#812b30;background-color:#f0c2c3}.list-group-item-red.list-group-item-action:hover,.list-group-item-red.list-group-item-action:focus{color:#812b30;background-color:#ebaeaf}.list-group-item-red.list-group-item-action.active{color:#f8f9f9;background-color:#812b30;border-color:#812b30}.list-group-item-yellow{color:#7e5915;background-color:#eedab5}.list-group-item-yellow.list-group-item-action:hover,.list-group-item-yellow.list-group-item-action:focus{color:#7e5915;background-color:#e9d0a0}.list-group-item-yellow.list-group-item-action.active{color:#f8f9f9;background-color:#7e5915;border-color:#7e5915}.list-group-item-translucid-hover{color:#1d1e2295;background-color:#eeefefc6}.list-group-item-translucid-hover.list-group-item-action:hover,.list-group-item-translucid-hover.list-group-item-action:focus{color:#1d1e2295;background-color:#e1e3e3c6}.list-group-item-translucid-hover.list-group-item-action.active{color:#f8f9f9;background-color:#1d1e2295;border-color:#1d1e2295}.list-group-item-translucid-hover-hard{color:#191b1eaf;background-color:#e2e3e3d4}.list-group-item-translucid-hover-hard.list-group-item-action:hover,.list-group-item-translucid-hover-hard.list-group-item-action:focus{color:#191b1eaf;background-color:#d5d6d6d4}.list-group-item-translucid-hover-hard.list-group-item-action.active{color:#f8f9f9;background-color:#191b1eaf;border-color:#191b1eaf}.list-group-item-white{color:#909294;background-color:#f8f9f9}.list-group-item-white.list-group-item-action:hover,.list-group-item-white.list-group-item-action:focus{color:#909294;background-color:#eaeded}.list-group-item-white.list-group-item-action.active{color:#f8f9f9;background-color:#909294;border-color:#909294}.list-group-item-light-gray{color:#4d4e50;background-color:#d4d5d5}.list-group-item-light-gray.list-group-item-action:hover,.list-group-item-light-gray.list-group-item-action:focus{color:#4d4e50;background-color:#c7c8c8}.list-group-item-light-gray.list-group-item-action.active{color:#f8f9f9;background-color:#4d4e50;border-color:#4d4e50}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{margin-bottom:.5rem;font-family:inherit;font-weight:500;line-height:1.2;color:inherit}h1,.h1{font-size:2.5rem}h2,.h2{font-size:2rem}h3,.h3{font-size:1.75rem}h4,.h4{font-size:1.5rem}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(32,34,38,.1)}small,.small{font-size:80%;font-weight:400}mark,.mark{padding:.2em;background-color:#fcf8e3}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:90%;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote-footer{display:block;font-size:80%;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}/*! * Bootstrap Grid v4.1.3 (https://getbootstrap.com/) * Copyright 2011-2018 The Bootstrap Authors * Copyright 2011-2018 Twitter, Inc. diff --git a/static/skywire-manager-src/dist/assets/i18n/en.json b/static/skywire-manager-src/dist/assets/i18n/en.json index 7208802ac0..11e95661be 100644 --- a/static/skywire-manager-src/dist/assets/i18n/en.json +++ b/static/skywire-manager-src/dist/assets/i18n/en.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Unknown", "close": "Close", - "window-size-error": "The window is too narrow for the content." + "window-size-error": "The window is too narrow for the content.", + "data-update-problems": "Problem updating the data." }, "labeled-element": { diff --git a/static/skywire-manager-src/dist/assets/i18n/es.json b/static/skywire-manager-src/dist/assets/i18n/es.json index bfeaa503ba..b7c28e138d 100644 --- a/static/skywire-manager-src/dist/assets/i18n/es.json +++ b/static/skywire-manager-src/dist/assets/i18n/es.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Desconocido", "close": "Cerrar", - "window-size-error": "La ventana es demasiado estrecha para el contenido." + "window-size-error": "La ventana es demasiado estrecha para el contenido.", + "data-update-problems": "Problema actualizando los datos." }, "labeled-element": { diff --git a/static/skywire-manager-src/dist/assets/i18n/es_base.json b/static/skywire-manager-src/dist/assets/i18n/es_base.json index 702795066f..e3b5cd9133 100644 --- a/static/skywire-manager-src/dist/assets/i18n/es_base.json +++ b/static/skywire-manager-src/dist/assets/i18n/es_base.json @@ -20,7 +20,8 @@ "no": "No", "unknown": "Unknown", "close": "Close", - "window-size-error": "The window is too narrow for the content." + "window-size-error": "The window is too narrow for the content.", + "data-update-problems": "Problem updating the data." }, "labeled-element": { diff --git a/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss b/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss index 16a527d3b2..24fd7cb490 100644 --- a/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss +++ b/static/skywire-manager-src/dist/assets/scss/_responsive_tables.scss @@ -306,7 +306,5 @@ $responsive-table-colors: ( // Allows to remove the margin at the right of the last mat-icon element inside // generic-title-container, to make it be shown correctly when there is a paginator. .paginator-icons-fixer { - mat-icon:last-of-type { - margin-right: 0 !important; - } + margin-right: 0 !important; } diff --git a/static/skywire-manager-src/dist/index.html b/static/skywire-manager-src/dist/index.html index 63505548ab..2db82b29ce 100644 --- a/static/skywire-manager-src/dist/index.html +++ b/static/skywire-manager-src/dist/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/vendor/github.com/skycoin/dmsg/pkg/dmsg/client.go b/vendor/github.com/skycoin/dmsg/pkg/dmsg/client.go index e23860f01a..27e86e1c92 100644 --- a/vendor/github.com/skycoin/dmsg/pkg/dmsg/client.go +++ b/vendor/github.com/skycoin/dmsg/pkg/dmsg/client.go @@ -472,6 +472,16 @@ func (ce *Client) AllEntries(ctx context.Context) (entries []string, err error) return entries, err } +// ConnectedServersPK return keys of all connected dmsg servers +func (ce *Client) ConnectedServersPK() []string { + sessions := ce.allClientSessions(ce.porter) + addrs := make([]string, len(sessions)) + for i, s := range sessions { + addrs[i] = s.RemotePK().String() + } + return addrs +} + // ConnectionsSummary associates connected clients, and the servers that connect such clients. // Key: Client PK, Value: Slice of Server PKs type ConnectionsSummary map[cipher.PubKey][]cipher.PubKey diff --git a/vendor/github.com/skycoin/skywire-utilities/pkg/geo/geo.go b/vendor/github.com/skycoin/skywire-utilities/pkg/geo/geo.go index bf034109f0..1d8cdac63d 100644 --- a/vendor/github.com/skycoin/skywire-utilities/pkg/geo/geo.go +++ b/vendor/github.com/skycoin/skywire-utilities/pkg/geo/geo.go @@ -38,7 +38,7 @@ type LocationData struct { type LocationDetails func(ip net.IP) (*LocationData, error) // MakeIPDetails returns a GeoFunc. -func MakeIPDetails(log logrus.FieldLogger, apiKey string) LocationDetails { +func MakeIPDetails(log logrus.FieldLogger, _ string) LocationDetails { // Just in case. if log == nil { log = logging.MustGetLogger("geo") diff --git a/vendor/github.com/skycoin/skywire-utilities/pkg/httputil/health.go b/vendor/github.com/skycoin/skywire-utilities/pkg/httputil/health.go index 6963bf2da7..015071d7e3 100644 --- a/vendor/github.com/skycoin/skywire-utilities/pkg/httputil/health.go +++ b/vendor/github.com/skycoin/skywire-utilities/pkg/httputil/health.go @@ -13,13 +13,14 @@ var path = "/health" // HealthCheckResponse is struct of /health endpoint type HealthCheckResponse struct { - BuildInfo *buildinfo.Info `json:"build_info,omitempty"` - StartedAt time.Time `json:"started_at"` - DmsgAddr string `json:"dmsg_address,omitempty"` + BuildInfo *buildinfo.Info `json:"build_info,omitempty"` + StartedAt time.Time `json:"started_at"` + DmsgAddr string `json:"dmsg_address,omitempty"` + DmsgServers []string `json:"dmsg_servers,omitempty"` } // GetServiceHealth gets the response from the given service url -func GetServiceHealth(ctx context.Context, url string) (health *HealthCheckResponse, err error) { +func GetServiceHealth(_ context.Context, url string) (health *HealthCheckResponse, err error) { resp, err := http.Get(url + path) if err != nil { return nil, err diff --git a/vendor/modules.txt b/vendor/modules.txt index b3ad72a08d..52dc5b2726 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -327,8 +327,8 @@ github.com/rivo/uniseg ## explicit; go 1.13 github.com/sirupsen/logrus github.com/sirupsen/logrus/hooks/syslog -# github.com/skycoin/dmsg v1.3.12-0.20231120175607-0b6d5135bbc5 -## explicit; go 1.18 +# github.com/skycoin/dmsg v1.3.14 +## explicit; go 1.21 github.com/skycoin/dmsg/internal/servermetrics github.com/skycoin/dmsg/pkg/direct github.com/skycoin/dmsg/pkg/disc @@ -351,8 +351,8 @@ github.com/skycoin/skycoin/src/cipher/ripemd160 github.com/skycoin/skycoin/src/cipher/secp256k1-go github.com/skycoin/skycoin/src/cipher/secp256k1-go/secp256k1-go2 github.com/skycoin/skycoin/src/util/logging -# github.com/skycoin/skywire-utilities v0.0.0-20231120175000-12be4345eb26 -## explicit; go 1.17 +# github.com/skycoin/skywire-utilities v1.3.14 +## explicit; go 1.21 github.com/skycoin/skywire-utilities/pkg/buildinfo github.com/skycoin/skywire-utilities/pkg/cipher github.com/skycoin/skywire-utilities/pkg/cmdutil