From afcc594f0f6002605fe91f249aeda50ff8cf2edc Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sat, 9 Nov 2024 18:47:38 +0100 Subject: [PATCH 1/8] Tests - add databases to parallelize more tests --- db/create.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db/create.sql b/db/create.sql index 05c59d7e2..14bc2c675 100644 --- a/db/create.sql +++ b/db/create.sql @@ -4,6 +4,10 @@ DROP DATABASE IF EXISTS fittrackee_test_gw0; DROP DATABASE IF EXISTS fittrackee_test_gw1; DROP DATABASE IF EXISTS fittrackee_test_gw2; DROP DATABASE IF EXISTS fittrackee_test_gw3; +DROP DATABASE IF EXISTS fittrackee_test_gw4; +DROP DATABASE IF EXISTS fittrackee_test_gw5; +DROP DATABASE IF EXISTS fittrackee_test_gw6; +DROP DATABASE IF EXISTS fittrackee_test_gw7; DROP SCHEMA IF EXISTS fittrackee; DROP USER IF EXISTS fittrackee; @@ -15,3 +19,7 @@ CREATE DATABASE fittrackee_test_gw0 OWNER fittrackee; CREATE DATABASE fittrackee_test_gw1 OWNER fittrackee; CREATE DATABASE fittrackee_test_gw2 OWNER fittrackee; CREATE DATABASE fittrackee_test_gw3 OWNER fittrackee; +CREATE DATABASE fittrackee_test_gw4 OWNER fittrackee; +CREATE DATABASE fittrackee_test_gw5 OWNER fittrackee; +CREATE DATABASE fittrackee_test_gw6 OWNER fittrackee; +CREATE DATABASE fittrackee_test_gw7 OWNER fittrackee; From 15c7404eb692a30564fb24dc701a75d1ecde412b Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 15:08:29 +0100 Subject: [PATCH 2/8] API - store sub as string in JWT --- fittrackee/tests/users/test_users_utils.py | 2 +- fittrackee/users/utils/token.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fittrackee/tests/users/test_users_utils.py b/fittrackee/tests/users/test_users_utils.py index 925d55238..d9618686a 100644 --- a/fittrackee/tests/users/test_users_utils.py +++ b/fittrackee/tests/users/test_users_utils.py @@ -521,7 +521,7 @@ def test_token_contains_user_id( ) decoded_token = self.decode_token(app, token) - assert decoded_token['sub'] == user_id + assert decoded_token['sub'] == str(user_id) @pytest.mark.parametrize('input_password_reset', [True, False]) def test_token_contains_timestamp_of_when_it_is_issued( diff --git a/fittrackee/users/utils/token.py b/fittrackee/users/utils/token.py index ebdabadf2..78b961d61 100644 --- a/fittrackee/users/utils/token.py +++ b/fittrackee/users/utils/token.py @@ -28,7 +28,7 @@ def get_user_token( 'exp': now + timedelta(days=expiration_days, seconds=expiration_seconds), 'iat': now, - 'sub': user_id, + 'sub': str(user_id), } return jwt.encode( payload, @@ -46,7 +46,7 @@ def decode_user_token(auth_token: str) -> int: current_app.config['SECRET_KEY'], algorithms=['HS256'], ) - return payload['sub'] + return int(payload['sub']) def clean_blacklisted_tokens(days: int) -> int: From 67b9858adcb59716f8818cfe71d1010422846679 Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 15:23:13 +0100 Subject: [PATCH 3/8] API - update PyJWT to 2.10.0 --- poetry.lock | 14 +++++++------- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index a02b0b14c..c9332ad04 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "alabaster" @@ -1533,13 +1533,13 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyjwt" -version = "2.9.0" +version = "2.10.0" description = "JSON Web Token implementation in Python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "PyJWT-2.9.0-py3-none-any.whl", hash = "sha256:3b02fb0f44517787776cf48f2ae25d8e14f300e6d7545a4315cee571a415e850"}, - {file = "pyjwt-2.9.0.tar.gz", hash = "sha256:7e1e5b56cc735432a7369cbfa0efe50fa113ebecdc04ae6922deba8b84582d0c"}, + {file = "PyJWT-2.10.0-py3-none-any.whl", hash = "sha256:543b77207db656de204372350926bed5a86201c4cbff159f623f79c7bb487a15"}, + {file = "pyjwt-2.10.0.tar.gz", hash = "sha256:7628a7eb7938959ac1b26e819a1df0fd3259505627b575e4bad6d08f76db695c"}, ] [package.extras] @@ -2300,7 +2300,7 @@ files = [ ] [package.dependencies] -greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and (platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\")"} +greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and (platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\")"} [package.extras] aiomysql = ["aiomysql (>=0.2.0)", "greenlet (!=0.4.17)"] @@ -2763,4 +2763,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "9f0acb0676265abd6475ec36c689b9f1d456cfc586be858b48cc188219fb8dc9" +content-hash = "232bd0fffd9e31952d77e1f616dd0cabb28ce7b3f0061a6b74a2a2794f663a2e" diff --git a/pyproject.toml b/pyproject.toml index dbdaee308..2702c849c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ gpxpy = "=1.6.2" gunicorn = "^23.0.0" humanize = "^4.11.0" psycopg2-binary = "^2.9.10" -pyjwt = "^2.9.0" +pyjwt = "^2.10.0" pyopenssl = "^24.2.1" pytz = "^2024.2" shortuuid = "^1.0.13" From e27ced2a418888924c3967b5d4669c48af85dc72 Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 15:36:29 +0100 Subject: [PATCH 4/8] API - update CustomResourceProtector call signature --- fittrackee/oauth2/resource_protector.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fittrackee/oauth2/resource_protector.py b/fittrackee/oauth2/resource_protector.py index 4854a6b7e..4a3e6ebdb 100644 --- a/fittrackee/oauth2/resource_protector.py +++ b/fittrackee/oauth2/resource_protector.py @@ -19,6 +19,8 @@ class CustomResourceProtector(ResourceProtector): def __call__( self, scopes: Union[str, List, None] = None, + optional: bool = False, + *, as_admin: bool = False, ) -> Callable: def wrapper(f: Callable) -> Callable: From abc83442a7c8695c8559b4a704a93fe06e6384d9 Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 15:51:47 +0100 Subject: [PATCH 5/8] update python dependencies --- poetry.lock | 280 ++++++++++++++++++++++++------------------------- pyproject.toml | 6 +- 2 files changed, 143 insertions(+), 143 deletions(-) diff --git a/poetry.lock b/poetry.lock index c9332ad04..f1cd07930 100644 --- a/poetry.lock +++ b/poetry.lock @@ -13,13 +13,13 @@ files = [ [[package]] name = "alembic" -version = "1.13.3" +version = "1.14.0" description = "A database migration tool for SQLAlchemy." optional = false python-versions = ">=3.8" files = [ - {file = "alembic-1.13.3-py3-none-any.whl", hash = "sha256:908e905976d15235fae59c9ac42c4c5b75cfcefe3d27c0fbf7ae15a37715d80e"}, - {file = "alembic-1.13.3.tar.gz", hash = "sha256:203503117415561e203aa14541740643a611f641517f0209fcae63e9fa09f1a2"}, + {file = "alembic-1.14.0-py3-none-any.whl", hash = "sha256:99bd884ca390466db5e27ffccff1d179ec5c05c965cfefc0607e69f9e411cb25"}, + {file = "alembic-1.14.0.tar.gz", hash = "sha256:b00892b53b3642d0b8dbedba234dbf1924b69be83a9a769d5a624b01094e304b"}, ] [package.dependencies] @@ -32,13 +32,13 @@ tz = ["backports.zoneinfo"] [[package]] name = "async-timeout" -version = "4.0.3" +version = "5.0.1" description = "Timeout context manager for asyncio programs" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, - {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, + {file = "async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c"}, + {file = "async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3"}, ] [[package]] @@ -175,13 +175,13 @@ lxml = ["lxml"] [[package]] name = "blinker" -version = "1.8.2" +version = "1.9.0" description = "Fast, simple object-to-object and broadcast signaling" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "blinker-1.8.2-py3-none-any.whl", hash = "sha256:1779309f71bf239144b9399d06ae925637cf6634cf6bd131104184531bf67c01"}, - {file = "blinker-1.8.2.tar.gz", hash = "sha256:8f77b09d3bf7c795e969e9486f39c2c5e9c39d4ee07424be2bc594ece9642d83"}, + {file = "blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc"}, + {file = "blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"}, ] [[package]] @@ -429,73 +429,73 @@ test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"] [[package]] name = "coverage" -version = "7.6.4" +version = "7.6.7" description = "Code coverage measurement for Python" optional = false python-versions = ">=3.9" files = [ - {file = "coverage-7.6.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5f8ae553cba74085db385d489c7a792ad66f7f9ba2ee85bfa508aeb84cf0ba07"}, - {file = "coverage-7.6.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8165b796df0bd42e10527a3f493c592ba494f16ef3c8b531288e3d0d72c1f6f0"}, - {file = "coverage-7.6.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c7c8b95bf47db6d19096a5e052ffca0a05f335bc63cef281a6e8fe864d450a72"}, - {file = "coverage-7.6.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8ed9281d1b52628e81393f5eaee24a45cbd64965f41857559c2b7ff19385df51"}, - {file = "coverage-7.6.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0809082ee480bb8f7416507538243c8863ac74fd8a5d2485c46f0f7499f2b491"}, - {file = "coverage-7.6.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d541423cdd416b78626b55f123412fcf979d22a2c39fce251b350de38c15c15b"}, - {file = "coverage-7.6.4-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:58809e238a8a12a625c70450b48e8767cff9eb67c62e6154a642b21ddf79baea"}, - {file = "coverage-7.6.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c9b8e184898ed014884ca84c70562b4a82cbc63b044d366fedc68bc2b2f3394a"}, - {file = "coverage-7.6.4-cp310-cp310-win32.whl", hash = "sha256:6bd818b7ea14bc6e1f06e241e8234508b21edf1b242d49831831a9450e2f35fa"}, - {file = "coverage-7.6.4-cp310-cp310-win_amd64.whl", hash = "sha256:06babbb8f4e74b063dbaeb74ad68dfce9186c595a15f11f5d5683f748fa1d172"}, - {file = "coverage-7.6.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:73d2b73584446e66ee633eaad1a56aad577c077f46c35ca3283cd687b7715b0b"}, - {file = "coverage-7.6.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:51b44306032045b383a7a8a2c13878de375117946d68dcb54308111f39775a25"}, - {file = "coverage-7.6.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b3fb02fe73bed561fa12d279a417b432e5b50fe03e8d663d61b3d5990f29546"}, - {file = "coverage-7.6.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ed8fe9189d2beb6edc14d3ad19800626e1d9f2d975e436f84e19efb7fa19469b"}, - {file = "coverage-7.6.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b369ead6527d025a0fe7bd3864e46dbee3aa8f652d48df6174f8d0bac9e26e0e"}, - {file = "coverage-7.6.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ade3ca1e5f0ff46b678b66201f7ff477e8fa11fb537f3b55c3f0568fbfe6e718"}, - {file = "coverage-7.6.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:27fb4a050aaf18772db513091c9c13f6cb94ed40eacdef8dad8411d92d9992db"}, - {file = "coverage-7.6.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4f704f0998911abf728a7783799444fcbbe8261c4a6c166f667937ae6a8aa522"}, - {file = "coverage-7.6.4-cp311-cp311-win32.whl", hash = "sha256:29155cd511ee058e260db648b6182c419422a0d2e9a4fa44501898cf918866cf"}, - {file = "coverage-7.6.4-cp311-cp311-win_amd64.whl", hash = "sha256:8902dd6a30173d4ef09954bfcb24b5d7b5190cf14a43170e386979651e09ba19"}, - {file = "coverage-7.6.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:12394842a3a8affa3ba62b0d4ab7e9e210c5e366fbac3e8b2a68636fb19892c2"}, - {file = "coverage-7.6.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2b6b4c83d8e8ea79f27ab80778c19bc037759aea298da4b56621f4474ffeb117"}, - {file = "coverage-7.6.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d5b8007f81b88696d06f7df0cb9af0d3b835fe0c8dbf489bad70b45f0e45613"}, - {file = "coverage-7.6.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b57b768feb866f44eeed9f46975f3d6406380275c5ddfe22f531a2bf187eda27"}, - {file = "coverage-7.6.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5915fcdec0e54ee229926868e9b08586376cae1f5faa9bbaf8faf3561b393d52"}, - {file = "coverage-7.6.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0b58c672d14f16ed92a48db984612f5ce3836ae7d72cdd161001cc54512571f2"}, - {file = "coverage-7.6.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:2fdef0d83a2d08d69b1f2210a93c416d54e14d9eb398f6ab2f0a209433db19e1"}, - {file = "coverage-7.6.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8cf717ee42012be8c0cb205dbbf18ffa9003c4cbf4ad078db47b95e10748eec5"}, - {file = "coverage-7.6.4-cp312-cp312-win32.whl", hash = "sha256:7bb92c539a624cf86296dd0c68cd5cc286c9eef2d0c3b8b192b604ce9de20a17"}, - {file = "coverage-7.6.4-cp312-cp312-win_amd64.whl", hash = "sha256:1032e178b76a4e2b5b32e19d0fd0abbce4b58e77a1ca695820d10e491fa32b08"}, - {file = "coverage-7.6.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:023bf8ee3ec6d35af9c1c6ccc1d18fa69afa1cb29eaac57cb064dbb262a517f9"}, - {file = "coverage-7.6.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b0ac3d42cb51c4b12df9c5f0dd2f13a4f24f01943627120ec4d293c9181219ba"}, - {file = "coverage-7.6.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f8fe4984b431f8621ca53d9380901f62bfb54ff759a1348cd140490ada7b693c"}, - {file = "coverage-7.6.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5fbd612f8a091954a0c8dd4c0b571b973487277d26476f8480bfa4b2a65b5d06"}, - {file = "coverage-7.6.4-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dacbc52de979f2823a819571f2e3a350a7e36b8cb7484cdb1e289bceaf35305f"}, - {file = "coverage-7.6.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:dab4d16dfef34b185032580e2f2f89253d302facba093d5fa9dbe04f569c4f4b"}, - {file = "coverage-7.6.4-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:862264b12ebb65ad8d863d51f17758b1684560b66ab02770d4f0baf2ff75da21"}, - {file = "coverage-7.6.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5beb1ee382ad32afe424097de57134175fea3faf847b9af002cc7895be4e2a5a"}, - {file = "coverage-7.6.4-cp313-cp313-win32.whl", hash = "sha256:bf20494da9653f6410213424f5f8ad0ed885e01f7e8e59811f572bdb20b8972e"}, - {file = "coverage-7.6.4-cp313-cp313-win_amd64.whl", hash = "sha256:182e6cd5c040cec0a1c8d415a87b67ed01193ed9ad458ee427741c7d8513d963"}, - {file = "coverage-7.6.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a181e99301a0ae128493a24cfe5cfb5b488c4e0bf2f8702091473d033494d04f"}, - {file = "coverage-7.6.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:df57bdbeffe694e7842092c5e2e0bc80fff7f43379d465f932ef36f027179806"}, - {file = "coverage-7.6.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0bcd1069e710600e8e4cf27f65c90c7843fa8edfb4520fb0ccb88894cad08b11"}, - {file = "coverage-7.6.4-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:99b41d18e6b2a48ba949418db48159d7a2e81c5cc290fc934b7d2380515bd0e3"}, - {file = "coverage-7.6.4-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a6b1e54712ba3474f34b7ef7a41e65bd9037ad47916ccb1cc78769bae324c01a"}, - {file = "coverage-7.6.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:53d202fd109416ce011578f321460795abfe10bb901b883cafd9b3ef851bacfc"}, - {file = "coverage-7.6.4-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:c48167910a8f644671de9f2083a23630fbf7a1cb70ce939440cd3328e0919f70"}, - {file = "coverage-7.6.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:cc8ff50b50ce532de2fa7a7daae9dd12f0a699bfcd47f20945364e5c31799fef"}, - {file = "coverage-7.6.4-cp313-cp313t-win32.whl", hash = "sha256:b8d3a03d9bfcaf5b0141d07a88456bb6a4c3ce55c080712fec8418ef3610230e"}, - {file = "coverage-7.6.4-cp313-cp313t-win_amd64.whl", hash = "sha256:f3ddf056d3ebcf6ce47bdaf56142af51bb7fad09e4af310241e9db7a3a8022e1"}, - {file = "coverage-7.6.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9cb7fa111d21a6b55cbf633039f7bc2749e74932e3aa7cb7333f675a58a58bf3"}, - {file = "coverage-7.6.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:11a223a14e91a4693d2d0755c7a043db43d96a7450b4f356d506c2562c48642c"}, - {file = "coverage-7.6.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a413a096c4cbac202433c850ee43fa326d2e871b24554da8327b01632673a076"}, - {file = "coverage-7.6.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:00a1d69c112ff5149cabe60d2e2ee948752c975d95f1e1096742e6077affd376"}, - {file = "coverage-7.6.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f76846299ba5c54d12c91d776d9605ae33f8ae2b9d1d3c3703cf2db1a67f2c0"}, - {file = "coverage-7.6.4-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:fe439416eb6380de434886b00c859304338f8b19f6f54811984f3420a2e03858"}, - {file = "coverage-7.6.4-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:0294ca37f1ba500667b1aef631e48d875ced93ad5e06fa665a3295bdd1d95111"}, - {file = "coverage-7.6.4-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:6f01ba56b1c0e9d149f9ac85a2f999724895229eb36bd997b61e62999e9b0901"}, - {file = "coverage-7.6.4-cp39-cp39-win32.whl", hash = "sha256:bc66f0bf1d7730a17430a50163bb264ba9ded56739112368ba985ddaa9c3bd09"}, - {file = "coverage-7.6.4-cp39-cp39-win_amd64.whl", hash = "sha256:c481b47f6b5845064c65a7bc78bc0860e635a9b055af0df46fdf1c58cebf8e8f"}, - {file = "coverage-7.6.4-pp39.pp310-none-any.whl", hash = "sha256:3c65d37f3a9ebb703e710befdc489a38683a5b152242664b973a7b7b22348a4e"}, - {file = "coverage-7.6.4.tar.gz", hash = "sha256:29fc0f17b1d3fea332f8001d4558f8214af7f1d87a345f3a133c901d60347c73"}, + {file = "coverage-7.6.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:108bb458827765d538abcbf8288599fee07d2743357bdd9b9dad456c287e121e"}, + {file = "coverage-7.6.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c973b2fe4dc445cb865ab369df7521df9c27bf40715c837a113edaa2aa9faf45"}, + {file = "coverage-7.6.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c6b24007c4bcd0b19fac25763a7cac5035c735ae017e9a349b927cfc88f31c1"}, + {file = "coverage-7.6.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:acbb8af78f8f91b3b51f58f288c0994ba63c646bc1a8a22ad072e4e7e0a49f1c"}, + {file = "coverage-7.6.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad32a981bcdedb8d2ace03b05e4fd8dace8901eec64a532b00b15217d3677dd2"}, + {file = "coverage-7.6.7-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:34d23e28ccb26236718a3a78ba72744212aa383141961dd6825f6595005c8b06"}, + {file = "coverage-7.6.7-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e25bacb53a8c7325e34d45dddd2f2fbae0dbc230d0e2642e264a64e17322a777"}, + {file = "coverage-7.6.7-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:af05bbba896c4472a29408455fe31b3797b4d8648ed0a2ccac03e074a77e2314"}, + {file = "coverage-7.6.7-cp310-cp310-win32.whl", hash = "sha256:796c9b107d11d2d69e1849b2dfe41730134b526a49d3acb98ca02f4985eeff7a"}, + {file = "coverage-7.6.7-cp310-cp310-win_amd64.whl", hash = "sha256:987a8e3da7da4eed10a20491cf790589a8e5e07656b6dc22d3814c4d88faf163"}, + {file = "coverage-7.6.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7e61b0e77ff4dddebb35a0e8bb5a68bf0f8b872407d8d9f0c726b65dfabe2469"}, + {file = "coverage-7.6.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1a5407a75ca4abc20d6252efeb238377a71ce7bda849c26c7a9bece8680a5d99"}, + {file = "coverage-7.6.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df002e59f2d29e889c37abd0b9ee0d0e6e38c24f5f55d71ff0e09e3412a340ec"}, + {file = "coverage-7.6.7-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:673184b3156cba06154825f25af33baa2671ddae6343f23175764e65a8c4c30b"}, + {file = "coverage-7.6.7-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e69ad502f1a2243f739f5bd60565d14a278be58be4c137d90799f2c263e7049a"}, + {file = "coverage-7.6.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:60dcf7605c50ea72a14490d0756daffef77a5be15ed1b9fea468b1c7bda1bc3b"}, + {file = "coverage-7.6.7-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:9c2eb378bebb2c8f65befcb5147877fc1c9fbc640fc0aad3add759b5df79d55d"}, + {file = "coverage-7.6.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3c0317288f032221d35fa4cbc35d9f4923ff0dfd176c79c9b356e8ef8ef2dff4"}, + {file = "coverage-7.6.7-cp311-cp311-win32.whl", hash = "sha256:951aade8297358f3618a6e0660dc74f6b52233c42089d28525749fc8267dccd2"}, + {file = "coverage-7.6.7-cp311-cp311-win_amd64.whl", hash = "sha256:5e444b8e88339a2a67ce07d41faabb1d60d1004820cee5a2c2b54e2d8e429a0f"}, + {file = "coverage-7.6.7-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f07ff574986bc3edb80e2c36391678a271d555f91fd1d332a1e0f4b5ea4b6ea9"}, + {file = "coverage-7.6.7-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:49ed5ee4109258973630c1f9d099c7e72c5c36605029f3a91fe9982c6076c82b"}, + {file = "coverage-7.6.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3e8796434a8106b3ac025fd15417315d7a58ee3e600ad4dbcfddc3f4b14342c"}, + {file = "coverage-7.6.7-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a3b925300484a3294d1c70f6b2b810d6526f2929de954e5b6be2bf8caa1f12c1"}, + {file = "coverage-7.6.7-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c42ec2c522e3ddd683dec5cdce8e62817afb648caedad9da725001fa530d354"}, + {file = "coverage-7.6.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0266b62cbea568bd5e93a4da364d05de422110cbed5056d69339bd5af5685433"}, + {file = "coverage-7.6.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e5f2a0f161d126ccc7038f1f3029184dbdf8f018230af17ef6fd6a707a5b881f"}, + {file = "coverage-7.6.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c132b5a22821f9b143f87446805e13580b67c670a548b96da945a8f6b4f2efbb"}, + {file = "coverage-7.6.7-cp312-cp312-win32.whl", hash = "sha256:7c07de0d2a110f02af30883cd7dddbe704887617d5c27cf373362667445a4c76"}, + {file = "coverage-7.6.7-cp312-cp312-win_amd64.whl", hash = "sha256:fd49c01e5057a451c30c9b892948976f5d38f2cbd04dc556a82743ba8e27ed8c"}, + {file = "coverage-7.6.7-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:46f21663e358beae6b368429ffadf14ed0a329996248a847a4322fb2e35d64d3"}, + {file = "coverage-7.6.7-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:40cca284c7c310d622a1677f105e8507441d1bb7c226f41978ba7c86979609ab"}, + {file = "coverage-7.6.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77256ad2345c29fe59ae861aa11cfc74579c88d4e8dbf121cbe46b8e32aec808"}, + {file = "coverage-7.6.7-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:87ea64b9fa52bf395272e54020537990a28078478167ade6c61da7ac04dc14bc"}, + {file = "coverage-7.6.7-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d608a7808793e3615e54e9267519351c3ae204a6d85764d8337bd95993581a8"}, + {file = "coverage-7.6.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cdd94501d65adc5c24f8a1a0eda110452ba62b3f4aeaba01e021c1ed9cb8f34a"}, + {file = "coverage-7.6.7-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:82c809a62e953867cf57e0548c2b8464207f5f3a6ff0e1e961683e79b89f2c55"}, + {file = "coverage-7.6.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bb684694e99d0b791a43e9fc0fa58efc15ec357ac48d25b619f207c41f2fd384"}, + {file = "coverage-7.6.7-cp313-cp313-win32.whl", hash = "sha256:963e4a08cbb0af6623e61492c0ec4c0ec5c5cf74db5f6564f98248d27ee57d30"}, + {file = "coverage-7.6.7-cp313-cp313-win_amd64.whl", hash = "sha256:14045b8bfd5909196a90da145a37f9d335a5d988a83db34e80f41e965fb7cb42"}, + {file = "coverage-7.6.7-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:f2c7a045eef561e9544359a0bf5784b44e55cefc7261a20e730baa9220c83413"}, + {file = "coverage-7.6.7-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5dd4e4a49d9c72a38d18d641135d2fb0bdf7b726ca60a103836b3d00a1182acd"}, + {file = "coverage-7.6.7-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c95e0fa3d1547cb6f021ab72f5c23402da2358beec0a8e6d19a368bd7b0fb37"}, + {file = "coverage-7.6.7-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f63e21ed474edd23f7501f89b53280014436e383a14b9bd77a648366c81dce7b"}, + {file = "coverage-7.6.7-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ead9b9605c54d15be228687552916c89c9683c215370c4a44f1f217d2adcc34d"}, + {file = "coverage-7.6.7-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:0573f5cbf39114270842d01872952d301027d2d6e2d84013f30966313cadb529"}, + {file = "coverage-7.6.7-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:e2c8e3384c12dfa19fa9a52f23eb091a8fad93b5b81a41b14c17c78e23dd1d8b"}, + {file = "coverage-7.6.7-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:70a56a2ec1869e6e9fa69ef6b76b1a8a7ef709972b9cc473f9ce9d26b5997ce3"}, + {file = "coverage-7.6.7-cp313-cp313t-win32.whl", hash = "sha256:dbba8210f5067398b2c4d96b4e64d8fb943644d5eb70be0d989067c8ca40c0f8"}, + {file = "coverage-7.6.7-cp313-cp313t-win_amd64.whl", hash = "sha256:dfd14bcae0c94004baba5184d1c935ae0d1231b8409eb6c103a5fd75e8ecdc56"}, + {file = "coverage-7.6.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:37a15573f988b67f7348916077c6d8ad43adb75e478d0910957394df397d2874"}, + {file = "coverage-7.6.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b6cce5c76985f81da3769c52203ee94722cd5d5889731cd70d31fee939b74bf0"}, + {file = "coverage-7.6.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a1ab9763d291a17b527ac6fd11d1a9a9c358280adb320e9c2672a97af346ac2c"}, + {file = "coverage-7.6.7-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6cf96ceaa275f071f1bea3067f8fd43bec184a25a962c754024c973af871e1b7"}, + {file = "coverage-7.6.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aee9cf6b0134d6f932d219ce253ef0e624f4fa588ee64830fcba193269e4daa3"}, + {file = "coverage-7.6.7-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:2bc3e45c16564cc72de09e37413262b9f99167803e5e48c6156bccdfb22c8327"}, + {file = "coverage-7.6.7-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:623e6965dcf4e28a3debaa6fcf4b99ee06d27218f46d43befe4db1c70841551c"}, + {file = "coverage-7.6.7-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:850cfd2d6fc26f8346f422920ac204e1d28814e32e3a58c19c91980fa74d8289"}, + {file = "coverage-7.6.7-cp39-cp39-win32.whl", hash = "sha256:c296263093f099da4f51b3dff1eff5d4959b527d4f2f419e16508c5da9e15e8c"}, + {file = "coverage-7.6.7-cp39-cp39-win_amd64.whl", hash = "sha256:90746521206c88bdb305a4bf3342b1b7316ab80f804d40c536fc7d329301ee13"}, + {file = "coverage-7.6.7-pp39.pp310-none-any.whl", hash = "sha256:0ddcb70b3a3a57581b450571b31cb774f23eb9519c2aaa6176d3a84c9fc57671"}, + {file = "coverage-7.6.7.tar.gz", hash = "sha256:d79d4826e41441c9a118ff045e4bccb9fdbdcb1d02413e7ea6eb5c87b5439d24"}, ] [package.dependencies] @@ -555,20 +555,20 @@ test-randomorder = ["pytest-randomly"] [[package]] name = "deprecated" -version = "1.2.14" +version = "1.2.15" description = "Python @deprecated decorator to deprecate old python classes, functions or methods." optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" files = [ - {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"}, - {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"}, + {file = "Deprecated-1.2.15-py2.py3-none-any.whl", hash = "sha256:353bc4a8ac4bfc96800ddab349d89c25dec1079f65fd53acdcc1e0b975b21320"}, + {file = "deprecated-1.2.15.tar.gz", hash = "sha256:683e561a90de76239796e6b6feac66b99030d2dd3fcf61ef996330f14bbb9b0d"}, ] [package.dependencies] wrapt = ">=1.10,<2" [package.extras] -dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"] +dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "jinja2 (>=3.0.3,<3.1.0)", "setuptools", "sphinx (<2)", "tox"] [[package]] name = "docutils" @@ -635,22 +635,22 @@ testing = ["hatch", "pre-commit", "pytest", "tox"] [[package]] name = "flask" -version = "3.0.3" +version = "3.1.0" description = "A simple framework for building complex web applications." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "flask-3.0.3-py3-none-any.whl", hash = "sha256:34e815dfaa43340d1d15a5c3a02b8476004037eb4840b34910c6e21679d288f3"}, - {file = "flask-3.0.3.tar.gz", hash = "sha256:ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842"}, + {file = "flask-3.1.0-py3-none-any.whl", hash = "sha256:d667207822eb83f1c4b50949b1623c8fc8d51f2341d65f72e1a1815397551136"}, + {file = "flask-3.1.0.tar.gz", hash = "sha256:5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"}, ] [package.dependencies] -blinker = ">=1.6.2" +blinker = ">=1.9" click = ">=8.1.3" -importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""} -itsdangerous = ">=2.1.2" +importlib-metadata = {version = ">=3.6", markers = "python_version < \"3.10\""} +itsdangerous = ">=2.2" Jinja2 = ">=3.1.2" -Werkzeug = ">=3.0.0" +Werkzeug = ">=3.1" [package.extras] async = ["asgiref (>=3.2)"] @@ -1259,13 +1259,13 @@ attrs = ">=19.2.0" [[package]] name = "packaging" -version = "24.1" +version = "24.2" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "packaging-24.1-py3-none-any.whl", hash = "sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124"}, - {file = "packaging-24.1.tar.gz", hash = "sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002"}, + {file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"}, + {file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"}, ] [[package]] @@ -1897,13 +1897,13 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] [[package]] name = "rich" -version = "13.9.3" +version = "13.9.4" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false python-versions = ">=3.8.0" files = [ - {file = "rich-13.9.3-py3-none-any.whl", hash = "sha256:9836f5096eb2172c9e77df411c1b009bace4193d6a481d534fea75ebba758283"}, - {file = "rich-13.9.3.tar.gz", hash = "sha256:bc1e01b899537598cf02579d2b9f4a415104d3fc439313a7a2c165d76557a08e"}, + {file = "rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90"}, + {file = "rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098"}, ] [package.dependencies] @@ -1916,29 +1916,29 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"] [[package]] name = "ruff" -version = "0.7.1" +version = "0.7.4" description = "An extremely fast Python linter and code formatter, written in Rust." optional = false python-versions = ">=3.7" files = [ - {file = "ruff-0.7.1-py3-none-linux_armv6l.whl", hash = "sha256:cb1bc5ed9403daa7da05475d615739cc0212e861b7306f314379d958592aaa89"}, - {file = "ruff-0.7.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:27c1c52a8d199a257ff1e5582d078eab7145129aa02721815ca8fa4f9612dc35"}, - {file = "ruff-0.7.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:588a34e1ef2ea55b4ddfec26bbe76bc866e92523d8c6cdec5e8aceefeff02d99"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94fc32f9cdf72dc75c451e5f072758b118ab8100727168a3df58502b43a599ca"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:985818742b833bffa543a84d1cc11b5e6871de1b4e0ac3060a59a2bae3969250"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:32f1e8a192e261366c702c5fb2ece9f68d26625f198a25c408861c16dc2dea9c"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:699085bf05819588551b11751eff33e9ca58b1b86a6843e1b082a7de40da1565"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:344cc2b0814047dc8c3a8ff2cd1f3d808bb23c6658db830d25147339d9bf9ea7"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4316bbf69d5a859cc937890c7ac7a6551252b6a01b1d2c97e8fc96e45a7c8b4a"}, - {file = "ruff-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:79d3af9dca4c56043e738a4d6dd1e9444b6d6c10598ac52d146e331eb155a8ad"}, - {file = "ruff-0.7.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:c5c121b46abde94a505175524e51891f829414e093cd8326d6e741ecfc0a9112"}, - {file = "ruff-0.7.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8422104078324ea250886954e48f1373a8fe7de59283d747c3a7eca050b4e378"}, - {file = "ruff-0.7.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:56aad830af8a9db644e80098fe4984a948e2b6fc2e73891538f43bbe478461b8"}, - {file = "ruff-0.7.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:658304f02f68d3a83c998ad8bf91f9b4f53e93e5412b8f2388359d55869727fd"}, - {file = "ruff-0.7.1-py3-none-win32.whl", hash = "sha256:b517a2011333eb7ce2d402652ecaa0ac1a30c114fbbd55c6b8ee466a7f600ee9"}, - {file = "ruff-0.7.1-py3-none-win_amd64.whl", hash = "sha256:f38c41fcde1728736b4eb2b18850f6d1e3eedd9678c914dede554a70d5241307"}, - {file = "ruff-0.7.1-py3-none-win_arm64.whl", hash = "sha256:19aa200ec824c0f36d0c9114c8ec0087082021732979a359d6f3c390a6ff2a37"}, - {file = "ruff-0.7.1.tar.gz", hash = "sha256:9d8a41d4aa2dad1575adb98a82870cf5db5f76b2938cf2206c22c940034a36f4"}, + {file = "ruff-0.7.4-py3-none-linux_armv6l.whl", hash = "sha256:a4919925e7684a3f18e18243cd6bea7cfb8e968a6eaa8437971f681b7ec51478"}, + {file = "ruff-0.7.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:cfb365c135b830778dda8c04fb7d4280ed0b984e1aec27f574445231e20d6c63"}, + {file = "ruff-0.7.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:63a569b36bc66fbadec5beaa539dd81e0527cb258b94e29e0531ce41bacc1f20"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d06218747d361d06fd2fdac734e7fa92df36df93035db3dc2ad7aa9852cb109"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e0cea28d0944f74ebc33e9f934238f15c758841f9f5edd180b5315c203293452"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:80094ecd4793c68b2571b128f91754d60f692d64bc0d7272ec9197fdd09bf9ea"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:997512325c6620d1c4c2b15db49ef59543ef9cd0f4aa8065ec2ae5103cedc7e7"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:00b4cf3a6b5fad6d1a66e7574d78956bbd09abfd6c8a997798f01f5da3d46a05"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7dbdc7d8274e1422722933d1edddfdc65b4336abf0b16dfcb9dedd6e6a517d06"}, + {file = "ruff-0.7.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e92dfb5f00eaedb1501b2f906ccabfd67b2355bdf117fea9719fc99ac2145bc"}, + {file = "ruff-0.7.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:3bd726099f277d735dc38900b6a8d6cf070f80828877941983a57bca1cd92172"}, + {file = "ruff-0.7.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:2e32829c429dd081ee5ba39aef436603e5b22335c3d3fff013cd585806a6486a"}, + {file = "ruff-0.7.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:662a63b4971807623f6f90c1fb664613f67cc182dc4d991471c23c541fee62dd"}, + {file = "ruff-0.7.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:876f5e09eaae3eb76814c1d3b68879891d6fde4824c015d48e7a7da4cf066a3a"}, + {file = "ruff-0.7.4-py3-none-win32.whl", hash = "sha256:75c53f54904be42dd52a548728a5b572344b50d9b2873d13a3f8c5e3b91f5cac"}, + {file = "ruff-0.7.4-py3-none-win_amd64.whl", hash = "sha256:745775c7b39f914238ed1f1b0bebed0b9155a17cd8bc0b08d3c87e4703b990d6"}, + {file = "ruff-0.7.4-py3-none-win_arm64.whl", hash = "sha256:11bff065102c3ae9d3ea4dc9ecdfe5a5171349cdd0787c1fc64761212fc9cf1f"}, + {file = "ruff-0.7.4.tar.gz", hash = "sha256:cd12e35031f5af6b9b93715d8c4f40360070b2041f81273d0527683d5708fce2"}, ] [[package]] @@ -1962,23 +1962,23 @@ websocket-client = ">=1.8,<2.0" [[package]] name = "setuptools" -version = "75.3.0" +version = "75.5.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "setuptools-75.3.0-py3-none-any.whl", hash = "sha256:f2504966861356aa38616760c0f66568e535562374995367b4e69c7143cf6bcd"}, - {file = "setuptools-75.3.0.tar.gz", hash = "sha256:fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686"}, + {file = "setuptools-75.5.0-py3-none-any.whl", hash = "sha256:87cb777c3b96d638ca02031192d40390e0ad97737e27b6b4fa831bea86f2f829"}, + {file = "setuptools-75.5.0.tar.gz", hash = "sha256:5c4ccb41111392671f02bb5f8436dfc5a9a7185e80500531b133f5775c4163ef"}, ] [package.extras] -check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.5.2)"] -core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.collections", "jaraco.functools", "jaraco.text (>=3.7)", "more-itertools", "more-itertools (>=8.8)", "packaging", "packaging (>=24)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] +check = ["pytest-checkdocs (>=2.4)", "pytest-ruff (>=0.2.1)", "ruff (>=0.7.0)"] +core = ["importlib-metadata (>=6)", "jaraco.collections", "jaraco.functools (>=4)", "jaraco.text (>=3.7)", "more-itertools", "more-itertools (>=8.8)", "packaging", "packaging (>=24.2)", "platformdirs (>=4.2.2)", "tomli (>=2.0.1)", "wheel (>=0.43.0)"] cover = ["pytest-cov"] doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier", "towncrier (<24.7)"] enabler = ["pytest-enabler (>=2.2)"] -test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test (>=5.5)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] -type = ["importlib-metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (==1.12.*)", "pytest-mypy"] +test = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "jaraco.test (>=5.5)", "packaging (>=24.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.*)", "pytest-home (>=0.5)", "pytest-perf", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel (>=0.44.0)"] +type = ["importlib-metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (>=1.12,<1.14)", "pytest-mypy"] [[package]] name = "shortuuid" @@ -2119,13 +2119,13 @@ rtd = ["ipython", "myst-nb", "sphinx", "sphinx-book-theme", "sphinx-examples"] [[package]] name = "sphinx-intl" -version = "2.2.0" +version = "2.3.0" description = "Sphinx utility that make it easy to translate and to apply translation." optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" files = [ - {file = "sphinx_intl-2.2.0-py3-none-any.whl", hash = "sha256:56ad5f360fae4aa1cb963448c802f141b55c87223bb32a7b29e936620bd1a381"}, - {file = "sphinx_intl-2.2.0.tar.gz", hash = "sha256:66976a85d31624dfcb564059a6918f90b31669269bfe3f30b2d72e81f225ab20"}, + {file = "sphinx_intl-2.3.0-py3-none-any.whl", hash = "sha256:d753168145035a1378715523e0203fbcfe350b574bfab4d7ae432b36d338b4cf"}, + {file = "sphinx_intl-2.3.0.tar.gz", hash = "sha256:4ddc63be820c94e23393538cc3d4c31631acab7001b0052e4530ff5bf623af97"}, ] [package.dependencies] @@ -2135,7 +2135,7 @@ setuptools = "*" sphinx = "*" [package.extras] -test = ["mock", "pytest"] +test = ["pytest"] [[package]] name = "sphinxcontrib-applehelp" @@ -2437,13 +2437,13 @@ python-dateutil = "*" [[package]] name = "tomli" -version = "2.0.2" +version = "2.1.0" description = "A lil' TOML parser" optional = false python-versions = ">=3.8" files = [ - {file = "tomli-2.0.2-py3-none-any.whl", hash = "sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38"}, - {file = "tomli-2.0.2.tar.gz", hash = "sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"}, + {file = "tomli-2.1.0-py3-none-any.whl", hash = "sha256:a5c57c3d1c56f5ccdf89f6523458f60ef716e210fc47c4cfb188c5ba473e0391"}, + {file = "tomli-2.1.0.tar.gz", hash = "sha256:3f646cae2aec94e17d04973e4249548320197cfabdf130015d023de4b74d8ab8"}, ] [[package]] @@ -2564,13 +2564,13 @@ urllib3 = ">=2" [[package]] name = "types-setuptools" -version = "75.2.0.20241025" +version = "75.5.0.20241116" description = "Typing stubs for setuptools" optional = false python-versions = ">=3.8" files = [ - {file = "types-setuptools-75.2.0.20241025.tar.gz", hash = "sha256:2949913a518d5285ce00a3b7d88961c80a6e72ffb8f3da0a3f5650ea533bd45e"}, - {file = "types_setuptools-75.2.0.20241025-py3-none-any.whl", hash = "sha256:6721ac0f1a620321e2ccd87a9a747c4a383dc381f78d894ce37f2455b45fcf1c"}, + {file = "types-setuptools-75.5.0.20241116.tar.gz", hash = "sha256:b6939ffdbc50ffdc0bcfbf14f7a6de1ddc5510906c1ca2bd62c23646e5798b1a"}, + {file = "types_setuptools-75.5.0.20241116-py3-none-any.whl", hash = "sha256:1144b2ab8fa986061f963391fdbde16df20582e3cc39c94340e71aa61cc7203f"}, ] [[package]] @@ -2633,13 +2633,13 @@ test = ["websockets"] [[package]] name = "werkzeug" -version = "3.0.6" +version = "3.1.3" description = "The comprehensive WSGI web application library." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "werkzeug-3.0.6-py3-none-any.whl", hash = "sha256:1bc0c2310d2fbb07b1dd1105eba2f7af72f322e1e455f2f93c993bee8c8a5f17"}, - {file = "werkzeug-3.0.6.tar.gz", hash = "sha256:a8dd59d4de28ca70471a34cba79bed5f7ef2e036a76b3ab0835474246eb41f8d"}, + {file = "werkzeug-3.1.3-py3-none-any.whl", hash = "sha256:54b78bf3716d19a65be4fceccc0d1d7b89e608834989dfae50ea87564639213e"}, + {file = "werkzeug-3.1.3.tar.gz", hash = "sha256:60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746"}, ] [package.dependencies] @@ -2743,13 +2743,13 @@ h11 = ">=0.9.0,<1" [[package]] name = "zipp" -version = "3.20.2" +version = "3.21.0" description = "Backport of pathlib-compatible object wrapper for zip files" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "zipp-3.20.2-py3-none-any.whl", hash = "sha256:a817ac80d6cf4b23bf7f2828b7cabf326f15a001bea8b1f9b49631780ba28350"}, - {file = "zipp-3.20.2.tar.gz", hash = "sha256:bc9eb26f4506fda01b81bcde0ca78103b6e62f991b381fec825435c836edbc29"}, + {file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"}, + {file = "zipp-3.21.0.tar.gz", hash = "sha256:2c9958f6430a2040341a52eb608ed6dd93ef4392e02ffe219417c1b28b5dd1f4"}, ] [package.extras] @@ -2763,4 +2763,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "232bd0fffd9e31952d77e1f616dd0cabb28ce7b3f0061a6b74a2a2794f663a2e" +content-hash = "3cc301b47049d116c680b9e8e73df4bf122238b2e8832e921942c434bb2ac058" diff --git a/pyproject.toml b/pyproject.toml index 2702c849c..a8de3baf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ authlib = "=1.3.2" babel = "^2.11.0" click = "^8.1.7" dramatiq = {version = "^1.15.0", extras = ["redis"]} -flask = "^3.0.3" +flask = "^3.1.0" flask-bcrypt = "^1.0.1" flask-dramatiq = "^0.6.0" flask-limiter = {version = "^3.8.0", extras = ["redis"]} @@ -58,11 +58,11 @@ pytest-runner = "^6.0.1" pytest-selenium = "^4.1.0" pytest-xdist = {extras = ["psutil"], version = "^3.6.0"} recommonmark = "^0.7.1" -ruff = "^0.7.1" +ruff = "^0.7.4" selenium = "4.25.0" sphinx = "^7.4.7" sphinx-copybutton = "^0.5.2" -sphinx-intl = "^2.1.0" +sphinx-intl = "^2.3.0" sphinxcontrib-httpdomain = "^1.8.1" time-machine = "^2.16.0" types-freezegun = "^1.1" From ae5d8ab92025082a2efa530553ca80fcca5d4b2a Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 15:57:50 +0100 Subject: [PATCH 6/8] update js dependencies --- fittrackee_client/package.json | 18 +- fittrackee_client/yarn.lock | 593 +++++++++++++++++---------------- 2 files changed, 313 insertions(+), 298 deletions(-) diff --git a/fittrackee_client/package.json b/fittrackee_client/package.json index ecb7dbf97..22aee2991 100644 --- a/fittrackee_client/package.json +++ b/fittrackee_client/package.json @@ -28,16 +28,16 @@ "axios": "^1.7.7", "chart.js": "^4.4.6", "chartjs-plugin-datalabels": "^2.2.0", - "core-js": "^3.38.1", + "core-js": "^3.39.0", "date-fns": "2.30.0", "date-fns-tz": "^2.0.0", "leaflet": "^1.9.4", "linkify-html": "^4.1.3", "linkifyjs": "^4.1.3", - "marked": "^14.1.3", + "marked": "^14.1.4", "sanitize-html": "^2.13.1", - "vue": "^3.5.12", - "vue-chartjs": "^5.3.1", + "vue": "^3.5.13", + "vue-chartjs": "^5.3.2", "vue-fullscreen": "^3.1.2", "vue-i18n": "^9.14.0", "vue-multiselect": "^3.1.0", @@ -49,9 +49,9 @@ "@rushstack/eslint-patch": "^1.10.4", "@tsconfig/node18": "^18.2.4", "@types/jsdom": "^21.1.7", - "@types/node": "^22.8.4", + "@types/node": "^22.9.0", "@types/sanitize-html": "^2.13.0", - "@vitejs/plugin-vue": "^5.1.4", + "@vitejs/plugin-vue": "^5.2.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^13.0.0", "@vue/test-utils": "^2.4.6", @@ -59,15 +59,15 @@ "eslint": "8.57.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-import": "^2.31.0", - "eslint-plugin-vue": "^9.30.0", + "eslint-plugin-vue": "^9.31.0", "jsdom": "^24.1.3", "npm-run-all2": "^6.2.6", "prettier": "^3.3.3", "sass": "1.78.0", "typescript": "~5.5.4", "vite": "^5.4.8", - "vitest": "^2.1.4", - "vue-tsc": "^2.1.8" + "vitest": "^2.1.5", + "vue-tsc": "^2.1.10" }, "resolutions": { "strip-ansi": "6.0.1" diff --git a/fittrackee_client/yarn.lock b/fittrackee_client/yarn.lock index 02659195c..cfbedd400 100644 --- a/fittrackee_client/yarn.lock +++ b/fittrackee_client/yarn.lock @@ -13,9 +13,9 @@ integrity sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ== "@babel/parser@^7.25.3": - version "7.26.1" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.1.tgz#44e02499960df2cdce2c456372a3e8e0c3c5c975" - integrity sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw== + version "7.26.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.26.2.tgz#fd7b6f487cfea09889557ef5d4eeb9ff9a5abd11" + integrity sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ== dependencies: "@babel/types" "^7.26.0" @@ -313,95 +313,95 @@ resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== -"@rollup/rollup-android-arm-eabi@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.3.tgz#49a2a9808074f2683667992aa94b288e0b54fc82" - integrity sha512-ufb2CH2KfBWPJok95frEZZ82LtDl0A6QKTa8MoM+cWwDZvVGl5/jNb79pIhRvAalUu+7LD91VYR0nwRD799HkQ== - -"@rollup/rollup-android-arm64@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.3.tgz#197e3bc01c228d3c23591e0fcedca91f8f398ec1" - integrity sha512-iAHpft/eQk9vkWIV5t22V77d90CRofgR2006UiCjHcHJFVI1E0oBkQIAbz+pLtthFw3hWEmVB4ilxGyBf48i2Q== - -"@rollup/rollup-darwin-arm64@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.3.tgz#16772c0309d0dc3cca716580cdac7a1c560ddf46" - integrity sha512-QPW2YmkWLlvqmOa2OwrfqLJqkHm7kJCIMq9kOz40Zo9Ipi40kf9ONG5Sz76zszrmIZZ4hgRIkez69YnTHgEz1w== - -"@rollup/rollup-darwin-x64@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.3.tgz#4e98120a1c4cda7d4043ccce72347cee53784140" - integrity sha512-KO0pN5x3+uZm1ZXeIfDqwcvnQ9UEGN8JX5ufhmgH5Lz4ujjZMAnxQygZAVGemFWn+ZZC0FQopruV4lqmGMshow== - -"@rollup/rollup-freebsd-arm64@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.24.3.tgz#27145e414986e216e0d9b9a8d488028f33c39566" - integrity sha512-CsC+ZdIiZCZbBI+aRlWpYJMSWvVssPuWqrDy/zi9YfnatKKSLFCe6fjna1grHuo/nVaHG+kiglpRhyBQYRTK4A== - -"@rollup/rollup-freebsd-x64@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.24.3.tgz#67e75fd87a903090f038b212273c492e5ca6b32f" - integrity sha512-F0nqiLThcfKvRQhZEzMIXOQG4EeX61im61VYL1jo4eBxv4aZRmpin6crnBJQ/nWnCsjH5F6J3W6Stdm0mBNqBg== - -"@rollup/rollup-linux-arm-gnueabihf@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.3.tgz#bb45ebadbb9496298ab5461373bde357e8f33e88" - integrity sha512-KRSFHyE/RdxQ1CSeOIBVIAxStFC/hnBgVcaiCkQaVC+EYDtTe4X7z5tBkFyRoBgUGtB6Xg6t9t2kulnX6wJc6A== - -"@rollup/rollup-linux-arm-musleabihf@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.3.tgz#384276c23feb0a4d6ffa603a9a760decce8b4118" - integrity sha512-h6Q8MT+e05zP5BxEKz0vi0DhthLdrNEnspdLzkoFqGwnmOzakEHSlXfVyA4HJ322QtFy7biUAVFPvIDEDQa6rw== - -"@rollup/rollup-linux-arm64-gnu@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.3.tgz#89e5a4570ddd9eca908324a6de60bd64f904e3f0" - integrity sha512-fKElSyXhXIJ9pqiYRqisfirIo2Z5pTTve5K438URf08fsypXrEkVmShkSfM8GJ1aUyvjakT+fn2W7Czlpd/0FQ== - -"@rollup/rollup-linux-arm64-musl@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.3.tgz#9ffd7cd6c6c6670d8c039056d6a49ad9f1f66949" - integrity sha512-YlddZSUk8G0px9/+V9PVilVDC6ydMz7WquxozToozSnfFK6wa6ne1ATUjUvjin09jp34p84milxlY5ikueoenw== - -"@rollup/rollup-linux-powerpc64le-gnu@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.3.tgz#4d32ce982e2d25e3b8116336ad5ce6e270b5a024" - integrity sha512-yNaWw+GAO8JjVx3s3cMeG5Esz1cKVzz8PkTJSfYzE5u7A+NvGmbVFEHP+BikTIyYWuz0+DX9kaA3pH9Sqxp69g== - -"@rollup/rollup-linux-riscv64-gnu@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.3.tgz#f43d4e0572397e3d3acd82d77d79ce021dea3310" - integrity sha512-lWKNQfsbpv14ZCtM/HkjCTm4oWTKTfxPmr7iPfp3AHSqyoTz5AgLemYkWLwOBWc+XxBbrU9SCokZP0WlBZM9lA== - -"@rollup/rollup-linux-s390x-gnu@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.3.tgz#264f8a4c206173945bdab2a676d638b7945106a9" - integrity sha512-HoojGXTC2CgCcq0Woc/dn12wQUlkNyfH0I1ABK4Ni9YXyFQa86Fkt2Q0nqgLfbhkyfQ6003i3qQk9pLh/SpAYw== - -"@rollup/rollup-linux-x64-gnu@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz#e86172a407b2edd41540ec2ae636e497fadccff6" - integrity sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ== - -"@rollup/rollup-linux-x64-musl@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.3.tgz#8ae9bf78986d1b16ccbc89ab6f2dfa96807d3178" - integrity sha512-rMTzawBPimBQkG9NKpNHvquIUTQPzrnPxPbCY1Xt+mFkW7pshvyIS5kYgcf74goxXOQk0CP3EoOC1zcEezKXhw== - -"@rollup/rollup-win32-arm64-msvc@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.3.tgz#11d6a59f651a3c2a9e5eaab0a99367b77a29c319" - integrity sha512-2lg1CE305xNvnH3SyiKwPVsTVLCg4TmNCF1z7PSHX2uZY2VbUpdkgAllVoISD7JO7zu+YynpWNSKAtOrX3AiuA== - -"@rollup/rollup-win32-ia32-msvc@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.3.tgz#7ff146e53dc6e388b60329b7ec3335501d2b0f98" - integrity sha512-9SjYp1sPyxJsPWuhOCX6F4jUMXGbVVd5obVpoVEi8ClZqo52ViZewA6eFz85y8ezuOA+uJMP5A5zo6Oz4S5rVQ== - -"@rollup/rollup-win32-x64-msvc@4.24.3": - version "4.24.3" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.3.tgz#7687335781efe6bee14d6ed8eff9746a9f24c9cd" - integrity sha512-HGZgRFFYrMrP3TJlq58nR1xy8zHKId25vhmm5S9jETEfDf6xybPxsavFTJaufe2zgOGYJBskGlj49CwtEuFhWQ== +"@rollup/rollup-android-arm-eabi@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.2.tgz#9fa3640a1f435bc3800b8d703d3f18823962b045" + integrity sha512-Tj+j7Pyzd15wAdSJswvs5CJzJNV+qqSUcr/aCD+jpQSBtXvGnV0pnrjoc8zFTe9fcKCatkpFpOO7yAzpO998HA== + +"@rollup/rollup-android-arm64@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.2.tgz#272fcb6416c60b2225192379fa2c5e63b48f19dc" + integrity sha512-xsPeJgh2ThBpUqlLgRfiVYBEf/P1nWlWvReG+aBWfNv3XEBpa6ZCmxSVnxJgLgkNz4IbxpLy64h2gCmAAQLneQ== + +"@rollup/rollup-darwin-arm64@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.2.tgz#03c63fd652bd4d522f366b1550526fd8c09c9dd8" + integrity sha512-KnXU4m9MywuZFedL35Z3PuwiTSn/yqRIhrEA9j+7OSkji39NzVkgxuxTYg5F8ryGysq4iFADaU5osSizMXhU2A== + +"@rollup/rollup-darwin-x64@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.2.tgz#268f23bc2beb3be98135ab499e4e6cdaf7c8993f" + integrity sha512-Hj77A3yTvUeCIx/Vi+4d4IbYhyTwtHj07lVzUgpUq9YpJSEiGJj4vXMKwzJ3w5zp5v3PFvpJNgc/J31smZey6g== + +"@rollup/rollup-freebsd-arm64@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.2.tgz#ee5421bd8b3b9e1e9402c0328c3b02cde7869404" + integrity sha512-RjgKf5C3xbn8gxvCm5VgKZ4nn0pRAIe90J0/fdHUsgztd3+Zesb2lm2+r6uX4prV2eUByuxJNdt647/1KPRq5g== + +"@rollup/rollup-freebsd-x64@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.2.tgz#2886b9ef04bca8e8334eaf378717eff87bf3be13" + integrity sha512-duq21FoXwQtuws+V9H6UZ+eCBc7fxSpMK1GQINKn3fAyd9DFYKPJNcUhdIKOrMFjLEJgQskoMoiuizMt+dl20g== + +"@rollup/rollup-linux-arm-gnueabihf@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.2.tgz#0c17a3c31bab9e8519038e7bf15a81e0ac35dcd3" + integrity sha512-6npqOKEPRZkLrMcvyC/32OzJ2srdPzCylJjiTJT2c0bwwSGm7nz2F9mNQ1WrAqCBZROcQn91Fno+khFhVijmFA== + +"@rollup/rollup-linux-arm-musleabihf@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.2.tgz#6893bfa6d87a4e8d7f79612803ef0a69787bef3c" + integrity sha512-V9Xg6eXtgBtHq2jnuQwM/jr2mwe2EycnopO8cbOvpzFuySCGtKlPCI3Hj9xup/pJK5Q0388qfZZy2DqV2J8ftw== + +"@rollup/rollup-linux-arm64-gnu@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.2.tgz#560ecf7f12dbb33a93fe19d9791211283fe4b0e0" + integrity sha512-uCFX9gtZJoQl2xDTpRdseYuNqyKkuMDtH6zSrBTA28yTfKyjN9hQ2B04N5ynR8ILCoSDOrG/Eg+J2TtJ1e/CSA== + +"@rollup/rollup-linux-arm64-musl@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.2.tgz#fd555c67a9a99927ef5e904ea4b3143915d1e44f" + integrity sha512-/PU9P+7Rkz8JFYDHIi+xzHabOu9qEWR07L5nWLIUsvserrxegZExKCi2jhMZRd0ATdboKylu/K5yAXbp7fYFvA== + +"@rollup/rollup-linux-powerpc64le-gnu@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.2.tgz#c588dbaacc1809a95a49dc2e954b76044eb368f5" + integrity sha512-eCHmol/dT5odMYi/N0R0HC8V8QE40rEpkyje/ZAXJYNNoSfrObOvG/Mn+s1F/FJyB7co7UQZZf6FuWnN6a7f4g== + +"@rollup/rollup-linux-riscv64-gnu@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.2.tgz#9ebdec626efffe3a8676958ae7e5992cfdd2ec55" + integrity sha512-DEP3Njr9/ADDln3kNi76PXonLMSSMiCir0VHXxmGSHxCxDfQ70oWjHcJGfiBugzaqmYdTC7Y+8Int6qbnxPBIQ== + +"@rollup/rollup-linux-s390x-gnu@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.2.tgz#4941df3416caeecd265e718aa9e0a20efcb187bf" + integrity sha512-NHGo5i6IE/PtEPh5m0yw5OmPMpesFnzMIS/lzvN5vknnC1sXM5Z/id5VgcNPgpD+wHmIcuYYgW+Q53v+9s96lQ== + +"@rollup/rollup-linux-x64-gnu@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.2.tgz#8c2df25367b4814727d32d74d7028f901c6288b1" + integrity sha512-PaW2DY5Tan+IFvNJGHDmUrORadbe/Ceh8tQxi8cmdQVCCYsLoQo2cuaSj+AU+YRX8M4ivS2vJ9UGaxfuNN7gmg== + +"@rollup/rollup-linux-x64-musl@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.2.tgz#b93cf65c2beb3d6a7139247ba6a948014502dcfb" + integrity sha512-dOlWEMg2gI91Qx5I/HYqOD6iqlJspxLcS4Zlg3vjk1srE67z5T2Uz91yg/qA8sY0XcwQrFzWWiZhMNERylLrpQ== + +"@rollup/rollup-win32-arm64-msvc@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.2.tgz#3ccf1f8a7e74ca22ad9cf258d31077320cfac19e" + integrity sha512-euMIv/4x5Y2/ImlbGl88mwKNXDsvzbWUlT7DFky76z2keajCtcbAsN9LUdmk31hAoVmJJYSThgdA0EsPeTr1+w== + +"@rollup/rollup-win32-ia32-msvc@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.2.tgz#9294246ee7ab3021026fdb434f16d9f7d02a9c91" + integrity sha512-RsnE6LQkUHlkC10RKngtHNLxb7scFykEbEwOFDjr3CeCMG+Rr+cKqlkKc2/wJ1u4u990urRHCbjz31x84PBrSQ== + +"@rollup/rollup-win32-x64-msvc@4.27.2": + version "4.27.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.2.tgz#dd46f94fb22ea3be0b79193f721b3510fb428a1d" + integrity sha512-foJM5vv+z2KQmn7emYdDLyTbkoO5bkHZE1oth2tWbQNGW7mX32d46Hz6T0MqXdWS2vBZhaEtHqdy9WYwGfiliA== "@rtsao/scc@^1.1.0": version "1.1.0" @@ -449,10 +449,10 @@ dependencies: undici-types "~6.19.2" -"@types/node@^22.8.4": - version "22.8.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.8.4.tgz#ab754f7ac52e1fe74174f761c5b03acaf06da0dc" - integrity sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw== +"@types/node@^22.9.0": + version "22.9.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365" + integrity sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ== dependencies: undici-types "~6.19.8" @@ -554,88 +554,88 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@vitejs/plugin-vue@^5.1.4": - version "5.1.4" - resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.1.4.tgz#72b8b705cfce36b00b59af196195146e356500c4" - integrity sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A== +"@vitejs/plugin-vue@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.0.tgz#994f3b4f12d3590c5a6895df4cbd270d9a6d5e17" + integrity sha512-7n7KdUEtx/7Yl7I/WVAMZ1bEb0eVvXF3ummWTeLcs/9gvo9pJhuLdouSXGjdZ/MKD1acf1I272+X0RMua4/R3g== -"@vitest/expect@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.1.4.tgz#48f4f53a01092a3bdc118cff245f79ef388bdd8e" - integrity sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA== +"@vitest/expect@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-2.1.5.tgz#5a6afa6314cae7a61847927bb5bc038212ca7381" + integrity sha512-nZSBTW1XIdpZvEJyoP/Sy8fUg0b8od7ZpGDkTUcfJ7wz/VoZAFzFfLyxVxGFhUjJzhYqSbIpfMtl/+k/dpWa3Q== dependencies: - "@vitest/spy" "2.1.4" - "@vitest/utils" "2.1.4" + "@vitest/spy" "2.1.5" + "@vitest/utils" "2.1.5" chai "^5.1.2" tinyrainbow "^1.2.0" -"@vitest/mocker@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-2.1.4.tgz#0dc07edb9114f7f080a0181fbcdb16cd4a2d855d" - integrity sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ== +"@vitest/mocker@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/mocker/-/mocker-2.1.5.tgz#54ee50648bc0bb606dfc58e13edfacb8b9208324" + integrity sha512-XYW6l3UuBmitWqSUXTNXcVBUCRytDogBsWuNXQijc00dtnU/9OqpXWp4OJroVrad/gLIomAq9aW8yWDBtMthhQ== dependencies: - "@vitest/spy" "2.1.4" + "@vitest/spy" "2.1.5" estree-walker "^3.0.3" magic-string "^0.30.12" -"@vitest/pretty-format@2.1.4", "@vitest/pretty-format@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.4.tgz#fc31993bdc1ef5a6c1a4aa6844e7ba55658a4f9f" - integrity sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww== +"@vitest/pretty-format@2.1.5", "@vitest/pretty-format@^2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/pretty-format/-/pretty-format-2.1.5.tgz#bc79b8826d4a63dc04f2a75d2944694039fa50aa" + integrity sha512-4ZOwtk2bqG5Y6xRGHcveZVr+6txkH7M2e+nPFd6guSoN638v/1XQ0K06eOpi0ptVU/2tW/pIU4IoPotY/GZ9fw== dependencies: tinyrainbow "^1.2.0" -"@vitest/runner@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-2.1.4.tgz#f9346500bdd0be1c926daaac5d683bae87ceda2c" - integrity sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA== +"@vitest/runner@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-2.1.5.tgz#4d5e2ba2dfc0af74e4b0f9f3f8be020559b26ea9" + integrity sha512-pKHKy3uaUdh7X6p1pxOkgkVAFW7r2I818vHDthYLvUyjRfkKOU6P45PztOch4DZarWQne+VOaIMwA/erSSpB9g== dependencies: - "@vitest/utils" "2.1.4" + "@vitest/utils" "2.1.5" pathe "^1.1.2" -"@vitest/snapshot@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-2.1.4.tgz#ef8c3f605fbc23a32773256d37d3fdfd9b23d353" - integrity sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q== +"@vitest/snapshot@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-2.1.5.tgz#a09a8712547452a84e08b3ec97b270d9cc156b4f" + integrity sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg== dependencies: - "@vitest/pretty-format" "2.1.4" + "@vitest/pretty-format" "2.1.5" magic-string "^0.30.12" pathe "^1.1.2" -"@vitest/spy@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.1.4.tgz#4e90f9783437c5841a27c80f8fd84d7289a6100a" - integrity sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg== +"@vitest/spy@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-2.1.5.tgz#f790d1394a5030644217ce73562e92465e83147e" + integrity sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw== dependencies: tinyspy "^3.0.2" -"@vitest/utils@2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.1.4.tgz#6d67ac966647a21ce8bc497472ce230de3b64537" - integrity sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg== +"@vitest/utils@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-2.1.5.tgz#0e19ce677c870830a1573d33ee86b0d6109e9546" + integrity sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg== dependencies: - "@vitest/pretty-format" "2.1.4" + "@vitest/pretty-format" "2.1.5" loupe "^3.1.2" tinyrainbow "^1.2.0" -"@volar/language-core@2.4.8", "@volar/language-core@~2.4.8": - version "2.4.8" - resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.8.tgz#022f9a8f8c0615469d2f8290f9b44528807c99ca" - integrity sha512-K/GxMOXGq997bO00cdFhTNuR85xPxj0BEEAy+BaqqayTmy9Tmhfgmq2wpJcVspRhcwfgPoE2/mEJa26emUhG/g== +"@volar/language-core@2.4.10", "@volar/language-core@~2.4.8": + version "2.4.10" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.10.tgz#7d57c29d27f7bce2fa7eb9f3a1fc053a3e28e53f" + integrity sha512-hG3Z13+nJmGaT+fnQzAkS0hjJRa2FCeqZt6Bd+oGNhUkQ+mTFsDETg5rqUTxyzIh5pSOGY7FHCWUS8G82AzLCA== dependencies: - "@volar/source-map" "2.4.8" + "@volar/source-map" "2.4.10" -"@volar/source-map@2.4.8": - version "2.4.8" - resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.8.tgz#bc699a095aaab405ddc0e2c5a011edc151e787fd" - integrity sha512-jeWJBkC/WivdelMwxKkpFL811uH/jJ1kVxa+c7OvG48DXc3VrP7pplSWPP2W1dLMqBxD+awRlg55FQQfiup4cA== +"@volar/source-map@2.4.10": + version "2.4.10" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.10.tgz#08cc505613f8e5d39af740e96cec5eb4553576d4" + integrity sha512-OCV+b5ihV0RF3A7vEvNyHPi4G4kFa6ukPmyVocmqm5QzOd8r5yAtiNvaPEjl8dNvgC/lj4JPryeeHLdXd62rWA== "@volar/typescript@~2.4.8": - version "2.4.8" - resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.8.tgz#4cfb90b3226e04d781d48fa519fed0838d7b1504" - integrity sha512-6xkIYJ5xxghVBhVywMoPMidDDAFT1OoQeXwa27HSgJ6AiIKRe61RXLoik+14Z7r0JvnblXVsjsRLmCr42SGzqg== + version "2.4.10" + resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.10.tgz#5d0d6476c98a3e0820731f5be36e859d48ed135f" + integrity sha512-F8ZtBMhSXyYKuBfGpYwqA5rsONnOwAVvjyE7KPYJ7wgZqo2roASqNWUnianOomJX5u1cxeRooHV59N0PhvEOgw== dependencies: - "@volar/language-core" "2.4.8" + "@volar/language-core" "2.4.10" path-browserify "^1.0.1" vscode-uri "^3.0.8" @@ -657,13 +657,13 @@ estree-walker "^2.0.2" source-map-js "^1.2.0" -"@vue/compiler-core@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.12.tgz#bd70b7dabd12b0b6f31bc53418ba3da77994c437" - integrity sha512-ISyBTRMmMYagUxhcpyEH0hpXRd/KqDU4ymofPgl2XAkY9ZhQ+h0ovEZJIiPop13UmR/54oA2cgMDjgroRelaEw== +"@vue/compiler-core@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.13.tgz#b0ae6c4347f60c03e849a05d34e5bf747c9bda05" + integrity sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q== dependencies: "@babel/parser" "^7.25.3" - "@vue/shared" "3.5.12" + "@vue/shared" "3.5.13" entities "^4.5.0" estree-walker "^2.0.2" source-map-js "^1.2.0" @@ -676,13 +676,13 @@ "@vue/compiler-core" "3.5.11" "@vue/shared" "3.5.11" -"@vue/compiler-dom@3.5.12", "@vue/compiler-dom@^3.5.0": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.12.tgz#456d631d11102535b7ee6fd954cf2c93158d0354" - integrity sha512-9G6PbJ03uwxLHKQ3P42cMTi85lDRvGLB2rSGOiQqtXELat6uI4n8cNz9yjfVHRPIu+MsK6TE418Giruvgptckg== +"@vue/compiler-dom@3.5.13", "@vue/compiler-dom@^3.5.0": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.13.tgz#bb1b8758dbc542b3658dda973b98a1c9311a8a58" + integrity sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA== dependencies: - "@vue/compiler-core" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/compiler-core" "3.5.13" + "@vue/shared" "3.5.13" "@vue/compiler-sfc@3.5.11": version "3.5.11" @@ -699,19 +699,19 @@ postcss "^8.4.47" source-map-js "^1.2.0" -"@vue/compiler-sfc@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.12.tgz#6688120d905fcf22f7e44d3cb90f8dabc4dd3cc8" - integrity sha512-2k973OGo2JuAa5+ZlekuQJtitI5CgLMOwgl94BzMCsKZCX/xiqzJYzapl4opFogKHqwJk34vfsaKpfEhd1k5nw== +"@vue/compiler-sfc@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.13.tgz#461f8bd343b5c06fac4189c4fef8af32dea82b46" + integrity sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ== dependencies: "@babel/parser" "^7.25.3" - "@vue/compiler-core" "3.5.12" - "@vue/compiler-dom" "3.5.12" - "@vue/compiler-ssr" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/compiler-core" "3.5.13" + "@vue/compiler-dom" "3.5.13" + "@vue/compiler-ssr" "3.5.13" + "@vue/shared" "3.5.13" estree-walker "^2.0.2" magic-string "^0.30.11" - postcss "^8.4.47" + postcss "^8.4.48" source-map-js "^1.2.0" "@vue/compiler-ssr@3.5.11": @@ -722,13 +722,13 @@ "@vue/compiler-dom" "3.5.11" "@vue/shared" "3.5.11" -"@vue/compiler-ssr@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.12.tgz#5f1a3fbd5c44b79a6dbe88729f7801d9c9218bde" - integrity sha512-eLwc7v6bfGBSM7wZOGPmRavSWzNFF6+PdRhE+VFJhNCgHiF8AM7ccoqcv5kBXA2eWUfigD7byekvf/JsOfKvPA== +"@vue/compiler-ssr@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz#e771adcca6d3d000f91a4277c972a996d07f43ba" + integrity sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA== dependencies: - "@vue/compiler-dom" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/compiler-dom" "3.5.13" + "@vue/shared" "3.5.13" "@vue/compiler-vue2@^2.7.16": version "2.7.16" @@ -760,10 +760,10 @@ "@typescript-eslint/parser" "^7.1.1" vue-eslint-parser "^9.3.1" -"@vue/language-core@2.1.8": - version "2.1.8" - resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-2.1.8.tgz#1bc68852021f7972649c448c44cdaeeb801c2363" - integrity sha512-DtPUKrIRqqzY1joGfVHxHWZoxXZbCQLmVtW+QTifuPInfcs1R/3UAdlJXDp+lpSpP9lI5m+jMYYlwDXXu3KSTg== +"@vue/language-core@2.1.10": + version "2.1.10" + resolved "https://registry.yarnpkg.com/@vue/language-core/-/language-core-2.1.10.tgz#5988e9ea155f3e09ccbbb3b2a0ddd530dad912e6" + integrity sha512-DAI289d0K3AB5TUG3xDp9OuQ71CnrujQwJrQnfuZDwo6eGNf0UoRlPuaVNO+Zrn65PC3j0oB2i7mNmVPggeGeQ== dependencies: "@volar/language-core" "~2.4.8" "@vue/compiler-dom" "^3.5.0" @@ -781,12 +781,12 @@ dependencies: "@vue/shared" "3.5.11" -"@vue/reactivity@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.12.tgz#a2815d91842ed7b9e7e7936c851923caf6b6e603" - integrity sha512-UzaN3Da7xnJXdz4Okb/BGbAaomRHc3RdoWqTzlvd9+WBR5m3J39J1fGcHes7U3za0ruYn/iYy/a1euhMEHvTAg== +"@vue/reactivity@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.13.tgz#b41ff2bb865e093899a22219f5b25f97b6fe155f" + integrity sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg== dependencies: - "@vue/shared" "3.5.12" + "@vue/shared" "3.5.13" "@vue/runtime-core@3.5.11": version "3.5.11" @@ -796,13 +796,13 @@ "@vue/reactivity" "3.5.11" "@vue/shared" "3.5.11" -"@vue/runtime-core@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.12.tgz#849207f203d0fd82971f19574d30dbe7134c78c7" - integrity sha512-hrMUYV6tpocr3TL3Ad8DqxOdpDe4zuQY4HPY3X/VRh+L2myQO8MFXPAMarIOSGNu0bFAjh1yBkMPXZBqCk62Uw== +"@vue/runtime-core@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.13.tgz#1fafa4bf0b97af0ebdd9dbfe98cd630da363a455" + integrity sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw== dependencies: - "@vue/reactivity" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/reactivity" "3.5.13" + "@vue/shared" "3.5.13" "@vue/runtime-dom@3.5.11": version "3.5.11" @@ -814,14 +814,14 @@ "@vue/shared" "3.5.11" csstype "^3.1.3" -"@vue/runtime-dom@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.12.tgz#6d4de3df49a90a460b311b1100baa5e2d0d1c8c9" - integrity sha512-q8VFxR9A2MRfBr6/55Q3umyoN7ya836FzRXajPB6/Vvuv0zOPL+qltd9rIMzG/DbRLAIlREmnLsplEF/kotXKA== +"@vue/runtime-dom@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.13.tgz#610fc795de9246300e8ae8865930d534e1246215" + integrity sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog== dependencies: - "@vue/reactivity" "3.5.12" - "@vue/runtime-core" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/reactivity" "3.5.13" + "@vue/runtime-core" "3.5.13" + "@vue/shared" "3.5.13" csstype "^3.1.3" "@vue/server-renderer@3.5.11": @@ -832,23 +832,23 @@ "@vue/compiler-ssr" "3.5.11" "@vue/shared" "3.5.11" -"@vue/server-renderer@3.5.12": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.12.tgz#79c6bc3860e4e4ef80d85653c5d03fd94b26574e" - integrity sha512-I3QoeDDeEPZm8yR28JtY+rk880Oqmj43hreIBVTicisFTx/Dl7JpG72g/X7YF8hnQD3IFhkky5i2bPonwrTVPg== +"@vue/server-renderer@3.5.13": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.13.tgz#429ead62ee51de789646c22efe908e489aad46f7" + integrity sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA== dependencies: - "@vue/compiler-ssr" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/compiler-ssr" "3.5.13" + "@vue/shared" "3.5.13" "@vue/shared@3.5.11": version "3.5.11" resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.11.tgz#464b840afc89be9373addff9eeb9dfc98bf3fe2e" integrity sha512-W8GgysJVnFo81FthhzurdRAWP/byq3q2qIw70e0JWblzVhjgOMiC2GyovXrZTFQJnFVryYaKGP3Tc9vYzYm6PQ== -"@vue/shared@3.5.12", "@vue/shared@^3.5.0": - version "3.5.12" - resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.12.tgz#f9e45b7f63f2c3f40d84237b1194b7f67de192e3" - integrity sha512-L2RPSAwUFbgZH20etwrXyVyCBu9OxRSi8T/38QsvnkJyvq2LufW2lDCOzm7t/U9C1mkhJGWYfCuFBCmIuNivrg== +"@vue/shared@3.5.13", "@vue/shared@^3.5.0": + version "3.5.13" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.13.tgz#87b309a6379c22b926e696893237826f64339b6f" + integrity sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ== "@vue/test-utils@^2.4.6": version "2.4.6" @@ -948,9 +948,9 @@ ajv@^6.12.4: uri-js "^4.2.2" alien-signals@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-0.2.0.tgz#f159e1b767802f2444fed4e58b8d15fd8bab1c24" - integrity sha512-StlonZhBBrsPPwrDjiPAiVTf/rolxffLxVPT60Qv/t88BZ81BvUVzHgGqEFvJ1ii8HXtm1+zU2Icr59tfWEcag== + version "0.2.2" + resolved "https://registry.yarnpkg.com/alien-signals/-/alien-signals-0.2.2.tgz#439d09b363dc4d609c0f6ce69362dce068d23197" + integrity sha512-cZIRkbERILsBOXTQmMrxc9hgpxglstn69zm+F1ARf4aPAzdAFYd6sBq87ErO0Fj3DV94tglcyHG5kQz9nDC/8A== ansi-regex@^5.0.1: version "5.0.1" @@ -1230,10 +1230,10 @@ config-chain@^1.1.13: ini "^1.3.4" proto-list "~1.2.1" -core-js@^3.38.1: - version "3.38.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.38.1.tgz#aa375b79a286a670388a1a363363d53677c0383e" - integrity sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw== +core-js@^3.39.0: + version "3.39.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.39.0.tgz#57f7647f4d2d030c32a72ea23a0555b2eaa30f83" + integrity sha512-raM0ew0/jJUqkJ0E6e8UDtl+y/7ktFivgWvqw8dNSQeNWoSDLvQ1H/RN3aPXB9tBd4/FhyR4RDPGhsNIMsAn7g== cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" @@ -1528,6 +1528,11 @@ es-errors@^1.2.1, es-errors@^1.3.0: resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== +es-module-lexer@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.5.4.tgz#a8efec3a3da991e60efa6b633a7cad6ab8d26b78" + integrity sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw== + es-object-atoms@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.0.0.tgz#ddb55cd47ac2e240701260bc2a8e31ecb643d941" @@ -1662,10 +1667,10 @@ eslint-plugin-prettier@^5.0.0: prettier-linter-helpers "^1.0.0" synckit "^0.9.1" -eslint-plugin-vue@^9.30.0: - version "9.30.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.30.0.tgz#801a7d2d7d3bb878fcf71932a1e11fd07529e2c4" - integrity sha512-CyqlRgShvljFkOeYK8wN5frh/OGTvkj1S7wlr2Q2pUvwq+X5VYiLd6ZjujpgSgLnys2W8qrBLkXQ41SUYaoPIQ== +eslint-plugin-vue@^9.31.0: + version "9.31.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.31.0.tgz#5da53c2826f8efd8a62835aad596826053b1085e" + integrity sha512-aYMUCgivhz1o4tLkRHj5oq9YgYPM4/EJc0M7TAKRLCUA5OYxRLAhYEVD2nLtTwLyixEFI+/QXSvKU9ESZFgqjQ== dependencies: "@eslint-community/eslint-utils" "^4.4.0" globals "^13.24.0" @@ -2527,10 +2532,10 @@ magic-string@^0.30.11, magic-string@^0.30.12: dependencies: "@jridgewell/sourcemap-codec" "^1.5.0" -marked@^14.1.3: - version "14.1.3" - resolved "https://registry.yarnpkg.com/marked/-/marked-14.1.3.tgz#42372cffd22e76e0f1d7f3627ebc116d291abbed" - integrity sha512-ZibJqTULGlt9g5k4VMARAktMAjXoVnnr+Y3aCqW1oDftcV4BA3UmrBifzXoZyenHRk75csiPu9iwsTj4VNBT0g== +marked@^14.1.4: + version "14.1.4" + resolved "https://registry.yarnpkg.com/marked/-/marked-14.1.4.tgz#5e348de817bfa35a11e71de7e41dd7c3fdb186a9" + integrity sha512-vkVZ8ONmUdPnjCKc5uTRvmkRbx4EAi2OkTOXmfTDhZz3OFqMNBM1oTTWwTr4HY4uAEojhzPf+Fy8F1DWa3Sndg== memorystream@^0.3.1: version "0.3.1" @@ -2809,7 +2814,7 @@ pathval@^2.0.0: resolved "https://registry.yarnpkg.com/pathval/-/pathval-2.0.0.tgz#7e2550b422601d4f6b8e26f1301bc8f15a741a25" integrity sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA== -picocolors@^1.1.0: +picocolors@^1.1.0, picocolors@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== @@ -2837,7 +2842,7 @@ postcss-selector-parser@^6.0.15: cssesc "^3.0.0" util-deprecate "^1.0.2" -postcss@^8.3.11, postcss@^8.4.43, postcss@^8.4.47: +postcss@^8.3.11: version "8.4.47" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.47.tgz#5bf6c9a010f3e724c503bf03ef7947dcb0fea365" integrity sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ== @@ -2846,6 +2851,15 @@ postcss@^8.3.11, postcss@^8.4.43, postcss@^8.4.47: picocolors "^1.1.0" source-map-js "^1.2.1" +postcss@^8.4.43, postcss@^8.4.47, postcss@^8.4.48: + version "8.4.49" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19" + integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA== + dependencies: + nanoid "^3.3.7" + picocolors "^1.1.1" + source-map-js "^1.2.1" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" @@ -2960,30 +2974,30 @@ rimraf@^3.0.2: glob "^7.1.3" rollup@^4.20.0: - version "4.24.3" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.24.3.tgz#8b259063740af60b0030315f88665ba2041789b8" - integrity sha512-HBW896xR5HGmoksbi3JBDtmVzWiPAYqp7wip50hjQ67JbDz61nyoMPdqu1DvVW9asYb2M65Z20ZHsyJCMqMyDg== + version "4.27.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.27.2.tgz#3ee2aaa85ac8dfa4aa43ff48ccc54234dda5721e" + integrity sha512-KreA+PzWmk2yaFmZVwe6GB2uBD86nXl86OsDkt1bJS9p3vqWuEQ6HnJJ+j/mZi/q0920P99/MVRlB4L3crpF5w== dependencies: "@types/estree" "1.0.6" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.24.3" - "@rollup/rollup-android-arm64" "4.24.3" - "@rollup/rollup-darwin-arm64" "4.24.3" - "@rollup/rollup-darwin-x64" "4.24.3" - "@rollup/rollup-freebsd-arm64" "4.24.3" - "@rollup/rollup-freebsd-x64" "4.24.3" - "@rollup/rollup-linux-arm-gnueabihf" "4.24.3" - "@rollup/rollup-linux-arm-musleabihf" "4.24.3" - "@rollup/rollup-linux-arm64-gnu" "4.24.3" - "@rollup/rollup-linux-arm64-musl" "4.24.3" - "@rollup/rollup-linux-powerpc64le-gnu" "4.24.3" - "@rollup/rollup-linux-riscv64-gnu" "4.24.3" - "@rollup/rollup-linux-s390x-gnu" "4.24.3" - "@rollup/rollup-linux-x64-gnu" "4.24.3" - "@rollup/rollup-linux-x64-musl" "4.24.3" - "@rollup/rollup-win32-arm64-msvc" "4.24.3" - "@rollup/rollup-win32-ia32-msvc" "4.24.3" - "@rollup/rollup-win32-x64-msvc" "4.24.3" + "@rollup/rollup-android-arm-eabi" "4.27.2" + "@rollup/rollup-android-arm64" "4.27.2" + "@rollup/rollup-darwin-arm64" "4.27.2" + "@rollup/rollup-darwin-x64" "4.27.2" + "@rollup/rollup-freebsd-arm64" "4.27.2" + "@rollup/rollup-freebsd-x64" "4.27.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.27.2" + "@rollup/rollup-linux-arm-musleabihf" "4.27.2" + "@rollup/rollup-linux-arm64-gnu" "4.27.2" + "@rollup/rollup-linux-arm64-musl" "4.27.2" + "@rollup/rollup-linux-powerpc64le-gnu" "4.27.2" + "@rollup/rollup-linux-riscv64-gnu" "4.27.2" + "@rollup/rollup-linux-s390x-gnu" "4.27.2" + "@rollup/rollup-linux-x64-gnu" "4.27.2" + "@rollup/rollup-linux-x64-musl" "4.27.2" + "@rollup/rollup-win32-arm64-msvc" "4.27.2" + "@rollup/rollup-win32-ia32-msvc" "4.27.2" + "@rollup/rollup-win32-x64-msvc" "4.27.2" fsevents "~2.3.2" rrweb-cssom@^0.7.1: @@ -3144,10 +3158,10 @@ stackback@0.0.2: resolved "https://registry.yarnpkg.com/stackback/-/stackback-0.0.2.tgz#1ac8a0d9483848d1695e418b6d031a3c3ce68e3b" integrity sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw== -std-env@^3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" - integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== +std-env@^3.8.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.8.0.tgz#b56ffc1baf1a29dcc80a3bdf11d7fca7c315e7d5" + integrity sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w== "string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" @@ -3274,9 +3288,9 @@ tinyexec@^0.3.1: integrity sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ== tinypool@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.0.1.tgz#c64233c4fac4304e109a64340178760116dbe1fe" - integrity sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA== + version "1.0.2" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-1.0.2.tgz#706193cc532f4c100f66aa00b01c42173d9051b2" + integrity sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA== tinyrainbow@^1.2.0: version "1.2.0" @@ -3433,20 +3447,21 @@ util-deprecate@^1.0.2: resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -vite-node@2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.1.4.tgz#97ffb6de913fd8d42253afe441f9512e9dbdfd5c" - integrity sha512-kqa9v+oi4HwkG6g8ufRnb5AeplcRw8jUF6/7/Qz1qRQOXHImG8YnLbB+LLszENwFnoBl9xIf9nVdCFzNd7GQEg== +vite-node@2.1.5: + version "2.1.5" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-2.1.5.tgz#cf28c637b2ebe65921f3118a165b7cf00a1cdf19" + integrity sha512-rd0QIgx74q4S1Rd56XIiL2cYEdyWn13cunYBIuqh9mpmQr7gGS0IxXoP8R6OaZtNQQLyXSWbd4rXKYUbhFpK5w== dependencies: cac "^6.7.14" debug "^4.3.7" + es-module-lexer "^1.5.4" pathe "^1.1.2" vite "^5.0.0" vite@^5.0.0, vite@^5.4.8: - version "5.4.10" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.10.tgz#d358a7bd8beda6cf0f3b7a450a8c7693a4f80c18" - integrity sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ== + version "5.4.11" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.4.11.tgz#3b415cd4aed781a356c1de5a9ebafb837715f6e5" + integrity sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q== dependencies: esbuild "^0.21.3" postcss "^8.4.43" @@ -3454,30 +3469,30 @@ vite@^5.0.0, vite@^5.4.8: optionalDependencies: fsevents "~2.3.3" -vitest@^2.1.4: - version "2.1.4" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-2.1.4.tgz#ba8f4589fb639cf5a9e6af54781667312b3e8230" - integrity sha512-eDjxbVAJw1UJJCHr5xr/xM86Zx+YxIEXGAR+bmnEID7z9qWfoxpHw0zdobz+TQAFOLT+nEXz3+gx6nUJ7RgmlQ== - dependencies: - "@vitest/expect" "2.1.4" - "@vitest/mocker" "2.1.4" - "@vitest/pretty-format" "^2.1.4" - "@vitest/runner" "2.1.4" - "@vitest/snapshot" "2.1.4" - "@vitest/spy" "2.1.4" - "@vitest/utils" "2.1.4" +vitest@^2.1.5: + version "2.1.5" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-2.1.5.tgz#a93b7b84a84650130727baae441354e6df118148" + integrity sha512-P4ljsdpuzRTPI/kbND2sDZ4VmieerR2c9szEZpjc+98Z9ebvnXmM5+0tHEKqYZumXqlvnmfWsjeFOjXVriDG7A== + dependencies: + "@vitest/expect" "2.1.5" + "@vitest/mocker" "2.1.5" + "@vitest/pretty-format" "^2.1.5" + "@vitest/runner" "2.1.5" + "@vitest/snapshot" "2.1.5" + "@vitest/spy" "2.1.5" + "@vitest/utils" "2.1.5" chai "^5.1.2" debug "^4.3.7" expect-type "^1.1.0" magic-string "^0.30.12" pathe "^1.1.2" - std-env "^3.7.0" + std-env "^3.8.0" tinybench "^2.9.0" tinyexec "^0.3.1" tinypool "^1.0.1" tinyrainbow "^1.2.0" vite "^5.0.0" - vite-node "2.1.4" + vite-node "2.1.5" why-is-node-running "^2.3.0" vscode-uri@^3.0.8: @@ -3485,10 +3500,10 @@ vscode-uri@^3.0.8: resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-3.0.8.tgz#1770938d3e72588659a172d0fd4642780083ff9f" integrity sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw== -vue-chartjs@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/vue-chartjs/-/vue-chartjs-5.3.1.tgz#73484d569ec4994ba5accd30fe6714ef28e86f5b" - integrity sha512-rZjqcHBxKiHrBl0CIvcOlVEBwRhpWAVf6rDU3vUfa7HuSRmGtCslc0Oc8m16oAVuk0erzc1FCtH1VCriHsrz+A== +vue-chartjs@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/vue-chartjs/-/vue-chartjs-5.3.2.tgz#c0f2009af6b08845af158ddee9d0a68d9dae631b" + integrity sha512-NrkbRRoYshbXbWqJkTN6InoDVwVb90C0R7eAVgMWcB9dPikbruaOoTFjFYHE/+tNPdIe6qdLCDjfjPHQ0fw4jw== vue-component-type-helpers@^2.0.0: version "2.1.6" @@ -3536,13 +3551,13 @@ vue-router@^4.4.5: dependencies: "@vue/devtools-api" "^6.6.4" -vue-tsc@^2.1.8: - version "2.1.8" - resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.1.8.tgz#c09b6d47525a12c619edce5a48933788d451da91" - integrity sha512-6+vjb7JLxKIzeD/1ktoUBZGAr+148FQoEFl8Lv5EpDJLO2PrUalhp7atMEuzEkLnoooM5bg3pJqjZI+oobxIaQ== +vue-tsc@^2.1.10: + version "2.1.10" + resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-2.1.10.tgz#4d61a64e5fad763b8b40c1884259fd48986f0b4e" + integrity sha512-RBNSfaaRHcN5uqVqJSZh++Gy/YUzryuv9u1aFWhsammDJXNtUiJMNoJ747lZcQ68wUQFx6E73y4FY3D8E7FGMA== dependencies: "@volar/typescript" "~2.4.8" - "@vue/language-core" "2.1.8" + "@vue/language-core" "2.1.10" semver "^7.5.4" vue@^3.2.25: @@ -3556,16 +3571,16 @@ vue@^3.2.25: "@vue/server-renderer" "3.5.11" "@vue/shared" "3.5.11" -vue@^3.5.12: - version "3.5.12" - resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.12.tgz#e08421c601b3617ea2c9ef0413afcc747130b36c" - integrity sha512-CLVZtXtn2ItBIi/zHZ0Sg1Xkb7+PU32bJJ8Bmy7ts3jxXTcbfsEfBivFYYWz1Hur+lalqGAh65Coin0r+HRUfg== +vue@^3.5.13: + version "3.5.13" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.13.tgz#9f760a1a982b09c0c04a867903fc339c9f29ec0a" + integrity sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ== dependencies: - "@vue/compiler-dom" "3.5.12" - "@vue/compiler-sfc" "3.5.12" - "@vue/runtime-dom" "3.5.12" - "@vue/server-renderer" "3.5.12" - "@vue/shared" "3.5.12" + "@vue/compiler-dom" "3.5.13" + "@vue/compiler-sfc" "3.5.13" + "@vue/runtime-dom" "3.5.13" + "@vue/server-renderer" "3.5.13" + "@vue/shared" "3.5.13" vuex@^4.1.0: version "4.1.0" From aea430ce8bda4c754fd5a3e85804b64e838a8361 Mon Sep 17 00:00:00 2001 From: "sam@samr1.net" Date: Sun, 17 Nov 2024 16:05:08 +0100 Subject: [PATCH 7/8] build dist files --- fittrackee/dist/index.html | 4 +- fittrackee/dist/static/charts-DvscibqU.js | 24 +++ fittrackee/dist/static/charts-wqJKPfTe.js | 24 --- .../{index-CTkznA1q.js => index-BChx9leC.js} | 172 +++++++++--------- 4 files changed, 112 insertions(+), 112 deletions(-) create mode 100644 fittrackee/dist/static/charts-DvscibqU.js delete mode 100644 fittrackee/dist/static/charts-wqJKPfTe.js rename fittrackee/dist/static/{index-CTkznA1q.js => index-BChx9leC.js} (58%) diff --git a/fittrackee/dist/index.html b/fittrackee/dist/index.html index a022fd7cd..6cb9e586d 100644 --- a/fittrackee/dist/index.html +++ b/fittrackee/dist/index.html @@ -7,8 +7,8 @@ FitTrackee - - + + diff --git a/fittrackee/dist/static/charts-DvscibqU.js b/fittrackee/dist/static/charts-DvscibqU.js new file mode 100644 index 000000000..487fa6189 --- /dev/null +++ b/fittrackee/dist/static/charts-DvscibqU.js @@ -0,0 +1,24 @@ +var ao=Object.defineProperty;var lo=(i,t,e)=>t in i?ao(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var S=(i,t,e)=>lo(i,typeof t!="symbol"?t+"":t,e);/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */function me(i){return i+.5|0}const bt=(i,t,e)=>Math.max(Math.min(i,e),t);function te(i){return bt(me(i*2.55),0,255)}function xt(i){return bt(me(i*255),0,255)}function gt(i){return bt(me(i/2.55)/100,0,1)}function Wi(i){return bt(me(i*100),0,100)}const et={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},gi=[..."0123456789ABCDEF"],co=i=>gi[i&15],ho=i=>gi[(i&240)>>4]+gi[i&15],_e=i=>(i&240)>>4===(i&15),fo=i=>_e(i.r)&&_e(i.g)&&_e(i.b)&&_e(i.a);function uo(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&et[i[1]]*17,g:255&et[i[2]]*17,b:255&et[i[3]]*17,a:t===5?et[i[4]]*17:255}:(t===7||t===9)&&(e={r:et[i[1]]<<4|et[i[2]],g:et[i[3]]<<4|et[i[4]],b:et[i[5]]<<4|et[i[6]],a:t===9?et[i[7]]<<4|et[i[8]]:255})),e}const go=(i,t)=>i<255?t(i):"";function po(i){var t=fo(i)?co:ho;return i?"#"+t(i.r)+t(i.g)+t(i.b)+go(i.a,t):void 0}const mo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function cn(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function bo(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function _o(i,t,e){const s=cn(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function xo(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=xo(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function Si(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(xt)}function Pi(i,t,e){return Si(cn,i,t,e)}function yo(i,t,e){return Si(_o,i,t,e)}function vo(i,t,e){return Si(bo,i,t,e)}function hn(i){return(i%360+360)%360}function ko(i){const t=mo.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?te(+t[5]):xt(+t[5]));const n=hn(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=yo(n,o,r):t[1]==="hsv"?s=vo(n,o,r):s=Pi(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function wo(i,t){var e=Mi(i);e[0]=hn(e[0]+t),e=Pi(e),i.r=e[0],i.g=e[1],i.b=e[2]}function Mo(i){if(!i)return;const t=Mi(i),e=t[0],s=Wi(t[1]),n=Wi(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${gt(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const Ni={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Vi={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function So(){const i={},t=Object.keys(Vi),e=Object.keys(Ni);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let xe;function Po(i){xe||(xe=So(),xe.transparent=[0,0,0,0]);const t=xe[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Co=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Do(i){const t=Co.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?te(r):bt(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?te(s):bt(s,0,255)),n=255&(t[4]?te(n):bt(n,0,255)),o=255&(t[6]?te(o):bt(o,0,255)),{r:s,g:n,b:o,a:e}}}function Oo(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${gt(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Je=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,zt=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function Ao(i,t,e){const s=zt(gt(i.r)),n=zt(gt(i.g)),o=zt(gt(i.b));return{r:xt(Je(s+e*(zt(gt(t.r))-s))),g:xt(Je(n+e*(zt(gt(t.g))-n))),b:xt(Je(o+e*(zt(gt(t.b))-o))),a:i.a+e*(t.a-i.a)}}function ye(i,t,e){if(i){let s=Mi(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=Pi(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function dn(i,t){return i&&Object.assign(t||{},i)}function ji(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=xt(i[3]))):(t=dn(i,{r:0,g:0,b:0,a:1}),t.a=xt(t.a)),t}function To(i){return i.charAt(0)==="r"?Do(i):ko(i)}class he{constructor(t){if(t instanceof he)return t;const e=typeof t;let s;e==="object"?s=ji(t):e==="string"&&(s=uo(t)||Po(t)||To(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=dn(this._rgb);return t&&(t.a=gt(t.a)),t}set rgb(t){this._rgb=ji(t)}rgbString(){return this._valid?Oo(this._rgb):void 0}hexString(){return this._valid?po(this._rgb):void 0}hslString(){return this._valid?Mo(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=Ao(this._rgb,t._rgb,e)),this}clone(){return new he(this.rgb)}alpha(t){return this._rgb.a=xt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=me(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return ye(this._rgb,2,t),this}darken(t){return ye(this._rgb,2,-t),this}saturate(t){return ye(this._rgb,1,t),this}desaturate(t){return ye(this._rgb,1,-t),this}rotate(t){return wo(this._rgb,t),this}}/*! + * Chart.js v4.4.6 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */function dt(){}const Ro=(()=>{let i=0;return()=>i++})();function R(i){return i===null||typeof i>"u"}function W(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function A(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function q(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function ot(i,t){return q(i)?i:t}function D(i,t){return typeof i>"u"?t:i}const Lo=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function F(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function L(i,t,e,s){let n,o,r;if(W(i))for(o=i.length,n=0;ni,x:i=>i.x,y:i=>i.y};function Eo(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function zo(i){const t=Eo(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function Vt(i,t){return($i[t]||($i[t]=zo(t)))(i)}function Ci(i){return i.charAt(0).toUpperCase()+i.slice(1)}const de=i=>typeof i<"u",yt=i=>typeof i=="function",Yi=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Bo(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const N=Math.PI,V=2*N,Ho=V+N,Ne=Number.POSITIVE_INFINITY,Wo=N/180,$=N/2,wt=N/4,Ui=N*2/3,un=Math.log10,ct=Math.sign;function oe(i,t,e){return Math.abs(i-t)n-o).pop(),t}function fe(i){return!isNaN(parseFloat(i))&&isFinite(i)}function Vo(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function jo(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function Oi(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const At=(i,t,e,s)=>Oi(i,e,s?n=>{const o=i[n][t];return oi[n][t]Oi(i,e,s=>i[s][t]>=e);function Ko(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+Ci(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function qi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(pn.forEach(o=>{delete i[o]}),delete i._chartjs)}function mn(i){const t=new Set(i);return t.size===i.length?i:Array.from(t)}const bn=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function _n(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,bn.call(window,()=>{s=!1,i.apply(t,e)}))}}function Go(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Ai=i=>i==="start"?"left":i==="end"?"right":"center",X=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,Zo=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function Jo(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=K(Math.min(At(a,l,c).lo,e?s:At(t,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=K(Math.max(At(a,r.axis,h,!0).hi+1,e?0:At(t,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function Qo(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}const ve=i=>i===0||i===1,Gi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*V/e)),Zi=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*V/e)+1,re={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*$)+1,easeOutSine:i=>Math.sin(i*$),easeInOutSine:i=>-.5*(Math.cos(N*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>ve(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>ve(i)?i:Gi(i,.075,.3),easeOutElastic:i=>ve(i)?i:Zi(i,.075,.3),easeInOutElastic(i){return ve(i)?i:i<.5?.5*Gi(i*2,.1125,.45):.5+.5*Zi(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-re.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?re.easeInBounce(i*2)*.5:re.easeOutBounce(i*2-1)*.5+.5};function Ti(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Ji(i){return Ti(i)?i:new he(i)}function Qe(i){return Ti(i)?i:new he(i).saturate(.5).darken(.1).hexString()}const tr=["x","y","borderWidth","radius","tension"],er=["color","borderColor","backgroundColor"];function ir(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:er},numbers:{type:"number",properties:tr}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function sr(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Qi=new Map;function nr(i,t){t=t||{};const e=i+JSON.stringify(t);let s=Qi.get(e);return s||(s=new Intl.NumberFormat(i,t),Qi.set(e,s)),s}function xn(i,t,e){return nr(t,e).format(i)}const or={values(i){return W(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=rr(i,e)}const r=un(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),xn(i,s,l)}};function rr(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var yn={formatters:or};function ar(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:yn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Lt=Object.create(null),mi=Object.create(null);function ae(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>Qe(n.backgroundColor),this.hoverBorderColor=(s,n)=>Qe(n.borderColor),this.hoverColor=(s,n)=>Qe(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ti(this,t,e)}get(t){return ae(this,t)}describe(t,e){return ti(mi,t,e)}override(t,e){return ti(Lt,t,e)}route(t,e,s,n){const o=ae(this,t),r=ae(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return A(l)?Object.assign({},c,l):D(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var B=new lr({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[ir,sr,ar]);function cr(i){return!i||R(i.size)||R(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function ts(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function Mt(i,t,e){const s=i.currentDevicePixelRatio,n=e!==0?Math.max(e/2,.5):0;return Math.round((t-n)*s)/s+n}function es(i,t){!t&&!i||(t=t||i.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,i.width,i.height),t.restore())}function bi(i,t,e,s){vn(i,t,e,s,null)}function vn(i,t,e,s,n){let o,r,a,l,c,h,d,f;const u=t.pointStyle,p=t.rotation,g=t.radius;let m=(p||0)*Wo;if(u&&typeof u=="object"&&(o=u.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){i.save(),i.translate(e,s),i.rotate(m),i.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),i.restore();return}if(!(isNaN(g)||g<=0)){switch(i.beginPath(),u){default:n?i.ellipse(e,s,n/2,g,0,0,V):i.arc(e,s,g,0,V),i.closePath();break;case"triangle":h=n?n/2:g,i.moveTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Ui,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Ui,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),i.closePath();break;case"rectRounded":c=g*.516,l=g-c,r=Math.cos(m+wt)*l,d=Math.cos(m+wt)*(n?n/2-c:l),a=Math.sin(m+wt)*l,f=Math.sin(m+wt)*(n?n/2-c:l),i.arc(e-d,s-a,c,m-N,m-$),i.arc(e+f,s-r,c,m-$,m),i.arc(e+d,s+a,c,m,m+$),i.arc(e-f,s+r,c,m+$,m+N),i.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,h=n?n/2:l,i.rect(e-h,s-l,2*h,2*l);break}m+=wt;case"rectRot":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+f,s-r),i.lineTo(e+d,s+a),i.lineTo(e-f,s+r),i.closePath();break;case"crossRot":m+=wt;case"cross":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"star":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r),m+=wt,d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"line":r=n?n/2:Math.cos(m)*g,a=Math.sin(m)*g,i.moveTo(e-r,s-a),i.lineTo(e+r,s+a);break;case"dash":i.moveTo(e,s),i.lineTo(e+Math.cos(m)*(n?n/2:g),s+Math.sin(m)*g);break;case!1:i.closePath();break}i.fill(),t.borderWidth>0&&i.stroke()}}function ue(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,fr(i,o),l=0;l+i||0;function Ri(i,t){const e={},s=A(t),n=s?Object.keys(t):t,o=A(i)?s?r=>D(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=_r(o(r));return e}function kn(i){return Ri(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ht(i){return Ri(i,["topLeft","topRight","bottomLeft","bottomRight"])}function tt(i){const t=kn(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Y(i,t){i=i||{},t=t||B.font;let e=D(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=D(i.style,t.style);s&&!(""+s).match(mr)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:D(i.family,t.family),lineHeight:br(D(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:D(i.weight,t.weight),string:""};return n.string=cr(n),n}function z(i,t,e,s){let n,o,r;for(n=0,o=i.length;ne&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function It(i,t){return Object.assign(Object.create(i),t)}function Li(i,t=[""],e,s,n=()=>i[0]){const o=e||i;typeof s>"u"&&(s=Pn("_fallback",i));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Li([a,...i],t,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete i[0][l],!0},get(a,l){return Mn(a,l,()=>Cr(l,t,i,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(a,l){return ss(a).includes(l)},ownKeys(a){return ss(a)},set(a,l,c){const h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function jt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:wn(i,s),setContext:o=>jt(i,o,e,s),override:o=>jt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return Mn(o,r,()=>vr(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function wn(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:yt(e)?e:()=>e,isIndexable:yt(s)?s:()=>s}}const yr=(i,t)=>i?i+Ci(t):t,Ii=(i,t)=>A(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Mn(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t)||t==="constructor")return i[t];const s=e();return i[t]=s,s}function vr(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return yt(a)&&r.isScriptable(t)&&(a=kr(t,a,i,e)),W(a)&&a.length&&(a=wr(t,a,i,r.isIndexable)),Ii(t,a)&&(a=jt(a,n,o&&o[t],r)),a}function kr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);a.add(i);let l=t(o,r||s);return a.delete(i),Ii(i,l)&&(l=Fi(n._scopes,n,i,l)),l}function wr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(typeof o.index<"u"&&s(i))return t[o.index%t.length];if(A(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=Fi(c,n,i,h);t.push(jt(d,o,r&&r[i],a))}}return t}function Sn(i,t,e){return yt(i)?i(t,e):i}const Mr=(i,t)=>i===!0?t:typeof i=="string"?Vt(t,i):void 0;function Sr(i,t,e,s,n){for(const o of t){const r=Mr(e,o);if(r){i.add(r);const a=Sn(r._fallback,e,n);if(typeof a<"u"&&a!==e&&a!==s)return a}else if(r===!1&&typeof s<"u"&&e!==s)return null}return!1}function Fi(i,t,e,s){const n=t._rootScopes,o=Sn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=is(a,r,e,o||e,s);return l===null||typeof o<"u"&&o!==e&&(l=is(a,r,o,l,s),l===null)?!1:Li(Array.from(a),[""],n,o,()=>Pr(t,e,s))}function is(i,t,e,s,n){for(;e;)e=Sr(i,t,e,s,n);return e}function Pr(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return W(n)&&A(e)?e:n||{}}function Cr(i,t,e,s){let n;for(const o of t)if(n=Pn(yr(o,i),e),typeof n<"u")return Ii(i,n)?Fi(e,s,i,n):n}function Pn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(typeof s<"u")return s}}function ss(i){let t=i._keys;return t||(t=i._keys=Dr(i._scopes)),t}function Dr(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Or=Number.EPSILON||1e-14,$t=(i,t)=>ti==="x"?"y":"x";function Ar(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=pi(o,n),l=pi(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Tr(i,t,e){const s=i.length;let n,o,r,a,l,c=$t(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Lr(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;oi.ownerDocument.defaultView.getComputedStyle(i,null);function Er(i,t){return qe(i).getPropertyValue(t)}const zr=["top","right","bottom","left"];function Rt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=zr[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Br=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Hr(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Br(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Pt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=qe(e),o=n.boxSizing==="border-box",r=Rt(n,"padding"),a=Rt(n,"border","width"),{x:l,y:c,box:h}=Hr(i,e),d=r.left+(h&&a.left),f=r.top+(h&&a.top);let{width:u,height:p}=t;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*e.width/s),y:Math.round((c-f)/p*e.height/s)}}function Wr(i,t,e){let s,n;if(t===void 0||e===void 0){const o=i&&zi(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=qe(o),l=Rt(a,"border","width"),c=Rt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=je(a.maxWidth,o,"clientWidth"),n=je(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Ne,maxHeight:n||Ne}}const we=i=>Math.round(i*10)/10;function Nr(i,t,e,s){const n=qe(i),o=Rt(n,"margin"),r=je(n.maxWidth,i,"clientWidth")||Ne,a=je(n.maxHeight,i,"clientHeight")||Ne,l=Wr(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const f=Rt(n,"border","width"),u=Rt(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=we(Math.min(c,r,l.maxWidth)),h=we(Math.min(h,a,l.maxHeight)),c&&!h&&(h=we(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=we(Math.floor(h*s))),{width:c,height:h}}function ns(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Vr=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};Ei()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return i}();function os(i,t){const e=Er(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Ct(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function jr(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function $r(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=Ct(i,n,e),a=Ct(n,o,e),l=Ct(o,t,e),c=Ct(r,a,e),h=Ct(a,l,e);return Ct(c,h,e)}const Yr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},Ur=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function Wt(i,t,e){return i?Yr(t,e):Ur()}function Dn(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function On(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function An(i){return i==="angle"?{between:Di,compare:Yo,normalize:lt}:{between:pt,compare:(t,e)=>t-e,normalize:t=>t}}function rs({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function Xr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=An(s),l=t.length;let{start:c,end:h,loop:d}=i,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,b)&&a(n,y)!==0,x=()=>a(o,b)===0||l(o,y,b),w=()=>g||v(),M=()=>!g||x();for(let k=h,P=h;k<=d;++k)_=t[k%r],!_.skip&&(b=c(_[s]),b!==y&&(g=l(b,n,o),m===null&&w()&&(m=a(b,n)===0?k:P),m!==null&&M()&&(p.push(rs({start:m,end:k,loop:f,count:r,style:u})),m=null),P=k,y=b));return m!==null&&p.push(rs({start:m,end:d,loop:f,count:r,style:u})),p}function Rn(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function qr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function Gr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=Kr(e,n,o,s);if(s===!0)return as(i,[{start:r,end:a,loop:o}],e,t);const l=aa({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=bn.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ft=new Qr;const cs="transparent",ta={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Ji(i||cs),n=s.valid&&Ji(t||cs);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class ea{constructor(t,e,s,n){const o=e[s];n=z([t.to,n,o,t.from]);const r=z([t.from,o,n]);this._active=!0,this._fn=t.fn||ta[t.type||typeof r],this._easing=re[t.easing]||re.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=z([t.to,e,n,t.from]),this._from=z([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!A(o))return;const r={};for(const a of e)r[a]=o[a];(W(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=sa(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&ia(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){t[c]=h;continue}o[c]=d=new ea(f,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return ft.add(this._chart,s),!0}}function ia(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function us(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=aa(o,r,s),d=t.length;let f;for(let u=0;ue[s].axis===t).shift()}function ha(i,t){return It(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function da(i,t,e){return It(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Kt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const si=i=>i==="reset"||i==="none",gs=(i,t)=>t?i:Object.assign({},i),fa=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:In(e,!0),values:null};class Nt{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ei(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Kt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,f,u,p)=>d==="x"?f:d==="r"?p:u,o=e.xAxisID=D(s.xAxisID,ii(t,"x")),r=e.yAxisID=D(s.yAxisID,ii(t,"y")),a=e.rAxisID=D(s.rAxisID,ii(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&qi(this._data,this),t._stacked&&Kt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(A(e)){const n=this._cachedMeta;this._data=ra(e,n)}else if(s!==e){if(s){qi(s,this);const n=this._cachedMeta;Kt(n),n._parsed=[]}e&&Object.isExtensible(e)&&qo(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=ei(e.vScale,e),e.stack!==s.stack&&(n=!0,Kt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&(us(this,e._parsed),e._stacked=ei(e.vScale,e))}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,f;if(this._parsing===!1)s._parsed=n,s._sorted=!0,f=n;else{W(n[t])?f=this.parseArrayData(s,n,t,e):A(n[t])?f=this.parseObjectData(s,n,t,e):f=this.parsePrimitiveData(s,n,t,e);const u=()=>d[a]===null||c&&d[a]g||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),g=c.resolveNamedOptions(f,u,p,d);return g.$shared&&(g.$shared=l,o[r]=Object.freeze(gs(g,l))),g}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),f=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(f,this.getContext(t,s,e))}const c=new Ln(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||si(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){si(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!si(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;an-o))}return i._cache.$bar}function ga(i){const t=i.iScale,e=ua(t,i.type);let s=t._length,n,o,r,a;const l=()=>{r===32767||r===-32768||(de(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=e.length;n0?n[i-1]:null,a=iMath.abs(a)&&(l=a,c=r),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function Fn(i,t,e,s){return W(i)?ba(i,t,e,s):t[e.axis]=e.parse(i,s),t}function ps(i,t,e,s){const n=i.iScale,o=i.vScale,r=n.getLabels(),a=n===o,l=[];let c,h,d,f;for(c=e,h=e+s;c=e?1:-1)}function xa(i){let t,e,s,n,o;return i.horizontal?(t=i.base>i.x,e="left",s="right"):(t=i.baseh.controller.options.grouped),o=s.options.stacked,r=[],a=this._cachedMeta.controller.getParsed(e),l=a&&a[s.axis],c=h=>{const d=h._parsed.find(u=>u[s.axis]===l),f=d&&d[h.vScale.axis];if(R(f)||isNaN(f))return!0};for(const h of n)if(!(e!==void 0&&c(h))&&((o===!1||r.indexOf(h.stack)===-1||o===void 0&&h.stack===void 0)&&r.push(h.stack),h.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,s){const n=this._getStacks(t,s),o=e!==void 0?n.indexOf(e):-1;return o===-1?n.length-1:o}_getRuler(){const t=this.options,e=this._cachedMeta,s=e.iScale,n=[];let o,r;for(o=0,r=e.data.length;o0&&this.getParsed(e-1);for(let x=0;x=_){M.skip=!0;continue}const k=this.getParsed(x),P=R(k[u]),O=M[f]=r.getPixelForValue(k[f],x),C=M[u]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],x);M.skip=isNaN(O)||isNaN(C)||P,M.stop=x>0&&Math.abs(k[f]-v[f])>m,g&&(M.parsed=k,M.raw=c.data[x]),d&&(M.options=h||this.resolveDataElementOptions(x,w.active?"active":n)),b||this.updateElement(w,x,M,n),v=k}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}S(ri,"id","line"),S(ri,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),S(ri,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function St(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Bi{constructor(t){S(this,"options");this.options=t||{}}static override(t){Object.assign(Bi.prototype,t)}init(){}formats(){return St()}parse(){return St()}format(){return St()}add(){return St()}diff(){return St()}startOf(){return St()}endOf(){return St()}}var wa={_date:Bi};function Ma(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Xo:At;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,e-h),f=l(o,t,e+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function Ge(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r]&&l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Da={modes:{index(i,t,e,s){const n=Pt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?ai(i,n,o,s,r):li(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=Pt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?ai(i,n,o,s,r):li(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function xs(i,t){return i.filter(e=>En.indexOf(e.pos)===-1&&e.box.axis===t)}function Gt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Oa(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Gt(qt(t,"left"),!0),n=Gt(qt(t,"right")),o=Gt(qt(t,"top"),!0),r=Gt(qt(t,"bottom")),a=xs(t,"x"),l=xs(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:qt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function ys(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function zn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function La(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!A(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&zn(r,o.getPadding());const a=Math.max(0,t.outerWidth-ys(r,i,"left","right")),l=Math.max(0,t.outerHeight-ys(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function Ia(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function Fa(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function ee(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});const h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);zn(f,tt(s));const u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Ta(l.concat(c),d);ee(a.fullSize,u,d,p),ee(l,u,d,p),ee(c,u,d,p)&&ee(l,u,d,p),Ia(u),vs(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,vs(a.rightAndBottom,u,d,p),i.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{const m=g.box;Object.assign(m,i.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class Bn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class Ea extends Bn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Fe="$chartjs",za={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ks=i=>i===null||i==="";function Ba(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[Fe]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",ks(n)){const o=os(i,"width");o!==void 0&&(i.width=o)}if(ks(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=os(i,"height");o!==void 0&&(i.height=o)}return i}const Hn=Vr?{}:!1;function Ha(i,t,e){i&&i.addEventListener(t,e,Hn)}function Wa(i,t,e){i&&i.canvas&&i.canvas.removeEventListener(t,e,Hn)}function Na(i,t){const e=za[i.type]||i.type,{x:s,y:n}=Pt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function $e(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function Va(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||$e(a.addedNodes,s),r=r&&!$e(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ja(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||$e(a.removedNodes,s),r=r&&!$e(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const pe=new Map;let ws=0;function Wn(){const i=window.devicePixelRatio;i!==ws&&(ws=i,pe.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function $a(i,t){pe.size||window.addEventListener("resize",Wn),pe.set(i,t)}function Ya(i){pe.delete(i),pe.size||window.removeEventListener("resize",Wn)}function Ua(i,t,e){const s=i.canvas,n=s&&zi(s);if(!n)return;const o=_n((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),$a(i,o),r}function ci(i,t,e){e&&e.disconnect(),t==="resize"&&Ya(i)}function Xa(i,t,e){const s=i.canvas,n=_n(o=>{i.ctx!==null&&e(Na(o,i))},i);return Ha(s,t,n),n}class Ka extends Bn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Ba(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[Fe])return!1;const s=e[Fe].initial;["height","width"].forEach(o=>{const r=s[o];R(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[Fe],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:Va,detach:ja,resize:Ua}[e]||Xa;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:ci,detach:ci,resize:ci}[e]||Wa)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Nr(t,e,s,n)}isAttached(t){const e=t&&zi(t);return!!(e&&e.isConnected)}}function qa(i){return!Ei()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Ea:Ka}class nt{constructor(){S(this,"x");S(this,"y");S(this,"active",!1);S(this,"options");S(this,"$animations")}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return fe(this.x)&&fe(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}S(nt,"defaults",{}),S(nt,"defaultRoutes");function Ga(i,t){const e=i.options.ticks,s=Za(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?Qa(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return tl(t,c,o,r/n),c;const h=Ja(o,t,n);if(r>0){let d,f;const u=r>1?Math.round((l-a)/(r-1)):null;for(Se(t,c,h,R(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function Qa(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,Ms=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,Ss=(i,t)=>Math.min(t||i,i);function Ps(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function nl(i,t){L(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:ot(e,ot(s,e)),max:ot(s,ot(e,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){F(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=K(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(t.offset?.5:1)),l=this.maxHeight-Zt(t.grid)-e.padding-Cs(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=$o(Math.min(Math.asin(K((h.highest.height+6)/a,-1,1)),Math.asin(K(l/c,-1,1))-Math.asin(K(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){F(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){F(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Cs(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Zt(o)+l):(t.height=this.maxHeight,t.width=Zt(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=Ot(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){const b=s.mirror?0:m*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=s.mirror?0:g*d.width+m*f.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,u=0;l?c?(f=n*t.width,u=s*e.height):(f=s*t.height,u=n*e.width):o==="start"?u=e.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,u=e.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){F(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,s;for(e=0,s=t.length;e({width:r[P]||0,height:a[P]||0});return{first:k(0),last:k(e-1),widest:k(w),highest:k(M),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Uo(this._alignToPixels?Mt(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Zt(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(E){return Mt(s,E,g)};let _,y,v,x,w,M,k,P,O,C,T,j;if(r==="top")_=b(this.bottom),M=this.bottom-f,P=_-m,C=b(t.top)+m,j=t.bottom;else if(r==="bottom")_=b(this.top),C=t.top,j=b(t.bottom)-m,M=_+m,P=this.top+f;else if(r==="left")_=b(this.right),w=this.right-f,k=_-m,O=b(t.left)+m,T=t.right;else if(r==="right")_=b(this.left),O=t.left,T=b(t.right)-m,w=_+m,k=this.left+f;else if(e==="x"){if(r==="center")_=b((t.top+t.bottom)/2+.5);else if(A(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}C=t.top,j=t.bottom,M=_+m,P=M+f}else if(e==="y"){if(r==="center")_=b((t.left+t.right)/2);else if(A(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}w=_-m,k=w-f,O=t.left,T=t.right}const Q=D(n.ticks.maxTicksLimit,d),I=Math.max(1,Math.ceil(d/Q));for(y=0;y0&&(kt-=vt/2);break}be={left:kt,top:Xt,width:vt+Et.width,height:Ut+Et.height,color:I.backdropColor}}m.push({label:v,font:P,textOffset:T,options:{rotation:g,color:H,strokeColor:st,strokeWidth:U,textAlign:Ft,textBaseline:j,translation:[x,w],backdrop:be}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Ot(this.labelRotation))return t==="top"?"left":"right";let n="center";return e.align==="start"?n="left":e.align==="end"?n="right":e.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,h;return e==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):e==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:s,top:n,width:o,height:r}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(s,n,o,r),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(o=>o.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function dl(i){return"id"in i&&"defaults"in i}class fl{constructor(){this.controllers=new Pe(Nt,"datasets",!0),this.elements=new Pe(nt,"elements"),this.plugins=new Pe(Object,"plugins"),this.scales=new Pe(Yt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):L(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=Ci(t);F(s["before"+n],[],s),e[t](s),F(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function gl(i){const t={},e=[],s=Object.keys(at.plugins.items);for(let o=0;o1&&Ds(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function Os(i,t,e){if(e[t+"AxisID"]===i)return{axis:t}}function vl(i,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(e.length)return Os(i,"x",e[0])||Os(i,"y",e[0])}return{}}function kl(i,t){const e=Lt[i.type]||{scales:{}},s=t.scales||{},n=_i(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=xi(r,a,vl(r,i),B.scales[a.type]),c=xl(l,n),h=e.scales||{};o[r]=ne(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||_i(a,t),h=(Lt[a]||{}).scales||{};Object.keys(h).forEach(d=>{const f=_l(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ne(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ne(a,[B.scales[a.type],B.scale])}),o}function Nn(i){const t=i.options||(i.options={});t.plugins=D(t.plugins,{}),t.scales=kl(i,t)}function Vn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function wl(i){return i=i||{},i.data=Vn(i.data),Nn(i),i}const As=new Map,jn=new Set;function Ce(i,t){let e=As.get(i);return e||(e=t(),As.set(i,e),jn.add(e)),e}const Jt=(i,t,e)=>{const s=Vt(t,e);s!==void 0&&i.add(s)};class Ml{constructor(t){this._config=wl(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Vn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Nn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ce(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return Ce(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return Ce(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return Ce(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Jt(l,t,d))),h.forEach(d=>Jt(l,n,d)),h.forEach(d=>Jt(l,Lt[o]||{},d)),h.forEach(d=>Jt(l,B,d)),h.forEach(d=>Jt(l,mi,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),jn.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Lt[e]||{},B.datasets[e]||{},{type:e},B,mi]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Ts(this._resolverCache,t,n);let l=r;if(Pl(r,e)){o.$shared=!1,s=yt(s)?s():s;const c=this.createResolver(t,s,a);l=jt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=Ts(this._resolverCache,t,s);return A(e)?jt(o,e,void 0,n):o}}function Ts(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:Li(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Sl=i=>A(i)&&Object.getOwnPropertyNames(i).some(t=>yt(i[t]));function Pl(i,t){const{isScriptable:e,isIndexable:s}=wn(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(yt(a)||Sl(a))||r&&W(a))return!0}return!1}var Cl="4.4.6";const Dl=["top","bottom","left","right","chartArea"];function Rs(i,t){return i==="top"||i==="bottom"||Dl.indexOf(i)===-1&&t==="x"}function Ls(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function Is(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),F(e&&e.onComplete,[i],t)}function Ol(i){const t=i.chart,e=t.options.animation;F(e&&e.onProgress,[i],t)}function $n(i){return Ei()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const Ee={},Fs=i=>{const t=$n(i);return Object.values(Ee).filter(e=>e.canvas===t).pop()};function Al(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Tl(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function De(i,t,e){return i.options.clip?i[e]:t[e]}function Rl(i,t){const{xScale:e,yScale:s}=i;return e&&s?{left:De(e,t,"left"),right:De(e,t,"right"),top:De(s,t,"top"),bottom:De(s,t,"bottom")}:t}class Dt{static register(...t){at.add(...t),Es()}static unregister(...t){at.remove(...t),Es()}constructor(t,e){const s=this.config=new Ml(e),n=$n(t),o=Fs(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||qa(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Ro(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ul,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Go(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],Ee[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ft.listen(this,"complete",Is),ft.listen(this,"progress",Ol),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return R(t)?e&&o?o:n?s/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return at}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ns(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return es(this.canvas,this.ctx),this}stop(){return ft.stop(this),this}resize(t,e){ft.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,ns(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),F(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};L(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=xi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),L(o,r=>{const a=r.options,l=a.id,c=xi(l,a),h=D(a.type,r.dtype);(a.position===void 0||Rs(a.position,c)!==Rs(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const f=at.getScale(h);d=new f({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),L(n,(r,a)=>{r||delete s[a]}),L(s,r=>{it.configure(this,r,r.options),it.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Ls("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){L(this.scales,t=>{it.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Yi(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Al(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;it.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],L(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Rl(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Xe(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&Ke(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return ue(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Da.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=It(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);de(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),ft.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};L(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){L(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},L(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!He(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Bo(t),c=Tl(t,this._lastEvent,s,l);s&&(this._lastEvent=null,F(o.onHover,[t,a,this],this),l&&F(o.onClick,[t,a,this],this));const h=!He(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}S(Dt,"defaults",B),S(Dt,"instances",Ee),S(Dt,"overrides",Lt),S(Dt,"registry",at),S(Dt,"version",Cl),S(Dt,"getChart",Fs);function Es(){return L(Dt.instances,i=>i._plugins.invalidate())}function Ll(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+$,s-$),i.closePath(),i.clip()}function Il(i){return Ri(i,["outerStart","outerEnd","innerStart","innerEnd"])}function Fl(i,t,e,s){const n=Il(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return K(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:K(n.innerStart,0,r),innerEnd:K(n.innerEnd,0,r)}}function Bt(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function Ye(i,t,e,s,n,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+s+e-c,0),f=h>0?h+s+e+c:0;let u=0;const p=n-l;if(s){const I=h>0?h-s:0,E=d>0?d-s:0,H=(I+E)/2,st=H!==0?p*H/(H+s):p;u=(p-st)/2}const g=Math.max(.001,p*d-e/N)/d,m=(p-g)/2,b=l+m+u,_=n-m-u,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:w}=Fl(t,f,d,_-b),M=d-y,k=d-v,P=b+y/M,O=_-v/k,C=f+x,T=f+w,j=b+x/C,Q=_-w/T;if(i.beginPath(),o){const I=(P+O)/2;if(i.arc(r,a,d,P,I),i.arc(r,a,d,I,O),v>0){const U=Bt(k,O,r,a);i.arc(U.x,U.y,v,O,_+$)}const E=Bt(T,_,r,a);if(i.lineTo(E.x,E.y),w>0){const U=Bt(T,Q,r,a);i.arc(U.x,U.y,w,_+$,Q+Math.PI)}const H=(_-w/f+(b+x/f))/2;if(i.arc(r,a,f,_-w/f,H,!0),i.arc(r,a,f,H,b+x/f,!0),x>0){const U=Bt(C,j,r,a);i.arc(U.x,U.y,x,j+Math.PI,b-$)}const st=Bt(M,b,r,a);if(i.lineTo(st.x,st.y),y>0){const U=Bt(M,P,r,a);i.arc(U.x,U.y,y,b-$,P)}}else{i.moveTo(r,a);const I=Math.cos(P)*d+r,E=Math.sin(P)*d+a;i.lineTo(I,E);const H=Math.cos(O)*d+r,st=Math.sin(O)*d+a;i.lineTo(H,st)}i.closePath()}function El(i,t,e,s,n){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Ye(i,t,e,s,l,n);for(let c=0;c=V||g,b=pt(a,h+u,d+u);return m&&b}getCenterPoint(e){const{x:s,y:n,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:h}=this.options,d=(o+r)/2,f=(a+l+h+c)/2;return{x:s+Math.cos(d)*f,y:n+Math.sin(d)*f}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:s,circumference:n}=this,o=(s.offset||0)/4,r=(s.spacing||0)/2,a=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(N,n||0)),h=o*c;e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,El(e,this,h,r,a),zl(e,this,h,r,a),e.restore()}}S(ie,"id","arc"),S(ie,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),S(ie,"defaultRoutes",{backgroundColor:"backgroundColor"}),S(ie,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"});function Yn(i,t,e=t){i.lineCap=D(e.borderCapStyle,t.borderCapStyle),i.setLineDash(D(e.borderDash,t.borderDash)),i.lineDashOffset=D(e.borderDashOffset,t.borderDashOffset),i.lineJoin=D(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=D(e.borderWidth,t.borderWidth),i.strokeStyle=D(e.borderColor,t.borderColor)}function Bl(i,t,e){i.lineTo(e.x,e.y)}function Hl(i){return i.stepped?hr:i.tension||i.cubicInterpolationMode==="monotone"?dr:Bl}function Un(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-v:v))%o,y=()=>{g!==m&&(i.lineTo(h,m),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[_(0)],i.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[_(f)],u.skip)continue;const v=u.x,x=u.y,w=v|0;w===p?(xm&&(m=x),h=(d*h+v)/++d):(y(),i.lineTo(v,x),p=w,d=0,g=m=x),b=x}y()}function yi(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?Nl:Wl}function Vl(i){return i.stepped?jr:i.tension||i.cubicInterpolationMode==="monotone"?$r:Ct}function jl(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),Yn(i,t.options),i.stroke(n)}function $l(i,t,e,s){const{segments:n,options:o}=t,r=yi(t);for(const a of n)Yn(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Yl=typeof Path2D=="function";function Ul(i,t,e,s){Yl&&!t.options.segment?jl(i,t,e,s):$l(i,t,e,s)}class Tt extends nt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Fr(this._points,s,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Gr(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=Rn(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Vl(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function zs(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o){a=Hi(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function Hi(i,t,e){for(;t>i;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function Bs(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function Kn(i,t){let e=[],s=!1;return W(i)?(s=!0,e=i):e=Ql(i,t),e.length?new Tt({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function Hs(i){return i&&i.fill!==!1}function tc(i,t,e){let n=i[t].fill;const o=[t];let r;if(!e)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!q(n))return n;if(r=i[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function ec(i,t,e){const s=oc(i);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return q(n)&&Math.floor(n)===n?ic(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ic(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function sc(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:A(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function nc(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:A(i)?s=i.value:s=t.getBaseValue(),s}function oc(i){const t=i.options,e=t.fill;let s=D(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function rc(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=ac(t,e);a.push(Kn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&fi(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;Hs(o)&&fi(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!Hs(s)||e.drawTime!=="beforeDatasetDraw"||fi(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const js=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=i.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},bc=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class $s extends nt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=F(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const s=t.labels,n=Y(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=js(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{const m=s+e/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{const{itemWidth:_,itemHeight:y}=_c(s,e,o,m,n);b>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[b]={left:p,top:u,col:g,width:_,height:y},f=Math.max(f,_),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Wt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Xe(t,this),this._draw(),Ke(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=B.color,l=Wt(t.rtl,this.left,this.width),c=Y(r.font),{padding:h}=r,d=c.size,f=d/2;let u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=js(r,d),b=function(w,M,k){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();const P=D(k.lineWidth,1);if(n.fillStyle=D(k.fillStyle,a),n.lineCap=D(k.lineCap,"butt"),n.lineDashOffset=D(k.lineDashOffset,0),n.lineJoin=D(k.lineJoin,"miter"),n.lineWidth=P,n.strokeStyle=D(k.strokeStyle,a),n.setLineDash(D(k.lineDash,[])),r.usePointStyle){const O={radius:g*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:P},C=l.xPlus(w,p/2),T=M+f;vn(n,O,C,T,r.pointStyleWidth&&p)}else{const O=M+Math.max((d-g)/2,0),C=l.leftForLtr(w,p),T=Ht(k.borderRadius);n.beginPath(),Object.values(T).some(j=>j!==0)?Ve(n,{x:C,y:O,w:p,h:g,radius:T}):n.rect(C,O,p,g),n.fill(),P!==0&&n.stroke()}n.restore()},_=function(w,M,k){ge(n,k.text,w,M+m/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},y=this.isHorizontal(),v=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+v,line:0}:u={x:this.left+h,y:X(o,this.top+v+h,this.bottom-e[0].height),line:0},Dn(this.ctx,t.textDirection);const x=m+h;this.legendItems.forEach((w,M)=>{n.strokeStyle=w.fontColor,n.fillStyle=w.fontColor;const k=n.measureText(w.text).width,P=l.textAlign(w.textAlign||(w.textAlign=r.textAlign)),O=p+f+k;let C=u.x,T=u.y;l.setWidth(this.width),y?M>0&&C+O+h>this.right&&(T=u.y+=x,u.line++,C=u.x=X(o,this.left+h,this.right-s[u.line])):M>0&&T+x>this.bottom&&(C=u.x=C+e[u.line].width+h,u.line++,T=u.y=X(o,this.top+v+h,this.bottom-e[u.line].height));const j=l.x(C);if(b(j,T,w),C=Zo(P,C+p+f,y?C+O:this.right,t.rtl),_(l.x(C),T,w),y)u.x+=O+h;else if(typeof w.text!="string"){const Q=c.lineHeight;u.y+=Gn(w,Q)+h}else u.y+=x}),On(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=Y(e.font),n=tt(e.padding);if(!e.display)return;const o=Wt(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(t.align,d,this.right-f);else{const p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const u=X(a,d,d+f);r.textAlign=o.textAlign(Ai(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,ge(r,e.text,u,h,s)}_computeTitleHeight(){const t=this.options.title,e=Y(t.font),s=tt(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(pt(t,this.left,this.right)&&pt(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),t+e.size/2+s.measureText(n).width}function yc(i,t,e){let s=i;return typeof t.text!="string"&&(s=Gn(t,e)),s}function Gn(i,t){const e=i.text?i.text.length:0;return t*e}function vc(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var ah={id:"legend",_element:$s,start(i,t,e){const s=i.legend=new $s({ctx:i.ctx,options:e,chart:i});it.configure(i,s,e),it.addBox(i,s)},stop(i){it.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,t,e){const s=i.legend;it.configure(i,s,e),s.options=e},afterUpdate(i){const t=i.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(i,t){t.replay||i.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,t,e){const s=t.datasetIndex,n=e.chart;n.isDatasetVisible(s)?(n.hide(s),t.hidden=!0):(n.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),h=tt(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};class Zn extends nt{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const n=W(s.text)?s.text.length:1;this._padding=tt(s.padding);const o=n*Y(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:s,bottom:n,right:o,options:r}=this,a=r.align;let l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=e+t,c=o-s):(r.position==="left"?(h=s+t,d=X(a,n,e),l=N*-.5):(h=o-t,d=X(a,e,n),l=N*.5),c=n-e),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const s=Y(e.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);ge(t,e.text,0,0,s,{color:e.color,maxWidth:l,rotation:c,textAlign:Ai(e.align),textBaseline:"middle",translation:[r,a]})}}function kc(i,t){const e=new Zn({ctx:i.ctx,options:t,chart:i});it.configure(i,e,t),it.addBox(i,e),i.titleBlock=e}var lh={id:"title",_element:Zn,start(i,t,e){kc(i,e)},stop(i){const t=i.titleBlock;it.removeBox(i,t),delete i.titleBlock},beforeUpdate(i,t,e){const s=i.titleBlock;it.configure(i,s,e),s.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const se={average(i){if(!i.length)return!1;let t,e,s=new Set,n=0,o=0;for(t=0,e=i.length;ta+l)/s.size,y:n/o}},nearest(i,t){if(!i.length)return!1;let e=t.x,s=t.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=i.length;o-1?i.split(` +`):i}function wc(i,t){const{element:e,datasetIndex:s,index:n}=t,o=i.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:i,label:r,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:e}}function Ys(i,t){const e=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:r,boxHeight:a}=t,l=Y(t.bodyFont),c=Y(t.titleFont),h=Y(t.footerFont),d=o.length,f=n.length,u=s.length,p=tt(t.padding);let g=p.height,m=0,b=s.reduce((v,x)=>v+x.before.length+x.lines.length+x.after.length,0);if(b+=i.beforeBody.length+i.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const v=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*v+(b-u)*l.lineHeight+(b-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing);let _=0;const y=function(v){m=Math.max(m,e.measureText(v).width+_)};return e.save(),e.font=c.string,L(i.title,y),e.font=l.string,L(i.beforeBody.concat(i.afterBody),y),_=t.displayColors?r+2+t.boxPadding:0,L(s,v=>{L(v.before,y),L(v.lines,y),L(v.after,y)}),_=0,e.font=h.string,L(i.footer,y),e.restore(),m+=p.width,{width:m,height:g}}function Mc(i,t){const{y:e,height:s}=t;return ei.height-s/2?"bottom":"center"}function Sc(i,t,e,s){const{x:n,width:o}=s,r=e.caretSize+e.caretPadding;if(i==="left"&&n+o+r>t.width||i==="right"&&n-o-r<0)return!0}function Pc(i,t,e,s){const{x:n,width:o}=e,{width:r,chartArea:{left:a,right:l}}=i;let c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Sc(c,i,t,e)&&(c="center"),c}function Us(i,t,e){const s=e.yAlign||t.yAlign||Mc(i,e);return{xAlign:e.xAlign||t.xAlign||Pc(i,t,e,s),yAlign:s}}function Cc(i,t){let{x:e,width:s}=i;return t==="right"?e-=s:t==="center"&&(e-=s/2),e}function Dc(i,t,e){let{y:s,height:n}=i;return t==="top"?s+=e:t==="bottom"?s-=n+e:s-=n/2,s}function Xs(i,t,e,s){const{caretSize:n,caretPadding:o,cornerRadius:r}=i,{xAlign:a,yAlign:l}=e,c=n+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=Ht(r);let p=Cc(t,a);const g=Dc(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,f)+n:a==="right"&&(p+=Math.max(d,u)+n),{x:K(p,0,s.width-t.width),y:K(g,0,s.height-t.height)}}function Oe(i,t,e){const s=tt(e.padding);return t==="center"?i.x+i.width/2:t==="right"?i.x+i.width-s.right:i.x+s.left}function Ks(i){return rt([],ut(i))}function Oc(i,t,e){return It(i,{tooltip:t,tooltipItems:e,type:"tooltip"})}function qs(i,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?i.override(e):i}const Jn={beforeTitle:dt,title(i){if(i.length>0){const t=i[0],e=t.chart.data.labels,s=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"u"?Jn[t].call(e,s):n}class ki extends nt{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,s=this.options.setContext(this.getContext()),n=s.enabled&&e.options.animation&&s.animations,o=new Ln(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Oc(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,n=G(s,"beforeTitle",this,t),o=G(s,"title",this,t),r=G(s,"afterTitle",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}getBeforeBody(t,e){return Ks(G(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:s}=e,n=[];return L(t,o=>{const r={before:[],lines:[],after:[]},a=qs(s,o);rt(r.before,ut(G(a,"beforeLabel",this,o))),rt(r.lines,G(a,"label",this,o)),rt(r.after,ut(G(a,"afterLabel",this,o))),n.push(r)}),n}getAfterBody(t,e){return Ks(G(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:s}=e,n=G(s,"beforeFooter",this,t),o=G(s,"footer",this,t),r=G(s,"afterFooter",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}_createItems(t){const e=this._active,s=this.chart.data,n=[],o=[],r=[];let a=[],l,c;for(l=0,c=e.length;lt.filter(h,d,f,s))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,s))),L(a,h=>{const d=qs(t.callbacks,h);n.push(G(d,"labelColor",this,h)),o.push(G(d,"labelPointStyle",this,h)),r.push(G(d,"labelTextColor",this,h))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),n=this._active;let o,r=[];if(!n.length)this.opacity!==0&&(o={opacity:0});else{const a=se[s.position].call(this,n,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=Ys(this,s),c=Object.assign({},a,l),h=Us(this.chart,s,c),d=Xs(s,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,n){const o=this.getCaretPosition(t,s,n);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,s){const{xAlign:n,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=Ht(a),{x:f,y:u}=t,{width:p,height:g}=e;let m,b,_,y,v,x;return o==="center"?(v=u+g/2,n==="left"?(m=f,b=m-r,y=v+r,x=v-r):(m=f+p,b=m+r,y=v-r,x=v+r),_=m):(n==="left"?b=f+Math.max(l,h)+r:n==="right"?b=f+p-Math.max(c,d)-r:b=this.caretX,o==="top"?(y=u,v=y-r,m=b-r,_=b+r):(y=u+g,v=y+r,m=b+r,_=b-r),x=y),{x1:m,x2:b,x3:_,y1:y,y2:v,y3:x}}drawTitle(t,e,s){const n=this.title,o=n.length;let r,a,l;if(o){const c=Wt(s.rtl,this.x,this.width);for(t.x=Oe(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",r=Y(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=r.string,l=0;l_!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Ve(t,{x:g,y:p,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Ve(t,{x:m,y:p+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(g,p,c,l),t.strokeRect(g,p,c,l),t.fillStyle=r.backgroundColor,t.fillRect(m,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:n}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=s,d=Y(s.bodyFont);let f=d.lineHeight,u=0;const p=Wt(s.rtl,this.x,this.width),g=function(k){e.fillText(k,p.x(t.x+u),t.y+f/2),t.y+=f+o},m=p.textAlign(r);let b,_,y,v,x,w,M;for(e.textAlign=r,e.textBaseline="middle",e.font=d.string,t.x=Oe(this,m,s),e.fillStyle=s.bodyColor,L(this.beforeBody,g),u=a&&m!=="right"?r==="center"?c/2+h:c+2+h:0,v=0,w=n.length;v0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,n=s&&s.x,o=s&&s.y;if(n||o){const r=se[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Ys(this,t),l=Object.assign({},r,this._size),c=Us(e,t,l),h=Xs(t,l,c,e);(n._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=tt(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,n,e),Dn(t,e.textDirection),o.y+=r.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),On(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,n=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!He(s,n),r=this._positionChanged(n,e);(o||r)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],r=this._getActiveElements(t,o,e,s),a=this._positionChanged(r,t),l=e||!He(r,o)||a;return l&&(this._active=r,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,n){const o=this.options;if(t.type==="mouseout")return[];if(!n)return e.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:s,caretY:n,options:o}=this,r=se[o.position].call(this,t,e);return r!==!1&&(s!==r.x||n!==r.y)}}S(ki,"positioners",se);var ch={id:"tooltip",_element:ki,positioners:se,afterInit(i,t,e){e&&(i.tooltip=new ki({chart:i,options:e}))},beforeUpdate(i,t,e){i.tooltip&&i.tooltip.initialize(e)},reset(i,t,e){i.tooltip&&i.tooltip.initialize(e)},afterDraw(i){const t=i.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(i.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0})===!1)return;t.draw(i.ctx),i.notifyPlugins("afterTooltipDraw",e)}},afterEvent(i,t){if(i.tooltip){const e=t.replay;i.tooltip.handleEvent(t.event,e,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(i,t)=>t.bodyFont.size,boxWidth:(i,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Jn},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:i=>i!=="filter"&&i!=="itemSort"&&i!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Ac=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function Tc(i,t,e,s){const n=i.indexOf(t);if(n===-1)return Ac(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const Rc=(i,t)=>i===null?null:K(Math.round(i),0,t);function Gs(i){const t=this.getLabels();return i>=0&&ie.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}S(Zs,"id","category"),S(Zs,"defaults",{ticks:{callback:Gs}});function Lc(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=i,u=o||1,p=h-1,{min:g,max:m}=t,b=!R(r),_=!R(a),y=!R(c),v=(m-g)/(d+1);let x=Xi((m-g)/p/u)*u,w,M,k,P;if(x<1e-14&&!b&&!_)return[{value:g},{value:m}];P=Math.ceil(m/x)-Math.floor(g/x),P>p&&(x=Xi(P*x/p/u)*u),R(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),n==="ticks"?(M=Math.floor(g/x)*x,k=Math.ceil(m/x)*x):(M=g,k=m),b&&_&&o&&Vo((a-r)/o,x/1e3)?(P=Math.round(Math.min((a-r)/x,h)),x=(a-r)/P,M=r,k=a):y?(M=b?r:M,k=_?a:k,P=c-1,x=(k-M)/P):(P=(k-M)/x,oe(P,Math.round(P),x/1e3)?P=Math.round(P):P=Math.ceil(P));const O=Math.max(Ki(x),Ki(M));w=Math.pow(10,R(l)?O:l),M=Math.round(M*w)/w,k=Math.round(k*w)/w;let C=0;for(b&&(f&&M!==r?(e.push({value:r}),Ma)break;e.push({value:T})}return _&&f&&k!==a?e.length&&oe(e[e.length-1].value,a,Js(a,v,i))?e[e.length-1].value=a:e.push({value:a}):(!_||k===a)&&e.push({value:k}),e}function Js(i,t,{horizontal:e,minRotation:s}){const n=Ot(s),o=(e?Math.sin(n):Math.cos(n))||.001,r=.75*t*(""+i).length;return Math.min(t/o,r)}class Ic extends Yt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return R(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:s}=this.getUserBounds();let{min:n,max:o}=this;const r=l=>n=e?n:l,a=l=>o=s?o:l;if(t){const l=ct(n),c=ct(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},o=this._range||this,r=Lc(n,o);return t.bounds==="ticks"&&jo(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return xn(t,this.chart.options.locale,this.options.ticks.format)}}class Qs extends Ic{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?t:0,this.max=q(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=Ot(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}S(Qs,"id","linear"),S(Qs,"defaults",{ticks:{callback:yn.formatters.numeric}});const Ze={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},J=Object.keys(Ze);function tn(i,t){return i-t}function en(i,t){if(R(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),q(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(fe(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function sn(i,t,e,s){const n=J.length;for(let o=J.indexOf(i);o=J.indexOf(e);o--){const r=J[o];if(Ze[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return J[e?J.indexOf(e):0]}function Ec(i){for(let t=J.indexOf(i)+1,e=J.length;t=t?e[s]:e[n];i[o]=!0}}function zc(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function on(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=K(e,0,r),s=K(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||sn(o.minUnit,e,s,this._getLabelCapacity(e)),a=D(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=fe(l)||l===!0,h={};let d=e,f,u;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=d,u=0;f+g)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return F(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],f=s[e],u=c&&d&&f&&f.major;return this._adapter.format(t,n||(u?d:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=At(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=At(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class rn extends Ue{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Ae(e,this.min),this._tableRange=Ae(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),s=this.getLabelTimestamps();return e.length&&s.length?t=this.normalize(e.concat(s)):t=e.length?e:s,t=this._cache.all=t,t}getDecimalForValue(t){return(Ae(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,s=this.getDecimalForPixel(t)/e.factor-e.end;return Ae(this._table,s*this._tableRange+this._minPos,!0)}}S(rn,"id","timeseries"),S(rn,"defaults",Ue.defaults);/*! + * chartjs-plugin-datalabels v2.2.0 + * https://chartjs-plugin-datalabels.netlify.app + * (c) 2017-2022 chartjs-plugin-datalabels contributors + * Released under the MIT license + */var an=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var i=window.screen;if(i)return(i.deviceXDPI||1)/(i.logicalXDPI||1)}return 1}(),le={toTextLines:function(i){var t=[],e;for(i=[].concat(i);i.length;)e=i.pop(),typeof e=="string"?t.unshift.apply(t,e.split(` +`)):Array.isArray(e)?i.push.apply(i,e):R(i)||t.unshift(""+e);return t},textSize:function(i,t,e){var s=[].concat(t),n=s.length,o=i.font,r=0,a;for(i.font=e.string,a=0;ae.right&&(s|=to),te.bottom&&(s|=eo),s}function Wc(i,t){for(var e=i.x0,s=i.y0,n=i.x1,o=i.y1,r=Te(e,s,t),a=Te(n,o,t),l,c,h;!(!(r|a)||r&a);)l=r||a,l&io?(c=e+(n-e)*(t.top-s)/(o-s),h=t.top):l&eo?(c=e+(n-e)*(t.bottom-s)/(o-s),h=t.bottom):l&to?(h=s+(o-s)*(t.right-e)/(n-e),c=t.right):l&Qn&&(h=s+(o-s)*(t.left-e)/(n-e),c=t.left),l===r?(e=c,s=h,r=Te(e,s,t)):(n=c,o=h,a=Te(n,o,t));return{x0:e,x1:n,y0:s,y1:o}}function Re(i,t){var e=t.anchor,s=i,n,o;return t.clamp&&(s=Wc(s,t.area)),e==="start"?(n=s.x0,o=s.y0):e==="end"?(n=s.x1,o=s.y1):(n=(s.x0+s.x1)/2,o=(s.y0+s.y1)/2),Bc(n,o,i.vx,i.vy,t.align)}var Le={arc:function(i,t){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),n=Math.sin(e),o=i.innerRadius,r=i.outerRadius;return Re({x0:i.x+s*o,y0:i.y+n*o,x1:i.x+s*r,y1:i.y+n*r,vx:s,vy:n},t)},point:function(i,t){var e=ui(i,t.origin),s=e.x*i.options.radius,n=e.y*i.options.radius;return Re({x0:i.x-s,y0:i.y-n,x1:i.x+s,y1:i.y+n,vx:e.x,vy:e.y},t)},bar:function(i,t){var e=ui(i,t.origin),s=i.x,n=i.y,o=0,r=0;return i.horizontal?(s=Math.min(i.x,i.base),o=Math.abs(i.base-i.x)):(n=Math.min(i.y,i.base),r=Math.abs(i.base-i.y)),Re({x0:s,y0:n+r,x1:s+o,y1:n,vx:e.x,vy:e.y},t)},fallback:function(i,t){var e=ui(i,t.origin);return Re({x0:i.x,y0:i.y,x1:i.x+(i.width||0),y1:i.y+(i.height||0),vx:e.x,vy:e.y},t)}},mt=le.rasterize;function Nc(i){var t=i.borderWidth||0,e=i.padding,s=i.size.height,n=i.size.width,o=-n/2,r=-s/2;return{frame:{x:o-e.left-t,y:r-e.top-t,w:n+e.width+t*2,h:s+e.height+t*2},text:{x:o,y:r,w:n,h:s}}}function Vc(i,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var s=e.getBasePixel();return i.horizontal?{x:s,y:null}:{x:null,y:s}}function jc(i){return i instanceof ie?Le.arc:i instanceof ze?Le.point:i instanceof Be?Le.bar:Le.fallback}function $c(i,t,e,s,n,o){var r=Math.PI/2;if(o){var a=Math.min(o,n/2,s/2),l=t+a,c=e+a,h=t+s-a,d=e+n-a;i.moveTo(t,c),ls.x+s.w+e*2||i.y>s.y+s.h+e*2)},intersects:function(i){var t=this._points(),e=i._points(),s=[Ie(t[0],t[1]),Ie(t[0],t[3])],n,o,r;for(this._rotation!==i._rotation&&s.push(Ie(e[0],e[1]),Ie(e[0],e[3])),n=0;n=0;--e)for(n=i[e].$layout,s=e-1;s>=0&&n._visible;--s)o=i[s].$layout,o._visible&&n._box.intersects(o._box)&&t(n,o);return i}function Jc(i){var t,e,s,n,o,r,a;for(t=0,e=i.length;tl.getProps([c],!0)[c]}),o=s.geometry(),r=oo(a,s.model(),o),n._box.update(r,o,s.rotation()));return Zc(i,function(l,c){var h=l._hidable,d=c._hidable;h&&d||d?c._visible=!1:h&&(l._visible=!1)})}var ce={prepare:function(i){var t=[],e,s,n,o,r;for(e=0,n=i.length;e=0;--e)if(s=i[e].$layout,s&&s._visible&&s._box.contains(t))return i[e];return null},draw:function(i,t){var e,s,n,o,r,a;for(e=0,s=t.length;et in i?lo(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var S=(i,t,e)=>co(i,typeof t!="symbol"?t+"":t,e);/*! - * @kurkle/color v0.3.2 - * https://github.com/kurkle/color#readme - * (c) 2023 Jukka Kurkela - * Released under the MIT License - */function me(i){return i+.5|0}const bt=(i,t,e)=>Math.max(Math.min(i,e),t);function te(i){return bt(me(i*2.55),0,255)}function xt(i){return bt(me(i*255),0,255)}function gt(i){return bt(me(i/2.55)/100,0,1)}function Ni(i){return bt(me(i*100),0,100)}const et={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},gi=[..."0123456789ABCDEF"],ho=i=>gi[i&15],fo=i=>gi[(i&240)>>4]+gi[i&15],xe=i=>(i&240)>>4===(i&15),uo=i=>xe(i.r)&&xe(i.g)&&xe(i.b)&&xe(i.a);function go(i){var t=i.length,e;return i[0]==="#"&&(t===4||t===5?e={r:255&et[i[1]]*17,g:255&et[i[2]]*17,b:255&et[i[3]]*17,a:t===5?et[i[4]]*17:255}:(t===7||t===9)&&(e={r:et[i[1]]<<4|et[i[2]],g:et[i[3]]<<4|et[i[4]],b:et[i[5]]<<4|et[i[6]],a:t===9?et[i[7]]<<4|et[i[8]]:255})),e}const po=(i,t)=>i<255?t(i):"";function mo(i){var t=uo(i)?ho:fo;return i?"#"+t(i.r)+t(i.g)+t(i.b)+po(i.a,t):void 0}const bo=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function hn(i,t,e){const s=t*Math.min(e,1-e),n=(o,r=(o+i/30)%12)=>e-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function _o(i,t,e){const s=(n,o=(n+i/60)%6)=>e-e*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function xo(i,t,e){const s=hn(i,1,.5);let n;for(t+e>1&&(n=1/(t+e),t*=n,e*=n),n=0;n<3;n++)s[n]*=1-t-e,s[n]+=t;return s}function yo(i,t,e,s,n){return i===n?(t-e)/s+(t.5?h/(2-o-r):h/(o+r),l=yo(e,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function Pi(i,t,e,s){return(Array.isArray(t)?i(t[0],t[1],t[2]):i(t,e,s)).map(xt)}function Ci(i,t,e){return Pi(hn,i,t,e)}function vo(i,t,e){return Pi(xo,i,t,e)}function ko(i,t,e){return Pi(_o,i,t,e)}function dn(i){return(i%360+360)%360}function wo(i){const t=bo.exec(i);let e=255,s;if(!t)return;t[5]!==s&&(e=t[6]?te(+t[5]):xt(+t[5]));const n=dn(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?s=vo(n,o,r):t[1]==="hsv"?s=ko(n,o,r):s=Ci(n,o,r),{r:s[0],g:s[1],b:s[2],a:e}}function Mo(i,t){var e=Si(i);e[0]=dn(e[0]+t),e=Ci(e),i.r=e[0],i.g=e[1],i.b=e[2]}function So(i){if(!i)return;const t=Si(i),e=t[0],s=Ni(t[1]),n=Ni(t[2]);return i.a<255?`hsla(${e}, ${s}%, ${n}%, ${gt(i.a)})`:`hsl(${e}, ${s}%, ${n}%)`}const Vi={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},ji={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Po(){const i={},t=Object.keys(ji),e=Object.keys(Vi);let s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return i}let ye;function Co(i){ye||(ye=Po(),ye.transparent=[0,0,0,0]);const t=ye[i.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Do=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Oo(i){const t=Do.exec(i);let e=255,s,n,o;if(t){if(t[7]!==s){const r=+t[7];e=t[8]?te(r):bt(r*255,0,255)}return s=+t[1],n=+t[3],o=+t[5],s=255&(t[2]?te(s):bt(s,0,255)),n=255&(t[4]?te(n):bt(n,0,255)),o=255&(t[6]?te(o):bt(o,0,255)),{r:s,g:n,b:o,a:e}}}function Ao(i){return i&&(i.a<255?`rgba(${i.r}, ${i.g}, ${i.b}, ${gt(i.a)})`:`rgb(${i.r}, ${i.g}, ${i.b})`)}const Je=i=>i<=.0031308?i*12.92:Math.pow(i,1/2.4)*1.055-.055,zt=i=>i<=.04045?i/12.92:Math.pow((i+.055)/1.055,2.4);function To(i,t,e){const s=zt(gt(i.r)),n=zt(gt(i.g)),o=zt(gt(i.b));return{r:xt(Je(s+e*(zt(gt(t.r))-s))),g:xt(Je(n+e*(zt(gt(t.g))-n))),b:xt(Je(o+e*(zt(gt(t.b))-o))),a:i.a+e*(t.a-i.a)}}function ve(i,t,e){if(i){let s=Si(i);s[t]=Math.max(0,Math.min(s[t]+s[t]*e,t===0?360:1)),s=Ci(s),i.r=s[0],i.g=s[1],i.b=s[2]}}function fn(i,t){return i&&Object.assign(t||{},i)}function $i(i){var t={r:0,g:0,b:0,a:255};return Array.isArray(i)?i.length>=3&&(t={r:i[0],g:i[1],b:i[2],a:255},i.length>3&&(t.a=xt(i[3]))):(t=fn(i,{r:0,g:0,b:0,a:1}),t.a=xt(t.a)),t}function Ro(i){return i.charAt(0)==="r"?Oo(i):wo(i)}class he{constructor(t){if(t instanceof he)return t;const e=typeof t;let s;e==="object"?s=$i(t):e==="string"&&(s=go(t)||Co(t)||Ro(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=fn(this._rgb);return t&&(t.a=gt(t.a)),t}set rgb(t){this._rgb=$i(t)}rgbString(){return this._valid?Ao(this._rgb):void 0}hexString(){return this._valid?mo(this._rgb):void 0}hslString(){return this._valid?So(this._rgb):void 0}mix(t,e){if(t){const s=this.rgb,n=t.rgb;let o;const r=e===o?.5:e,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(t,e){return t&&(this._rgb=To(this._rgb,t._rgb,e)),this}clone(){return new he(this.rgb)}alpha(t){return this._rgb.a=xt(t),this}clearer(t){const e=this._rgb;return e.a*=1-t,this}greyscale(){const t=this._rgb,e=me(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=e,this}opaquer(t){const e=this._rgb;return e.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return ve(this._rgb,2,t),this}darken(t){return ve(this._rgb,2,-t),this}saturate(t){return ve(this._rgb,1,t),this}desaturate(t){return ve(this._rgb,1,-t),this}rotate(t){return Mo(this._rgb,t),this}}/*! - * Chart.js v4.4.6 - * https://www.chartjs.org - * (c) 2024 Chart.js Contributors - * Released under the MIT License - */function dt(){}const Lo=(()=>{let i=0;return()=>i++})();function R(i){return i===null||typeof i>"u"}function W(i){if(Array.isArray&&Array.isArray(i))return!0;const t=Object.prototype.toString.call(i);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function A(i){return i!==null&&Object.prototype.toString.call(i)==="[object Object]"}function q(i){return(typeof i=="number"||i instanceof Number)&&isFinite(+i)}function ot(i,t){return q(i)?i:t}function D(i,t){return typeof i>"u"?t:i}const Io=(i,t)=>typeof i=="string"&&i.endsWith("%")?parseFloat(i)/100*t:+i;function F(i,t,e){if(i&&typeof i.call=="function")return i.apply(e,t)}function L(i,t,e,s){let n,o,r;if(W(i))for(o=i.length,n=0;ni,x:i=>i.x,y:i=>i.y};function zo(i){const t=i.split("."),e=[];let s="";for(const n of t)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(e.push(s),s="");return e}function Bo(i){const t=zo(i);return e=>{for(const s of t){if(s==="")break;e=e&&e[s]}return e}}function Vt(i,t){return(Yi[t]||(Yi[t]=Bo(t)))(i)}function Di(i){return i.charAt(0).toUpperCase()+i.slice(1)}const de=i=>typeof i<"u",yt=i=>typeof i=="function",Ui=(i,t)=>{if(i.size!==t.size)return!1;for(const e of i)if(!t.has(e))return!1;return!0};function Ho(i){return i.type==="mouseup"||i.type==="click"||i.type==="contextmenu"}const N=Math.PI,V=2*N,Wo=V+N,Ve=Number.POSITIVE_INFINITY,No=N/180,$=N/2,wt=N/4,Xi=N*2/3,pi=Math.log10,ct=Math.sign;function oe(i,t,e){return Math.abs(i-t)n-o).pop(),t}function fe(i){return!isNaN(parseFloat(i))&&isFinite(i)}function jo(i,t){const e=Math.round(i);return e-t<=i&&e+t>=i}function $o(i,t,e){let s,n,o;for(s=0,n=i.length;sl&&c=Math.min(t,e)-s&&i<=Math.max(t,e)+s}function Ai(i,t,e){e=e||(r=>i[r]1;)o=n+s>>1,e(o)?n=o:s=o;return{lo:n,hi:s}}const At=(i,t,e,s)=>Ai(i,e,s?n=>{const o=i[n][t];return oi[n][t]Ai(i,e,s=>i[s][t]>=e);function qo(i,t,e){let s=0,n=i.length;for(;ss&&i[n-1]>e;)n--;return s>0||n{const s="_onData"+Di(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...o){const r=n.apply(this,o);return i._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function Gi(i,t){const e=i._chartjs;if(!e)return;const s=e.listeners,n=s.indexOf(t);n!==-1&&s.splice(n,1),!(s.length>0)&&(pn.forEach(o=>{delete i[o]}),delete i._chartjs)}function mn(i){const t=new Set(i);return t.size===i.length?i:Array.from(t)}const bn=function(){return typeof window>"u"?function(i){return i()}:window.requestAnimationFrame}();function _n(i,t){let e=[],s=!1;return function(...n){e=n,s||(s=!0,bn.call(window,()=>{s=!1,i.apply(t,e)}))}}function Zo(i,t){let e;return function(...s){return t?(clearTimeout(e),e=setTimeout(i,t,s)):i.apply(this,s),t}}const Ti=i=>i==="start"?"left":i==="end"?"right":"center",X=(i,t,e)=>i==="start"?t:i==="end"?e:(t+e)/2,Jo=(i,t,e,s)=>i===(s?"left":"right")?e:i==="center"?(t+e)/2:t;function Qo(i,t,e){const s=t.length;let n=0,o=s;if(i._sorted){const{iScale:r,_parsed:a}=i,l=r.axis,{min:c,max:h,minDefined:d,maxDefined:f}=r.getUserBounds();d&&(n=K(Math.min(At(a,l,c).lo,e?s:At(t,l,r.getPixelForValue(c)).lo),0,s-1)),f?o=K(Math.max(At(a,r.axis,h,!0).hi+1,e?0:At(t,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function tr(i){const{xScale:t,yScale:e,_scaleRanges:s}=i,n={xmin:t.min,xmax:t.max,ymin:e.min,ymax:e.max};if(!s)return i._scaleRanges=n,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==e.min||s.ymax!==e.max;return Object.assign(s,n),o}const ke=i=>i===0||i===1,Zi=(i,t,e)=>-(Math.pow(2,10*(i-=1))*Math.sin((i-t)*V/e)),Ji=(i,t,e)=>Math.pow(2,-10*i)*Math.sin((i-t)*V/e)+1,re={linear:i=>i,easeInQuad:i=>i*i,easeOutQuad:i=>-i*(i-2),easeInOutQuad:i=>(i/=.5)<1?.5*i*i:-.5*(--i*(i-2)-1),easeInCubic:i=>i*i*i,easeOutCubic:i=>(i-=1)*i*i+1,easeInOutCubic:i=>(i/=.5)<1?.5*i*i*i:.5*((i-=2)*i*i+2),easeInQuart:i=>i*i*i*i,easeOutQuart:i=>-((i-=1)*i*i*i-1),easeInOutQuart:i=>(i/=.5)<1?.5*i*i*i*i:-.5*((i-=2)*i*i*i-2),easeInQuint:i=>i*i*i*i*i,easeOutQuint:i=>(i-=1)*i*i*i*i+1,easeInOutQuint:i=>(i/=.5)<1?.5*i*i*i*i*i:.5*((i-=2)*i*i*i*i+2),easeInSine:i=>-Math.cos(i*$)+1,easeOutSine:i=>Math.sin(i*$),easeInOutSine:i=>-.5*(Math.cos(N*i)-1),easeInExpo:i=>i===0?0:Math.pow(2,10*(i-1)),easeOutExpo:i=>i===1?1:-Math.pow(2,-10*i)+1,easeInOutExpo:i=>ke(i)?i:i<.5?.5*Math.pow(2,10*(i*2-1)):.5*(-Math.pow(2,-10*(i*2-1))+2),easeInCirc:i=>i>=1?i:-(Math.sqrt(1-i*i)-1),easeOutCirc:i=>Math.sqrt(1-(i-=1)*i),easeInOutCirc:i=>(i/=.5)<1?-.5*(Math.sqrt(1-i*i)-1):.5*(Math.sqrt(1-(i-=2)*i)+1),easeInElastic:i=>ke(i)?i:Zi(i,.075,.3),easeOutElastic:i=>ke(i)?i:Ji(i,.075,.3),easeInOutElastic(i){return ke(i)?i:i<.5?.5*Zi(i*2,.1125,.45):.5+.5*Ji(i*2-1,.1125,.45)},easeInBack(i){return i*i*((1.70158+1)*i-1.70158)},easeOutBack(i){return(i-=1)*i*((1.70158+1)*i+1.70158)+1},easeInOutBack(i){let t=1.70158;return(i/=.5)<1?.5*(i*i*(((t*=1.525)+1)*i-t)):.5*((i-=2)*i*(((t*=1.525)+1)*i+t)+2)},easeInBounce:i=>1-re.easeOutBounce(1-i),easeOutBounce(i){return i<1/2.75?7.5625*i*i:i<2/2.75?7.5625*(i-=1.5/2.75)*i+.75:i<2.5/2.75?7.5625*(i-=2.25/2.75)*i+.9375:7.5625*(i-=2.625/2.75)*i+.984375},easeInOutBounce:i=>i<.5?re.easeInBounce(i*2)*.5:re.easeOutBounce(i*2-1)*.5+.5};function Ri(i){if(i&&typeof i=="object"){const t=i.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Qi(i){return Ri(i)?i:new he(i)}function Qe(i){return Ri(i)?i:new he(i).saturate(.5).darken(.1).hexString()}const er=["x","y","borderWidth","radius","tension"],ir=["color","borderColor","backgroundColor"];function sr(i){i.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),i.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),i.set("animations",{colors:{type:"color",properties:ir},numbers:{type:"number",properties:er}}),i.describe("animations",{_fallback:"animation"}),i.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>t|0}}}})}function nr(i){i.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const ts=new Map;function or(i,t){t=t||{};const e=i+JSON.stringify(t);let s=ts.get(e);return s||(s=new Intl.NumberFormat(i,t),ts.set(e,s)),s}function xn(i,t,e){return or(t,e).format(i)}const yn={values(i){return W(i)?i:""+i},numeric(i,t,e){if(i===0)return"0";const s=this.chart.options.locale;let n,o=i;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=rr(i,e)}const r=pi(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),xn(i,s,l)},logarithmic(i,t,e){if(i===0)return"0";const s=e[t].significand||i/Math.pow(10,Math.floor(pi(i)));return[1,2,3,5,10,15].includes(s)||t>.8*e.length?yn.numeric.call(this,i,t,e):""}};function rr(i,t){let e=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(e)>=1&&i!==Math.floor(i)&&(e=i-Math.floor(i)),e}var vn={formatters:yn};function ar(i){i.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:vn.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),i.route("scale.ticks","color","","color"),i.route("scale.grid","color","","borderColor"),i.route("scale.border","color","","borderColor"),i.route("scale.title","color","","color"),i.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),i.describe("scales",{_fallback:"scale"}),i.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Lt=Object.create(null),bi=Object.create(null);function ae(i,t){if(!t)return i;const e=t.split(".");for(let s=0,n=e.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>Qe(n.backgroundColor),this.hoverBorderColor=(s,n)=>Qe(n.borderColor),this.hoverColor=(s,n)=>Qe(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ti(this,t,e)}get(t){return ae(this,t)}describe(t,e){return ti(bi,t,e)}override(t,e){return ti(Lt,t,e)}route(t,e,s,n){const o=ae(this,t),r=ae(this,s),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=r[n];return A(l)?Object.assign({},c,l):D(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(e=>e(this))}}var B=new lr({_scriptable:i=>!i.startsWith("on"),_indexable:i=>i!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[sr,nr,ar]);function cr(i){return!i||R(i.size)||R(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family}function es(i,t,e,s,n){let o=t[n];return o||(o=t[n]=i.measureText(n).width,e.push(n)),o>s&&(s=o),s}function Mt(i,t,e){const s=i.currentDevicePixelRatio,n=e!==0?Math.max(e/2,.5):0;return Math.round((t-n)*s)/s+n}function is(i,t){!t&&!i||(t=t||i.getContext("2d"),t.save(),t.resetTransform(),t.clearRect(0,0,i.width,i.height),t.restore())}function _i(i,t,e,s){kn(i,t,e,s,null)}function kn(i,t,e,s,n){let o,r,a,l,c,h,d,f;const u=t.pointStyle,p=t.rotation,g=t.radius;let m=(p||0)*No;if(u&&typeof u=="object"&&(o=u.toString(),o==="[object HTMLImageElement]"||o==="[object HTMLCanvasElement]")){i.save(),i.translate(e,s),i.rotate(m),i.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),i.restore();return}if(!(isNaN(g)||g<=0)){switch(i.beginPath(),u){default:n?i.ellipse(e,s,n/2,g,0,0,V):i.arc(e,s,g,0,V),i.closePath();break;case"triangle":h=n?n/2:g,i.moveTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Xi,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),m+=Xi,i.lineTo(e+Math.sin(m)*h,s-Math.cos(m)*g),i.closePath();break;case"rectRounded":c=g*.516,l=g-c,r=Math.cos(m+wt)*l,d=Math.cos(m+wt)*(n?n/2-c:l),a=Math.sin(m+wt)*l,f=Math.sin(m+wt)*(n?n/2-c:l),i.arc(e-d,s-a,c,m-N,m-$),i.arc(e+f,s-r,c,m-$,m),i.arc(e+d,s+a,c,m,m+$),i.arc(e-f,s+r,c,m+$,m+N),i.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,h=n?n/2:l,i.rect(e-h,s-l,2*h,2*l);break}m+=wt;case"rectRot":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+f,s-r),i.lineTo(e+d,s+a),i.lineTo(e-f,s+r),i.closePath();break;case"crossRot":m+=wt;case"cross":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"star":d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r),m+=wt,d=Math.cos(m)*(n?n/2:g),r=Math.cos(m)*g,a=Math.sin(m)*g,f=Math.sin(m)*(n?n/2:g),i.moveTo(e-d,s-a),i.lineTo(e+d,s+a),i.moveTo(e+f,s-r),i.lineTo(e-f,s+r);break;case"line":r=n?n/2:Math.cos(m)*g,a=Math.sin(m)*g,i.moveTo(e-r,s-a),i.lineTo(e+r,s+a);break;case"dash":i.moveTo(e,s),i.lineTo(e+Math.cos(m)*(n?n/2:g),s+Math.sin(m)*g);break;case!1:i.closePath();break}i.fill(),t.borderWidth>0&&i.stroke()}}function ue(i,t,e){return e=e||.5,!t||i&&i.x>t.left-e&&i.xt.top-e&&i.y0&&o.strokeColor!=="";let l,c;for(i.save(),i.font=n.string,fr(i,o),l=0;l+i||0;function Li(i,t){const e={},s=A(t),n=s?Object.keys(t):t,o=A(i)?s?r=>D(i[r],i[t[r]]):r=>i[r]:()=>i;for(const r of n)e[r]=_r(o(r));return e}function wn(i){return Li(i,{top:"y",right:"x",bottom:"y",left:"x"})}function Ht(i){return Li(i,["topLeft","topRight","bottomLeft","bottomRight"])}function tt(i){const t=wn(i);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Y(i,t){i=i||{},t=t||B.font;let e=D(i.size,t.size);typeof e=="string"&&(e=parseInt(e,10));let s=D(i.style,t.style);s&&!(""+s).match(mr)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:D(i.family,t.family),lineHeight:br(D(i.lineHeight,t.lineHeight),e),size:e,style:s,weight:D(i.weight,t.weight),string:""};return n.string=cr(n),n}function z(i,t,e,s){let n,o,r;for(n=0,o=i.length;ne&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function It(i,t){return Object.assign(Object.create(i),t)}function Ii(i,t=[""],e,s,n=()=>i[0]){const o=e||i;typeof s>"u"&&(s=Cn("_fallback",i));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:i,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>Ii([a,...i],t,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete i[0][l],!0},get(a,l){return Sn(a,l,()=>Cr(l,t,i,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(i[0])},has(a,l){return ns(a).includes(l)},ownKeys(a){return ns(a)},set(a,l,c){const h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function jt(i,t,e,s){const n={_cacheable:!1,_proxy:i,_context:t,_subProxy:e,_stack:new Set,_descriptors:Mn(i,s),setContext:o=>jt(i,o,e,s),override:o=>jt(i.override(o),t,e,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete i[r],!0},get(o,r,a){return Sn(o,r,()=>vr(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(i,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(i,r)},getPrototypeOf(){return Reflect.getPrototypeOf(i)},has(o,r){return Reflect.has(i,r)},ownKeys(){return Reflect.ownKeys(i)},set(o,r,a){return i[r]=a,delete o[r],!0}})}function Mn(i,t={scriptable:!0,indexable:!0}){const{_scriptable:e=t.scriptable,_indexable:s=t.indexable,_allKeys:n=t.allKeys}=i;return{allKeys:n,scriptable:e,indexable:s,isScriptable:yt(e)?e:()=>e,isIndexable:yt(s)?s:()=>s}}const yr=(i,t)=>i?i+Di(t):t,Fi=(i,t)=>A(t)&&i!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Sn(i,t,e){if(Object.prototype.hasOwnProperty.call(i,t)||t==="constructor")return i[t];const s=e();return i[t]=s,s}function vr(i,t,e){const{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=i;let a=s[t];return yt(a)&&r.isScriptable(t)&&(a=kr(t,a,i,e)),W(a)&&a.length&&(a=wr(t,a,i,r.isIndexable)),Fi(t,a)&&(a=jt(a,n,o&&o[t],r)),a}function kr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_stack:a}=e;if(a.has(i))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+i);a.add(i);let l=t(o,r||s);return a.delete(i),Fi(i,l)&&(l=Ei(n._scopes,n,i,l)),l}function wr(i,t,e,s){const{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=e;if(typeof o.index<"u"&&s(i))return t[o.index%t.length];if(A(t[0])){const l=t,c=n._scopes.filter(h=>h!==l);t=[];for(const h of l){const d=Ei(c,n,i,h);t.push(jt(d,o,r&&r[i],a))}}return t}function Pn(i,t,e){return yt(i)?i(t,e):i}const Mr=(i,t)=>i===!0?t:typeof i=="string"?Vt(t,i):void 0;function Sr(i,t,e,s,n){for(const o of t){const r=Mr(e,o);if(r){i.add(r);const a=Pn(r._fallback,e,n);if(typeof a<"u"&&a!==e&&a!==s)return a}else if(r===!1&&typeof s<"u"&&e!==s)return null}return!1}function Ei(i,t,e,s){const n=t._rootScopes,o=Pn(t._fallback,e,s),r=[...i,...n],a=new Set;a.add(s);let l=ss(a,r,e,o||e,s);return l===null||typeof o<"u"&&o!==e&&(l=ss(a,r,o,l,s),l===null)?!1:Ii(Array.from(a),[""],n,o,()=>Pr(t,e,s))}function ss(i,t,e,s,n){for(;e;)e=Sr(i,t,e,s,n);return e}function Pr(i,t,e){const s=i._getTarget();t in s||(s[t]={});const n=s[t];return W(n)&&A(e)?e:n||{}}function Cr(i,t,e,s){let n;for(const o of t)if(n=Cn(yr(o,i),e),typeof n<"u")return Fi(i,n)?Ei(e,s,i,n):n}function Cn(i,t){for(const e of t){if(!e)continue;const s=e[i];if(typeof s<"u")return s}}function ns(i){let t=i._keys;return t||(t=i._keys=Dr(i._scopes)),t}function Dr(i){const t=new Set;for(const e of i)for(const s of Object.keys(e).filter(n=>!n.startsWith("_")))t.add(s);return Array.from(t)}const Or=Number.EPSILON||1e-14,$t=(i,t)=>ti==="x"?"y":"x";function Ar(i,t,e,s){const n=i.skip?t:i,o=t,r=e.skip?t:e,a=mi(o,n),l=mi(r,o);let c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;const d=s*c,f=s*h;return{previous:{x:o.x-d*(r.x-n.x),y:o.y-d*(r.y-n.y)},next:{x:o.x+f*(r.x-n.x),y:o.y+f*(r.y-n.y)}}}function Tr(i,t,e){const s=i.length;let n,o,r,a,l,c=$t(i,0);for(let h=0;h!c.skip)),t.cubicInterpolationMode==="monotone")Lr(i,n);else{let c=s?i[i.length-1]:i[0];for(o=0,r=i.length;oi.ownerDocument.defaultView.getComputedStyle(i,null);function Er(i,t){return Ge(i).getPropertyValue(t)}const zr=["top","right","bottom","left"];function Rt(i,t,e){const s={};e=e?"-"+e:"";for(let n=0;n<4;n++){const o=zr[n];s[o]=parseFloat(i[t+"-"+o+e])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const Br=(i,t,e)=>(i>0||t>0)&&(!e||!e.shadowRoot);function Hr(i,t){const e=i.touches,s=e&&e.length?e[0]:i,{offsetX:n,offsetY:o}=s;let r=!1,a,l;if(Br(n,o,i.target))a=n,l=o;else{const c=t.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Pt(i,t){if("native"in i)return i;const{canvas:e,currentDevicePixelRatio:s}=t,n=Ge(e),o=n.boxSizing==="border-box",r=Rt(n,"padding"),a=Rt(n,"border","width"),{x:l,y:c,box:h}=Hr(i,e),d=r.left+(h&&a.left),f=r.top+(h&&a.top);let{width:u,height:p}=t;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-d)/u*e.width/s),y:Math.round((c-f)/p*e.height/s)}}function Wr(i,t,e){let s,n;if(t===void 0||e===void 0){const o=i&&Bi(i);if(!o)t=i.clientWidth,e=i.clientHeight;else{const r=o.getBoundingClientRect(),a=Ge(o),l=Rt(a,"border","width"),c=Rt(a,"padding");t=r.width-c.width-l.width,e=r.height-c.height-l.height,s=$e(a.maxWidth,o,"clientWidth"),n=$e(a.maxHeight,o,"clientHeight")}}return{width:t,height:e,maxWidth:s||Ve,maxHeight:n||Ve}}const Me=i=>Math.round(i*10)/10;function Nr(i,t,e,s){const n=Ge(i),o=Rt(n,"margin"),r=$e(n.maxWidth,i,"clientWidth")||Ve,a=$e(n.maxHeight,i,"clientHeight")||Ve,l=Wr(i,t,e);let{width:c,height:h}=l;if(n.boxSizing==="content-box"){const f=Rt(n,"border","width"),u=Rt(n,"padding");c-=u.width+f.width,h-=u.height+f.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=Me(Math.min(c,r,l.maxWidth)),h=Me(Math.min(h,a,l.maxHeight)),c&&!h&&(h=Me(c/2)),(t!==void 0||e!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=Me(Math.floor(h*s))),{width:c,height:h}}function os(i,t,e){const s=t||1,n=Math.floor(i.height*s),o=Math.floor(i.width*s);i.height=Math.floor(i.height),i.width=Math.floor(i.width);const r=i.canvas;return r.style&&(e||!r.style.height&&!r.style.width)&&(r.style.height=`${i.height}px`,r.style.width=`${i.width}px`),i.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(i.currentDevicePixelRatio=s,r.height=n,r.width=o,i.ctx.setTransform(s,0,0,s,0,0),!0):!1}const Vr=function(){let i=!1;try{const t={get passive(){return i=!0,!1}};zi()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return i}();function rs(i,t){const e=Er(i,t),s=e&&e.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Ct(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:i.y+e*(t.y-i.y)}}function jr(i,t,e,s){return{x:i.x+e*(t.x-i.x),y:s==="middle"?e<.5?i.y:t.y:s==="after"?e<1?i.y:t.y:e>0?t.y:i.y}}function $r(i,t,e,s){const n={x:i.cp2x,y:i.cp2y},o={x:t.cp1x,y:t.cp1y},r=Ct(i,n,e),a=Ct(n,o,e),l=Ct(o,t,e),c=Ct(r,a,e),h=Ct(a,l,e);return Ct(c,h,e)}const Yr=function(i,t){return{x(e){return i+i+t-e},setWidth(e){t=e},textAlign(e){return e==="center"?e:e==="right"?"left":"right"},xPlus(e,s){return e-s},leftForLtr(e,s){return e-s}}},Ur=function(){return{x(i){return i},setWidth(i){},textAlign(i){return i},xPlus(i,t){return i+t},leftForLtr(i,t){return i}}};function Wt(i,t,e){return i?Yr(t,e):Ur()}function On(i,t){let e,s;(t==="ltr"||t==="rtl")&&(e=i.canvas.style,s=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",t,"important"),i.prevTextDirection=s)}function An(i,t){t!==void 0&&(delete i.prevTextDirection,i.canvas.style.setProperty("direction",t[0],t[1]))}function Tn(i){return i==="angle"?{between:Oi,compare:Uo,normalize:lt}:{between:pt,compare:(t,e)=>t-e,normalize:t=>t}}function as({start:i,end:t,count:e,loop:s,style:n}){return{start:i%e,end:t%e,loop:s&&(t-i+1)%e===0,style:n}}function Xr(i,t,e){const{property:s,start:n,end:o}=e,{between:r,normalize:a}=Tn(s),l=t.length;let{start:c,end:h,loop:d}=i,f,u;if(d){for(c+=l,h+=l,f=0,u=l;fl(n,y,b)&&a(n,y)!==0,x=()=>a(o,b)===0||l(o,y,b),w=()=>g||v(),M=()=>!g||x();for(let k=h,P=h;k<=d;++k)_=t[k%r],!_.skip&&(b=c(_[s]),b!==y&&(g=l(b,n,o),m===null&&w()&&(m=a(b,n)===0?k:P),m!==null&&M()&&(p.push(as({start:m,end:k,loop:f,count:r,style:u})),m=null),P=k,y=b));return m!==null&&p.push(as({start:m,end:d,loop:f,count:r,style:u})),p}function Ln(i,t){const e=[],s=i.segments;for(let n=0;nn&&i[o%t].skip;)o--;return o%=t,{start:n,end:o}}function qr(i,t,e,s){const n=i.length,o=[];let r=t,a=i[t],l;for(l=t+1;l<=e;++l){const c=i[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:t%n,end:(l-1)%n,loop:s}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%n,end:r%n,loop:s}),o}function Gr(i,t){const e=i.points,s=i.options.spanGaps,n=e.length;if(!n)return[];const o=!!i._loop,{start:r,end:a}=Kr(e,n,o,s);if(s===!0)return ls(i,[{start:r,end:a,loop:o}],e,t);const l=aa({chart:t,initial:e.initial,numSteps:r,currentStep:Math.min(s-e.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=bn.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let e=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;const o=s.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,t,"progress")),o.length||(s.running=!1,this._notify(n,s,t,"complete"),s.initial=!1),e+=o.length}),this._lastDate=t,e===0&&(this._running=!1)}_getAnims(t){const e=this._charts;let s=e.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,s)),s}listen(t,e,s){this._getAnims(t).listeners[e].push(s)}add(t,e){!e||!e.length||this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!(!e||!e.running||!e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const s=e.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var ft=new Qr;const hs="transparent",ta={boolean(i,t,e){return e>.5?t:i},color(i,t,e){const s=Qi(i||hs),n=s.valid&&Qi(t||hs);return n&&n.valid?n.mix(s,e).hexString():t},number(i,t,e){return i+(t-i)*e}};class ea{constructor(t,e,s,n){const o=e[s];n=z([t.to,n,o,t.from]);const r=z([t.from,o,n]);this._active=!0,this._fn=t.fn||ta[t.type||typeof r],this._easing=re[t.easing]||re.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(t,e,s){if(this._active){this._notify(!1);const n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=z([t.to,e,n,t.from]),this._from=z([t.from,n,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,s)=>{t.push({res:e,rej:s})})}_notify(t){const e=t?"res":"rej",s=this._promises||[];for(let n=0;n{const o=t[n];if(!A(o))return;const r={};for(const a of e)r[a]=o[a];(W(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(t,e){const s=e.options,n=sa(t,s);if(!n)return[];const o=this._createAnimations(n,s);return s.$shared&&ia(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,e){const s=this._properties,n=[],o=t.$animations||(t.$animations={}),r=Object.keys(e),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(t,e));continue}const h=e[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,h,a);continue}else d.cancel();if(!f||!f.duration){t[c]=h;continue}o[c]=d=new ea(f,t,c,h),n.push(d)}return n}update(t,e){if(this._properties.size===0){Object.assign(t,e);return}const s=this._createAnimations(t,e);if(s.length)return ft.add(this._chart,s),!0}}function ia(i,t){const e=[],s=Object.keys(t);for(let n=0;n0||!e&&o<0)return n.index}return null}function gs(i,t){const{chart:e,_cachedMeta:s}=i,n=e._stacks||(e._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=aa(o,r,s),d=t.length;let f;for(let u=0;ue[s].axis===t).shift()}function ha(i,t){return It(i,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function da(i,t,e){return It(i,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:e,index:t,mode:"default",type:"data"})}function Kt(i,t){const e=i.controller.index,s=i.vScale&&i.vScale.axis;if(s){t=t||i._parsed;for(const n of t){const o=n._stacks;if(!o||o[s]===void 0||o[s][e]===void 0)return;delete o[s][e],o[s]._visualValues!==void 0&&o[s]._visualValues[e]!==void 0&&delete o[s]._visualValues[e]}}}const si=i=>i==="reset"||i==="none",ps=(i,t)=>t?i:Object.assign({},i),fa=(i,t,e)=>i&&!t.hidden&&t._stacked&&{keys:Fn(e,!0),values:null};class Nt{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=ei(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Kt(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,s=this.getDataset(),n=(d,f,u,p)=>d==="x"?f:d==="r"?p:u,o=e.xAxisID=D(s.xAxisID,ii(t,"x")),r=e.yAxisID=D(s.yAxisID,ii(t,"y")),a=e.rAxisID=D(s.rAxisID,ii(t,"r")),l=e.indexAxis,c=e.iAxisID=n(l,o,r,a),h=e.vAxisID=n(l,r,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(r),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(c),e.vScale=this.getScaleForId(h)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Gi(this._data,this),t._stacked&&Kt(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),s=this._data;if(A(e)){const n=this._cachedMeta;this._data=ra(e,n)}else if(s!==e){if(s){Gi(s,this);const n=this._cachedMeta;Kt(n),n._parsed=[]}e&&Object.isExtensible(e)&&Go(e,this),this._syncList=[],this._data=e}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const o=e._stacked;e._stacked=ei(e.vScale,e),e.stack!==s.stack&&(n=!0,Kt(e),e.stack=s.stack),this._resyncElements(t),(n||o!==e._stacked)&&(gs(this,e._parsed),e._stacked=ei(e.vScale,e))}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:s,_data:n}=this,{iScale:o,_stacked:r}=s,a=o.axis;let l=t===0&&e===n.length?!0:s._sorted,c=t>0&&s._parsed[t-1],h,d,f;if(this._parsing===!1)s._parsed=n,s._sorted=!0,f=n;else{W(n[t])?f=this.parseArrayData(s,n,t,e):A(n[t])?f=this.parseObjectData(s,n,t,e):f=this.parsePrimitiveData(s,n,t,e);const u=()=>d[a]===null||c&&d[a]g||d=0;--f)if(!p()){this.updateRangeFromParsed(c,t,u,l);break}}return c}getAllParsedValues(t){const e=this._cachedMeta._parsed,s=[];let n,o,r;for(n=0,o=e.length;n=0&&tthis.getContext(s,n,e),g=c.resolveNamedOptions(f,u,p,d);return g.$shared&&(g.$shared=l,o[r]=Object.freeze(ps(g,l))),g}_resolveAnimations(t,e,s){const n=this.chart,o=this._cachedDataOpts,r=`animation-${e}`,a=o[r];if(a)return a;let l;if(n.options.animation!==!1){const h=this.chart.config,d=h.datasetAnimationScopeKeys(this._type,e),f=h.getOptionScopes(this.getDataset(),d);l=h.createResolver(f,this.getContext(t,s,e))}const c=new In(n,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||si(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const s=this.resolveDataElementOptions(t,e),n=this._sharedOptions,o=this.getSharedOptions(s),r=this.includeOptions(e,o)||o!==n;return this.updateSharedOptions(o,e,s),{sharedOptions:o,includeOptions:r}}updateElement(t,e,s,n){si(n)?Object.assign(t,s):this._resolveAnimations(e,n).update(t,s)}updateSharedOptions(t,e,s){t&&!si(e)&&this._resolveAnimations(void 0,e).update(t,s)}_setStyle(t,e,s,n){t.active=n;const o=this.getStyle(e,n);this._resolveAnimations(e,s,n).update(t,{options:!n&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,e,s){this._setStyle(t,s,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,s=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const n=s.length,o=e.length,r=Math.min(o,n);r&&this.parse(0,r),o>n?this._insertElements(n,o-n,t):o{for(c.length+=e,a=c.length-1;a>=r;a--)c[a]=c[a-e]};for(l(o),a=t;an-o))}return i._cache.$bar}function ga(i){const t=i.iScale,e=ua(t,i.type);let s=t._length,n,o,r,a;const l=()=>{r===32767||r===-32768||(de(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=e.length;n0?n[i-1]:null,a=iMath.abs(a)&&(l=a,c=r),t[e.axis]=c,t._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function En(i,t,e,s){return W(i)?ba(i,t,e,s):t[e.axis]=e.parse(i,s),t}function ms(i,t,e,s){const n=i.iScale,o=i.vScale,r=n.getLabels(),a=n===o,l=[];let c,h,d,f;for(c=e,h=e+s;c=e?1:-1)}function xa(i){let t,e,s,n,o;return i.horizontal?(t=i.base>i.x,e="left",s="right"):(t=i.baseh.controller.options.grouped),o=s.options.stacked,r=[],a=this._cachedMeta.controller.getParsed(e),l=a&&a[s.axis],c=h=>{const d=h._parsed.find(u=>u[s.axis]===l),f=d&&d[h.vScale.axis];if(R(f)||isNaN(f))return!0};for(const h of n)if(!(e!==void 0&&c(h))&&((o===!1||r.indexOf(h.stack)===-1||o===void 0&&h.stack===void 0)&&r.push(h.stack),h.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,s){const n=this._getStacks(t,s),o=e!==void 0?n.indexOf(e):-1;return o===-1?n.length-1:o}_getRuler(){const t=this.options,e=this._cachedMeta,s=e.iScale,n=[];let o,r;for(o=0,r=e.data.length;o0&&this.getParsed(e-1);for(let x=0;x=_){M.skip=!0;continue}const k=this.getParsed(x),P=R(k[u]),O=M[f]=r.getPixelForValue(k[f],x),C=M[u]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,k,l):k[u],x);M.skip=isNaN(O)||isNaN(C)||P,M.stop=x>0&&Math.abs(k[f]-v[f])>m,g&&(M.parsed=k,M.raw=c.data[x]),d&&(M.options=h||this.resolveDataElementOptions(x,w.active?"active":n)),b||this.updateElement(w,x,M,n),v=k}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,s=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return s;const o=n[0].size(this.resolveDataElementOptions(0)),r=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}S(ri,"id","line"),S(ri,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),S(ri,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});function St(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Hi{constructor(t){S(this,"options");this.options=t||{}}static override(t){Object.assign(Hi.prototype,t)}init(){}formats(){return St()}parse(){return St()}format(){return St()}add(){return St()}diff(){return St()}startOf(){return St()}endOf(){return St()}}var wa={_date:Hi};function Ma(i,t,e,s){const{controller:n,data:o,_sorted:r}=i,a=n._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?Ko:At;if(s){if(n._sharedOptions){const c=o[0],h=typeof c.getRange=="function"&&c.getRange(t);if(h){const d=l(o,t,e-h),f=l(o,t,e+h);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,e)}return{lo:0,hi:o.length-1}}function be(i,t,e,s,n){const o=i.getSortedVisibleDatasetMetas(),r=e[t];for(let a=0,l=o.length;a{l[r]&&l[r](t[e],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(t.x,t.y,n))}),s&&!a?[]:o}var Da={evaluateInteractionItems:be,modes:{index(i,t,e,s){const n=Pt(t,i),o=e.axis||"x",r=e.includeInvisible||!1,a=e.intersect?ai(i,n,o,s,r):li(i,n,o,!1,s,r),l=[];return a.length?(i.getSortedVisibleDatasetMetas().forEach(c=>{const h=a[0].index,d=c.data[h];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:h})}),l):[]},dataset(i,t,e,s){const n=Pt(t,i),o=e.axis||"xy",r=e.includeInvisible||!1;let a=e.intersect?ai(i,n,o,s,r):li(i,n,o,!1,s,r);if(a.length>0){const l=a[0].datasetIndex,c=i.getDatasetMeta(l).data;a=[];for(let h=0;he.pos===t)}function ys(i,t){return i.filter(e=>zn.indexOf(e.pos)===-1&&e.box.axis===t)}function Gt(i,t){return i.sort((e,s)=>{const n=t?s:e,o=t?e:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function Oa(i){const t=[];let e,s,n,o,r,a;for(e=0,s=(i||[]).length;ec.box.fullSize),!0),s=Gt(qt(t,"left"),!0),n=Gt(qt(t,"right")),o=Gt(qt(t,"top"),!0),r=Gt(qt(t,"bottom")),a=ys(t,"x"),l=ys(t,"y");return{fullSize:e,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:qt(t,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function vs(i,t,e,s){return Math.max(i[e],t[e])+Math.max(i[s],t[s])}function Bn(i,t){i.top=Math.max(i.top,t.top),i.left=Math.max(i.left,t.left),i.bottom=Math.max(i.bottom,t.bottom),i.right=Math.max(i.right,t.right)}function La(i,t,e,s){const{pos:n,box:o}=e,r=i.maxPadding;if(!A(n)){e.size&&(i[n]-=e.size);const d=s[e.stack]||{size:0,count:1};d.size=Math.max(d.size,e.horizontal?o.height:o.width),e.size=d.size/d.count,i[n]+=e.size}o.getPadding&&Bn(r,o.getPadding());const a=Math.max(0,t.outerWidth-vs(r,i,"left","right")),l=Math.max(0,t.outerHeight-vs(r,i,"top","bottom")),c=a!==i.w,h=l!==i.h;return i.w=a,i.h=l,e.horizontal?{same:c,other:h}:{same:h,other:c}}function Ia(i){const t=i.maxPadding;function e(s){const n=Math.max(t[s]-i[s],0);return i[s]+=n,n}i.y+=e("top"),i.x+=e("left"),e("right"),e("bottom")}function Fa(i,t){const e=t.maxPadding;function s(n){const o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(t[r],e[r])}),o}return s(i?["left","right"]:["top","bottom"])}function ee(i,t,e,s){const n=[];let o,r,a,l,c,h;for(o=0,r=i.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});const h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:e,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),f=Object.assign({},n);Bn(f,tt(s));const u=Object.assign({maxPadding:f,w:o,h:r,x:n.left,y:n.top},n),p=Ta(l.concat(c),d);ee(a.fullSize,u,d,p),ee(l,u,d,p),ee(c,u,d,p)&&ee(l,u,d,p),Ia(u),ks(a.leftAndTop,u,d,p),u.x+=u.w,u.y+=u.h,ks(a.rightAndBottom,u,d,p),i.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{const m=g.box;Object.assign(m,i.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}};class Hn{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,s){}removeEventListener(t,e,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,s,n){return e=Math.max(0,e||t.width),s=s||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):s)}}isAttached(t){return!0}updateConfig(t){}}class Ea extends Hn{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Ee="$chartjs",za={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ws=i=>i===null||i==="";function Ba(i,t){const e=i.style,s=i.getAttribute("height"),n=i.getAttribute("width");if(i[Ee]={initial:{height:s,width:n,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",ws(n)){const o=rs(i,"width");o!==void 0&&(i.width=o)}if(ws(s))if(i.style.height==="")i.height=i.width/(t||2);else{const o=rs(i,"height");o!==void 0&&(i.height=o)}return i}const Wn=Vr?{passive:!0}:!1;function Ha(i,t,e){i&&i.addEventListener(t,e,Wn)}function Wa(i,t,e){i&&i.canvas&&i.canvas.removeEventListener(t,e,Wn)}function Na(i,t){const e=za[i.type]||i.type,{x:s,y:n}=Pt(i,t);return{type:e,chart:t,native:i,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ye(i,t){for(const e of i)if(e===t||e.contains(t))return!0}function Va(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.addedNodes,s),r=r&&!Ye(a.removedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}function ja(i,t,e){const s=i.canvas,n=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ye(a.removedNodes,s),r=r&&!Ye(a.addedNodes,s);r&&e()});return n.observe(document,{childList:!0,subtree:!0}),n}const pe=new Map;let Ms=0;function Nn(){const i=window.devicePixelRatio;i!==Ms&&(Ms=i,pe.forEach((t,e)=>{e.currentDevicePixelRatio!==i&&t()}))}function $a(i,t){pe.size||window.addEventListener("resize",Nn),pe.set(i,t)}function Ya(i){pe.delete(i),pe.size||window.removeEventListener("resize",Nn)}function Ua(i,t,e){const s=i.canvas,n=s&&Bi(s);if(!n)return;const o=_n((a,l)=>{const c=n.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),$a(i,o),r}function ci(i,t,e){e&&e.disconnect(),t==="resize"&&Ya(i)}function Xa(i,t,e){const s=i.canvas,n=_n(o=>{i.ctx!==null&&e(Na(o,i))},i);return Ha(s,t,n),n}class Ka extends Hn{acquireContext(t,e){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(Ba(t,e),s):null}releaseContext(t){const e=t.canvas;if(!e[Ee])return!1;const s=e[Ee].initial;["height","width"].forEach(o=>{const r=s[o];R(r)?e.removeAttribute(o):e.setAttribute(o,r)});const n=s.style||{};return Object.keys(n).forEach(o=>{e.style[o]=n[o]}),e.width=e.width,delete e[Ee],!0}addEventListener(t,e,s){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),r={attach:Va,detach:ja,resize:Ua}[e]||Xa;n[e]=r(t,e,s)}removeEventListener(t,e){const s=t.$proxies||(t.$proxies={}),n=s[e];if(!n)return;({attach:ci,detach:ci,resize:ci}[e]||Wa)(t,e,n),s[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,s,n){return Nr(t,e,s,n)}isAttached(t){const e=t&&Bi(t);return!!(e&&e.isConnected)}}function qa(i){return!zi()||typeof OffscreenCanvas<"u"&&i instanceof OffscreenCanvas?Ea:Ka}class nt{constructor(){S(this,"x");S(this,"y");S(this,"active",!1);S(this,"options");S(this,"$animations")}tooltipPosition(t){const{x:e,y:s}=this.getProps(["x","y"],t);return{x:e,y:s}}hasValue(){return fe(this.x)&&fe(this.y)}getProps(t,e){const s=this.$animations;if(!e||!s)return this;const n={};return t.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}}S(nt,"defaults",{}),S(nt,"defaultRoutes");function Ga(i,t){const e=i.options.ticks,s=Za(i),n=Math.min(e.maxTicksLimit||s,s),o=e.major.enabled?Qa(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return tl(t,c,o,r/n),c;const h=Ja(o,t,n);if(r>0){let d,f;const u=r>1?Math.round((l-a)/(r-1)):null;for(Pe(t,c,h,R(u)?0:a-u,a),d=0,f=r-1;dn)return l}return Math.max(n,1)}function Qa(i){const t=[];let e,s;for(e=0,s=i.length;ei==="left"?"right":i==="right"?"left":i,Ss=(i,t,e)=>t==="top"||t==="left"?i[t]+e:i[t]-e,Ps=(i,t)=>Math.min(t||i,i);function Cs(i,t){const e=[],s=i.length/t,n=i.length;let o=0;for(;or+a)))return l}function nl(i,t){L(i,e=>{const s=e.gc,n=s.length/2;let o;if(n>t){for(o=0;os?s:e,s=n&&e>s?e:s,{min:ot(e,ot(s,e)),max:ot(s,ot(e,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){F(this.options.beforeUpdate,[this])}update(t,e,s){const{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=xr(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}const h=this._getLabelSizes(),d=h.widest.width,f=h.highest.height,u=K(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/s:u/(s-1),d+6>a&&(a=u/(s-(t.offset?.5:1)),l=this.maxHeight-Zt(t.grid)-e.padding-Ds(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),r=Yo(Math.min(Math.asin(K((h.highest.height+6)/a,-1,1)),Math.asin(K(l/c,-1,1))-Math.asin(K(f/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){F(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){F(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=Ds(n,e.options.font);if(a?(t.width=this.maxWidth,t.height=Zt(o)+l):(t.height=this.maxHeight,t.width=Zt(o)+l),s.display&&this.ticks.length){const{first:c,last:h,widest:d,highest:f}=this._getLabelSizes(),u=s.padding*2,p=Ot(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){const b=s.mirror?0:m*d.width+g*f.height;t.height=Math.min(this.maxHeight,t.height+b+u)}else{const b=s.mirror?0:g*d.width+m*f.height;t.width=Math.min(this.maxWidth,t.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,s,n){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const h=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,u=0;l?c?(f=n*t.width,u=s*e.height):(f=s*t.height,u=n*e.width):o==="start"?u=e.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,u=e.width/2),this.paddingLeft=Math.max((f-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-d+r)*this.width/(this.width-d),0)}else{let h=e.height/2,d=t.height/2;o==="start"?(h=0,d=t.height):o==="end"&&(h=e.height,d=0),this.paddingTop=h+r,this.paddingBottom=d+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){F(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return e==="top"||e==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let e,s;for(e=0,s=t.length;e({width:r[P]||0,height:a[P]||0});return{first:k(0),last:k(e-1),widest:k(w),highest:k(M),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Xo(this._alignToPixels?Mt(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*n?a/s:l/n:l*n0}_computeGridLineItems(t){const e=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=Zt(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(E){return Mt(s,E,g)};let _,y,v,x,w,M,k,P,O,C,T,j;if(r==="top")_=b(this.bottom),M=this.bottom-f,P=_-m,C=b(t.top)+m,j=t.bottom;else if(r==="bottom")_=b(this.top),C=t.top,j=b(t.bottom)-m,M=_+m,P=this.top+f;else if(r==="left")_=b(this.right),w=this.right-f,k=_-m,O=b(t.left)+m,T=t.right;else if(r==="right")_=b(this.left),O=t.left,T=b(t.right)-m,w=_+m,k=this.left+f;else if(e==="x"){if(r==="center")_=b((t.top+t.bottom)/2+.5);else if(A(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}C=t.top,j=t.bottom,M=_+m,P=M+f}else if(e==="y"){if(r==="center")_=b((t.left+t.right)/2);else if(A(r)){const E=Object.keys(r)[0],H=r[E];_=b(this.chart.scales[E].getPixelForValue(H))}w=_-m,k=w-f,O=t.left,T=t.right}const Q=D(n.ticks.maxTicksLimit,d),I=Math.max(1,Math.ceil(d/Q));for(y=0;y0&&(kt-=vt/2);break}_e={left:kt,top:Xt,width:vt+Et.width,height:Ut+Et.height,color:I.backdropColor}}m.push({label:v,font:P,textOffset:T,options:{rotation:g,color:H,strokeColor:st,strokeWidth:U,textAlign:Ft,textBaseline:j,translation:[x,w],backdrop:_e}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-Ot(this.labelRotation))return t==="top"?"left":"right";let n="center";return e.align==="start"?n="left":e.align==="end"?n="right":e.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,h;return e==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):e==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;if(e==="left"||e==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(e==="top"||e==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:s,top:n,width:o,height:r}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(s,n,o,r),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(o=>o.value===t);return n>=0?e.setContext(this.getContext(n)).lineWidth:0}drawGrid(t){const e=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(e.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let o,r;for(o=0,r=e.length;o{const s=e.split("."),n=s.pop(),o=[i].concat(s).join("."),r=t[e].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function dl(i){return"id"in i&&"defaults"in i}class fl{constructor(){this.controllers=new Ce(Nt,"datasets",!0),this.elements=new Ce(nt,"elements"),this.plugins=new Ce(Object,"plugins"),this.scales=new Ce(Yt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,s){[...e].forEach(n=>{const o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(t,o,n):L(n,r=>{const a=s||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,e,s){const n=Di(t);F(s["before"+n],[],s),e[t](s),F(s["after"+n],[],s)}_getRegistryForType(t){for(let e=0;eo.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(e,s),t,"stop"),this._notify(n(s,e),t,"start")}}function gl(i){const t={},e=[],s=Object.keys(at.plugins.items);for(let o=0;o1&&Os(i[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${i}' axis. Please provide 'axis' or 'position' option.`)}function As(i,t,e){if(e[t+"AxisID"]===i)return{axis:t}}function vl(i,t){if(t.data&&t.data.datasets){const e=t.data.datasets.filter(s=>s.xAxisID===i||s.yAxisID===i);if(e.length)return As(i,"x",e[0])||As(i,"y",e[0])}return{}}function kl(i,t){const e=Lt[i.type]||{scales:{}},s=t.scales||{},n=xi(i.type,t),o=Object.create(null);return Object.keys(s).forEach(r=>{const a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=yi(r,a,vl(r,i),B.scales[a.type]),c=xl(l,n),h=e.scales||{};o[r]=ne(Object.create(null),[{axis:l},a,h[l],h[c]])}),i.data.datasets.forEach(r=>{const a=r.type||i.type,l=r.indexAxis||xi(a,t),h=(Lt[a]||{}).scales||{};Object.keys(h).forEach(d=>{const f=_l(d,l),u=r[f+"AxisID"]||f;o[u]=o[u]||Object.create(null),ne(o[u],[{axis:f},s[u],h[d]])})}),Object.keys(o).forEach(r=>{const a=o[r];ne(a,[B.scales[a.type],B.scale])}),o}function Vn(i){const t=i.options||(i.options={});t.plugins=D(t.plugins,{}),t.scales=kl(i,t)}function jn(i){return i=i||{},i.datasets=i.datasets||[],i.labels=i.labels||[],i}function wl(i){return i=i||{},i.data=jn(i.data),Vn(i),i}const Ts=new Map,$n=new Set;function De(i,t){let e=Ts.get(i);return e||(e=t(),Ts.set(i,e),$n.add(e)),e}const Jt=(i,t,e)=>{const s=Vt(t,e);s!==void 0&&i.add(s)};class Ml{constructor(t){this._config=wl(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=jn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Vn(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return De(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,e){return De(`${t}.transition.${e}`,()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,e){return De(`${t}-${e}`,()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]])}pluginScopeKeys(t){const e=t.id,s=this.type;return De(`${s}-plugin-${e}`,()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const s=this._scopeCache;let n=s.get(t);return(!n||e)&&(n=new Map,s.set(t,n)),n}getOptionScopes(t,e,s){const{options:n,type:o}=this,r=this._cachedScopes(t,s),a=r.get(e);if(a)return a;const l=new Set;e.forEach(h=>{t&&(l.add(t),h.forEach(d=>Jt(l,t,d))),h.forEach(d=>Jt(l,n,d)),h.forEach(d=>Jt(l,Lt[o]||{},d)),h.forEach(d=>Jt(l,B,d)),h.forEach(d=>Jt(l,bi,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),$n.has(e)&&r.set(e,c),c}chartOptionScopes(){const{options:t,type:e}=this;return[t,Lt[e]||{},B.datasets[e]||{},{type:e},B,bi]}resolveNamedOptions(t,e,s,n=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=Rs(this._resolverCache,t,n);let l=r;if(Pl(r,e)){o.$shared=!1,s=yt(s)?s():s;const c=this.createResolver(t,s,a);l=jt(r,s,c)}for(const c of e)o[c]=l[c];return o}createResolver(t,e,s=[""],n){const{resolver:o}=Rs(this._resolverCache,t,s);return A(e)?jt(o,e,void 0,n):o}}function Rs(i,t,e){let s=i.get(t);s||(s=new Map,i.set(t,s));const n=e.join();let o=s.get(n);return o||(o={resolver:Ii(t,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}const Sl=i=>A(i)&&Object.getOwnPropertyNames(i).some(t=>yt(i[t]));function Pl(i,t){const{isScriptable:e,isIndexable:s}=Mn(i);for(const n of t){const o=e(n),r=s(n),a=(r||o)&&i[n];if(o&&(yt(a)||Sl(a))||r&&W(a))return!0}return!1}var Cl="4.4.6";const Dl=["top","bottom","left","right","chartArea"];function Ls(i,t){return i==="top"||i==="bottom"||Dl.indexOf(i)===-1&&t==="x"}function Is(i,t){return function(e,s){return e[i]===s[i]?e[t]-s[t]:e[i]-s[i]}}function Fs(i){const t=i.chart,e=t.options.animation;t.notifyPlugins("afterRender"),F(e&&e.onComplete,[i],t)}function Ol(i){const t=i.chart,e=t.options.animation;F(e&&e.onProgress,[i],t)}function Yn(i){return zi()&&typeof i=="string"?i=document.getElementById(i):i&&i.length&&(i=i[0]),i&&i.canvas&&(i=i.canvas),i}const ze={},Es=i=>{const t=Yn(i);return Object.values(ze).filter(e=>e.canvas===t).pop()};function Al(i,t,e){const s=Object.keys(i);for(const n of s){const o=+n;if(o>=t){const r=i[n];delete i[n],(e>0||o>t)&&(i[o+e]=r)}}}function Tl(i,t,e,s){return!e||i.type==="mouseout"?null:s?t:i}function Oe(i,t,e){return i.options.clip?i[e]:t[e]}function Rl(i,t){const{xScale:e,yScale:s}=i;return e&&s?{left:Oe(e,t,"left"),right:Oe(e,t,"right"),top:Oe(s,t,"top"),bottom:Oe(s,t,"bottom")}:t}class Dt{static register(...t){at.add(...t),zs()}static unregister(...t){at.remove(...t),zs()}constructor(t,e){const s=this.config=new Ml(e),n=Yn(t),o=Es(n);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const r=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||qa(n)),this.platform.updateConfig(s);const a=this.platform.acquireContext(n,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,h=l&&l.width;if(this.id=Lo(),this.ctx=a,this.canvas=l,this.width=h,this.height=c,this._options=r,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ul,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Zo(d=>this.update(d),r.resizeDelay||0),this._dataChanges=[],ze[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}ft.listen(this,"complete",Fs),ft.listen(this,"progress",Ol),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:s,height:n,_aspectRatio:o}=this;return R(t)?e&&o?o:n?s/n:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return at}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():os(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return is(this.canvas,this.ctx),this}stop(){return ft.stop(this),this}resize(t,e){ft.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const s=this.options,n=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(n,t,e,o),a=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,os(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),F(s.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const e=this.options.scales||{};L(e,(s,n)=>{s.id=n})}buildOrUpdateScales(){const t=this.options,e=t.scales,s=this.scales,n=Object.keys(s).reduce((r,a)=>(r[a]=!1,r),{});let o=[];e&&(o=o.concat(Object.keys(e).map(r=>{const a=e[r],l=yi(r,a),c=l==="r",h=l==="x";return{options:a,dposition:c?"chartArea":h?"bottom":"left",dtype:c?"radialLinear":h?"category":"linear"}}))),L(o,r=>{const a=r.options,l=a.id,c=yi(l,a),h=D(a.type,r.dtype);(a.position===void 0||Ls(a.position,c)!==Ls(r.dposition))&&(a.position=r.dposition),n[l]=!0;let d=null;if(l in s&&s[l].type===h)d=s[l];else{const f=at.getScale(h);d=new f({id:l,type:h,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(a,t)}),L(n,(r,a)=>{r||delete s[a]}),L(s,r=>{it.configure(this,r,r.options),it.addBox(this,r)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,s=t.length;if(t.sort((n,o)=>n.index-o.index),s>e){for(let n=e;ne.length&&delete this._stacks,t.forEach((s,n)=>{e.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=e.length;s{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const s=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let r=0;for(let c=0,h=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Is("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){L(this.scales,t=>{it.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!Ui(e,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:o}of e){const r=s==="_removeElements"?-o:o;Al(t,n,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,s=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),n=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;it.update(this,this.width,this.height,t);const e=this.chartArea,s=e.width<=0||e.height<=0;this._layers=[],L(this.boxes,n=>{s&&n.position==="chartArea"||(n.configure&&n.configure(),this._layers.push(...n._layers()))},this),this._layers.forEach((n,o)=>{n._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let e=0,s=this.data.datasets.length;e=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,s=t._clip,n=!s.disabled,o=Rl(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(n&&Ke(e,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),n&&qe(e),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return ue(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,s,n){const o=Da.modes[e];return typeof o=="function"?o(this,t,s,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],s=this._metasets;let n=s.filter(o=>o&&o._dataset===e).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=It(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!e.hidden}setDatasetVisibility(t,e){const s=this.getDatasetMeta(t);s.hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,s){const n=s?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,n);de(e)?(o.data[e].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),r.update(o,{visible:s}),this.update(a=>a.datasetIndex===t?n:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),ft.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,o,r),t[o]=r},n=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};L(this.options.events,o=>s(o,n))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,s=(l,c)=>{e.addEventListener(this,l,c),t[l]=c},n=(l,c)=>{t[l]&&(e.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{n("attach",a),this.attached=!0,this.resize(),s("resize",o),s("detach",r)};r=()=>{this.attached=!1,n("resize",o),this._stop(),this._resize(0,0),s("attach",a)},e.isAttached(this.canvas)?a():r()}unbindEvents(){L(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},L(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,s){const n=s?"set":"remove";let o,r,a,l;for(e==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+n+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[r],index:r}});!We(s,e)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,e))}notifyPlugins(t,e,s){return this._plugins.notify(this,t,e,s)}isPluginEnabled(t){return this._plugins._cache.filter(e=>e.plugin.id===t).length===1}_updateHoverStyles(t,e,s){const n=this.options.hover,o=(l,c)=>l.filter(h=>!c.some(d=>h.datasetIndex===d.datasetIndex&&h.index===d.index)),r=o(e,t),a=s?t:o(t,e);r.length&&this.updateHoverStyle(r,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const s={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,n)===!1)return;const o=this._handleEvent(t,e,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(o||s.changed)&&this.render(),this}_handleEvent(t,e,s){const{_active:n=[],options:o}=this,r=e,a=this._getActiveElements(t,n,s,r),l=Ho(t),c=Tl(t,this._lastEvent,s,l);s&&(this._lastEvent=null,F(o.onHover,[t,a,this],this),l&&F(o.onClick,[t,a,this],this));const h=!We(a,n);return(h||e)&&(this._active=a,this._updateHoverStyles(a,n,e)),this._lastEvent=c,h}_getActiveElements(t,e,s,n){if(t.type==="mouseout")return[];if(!s)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,n)}}S(Dt,"defaults",B),S(Dt,"instances",ze),S(Dt,"overrides",Lt),S(Dt,"registry",at),S(Dt,"version",Cl),S(Dt,"getChart",Es);function zs(){return L(Dt.instances,i=>i._plugins.invalidate())}function Ll(i,t,e){const{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=n/a;i.beginPath(),i.arc(o,r,a,s-c,e+c),l>n?(c=n/l,i.arc(o,r,l,e+c,s-c,!0)):i.arc(o,r,n,e+$,s-$),i.closePath(),i.clip()}function Il(i){return Li(i,["outerStart","outerEnd","innerStart","innerEnd"])}function Fl(i,t,e,s){const n=Il(i.options.borderRadius),o=(e-t)/2,r=Math.min(o,s*t/2),a=l=>{const c=(e-Math.min(o,l))*s/2;return K(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:K(n.innerStart,0,r),innerEnd:K(n.innerEnd,0,r)}}function Bt(i,t,e,s){return{x:e+i*Math.cos(t),y:s+i*Math.sin(t)}}function Ue(i,t,e,s,n,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=t,d=Math.max(t.outerRadius+s+e-c,0),f=h>0?h+s+e+c:0;let u=0;const p=n-l;if(s){const I=h>0?h-s:0,E=d>0?d-s:0,H=(I+E)/2,st=H!==0?p*H/(H+s):p;u=(p-st)/2}const g=Math.max(.001,p*d-e/N)/d,m=(p-g)/2,b=l+m+u,_=n-m-u,{outerStart:y,outerEnd:v,innerStart:x,innerEnd:w}=Fl(t,f,d,_-b),M=d-y,k=d-v,P=b+y/M,O=_-v/k,C=f+x,T=f+w,j=b+x/C,Q=_-w/T;if(i.beginPath(),o){const I=(P+O)/2;if(i.arc(r,a,d,P,I),i.arc(r,a,d,I,O),v>0){const U=Bt(k,O,r,a);i.arc(U.x,U.y,v,O,_+$)}const E=Bt(T,_,r,a);if(i.lineTo(E.x,E.y),w>0){const U=Bt(T,Q,r,a);i.arc(U.x,U.y,w,_+$,Q+Math.PI)}const H=(_-w/f+(b+x/f))/2;if(i.arc(r,a,f,_-w/f,H,!0),i.arc(r,a,f,H,b+x/f,!0),x>0){const U=Bt(C,j,r,a);i.arc(U.x,U.y,x,j+Math.PI,b-$)}const st=Bt(M,b,r,a);if(i.lineTo(st.x,st.y),y>0){const U=Bt(M,P,r,a);i.arc(U.x,U.y,y,b-$,P)}}else{i.moveTo(r,a);const I=Math.cos(P)*d+r,E=Math.sin(P)*d+a;i.lineTo(I,E);const H=Math.cos(O)*d+r,st=Math.sin(O)*d+a;i.lineTo(H,st)}i.closePath()}function El(i,t,e,s,n){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Ue(i,t,e,s,l,n);for(let c=0;c=V||g,b=pt(a,h+u,d+u);return m&&b}getCenterPoint(e){const{x:s,y:n,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:c,spacing:h}=this.options,d=(o+r)/2,f=(a+l+h+c)/2;return{x:s+Math.cos(d)*f,y:n+Math.sin(d)*f}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:s,circumference:n}=this,o=(s.offset||0)/4,r=(s.spacing||0)/2,a=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=n>V?Math.floor(n/V):0,n===0||this.innerRadius<0||this.outerRadius<0)return;e.save();const l=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(N,n||0)),h=o*c;e.fillStyle=s.backgroundColor,e.strokeStyle=s.borderColor,El(e,this,h,r,a),zl(e,this,h,r,a),e.restore()}}S(ie,"id","arc"),S(ie,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),S(ie,"defaultRoutes",{backgroundColor:"backgroundColor"}),S(ie,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"});function Un(i,t,e=t){i.lineCap=D(e.borderCapStyle,t.borderCapStyle),i.setLineDash(D(e.borderDash,t.borderDash)),i.lineDashOffset=D(e.borderDashOffset,t.borderDashOffset),i.lineJoin=D(e.borderJoinStyle,t.borderJoinStyle),i.lineWidth=D(e.borderWidth,t.borderWidth),i.strokeStyle=D(e.borderColor,t.borderColor)}function Bl(i,t,e){i.lineTo(e.x,e.y)}function Hl(i){return i.stepped?hr:i.tension||i.cubicInterpolationMode==="monotone"?dr:Bl}function Xn(i,t,e={}){const s=i.length,{start:n=0,end:o=s-1}=e,{start:r,end:a}=t,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:t.loop,ilen:c(r+(c?a-v:v))%o,y=()=>{g!==m&&(i.lineTo(h,m),i.lineTo(h,g),i.lineTo(h,b))};for(l&&(u=n[_(0)],i.moveTo(u.x,u.y)),f=0;f<=a;++f){if(u=n[_(f)],u.skip)continue;const v=u.x,x=u.y,w=v|0;w===p?(xm&&(m=x),h=(d*h+v)/++d):(y(),i.lineTo(v,x),p=w,d=0,g=m=x),b=x}y()}function vi(i){const t=i.options,e=t.borderDash&&t.borderDash.length;return!i._decimated&&!i._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!e?Nl:Wl}function Vl(i){return i.stepped?jr:i.tension||i.cubicInterpolationMode==="monotone"?$r:Ct}function jl(i,t,e,s){let n=t._path;n||(n=t._path=new Path2D,t.path(n,e,s)&&n.closePath()),Un(i,t.options),i.stroke(n)}function $l(i,t,e,s){const{segments:n,options:o}=t,r=vi(t);for(const a of n)Un(i,o,a.style),i.beginPath(),r(i,t,a,{start:e,end:e+s-1})&&i.closePath(),i.stroke()}const Yl=typeof Path2D=="function";function Ul(i,t,e,s){Yl&&!t.options.segment?jl(i,t,e,s):$l(i,t,e,s)}class Tt extends nt{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Fr(this._points,s,t,n,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Gr(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,s=t.length;return s&&e[t[s-1].end]}interpolate(t,e){const s=this.options,n=t[e],o=this.points,r=Ln(this,{property:e,start:n,end:n});if(!r.length)return;const a=[],l=Vl(s);let c,h;for(c=0,h=r.length;ct!=="borderDash"&&t!=="fill"});function Bs(i,t,e,s){const n=i.options,{[e]:o}=i.getProps([e],s);return Math.abs(t-o){a=Wi(r,a,n);const l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):e!==null&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}function Wi(i,t,e){for(;t>i;t--){const s=e[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function Hs(i,t,e,s){return i&&t?s(i[e],t[e]):i?i[e]:t?t[e]:0}function qn(i,t){let e=[],s=!1;return W(i)?(s=!0,e=i):e=Ql(i,t),e.length?new Tt({points:e,options:{tension:0},_loop:s,_fullLoop:s}):null}function Ws(i){return i&&i.fill!==!1}function tc(i,t,e){let n=i[t].fill;const o=[t];let r;if(!e)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!q(n))return n;if(r=i[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function ec(i,t,e){const s=oc(i);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return q(n)&&Math.floor(n)===n?ic(s[0],t,n,e):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function ic(i,t,e,s){return(i==="-"||i==="+")&&(e=t+e),e===t||e<0||e>=s?!1:e}function sc(i,t){let e=null;return i==="start"?e=t.bottom:i==="end"?e=t.top:A(i)?e=t.getPixelForValue(i.value):t.getBasePixel&&(e=t.getBasePixel()),e}function nc(i,t,e){let s;return i==="start"?s=e:i==="end"?s=t.options.reverse?t.min:t.max:A(i)?s=i.value:s=t.getBaseValue(),s}function oc(i){const t=i.options,e=t.fill;let s=D(e&&e.target,e);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function rc(i){const{scale:t,index:e,line:s}=i,n=[],o=s.segments,r=s.points,a=ac(t,e);a.push(qn({x:null,y:t.bottom},s));for(let l=0;l=0;--r){const a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&fi(i.ctx,a,o))}},beforeDatasetsDraw(i,t,e){if(e.drawTime!=="beforeDatasetsDraw")return;const s=i.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){const o=s[n].$filler;Ws(o)&&fi(i.ctx,o,i.chartArea)}},beforeDatasetDraw(i,t,e){const s=t.meta.$filler;!Ws(s)||e.drawTime!=="beforeDatasetDraw"||fi(i.ctx,s,i.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const $s=(i,t)=>{let{boxHeight:e=t,boxWidth:s=t}=i;return i.usePointStyle&&(e=Math.min(e,t),s=i.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:e,itemHeight:Math.max(t,e)}},bc=(i,t)=>i!==null&&t!==null&&i.datasetIndex===t.datasetIndex&&i.index===t.index;class Ys extends nt{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,s){this.maxWidth=t,this.maxHeight=e,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=F(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(s=>t.filter(s,this.chart.data))),t.sort&&(e=e.sort((s,n)=>t.sort(s,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display){this.width=this.height=0;return}const s=t.labels,n=Y(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=$s(s,o);let c,h;e.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(h,t.maxHeight||this.maxHeight)}_fitRows(t,e,s,n){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,u=-h;return this.legendItems.forEach((p,g)=>{const m=s+e/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(d+=h,c[c.length-(g>0?0:1)]=0,u+=h,f++),l[g]={left:0,top:u,row:f,width:m,height:n},c[c.length-1]+=m+a}),d}_fitCols(t,e,s,n){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-t;let d=a,f=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{const{itemWidth:_,itemHeight:y}=_c(s,e,o,m,n);b>0&&u+y+2*a>h&&(d+=f+a,c.push({width:f,height:u}),p+=f+a,g++,f=u=0),l[b]={left:p,top:u,col:g,width:_,height:y},f=Math.max(f,_),u+=y+a}),d+=f,c.push({width:f,height:u}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Wt(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+t+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=X(s,this.top+t+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;Ke(t,this),this._draw(),qe(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:s,ctx:n}=this,{align:o,labels:r}=t,a=B.color,l=Wt(t.rtl,this.left,this.width),c=Y(r.font),{padding:h}=r,d=c.size,f=d/2;let u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=$s(r,d),b=function(w,M,k){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();const P=D(k.lineWidth,1);if(n.fillStyle=D(k.fillStyle,a),n.lineCap=D(k.lineCap,"butt"),n.lineDashOffset=D(k.lineDashOffset,0),n.lineJoin=D(k.lineJoin,"miter"),n.lineWidth=P,n.strokeStyle=D(k.strokeStyle,a),n.setLineDash(D(k.lineDash,[])),r.usePointStyle){const O={radius:g*Math.SQRT2/2,pointStyle:k.pointStyle,rotation:k.rotation,borderWidth:P},C=l.xPlus(w,p/2),T=M+f;kn(n,O,C,T,r.pointStyleWidth&&p)}else{const O=M+Math.max((d-g)/2,0),C=l.leftForLtr(w,p),T=Ht(k.borderRadius);n.beginPath(),Object.values(T).some(j=>j!==0)?je(n,{x:C,y:O,w:p,h:g,radius:T}):n.rect(C,O,p,g),n.fill(),P!==0&&n.stroke()}n.restore()},_=function(w,M,k){ge(n,k.text,w,M+m/2,c,{strikethrough:k.hidden,textAlign:l.textAlign(k.textAlign)})},y=this.isHorizontal(),v=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+v,line:0}:u={x:this.left+h,y:X(o,this.top+v+h,this.bottom-e[0].height),line:0},On(this.ctx,t.textDirection);const x=m+h;this.legendItems.forEach((w,M)=>{n.strokeStyle=w.fontColor,n.fillStyle=w.fontColor;const k=n.measureText(w.text).width,P=l.textAlign(w.textAlign||(w.textAlign=r.textAlign)),O=p+f+k;let C=u.x,T=u.y;l.setWidth(this.width),y?M>0&&C+O+h>this.right&&(T=u.y+=x,u.line++,C=u.x=X(o,this.left+h,this.right-s[u.line])):M>0&&T+x>this.bottom&&(C=u.x=C+e[u.line].width+h,u.line++,T=u.y=X(o,this.top+v+h,this.bottom-e[u.line].height));const j=l.x(C);if(b(j,T,w),C=Jo(P,C+p+f,y?C+O:this.right,t.rtl),_(l.x(C),T,w),y)u.x+=O+h;else if(typeof w.text!="string"){const Q=c.lineHeight;u.y+=Zn(w,Q)+h}else u.y+=x}),An(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,s=Y(e.font),n=tt(e.padding);if(!e.display)return;const o=Wt(t.rtl,this.left,this.width),r=this.ctx,a=e.position,l=s.size/2,c=n.top+l;let h,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),h=this.top+c,d=X(t.align,d,this.right-f);else{const p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(t.align,this.top,this.bottom-p-t.labels.padding-this._computeTitleHeight())}const u=X(a,d,d+f);r.textAlign=o.textAlign(Ti(a)),r.textBaseline="middle",r.strokeStyle=e.color,r.fillStyle=e.color,r.font=s.string,ge(r,e.text,u,h,s)}_computeTitleHeight(){const t=this.options.title,e=Y(t.font),s=tt(t.padding);return t.display?e.lineHeight+s.height:0}_getLegendItemAt(t,e){let s,n,o;if(pt(t,this.left,this.right)&&pt(e,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),t+e.size/2+s.measureText(n).width}function yc(i,t,e){let s=i;return typeof t.text!="string"&&(s=Zn(t,e)),s}function Zn(i,t){const e=i.text?i.text.length:0;return t*e}function vc(i,t){return!!((i==="mousemove"||i==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(i==="click"||i==="mouseup"))}var ah={id:"legend",_element:Ys,start(i,t,e){const s=i.legend=new Ys({ctx:i.ctx,options:e,chart:i});it.configure(i,s,e),it.addBox(i,s)},stop(i){it.removeBox(i,i.legend),delete i.legend},beforeUpdate(i,t,e){const s=i.legend;it.configure(i,s,e),s.options=e},afterUpdate(i){const t=i.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(i,t){t.replay||i.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(i,t,e){const s=t.datasetIndex,n=e.chart;n.isDatasetVisible(s)?(n.hide(s),t.hidden=!0):(n.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:i=>i.chart.options.color,boxWidth:40,padding:10,generateLabels(i){const t=i.data.datasets,{labels:{usePointStyle:e,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=i.legend.options;return i._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(e?0:void 0),h=tt(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:i=>i.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:i=>!i.startsWith("on"),labels:{_scriptable:i=>!["generateLabels","filter","sort"].includes(i)}}};class Jn extends nt{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=e;const n=W(s.text)?s.text.length:1;this._padding=tt(s.padding);const o=n*Y(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:e,left:s,bottom:n,right:o,options:r}=this,a=r.align;let l=0,c,h,d;return this.isHorizontal()?(h=X(a,s,o),d=e+t,c=o-s):(r.position==="left"?(h=s+t,d=X(a,n,e),l=N*-.5):(h=o-t,d=X(a,e,n),l=N*.5),c=n-e),{titleX:h,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const s=Y(e.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);ge(t,e.text,0,0,s,{color:e.color,maxWidth:l,rotation:c,textAlign:Ti(e.align),textBaseline:"middle",translation:[r,a]})}}function kc(i,t){const e=new Jn({ctx:i.ctx,options:t,chart:i});it.configure(i,e,t),it.addBox(i,e),i.titleBlock=e}var lh={id:"title",_element:Jn,start(i,t,e){kc(i,e)},stop(i){const t=i.titleBlock;it.removeBox(i,t),delete i.titleBlock},beforeUpdate(i,t,e){const s=i.titleBlock;it.configure(i,s,e),s.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const se={average(i){if(!i.length)return!1;let t,e,s=new Set,n=0,o=0;for(t=0,e=i.length;ta+l)/s.size,y:n/o}},nearest(i,t){if(!i.length)return!1;let e=t.x,s=t.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=i.length;o-1?i.split(` -`):i}function wc(i,t){const{element:e,datasetIndex:s,index:n}=t,o=i.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:i,label:r,parsed:o.getParsed(n),raw:i.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:e}}function Us(i,t){const e=i.chart.ctx,{body:s,footer:n,title:o}=i,{boxWidth:r,boxHeight:a}=t,l=Y(t.bodyFont),c=Y(t.titleFont),h=Y(t.footerFont),d=o.length,f=n.length,u=s.length,p=tt(t.padding);let g=p.height,m=0,b=s.reduce((v,x)=>v+x.before.length+x.lines.length+x.after.length,0);if(b+=i.beforeBody.length+i.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b){const v=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*v+(b-u)*l.lineHeight+(b-1)*t.bodySpacing}f&&(g+=t.footerMarginTop+f*h.lineHeight+(f-1)*t.footerSpacing);let _=0;const y=function(v){m=Math.max(m,e.measureText(v).width+_)};return e.save(),e.font=c.string,L(i.title,y),e.font=l.string,L(i.beforeBody.concat(i.afterBody),y),_=t.displayColors?r+2+t.boxPadding:0,L(s,v=>{L(v.before,y),L(v.lines,y),L(v.after,y)}),_=0,e.font=h.string,L(i.footer,y),e.restore(),m+=p.width,{width:m,height:g}}function Mc(i,t){const{y:e,height:s}=t;return ei.height-s/2?"bottom":"center"}function Sc(i,t,e,s){const{x:n,width:o}=s,r=e.caretSize+e.caretPadding;if(i==="left"&&n+o+r>t.width||i==="right"&&n-o-r<0)return!0}function Pc(i,t,e,s){const{x:n,width:o}=e,{width:r,chartArea:{left:a,right:l}}=i;let c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),Sc(c,i,t,e)&&(c="center"),c}function Xs(i,t,e){const s=e.yAlign||t.yAlign||Mc(i,e);return{xAlign:e.xAlign||t.xAlign||Pc(i,t,e,s),yAlign:s}}function Cc(i,t){let{x:e,width:s}=i;return t==="right"?e-=s:t==="center"&&(e-=s/2),e}function Dc(i,t,e){let{y:s,height:n}=i;return t==="top"?s+=e:t==="bottom"?s-=n+e:s-=n/2,s}function Ks(i,t,e,s){const{caretSize:n,caretPadding:o,cornerRadius:r}=i,{xAlign:a,yAlign:l}=e,c=n+o,{topLeft:h,topRight:d,bottomLeft:f,bottomRight:u}=Ht(r);let p=Cc(t,a);const g=Dc(t,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,f)+n:a==="right"&&(p+=Math.max(d,u)+n),{x:K(p,0,s.width-t.width),y:K(g,0,s.height-t.height)}}function Ae(i,t,e){const s=tt(e.padding);return t==="center"?i.x+i.width/2:t==="right"?i.x+i.width-s.right:i.x+s.left}function qs(i){return rt([],ut(i))}function Oc(i,t,e){return It(i,{tooltip:t,tooltipItems:e,type:"tooltip"})}function Gs(i,t){const e=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return e?i.override(e):i}const Qn={beforeTitle:dt,title(i){if(i.length>0){const t=i[0],e=t.chart.data.labels,s=e?e.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"u"?Qn[t].call(e,s):n}class wi extends nt{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,s=this.options.setContext(this.getContext()),n=s.enabled&&e.options.animation&&s.animations,o=new In(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=Oc(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,e){const{callbacks:s}=e,n=G(s,"beforeTitle",this,t),o=G(s,"title",this,t),r=G(s,"afterTitle",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}getBeforeBody(t,e){return qs(G(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:s}=e,n=[];return L(t,o=>{const r={before:[],lines:[],after:[]},a=Gs(s,o);rt(r.before,ut(G(a,"beforeLabel",this,o))),rt(r.lines,G(a,"label",this,o)),rt(r.after,ut(G(a,"afterLabel",this,o))),n.push(r)}),n}getAfterBody(t,e){return qs(G(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:s}=e,n=G(s,"beforeFooter",this,t),o=G(s,"footer",this,t),r=G(s,"afterFooter",this,t);let a=[];return a=rt(a,ut(n)),a=rt(a,ut(o)),a=rt(a,ut(r)),a}_createItems(t){const e=this._active,s=this.chart.data,n=[],o=[],r=[];let a=[],l,c;for(l=0,c=e.length;lt.filter(h,d,f,s))),t.itemSort&&(a=a.sort((h,d)=>t.itemSort(h,d,s))),L(a,h=>{const d=Gs(t.callbacks,h);n.push(G(d,"labelColor",this,h)),o.push(G(d,"labelPointStyle",this,h)),r.push(G(d,"labelTextColor",this,h))}),this.labelColors=n,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,e){const s=this.options.setContext(this.getContext()),n=this._active;let o,r=[];if(!n.length)this.opacity!==0&&(o={opacity:0});else{const a=se[s.position].call(this,n,this._eventPosition);r=this._createItems(s),this.title=this.getTitle(r,s),this.beforeBody=this.getBeforeBody(r,s),this.body=this.getBody(r,s),this.afterBody=this.getAfterBody(r,s),this.footer=this.getFooter(r,s);const l=this._size=Us(this,s),c=Object.assign({},a,l),h=Xs(this.chart,s,c),d=Ks(s,c,h,this.chart);this.xAlign=h.xAlign,this.yAlign=h.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,s,n){const o=this.getCaretPosition(t,s,n);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,s){const{xAlign:n,yAlign:o}=this,{caretSize:r,cornerRadius:a}=s,{topLeft:l,topRight:c,bottomLeft:h,bottomRight:d}=Ht(a),{x:f,y:u}=t,{width:p,height:g}=e;let m,b,_,y,v,x;return o==="center"?(v=u+g/2,n==="left"?(m=f,b=m-r,y=v+r,x=v-r):(m=f+p,b=m+r,y=v-r,x=v+r),_=m):(n==="left"?b=f+Math.max(l,h)+r:n==="right"?b=f+p-Math.max(c,d)-r:b=this.caretX,o==="top"?(y=u,v=y-r,m=b-r,_=b+r):(y=u+g,v=y+r,m=b+r,_=b-r),x=y),{x1:m,x2:b,x3:_,y1:y,y2:v,y3:x}}drawTitle(t,e,s){const n=this.title,o=n.length;let r,a,l;if(o){const c=Wt(s.rtl,this.x,this.width);for(t.x=Ae(this,s.titleAlign,s),e.textAlign=c.textAlign(s.titleAlign),e.textBaseline="middle",r=Y(s.titleFont),a=s.titleSpacing,e.fillStyle=s.titleColor,e.font=r.string,l=0;l_!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,je(t,{x:g,y:p,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),je(t,{x:m,y:p+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(g,p,c,l),t.strokeRect(g,p,c,l),t.fillStyle=r.backgroundColor,t.fillRect(m,p+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,e,s){const{body:n}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:h}=s,d=Y(s.bodyFont);let f=d.lineHeight,u=0;const p=Wt(s.rtl,this.x,this.width),g=function(k){e.fillText(k,p.x(t.x+u),t.y+f/2),t.y+=f+o},m=p.textAlign(r);let b,_,y,v,x,w,M;for(e.textAlign=r,e.textBaseline="middle",e.font=d.string,t.x=Ae(this,m,s),e.fillStyle=s.bodyColor,L(this.beforeBody,g),u=a&&m!=="right"?r==="center"?c/2+h:c+2+h:0,v=0,w=n.length;v0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,s=this.$animations,n=s&&s.x,o=s&&s.y;if(n||o){const r=se[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Us(this,t),l=Object.assign({},r,this._size),c=Xs(e,t,l),h=Ks(t,l,c,e);(n._to!==h.x||o._to!==h.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(e);const n={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const r=tt(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,n,e),On(t,e.textDirection),o.y+=r.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),An(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const s=this._active,n=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!We(s,n),r=this._positionChanged(n,e);(o||r)&&(this._active=n,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,s=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,o=this._active||[],r=this._getActiveElements(t,o,e,s),a=this._positionChanged(r,t),l=e||!We(r,o)||a;return l&&(this._active=r,(n.enabled||n.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,s,n){const o=this.options;if(t.type==="mouseout")return[];if(!n)return e.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&r.reverse(),r}_positionChanged(t,e){const{caretX:s,caretY:n,options:o}=this,r=se[o.position].call(this,t,e);return r!==!1&&(s!==r.x||n!==r.y)}}S(wi,"positioners",se);var ch={id:"tooltip",_element:wi,positioners:se,afterInit(i,t,e){e&&(i.tooltip=new wi({chart:i,options:e}))},beforeUpdate(i,t,e){i.tooltip&&i.tooltip.initialize(e)},reset(i,t,e){i.tooltip&&i.tooltip.initialize(e)},afterDraw(i){const t=i.tooltip;if(t&&t._willRender()){const e={tooltip:t};if(i.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0})===!1)return;t.draw(i.ctx),i.notifyPlugins("afterTooltipDraw",e)}},afterEvent(i,t){if(i.tooltip){const e=t.replay;i.tooltip.handleEvent(t.event,e,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(i,t)=>t.bodyFont.size,boxWidth:(i,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Qn},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:i=>i!=="filter"&&i!=="itemSort"&&i!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const Ac=(i,t,e,s)=>(typeof t=="string"?(e=i.push(t)-1,s.unshift({index:e,label:t})):isNaN(t)&&(e=null),e);function Tc(i,t,e,s){const n=i.indexOf(t);if(n===-1)return Ac(i,t,e,s);const o=i.lastIndexOf(t);return n!==o?e:n}const Rc=(i,t)=>i===null?null:K(Math.round(i),0,t);function Zs(i){const t=this.getLabels();return i>=0&&ie.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}S(Js,"id","category"),S(Js,"defaults",{ticks:{callback:Zs}});function Lc(i,t){const e=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:d,includeBounds:f}=i,u=o||1,p=h-1,{min:g,max:m}=t,b=!R(r),_=!R(a),y=!R(c),v=(m-g)/(d+1);let x=Ki((m-g)/p/u)*u,w,M,k,P;if(x<1e-14&&!b&&!_)return[{value:g},{value:m}];P=Math.ceil(m/x)-Math.floor(g/x),P>p&&(x=Ki(P*x/p/u)*u),R(l)||(w=Math.pow(10,l),x=Math.ceil(x*w)/w),n==="ticks"?(M=Math.floor(g/x)*x,k=Math.ceil(m/x)*x):(M=g,k=m),b&&_&&o&&jo((a-r)/o,x/1e3)?(P=Math.round(Math.min((a-r)/x,h)),x=(a-r)/P,M=r,k=a):y?(M=b?r:M,k=_?a:k,P=c-1,x=(k-M)/P):(P=(k-M)/x,oe(P,Math.round(P),x/1e3)?P=Math.round(P):P=Math.ceil(P));const O=Math.max(qi(x),qi(M));w=Math.pow(10,R(l)?O:l),M=Math.round(M*w)/w,k=Math.round(k*w)/w;let C=0;for(b&&(f&&M!==r?(e.push({value:r}),Ma)break;e.push({value:T})}return _&&f&&k!==a?e.length&&oe(e[e.length-1].value,a,Qs(a,v,i))?e[e.length-1].value=a:e.push({value:a}):(!_||k===a)&&e.push({value:k}),e}function Qs(i,t,{horizontal:e,minRotation:s}){const n=Ot(s),o=(e?Math.sin(n):Math.cos(n))||.001,r=.75*t*(""+i).length;return Math.min(t/o,r)}class Ic extends Yt{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return R(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:s}=this.getUserBounds();let{min:n,max:o}=this;const r=l=>n=e?n:l,a=l=>o=s?o:l;if(t){const l=ct(n),c=ct(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(n-l)}this.min=n,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:e,stepSize:s}=t,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e=e||11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n={maxTicks:s,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:e.includeBounds!==!1},o=this._range||this,r=Lc(n,o);return t.bounds==="ticks"&&$o(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const n=(s-e)/Math.max(t.length-1,1)/2;e-=n,s+=n}this._startValue=e,this._endValue=s,this._valueRange=s-e}getLabelForValue(t){return xn(t,this.chart.options.locale,this.options.ticks.format)}}class tn extends Ic{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?t:0,this.max=q(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,s=Ot(this.options.ticks.minRotation),n=(t?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/n))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}S(tn,"id","linear"),S(tn,"defaults",{ticks:{callback:vn.formatters.numeric}});const Ze={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},J=Object.keys(Ze);function en(i,t){return i-t}function sn(i,t){if(R(t))return null;const e=i._adapter,{parser:s,round:n,isoWeekday:o}=i._parseOpts;let r=t;return typeof s=="function"&&(r=s(r)),q(r)||(r=typeof s=="string"?e.parse(r,s):e.parse(r)),r===null?null:(n&&(r=n==="week"&&(fe(o)||o===!0)?e.startOf(r,"isoWeek",o):e.startOf(r,n)),+r)}function nn(i,t,e,s){const n=J.length;for(let o=J.indexOf(i);o=J.indexOf(e);o--){const r=J[o];if(Ze[r].common&&i._adapter.diff(n,s,r)>=t-1)return r}return J[e?J.indexOf(e):0]}function Ec(i){for(let t=J.indexOf(i)+1,e=J.length;t=t?e[s]:e[n];i[o]=!0}}function zc(i,t,e,s){const n=i._adapter,o=+n.startOf(t[0].value,s),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=e[a],l>=0&&(t[l].major=!0);return t}function rn(i,t,e){const s=[],n={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let e=0,s=0,n,o;this.options.offset&&t.length&&(n=this.getDecimalForValue(t[0]),t.length===1?e=1-n:e=(this.getDecimalForValue(t[1])-n)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;e=K(e,0,r),s=K(s,0,r),this._offsets={start:e,end:s,factor:1/(e+1+s)}}_generate(){const t=this._adapter,e=this.min,s=this.max,n=this.options,o=n.time,r=o.unit||nn(o.minUnit,e,s,this._getLabelCapacity(e)),a=D(n.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=fe(l)||l===!0,h={};let d=e,f,u;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":r),t.diff(s,e,r)>1e5*a)throw new Error(e+" and "+s+" are too far apart with stepSize of "+a+" "+r);const p=n.ticks.source==="data"&&this.getDataTimestamps();for(f=d,u=0;f+g)}getLabelForValue(t){const e=this._adapter,s=this.options.time;return s.tooltipFormat?e.format(t,s.tooltipFormat):e.format(t,s.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,o=this._unit,r=e||n[o];return this._adapter.format(t,r)}_tickFormatFunction(t,e,s,n){const o=this.options,r=o.ticks.callback;if(r)return F(r,[t,e,s],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,h=l&&a[l],d=c&&a[c],f=s[e],u=c&&d&&f&&f.major;return this._adapter.format(t,n||(u?d:h))}generateTickLabels(t){let e,s,n;for(e=0,s=t.length;e0?a:1}getDataTimestamps(){let t=this._cache.data||[],e,s;if(t.length)return t;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,s=n.length;e=i[s].pos&&t<=i[n].pos&&({lo:s,hi:n}=At(i,"pos",t)),{pos:o,time:a}=i[s],{pos:r,time:l}=i[n]):(t>=i[s].time&&t<=i[n].time&&({lo:s,hi:n}=At(i,"time",t)),{time:o,pos:a}=i[s],{time:r,pos:l}=i[n]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class an extends Xe{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=Te(e,this.min),this._tableRange=Te(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:s}=this,n=[],o=[];let r,a,l,c,h;for(r=0,a=t.length;r=e&&c<=s&&n.push(c);if(n.length<2)return[{time:e,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),s=this.getLabelTimestamps();return e.length&&s.length?t=this.normalize(e.concat(s)):t=e.length?e:s,t=this._cache.all=t,t}getDecimalForValue(t){return(Te(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,s=this.getDecimalForPixel(t)/e.factor-e.end;return Te(this._table,s*this._tableRange+this._minPos,!0)}}S(an,"id","timeseries"),S(an,"defaults",Xe.defaults);/*! - * chartjs-plugin-datalabels v2.2.0 - * https://chartjs-plugin-datalabels.netlify.app - * (c) 2017-2022 chartjs-plugin-datalabels contributors - * Released under the MIT license - */var ln=function(){if(typeof window<"u"){if(window.devicePixelRatio)return window.devicePixelRatio;var i=window.screen;if(i)return(i.deviceXDPI||1)/(i.logicalXDPI||1)}return 1}(),le={toTextLines:function(i){var t=[],e;for(i=[].concat(i);i.length;)e=i.pop(),typeof e=="string"?t.unshift.apply(t,e.split(` -`)):Array.isArray(e)?i.push.apply(i,e):R(i)||t.unshift(""+e);return t},textSize:function(i,t,e){var s=[].concat(t),n=s.length,o=i.font,r=0,a;for(i.font=e.string,a=0;ae.right&&(s|=eo),te.bottom&&(s|=io),s}function Wc(i,t){for(var e=i.x0,s=i.y0,n=i.x1,o=i.y1,r=Re(e,s,t),a=Re(n,o,t),l,c,h;!(!(r|a)||r&a);)l=r||a,l&so?(c=e+(n-e)*(t.top-s)/(o-s),h=t.top):l&io?(c=e+(n-e)*(t.bottom-s)/(o-s),h=t.bottom):l&eo?(h=s+(o-s)*(t.right-e)/(n-e),c=t.right):l&to&&(h=s+(o-s)*(t.left-e)/(n-e),c=t.left),l===r?(e=c,s=h,r=Re(e,s,t)):(n=c,o=h,a=Re(n,o,t));return{x0:e,x1:n,y0:s,y1:o}}function Le(i,t){var e=t.anchor,s=i,n,o;return t.clamp&&(s=Wc(s,t.area)),e==="start"?(n=s.x0,o=s.y0):e==="end"?(n=s.x1,o=s.y1):(n=(s.x0+s.x1)/2,o=(s.y0+s.y1)/2),Bc(n,o,i.vx,i.vy,t.align)}var Ie={arc:function(i,t){var e=(i.startAngle+i.endAngle)/2,s=Math.cos(e),n=Math.sin(e),o=i.innerRadius,r=i.outerRadius;return Le({x0:i.x+s*o,y0:i.y+n*o,x1:i.x+s*r,y1:i.y+n*r,vx:s,vy:n},t)},point:function(i,t){var e=ui(i,t.origin),s=e.x*i.options.radius,n=e.y*i.options.radius;return Le({x0:i.x-s,y0:i.y-n,x1:i.x+s,y1:i.y+n,vx:e.x,vy:e.y},t)},bar:function(i,t){var e=ui(i,t.origin),s=i.x,n=i.y,o=0,r=0;return i.horizontal?(s=Math.min(i.x,i.base),o=Math.abs(i.base-i.x)):(n=Math.min(i.y,i.base),r=Math.abs(i.base-i.y)),Le({x0:s,y0:n+r,x1:s+o,y1:n,vx:e.x,vy:e.y},t)},fallback:function(i,t){var e=ui(i,t.origin);return Le({x0:i.x,y0:i.y,x1:i.x+(i.width||0),y1:i.y+(i.height||0),vx:e.x,vy:e.y},t)}},mt=le.rasterize;function Nc(i){var t=i.borderWidth||0,e=i.padding,s=i.size.height,n=i.size.width,o=-n/2,r=-s/2;return{frame:{x:o-e.left-t,y:r-e.top-t,w:n+e.width+t*2,h:s+e.height+t*2},text:{x:o,y:r,w:n,h:s}}}function Vc(i,t){var e=t.chart.getDatasetMeta(t.datasetIndex).vScale;if(!e)return null;if(e.xCenter!==void 0&&e.yCenter!==void 0)return{x:e.xCenter,y:e.yCenter};var s=e.getBasePixel();return i.horizontal?{x:s,y:null}:{x:null,y:s}}function jc(i){return i instanceof ie?Ie.arc:i instanceof Be?Ie.point:i instanceof He?Ie.bar:Ie.fallback}function $c(i,t,e,s,n,o){var r=Math.PI/2;if(o){var a=Math.min(o,n/2,s/2),l=t+a,c=e+a,h=t+s-a,d=e+n-a;i.moveTo(t,c),ls.x+s.w+e*2||i.y>s.y+s.h+e*2)},intersects:function(i){var t=this._points(),e=i._points(),s=[Fe(t[0],t[1]),Fe(t[0],t[3])],n,o,r;for(this._rotation!==i._rotation&&s.push(Fe(e[0],e[1]),Fe(e[0],e[3])),n=0;n=0;--e)for(n=i[e].$layout,s=e-1;s>=0&&n._visible;--s)o=i[s].$layout,o._visible&&n._box.intersects(o._box)&&t(n,o);return i}function Jc(i){var t,e,s,n,o,r,a;for(t=0,e=i.length;tl.getProps([c],!0)[c]}),o=s.geometry(),r=ro(a,s.model(),o),n._box.update(r,o,s.rotation()));return Zc(i,function(l,c){var h=l._hidable,d=c._hidable;h&&d||d?c._visible=!1:h&&(l._visible=!1)})}var ce={prepare:function(i){var t=[],e,s,n,o,r;for(e=0,n=i.length;e=0;--e)if(s=i[e].$layout,s&&s._visible&&s._box.contains(t))return i[e];return null},draw:function(i,t){var e,s,n,o,r,a;for(e=0,s=t.length;ei.map(i=>d[i]); -var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var gt=(e,t,n)=>TI(e,typeof t!="symbol"?t+"":t,n);import{C as WE,B as G0,L as H0,a as mI,b as _I,P as hI,p as SI,c as AI,d as OI,i as gI,e as II,f as RI,g as NI}from"./charts-wqJKPfTe.js";import{c as Ke,g as vI,a as FE}from"./maps-CC4oDoP2.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** -* @vue/shared v3.5.12 +var TI=Object.defineProperty;var mI=(e,t,n)=>t in e?TI(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var gt=(e,t,n)=>mI(e,typeof t!="symbol"?t+"":t,n);import{C as WE,B as H0,L as V0,a as _I,b as hI,P as SI,p as AI,c as OI,d as gI,i as II,e as RI,f as NI,g as vI}from"./charts-DvscibqU.js";import{c as Ke,g as bI,a as FE}from"./maps-CC4oDoP2.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function a(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();/** +* @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function zE(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const It={},dr=[],_a=()=>{},bI=()=>!1,Dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xE=e=>e.startsWith("onUpdate:"),xt=Object.assign,BE=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},CI=Object.prototype.hasOwnProperty,dt=(e,t)=>CI.call(e,t),we=Array.isArray,Er=e=>to(e)==="[object Map]",Mr=e=>to(e)==="[object Set]",vf=e=>to(e)==="[object Date]",Ye=e=>typeof e=="function",Mt=e=>typeof e=="string",ea=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",V0=e=>(Rt(e)||Ye(e))&&Ye(e.then)&&Ye(e.catch),K0=Object.prototype.toString,to=e=>K0.call(e),DI=e=>to(e).slice(8,-1),j0=e=>to(e)==="[object Object]",GE=e=>Mt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ei=zE(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},PI=/-(\w)/g,jn=Pl(e=>e.replace(PI,(t,n)=>n?n.toUpperCase():"")),LI=/\B([A-Z])/g,ds=Pl(e=>e.replace(LI,"-$1").toLowerCase()),Ve=Pl(e=>e.charAt(0).toUpperCase()+e.slice(1)),mc=Pl(e=>e?`on${Ve(e)}`:""),os=(e,t)=>!Object.is(e,t),tu=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},hu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yI=e=>{const t=Mt(e)?Number(e):NaN;return isNaN(t)?e:t};let bf;const Ll=()=>bf||(bf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fa(e){if(we(e)){const t={};for(let n=0;n{if(n){const a=n.split(kI);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function me(e){let t="";if(Mt(e))t=e;else if(we(e))for(let n=0;nUs(n,t))}const X0=e=>!!(e&&e.__v_isRef===!0),m=e=>Mt(e)?e:e==null?"":we(e)||Rt(e)&&(e.toString===K0||!Ye(e.toString))?X0(e)?m(e.value):JSON.stringify(e,Q0,2):String(e),Q0=(e,t)=>X0(t)?Q0(e,t.value):Er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,s],r)=>(n[_c(a,r)+" =>"]=s,n),{})}:Mr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>_c(n))}:ea(t)?_c(t):Rt(t)&&!we(t)&&!j0(t)?String(t):t,_c=(e,t="")=>{var n;return ea(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.12 +**//*! #__NO_SIDE_EFFECTS__ */function zE(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const It={},dr=[],_a=()=>{},CI=()=>!1,Pl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xE=e=>e.startsWith("onUpdate:"),xt=Object.assign,BE=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},DI=Object.prototype.hasOwnProperty,dt=(e,t)=>DI.call(e,t),we=Array.isArray,Er=e=>to(e)==="[object Map]",Mr=e=>to(e)==="[object Set]",Nf=e=>to(e)==="[object Date]",Ye=e=>typeof e=="function",Mt=e=>typeof e=="string",ea=e=>typeof e=="symbol",Rt=e=>e!==null&&typeof e=="object",K0=e=>(Rt(e)||Ye(e))&&Ye(e.then)&&Ye(e.catch),j0=Object.prototype.toString,to=e=>j0.call(e),PI=e=>to(e).slice(8,-1),q0=e=>to(e)==="[object Object]",GE=e=>Mt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ei=zE(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ll=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},LI=/-(\w)/g,jn=Ll(e=>e.replace(LI,(t,n)=>n?n.toUpperCase():"")),yI=/\B([A-Z])/g,ds=Ll(e=>e.replace(yI,"-$1").toLowerCase()),Ve=Ll(e=>e.charAt(0).toUpperCase()+e.slice(1)),_c=Ll(e=>e?`on${Ve(e)}`:""),os=(e,t)=>!Object.is(e,t),tu=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:a,value:n})},hu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$I=e=>{const t=Mt(e)?Number(e):NaN;return isNaN(t)?e:t};let vf;const yl=()=>vf||(vf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function za(e){if(we(e)){const t={};for(let n=0;n{if(n){const a=n.split(UI);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function me(e){let t="";if(Mt(e))t=e;else if(we(e))for(let n=0;nUs(n,t))}const Q0=e=>!!(e&&e.__v_isRef===!0),m=e=>Mt(e)?e:e==null?"":we(e)||Rt(e)&&(e.toString===j0||!Ye(e.toString))?Q0(e)?m(e.value):JSON.stringify(e,Z0,2):String(e),Z0=(e,t)=>Q0(t)?Z0(e,t.value):Er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[a,s],r)=>(n[hc(a,r)+" =>"]=s,n),{})}:Mr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hc(n))}:ea(t)?hc(t):Rt(t)&&!we(t)&&!q0(t)?String(t):t,hc=(e,t="")=>{var n;return ea(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ln;class Z0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ln,!t&&Ln&&(this.index=(Ln.scopes||(Ln.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(fi){let t=fi;for(fi=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;pi;){let t=pi;for(pi=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function ah(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sh(e){let t,n=e.depsTail,a=n;for(;a;){const s=a.prevDep;a.version===-1?(a===n&&(n=s),jE(a),xI(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=s}e.deps=t,e.depsTail=n}function dd(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(rh(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function rh(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ci))return;e.globalVersion=Ci;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!dd(e)){e.flags&=-3;return}const n=vt,a=Zn;vt=e,Zn=!0;try{ah(e);const s=e.fn(e._value);(t.version===0||os(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{vt=n,Zn=a,sh(e),e.flags&=-3}}function jE(e,t=!1){const{dep:n,prevSub:a,nextSub:s}=e;if(a&&(a.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)jE(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Zn=!0;const ih=[];function Es(){ih.push(Zn),Zn=!1}function ps(){const e=ih.pop();Zn=e===void 0?!0:e}function Cf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=vt;vt=void 0;try{t()}finally{vt=n}}}let Ci=0;class BI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qE{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!vt||!Zn||vt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==vt)n=this.activeLink=new BI(vt,this),vt.deps?(n.prevDep=vt.depsTail,vt.depsTail.nextDep=n,vt.depsTail=n):vt.deps=vt.depsTail=n,oh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=vt.depsTail,n.nextDep=void 0,vt.depsTail.nextDep=n,vt.depsTail=n,vt.deps===n&&(vt.deps=a)}return n}trigger(t){this.version++,Ci++,this.notify(t)}notify(t){VE();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{KE()}}}function oh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let a=t.deps;a;a=a.nextDep)oh(a)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Su=new WeakMap,$s=Symbol(""),Ed=Symbol(""),Di=Symbol("");function nn(e,t,n){if(Zn&&vt){let a=Su.get(e);a||Su.set(e,a=new Map);let s=a.get(n);s||(a.set(n,s=new qE),s.map=a,s.key=n),s.track()}}function ya(e,t,n,a,s,r){const i=Su.get(e);if(!i){Ci++;return}const o=u=>{u&&u.trigger()};if(VE(),t==="clear")i.forEach(o);else{const u=we(e),l=u&&GE(n);if(u&&n==="length"){const c=Number(a);i.forEach((p,E)=>{(E==="length"||E===Di||!ea(E)&&E>=c)&&o(p)})}else switch((n!==void 0||i.has(void 0))&&o(i.get(n)),l&&o(i.get(Di)),t){case"add":u?l&&o(i.get("length")):(o(i.get($s)),Er(e)&&o(i.get(Ed)));break;case"delete":u||(o(i.get($s)),Er(e)&&o(i.get(Ed)));break;case"set":Er(e)&&o(i.get($s));break}}KE()}function GI(e,t){const n=Su.get(e);return n&&n.get(t)}function Xs(e){const t=ut(e);return t===e?t:(nn(t,"iterate",Di),Hn(e)?t:t.map(an))}function yl(e){return nn(e=ut(e),"iterate",Di),e}const HI={__proto__:null,[Symbol.iterator](){return Sc(this,Symbol.iterator,an)},concat(...e){return Xs(this).concat(...e.map(t=>we(t)?Xs(t):t))},entries(){return Sc(this,"entries",e=>(e[1]=an(e[1]),e))},every(e,t){return ga(this,"every",e,t,void 0,arguments)},filter(e,t){return ga(this,"filter",e,t,n=>n.map(an),arguments)},find(e,t){return ga(this,"find",e,t,an,arguments)},findIndex(e,t){return ga(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ga(this,"findLast",e,t,an,arguments)},findLastIndex(e,t){return ga(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ga(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ac(this,"includes",e)},indexOf(...e){return Ac(this,"indexOf",e)},join(e){return Xs(this).join(e)},lastIndexOf(...e){return Ac(this,"lastIndexOf",e)},map(e,t){return ga(this,"map",e,t,void 0,arguments)},pop(){return jr(this,"pop")},push(...e){return jr(this,"push",e)},reduce(e,...t){return Df(this,"reduce",e,t)},reduceRight(e,...t){return Df(this,"reduceRight",e,t)},shift(){return jr(this,"shift")},some(e,t){return ga(this,"some",e,t,void 0,arguments)},splice(...e){return jr(this,"splice",e)},toReversed(){return Xs(this).toReversed()},toSorted(e){return Xs(this).toSorted(e)},toSpliced(...e){return Xs(this).toSpliced(...e)},unshift(...e){return jr(this,"unshift",e)},values(){return Sc(this,"values",an)}};function Sc(e,t,n){const a=yl(e),s=a[t]();return a!==e&&!Hn(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=n(r.value)),r}),s}const VI=Array.prototype;function ga(e,t,n,a,s,r){const i=yl(e),o=i!==e&&!Hn(e),u=i[t];if(u!==VI[t]){const p=u.apply(e,r);return o?an(p):p}let l=n;i!==e&&(o?l=function(p,E){return n.call(this,an(p),E,e)}:n.length>2&&(l=function(p,E){return n.call(this,p,E,e)}));const c=u.call(i,l,a);return o&&s?s(c):c}function Df(e,t,n,a){const s=yl(e);let r=n;return s!==e&&(Hn(e)?n.length>3&&(r=function(i,o,u){return n.call(this,i,o,u,e)}):r=function(i,o,u){return n.call(this,i,an(o),u,e)}),s[t](r,...a)}function Ac(e,t,n){const a=ut(e);nn(a,"iterate",Di);const s=a[t](...n);return(s===-1||s===!1)&&no(n[0])?(n[0]=ut(n[0]),a[t](...n)):s}function jr(e,t,n=[]){Es(),VE();const a=ut(e)[t].apply(e,n);return KE(),ps(),a}const KI=zE("__proto__,__v_isRef,__isVue"),uh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ea));function jI(e){ea(e)||(e=String(e));const t=ut(this);return nn(t,"has",e),t.hasOwnProperty(e)}class lh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return a===(s?r?aR:ph:r?Eh:dh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const i=we(t);if(!s){let u;if(i&&(u=HI[n]))return u;if(n==="hasOwnProperty")return jI}const o=Reflect.get(t,n,Gt(t)?t:a);return(ea(n)?uh.has(n):KI(n))||(s||nn(t,"get",n),r)?o:Gt(o)?i&&GE(n)?o:o.value:Rt(o)?s?Th(o):Qt(o):o}}class ch extends lh{constructor(t=!1){super(!1,t)}set(t,n,a,s){let r=t[n];if(!this._isShallow){const u=ws(r);if(!Hn(a)&&!ws(a)&&(r=ut(r),a=ut(a)),!we(t)&&Gt(r)&&!Gt(a))return u?!1:(r.value=a,!0)}const i=we(t)&&GE(n)?Number(n)e,vo=e=>Reflect.getPrototypeOf(e);function ZI(e,t,n){return function(...a){const s=this.__v_raw,r=ut(s),i=Er(r),o=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,l=s[e](...a),c=n?pd:t?fd:an;return!t&&nn(r,"iterate",u?Ed:$s),{next(){const{value:p,done:E}=l.next();return E?{value:p,done:E}:{value:o?[c(p[0]),c(p[1])]:c(p),done:E}},[Symbol.iterator](){return this}}}}function bo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function JI(e,t){const n={get(s){const r=this.__v_raw,i=ut(r),o=ut(s);e||(os(s,o)&&nn(i,"get",s),nn(i,"get",o));const{has:u}=vo(i),l=t?pd:e?fd:an;if(u.call(i,s))return l(r.get(s));if(u.call(i,o))return l(r.get(o));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&nn(ut(s),"iterate",$s),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,i=ut(r),o=ut(s);return e||(os(s,o)&&nn(i,"has",s),nn(i,"has",o)),s===o?r.has(s):r.has(s)||r.has(o)},forEach(s,r){const i=this,o=i.__v_raw,u=ut(o),l=t?pd:e?fd:an;return!e&&nn(u,"iterate",$s),o.forEach((c,p)=>s.call(r,l(c),l(p),i))}};return xt(n,e?{add:bo("add"),set:bo("set"),delete:bo("delete"),clear:bo("clear")}:{add(s){!t&&!Hn(s)&&!ws(s)&&(s=ut(s));const r=ut(this);return vo(r).has.call(r,s)||(r.add(s),ya(r,"add",s,s)),this},set(s,r){!t&&!Hn(r)&&!ws(r)&&(r=ut(r));const i=ut(this),{has:o,get:u}=vo(i);let l=o.call(i,s);l||(s=ut(s),l=o.call(i,s));const c=u.call(i,s);return i.set(s,r),l?os(r,c)&&ya(i,"set",s,r):ya(i,"add",s,r),this},delete(s){const r=ut(this),{has:i,get:o}=vo(r);let u=i.call(r,s);u||(s=ut(s),u=i.call(r,s)),o&&o.call(r,s);const l=r.delete(s);return u&&ya(r,"delete",s,void 0),l},clear(){const s=ut(this),r=s.size!==0,i=s.clear();return r&&ya(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=ZI(s,e,t)}),n}function YE(e,t){const n=JI(e,t);return(a,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?a:Reflect.get(dt(n,s)&&s in a?n:a,s,r)}const eR={get:YE(!1,!1)},tR={get:YE(!1,!0)},nR={get:YE(!0,!1)};const dh=new WeakMap,Eh=new WeakMap,ph=new WeakMap,aR=new WeakMap;function sR(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rR(e){return e.__v_skip||!Object.isExtensible(e)?0:sR(DI(e))}function Qt(e){return ws(e)?e:XE(e,!1,YI,eR,dh)}function fh(e){return XE(e,!1,QI,tR,Eh)}function Th(e){return XE(e,!0,XI,nR,ph)}function XE(e,t,n,a,s){if(!Rt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=rR(e);if(i===0)return e;const o=new Proxy(e,i===2?a:n);return s.set(e,o),o}function pr(e){return ws(e)?pr(e.__v_raw):!!(e&&e.__v_isReactive)}function ws(e){return!!(e&&e.__v_isReadonly)}function Hn(e){return!!(e&&e.__v_isShallow)}function no(e){return e?!!e.__v_raw:!1}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function za(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&q0(e,"__v_skip",!0),e}const an=e=>Rt(e)?Qt(e):e,fd=e=>Rt(e)?Th(e):e;function Gt(e){return e?e.__v_isRef===!0:!1}function de(e){return mh(e,!1)}function ao(e){return mh(e,!0)}function mh(e,t){return Gt(e)?e:new iR(e,t)}class iR{constructor(t,n){this.dep=new qE,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ut(t),this._value=n?t:an(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,a=this.__v_isShallow||Hn(t)||ws(t);t=a?t:ut(t),os(t,n)&&(this._rawValue=t,this._value=a?t:an(t),this.dep.trigger())}}function T(e){return Gt(e)?e.value:e}const oR={get:(e,t,n)=>t==="__v_raw"?e:T(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const s=e[t];return Gt(s)&&!Gt(n)?(s.value=n,!0):Reflect.set(e,t,n,a)}};function _h(e){return pr(e)?e:new Proxy(e,oR)}function he(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=lR(e,n);return t}class uR{constructor(t,n,a){this._object=t,this._key=n,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return GI(ut(this._object),this._key)}}function lR(e,t,n){const a=e[t];return Gt(a)?a:new uR(e,t,n)}class cR{constructor(t,n,a){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qE(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ci-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&vt!==this)return nh(this,!0),!0}get value(){const t=this.dep.track();return rh(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dR(e,t,n=!1){let a,s;return Ye(e)?a=e:(a=e.get,s=e.set),new cR(a,s,n)}const Co={},Au=new WeakMap;let vs;function ER(e,t=!1,n=vs){if(n){let a=Au.get(n);a||Au.set(n,a=[]),a.push(e)}}function pR(e,t,n=It){const{immediate:a,deep:s,once:r,scheduler:i,augmentJob:o,call:u}=n,l=A=>s?A:Hn(A)||s===!1||s===0?$a(A,1):$a(A);let c,p,E,f,_=!1,O=!1;if(Gt(e)?(p=()=>e.value,_=Hn(e)):pr(e)?(p=()=>l(e),_=!0):we(e)?(O=!0,_=e.some(A=>pr(A)||Hn(A)),p=()=>e.map(A=>{if(Gt(A))return A.value;if(pr(A))return l(A);if(Ye(A))return u?u(A,2):A()})):Ye(e)?t?p=u?()=>u(e,2):e:p=()=>{if(E){Es();try{E()}finally{ps()}}const A=vs;vs=c;try{return u?u(e,3,[f]):e(f)}finally{vs=A}}:p=_a,t&&s){const A=p,v=s===!0?1/0:s;p=()=>$a(A(),v)}const I=zI(),g=()=>{c.stop(),I&&BE(I.effects,c)};if(r&&t){const A=t;t=(...v)=>{A(...v),g()}}let N=O?new Array(e.length).fill(Co):Co;const S=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(t){const v=c.run();if(s||_||(O?v.some((y,P)=>os(y,N[P])):os(v,N))){E&&E();const y=vs;vs=c;try{const P=[v,N===Co?void 0:O&&N[0]===Co?[]:N,f];u?u(t,3,P):t(...P),N=v}finally{vs=y}}}else c.run()};return o&&o(S),c=new eh(p),c.scheduler=i?()=>i(S,!1):S,f=A=>ER(A,!1,c),E=c.onStop=()=>{const A=Au.get(c);if(A){if(u)u(A,4);else for(const v of A)v();Au.delete(c)}},t?a?S(!0):N=c.run():i?i(S.bind(null,!0),!0):c.run(),g.pause=c.pause.bind(c),g.resume=c.resume.bind(c),g.stop=g,g}function $a(e,t=1/0,n){if(t<=0||!Rt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Gt(e))$a(e.value,t,n);else if(we(e))for(let a=0;a{$a(a,t,n)});else if(j0(e)){for(const a in e)$a(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&$a(e[a],t,n)}return e}/** -* @vue/runtime-core v3.5.12 +**/let Ln;class J0{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ln,!t&&Ln&&(this.index=(Ln.scopes||(Ln.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(fi){let t=fi;for(fi=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;pi;){let t=pi;for(pi=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(a){e||(e=a)}t=n}}if(e)throw e}function sh(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function rh(e){let t,n=e.depsTail,a=n;for(;a;){const s=a.prevDep;a.version===-1?(a===n&&(n=s),jE(a),BI(a)):t=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=s}e.deps=t,e.depsTail=n}function Ed(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ih(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ih(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ci))return;e.globalVersion=Ci;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ed(e)){e.flags&=-3;return}const n=vt,a=Zn;vt=e,Zn=!0;try{sh(e);const s=e.fn(e._value);(t.version===0||os(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{vt=n,Zn=a,rh(e),e.flags&=-3}}function jE(e,t=!1){const{dep:n,prevSub:a,nextSub:s}=e;if(a&&(a.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=a,e.nextSub=void 0),n.subs===e&&(n.subs=a,!a&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)jE(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function BI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Zn=!0;const oh=[];function Es(){oh.push(Zn),Zn=!1}function ps(){const e=oh.pop();Zn=e===void 0?!0:e}function bf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=vt;vt=void 0;try{t()}finally{vt=n}}}let Ci=0;class GI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qE{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!vt||!Zn||vt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==vt)n=this.activeLink=new GI(vt,this),vt.deps?(n.prevDep=vt.depsTail,vt.depsTail.nextDep=n,vt.depsTail=n):vt.deps=vt.depsTail=n,uh(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const a=n.nextDep;a.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=a),n.prevDep=vt.depsTail,n.nextDep=void 0,vt.depsTail.nextDep=n,vt.depsTail=n,vt.deps===n&&(vt.deps=a)}return n}trigger(t){this.version++,Ci++,this.notify(t)}notify(t){VE();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{KE()}}}function uh(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let a=t.deps;a;a=a.nextDep)uh(a)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Su=new WeakMap,$s=Symbol(""),pd=Symbol(""),Di=Symbol("");function nn(e,t,n){if(Zn&&vt){let a=Su.get(e);a||Su.set(e,a=new Map);let s=a.get(n);s||(a.set(n,s=new qE),s.map=a,s.key=n),s.track()}}function $a(e,t,n,a,s,r){const i=Su.get(e);if(!i){Ci++;return}const o=u=>{u&&u.trigger()};if(VE(),t==="clear")i.forEach(o);else{const u=we(e),l=u&&GE(n);if(u&&n==="length"){const c=Number(a);i.forEach((p,E)=>{(E==="length"||E===Di||!ea(E)&&E>=c)&&o(p)})}else switch((n!==void 0||i.has(void 0))&&o(i.get(n)),l&&o(i.get(Di)),t){case"add":u?l&&o(i.get("length")):(o(i.get($s)),Er(e)&&o(i.get(pd)));break;case"delete":u||(o(i.get($s)),Er(e)&&o(i.get(pd)));break;case"set":Er(e)&&o(i.get($s));break}}KE()}function HI(e,t){const n=Su.get(e);return n&&n.get(t)}function Xs(e){const t=ut(e);return t===e?t:(nn(t,"iterate",Di),Hn(e)?t:t.map(an))}function $l(e){return nn(e=ut(e),"iterate",Di),e}const VI={__proto__:null,[Symbol.iterator](){return Ac(this,Symbol.iterator,an)},concat(...e){return Xs(this).concat(...e.map(t=>we(t)?Xs(t):t))},entries(){return Ac(this,"entries",e=>(e[1]=an(e[1]),e))},every(e,t){return ga(this,"every",e,t,void 0,arguments)},filter(e,t){return ga(this,"filter",e,t,n=>n.map(an),arguments)},find(e,t){return ga(this,"find",e,t,an,arguments)},findIndex(e,t){return ga(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ga(this,"findLast",e,t,an,arguments)},findLastIndex(e,t){return ga(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ga(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oc(this,"includes",e)},indexOf(...e){return Oc(this,"indexOf",e)},join(e){return Xs(this).join(e)},lastIndexOf(...e){return Oc(this,"lastIndexOf",e)},map(e,t){return ga(this,"map",e,t,void 0,arguments)},pop(){return jr(this,"pop")},push(...e){return jr(this,"push",e)},reduce(e,...t){return Cf(this,"reduce",e,t)},reduceRight(e,...t){return Cf(this,"reduceRight",e,t)},shift(){return jr(this,"shift")},some(e,t){return ga(this,"some",e,t,void 0,arguments)},splice(...e){return jr(this,"splice",e)},toReversed(){return Xs(this).toReversed()},toSorted(e){return Xs(this).toSorted(e)},toSpliced(...e){return Xs(this).toSpliced(...e)},unshift(...e){return jr(this,"unshift",e)},values(){return Ac(this,"values",an)}};function Ac(e,t,n){const a=$l(e),s=a[t]();return a!==e&&!Hn(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.value&&(r.value=n(r.value)),r}),s}const KI=Array.prototype;function ga(e,t,n,a,s,r){const i=$l(e),o=i!==e&&!Hn(e),u=i[t];if(u!==KI[t]){const p=u.apply(e,r);return o?an(p):p}let l=n;i!==e&&(o?l=function(p,E){return n.call(this,an(p),E,e)}:n.length>2&&(l=function(p,E){return n.call(this,p,E,e)}));const c=u.call(i,l,a);return o&&s?s(c):c}function Cf(e,t,n,a){const s=$l(e);let r=n;return s!==e&&(Hn(e)?n.length>3&&(r=function(i,o,u){return n.call(this,i,o,u,e)}):r=function(i,o,u){return n.call(this,i,an(o),u,e)}),s[t](r,...a)}function Oc(e,t,n){const a=ut(e);nn(a,"iterate",Di);const s=a[t](...n);return(s===-1||s===!1)&&no(n[0])?(n[0]=ut(n[0]),a[t](...n)):s}function jr(e,t,n=[]){Es(),VE();const a=ut(e)[t].apply(e,n);return KE(),ps(),a}const jI=zE("__proto__,__v_isRef,__isVue"),lh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ea));function qI(e){ea(e)||(e=String(e));const t=ut(this);return nn(t,"has",e),t.hasOwnProperty(e)}class ch{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,a){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return a===(s?r?sR:fh:r?ph:Eh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(a)?t:void 0;const i=we(t);if(!s){let u;if(i&&(u=VI[n]))return u;if(n==="hasOwnProperty")return qI}const o=Reflect.get(t,n,Gt(t)?t:a);return(ea(n)?lh.has(n):jI(n))||(s||nn(t,"get",n),r)?o:Gt(o)?i&&GE(n)?o:o.value:Rt(o)?s?mh(o):Qt(o):o}}class dh extends ch{constructor(t=!1){super(!1,t)}set(t,n,a,s){let r=t[n];if(!this._isShallow){const u=ws(r);if(!Hn(a)&&!ws(a)&&(r=ut(r),a=ut(a)),!we(t)&&Gt(r)&&!Gt(a))return u?!1:(r.value=a,!0)}const i=we(t)&&GE(n)?Number(n)e,vo=e=>Reflect.getPrototypeOf(e);function JI(e,t,n){return function(...a){const s=this.__v_raw,r=ut(s),i=Er(r),o=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,l=s[e](...a),c=n?fd:t?Td:an;return!t&&nn(r,"iterate",u?pd:$s),{next(){const{value:p,done:E}=l.next();return E?{value:p,done:E}:{value:o?[c(p[0]),c(p[1])]:c(p),done:E}},[Symbol.iterator](){return this}}}}function bo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function eR(e,t){const n={get(s){const r=this.__v_raw,i=ut(r),o=ut(s);e||(os(s,o)&&nn(i,"get",s),nn(i,"get",o));const{has:u}=vo(i),l=t?fd:e?Td:an;if(u.call(i,s))return l(r.get(s));if(u.call(i,o))return l(r.get(o));r!==i&&r.get(s)},get size(){const s=this.__v_raw;return!e&&nn(ut(s),"iterate",$s),Reflect.get(s,"size",s)},has(s){const r=this.__v_raw,i=ut(r),o=ut(s);return e||(os(s,o)&&nn(i,"has",s),nn(i,"has",o)),s===o?r.has(s):r.has(s)||r.has(o)},forEach(s,r){const i=this,o=i.__v_raw,u=ut(o),l=t?fd:e?Td:an;return!e&&nn(u,"iterate",$s),o.forEach((c,p)=>s.call(r,l(c),l(p),i))}};return xt(n,e?{add:bo("add"),set:bo("set"),delete:bo("delete"),clear:bo("clear")}:{add(s){!t&&!Hn(s)&&!ws(s)&&(s=ut(s));const r=ut(this);return vo(r).has.call(r,s)||(r.add(s),$a(r,"add",s,s)),this},set(s,r){!t&&!Hn(r)&&!ws(r)&&(r=ut(r));const i=ut(this),{has:o,get:u}=vo(i);let l=o.call(i,s);l||(s=ut(s),l=o.call(i,s));const c=u.call(i,s);return i.set(s,r),l?os(r,c)&&$a(i,"set",s,r):$a(i,"add",s,r),this},delete(s){const r=ut(this),{has:i,get:o}=vo(r);let u=i.call(r,s);u||(s=ut(s),u=i.call(r,s)),o&&o.call(r,s);const l=r.delete(s);return u&&$a(r,"delete",s,void 0),l},clear(){const s=ut(this),r=s.size!==0,i=s.clear();return r&&$a(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=JI(s,e,t)}),n}function YE(e,t){const n=eR(e,t);return(a,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?a:Reflect.get(dt(n,s)&&s in a?n:a,s,r)}const tR={get:YE(!1,!1)},nR={get:YE(!1,!0)},aR={get:YE(!0,!1)};const Eh=new WeakMap,ph=new WeakMap,fh=new WeakMap,sR=new WeakMap;function rR(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function iR(e){return e.__v_skip||!Object.isExtensible(e)?0:rR(PI(e))}function Qt(e){return ws(e)?e:XE(e,!1,XI,tR,Eh)}function Th(e){return XE(e,!1,ZI,nR,ph)}function mh(e){return XE(e,!0,QI,aR,fh)}function XE(e,t,n,a,s){if(!Rt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=iR(e);if(i===0)return e;const o=new Proxy(e,i===2?a:n);return s.set(e,o),o}function pr(e){return ws(e)?pr(e.__v_raw):!!(e&&e.__v_isReactive)}function ws(e){return!!(e&&e.__v_isReadonly)}function Hn(e){return!!(e&&e.__v_isShallow)}function no(e){return e?!!e.__v_raw:!1}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function xa(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&Y0(e,"__v_skip",!0),e}const an=e=>Rt(e)?Qt(e):e,Td=e=>Rt(e)?mh(e):e;function Gt(e){return e?e.__v_isRef===!0:!1}function de(e){return _h(e,!1)}function ao(e){return _h(e,!0)}function _h(e,t){return Gt(e)?e:new oR(e,t)}class oR{constructor(t,n){this.dep=new qE,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ut(t),this._value=n?t:an(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,a=this.__v_isShallow||Hn(t)||ws(t);t=a?t:ut(t),os(t,n)&&(this._rawValue=t,this._value=a?t:an(t),this.dep.trigger())}}function T(e){return Gt(e)?e.value:e}const uR={get:(e,t,n)=>t==="__v_raw"?e:T(Reflect.get(e,t,n)),set:(e,t,n,a)=>{const s=e[t];return Gt(s)&&!Gt(n)?(s.value=n,!0):Reflect.set(e,t,n,a)}};function hh(e){return pr(e)?e:new Proxy(e,uR)}function he(e){const t=we(e)?new Array(e.length):{};for(const n in e)t[n]=cR(e,n);return t}class lR{constructor(t,n,a){this._object=t,this._key=n,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return HI(ut(this._object),this._key)}}function cR(e,t,n){const a=e[t];return Gt(a)?a:new lR(e,t,n)}class dR{constructor(t,n,a){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qE(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ci-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=a}notify(){if(this.flags|=16,!(this.flags&8)&&vt!==this)return ah(this,!0),!0}get value(){const t=this.dep.track();return ih(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ER(e,t,n=!1){let a,s;return Ye(e)?a=e:(a=e.get,s=e.set),new dR(a,s,n)}const Co={},Au=new WeakMap;let vs;function pR(e,t=!1,n=vs){if(n){let a=Au.get(n);a||Au.set(n,a=[]),a.push(e)}}function fR(e,t,n=It){const{immediate:a,deep:s,once:r,scheduler:i,augmentJob:o,call:u}=n,l=A=>s?A:Hn(A)||s===!1||s===0?ka(A,1):ka(A);let c,p,E,f,_=!1,O=!1;if(Gt(e)?(p=()=>e.value,_=Hn(e)):pr(e)?(p=()=>l(e),_=!0):we(e)?(O=!0,_=e.some(A=>pr(A)||Hn(A)),p=()=>e.map(A=>{if(Gt(A))return A.value;if(pr(A))return l(A);if(Ye(A))return u?u(A,2):A()})):Ye(e)?t?p=u?()=>u(e,2):e:p=()=>{if(E){Es();try{E()}finally{ps()}}const A=vs;vs=c;try{return u?u(e,3,[f]):e(f)}finally{vs=A}}:p=_a,t&&s){const A=p,v=s===!0?1/0:s;p=()=>ka(A(),v)}const R=xI(),g=()=>{c.stop(),R&&R.active&&BE(R.effects,c)};if(r&&t){const A=t;t=(...v)=>{A(...v),g()}}let N=O?new Array(e.length).fill(Co):Co;const S=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(t){const v=c.run();if(s||_||(O?v.some((y,P)=>os(y,N[P])):os(v,N))){E&&E();const y=vs;vs=c;try{const P=[v,N===Co?void 0:O&&N[0]===Co?[]:N,f];u?u(t,3,P):t(...P),N=v}finally{vs=y}}}else c.run()};return o&&o(S),c=new th(p),c.scheduler=i?()=>i(S,!1):S,f=A=>pR(A,!1,c),E=c.onStop=()=>{const A=Au.get(c);if(A){if(u)u(A,4);else for(const v of A)v();Au.delete(c)}},t?a?S(!0):N=c.run():i?i(S.bind(null,!0),!0):c.run(),g.pause=c.pause.bind(c),g.resume=c.resume.bind(c),g.stop=g,g}function ka(e,t=1/0,n){if(t<=0||!Rt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Gt(e))ka(e.value,t,n);else if(we(e))for(let a=0;a{ka(a,t,n)});else if(q0(e)){for(const a in e)ka(e[a],t,n);for(const a of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,a)&&ka(e[a],t,n)}return e}/** +* @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function so(e,t,n,a){try{return a?e(...a):e()}catch(s){$l(s,t,n)}}function ta(e,t,n,a){if(Ye(e)){const s=so(e,t,n,a);return s&&V0(s)&&s.catch(r=>{$l(r,t,n)}),s}if(we(e)){const s=[];for(let r=0;r>>1,s=cn[a],r=Pi(s);r=Pi(n)?cn.push(e):cn.splice(TR(t),0,e),e.flags|=1,Sh()}}function Sh(){Ou||(Ou=hh.then(Oh))}function mR(e){we(e)?fr.push(...e):Qa&&e.id===-1?Qa.splice(rr+1,0,e):e.flags&1||(fr.push(e),e.flags|=1),Sh()}function Pf(e,t,n=da+1){for(;nPi(n)-Pi(a));if(fr.length=0,Qa){Qa.push(...t);return}for(Qa=t,rr=0;rre.id==null?e.flags&2?-1:1/0:e.id;function Oh(e){try{for(da=0;da{a._d&&Bf(-1);const r=gu(t);let i;try{i=e(...s)}finally{gu(r),a._d&&Bf(1)}return i};return a._n=!0,a._c=!0,a._d=!0,a}function $e(e,t){if(Yt===null)return e;const n=Ml(Yt),a=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Ti=e=>e&&(e.disabled||e.disabled===""),_R=e=>e&&(e.defer||e.defer===""),Lf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,yf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Td=(e,t)=>{const n=e&&e.to;return Mt(n)?t?t(n):null:n},hR={name:"Teleport",__isTeleport:!0,process(e,t,n,a,s,r,i,o,u,l){const{mc:c,pc:p,pbc:E,o:{insert:f,querySelector:_,createText:O,createComment:I}}=l,g=Ti(t.props);let{shapeFlag:N,children:S,dynamicChildren:A}=t;if(e==null){const v=t.el=O(""),y=t.anchor=O("");f(v,n,a),f(y,n,a);const P=(D,z)=>{N&16&&(s&&s.isCE&&(s.ce._teleportTarget=D),c(S,D,z,s,r,i,o,u))},C=()=>{const D=t.target=Td(t.props,_),z=Nh(D,t,O,f);D&&(i!=="svg"&&Lf(D)?i="svg":i!=="mathml"&&yf(D)&&(i="mathml"),g||(P(D,z),nu(t,!1)))};g&&(P(n,y),nu(t,!0)),_R(t.props)?hn(C,r):C()}else{t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,y=t.target=e.target,P=t.targetAnchor=e.targetAnchor,C=Ti(e.props),D=C?n:y,z=C?v:P;if(i==="svg"||Lf(y)?i="svg":(i==="mathml"||yf(y))&&(i="mathml"),A?(E(e.dynamicChildren,A,D,s,r,i,o),ep(e,t,!0)):u||p(e,t,D,z,s,r,i,o,!1),g)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Do(t,n,v,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Td(t.props,_);$&&Do(t,$,null,l,0)}else C&&Do(t,y,P,l,1);nu(t,g)}},remove(e,t,n,{um:a,o:{remove:s}},r){const{shapeFlag:i,children:o,anchor:u,targetStart:l,targetAnchor:c,target:p,props:E}=e;if(p&&(s(l),s(c)),r&&s(u),i&16){const f=r||!Ti(E);for(let _=0;_{e.isMounted=!0}),ro(()=>{e.isUnmounting=!0}),e}const Wn=[Function,Array],vh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wn,onEnter:Wn,onAfterEnter:Wn,onEnterCancelled:Wn,onBeforeLeave:Wn,onLeave:Wn,onAfterLeave:Wn,onLeaveCancelled:Wn,onBeforeAppear:Wn,onAppear:Wn,onAfterAppear:Wn,onAppearCancelled:Wn},bh=e=>{const t=e.subTree;return t.component?bh(t.component):t},gR={name:"BaseTransition",props:vh,setup(e,{slots:t}){const n=Ar(),a=OR();return()=>{const s=t.default&&Ph(t.default(),!0);if(!s||!s.length)return;const r=Ch(s),i=ut(e),{mode:o}=i;if(a.isLeaving)return Oc(r);const u=$f(r);if(!u)return Oc(r);let l=md(u,i,a,n,E=>l=E);u.type!==En&&Li(u,l);const c=n.subTree,p=c&&$f(c);if(p&&p.type!==En&&!Cs(u,p)&&bh(n).type!==En){const E=md(p,i,a,n);if(Li(p,E),o==="out-in"&&u.type!==En)return a.isLeaving=!0,E.afterLeave=()=>{a.isLeaving=!1,n.job.flags&8||n.update(),delete E.afterLeave},Oc(r);o==="in-out"&&u.type!==En&&(E.delayLeave=(f,_,O)=>{const I=Dh(a,p);I[String(p.key)]=p,f[Za]=()=>{_(),f[Za]=void 0,delete l.delayedLeave},l.delayedLeave=O})}return r}}};function Ch(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==En){t=n;break}}return t}const IR=gR;function Dh(e,t){const{leavingVNodes:n}=e;let a=n.get(t.type);return a||(a=Object.create(null),n.set(t.type,a)),a}function md(e,t,n,a,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:p,onBeforeLeave:E,onLeave:f,onAfterLeave:_,onLeaveCancelled:O,onBeforeAppear:I,onAppear:g,onAfterAppear:N,onAppearCancelled:S}=t,A=String(e.key),v=Dh(n,e),y=(D,z)=>{D&&ta(D,a,9,z)},P=(D,z)=>{const $=z[1];y(D,z),we(D)?D.every(F=>F.length<=1)&&$():D.length<=1&&$()},C={mode:i,persisted:o,beforeEnter(D){let z=u;if(!n.isMounted)if(r)z=I||u;else return;D[Za]&&D[Za](!0);const $=v[A];$&&Cs(e,$)&&$.el[Za]&&$.el[Za](),y(z,[D])},enter(D){let z=l,$=c,F=p;if(!n.isMounted)if(r)z=g||l,$=N||c,F=S||p;else return;let Y=!1;const se=D[Po]=B=>{Y||(Y=!0,B?y(F,[D]):y($,[D]),C.delayedLeave&&C.delayedLeave(),D[Po]=void 0)};z?P(z,[D,se]):se()},leave(D,z){const $=String(e.key);if(D[Po]&&D[Po](!0),n.isUnmounting)return z();y(E,[D]);let F=!1;const Y=D[Za]=se=>{F||(F=!0,z(),se?y(O,[D]):y(_,[D]),D[Za]=void 0,v[$]===e&&delete v[$])};v[$]=e,f?P(f,[D,Y]):Y()},clone(D){const z=md(D,t,n,a,s);return s&&s(z),z}};return C}function Oc(e){if(kl(e))return e=us(e),e.children=null,e}function $f(e){if(!kl(e))return Rh(e.type)&&e.children?Ch(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ye(n.default))return n.default()}}function Li(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Li(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ph(e,t=!1,n){let a=[],s=0;for(let r=0;r1)for(let r=0;r_d(_,t&&(we(t)?t[O]:t),n,a,s));return}if(Tr(a)&&!s)return;const r=a.shapeFlag&4?Ml(a.component):a.el,i=s?null:r,{i:o,r:u}=e,l=t&&t.r,c=o.refs===It?o.refs={}:o.refs,p=o.setupState,E=ut(p),f=p===It?()=>!1:_=>dt(E,_);if(l!=null&&l!==u&&(Mt(l)?(c[l]=null,f(l)&&(p[l]=null)):Gt(l)&&(l.value=null)),Ye(u))so(u,o,12,[i,c]);else{const _=Mt(u),O=Gt(u);if(_||O){const I=()=>{if(e.f){const g=_?f(u)?p[u]:c[u]:u.value;s?we(g)&&BE(g,r):we(g)?g.includes(r)||g.push(r):_?(c[u]=[r],f(u)&&(p[u]=c[u])):(u.value=[r],e.k&&(c[e.k]=u.value))}else _?(c[u]=i,f(u)&&(p[u]=i)):O&&(u.value=i,e.k&&(c[e.k]=i))};i?(I.id=-1,hn(I,n)):I()}}}Ll().requestIdleCallback;Ll().cancelIdleCallback;const Tr=e=>!!e.type.__asyncLoader,kl=e=>e.type.__isKeepAlive;function RR(e,t){yh(e,"a",t)}function NR(e,t){yh(e,"da",t)}function yh(e,t,n=Zt){const a=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ul(t,a,n),n){let s=n.parent;for(;s&&s.parent;)kl(s.parent.vnode)&&vR(a,t,n,s),s=s.parent}}function vR(e,t,n,a){const s=Ul(t,e,a,!0);pt(()=>{BE(a[t],s)},n)}function Ul(e,t,n=Zt,a=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Es();const o=oo(n),u=ta(t,n,e,i);return o(),ps(),u});return a?s.unshift(r):s.push(r),r}}const xa=e=>(t,n=Zt)=>{(!ki||e==="sp")&&Ul(e,(...a)=>t(...a),n)},Et=xa("bm"),St=xa("m"),bR=xa("bu"),CR=xa("u"),ro=xa("bum"),pt=xa("um"),DR=xa("sp"),PR=xa("rtg"),LR=xa("rtc");function yR(e,t=Zt){Ul("ec",e,t)}const $h="components",$R="directives";function re(e,t){return kh($h,e,!0,t)||e}const kR=Symbol.for("v-ndc");function UR(e){return kh($R,e)}function kh(e,t,n=!0,a=!1){const s=Yt||Zt;if(s){const r=s.type;if(e===$h){const o=AN(r,!1);if(o&&(o===t||o===jn(t)||o===Ve(jn(t))))return r}const i=kf(s[e]||r[e],t)||kf(s.appContext[e],t);return!i&&a?r:i}}function kf(e,t){return e&&(e[t]||e[jn(t)]||e[Ve(jn(t))])}function Le(e,t,n,a){let s;const r=n,i=we(e);if(i||Mt(e)){const o=i&&pr(e);let u=!1;o&&(u=!Hn(e),e=yl(e)),s=new Array(e.length);for(let l=0,c=e.length;lt(o,u,void 0,r));else{const o=Object.keys(e);s=new Array(o.length);for(let u=0,l=o.length;u$i(t)?!(t.type===En||t.type===_e&&!Uh(t.children)):!0)?e:null}const hd=e=>e?t1(e)?Ml(e):hd(e.parent):null,mi=xt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hd(e.parent),$root:e=>hd(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ZE(e),$forceUpdate:e=>e.f||(e.f=()=>{QE(e.update)}),$nextTick:e=>e.n||(e.n=Tn.bind(e.proxy)),$watch:e=>nN.bind(e)}),gc=(e,t)=>e!==It&&!e.__isScriptSetup&&dt(e,t),wR={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:a,data:s,props:r,accessCache:i,type:o,appContext:u}=e;let l;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return a[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(gc(a,t))return i[t]=1,a[t];if(s!==It&&dt(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&dt(l,t))return i[t]=3,r[t];if(n!==It&&dt(n,t))return i[t]=4,n[t];Sd&&(i[t]=0)}}const c=mi[t];let p,E;if(c)return t==="$attrs"&&nn(e.attrs,"get",""),c(e);if((p=o.__cssModules)&&(p=p[t]))return p;if(n!==It&&dt(n,t))return i[t]=4,n[t];if(E=u.config.globalProperties,dt(E,t))return E[t]},set({_:e},t,n){const{data:a,setupState:s,ctx:r}=e;return gc(s,t)?(s[t]=n,!0):a!==It&&dt(a,t)?(a[t]=n,!0):dt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:s,propsOptions:r}},i){let o;return!!n[i]||e!==It&&dt(e,i)||gc(t,i)||(o=r[0])&&dt(o,i)||dt(a,i)||dt(mi,i)||dt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Uf(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Sd=!0;function MR(e){const t=ZE(e),n=e.proxy,a=e.ctx;Sd=!1,t.beforeCreate&&wf(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:o,provide:u,inject:l,created:c,beforeMount:p,mounted:E,beforeUpdate:f,updated:_,activated:O,deactivated:I,beforeDestroy:g,beforeUnmount:N,destroyed:S,unmounted:A,render:v,renderTracked:y,renderTriggered:P,errorCaptured:C,serverPrefetch:D,expose:z,inheritAttrs:$,components:F,directives:Y,filters:se}=t;if(l&&WR(l,a,null),i)for(const q in i){const oe=i[q];Ye(oe)&&(a[q]=oe.bind(n))}if(s){const q=s.call(n,n);Rt(q)&&(e.data=Qt(q))}if(Sd=!0,r)for(const q in r){const oe=r[q],Z=Ye(oe)?oe.bind(n,n):Ye(oe.get)?oe.get.bind(n,n):_a,Re=!Ye(oe)&&Ye(oe.set)?oe.set.bind(n):_a,ye=M({get:Z,set:Re});Object.defineProperty(a,q,{enumerable:!0,configurable:!0,get:()=>ye.value,set:Me=>ye.value=Me})}if(o)for(const q in o)wh(o[q],a,n,q);if(u){const q=Ye(u)?u.call(n):u;Reflect.ownKeys(q).forEach(oe=>{fn(oe,q[oe])})}c&&wf(c,e,"c");function Q(q,oe){we(oe)?oe.forEach(Z=>q(Z.bind(n))):oe&&q(oe.bind(n))}if(Q(Et,p),Q(St,E),Q(bR,f),Q(CR,_),Q(RR,O),Q(NR,I),Q(yR,C),Q(LR,y),Q(PR,P),Q(ro,N),Q(pt,A),Q(DR,D),we(z))if(z.length){const q=e.exposed||(e.exposed={});z.forEach(oe=>{Object.defineProperty(q,oe,{get:()=>n[oe],set:Z=>n[oe]=Z})})}else e.exposed||(e.exposed={});v&&e.render===_a&&(e.render=v),$!=null&&(e.inheritAttrs=$),F&&(e.components=F),Y&&(e.directives=Y),D&&Lh(e)}function WR(e,t,n=_a){we(e)&&(e=Ad(e));for(const a in e){const s=e[a];let r;Rt(s)?"default"in s?r=Ct(s.from||a,s.default,!0):r=Ct(s.from||a):r=Ct(s),Gt(r)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[a]=r}}function wf(e,t,n){ta(we(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,n)}function wh(e,t,n,a){let s=a.includes(".")?Yh(n,a):()=>n[a];if(Mt(e)){const r=t[e];Ye(r)&&We(s,r)}else if(Ye(e))We(s,e.bind(n));else if(Rt(e))if(we(e))e.forEach(r=>wh(r,t,n,a));else{const r=Ye(e.handler)?e.handler.bind(n):t[e.handler];Ye(r)&&We(s,r,e)}}function ZE(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,o=r.get(t);let u;return o?u=o:!s.length&&!n&&!a?u=t:(u={},s.length&&s.forEach(l=>Iu(u,l,i,!0)),Iu(u,t,i)),Rt(t)&&r.set(t,u),u}function Iu(e,t,n,a=!1){const{mixins:s,extends:r}=t;r&&Iu(e,r,n,!0),s&&s.forEach(i=>Iu(e,i,n,!0));for(const i in t)if(!(a&&i==="expose")){const o=FR[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const FR={data:Mf,props:Wf,emits:Wf,methods:ci,computed:ci,beforeCreate:on,created:on,beforeMount:on,mounted:on,beforeUpdate:on,updated:on,beforeDestroy:on,beforeUnmount:on,destroyed:on,unmounted:on,activated:on,deactivated:on,errorCaptured:on,serverPrefetch:on,components:ci,directives:ci,watch:xR,provide:Mf,inject:zR};function Mf(e,t){return t?e?function(){return xt(Ye(e)?e.call(this,this):e,Ye(t)?t.call(this,this):t)}:t:e}function zR(e,t){return ci(Ad(e),Ad(t))}function Ad(e){if(we(e)){const t={};for(let n=0;n1)return n&&Ye(t)?t.call(a&&a.proxy):t}}const Wh={},Fh=()=>Object.create(Wh),zh=e=>Object.getPrototypeOf(e)===Wh;function HR(e,t,n,a=!1){const s={},r=Fh();e.propsDefaults=Object.create(null),xh(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=a?s:fh(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function VR(e,t,n,a){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,o=ut(s),[u]=e.propsOptions;let l=!1;if((a||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let p=0;p{u=!0;const[E,f]=Bh(p,t,!0);xt(i,E),f&&o.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!u)return Rt(e)&&a.set(e,dr),dr;if(we(r))for(let c=0;ce[0]==="_"||e==="$stable",JE=e=>we(e)?e.map(Ta):[Ta(e)],jR=(e,t,n)=>{if(t._n)return t;const a=ue((...s)=>JE(t(...s)),n);return a._c=!1,a},Hh=(e,t,n)=>{const a=e._ctx;for(const s in e){if(Gh(s))continue;const r=e[s];if(Ye(r))t[s]=jR(s,r,a);else if(r!=null){const i=JE(r);t[s]=()=>i}}},Vh=(e,t)=>{const n=JE(t);e.slots.default=()=>n},Kh=(e,t,n)=>{for(const a in t)(n||a!=="_")&&(e[a]=t[a])},qR=(e,t,n)=>{const a=e.slots=Fh();if(e.vnode.shapeFlag&32){const s=t._;s?(Kh(a,t,n),n&&q0(a,"_",s,!0)):Hh(t,a)}else t&&Vh(e,t)},YR=(e,t,n)=>{const{vnode:a,slots:s}=e;let r=!0,i=It;if(a.shapeFlag&32){const o=t._;o?n&&o===1?r=!1:Kh(s,t,n):(r=!t.$stable,Hh(t,s)),i=t}else t&&(Vh(e,t),i={default:1});if(r)for(const o in s)!Gh(o)&&i[o]==null&&delete s[o]},hn=lN;function XR(e){return QR(e)}function QR(e,t){const n=Ll();n.__VUE__=!0;const{insert:a,remove:s,patchProp:r,createElement:i,createText:o,createComment:u,setText:l,setElementText:c,parentNode:p,nextSibling:E,setScopeId:f=_a,insertStaticContent:_}=e,O=(U,b,G,le=null,ae=null,Ee=null,Ie=void 0,L=null,k=!!b.dynamicChildren)=>{if(U===b)return;U&&!Cs(U,b)&&(le=ne(U),Me(U,ae,Ee,!0),U=null),b.patchFlag===-2&&(k=!1,b.dynamicChildren=null);const{type:x,ref:ce,shapeFlag:Te}=b;switch(x){case io:I(U,b,G,le);break;case En:g(U,b,G,le);break;case au:U==null&&N(b,G,le,Ie);break;case _e:F(U,b,G,le,ae,Ee,Ie,L,k);break;default:Te&1?v(U,b,G,le,ae,Ee,Ie,L,k):Te&6?Y(U,b,G,le,ae,Ee,Ie,L,k):(Te&64||Te&128)&&x.process(U,b,G,le,ae,Ee,Ie,L,k,Pe)}ce!=null&&ae&&_d(ce,U&&U.ref,Ee,b||U,!b)},I=(U,b,G,le)=>{if(U==null)a(b.el=o(b.children),G,le);else{const ae=b.el=U.el;b.children!==U.children&&l(ae,b.children)}},g=(U,b,G,le)=>{U==null?a(b.el=u(b.children||""),G,le):b.el=U.el},N=(U,b,G,le)=>{[U.el,U.anchor]=_(U.children,b,G,le,U.el,U.anchor)},S=({el:U,anchor:b},G,le)=>{let ae;for(;U&&U!==b;)ae=E(U),a(U,G,le),U=ae;a(b,G,le)},A=({el:U,anchor:b})=>{let G;for(;U&&U!==b;)G=E(U),s(U),U=G;s(b)},v=(U,b,G,le,ae,Ee,Ie,L,k)=>{b.type==="svg"?Ie="svg":b.type==="math"&&(Ie="mathml"),U==null?y(b,G,le,ae,Ee,Ie,L,k):D(U,b,ae,Ee,Ie,L,k)},y=(U,b,G,le,ae,Ee,Ie,L)=>{let k,x;const{props:ce,shapeFlag:Te,transition:pe,dirs:V}=U;if(k=U.el=i(U.type,Ee,ce&&ce.is,ce),Te&8?c(k,U.children):Te&16&&C(U.children,k,null,le,ae,Ic(U,Ee),Ie,L),V&&Ss(U,null,le,"created"),P(k,U,U.scopeId,Ie,le),ce){for(const Ue in ce)Ue!=="value"&&!Ei(Ue)&&r(k,Ue,null,ce[Ue],Ee,le);"value"in ce&&r(k,"value",null,ce.value,Ee),(x=ce.onVnodeBeforeMount)&&oa(x,le,U)}V&&Ss(U,null,le,"beforeMount");const te=ZR(ae,pe);te&&pe.beforeEnter(k),a(k,b,G),((x=ce&&ce.onVnodeMounted)||te||V)&&hn(()=>{x&&oa(x,le,U),te&&pe.enter(k),V&&Ss(U,null,le,"mounted")},ae)},P=(U,b,G,le,ae)=>{if(G&&f(U,G),le)for(let Ee=0;Ee{for(let x=k;x{const L=b.el=U.el;let{patchFlag:k,dynamicChildren:x,dirs:ce}=b;k|=U.patchFlag&16;const Te=U.props||It,pe=b.props||It;let V;if(G&&As(G,!1),(V=pe.onVnodeBeforeUpdate)&&oa(V,G,b,U),ce&&Ss(b,U,G,"beforeUpdate"),G&&As(G,!0),(Te.innerHTML&&pe.innerHTML==null||Te.textContent&&pe.textContent==null)&&c(L,""),x?z(U.dynamicChildren,x,L,G,le,Ic(b,ae),Ee):Ie||oe(U,b,L,null,G,le,Ic(b,ae),Ee,!1),k>0){if(k&16)$(L,Te,pe,G,ae);else if(k&2&&Te.class!==pe.class&&r(L,"class",null,pe.class,ae),k&4&&r(L,"style",Te.style,pe.style,ae),k&8){const te=b.dynamicProps;for(let Ue=0;Ue{V&&oa(V,G,b,U),ce&&Ss(b,U,G,"updated")},le)},z=(U,b,G,le,ae,Ee,Ie)=>{for(let L=0;L{if(b!==G){if(b!==It)for(const Ee in b)!Ei(Ee)&&!(Ee in G)&&r(U,Ee,b[Ee],null,ae,le);for(const Ee in G){if(Ei(Ee))continue;const Ie=G[Ee],L=b[Ee];Ie!==L&&Ee!=="value"&&r(U,Ee,L,Ie,ae,le)}"value"in G&&r(U,"value",b.value,G.value,ae)}},F=(U,b,G,le,ae,Ee,Ie,L,k)=>{const x=b.el=U?U.el:o(""),ce=b.anchor=U?U.anchor:o("");let{patchFlag:Te,dynamicChildren:pe,slotScopeIds:V}=b;V&&(L=L?L.concat(V):V),U==null?(a(x,G,le),a(ce,G,le),C(b.children||[],G,ce,ae,Ee,Ie,L,k)):Te>0&&Te&64&&pe&&U.dynamicChildren?(z(U.dynamicChildren,pe,G,ae,Ee,Ie,L),(b.key!=null||ae&&b===ae.subTree)&&ep(U,b,!0)):oe(U,b,G,ce,ae,Ee,Ie,L,k)},Y=(U,b,G,le,ae,Ee,Ie,L,k)=>{b.slotScopeIds=L,U==null?b.shapeFlag&512?ae.ctx.activate(b,G,le,Ie,k):se(b,G,le,ae,Ee,Ie,k):B(U,b,k)},se=(U,b,G,le,ae,Ee,Ie)=>{const L=U.component=TN(U,le,ae);if(kl(U)&&(L.ctx.renderer=Pe),mN(L,!1,Ie),L.asyncDep){if(ae&&ae.registerDep(L,Q,Ie),!U.el){const k=L.subTree=W(En);g(null,k,b,G)}}else Q(L,U,b,G,ae,Ee,Ie)},B=(U,b,G)=>{const le=b.component=U.component;if(oN(U,b,G))if(le.asyncDep&&!le.asyncResolved){q(le,b,G);return}else le.next=b,le.update();else b.el=U.el,le.vnode=b},Q=(U,b,G,le,ae,Ee,Ie)=>{const L=()=>{if(U.isMounted){let{next:Te,bu:pe,u:V,parent:te,vnode:Ue}=U;{const sn=jh(U);if(sn){Te&&(Te.el=Ue.el,q(U,Te,Ie)),sn.asyncDep.then(()=>{U.isUnmounted||L()});return}}let ze=Te,kt;As(U,!1),Te?(Te.el=Ue.el,q(U,Te,Ie)):Te=Ue,pe&&tu(pe),(kt=Te.props&&Te.props.onVnodeBeforeUpdate)&&oa(kt,te,Te,Ue),As(U,!0);const Wt=Rc(U),Kt=U.subTree;U.subTree=Wt,O(Kt,Wt,p(Kt.el),ne(Kt),U,ae,Ee),Te.el=Wt.el,ze===null&&uN(U,Wt.el),V&&hn(V,ae),(kt=Te.props&&Te.props.onVnodeUpdated)&&hn(()=>oa(kt,te,Te,Ue),ae)}else{let Te;const{el:pe,props:V}=b,{bm:te,m:Ue,parent:ze,root:kt,type:Wt}=U,Kt=Tr(b);if(As(U,!1),te&&tu(te),!Kt&&(Te=V&&V.onVnodeBeforeMount)&&oa(Te,ze,b),As(U,!0),pe&&ft){const sn=()=>{U.subTree=Rc(U),ft(pe,U.subTree,U,ae,null)};Kt&&Wt.__asyncHydrate?Wt.__asyncHydrate(pe,U,sn):sn()}else{kt.ce&&kt.ce._injectChildStyle(Wt);const sn=U.subTree=Rc(U);O(null,sn,G,le,U,ae,Ee),b.el=sn.el}if(Ue&&hn(Ue,ae),!Kt&&(Te=V&&V.onVnodeMounted)){const sn=b;hn(()=>oa(Te,ze,sn),ae)}(b.shapeFlag&256||ze&&Tr(ze.vnode)&&ze.vnode.shapeFlag&256)&&U.a&&hn(U.a,ae),U.isMounted=!0,b=G=le=null}};U.scope.on();const k=U.effect=new eh(L);U.scope.off();const x=U.update=k.run.bind(k),ce=U.job=k.runIfDirty.bind(k);ce.i=U,ce.id=U.uid,k.scheduler=()=>QE(ce),As(U,!0),x()},q=(U,b,G)=>{b.component=U;const le=U.vnode.props;U.vnode=b,U.next=null,VR(U,b.props,le,G),YR(U,b.children,G),Es(),Pf(U),ps()},oe=(U,b,G,le,ae,Ee,Ie,L,k=!1)=>{const x=U&&U.children,ce=U?U.shapeFlag:0,Te=b.children,{patchFlag:pe,shapeFlag:V}=b;if(pe>0){if(pe&128){Re(x,Te,G,le,ae,Ee,Ie,L,k);return}else if(pe&256){Z(x,Te,G,le,ae,Ee,Ie,L,k);return}}V&8?(ce&16&&Nt(x,ae,Ee),Te!==x&&c(G,Te)):ce&16?V&16?Re(x,Te,G,le,ae,Ee,Ie,L,k):Nt(x,ae,Ee,!0):(ce&8&&c(G,""),V&16&&C(Te,G,le,ae,Ee,Ie,L,k))},Z=(U,b,G,le,ae,Ee,Ie,L,k)=>{U=U||dr,b=b||dr;const x=U.length,ce=b.length,Te=Math.min(x,ce);let pe;for(pe=0;pece?Nt(U,ae,Ee,!0,!1,Te):C(b,G,le,ae,Ee,Ie,L,k,Te)},Re=(U,b,G,le,ae,Ee,Ie,L,k)=>{let x=0;const ce=b.length;let Te=U.length-1,pe=ce-1;for(;x<=Te&&x<=pe;){const V=U[x],te=b[x]=k?Ja(b[x]):Ta(b[x]);if(Cs(V,te))O(V,te,G,null,ae,Ee,Ie,L,k);else break;x++}for(;x<=Te&&x<=pe;){const V=U[Te],te=b[pe]=k?Ja(b[pe]):Ta(b[pe]);if(Cs(V,te))O(V,te,G,null,ae,Ee,Ie,L,k);else break;Te--,pe--}if(x>Te){if(x<=pe){const V=pe+1,te=Vpe)for(;x<=Te;)Me(U[x],ae,Ee,!0),x++;else{const V=x,te=x,Ue=new Map;for(x=te;x<=pe;x++){const Dn=b[x]=k?Ja(b[x]):Ta(b[x]);Dn.key!=null&&Ue.set(Dn.key,x)}let ze,kt=0;const Wt=pe-te+1;let Kt=!1,sn=0;const Ys=new Array(Wt);for(x=0;x=Wt){Me(Dn,ae,Ee,!0);continue}let ia;if(Dn.key!=null)ia=Ue.get(Dn.key);else for(ze=te;ze<=pe;ze++)if(Ys[ze-te]===0&&Cs(Dn,b[ze])){ia=ze;break}ia===void 0?Me(Dn,ae,Ee,!0):(Ys[ia-te]=x+1,ia>=sn?sn=ia:Kt=!0,O(Dn,b[ia],G,null,ae,Ee,Ie,L,k),kt++)}const Rf=Kt?JR(Ys):dr;for(ze=Rf.length-1,x=Wt-1;x>=0;x--){const Dn=te+x,ia=b[Dn],Nf=Dn+1{const{el:Ee,type:Ie,transition:L,children:k,shapeFlag:x}=U;if(x&6){ye(U.component.subTree,b,G,le);return}if(x&128){U.suspense.move(b,G,le);return}if(x&64){Ie.move(U,b,G,Pe);return}if(Ie===_e){a(Ee,b,G);for(let Te=0;TeL.enter(Ee),ae);else{const{leave:Te,delayLeave:pe,afterLeave:V}=L,te=()=>a(Ee,b,G),Ue=()=>{Te(Ee,()=>{te(),V&&V()})};pe?pe(Ee,te,Ue):Ue()}else a(Ee,b,G)},Me=(U,b,G,le=!1,ae=!1)=>{const{type:Ee,props:Ie,ref:L,children:k,dynamicChildren:x,shapeFlag:ce,patchFlag:Te,dirs:pe,cacheIndex:V}=U;if(Te===-2&&(ae=!1),L!=null&&_d(L,null,G,U,!0),V!=null&&(b.renderCache[V]=void 0),ce&256){b.ctx.deactivate(U);return}const te=ce&1&&pe,Ue=!Tr(U);let ze;if(Ue&&(ze=Ie&&Ie.onVnodeBeforeUnmount)&&oa(ze,b,U),ce&6)ve(U.component,G,le);else{if(ce&128){U.suspense.unmount(G,le);return}te&&Ss(U,null,b,"beforeUnmount"),ce&64?U.type.remove(U,b,G,Pe,le):x&&!x.hasOnce&&(Ee!==_e||Te>0&&Te&64)?Nt(x,b,G,!1,!0):(Ee===_e&&Te&384||!ae&&ce&16)&&Nt(k,b,G),le&&Vt(U)}(Ue&&(ze=Ie&&Ie.onVnodeUnmounted)||te)&&hn(()=>{ze&&oa(ze,b,U),te&&Ss(U,null,b,"unmounted")},G)},Vt=U=>{const{type:b,el:G,anchor:le,transition:ae}=U;if(b===_e){je(G,le);return}if(b===au){A(U);return}const Ee=()=>{s(G),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(U.shapeFlag&1&&ae&&!ae.persisted){const{leave:Ie,delayLeave:L}=ae,k=()=>Ie(G,Ee);L?L(U.el,Ee,k):k()}else Ee()},je=(U,b)=>{let G;for(;U!==b;)G=E(U),s(U),U=G;s(b)},ve=(U,b,G)=>{const{bum:le,scope:ae,job:Ee,subTree:Ie,um:L,m:k,a:x}=U;zf(k),zf(x),le&&tu(le),ae.stop(),Ee&&(Ee.flags|=8,Me(Ie,U,b,G)),L&&hn(L,b),hn(()=>{U.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Nt=(U,b,G,le=!1,ae=!1,Ee=0)=>{for(let Ie=Ee;Ie{if(U.shapeFlag&6)return ne(U.component.subTree);if(U.shapeFlag&128)return U.suspense.next();const b=E(U.anchor||U.el),G=b&&b[Ih];return G?E(G):b};let Se=!1;const Oe=(U,b,G)=>{U==null?b._vnode&&Me(b._vnode,null,null,!0):O(b._vnode||null,U,b,null,null,null,G),b._vnode=U,Se||(Se=!0,Pf(),Ah(),Se=!1)},Pe={p:O,um:Me,m:ye,r:Vt,mt:se,mc:C,pc:oe,pbc:z,n:ne,o:e};let it,ft;return{render:Oe,hydrate:it,createApp:GR(Oe,it)}}function Ic({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function As({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ZR(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ep(e,t,n=!1){const a=e.children,s=t.children;if(we(a)&&we(s))for(let r=0;r>1,e[n[o]]0&&(t[a]=n[r-1]),n[r]=a)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function jh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jh(t)}function zf(e){if(e)for(let t=0;tCt(eN);function We(e,t,n){return qh(e,t,n)}function qh(e,t,n=It){const{immediate:a,deep:s,flush:r,once:i}=n,o=xt({},n),u=t&&a||!t&&r!=="post";let l;if(ki){if(r==="sync"){const f=tN();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=_a,f.resume=_a,f.pause=_a,f}}const c=Zt;o.call=(f,_,O)=>ta(f,c,_,O);let p=!1;r==="post"?o.scheduler=f=>{hn(f,c&&c.suspense)}:r!=="sync"&&(p=!0,o.scheduler=(f,_)=>{_?f():QE(f)}),o.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const E=pR(e,t,o);return ki&&(l?l.push(E):u&&E()),E}function nN(e,t,n){const a=this.proxy,s=Mt(e)?e.includes(".")?Yh(a,e):()=>a[e]:e.bind(a,a);let r;Ye(t)?r=t:(r=t.handler,n=t);const i=oo(this),o=qh(s,r.bind(a),n);return i(),o}function Yh(e,t){const n=t.split(".");return()=>{let a=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jn(t)}Modifiers`]||e[`${ds(t)}Modifiers`];function sN(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||It;let s=n;const r=t.startsWith("update:"),i=r&&aN(a,t.slice(7));i&&(i.trim&&(s=n.map(c=>Mt(c)?c.trim():c)),i.number&&(s=n.map(hu)));let o,u=a[o=mc(t)]||a[o=mc(jn(t))];!u&&r&&(u=a[o=mc(ds(t))]),u&&ta(u,e,6,s);const l=a[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,ta(l,e,6,s)}}function Xh(e,t,n=!1){const a=t.emitsCache,s=a.get(e);if(s!==void 0)return s;const r=e.emits;let i={},o=!1;if(!Ye(e)){const u=l=>{const c=Xh(l,t,!0);c&&(o=!0,xt(i,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!o?(Rt(e)&&a.set(e,null),null):(we(r)?r.forEach(u=>i[u]=null):xt(i,r),Rt(e)&&a.set(e,i),i)}function wl(e,t){return!e||!Dl(t)?!1:(t=t.slice(2).replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,ds(t))||dt(e,t))}function Rc(e){const{type:t,vnode:n,proxy:a,withProxy:s,propsOptions:[r],slots:i,attrs:o,emit:u,render:l,renderCache:c,props:p,data:E,setupState:f,ctx:_,inheritAttrs:O}=e,I=gu(e);let g,N;try{if(n.shapeFlag&4){const A=s||a,v=A;g=Ta(l.call(v,A,c,p,f,E,_)),N=o}else{const A=t;g=Ta(A.length>1?A(p,{attrs:o,slots:i,emit:u}):A(p,null)),N=t.props?o:rN(o)}}catch(A){_i.length=0,$l(A,e,1),g=W(En)}let S=g;if(N&&O!==!1){const A=Object.keys(N),{shapeFlag:v}=S;A.length&&v&7&&(r&&A.some(xE)&&(N=iN(N,r)),S=us(S,N,!1,!0))}return n.dirs&&(S=us(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&Li(S,n.transition),g=S,gu(I),g}const rN=e=>{let t;for(const n in e)(n==="class"||n==="style"||Dl(n))&&((t||(t={}))[n]=e[n]);return t},iN=(e,t)=>{const n={};for(const a in e)(!xE(a)||!(a.slice(9)in t))&&(n[a]=e[a]);return n};function oN(e,t,n){const{props:a,children:s,component:r}=e,{props:i,children:o,patchFlag:u}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return a?xf(a,i,l):!!i;if(u&8){const c=t.dynamicProps;for(let p=0;pe.__isSuspense;function lN(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):mR(e)}const _e=Symbol.for("v-fgt"),io=Symbol.for("v-txt"),En=Symbol.for("v-cmt"),au=Symbol.for("v-stc"),_i=[];let wn=null;function h(e=!1){_i.push(wn=e?null:[])}function cN(){_i.pop(),wn=_i[_i.length-1]||null}let yi=1;function Bf(e){yi+=e,e<0&&wn&&(wn.hasOnce=!0)}function Zh(e){return e.dynamicChildren=yi>0?wn||dr:null,cN(),yi>0&&wn&&wn.push(e),e}function R(e,t,n,a,s,r){return Zh(d(e,t,n,a,s,r,!0))}function j(e,t,n,a,s){return Zh(W(e,t,n,a,s,!0))}function $i(e){return e?e.__v_isVNode===!0:!1}function Cs(e,t){return e.type===t.type&&e.key===t.key}const Jh=({key:e})=>e??null,su=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Mt(e)||Gt(e)||Ye(e)?{i:Yt,r:e,k:t,f:!!n}:e:null);function d(e,t=null,n=null,a=0,s=null,r=e===_e?0:1,i=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jh(t),ref:t&&su(t),scopeId:gh,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Yt};return o?(tp(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=Mt(n)?8:16),yi>0&&!i&&wn&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&wn.push(u),u}const W=dN;function dN(e,t=null,n=null,a=0,s=null,r=!1){if((!e||e===kR)&&(e=En),$i(e)){const o=us(e,t,!0);return n&&tp(o,n),yi>0&&!r&&wn&&(o.shapeFlag&6?wn[wn.indexOf(e)]=o:wn.push(o)),o.patchFlag=-2,o}if(ON(e)&&(e=e.__vccOpts),t){t=EN(t);let{class:o,style:u}=t;o&&!Mt(o)&&(t.class=me(o)),Rt(u)&&(no(u)&&!we(u)&&(u=xt({},u)),t.style=Fa(u))}const i=Mt(e)?1:Qh(e)?128:Rh(e)?64:Rt(e)?4:Ye(e)?2:0;return d(e,t,n,a,s,i,r,!0)}function EN(e){return e?no(e)||zh(e)?xt({},e):e:null}function us(e,t,n=!1,a=!1){const{props:s,ref:r,patchFlag:i,children:o,transition:u}=e,l=t?e1(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jh(l),ref:t&&t.ref?n&&r?we(r)?r.concat(su(t)):[r,su(t)]:su(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&us(e.ssContent),ssFallback:e.ssFallback&&us(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&a&&Li(c,u.clone(c)),c}function H(e=" ",t=0){return W(io,null,e,t)}function vn(e,t){const n=W(au,null,e);return n.staticCount=t,n}function w(e="",t=!1){return t?(h(),j(En,null,e)):W(En,null,e)}function Ta(e){return e==null||typeof e=="boolean"?W(En):we(e)?W(_e,null,e.slice()):$i(e)?Ja(e):W(io,null,String(e))}function Ja(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:us(e)}function tp(e,t){let n=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(a&65){const s=t.default;s&&(s._c&&(s._d=!1),tp(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!zh(t)?t._ctx=Yt:s===3&&Yt&&(Yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ye(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),a&64?(n=16,t=[H(t)]):n=8);e.children=t,e.shapeFlag|=n}function e1(...e){const t={};for(let n=0;nZt||Yt;let Ru,gd;{const e=Ll(),t=(n,a)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(a),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};Ru=t("__VUE_INSTANCE_SETTERS__",n=>Zt=n),gd=t("__VUE_SSR_SETTERS__",n=>ki=n)}const oo=e=>{const t=Zt;return Ru(e),e.scope.on(),()=>{e.scope.off(),Ru(t)}},Gf=()=>{Zt&&Zt.scope.off(),Ru(null)};function t1(e){return e.vnode.shapeFlag&4}let ki=!1;function mN(e,t=!1,n=!1){t&&gd(t);const{props:a,children:s}=e.vnode,r=t1(e);HR(e,a,r,t),qR(e,s,n);const i=r?_N(e,t):void 0;return t&&gd(!1),i}function _N(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wR);const{setup:a}=n;if(a){Es();const s=e.setupContext=a.length>1?SN(e):null,r=oo(e),i=so(a,e,0,[e.props,s]),o=V0(i);if(ps(),r(),(o||e.sp)&&!Tr(e)&&Lh(e),o){if(i.then(Gf,Gf),t)return i.then(u=>{Hf(e,u,t)}).catch(u=>{$l(u,e,0)});e.asyncDep=i}else Hf(e,i,t)}else n1(e,t)}function Hf(e,t,n){Ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Rt(t)&&(e.setupState=_h(t)),n1(e,n)}let Vf;function n1(e,t,n){const a=e.type;if(!e.render){if(!t&&Vf&&!a.render){const s=a.template||ZE(e).template;if(s){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:u}=a,l=xt(xt({isCustomElement:r,delimiters:o},i),u);a.render=Vf(s,l)}}e.render=a.render||_a}{const s=oo(e);Es();try{MR(e)}finally{ps(),s()}}}const hN={get(e,t){return nn(e,"get",""),e[t]}};function SN(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,hN),slots:e.slots,emit:e.emit,expose:t}}function Ml(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_h(za(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mi)return mi[n](e)},has(t,n){return n in t||n in mi}})):e.proxy}function AN(e,t=!0){return Ye(e)?e.displayName||e.name:e.name||t&&e.__name}function ON(e){return Ye(e)&&"__vccOpts"in e}const M=(e,t)=>dR(e,t,ki);function Nn(e,t,n){const a=arguments.length;return a===2?Rt(t)&&!we(t)?$i(t)?W(e,null,[t]):W(e,t):W(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&$i(n)&&(n=[n]),W(e,t,n))}const a1="3.5.12";/** -* @vue/runtime-dom v3.5.12 +**/function so(e,t,n,a){try{return a?e(...a):e()}catch(s){kl(s,t,n)}}function ta(e,t,n,a){if(Ye(e)){const s=so(e,t,n,a);return s&&K0(s)&&s.catch(r=>{kl(r,t,n)}),s}if(we(e)){const s=[];for(let r=0;r>>1,s=dn[a],r=Pi(s);r=Pi(n)?dn.push(e):dn.splice(mR(t),0,e),e.flags|=1,Ah()}}function Ah(){Ou||(Ou=Sh.then(gh))}function _R(e){we(e)?fr.push(...e):Qa&&e.id===-1?Qa.splice(rr+1,0,e):e.flags&1||(fr.push(e),e.flags|=1),Ah()}function Df(e,t,n=da+1){for(;nPi(n)-Pi(a));if(fr.length=0,Qa){Qa.push(...t);return}for(Qa=t,rr=0;rre.id==null?e.flags&2?-1:1/0:e.id;function gh(e){try{for(da=0;da{a._d&&Bf(-1);const r=gu(t);let i;try{i=e(...s)}finally{gu(r),a._d&&Bf(1)}return i};return a._n=!0,a._c=!0,a._d=!0,a}function $e(e,t){if(Yt===null)return e;const n=Wl(Yt),a=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Ti=e=>e&&(e.disabled||e.disabled===""),Pf=e=>e&&(e.defer||e.defer===""),Lf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,yf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,md=(e,t)=>{const n=e&&e.to;return Mt(n)?t?t(n):null:n},vh={name:"Teleport",__isTeleport:!0,process(e,t,n,a,s,r,i,o,u,l){const{mc:c,pc:p,pbc:E,o:{insert:f,querySelector:_,createText:O,createComment:R}}=l,g=Ti(t.props);let{shapeFlag:N,children:S,dynamicChildren:A}=t;if(e==null){const v=t.el=O(""),y=t.anchor=O("");f(v,n,a),f(y,n,a);const P=(D,z)=>{N&16&&(s&&s.isCE&&(s.ce._teleportTarget=D),c(S,D,z,s,r,i,o,u))},C=()=>{const D=t.target=md(t.props,_),z=bh(D,t,O,f);D&&(i!=="svg"&&Lf(D)?i="svg":i!=="mathml"&&yf(D)&&(i="mathml"),g||(P(D,z),nu(t,!1)))};g&&(P(n,y),nu(t,!0)),Pf(t.props)?cn(()=>{C(),t.el.__isMounted=!0},r):C()}else{if(Pf(t.props)&&!e.el.__isMounted){cn(()=>{vh.process(e,t,n,a,s,r,i,o,u,l),delete e.el.__isMounted},r);return}t.el=e.el,t.targetStart=e.targetStart;const v=t.anchor=e.anchor,y=t.target=e.target,P=t.targetAnchor=e.targetAnchor,C=Ti(e.props),D=C?n:y,z=C?v:P;if(i==="svg"||Lf(y)?i="svg":(i==="mathml"||yf(y))&&(i="mathml"),A?(E(e.dynamicChildren,A,D,s,r,i,o),ep(e,t,!0)):u||p(e,t,D,z,s,r,i,o,!1),g)C?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Do(t,n,v,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=md(t.props,_);$&&Do(t,$,null,l,0)}else C&&Do(t,y,P,l,1);nu(t,g)}},remove(e,t,n,{um:a,o:{remove:s}},r){const{shapeFlag:i,children:o,anchor:u,targetStart:l,targetAnchor:c,target:p,props:E}=e;if(p&&(s(l),s(c)),r&&s(u),i&16){const f=r||!Ti(E);for(let _=0;_{e.isMounted=!0}),ro(()=>{e.isUnmounting=!0}),e}const Wn=[Function,Array],Ch={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wn,onEnter:Wn,onAfterEnter:Wn,onEnterCancelled:Wn,onBeforeLeave:Wn,onLeave:Wn,onAfterLeave:Wn,onLeaveCancelled:Wn,onBeforeAppear:Wn,onAppear:Wn,onAfterAppear:Wn,onAppearCancelled:Wn},Dh=e=>{const t=e.subTree;return t.component?Dh(t.component):t},OR={name:"BaseTransition",props:Ch,setup(e,{slots:t}){const n=Ar(),a=AR();return()=>{const s=t.default&&yh(t.default(),!0);if(!s||!s.length)return;const r=Ph(s),i=ut(e),{mode:o}=i;if(a.isLeaving)return gc(r);const u=$f(r);if(!u)return gc(r);let l=_d(u,i,a,n,p=>l=p);u.type!==pn&&Li(u,l);let c=n.subTree&&$f(n.subTree);if(c&&c.type!==pn&&!Cs(u,c)&&Dh(n).type!==pn){let p=_d(c,i,a,n);if(Li(c,p),o==="out-in"&&u.type!==pn)return a.isLeaving=!0,p.afterLeave=()=>{a.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,c=void 0},gc(r);o==="in-out"&&u.type!==pn?p.delayLeave=(E,f,_)=>{const O=Lh(a,c);O[String(c.key)]=c,E[Za]=()=>{f(),E[Za]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{_(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function Ph(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==pn){t=n;break}}return t}const gR=OR;function Lh(e,t){const{leavingVNodes:n}=e;let a=n.get(t.type);return a||(a=Object.create(null),n.set(t.type,a)),a}function _d(e,t,n,a,s){const{appear:r,mode:i,persisted:o=!1,onBeforeEnter:u,onEnter:l,onAfterEnter:c,onEnterCancelled:p,onBeforeLeave:E,onLeave:f,onAfterLeave:_,onLeaveCancelled:O,onBeforeAppear:R,onAppear:g,onAfterAppear:N,onAppearCancelled:S}=t,A=String(e.key),v=Lh(n,e),y=(D,z)=>{D&&ta(D,a,9,z)},P=(D,z)=>{const $=z[1];y(D,z),we(D)?D.every(F=>F.length<=1)&&$():D.length<=1&&$()},C={mode:i,persisted:o,beforeEnter(D){let z=u;if(!n.isMounted)if(r)z=R||u;else return;D[Za]&&D[Za](!0);const $=v[A];$&&Cs(e,$)&&$.el[Za]&&$.el[Za](),y(z,[D])},enter(D){let z=l,$=c,F=p;if(!n.isMounted)if(r)z=g||l,$=N||c,F=S||p;else return;let Y=!1;const se=D[Po]=B=>{Y||(Y=!0,B?y(F,[D]):y($,[D]),C.delayedLeave&&C.delayedLeave(),D[Po]=void 0)};z?P(z,[D,se]):se()},leave(D,z){const $=String(e.key);if(D[Po]&&D[Po](!0),n.isUnmounting)return z();y(E,[D]);let F=!1;const Y=D[Za]=se=>{F||(F=!0,z(),se?y(O,[D]):y(_,[D]),D[Za]=void 0,v[$]===e&&delete v[$])};v[$]=e,f?P(f,[D,Y]):Y()},clone(D){const z=_d(D,t,n,a,s);return s&&s(z),z}};return C}function gc(e){if(Ul(e))return e=us(e),e.children=null,e}function $f(e){if(!Ul(e))return Nh(e.type)&&e.children?Ph(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ye(n.default))return n.default()}}function Li(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Li(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function yh(e,t=!1,n){let a=[],s=0;for(let r=0;r1)for(let r=0;rIu(_,t&&(we(t)?t[O]:t),n,a,s));return}if(Tr(a)&&!s){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Iu(e,t,n,a.component.subTree);return}const r=a.shapeFlag&4?Wl(a.component):a.el,i=s?null:r,{i:o,r:u}=e,l=t&&t.r,c=o.refs===It?o.refs={}:o.refs,p=o.setupState,E=ut(p),f=p===It?()=>!1:_=>dt(E,_);if(l!=null&&l!==u&&(Mt(l)?(c[l]=null,f(l)&&(p[l]=null)):Gt(l)&&(l.value=null)),Ye(u))so(u,o,12,[i,c]);else{const _=Mt(u),O=Gt(u);if(_||O){const R=()=>{if(e.f){const g=_?f(u)?p[u]:c[u]:u.value;s?we(g)&&BE(g,r):we(g)?g.includes(r)||g.push(r):_?(c[u]=[r],f(u)&&(p[u]=c[u])):(u.value=[r],e.k&&(c[e.k]=u.value))}else _?(c[u]=i,f(u)&&(p[u]=i)):O&&(u.value=i,e.k&&(c[e.k]=i))};i?(R.id=-1,cn(R,n)):R()}}}yl().requestIdleCallback;yl().cancelIdleCallback;const Tr=e=>!!e.type.__asyncLoader,Ul=e=>e.type.__isKeepAlive;function IR(e,t){kh(e,"a",t)}function RR(e,t){kh(e,"da",t)}function kh(e,t,n=Zt){const a=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(wl(t,a,n),n){let s=n.parent;for(;s&&s.parent;)Ul(s.parent.vnode)&&NR(a,t,n,s),s=s.parent}}function NR(e,t,n,a){const s=wl(t,e,a,!0);pt(()=>{BE(a[t],s)},n)}function wl(e,t,n=Zt,a=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{Es();const o=oo(n),u=ta(t,n,e,i);return o(),ps(),u});return a?s.unshift(r):s.push(r),r}}const Ba=e=>(t,n=Zt)=>{(!ki||e==="sp")&&wl(e,(...a)=>t(...a),n)},Et=Ba("bm"),St=Ba("m"),vR=Ba("bu"),bR=Ba("u"),ro=Ba("bum"),pt=Ba("um"),CR=Ba("sp"),DR=Ba("rtg"),PR=Ba("rtc");function LR(e,t=Zt){wl("ec",e,t)}const Uh="components",yR="directives";function re(e,t){return wh(Uh,e,!0,t)||e}const $R=Symbol.for("v-ndc");function kR(e){return wh(yR,e)}function wh(e,t,n=!0,a=!1){const s=Yt||Zt;if(s){const r=s.type;if(e===Uh){const o=SN(r,!1);if(o&&(o===t||o===jn(t)||o===Ve(jn(t))))return r}const i=kf(s[e]||r[e],t)||kf(s.appContext[e],t);return!i&&a?r:i}}function kf(e,t){return e&&(e[t]||e[jn(t)]||e[Ve(jn(t))])}function Le(e,t,n,a){let s;const r=n,i=we(e);if(i||Mt(e)){const o=i&&pr(e);let u=!1;o&&(u=!Hn(e),e=$l(e)),s=new Array(e.length);for(let l=0,c=e.length;lt(o,u,void 0,r));else{const o=Object.keys(e);s=new Array(o.length);for(let u=0,l=o.length;u$i(t)?!(t.type===pn||t.type===_e&&!Mh(t.children)):!0)?e:null}const hd=e=>e?a1(e)?Wl(e):hd(e.parent):null,mi=xt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>hd(e.parent),$root:e=>hd(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ZE(e),$forceUpdate:e=>e.f||(e.f=()=>{QE(e.update)}),$nextTick:e=>e.n||(e.n=mn.bind(e.proxy)),$watch:e=>tN.bind(e)}),Ic=(e,t)=>e!==It&&!e.__isScriptSetup&&dt(e,t),UR={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:a,data:s,props:r,accessCache:i,type:o,appContext:u}=e;let l;if(t[0]!=="$"){const f=i[t];if(f!==void 0)switch(f){case 1:return a[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Ic(a,t))return i[t]=1,a[t];if(s!==It&&dt(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&dt(l,t))return i[t]=3,r[t];if(n!==It&&dt(n,t))return i[t]=4,n[t];Sd&&(i[t]=0)}}const c=mi[t];let p,E;if(c)return t==="$attrs"&&nn(e.attrs,"get",""),c(e);if((p=o.__cssModules)&&(p=p[t]))return p;if(n!==It&&dt(n,t))return i[t]=4,n[t];if(E=u.config.globalProperties,dt(E,t))return E[t]},set({_:e},t,n){const{data:a,setupState:s,ctx:r}=e;return Ic(s,t)?(s[t]=n,!0):a!==It&&dt(a,t)?(a[t]=n,!0):dt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:s,propsOptions:r}},i){let o;return!!n[i]||e!==It&&dt(e,i)||Ic(t,i)||(o=r[0])&&dt(o,i)||dt(a,i)||dt(mi,i)||dt(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Uf(e){return we(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Sd=!0;function wR(e){const t=ZE(e),n=e.proxy,a=e.ctx;Sd=!1,t.beforeCreate&&wf(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:o,provide:u,inject:l,created:c,beforeMount:p,mounted:E,beforeUpdate:f,updated:_,activated:O,deactivated:R,beforeDestroy:g,beforeUnmount:N,destroyed:S,unmounted:A,render:v,renderTracked:y,renderTriggered:P,errorCaptured:C,serverPrefetch:D,expose:z,inheritAttrs:$,components:F,directives:Y,filters:se}=t;if(l&&MR(l,a,null),i)for(const q in i){const oe=i[q];Ye(oe)&&(a[q]=oe.bind(n))}if(s){const q=s.call(n,n);Rt(q)&&(e.data=Qt(q))}if(Sd=!0,r)for(const q in r){const oe=r[q],Z=Ye(oe)?oe.bind(n,n):Ye(oe.get)?oe.get.bind(n,n):_a,Re=!Ye(oe)&&Ye(oe.set)?oe.set.bind(n):_a,ye=M({get:Z,set:Re});Object.defineProperty(a,q,{enumerable:!0,configurable:!0,get:()=>ye.value,set:Me=>ye.value=Me})}if(o)for(const q in o)Wh(o[q],a,n,q);if(u){const q=Ye(u)?u.call(n):u;Reflect.ownKeys(q).forEach(oe=>{Tn(oe,q[oe])})}c&&wf(c,e,"c");function Q(q,oe){we(oe)?oe.forEach(Z=>q(Z.bind(n))):oe&&q(oe.bind(n))}if(Q(Et,p),Q(St,E),Q(vR,f),Q(bR,_),Q(IR,O),Q(RR,R),Q(LR,C),Q(PR,y),Q(DR,P),Q(ro,N),Q(pt,A),Q(CR,D),we(z))if(z.length){const q=e.exposed||(e.exposed={});z.forEach(oe=>{Object.defineProperty(q,oe,{get:()=>n[oe],set:Z=>n[oe]=Z})})}else e.exposed||(e.exposed={});v&&e.render===_a&&(e.render=v),$!=null&&(e.inheritAttrs=$),F&&(e.components=F),Y&&(e.directives=Y),D&&$h(e)}function MR(e,t,n=_a){we(e)&&(e=Ad(e));for(const a in e){const s=e[a];let r;Rt(s)?"default"in s?r=Ct(s.from||a,s.default,!0):r=Ct(s.from||a):r=Ct(s),Gt(r)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[a]=r}}function wf(e,t,n){ta(we(e)?e.map(a=>a.bind(t.proxy)):e.bind(t.proxy),t,n)}function Wh(e,t,n,a){let s=a.includes(".")?Qh(n,a):()=>n[a];if(Mt(e)){const r=t[e];Ye(r)&&We(s,r)}else if(Ye(e))We(s,e.bind(n));else if(Rt(e))if(we(e))e.forEach(r=>Wh(r,t,n,a));else{const r=Ye(e.handler)?e.handler.bind(n):t[e.handler];Ye(r)&&We(s,r,e)}}function ZE(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,o=r.get(t);let u;return o?u=o:!s.length&&!n&&!a?u=t:(u={},s.length&&s.forEach(l=>Ru(u,l,i,!0)),Ru(u,t,i)),Rt(t)&&r.set(t,u),u}function Ru(e,t,n,a=!1){const{mixins:s,extends:r}=t;r&&Ru(e,r,n,!0),s&&s.forEach(i=>Ru(e,i,n,!0));for(const i in t)if(!(a&&i==="expose")){const o=WR[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const WR={data:Mf,props:Wf,emits:Wf,methods:ci,computed:ci,beforeCreate:on,created:on,beforeMount:on,mounted:on,beforeUpdate:on,updated:on,beforeDestroy:on,beforeUnmount:on,destroyed:on,unmounted:on,activated:on,deactivated:on,errorCaptured:on,serverPrefetch:on,components:ci,directives:ci,watch:zR,provide:Mf,inject:FR};function Mf(e,t){return t?e?function(){return xt(Ye(e)?e.call(this,this):e,Ye(t)?t.call(this,this):t)}:t:e}function FR(e,t){return ci(Ad(e),Ad(t))}function Ad(e){if(we(e)){const t={};for(let n=0;n1)return n&&Ye(t)?t.call(a&&a.proxy):t}}const zh={},xh=()=>Object.create(zh),Bh=e=>Object.getPrototypeOf(e)===zh;function GR(e,t,n,a=!1){const s={},r=xh();e.propsDefaults=Object.create(null),Gh(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=a?s:Th(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function HR(e,t,n,a){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,o=ut(s),[u]=e.propsOptions;let l=!1;if((a||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let p=0;p{u=!0;const[E,f]=Hh(p,t,!0);xt(i,E),f&&o.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!u)return Rt(e)&&a.set(e,dr),dr;if(we(r))for(let c=0;ce[0]==="_"||e==="$stable",JE=e=>we(e)?e.map(Ta):[Ta(e)],KR=(e,t,n)=>{if(t._n)return t;const a=ue((...s)=>JE(t(...s)),n);return a._c=!1,a},Kh=(e,t,n)=>{const a=e._ctx;for(const s in e){if(Vh(s))continue;const r=e[s];if(Ye(r))t[s]=KR(s,r,a);else if(r!=null){const i=JE(r);t[s]=()=>i}}},jh=(e,t)=>{const n=JE(t);e.slots.default=()=>n},qh=(e,t,n)=>{for(const a in t)(n||a!=="_")&&(e[a]=t[a])},jR=(e,t,n)=>{const a=e.slots=xh();if(e.vnode.shapeFlag&32){const s=t._;s?(qh(a,t,n),n&&Y0(a,"_",s,!0)):Kh(t,a)}else t&&jh(e,t)},qR=(e,t,n)=>{const{vnode:a,slots:s}=e;let r=!0,i=It;if(a.shapeFlag&32){const o=t._;o?n&&o===1?r=!1:qh(s,t,n):(r=!t.$stable,Kh(t,s)),i=t}else t&&(jh(e,t),i={default:1});if(r)for(const o in s)!Vh(o)&&i[o]==null&&delete s[o]},cn=uN;function YR(e){return XR(e)}function XR(e,t){const n=yl();n.__VUE__=!0;const{insert:a,remove:s,patchProp:r,createElement:i,createText:o,createComment:u,setText:l,setElementText:c,parentNode:p,nextSibling:E,setScopeId:f=_a,insertStaticContent:_}=e,O=(U,b,G,le=null,ae=null,Ee=null,Ie=void 0,L=null,k=!!b.dynamicChildren)=>{if(U===b)return;U&&!Cs(U,b)&&(le=ne(U),Me(U,ae,Ee,!0),U=null),b.patchFlag===-2&&(k=!1,b.dynamicChildren=null);const{type:x,ref:ce,shapeFlag:Te}=b;switch(x){case io:R(U,b,G,le);break;case pn:g(U,b,G,le);break;case au:U==null&&N(b,G,le,Ie);break;case _e:F(U,b,G,le,ae,Ee,Ie,L,k);break;default:Te&1?v(U,b,G,le,ae,Ee,Ie,L,k):Te&6?Y(U,b,G,le,ae,Ee,Ie,L,k):(Te&64||Te&128)&&x.process(U,b,G,le,ae,Ee,Ie,L,k,Pe)}ce!=null&&ae&&Iu(ce,U&&U.ref,Ee,b||U,!b)},R=(U,b,G,le)=>{if(U==null)a(b.el=o(b.children),G,le);else{const ae=b.el=U.el;b.children!==U.children&&l(ae,b.children)}},g=(U,b,G,le)=>{U==null?a(b.el=u(b.children||""),G,le):b.el=U.el},N=(U,b,G,le)=>{[U.el,U.anchor]=_(U.children,b,G,le,U.el,U.anchor)},S=({el:U,anchor:b},G,le)=>{let ae;for(;U&&U!==b;)ae=E(U),a(U,G,le),U=ae;a(b,G,le)},A=({el:U,anchor:b})=>{let G;for(;U&&U!==b;)G=E(U),s(U),U=G;s(b)},v=(U,b,G,le,ae,Ee,Ie,L,k)=>{b.type==="svg"?Ie="svg":b.type==="math"&&(Ie="mathml"),U==null?y(b,G,le,ae,Ee,Ie,L,k):D(U,b,ae,Ee,Ie,L,k)},y=(U,b,G,le,ae,Ee,Ie,L)=>{let k,x;const{props:ce,shapeFlag:Te,transition:pe,dirs:V}=U;if(k=U.el=i(U.type,Ee,ce&&ce.is,ce),Te&8?c(k,U.children):Te&16&&C(U.children,k,null,le,ae,Rc(U,Ee),Ie,L),V&&Ss(U,null,le,"created"),P(k,U,U.scopeId,Ie,le),ce){for(const Ue in ce)Ue!=="value"&&!Ei(Ue)&&r(k,Ue,null,ce[Ue],Ee,le);"value"in ce&&r(k,"value",null,ce.value,Ee),(x=ce.onVnodeBeforeMount)&&oa(x,le,U)}V&&Ss(U,null,le,"beforeMount");const te=QR(ae,pe);te&&pe.beforeEnter(k),a(k,b,G),((x=ce&&ce.onVnodeMounted)||te||V)&&cn(()=>{x&&oa(x,le,U),te&&pe.enter(k),V&&Ss(U,null,le,"mounted")},ae)},P=(U,b,G,le,ae)=>{if(G&&f(U,G),le)for(let Ee=0;Ee{for(let x=k;x{const L=b.el=U.el;let{patchFlag:k,dynamicChildren:x,dirs:ce}=b;k|=U.patchFlag&16;const Te=U.props||It,pe=b.props||It;let V;if(G&&As(G,!1),(V=pe.onVnodeBeforeUpdate)&&oa(V,G,b,U),ce&&Ss(b,U,G,"beforeUpdate"),G&&As(G,!0),(Te.innerHTML&&pe.innerHTML==null||Te.textContent&&pe.textContent==null)&&c(L,""),x?z(U.dynamicChildren,x,L,G,le,Rc(b,ae),Ee):Ie||oe(U,b,L,null,G,le,Rc(b,ae),Ee,!1),k>0){if(k&16)$(L,Te,pe,G,ae);else if(k&2&&Te.class!==pe.class&&r(L,"class",null,pe.class,ae),k&4&&r(L,"style",Te.style,pe.style,ae),k&8){const te=b.dynamicProps;for(let Ue=0;Ue{V&&oa(V,G,b,U),ce&&Ss(b,U,G,"updated")},le)},z=(U,b,G,le,ae,Ee,Ie)=>{for(let L=0;L{if(b!==G){if(b!==It)for(const Ee in b)!Ei(Ee)&&!(Ee in G)&&r(U,Ee,b[Ee],null,ae,le);for(const Ee in G){if(Ei(Ee))continue;const Ie=G[Ee],L=b[Ee];Ie!==L&&Ee!=="value"&&r(U,Ee,L,Ie,ae,le)}"value"in G&&r(U,"value",b.value,G.value,ae)}},F=(U,b,G,le,ae,Ee,Ie,L,k)=>{const x=b.el=U?U.el:o(""),ce=b.anchor=U?U.anchor:o("");let{patchFlag:Te,dynamicChildren:pe,slotScopeIds:V}=b;V&&(L=L?L.concat(V):V),U==null?(a(x,G,le),a(ce,G,le),C(b.children||[],G,ce,ae,Ee,Ie,L,k)):Te>0&&Te&64&&pe&&U.dynamicChildren?(z(U.dynamicChildren,pe,G,ae,Ee,Ie,L),(b.key!=null||ae&&b===ae.subTree)&&ep(U,b,!0)):oe(U,b,G,ce,ae,Ee,Ie,L,k)},Y=(U,b,G,le,ae,Ee,Ie,L,k)=>{b.slotScopeIds=L,U==null?b.shapeFlag&512?ae.ctx.activate(b,G,le,Ie,k):se(b,G,le,ae,Ee,Ie,k):B(U,b,k)},se=(U,b,G,le,ae,Ee,Ie)=>{const L=U.component=fN(U,le,ae);if(Ul(U)&&(L.ctx.renderer=Pe),TN(L,!1,Ie),L.asyncDep){if(ae&&ae.registerDep(L,Q,Ie),!U.el){const k=L.subTree=W(pn);g(null,k,b,G)}}else Q(L,U,b,G,ae,Ee,Ie)},B=(U,b,G)=>{const le=b.component=U.component;if(iN(U,b,G))if(le.asyncDep&&!le.asyncResolved){q(le,b,G);return}else le.next=b,le.update();else b.el=U.el,le.vnode=b},Q=(U,b,G,le,ae,Ee,Ie)=>{const L=()=>{if(U.isMounted){let{next:Te,bu:pe,u:V,parent:te,vnode:Ue}=U;{const sn=Yh(U);if(sn){Te&&(Te.el=Ue.el,q(U,Te,Ie)),sn.asyncDep.then(()=>{U.isUnmounted||L()});return}}let ze=Te,kt;As(U,!1),Te?(Te.el=Ue.el,q(U,Te,Ie)):Te=Ue,pe&&tu(pe),(kt=Te.props&&Te.props.onVnodeBeforeUpdate)&&oa(kt,te,Te,Ue),As(U,!0);const Ft=Nc(U),Kt=U.subTree;U.subTree=Ft,O(Kt,Ft,p(Kt.el),ne(Kt),U,ae,Ee),Te.el=Ft.el,ze===null&&oN(U,Ft.el),V&&cn(V,ae),(kt=Te.props&&Te.props.onVnodeUpdated)&&cn(()=>oa(kt,te,Te,Ue),ae)}else{let Te;const{el:pe,props:V}=b,{bm:te,m:Ue,parent:ze,root:kt,type:Ft}=U,Kt=Tr(b);if(As(U,!1),te&&tu(te),!Kt&&(Te=V&&V.onVnodeBeforeMount)&&oa(Te,ze,b),As(U,!0),pe&&ft){const sn=()=>{U.subTree=Nc(U),ft(pe,U.subTree,U,ae,null)};Kt&&Ft.__asyncHydrate?Ft.__asyncHydrate(pe,U,sn):sn()}else{kt.ce&&kt.ce._injectChildStyle(Ft);const sn=U.subTree=Nc(U);O(null,sn,G,le,U,ae,Ee),b.el=sn.el}if(Ue&&cn(Ue,ae),!Kt&&(Te=V&&V.onVnodeMounted)){const sn=b;cn(()=>oa(Te,ze,sn),ae)}(b.shapeFlag&256||ze&&Tr(ze.vnode)&&ze.vnode.shapeFlag&256)&&U.a&&cn(U.a,ae),U.isMounted=!0,b=G=le=null}};U.scope.on();const k=U.effect=new th(L);U.scope.off();const x=U.update=k.run.bind(k),ce=U.job=k.runIfDirty.bind(k);ce.i=U,ce.id=U.uid,k.scheduler=()=>QE(ce),As(U,!0),x()},q=(U,b,G)=>{b.component=U;const le=U.vnode.props;U.vnode=b,U.next=null,HR(U,b.props,le,G),qR(U,b.children,G),Es(),Df(U),ps()},oe=(U,b,G,le,ae,Ee,Ie,L,k=!1)=>{const x=U&&U.children,ce=U?U.shapeFlag:0,Te=b.children,{patchFlag:pe,shapeFlag:V}=b;if(pe>0){if(pe&128){Re(x,Te,G,le,ae,Ee,Ie,L,k);return}else if(pe&256){Z(x,Te,G,le,ae,Ee,Ie,L,k);return}}V&8?(ce&16&&Nt(x,ae,Ee),Te!==x&&c(G,Te)):ce&16?V&16?Re(x,Te,G,le,ae,Ee,Ie,L,k):Nt(x,ae,Ee,!0):(ce&8&&c(G,""),V&16&&C(Te,G,le,ae,Ee,Ie,L,k))},Z=(U,b,G,le,ae,Ee,Ie,L,k)=>{U=U||dr,b=b||dr;const x=U.length,ce=b.length,Te=Math.min(x,ce);let pe;for(pe=0;pece?Nt(U,ae,Ee,!0,!1,Te):C(b,G,le,ae,Ee,Ie,L,k,Te)},Re=(U,b,G,le,ae,Ee,Ie,L,k)=>{let x=0;const ce=b.length;let Te=U.length-1,pe=ce-1;for(;x<=Te&&x<=pe;){const V=U[x],te=b[x]=k?Ja(b[x]):Ta(b[x]);if(Cs(V,te))O(V,te,G,null,ae,Ee,Ie,L,k);else break;x++}for(;x<=Te&&x<=pe;){const V=U[Te],te=b[pe]=k?Ja(b[pe]):Ta(b[pe]);if(Cs(V,te))O(V,te,G,null,ae,Ee,Ie,L,k);else break;Te--,pe--}if(x>Te){if(x<=pe){const V=pe+1,te=Vpe)for(;x<=Te;)Me(U[x],ae,Ee,!0),x++;else{const V=x,te=x,Ue=new Map;for(x=te;x<=pe;x++){const Dn=b[x]=k?Ja(b[x]):Ta(b[x]);Dn.key!=null&&Ue.set(Dn.key,x)}let ze,kt=0;const Ft=pe-te+1;let Kt=!1,sn=0;const Ys=new Array(Ft);for(x=0;x=Ft){Me(Dn,ae,Ee,!0);continue}let ia;if(Dn.key!=null)ia=Ue.get(Dn.key);else for(ze=te;ze<=pe;ze++)if(Ys[ze-te]===0&&Cs(Dn,b[ze])){ia=ze;break}ia===void 0?Me(Dn,ae,Ee,!0):(Ys[ia-te]=x+1,ia>=sn?sn=ia:Kt=!0,O(Dn,b[ia],G,null,ae,Ee,Ie,L,k),kt++)}const If=Kt?ZR(Ys):dr;for(ze=If.length-1,x=Ft-1;x>=0;x--){const Dn=te+x,ia=b[Dn],Rf=Dn+1{const{el:Ee,type:Ie,transition:L,children:k,shapeFlag:x}=U;if(x&6){ye(U.component.subTree,b,G,le);return}if(x&128){U.suspense.move(b,G,le);return}if(x&64){Ie.move(U,b,G,Pe);return}if(Ie===_e){a(Ee,b,G);for(let Te=0;TeL.enter(Ee),ae);else{const{leave:Te,delayLeave:pe,afterLeave:V}=L,te=()=>a(Ee,b,G),Ue=()=>{Te(Ee,()=>{te(),V&&V()})};pe?pe(Ee,te,Ue):Ue()}else a(Ee,b,G)},Me=(U,b,G,le=!1,ae=!1)=>{const{type:Ee,props:Ie,ref:L,children:k,dynamicChildren:x,shapeFlag:ce,patchFlag:Te,dirs:pe,cacheIndex:V}=U;if(Te===-2&&(ae=!1),L!=null&&Iu(L,null,G,U,!0),V!=null&&(b.renderCache[V]=void 0),ce&256){b.ctx.deactivate(U);return}const te=ce&1&&pe,Ue=!Tr(U);let ze;if(Ue&&(ze=Ie&&Ie.onVnodeBeforeUnmount)&&oa(ze,b,U),ce&6)ve(U.component,G,le);else{if(ce&128){U.suspense.unmount(G,le);return}te&&Ss(U,null,b,"beforeUnmount"),ce&64?U.type.remove(U,b,G,Pe,le):x&&!x.hasOnce&&(Ee!==_e||Te>0&&Te&64)?Nt(x,b,G,!1,!0):(Ee===_e&&Te&384||!ae&&ce&16)&&Nt(k,b,G),le&&Vt(U)}(Ue&&(ze=Ie&&Ie.onVnodeUnmounted)||te)&&cn(()=>{ze&&oa(ze,b,U),te&&Ss(U,null,b,"unmounted")},G)},Vt=U=>{const{type:b,el:G,anchor:le,transition:ae}=U;if(b===_e){je(G,le);return}if(b===au){A(U);return}const Ee=()=>{s(G),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(U.shapeFlag&1&&ae&&!ae.persisted){const{leave:Ie,delayLeave:L}=ae,k=()=>Ie(G,Ee);L?L(U.el,Ee,k):k()}else Ee()},je=(U,b)=>{let G;for(;U!==b;)G=E(U),s(U),U=G;s(b)},ve=(U,b,G)=>{const{bum:le,scope:ae,job:Ee,subTree:Ie,um:L,m:k,a:x}=U;zf(k),zf(x),le&&tu(le),ae.stop(),Ee&&(Ee.flags|=8,Me(Ie,U,b,G)),L&&cn(L,b),cn(()=>{U.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&U.asyncDep&&!U.asyncResolved&&U.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Nt=(U,b,G,le=!1,ae=!1,Ee=0)=>{for(let Ie=Ee;Ie{if(U.shapeFlag&6)return ne(U.component.subTree);if(U.shapeFlag&128)return U.suspense.next();const b=E(U.anchor||U.el),G=b&&b[Rh];return G?E(G):b};let Se=!1;const Oe=(U,b,G)=>{U==null?b._vnode&&Me(b._vnode,null,null,!0):O(b._vnode||null,U,b,null,null,null,G),b._vnode=U,Se||(Se=!0,Df(),Oh(),Se=!1)},Pe={p:O,um:Me,m:ye,r:Vt,mt:se,mc:C,pc:oe,pbc:z,n:ne,o:e};let it,ft;return{render:Oe,hydrate:it,createApp:BR(Oe,it)}}function Rc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function As({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function QR(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ep(e,t,n=!1){const a=e.children,s=t.children;if(we(a)&&we(s))for(let r=0;r>1,e[n[o]]0&&(t[a]=n[r-1]),n[r]=a)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Yh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yh(t)}function zf(e){if(e)for(let t=0;tCt(JR);function We(e,t,n){return Xh(e,t,n)}function Xh(e,t,n=It){const{immediate:a,deep:s,flush:r,once:i}=n,o=xt({},n),u=t&&a||!t&&r!=="post";let l;if(ki){if(r==="sync"){const f=eN();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!u){const f=()=>{};return f.stop=_a,f.resume=_a,f.pause=_a,f}}const c=Zt;o.call=(f,_,O)=>ta(f,c,_,O);let p=!1;r==="post"?o.scheduler=f=>{cn(f,c&&c.suspense)}:r!=="sync"&&(p=!0,o.scheduler=(f,_)=>{_?f():QE(f)}),o.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const E=fR(e,t,o);return ki&&(l?l.push(E):u&&E()),E}function tN(e,t,n){const a=this.proxy,s=Mt(e)?e.includes(".")?Qh(a,e):()=>a[e]:e.bind(a,a);let r;Ye(t)?r=t:(r=t.handler,n=t);const i=oo(this),o=Xh(s,r.bind(a),n);return i(),o}function Qh(e,t){const n=t.split(".");return()=>{let a=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jn(t)}Modifiers`]||e[`${ds(t)}Modifiers`];function aN(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||It;let s=n;const r=t.startsWith("update:"),i=r&&nN(a,t.slice(7));i&&(i.trim&&(s=n.map(c=>Mt(c)?c.trim():c)),i.number&&(s=n.map(hu)));let o,u=a[o=_c(t)]||a[o=_c(jn(t))];!u&&r&&(u=a[o=_c(ds(t))]),u&&ta(u,e,6,s);const l=a[o+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,ta(l,e,6,s)}}function Zh(e,t,n=!1){const a=t.emitsCache,s=a.get(e);if(s!==void 0)return s;const r=e.emits;let i={},o=!1;if(!Ye(e)){const u=l=>{const c=Zh(l,t,!0);c&&(o=!0,xt(i,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!o?(Rt(e)&&a.set(e,null),null):(we(r)?r.forEach(u=>i[u]=null):xt(i,r),Rt(e)&&a.set(e,i),i)}function Ml(e,t){return!e||!Pl(t)?!1:(t=t.slice(2).replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,ds(t))||dt(e,t))}function Nc(e){const{type:t,vnode:n,proxy:a,withProxy:s,propsOptions:[r],slots:i,attrs:o,emit:u,render:l,renderCache:c,props:p,data:E,setupState:f,ctx:_,inheritAttrs:O}=e,R=gu(e);let g,N;try{if(n.shapeFlag&4){const A=s||a,v=A;g=Ta(l.call(v,A,c,p,f,E,_)),N=o}else{const A=t;g=Ta(A.length>1?A(p,{attrs:o,slots:i,emit:u}):A(p,null)),N=t.props?o:sN(o)}}catch(A){_i.length=0,kl(A,e,1),g=W(pn)}let S=g;if(N&&O!==!1){const A=Object.keys(N),{shapeFlag:v}=S;A.length&&v&7&&(r&&A.some(xE)&&(N=rN(N,r)),S=us(S,N,!1,!0))}return n.dirs&&(S=us(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&Li(S,n.transition),g=S,gu(R),g}const sN=e=>{let t;for(const n in e)(n==="class"||n==="style"||Pl(n))&&((t||(t={}))[n]=e[n]);return t},rN=(e,t)=>{const n={};for(const a in e)(!xE(a)||!(a.slice(9)in t))&&(n[a]=e[a]);return n};function iN(e,t,n){const{props:a,children:s,component:r}=e,{props:i,children:o,patchFlag:u}=t,l=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return a?xf(a,i,l):!!i;if(u&8){const c=t.dynamicProps;for(let p=0;pe.__isSuspense;function uN(e,t){t&&t.pendingBranch?we(e)?t.effects.push(...e):t.effects.push(e):_R(e)}const _e=Symbol.for("v-fgt"),io=Symbol.for("v-txt"),pn=Symbol.for("v-cmt"),au=Symbol.for("v-stc"),_i=[];let wn=null;function h(e=!1){_i.push(wn=e?null:[])}function lN(){_i.pop(),wn=_i[_i.length-1]||null}let yi=1;function Bf(e,t=!1){yi+=e,e<0&&wn&&t&&(wn.hasOnce=!0)}function e1(e){return e.dynamicChildren=yi>0?wn||dr:null,lN(),yi>0&&wn&&wn.push(e),e}function I(e,t,n,a,s,r){return e1(d(e,t,n,a,s,r,!0))}function j(e,t,n,a,s){return e1(W(e,t,n,a,s,!0))}function $i(e){return e?e.__v_isVNode===!0:!1}function Cs(e,t){return e.type===t.type&&e.key===t.key}const t1=({key:e})=>e??null,su=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Mt(e)||Gt(e)||Ye(e)?{i:Yt,r:e,k:t,f:!!n}:e:null);function d(e,t=null,n=null,a=0,s=null,r=e===_e?0:1,i=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&t1(t),ref:t&&su(t),scopeId:Ih,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:a,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Yt};return o?(tp(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=Mt(n)?8:16),yi>0&&!i&&wn&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&wn.push(u),u}const W=cN;function cN(e,t=null,n=null,a=0,s=null,r=!1){if((!e||e===$R)&&(e=pn),$i(e)){const o=us(e,t,!0);return n&&tp(o,n),yi>0&&!r&&wn&&(o.shapeFlag&6?wn[wn.indexOf(e)]=o:wn.push(o)),o.patchFlag=-2,o}if(AN(e)&&(e=e.__vccOpts),t){t=dN(t);let{class:o,style:u}=t;o&&!Mt(o)&&(t.class=me(o)),Rt(u)&&(no(u)&&!we(u)&&(u=xt({},u)),t.style=za(u))}const i=Mt(e)?1:Jh(e)?128:Nh(e)?64:Rt(e)?4:Ye(e)?2:0;return d(e,t,n,a,s,i,r,!0)}function dN(e){return e?no(e)||Bh(e)?xt({},e):e:null}function us(e,t,n=!1,a=!1){const{props:s,ref:r,patchFlag:i,children:o,transition:u}=e,l=t?n1(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&t1(l),ref:t&&t.ref?n&&r?we(r)?r.concat(su(t)):[r,su(t)]:su(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&us(e.ssContent),ssFallback:e.ssFallback&&us(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&a&&Li(c,u.clone(c)),c}function H(e=" ",t=0){return W(io,null,e,t)}function vn(e,t){const n=W(au,null,e);return n.staticCount=t,n}function w(e="",t=!1){return t?(h(),j(pn,null,e)):W(pn,null,e)}function Ta(e){return e==null||typeof e=="boolean"?W(pn):we(e)?W(_e,null,e.slice()):$i(e)?Ja(e):W(io,null,String(e))}function Ja(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:us(e)}function tp(e,t){let n=0;const{shapeFlag:a}=e;if(t==null)t=null;else if(we(t))n=16;else if(typeof t=="object")if(a&65){const s=t.default;s&&(s._c&&(s._d=!1),tp(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Bh(t)?t._ctx=Yt:s===3&&Yt&&(Yt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ye(t)?(t={default:t,_ctx:Yt},n=32):(t=String(t),a&64?(n=16,t=[H(t)]):n=8);e.children=t,e.shapeFlag|=n}function n1(...e){const t={};for(let n=0;nZt||Yt;let Nu,gd;{const e=yl(),t=(n,a)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(a),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};Nu=t("__VUE_INSTANCE_SETTERS__",n=>Zt=n),gd=t("__VUE_SSR_SETTERS__",n=>ki=n)}const oo=e=>{const t=Zt;return Nu(e),e.scope.on(),()=>{e.scope.off(),Nu(t)}},Gf=()=>{Zt&&Zt.scope.off(),Nu(null)};function a1(e){return e.vnode.shapeFlag&4}let ki=!1;function TN(e,t=!1,n=!1){t&&gd(t);const{props:a,children:s}=e.vnode,r=a1(e);GR(e,a,r,t),jR(e,s,n);const i=r?mN(e,t):void 0;return t&&gd(!1),i}function mN(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,UR);const{setup:a}=n;if(a){Es();const s=e.setupContext=a.length>1?hN(e):null,r=oo(e),i=so(a,e,0,[e.props,s]),o=K0(i);if(ps(),r(),(o||e.sp)&&!Tr(e)&&$h(e),o){if(i.then(Gf,Gf),t)return i.then(u=>{Hf(e,u,t)}).catch(u=>{kl(u,e,0)});e.asyncDep=i}else Hf(e,i,t)}else s1(e,t)}function Hf(e,t,n){Ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Rt(t)&&(e.setupState=hh(t)),s1(e,n)}let Vf;function s1(e,t,n){const a=e.type;if(!e.render){if(!t&&Vf&&!a.render){const s=a.template||ZE(e).template;if(s){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:o,compilerOptions:u}=a,l=xt(xt({isCustomElement:r,delimiters:o},i),u);a.render=Vf(s,l)}}e.render=a.render||_a}{const s=oo(e);Es();try{wR(e)}finally{ps(),s()}}}const _N={get(e,t){return nn(e,"get",""),e[t]}};function hN(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,_N),slots:e.slots,emit:e.emit,expose:t}}function Wl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hh(xa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mi)return mi[n](e)},has(t,n){return n in t||n in mi}})):e.proxy}function SN(e,t=!0){return Ye(e)?e.displayName||e.name:e.name||t&&e.__name}function AN(e){return Ye(e)&&"__vccOpts"in e}const M=(e,t)=>ER(e,t,ki);function Nn(e,t,n){const a=arguments.length;return a===2?Rt(t)&&!we(t)?$i(t)?W(e,null,[t]):W(e,t):W(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):a===3&&$i(n)&&(n=[n]),W(e,t,n))}const r1="3.5.13";/** +* @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Id;const Kf=typeof window<"u"&&window.trustedTypes;if(Kf)try{Id=Kf.createPolicy("vue",{createHTML:e=>e})}catch{}const s1=Id?e=>Id.createHTML(e):e=>e,gN="http://www.w3.org/2000/svg",IN="http://www.w3.org/1998/Math/MathML",Pa=typeof document<"u"?document:null,jf=Pa&&Pa.createElement("template"),RN={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const s=t==="svg"?Pa.createElementNS(gN,e):t==="mathml"?Pa.createElementNS(IN,e):n?Pa.createElement(e,{is:n}):Pa.createElement(e);return e==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:e=>Pa.createTextNode(e),createComment:e=>Pa.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pa.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{jf.innerHTML=s1(a==="svg"?`${e}`:a==="mathml"?`${e}`:e);const o=jf.content;if(a==="svg"||a==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ha="transition",qr="animation",Ui=Symbol("_vtc"),r1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},NN=xt({},vh,r1),vN=e=>(e.displayName="Transition",e.props=NN,e),qf=vN((e,{slots:t})=>Nn(IR,bN(e),t)),Os=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yf=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function bN(e){const t={};for(const F in e)F in r1||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:a,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:l=i,appearToClass:c=o,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:E=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,_=CN(s),O=_&&_[0],I=_&&_[1],{onBeforeEnter:g,onEnter:N,onEnterCancelled:S,onLeave:A,onLeaveCancelled:v,onBeforeAppear:y=g,onAppear:P=N,onAppearCancelled:C=S}=t,D=(F,Y,se)=>{gs(F,Y?c:o),gs(F,Y?l:i),se&&se()},z=(F,Y)=>{F._isLeaving=!1,gs(F,p),gs(F,f),gs(F,E),Y&&Y()},$=F=>(Y,se)=>{const B=F?P:N,Q=()=>D(Y,F,se);Os(B,[Y,Q]),Xf(()=>{gs(Y,F?u:r),Va(Y,F?c:o),Yf(B)||Qf(Y,a,O,Q)})};return xt(t,{onBeforeEnter(F){Os(g,[F]),Va(F,r),Va(F,i)},onBeforeAppear(F){Os(y,[F]),Va(F,u),Va(F,l)},onEnter:$(!1),onAppear:$(!0),onLeave(F,Y){F._isLeaving=!0;const se=()=>z(F,Y);Va(F,p),Va(F,E),LN(),Xf(()=>{F._isLeaving&&(gs(F,p),Va(F,f),Yf(A)||Qf(F,a,I,se))}),Os(A,[F,se])},onEnterCancelled(F){D(F,!1),Os(S,[F])},onAppearCancelled(F){D(F,!0),Os(C,[F])},onLeaveCancelled(F){z(F),Os(v,[F])}})}function CN(e){if(e==null)return null;if(Rt(e))return[Nc(e.enter),Nc(e.leave)];{const t=Nc(e);return[t,t]}}function Nc(e){return yI(e)}function Va(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ui]||(e[Ui]=new Set)).add(t)}function gs(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Ui];n&&(n.delete(t),n.size||(e[Ui]=void 0))}function Xf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let DN=0;function Qf(e,t,n,a){const s=e._endId=++DN,r=()=>{s===e._endId&&a()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:o,propCount:u}=PN(e,t);if(!i)return a();const l=i+"end";let c=0;const p=()=>{e.removeEventListener(l,E),r()},E=f=>{f.target===e&&++c>=u&&p()};setTimeout(()=>{c(n[_]||"").split(", "),s=a(`${Ha}Delay`),r=a(`${Ha}Duration`),i=Zf(s,r),o=a(`${qr}Delay`),u=a(`${qr}Duration`),l=Zf(o,u);let c=null,p=0,E=0;t===Ha?i>0&&(c=Ha,p=i,E=r.length):t===qr?l>0&&(c=qr,p=l,E=u.length):(p=Math.max(i,l),c=p>0?i>l?Ha:qr:null,E=c?c===Ha?r.length:u.length:0);const f=c===Ha&&/\b(transform|all)(,|$)/.test(a(`${Ha}Property`).toString());return{type:c,timeout:p,propCount:E,hasTransform:f}}function Zf(e,t){for(;e.lengthJf(n)+Jf(e[a])))}function Jf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function LN(){return document.body.offsetHeight}function yN(e,t,n){const a=e[Ui];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Nu=Symbol("_vod"),i1=Symbol("_vsh"),Yr={beforeMount(e,{value:t},{transition:n}){e[Nu]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:a}){!t!=!n&&(a?t?(a.beforeEnter(e),Xr(e,!0),a.enter(e)):a.leave(e,()=>{Xr(e,!1)}):Xr(e,t))},beforeUnmount(e,{value:t}){Xr(e,t)}};function Xr(e,t){e.style.display=t?e[Nu]:"none",e[i1]=!t}const $N=Symbol(""),kN=/(^|;)\s*display\s*:/;function UN(e,t,n){const a=e.style,s=Mt(n);let r=!1;if(n&&!s){if(t)if(Mt(t))for(const i of t.split(";")){const o=i.slice(0,i.indexOf(":")).trim();n[o]==null&&ru(a,o,"")}else for(const i in t)n[i]==null&&ru(a,i,"");for(const i in n)i==="display"&&(r=!0),ru(a,i,n[i])}else if(s){if(t!==n){const i=a[$N];i&&(n+=";"+i),a.cssText=n,r=kN.test(n)}}else t&&e.removeAttribute("style");Nu in e&&(e[Nu]=r?a.display:"",e[i1]&&(a.display="none"))}const eT=/\s*!important$/;function ru(e,t,n){if(we(n))n.forEach(a=>ru(e,t,a));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const a=wN(e,t);eT.test(n)?e.setProperty(ds(a),n.replace(eT,""),"important"):e[a]=n}}const tT=["Webkit","Moz","ms"],vc={};function wN(e,t){const n=vc[t];if(n)return n;let a=jn(t);if(a!=="filter"&&a in e)return vc[t]=a;a=Ve(a);for(let s=0;sbc||(zN.then(()=>bc=0),bc=Date.now());function BN(e,t){const n=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=n.attached)return;ta(GN(a,n.value),t,5,[a])};return n.value=e,n.attached=xN(),n}function GN(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(a=>s=>!s._stopped&&a&&a(s))}else return t}const oT=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,HN=(e,t,n,a,s,r)=>{const i=s==="svg";t==="class"?yN(e,a,i):t==="style"?UN(e,n,a):Dl(t)?xE(t)||WN(e,t,n,a,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):VN(e,t,a,i))?(sT(e,t,a),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&aT(e,t,a,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Mt(a))?sT(e,jn(t),a,r,t):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),aT(e,t,a,i))};function VN(e,t,n,a){if(a)return!!(t==="innerHTML"||t==="textContent"||t in e&&oT(t)&&Ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return oT(t)&&Mt(n)?!1:t in e}const ls=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>tu(t,n):t};function KN(e){e.target.composing=!0}function uT(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vn=Symbol("_assign"),st={created(e,{modifiers:{lazy:t,trim:n,number:a}},s){e[Vn]=ls(s);const r=a||s.props&&s.props.type==="number";ka(e,t?"change":"input",i=>{if(i.target.composing)return;let o=e.value;n&&(o=o.trim()),r&&(o=hu(o)),e[Vn](o)}),n&&ka(e,"change",()=>{e.value=e.value.trim()}),t||(ka(e,"compositionstart",KN),ka(e,"compositionend",uT),ka(e,"change",uT))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:s,number:r}},i){if(e[Vn]=ls(i),e.composing)return;const o=(r||e.type==="number")&&!/^0\d/.test(e.value)?hu(e.value):e.value,u=t??"";o!==u&&(document.activeElement===e&&e.type!=="range"&&(a&&t===n||s&&e.value.trim()===u)||(e.value=u))}},Wl={deep:!0,created(e,t,n){e[Vn]=ls(n),ka(e,"change",()=>{const a=e._modelValue,s=Or(e),r=e.checked,i=e[Vn];if(we(a)){const o=HE(a,s),u=o!==-1;if(r&&!u)i(a.concat(s));else if(!r&&u){const l=[...a];l.splice(o,1),i(l)}}else if(Mr(a)){const o=new Set(a);r?o.add(s):o.delete(s),i(o)}else i(o1(e,r))})},mounted:lT,beforeUpdate(e,t,n){e[Vn]=ls(n),lT(e,t,n)}};function lT(e,{value:t,oldValue:n},a){e._modelValue=t;let s;if(we(t))s=HE(t,a.props.value)>-1;else if(Mr(t))s=t.has(a.props.value);else{if(t===n)return;s=Us(t,o1(e,!0))}e.checked!==s&&(e.checked=s)}const jN={created(e,{value:t},n){e.checked=Us(t,n.props.value),e[Vn]=ls(n),ka(e,"change",()=>{e[Vn](Or(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Vn]=ls(a),t!==n&&(e.checked=Us(t,a.props.value))}},ha={deep:!0,created(e,{value:t,modifiers:{number:n}},a){const s=Mr(t);ka(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?hu(Or(i)):Or(i));e[Vn](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,Tn(()=>{e._assigning=!1})}),e[Vn]=ls(a)},mounted(e,{value:t}){cT(e,t)},beforeUpdate(e,t,n){e[Vn]=ls(n)},updated(e,{value:t}){e._assigning||cT(e,t)}};function cT(e,t){const n=e.multiple,a=we(t);if(!(n&&!a&&!Mr(t))){for(let s=0,r=e.options.length;sString(l)===String(o)):i.selected=HE(t,o)>-1}else i.selected=t.has(o);else if(Us(Or(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Or(e){return"_value"in e?e._value:e.value}function o1(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const qN={created(e,t,n){Lo(e,t,n,null,"created")},mounted(e,t,n){Lo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,a){Lo(e,t,n,a,"beforeUpdate")},updated(e,t,n,a){Lo(e,t,n,a,"updated")}};function YN(e,t){switch(e){case"SELECT":return ha;case"TEXTAREA":return st;default:switch(t){case"checkbox":return Wl;case"radio":return jN;default:return st}}}function Lo(e,t,n,a,s){const i=YN(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,a)}const XN=["ctrl","shift","alt","meta"],QN={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>XN.some(n=>e[`${n}Key`]&&!t.includes(n))},De=(e,t)=>{const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(s,...r)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=s=>{if(!("key"in s))return;const r=ds(s.key);if(t.some(i=>i===r||ZN[i]===r))return e(s)})},JN=xt({patchProp:HN},RN);let dT;function u1(){return dT||(dT=XR(JN))}const ev=(...e)=>{u1().render(...e)},tv=(...e)=>{const t=u1().createApp(...e),{mount:n}=t;return t.mount=a=>{const s=av(a);if(!s)return;const r=t._component;!Ye(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,nv(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function nv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function av(e){return Mt(e)?document.querySelector(e):e}var sv=Object.defineProperty,rv=Object.defineProperties,iv=Object.getOwnPropertyDescriptors,vu=Object.getOwnPropertySymbols,l1=Object.prototype.hasOwnProperty,c1=Object.prototype.propertyIsEnumerable,ET=(e,t,n)=>t in e?sv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d1=function(e){return e},ov=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},pT=Math.max,uv=function(e,t,n){return t=pT(t===void 0?e.length-1:t,0),function(){for(var a=arguments,s=-1,r=pT(a.length-t,0),i=Array(r);++s0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Mv),zv=d1,xv=uv,Bv=Fv,Gv=function(e,t){return Bv(xv(e,t,zv),e+"")},T1=function(e,t){return e===t||e!=e&&t!=t},m1=function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991},Hv=f1,Vv=m1,_1=function(e){return e!=null&&Vv(e.length)&&!Hv(e)},Kv=/^(?:0|[1-9]\d*)$/,h1=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&(n=="number"||n!="symbol"&&Kv.test(e))&&e>-1&&e%1==0&&e2?t[2]:void 0;for(s&&yb(t[0],t[1],s)&&(a=1);++ne})}catch{}const i1=Id?e=>Id.createHTML(e):e=>e,ON="http://www.w3.org/2000/svg",gN="http://www.w3.org/1998/Math/MathML",La=typeof document<"u"?document:null,jf=La&&La.createElement("template"),IN={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,a)=>{const s=t==="svg"?La.createElementNS(ON,e):t==="mathml"?La.createElementNS(gN,e):n?La.createElement(e,{is:n}):La.createElement(e);return e==="select"&&a&&a.multiple!=null&&s.setAttribute("multiple",a.multiple),s},createText:e=>La.createTextNode(e),createComment:e=>La.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>La.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,a,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{jf.innerHTML=i1(a==="svg"?`${e}`:a==="mathml"?`${e}`:e);const o=jf.content;if(a==="svg"||a==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Va="transition",qr="animation",Ui=Symbol("_vtc"),o1={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},RN=xt({},Ch,o1),NN=e=>(e.displayName="Transition",e.props=RN,e),qf=NN((e,{slots:t})=>Nn(gR,vN(e),t)),Os=(e,t=[])=>{we(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yf=e=>e?we(e)?e.some(t=>t.length>1):e.length>1:!1;function vN(e){const t={};for(const F in e)F in o1||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:a,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:l=i,appearToClass:c=o,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:E=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,_=bN(s),O=_&&_[0],R=_&&_[1],{onBeforeEnter:g,onEnter:N,onEnterCancelled:S,onLeave:A,onLeaveCancelled:v,onBeforeAppear:y=g,onAppear:P=N,onAppearCancelled:C=S}=t,D=(F,Y,se,B)=>{F._enterCancelled=B,gs(F,Y?c:o),gs(F,Y?l:i),se&&se()},z=(F,Y)=>{F._isLeaving=!1,gs(F,p),gs(F,f),gs(F,E),Y&&Y()},$=F=>(Y,se)=>{const B=F?P:N,Q=()=>D(Y,F,se);Os(B,[Y,Q]),Xf(()=>{gs(Y,F?u:r),Ia(Y,F?c:o),Yf(B)||Qf(Y,a,O,Q)})};return xt(t,{onBeforeEnter(F){Os(g,[F]),Ia(F,r),Ia(F,i)},onBeforeAppear(F){Os(y,[F]),Ia(F,u),Ia(F,l)},onEnter:$(!1),onAppear:$(!0),onLeave(F,Y){F._isLeaving=!0;const se=()=>z(F,Y);Ia(F,p),F._enterCancelled?(Ia(F,E),eT()):(eT(),Ia(F,E)),Xf(()=>{F._isLeaving&&(gs(F,p),Ia(F,f),Yf(A)||Qf(F,a,R,se))}),Os(A,[F,se])},onEnterCancelled(F){D(F,!1,void 0,!0),Os(S,[F])},onAppearCancelled(F){D(F,!0,void 0,!0),Os(C,[F])},onLeaveCancelled(F){z(F),Os(v,[F])}})}function bN(e){if(e==null)return null;if(Rt(e))return[vc(e.enter),vc(e.leave)];{const t=vc(e);return[t,t]}}function vc(e){return $I(e)}function Ia(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ui]||(e[Ui]=new Set)).add(t)}function gs(e,t){t.split(/\s+/).forEach(a=>a&&e.classList.remove(a));const n=e[Ui];n&&(n.delete(t),n.size||(e[Ui]=void 0))}function Xf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let CN=0;function Qf(e,t,n,a){const s=e._endId=++CN,r=()=>{s===e._endId&&a()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:o,propCount:u}=DN(e,t);if(!i)return a();const l=i+"end";let c=0;const p=()=>{e.removeEventListener(l,E),r()},E=f=>{f.target===e&&++c>=u&&p()};setTimeout(()=>{c(n[_]||"").split(", "),s=a(`${Va}Delay`),r=a(`${Va}Duration`),i=Zf(s,r),o=a(`${qr}Delay`),u=a(`${qr}Duration`),l=Zf(o,u);let c=null,p=0,E=0;t===Va?i>0&&(c=Va,p=i,E=r.length):t===qr?l>0&&(c=qr,p=l,E=u.length):(p=Math.max(i,l),c=p>0?i>l?Va:qr:null,E=c?c===Va?r.length:u.length:0);const f=c===Va&&/\b(transform|all)(,|$)/.test(a(`${Va}Property`).toString());return{type:c,timeout:p,propCount:E,hasTransform:f}}function Zf(e,t){for(;e.lengthJf(n)+Jf(e[a])))}function Jf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function eT(){return document.body.offsetHeight}function PN(e,t,n){const a=e[Ui];a&&(t=(t?[t,...a]:[...a]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vu=Symbol("_vod"),u1=Symbol("_vsh"),Yr={beforeMount(e,{value:t},{transition:n}){e[vu]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:a}){!t!=!n&&(a?t?(a.beforeEnter(e),Xr(e,!0),a.enter(e)):a.leave(e,()=>{Xr(e,!1)}):Xr(e,t))},beforeUnmount(e,{value:t}){Xr(e,t)}};function Xr(e,t){e.style.display=t?e[vu]:"none",e[u1]=!t}const LN=Symbol(""),yN=/(^|;)\s*display\s*:/;function $N(e,t,n){const a=e.style,s=Mt(n);let r=!1;if(n&&!s){if(t)if(Mt(t))for(const i of t.split(";")){const o=i.slice(0,i.indexOf(":")).trim();n[o]==null&&ru(a,o,"")}else for(const i in t)n[i]==null&&ru(a,i,"");for(const i in n)i==="display"&&(r=!0),ru(a,i,n[i])}else if(s){if(t!==n){const i=a[LN];i&&(n+=";"+i),a.cssText=n,r=yN.test(n)}}else t&&e.removeAttribute("style");vu in e&&(e[vu]=r?a.display:"",e[u1]&&(a.display="none"))}const tT=/\s*!important$/;function ru(e,t,n){if(we(n))n.forEach(a=>ru(e,t,a));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const a=kN(e,t);tT.test(n)?e.setProperty(ds(a),n.replace(tT,""),"important"):e[a]=n}}const nT=["Webkit","Moz","ms"],bc={};function kN(e,t){const n=bc[t];if(n)return n;let a=jn(t);if(a!=="filter"&&a in e)return bc[t]=a;a=Ve(a);for(let s=0;sCc||(WN.then(()=>Cc=0),Cc=Date.now());function zN(e,t){const n=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=n.attached)return;ta(xN(a,n.value),t,5,[a])};return n.value=e,n.attached=FN(),n}function xN(e,t){if(we(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(a=>s=>!s._stopped&&a&&a(s))}else return t}const uT=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,BN=(e,t,n,a,s,r)=>{const i=s==="svg";t==="class"?PN(e,a,i):t==="style"?$N(e,n,a):Pl(t)?xE(t)||wN(e,t,n,a,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):GN(e,t,a,i))?(rT(e,t,a),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&sT(e,t,a,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Mt(a))?rT(e,jn(t),a,r,t):(t==="true-value"?e._trueValue=a:t==="false-value"&&(e._falseValue=a),sT(e,t,a,i))};function GN(e,t,n,a){if(a)return!!(t==="innerHTML"||t==="textContent"||t in e&&uT(t)&&Ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return uT(t)&&Mt(n)?!1:t in e}const ls=e=>{const t=e.props["onUpdate:modelValue"]||!1;return we(t)?n=>tu(t,n):t};function HN(e){e.target.composing=!0}function lT(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vn=Symbol("_assign"),st={created(e,{modifiers:{lazy:t,trim:n,number:a}},s){e[Vn]=ls(s);const r=a||s.props&&s.props.type==="number";Ua(e,t?"change":"input",i=>{if(i.target.composing)return;let o=e.value;n&&(o=o.trim()),r&&(o=hu(o)),e[Vn](o)}),n&&Ua(e,"change",()=>{e.value=e.value.trim()}),t||(Ua(e,"compositionstart",HN),Ua(e,"compositionend",lT),Ua(e,"change",lT))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:a,trim:s,number:r}},i){if(e[Vn]=ls(i),e.composing)return;const o=(r||e.type==="number")&&!/^0\d/.test(e.value)?hu(e.value):e.value,u=t??"";o!==u&&(document.activeElement===e&&e.type!=="range"&&(a&&t===n||s&&e.value.trim()===u)||(e.value=u))}},Fl={deep:!0,created(e,t,n){e[Vn]=ls(n),Ua(e,"change",()=>{const a=e._modelValue,s=Or(e),r=e.checked,i=e[Vn];if(we(a)){const o=HE(a,s),u=o!==-1;if(r&&!u)i(a.concat(s));else if(!r&&u){const l=[...a];l.splice(o,1),i(l)}}else if(Mr(a)){const o=new Set(a);r?o.add(s):o.delete(s),i(o)}else i(l1(e,r))})},mounted:cT,beforeUpdate(e,t,n){e[Vn]=ls(n),cT(e,t,n)}};function cT(e,{value:t,oldValue:n},a){e._modelValue=t;let s;if(we(t))s=HE(t,a.props.value)>-1;else if(Mr(t))s=t.has(a.props.value);else{if(t===n)return;s=Us(t,l1(e,!0))}e.checked!==s&&(e.checked=s)}const VN={created(e,{value:t},n){e.checked=Us(t,n.props.value),e[Vn]=ls(n),Ua(e,"change",()=>{e[Vn](Or(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[Vn]=ls(a),t!==n&&(e.checked=Us(t,a.props.value))}},ha={deep:!0,created(e,{value:t,modifiers:{number:n}},a){const s=Mr(t);Ua(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?hu(Or(i)):Or(i));e[Vn](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,mn(()=>{e._assigning=!1})}),e[Vn]=ls(a)},mounted(e,{value:t}){dT(e,t)},beforeUpdate(e,t,n){e[Vn]=ls(n)},updated(e,{value:t}){e._assigning||dT(e,t)}};function dT(e,t){const n=e.multiple,a=we(t);if(!(n&&!a&&!Mr(t))){for(let s=0,r=e.options.length;sString(l)===String(o)):i.selected=HE(t,o)>-1}else i.selected=t.has(o);else if(Us(Or(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Or(e){return"_value"in e?e._value:e.value}function l1(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const KN={created(e,t,n){Lo(e,t,n,null,"created")},mounted(e,t,n){Lo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,a){Lo(e,t,n,a,"beforeUpdate")},updated(e,t,n,a){Lo(e,t,n,a,"updated")}};function jN(e,t){switch(e){case"SELECT":return ha;case"TEXTAREA":return st;default:switch(t){case"checkbox":return Fl;case"radio":return VN;default:return st}}}function Lo(e,t,n,a,s){const i=jN(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,a)}const qN=["ctrl","shift","alt","meta"],YN={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>qN.some(n=>e[`${n}Key`]&&!t.includes(n))},De=(e,t)=>{const n=e._withMods||(e._withMods={}),a=t.join(".");return n[a]||(n[a]=(s,...r)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=s=>{if(!("key"in s))return;const r=ds(s.key);if(t.some(i=>i===r||XN[i]===r))return e(s)})},QN=xt({patchProp:BN},IN);let ET;function c1(){return ET||(ET=YR(QN))}const ZN=(...e)=>{c1().render(...e)},JN=(...e)=>{const t=c1().createApp(...e),{mount:n}=t;return t.mount=a=>{const s=tv(a);if(!s)return;const r=t._component;!Ye(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,ev(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function ev(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function tv(e){return Mt(e)?document.querySelector(e):e}var nv=Object.defineProperty,av=Object.defineProperties,sv=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,d1=Object.prototype.hasOwnProperty,E1=Object.prototype.propertyIsEnumerable,pT=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},p1=function(e){return e},rv=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},fT=Math.max,iv=function(e,t,n){return t=fT(t===void 0?e.length-1:t,0),function(){for(var a=arguments,s=-1,r=fT(a.length-t,0),i=Array(r);++s0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Uv),Wv=p1,Fv=iv,zv=Mv,xv=function(e,t){return zv(Fv(e,t,Wv),e+"")},_1=function(e,t){return e===t||e!=e&&t!=t},h1=function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991},Bv=m1,Gv=h1,S1=function(e){return e!=null&&Gv(e.length)&&!Bv(e)},Hv=/^(?:0|[1-9]\d*)$/,A1=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&(n=="number"||n!="symbol"&&Hv.test(e))&&e>-1&&e%1==0&&e2?t[2]:void 0;for(s&&Pb(t[0],t[1],s)&&(a=1);++ne.pageOnly||!Ia.isEnabled),r=M(()=>(s.value||e.teleport)&&a.isFullscreen?{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}:void 0);function i(){t("change",a.isFullscreen),t("update:modelValue",a.isFullscreen),t("update:fullscreen",a.isFullscreen)}function o(){Ia.isFullscreen||Ia.off("change",o),a.isFullscreen=Ia.isFullscreen,i()}function u(E){E.key==="Escape"&&c()}function l(){s.value?(a.isFullscreen=!0,i(),document.removeEventListener("keyup",u),document.addEventListener("keyup",u)):(Ia.off("change",o),Ia.on("change",o),Ia.request(e.teleport?document.body:n.value))}function c(){a.isFullscreen&&(s.value?(a.isFullscreen=!1,i(),document.removeEventListener("keyup",u)):Ia.exit())}return We(()=>e.fullscreen,E=>{E!==a.isFullscreen&&(E?l():c())}),We(()=>e.modelValue,E=>{E!==a.isFullscreen&&(E?l():c())}),p=((E,f)=>{for(var _ in f||(f={}))l1.call(f,_)&&ET(E,_,f[_]);if(vu)for(var _ of vu(f))c1.call(f,_)&&ET(E,_,f[_]);return E})({wrapper:n,wrapperStyle:r},he(a)),rv(p,iv({toggle:function(E){E===void 0?a.isFullscreen?c():l():E?l():c()},request:l,exit:c,shadeClick:function(E){E.target===n.value&&e.exitOnClickWrapper&&c()}}));var p}});I1.render=function(e,t,n,a,s,r){return h(),j(AR,{to:"body",disabled:!e.teleport||!e.fullscreen},[W("div",e1({ref:"wrapper"},e.$attrs,{style:e.wrapperStyle,class:{[e.fullscreenClass]:e.isFullscreen},onClick:t[1]||(t[1]=i=>e.shadeClick(i))}),[Ut(e.$slots,"default")],16)],8,["disabled"])};const wb=typeof window<"u"&&window!==null;(function(){if(wb&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0})();const Mb=Object.prototype.propertyIsEnumerable,NT=Object.getOwnPropertySymbols;function iu(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function Wb(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function Fb(e,...t){if(!iu(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof NT!="function")return e;for(const n of t){const a=NT(n);for(const s of a)Mb.call(n,s)&&(e[s]=n[s])}return e}function rp(e,...t){let n=0;var a;for((typeof(a=e)=="object"?a===null:typeof a!="function")&&(e=t[n++]),e||(e={});n{a.key==="Escape"&&(document.removeEventListener("keyup",n),this.exit())};return this.isFullscreen=!0,this.element=e,document.removeEventListener("keyup",n),document.addEventListener("keyup",n),this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()}{const n=()=>{ua.isFullscreen||(ua.off("change",n),bT(this)),this.isFullscreen=ua.isFullscreen,this.options.teleport?this.element=e||null:this.element=ua.element,this.options.callback&&this.options.callback(ua.isFullscreen)};return ua.on("change",n),ua.request(this.options.teleport?document.body:e)}},exit(){return this.isFullscreen?this.options.pageOnly?(bT(this),this.isFullscreen=!1,this.element=null,this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()):ua.exit():Promise.resolve()}},zb=(e,t,n)=>{const a=()=>{let s;const r={teleport:t.modifiers.teleport,pageOnly:t.modifiers.pageOnly};if(t.value)if(typeof t.value=="string")s=t.value;else{const i=t.value,{target:o}=i,u=((l,c)=>{var p={};for(var E in l)l1.call(l,E)&&c.indexOf(E)<0&&(p[E]=l[E]);if(l!=null&&vu)for(var E of vu(l))c.indexOf(E)<0&&c1.call(l,E)&&(p[E]=l[E]);return p})(i,["target"]);s=o,rp(r,u)}typeof s=="string"&&(s=document.querySelector(s)),N1.toggle(s,r)};e._onClickFullScreen&&e.removeEventListener("click",e._onClickFullScreen),e.addEventListener("click",a),e._onClickFullScreen=a};var xb={install(e,{name:t="fullscreen"}={}){e.config.globalProperties[`$${t}`]=N1,e.component(t,Ub(I1,{name:t})),e.directive(t,zb)}};const Bb={id:"footer"},Gb={class:"footer-items"},Hb={class:"footer-item"},Vb={class:"footer-item"},Kb={key:0,class:"footer-item bullet"},jb={key:1,class:"footer-item"},qb=["href"],Yb={class:"footer-item"},Xb=ee({__name:"Footer",props:{version:{},adminContact:{}},setup(e){const t=e,{adminContact:n,version:a}=he(t);return(s,r)=>{const i=re("router-link");return h(),R("footer",Bb,[d("div",Gb,[d("div",Hb,[r[0]||(r[0]=d("strong",null,"FitTrackee",-1)),H(" v"+m(T(a)),1)]),r[1]||(r[1]=d("div",{class:"footer-item bullet"},"•",-1)),d("div",Vb,[W(i,{to:"/about"},{default:ue(()=>[H(m(s.$t("common.ABOUT")),1)]),_:1})]),T(n)?(h(),R("div",Kb,"•")):w("",!0),T(n)?(h(),R("div",jb,[d("a",{href:`mailto:${T(n)}`},m(s.$t("common.CONTACT")),9,qb)])):w("",!0),r[2]||(r[2]=d("div",{class:"footer-item bullet"},"•",-1)),d("div",Yb,[W(i,{to:"/privacy-policy"},{default:ue(()=>[H(m(s.$t("privacy_policy.TITLE")),1)]),_:1})])])])}}}),ie=(e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n},Qb=ie(Xb,[["__scopeId","data-v-7bc410b7"]]),Zb="/img/weather/clear-day.svg";function v1(e,t){return function(){return e.apply(t,arguments)}}const{toString:Jb}=Object.prototype,{getPrototypeOf:ip}=Object,zl=(e=>t=>{const n=Jb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),aa=e=>(e=e.toLowerCase(),t=>zl(t)===e),xl=e=>t=>typeof t===e,{isArray:Wr}=Array,wi=xl("undefined");function e2(e){return e!==null&&!wi(e)&&e.constructor!==null&&!wi(e.constructor)&&Mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const b1=aa("ArrayBuffer");function t2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&b1(e.buffer),t}const n2=xl("string"),Mn=xl("function"),C1=xl("number"),Bl=e=>e!==null&&typeof e=="object",a2=e=>e===!0||e===!1,ou=e=>{if(zl(e)!=="object")return!1;const t=ip(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},s2=aa("Date"),r2=aa("File"),i2=aa("Blob"),o2=aa("FileList"),u2=e=>Bl(e)&&Mn(e.pipe),l2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mn(e.append)&&((t=zl(e))==="formdata"||t==="object"&&Mn(e.toString)&&e.toString()==="[object FormData]"))},c2=aa("URLSearchParams"),[d2,E2,p2,f2]=["ReadableStream","Request","Response","Headers"].map(aa),T2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function uo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,s;if(typeof e!="object"&&(e=[e]),Wr(e))for(a=0,s=e.length;a0;)if(s=n[a],t===s.toLowerCase())return s;return null}const Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,P1=e=>!wi(e)&&e!==Ps;function bd(){const{caseless:e}=P1(this)&&this||{},t={},n=(a,s)=>{const r=e&&D1(t,s)||s;ou(t[r])&&ou(a)?t[r]=bd(t[r],a):ou(a)?t[r]=bd({},a):Wr(a)?t[r]=a.slice():t[r]=a};for(let a=0,s=arguments.length;a(uo(t,(s,r)=>{n&&Mn(s)?e[r]=v1(s,n):e[r]=s},{allOwnKeys:a}),e),_2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),h2=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},S2=(e,t,n,a)=>{let s,r,i;const o={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),r=s.length;r-- >0;)i=s[r],(!a||a(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=n!==!1&&ip(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},A2=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},O2=e=>{if(!e)return null;if(Wr(e))return e;let t=e.length;if(!C1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},g2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ip(Uint8Array)),I2=(e,t)=>{const a=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=a.next())&&!s.done;){const r=s.value;t.call(e,r[0],r[1])}},R2=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},N2=aa("HTMLFormElement"),v2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,s){return a.toUpperCase()+s}),CT=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),b2=aa("RegExp"),L1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};uo(n,(s,r)=>{let i;(i=t(s,r,e))!==!1&&(a[r]=i||s)}),Object.defineProperties(e,a)},C2=e=>{L1(e,(t,n)=>{if(Mn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=e[n];if(Mn(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},D2=(e,t)=>{const n={},a=s=>{s.forEach(r=>{n[r]=!0})};return Wr(e)?a(e):a(String(e).split(t)),n},P2=()=>{},L2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,$c="abcdefghijklmnopqrstuvwxyz",DT="0123456789",y1={DIGIT:DT,ALPHA:$c,ALPHA_DIGIT:$c+$c.toUpperCase()+DT},y2=(e=16,t=y1.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n};function $2(e){return!!(e&&Mn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const k2=e=>{const t=new Array(10),n=(a,s)=>{if(Bl(a)){if(t.indexOf(a)>=0)return;if(!("toJSON"in a)){t[s]=a;const r=Wr(a)?[]:{};return uo(a,(i,o)=>{const u=n(i,s+1);!wi(u)&&(r[o]=u)}),t[s]=void 0,r}}return a};return n(e,0)},U2=aa("AsyncFunction"),w2=e=>e&&(Bl(e)||Mn(e))&&Mn(e.then)&&Mn(e.catch),$1=((e,t)=>e?setImmediate:t?((n,a)=>(Ps.addEventListener("message",({source:s,data:r})=>{s===Ps&&r===n&&a.length&&a.shift()()},!1),s=>{a.push(s),Ps.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mn(Ps.postMessage)),M2=typeof queueMicrotask<"u"?queueMicrotask.bind(Ps):typeof process<"u"&&process.nextTick||$1,J={isArray:Wr,isArrayBuffer:b1,isBuffer:e2,isFormData:l2,isArrayBufferView:t2,isString:n2,isNumber:C1,isBoolean:a2,isObject:Bl,isPlainObject:ou,isReadableStream:d2,isRequest:E2,isResponse:p2,isHeaders:f2,isUndefined:wi,isDate:s2,isFile:r2,isBlob:i2,isRegExp:b2,isFunction:Mn,isStream:u2,isURLSearchParams:c2,isTypedArray:g2,isFileList:o2,forEach:uo,merge:bd,extend:m2,trim:T2,stripBOM:_2,inherits:h2,toFlatObject:S2,kindOf:zl,kindOfTest:aa,endsWith:A2,toArray:O2,forEachEntry:I2,matchAll:R2,isHTMLForm:N2,hasOwnProperty:CT,hasOwnProp:CT,reduceDescriptors:L1,freezeMethods:C2,toObjectSet:D2,toCamelCase:v2,noop:P2,toFiniteNumber:L2,findKey:D1,global:Ps,isContextDefined:P1,ALPHABET:y1,generateString:y2,isSpecCompliantForm:$2,toJSONObject:k2,isAsyncFn:U2,isThenable:w2,setImmediate:$1,asap:M2};function Qe(e,t,n,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),s&&(this.response=s,this.status=s.status?s.status:null)}J.inherits(Qe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});const k1=Qe.prototype,U1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{U1[e]={value:e}});Object.defineProperties(Qe,U1);Object.defineProperty(k1,"isAxiosError",{value:!0});Qe.from=(e,t,n,a,s,r)=>{const i=Object.create(k1);return J.toFlatObject(e,i,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),Qe.call(i,e.message,t,n,a,s),i.cause=e,i.name=e.name,r&&Object.assign(i,r),i};const W2=null;function Cd(e){return J.isPlainObject(e)||J.isArray(e)}function w1(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function PT(e,t,n){return e?e.concat(t).map(function(s,r){return s=w1(s),!n&&r?"["+s+"]":s}).join(n?".":""):t}function F2(e){return J.isArray(e)&&!e.some(Cd)}const z2=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Gl(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,I){return!J.isUndefined(I[O])});const a=n.metaTokens,s=n.visitor||c,r=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function l(_){if(_===null)return"";if(J.isDate(_))return _.toISOString();if(!u&&J.isBlob(_))throw new Qe("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(_)||J.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function c(_,O,I){let g=_;if(_&&!I&&typeof _=="object"){if(J.endsWith(O,"{}"))O=a?O:O.slice(0,-2),_=JSON.stringify(_);else if(J.isArray(_)&&F2(_)||(J.isFileList(_)||J.endsWith(O,"[]"))&&(g=J.toArray(_)))return O=w1(O),g.forEach(function(S,A){!(J.isUndefined(S)||S===null)&&t.append(i===!0?PT([O],A,r):i===null?O:O+"[]",l(S))}),!1}return Cd(_)?!0:(t.append(PT(I,O,r),l(_)),!1)}const p=[],E=Object.assign(z2,{defaultVisitor:c,convertValue:l,isVisitable:Cd});function f(_,O){if(!J.isUndefined(_)){if(p.indexOf(_)!==-1)throw Error("Circular reference detected in "+O.join("."));p.push(_),J.forEach(_,function(g,N){(!(J.isUndefined(g)||g===null)&&s.call(t,g,J.isString(N)?N.trim():N,O,E))===!0&&f(g,O?O.concat(N):[N])}),p.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return f(e),t}function LT(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function op(e,t){this._pairs=[],e&&Gl(e,this,t)}const M1=op.prototype;M1.append=function(t,n){this._pairs.push([t,n])};M1.toString=function(t){const n=t?function(a){return t.call(this,a,LT)}:LT;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function x2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function W1(e,t,n){if(!t)return e;const a=n&&n.encode||x2,s=n&&n.serialize;let r;if(s?r=s(t,n):r=J.isURLSearchParams(t)?t.toString():new op(t,n).toString(a),r){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class yT{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(a){a!==null&&t(a)})}}const F1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},B2=typeof URLSearchParams<"u"?URLSearchParams:op,G2=typeof FormData<"u"?FormData:null,H2=typeof Blob<"u"?Blob:null,V2={isBrowser:!0,classes:{URLSearchParams:B2,FormData:G2,Blob:H2},protocols:["http","https","file","blob","url","data"]},up=typeof window<"u"&&typeof document<"u",Dd=typeof navigator=="object"&&navigator||void 0,K2=up&&(!Dd||["ReactNative","NativeScript","NS"].indexOf(Dd.product)<0),j2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",q2=up&&window.location.href||"http://localhost",Y2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:up,hasStandardBrowserEnv:K2,hasStandardBrowserWebWorkerEnv:j2,navigator:Dd,origin:q2},Symbol.toStringTag,{value:"Module"})),On={...Y2,...V2};function X2(e,t){return Gl(e,new On.classes.URLSearchParams,Object.assign({visitor:function(n,a,s,r){return On.isNode&&J.isBuffer(n)?(this.append(a,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Q2(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Z2(e){const t={},n=Object.keys(e);let a;const s=n.length;let r;for(a=0;a=n.length;return i=!i&&J.isArray(s)?s.length:i,u?(J.hasOwnProp(s,i)?s[i]=[s[i],a]:s[i]=a,!o):((!s[i]||!J.isObject(s[i]))&&(s[i]=[]),t(n,a,s[i],r)&&J.isArray(s[i])&&(s[i]=Z2(s[i])),!o)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(a,s)=>{t(Q2(a),s,n,0)}),n}return null}function J2(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(0,JSON.stringify)(e)}const lo={transitional:F1,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const a=n.getContentType()||"",s=a.indexOf("application/json")>-1,r=J.isObject(t);if(r&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s?JSON.stringify(z1(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(a.indexOf("application/x-www-form-urlencoded")>-1)return X2(t,this.formSerializer).toString();if((o=J.isFileList(t))||a.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Gl(o?{"files[]":t}:t,u&&new u,this.formSerializer)}}return r||s?(n.setContentType("application/json",!1),J2(t)):t}],transformResponse:[function(t){const n=this.transitional||lo.transitional,a=n&&n.forcedJSONParsing,s=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(a&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?Qe.from(o,Qe.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:On.classes.FormData,Blob:On.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{lo.headers[e]={}});const eC=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),tC=e=>{const t={};let n,a,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),a=i.substring(s+1).trim(),!(!n||t[n]&&eC[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t},$T=Symbol("internals");function Jr(e){return e&&String(e).trim().toLowerCase()}function uu(e){return e===!1||e==null?e:J.isArray(e)?e.map(uu):String(e)}function nC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const aC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function kc(e,t,n,a,s){if(J.isFunction(a))return a.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(a))return t.indexOf(a)!==-1;if(J.isRegExp(a))return a.test(t)}}function sC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function rC(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{value:function(s,r,i){return this[a].call(this,t,s,r,i)},configurable:!0})})}class gn{constructor(t){t&&this.set(t)}set(t,n,a){const s=this;function r(o,u,l){const c=Jr(u);if(!c)throw new Error("header name must be a non-empty string");const p=J.findKey(s,c);(!p||s[p]===void 0||l===!0||l===void 0&&s[p]!==!1)&&(s[p||u]=uu(o))}const i=(o,u)=>J.forEach(o,(l,c)=>r(l,c,u));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!aC(t))i(tC(t),n);else if(J.isHeaders(t))for(const[o,u]of t.entries())r(u,o,a);else t!=null&&r(n,t,a);return this}get(t,n){if(t=Jr(t),t){const a=J.findKey(this,t);if(a){const s=this[a];if(!n)return s;if(n===!0)return nC(s);if(J.isFunction(n))return n.call(this,s,a);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jr(t),t){const a=J.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||kc(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let s=!1;function r(i){if(i=Jr(i),i){const o=J.findKey(a,i);o&&(!n||kc(a,a[o],o,n))&&(delete a[o],s=!0)}}return J.isArray(t)?t.forEach(r):r(t),s}clear(t){const n=Object.keys(this);let a=n.length,s=!1;for(;a--;){const r=n[a];(!t||kc(this,this[r],r,t,!0))&&(delete this[r],s=!0)}return s}normalize(t){const n=this,a={};return J.forEach(this,(s,r)=>{const i=J.findKey(a,r);if(i){n[i]=uu(s),delete n[r];return}const o=t?sC(r):String(r).trim();o!==r&&delete n[r],n[o]=uu(s),a[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(a,s)=>{a!=null&&a!==!1&&(n[s]=t&&J.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(s=>a.set(s)),a}static accessor(t){const a=(this[$T]=this[$T]={accessors:{}}).accessors,s=this.prototype;function r(i){const o=Jr(i);a[o]||(rC(s,i),a[o]=!0)}return J.isArray(t)?t.forEach(r):r(t),this}}gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(gn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}});J.freezeMethods(gn);function Uc(e,t){const n=this||lo,a=t||n,s=gn.from(a.headers);let r=a.data;return J.forEach(e,function(o){r=o.call(n,r,s.normalize(),t?t.status:void 0)}),s.normalize(),r}function x1(e){return!!(e&&e.__CANCEL__)}function Fr(e,t,n){Qe.call(this,e??"canceled",Qe.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Fr,Qe,{__CANCEL__:!0});function B1(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new Qe("Request failed with status code "+n.status,[Qe.ERR_BAD_REQUEST,Qe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function iC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function oC(e,t){e=e||10;const n=new Array(e),a=new Array(e);let s=0,r=0,i;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=a[r];i||(i=l),n[s]=u,a[s]=l;let p=r,E=0;for(;p!==s;)E+=n[p++],p=p%e;if(s=(s+1)%e,s===r&&(r=(r+1)%e),l-i{n=c,s=null,r&&(clearTimeout(r),r=null),e.apply(null,l)};return[(...l)=>{const c=Date.now(),p=c-n;p>=a?i(l,c):(s=l,r||(r=setTimeout(()=>{r=null,i(s)},a-p)))},()=>s&&i(s)]}const Cu=(e,t,n=3)=>{let a=0;const s=oC(50,250);return uC(r=>{const i=r.loaded,o=r.lengthComputable?r.total:void 0,u=i-a,l=s(u),c=i<=o;a=i;const p={loaded:i,total:o,progress:o?i/o:void 0,bytes:u,rate:l||void 0,estimated:l&&o&&c?(o-i)/l:void 0,event:r,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(p)},n)},kT=(e,t)=>{const n=e!=null;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},UT=e=>(...t)=>J.asap(()=>e(...t)),lC=On.hasStandardBrowserEnv?function(){const t=On.navigator&&/(msie|trident)/i.test(On.navigator.userAgent),n=document.createElement("a");let a;function s(r){let i=r;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=s(window.location.href),function(i){const o=J.isString(i)?s(i):i;return o.protocol===a.protocol&&o.host===a.host}}():function(){return function(){return!0}}(),cC=On.hasStandardBrowserEnv?{write(e,t,n,a,s,r){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(a)&&i.push("path="+a),J.isString(s)&&i.push("domain="+s),r===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function dC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function EC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function G1(e,t){return e&&!dC(t)?EC(e,t):t}const wT=e=>e instanceof gn?{...e}:e;function Ms(e,t){t=t||{};const n={};function a(l,c,p){return J.isPlainObject(l)&&J.isPlainObject(c)?J.merge.call({caseless:p},l,c):J.isPlainObject(c)?J.merge({},c):J.isArray(c)?c.slice():c}function s(l,c,p){if(J.isUndefined(c)){if(!J.isUndefined(l))return a(void 0,l,p)}else return a(l,c,p)}function r(l,c){if(!J.isUndefined(c))return a(void 0,c)}function i(l,c){if(J.isUndefined(c)){if(!J.isUndefined(l))return a(void 0,l)}else return a(void 0,c)}function o(l,c,p){if(p in t)return a(l,c);if(p in e)return a(void 0,l)}const u={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:o,headers:(l,c)=>s(wT(l),wT(c),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(c){const p=u[c]||s,E=p(e[c],t[c],c);J.isUndefined(E)&&p!==o||(n[c]=E)}),n}const H1=e=>{const t=Ms({},e);let{data:n,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:r,headers:i,auth:o}=t;t.headers=i=gn.from(i),t.url=W1(G1(t.baseURL,t.url),e.params,e.paramsSerializer),o&&i.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let u;if(J.isFormData(n)){if(On.hasStandardBrowserEnv||On.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[l,...c]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...c].join("; "))}}if(On.hasStandardBrowserEnv&&(a&&J.isFunction(a)&&(a=a(t)),a||a!==!1&&lC(t.url))){const l=s&&r&&cC.read(r);l&&i.set(s,l)}return t},pC=typeof XMLHttpRequest<"u",fC=pC&&function(e){return new Promise(function(n,a){const s=H1(e);let r=s.data;const i=gn.from(s.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=s,c,p,E,f,_;function O(){f&&f(),_&&_(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let I=new XMLHttpRequest;I.open(s.method.toUpperCase(),s.url,!0),I.timeout=s.timeout;function g(){if(!I)return;const S=gn.from("getAllResponseHeaders"in I&&I.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?I.responseText:I.response,status:I.status,statusText:I.statusText,headers:S,config:e,request:I};B1(function(P){n(P),O()},function(P){a(P),O()},v),I=null}"onloadend"in I?I.onloadend=g:I.onreadystatechange=function(){!I||I.readyState!==4||I.status===0&&!(I.responseURL&&I.responseURL.indexOf("file:")===0)||setTimeout(g)},I.onabort=function(){I&&(a(new Qe("Request aborted",Qe.ECONNABORTED,e,I)),I=null)},I.onerror=function(){a(new Qe("Network Error",Qe.ERR_NETWORK,e,I)),I=null},I.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const v=s.transitional||F1;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),a(new Qe(A,v.clarifyTimeoutError?Qe.ETIMEDOUT:Qe.ECONNABORTED,e,I)),I=null},r===void 0&&i.setContentType(null),"setRequestHeader"in I&&J.forEach(i.toJSON(),function(A,v){I.setRequestHeader(v,A)}),J.isUndefined(s.withCredentials)||(I.withCredentials=!!s.withCredentials),o&&o!=="json"&&(I.responseType=s.responseType),l&&([E,_]=Cu(l,!0),I.addEventListener("progress",E)),u&&I.upload&&([p,f]=Cu(u),I.upload.addEventListener("progress",p),I.upload.addEventListener("loadend",f)),(s.cancelToken||s.signal)&&(c=S=>{I&&(a(!S||S.type?new Fr(null,e,I):S),I.abort(),I=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const N=iC(s.url);if(N&&On.protocols.indexOf(N)===-1){a(new Qe("Unsupported protocol "+N+":",Qe.ERR_BAD_REQUEST,e));return}I.send(r||null)})},TC=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let a=new AbortController,s;const r=function(l){if(!s){s=!0,o();const c=l instanceof Error?l:this.reason;a.abort(c instanceof Qe?c:new Fr(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,r(new Qe(`timeout ${t} of ms exceeded`,Qe.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(r):l.removeEventListener("abort",r)}),e=null)};e.forEach(l=>l.addEventListener("abort",r));const{signal:u}=a;return u.unsubscribe=()=>J.asap(o),u}},mC=function*(e,t){let n=e.byteLength;if(n{const s=_C(e,t);let r=0,i,o=u=>{i||(i=!0,a&&a(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await s.next();if(l){o(),u.close();return}let p=c.byteLength;if(n){let E=r+=p;n(E)}u.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(u){return o(u),s.return()}},{highWaterMark:2})},Hl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",V1=Hl&&typeof ReadableStream=="function",SC=Hl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),K1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},AC=V1&&K1(()=>{let e=!1;const t=new Request(On.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),WT=64*1024,Pd=V1&&K1(()=>J.isReadableStream(new Response("").body)),Du={stream:Pd&&(e=>e.body)};Hl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Du[t]&&(Du[t]=J.isFunction(e[t])?n=>n[t]():(n,a)=>{throw new Qe(`Response type '${t}' is not supported`,Qe.ERR_NOT_SUPPORT,a)})})})(new Response);const OC=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new Request(On.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(J.isArrayBufferView(e)||J.isArrayBuffer(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e=e+""),J.isString(e))return(await SC(e)).byteLength},gC=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??OC(t)},IC=Hl&&(async e=>{let{url:t,method:n,data:a,signal:s,cancelToken:r,timeout:i,onDownloadProgress:o,onUploadProgress:u,responseType:l,headers:c,withCredentials:p="same-origin",fetchOptions:E}=H1(e);l=l?(l+"").toLowerCase():"text";let f=TC([s,r&&r.toAbortSignal()],i),_;const O=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let I;try{if(u&&AC&&n!=="get"&&n!=="head"&&(I=await gC(c,a))!==0){let v=new Request(t,{method:"POST",body:a,duplex:"half"}),y;if(J.isFormData(a)&&(y=v.headers.get("content-type"))&&c.setContentType(y),v.body){const[P,C]=kT(I,Cu(UT(u)));a=MT(v.body,WT,P,C)}}J.isString(p)||(p=p?"include":"omit");const g="credentials"in Request.prototype;_=new Request(t,{...E,signal:f,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:a,duplex:"half",credentials:g?p:void 0});let N=await fetch(_);const S=Pd&&(l==="stream"||l==="response");if(Pd&&(o||S&&O)){const v={};["status","statusText","headers"].forEach(D=>{v[D]=N[D]});const y=J.toFiniteNumber(N.headers.get("content-length")),[P,C]=o&&kT(y,Cu(UT(o),!0))||[];N=new Response(MT(N.body,WT,P,()=>{C&&C(),O&&O()}),v)}l=l||"text";let A=await Du[J.findKey(Du,l)||"text"](N,e);return!S&&O&&O(),await new Promise((v,y)=>{B1(v,y,{data:A,headers:gn.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:_})})}catch(g){throw O&&O(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new Qe("Network Error",Qe.ERR_NETWORK,e,_),{cause:g.cause||g}):Qe.from(g,g&&g.code,e,_)}}),Ld={http:W2,xhr:fC,fetch:IC};J.forEach(Ld,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const FT=e=>`- ${e}`,RC=e=>J.isFunction(e)||e===null||e===!1,j1={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,a;const s={};for(let r=0;r`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?r.length>1?`since : -`+r.map(FT).join(` -`):" "+FT(r[0]):"as no adapter specified";throw new Qe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return a},adapters:Ld};function wc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fr(null,e)}function zT(e){return wc(e),e.headers=gn.from(e.headers),e.data=Uc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),j1.getAdapter(e.adapter||lo.adapter)(e).then(function(a){return wc(e),a.data=Uc.call(e,e.transformResponse,a),a.headers=gn.from(a.headers),a},function(a){return x1(a)||(wc(e),a&&a.response&&(a.response.data=Uc.call(e,e.transformResponse,a.response),a.response.headers=gn.from(a.response.headers))),Promise.reject(a)})}const q1="1.7.7",lp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lp[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const xT={};lp.transitional=function(t,n,a){function s(r,i){return"[Axios v"+q1+"] Transitional option '"+r+"'"+i+(a?". "+a:"")}return(r,i,o)=>{if(t===!1)throw new Qe(s(i," has been removed"+(n?" in "+n:"")),Qe.ERR_DEPRECATED);return n&&!xT[i]&&(xT[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,o):!0}};function NC(e,t,n){if(typeof e!="object")throw new Qe("options must be an object",Qe.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let s=a.length;for(;s-- >0;){const r=a[s],i=t[r];if(i){const o=e[r],u=o===void 0||i(o,r,e);if(u!==!0)throw new Qe("option "+r+" must be "+u,Qe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Qe("Unknown option "+r,Qe.ERR_BAD_OPTION)}}const yd={assertOptions:NC,validators:lp},Ka=yd.validators;class ks{constructor(t){this.defaults=t,this.interceptors={request:new yT,response:new yT}}async request(t,n){try{return await this._request(t,n)}catch(a){if(a instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{a.stack?r&&!String(a.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(a.stack+=` -`+r):a.stack=r}catch{}}throw a}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ms(this.defaults,n);const{transitional:a,paramsSerializer:s,headers:r}=n;a!==void 0&&yd.assertOptions(a,{silentJSONParsing:Ka.transitional(Ka.boolean),forcedJSONParsing:Ka.transitional(Ka.boolean),clarifyTimeoutError:Ka.transitional(Ka.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:yd.assertOptions(s,{encode:Ka.function,serialize:Ka.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&J.merge(r.common,r[n.method]);r&&J.forEach(["delete","get","head","post","put","patch","common"],_=>{delete r[_]}),n.headers=gn.concat(i,r);const o=[];let u=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(n)===!1||(u=u&&O.synchronous,o.unshift(O.fulfilled,O.rejected))});const l=[];this.interceptors.response.forEach(function(O){l.push(O.fulfilled,O.rejected)});let c,p=0,E;if(!u){const _=[zT.bind(this),void 0];for(_.unshift.apply(_,o),_.push.apply(_,l),E=_.length,c=Promise.resolve(n);p{if(!a._listeners)return;let r=a._listeners.length;for(;r-- >0;)a._listeners[r](s);a._listeners=null}),this.promise.then=s=>{let r;const i=new Promise(o=>{a.subscribe(o),r=o}).then(s);return i.cancel=function(){a.unsubscribe(r)},i},t(function(r,i,o){a.reason||(a.reason=new Fr(r,i,o),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=a=>{t.abort(a)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new cp(function(s){t=s}),cancel:t}}}function vC(e){return function(n){return e.apply(null,n)}}function bC(e){return J.isObject(e)&&e.isAxiosError===!0}const $d={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($d).forEach(([e,t])=>{$d[t]=e});function Y1(e){const t=new ks(e),n=v1(ks.prototype.request,t);return J.extend(n,ks.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Y1(Ms(e,s))},n}const zt=Y1(lo);zt.Axios=ks;zt.CanceledError=Fr;zt.CancelToken=cp;zt.isCancel=x1;zt.VERSION=q1;zt.toFormData=Gl;zt.AxiosError=Qe;zt.Cancel=zt.CanceledError;zt.all=function(t){return Promise.all(t)};zt.spread=vC;zt.isAxiosError=bC;zt.mergeConfig=Ms;zt.AxiosHeaders=gn;zt.formToJSON=e=>z1(J.isHTMLForm(e)?new FormData(e):e);zt.getAdapter=j1.getAdapter;zt.HttpStatusCode=$d;zt.default=zt;var X1=(e=>(e.ACCEPT_PRIVACY_POLICY="ACCEPT_PRIVACY_POLICY",e.CHECK_AUTH_USER="CHECK_AUTH_USER",e.CONFIRM_ACCOUNT="CONFIRM_ACCOUNT",e.CONFIRM_EMAIL="CONFIRM_EMAIL",e.DELETE_ACCOUNT="DELETE_ACCOUNT",e.DELETE_PICTURE="DELETE_PICTURE",e.GET_REQUEST_DATA_EXPORT="GET_REQUEST_DATA_EXPORT",e.GET_USER_PROFILE="GET_USER_PROFILE",e.LOGIN_OR_REGISTER="LOGIN_OR_REGISTER",e.LOGOUT="LOGOUT",e.REQUEST_DATA_EXPORT="REQUEST_DATA_EXPORT",e.RESEND_ACCOUNT_CONFIRMATION_EMAIL="RESEND_ACCOUNT_CONFIRMATION_EMAIL",e.RESET_USER_PASSWORD="RESET_USER_PASSWORD",e.RESET_USER_SPORT_PREFERENCES="RESET_USER_SPORT_PREFERENCES",e.SEND_PASSWORD_RESET_REQUEST="SEND_PASSWORD_RESET_REQUEST",e.UPDATE_USER_ACCOUNT="UPDATE_USER_ACCOUNT",e.UPDATE_USER_PICTURE="UPDATE_USER_PICTURE",e.UPDATE_USER_PROFILE="UPDATE_USER_PROFILE",e.UPDATE_USER_PREFERENCES="UPDATE_USER_PREFERENCES",e.UPDATE_USER_SPORT_PREFERENCES="UPDATE_USER_SPORT_PREFERENCES",e))(X1||{}),Q1=(e=>(e.AUTH_TOKEN="AUTH_TOKEN",e.AUTH_USER_PROFILE="AUTH_USER_PROFILE",e.IS_ADMIN="IS_ADMIN",e.IS_AUTHENTICATED="IS_AUTHENTICATED",e.IS_PROFILE_NOT_LOADED="IS_PROFILE_NOT_LOADED",e.IS_SUCCESS="IS_SUCCESS",e.IS_REGISTRATION_SUCCESS="IS_REGISTRATION_SUCCESS",e.USER_LOADING="USER_LOADING",e.EXPORT_REQUEST="EXPORT_REQUEST",e))(Q1||{}),Z1=(e=>(e.CLEAR_AUTH_USER_TOKEN="CLEAR_AUTH_USER_TOKEN",e.UPDATE_AUTH_TOKEN="UPDATE_AUTH_TOKEN",e.UPDATE_AUTH_USER_PROFILE="UPDATE_AUTH_USER_PROFILE",e.UPDATE_IS_SUCCESS="UPDATE_USER_IS_SUCCESS",e.UPDATE_IS_REGISTRATION_SUCCESS="UPDATE_IS_REGISTRATION_SUCCESS",e.UPDATE_USER_LOADING="UPDATE_USER_LOADING",e.SET_EXPORT_REQUEST="SET_EXPORT_REQUEST",e))(Z1||{}),J1=(e=>(e.ADD_EQUIPMENT="ADD_EQUIPMENT",e.DELETE_EQUIPMENT="DELETE_EQUIPMENT",e.GET_EQUIPMENT="GET_EQUIPMENT",e.GET_EQUIPMENT_TYPES="GET_EQUIPMENT_TYPES",e.GET_EQUIPMENTS="GET_EQUIPMENTS",e.REFRESH_EQUIPMENT="REFRESH_EQUIPMENT",e.UPDATE_EQUIPMENT="UPDATE_EQUIPMENT",e.UPDATE_EQUIPMENT_TYPE="UPDATE_EQUIPMENT_TYPE",e))(J1||{}),eS=(e=>(e.EQUIPMENT="EQUIPMENT",e.EQUIPMENTS="EQUIPMENTS",e.EQUIPMENT_TYPES="EQUIPMENT_TYPES",e.LOADING="LOADING",e))(eS||{}),tS=(e=>(e.ADD_EQUIPMENT="ADD_EQUIPMENT",e.REMOVE_EQUIPMENT="REMOVE_EQUIPMENT",e.SET_EQUIPMENTS="SET_EQUIPMENTS",e.SET_EQUIPMENT_TYPES="SET_EQUIPMENT_TYPES",e.SET_LOADING="SET_LOADING",e.UPDATE_EQUIPMENT="UPDATE_EQUIPMENT",e))(tS||{}),nS=(e=>(e.AUTHORIZE_CLIENT="AUTHORIZE_CLIENT",e.CREATE_CLIENT="CREATE_CLIENT",e.DELETE_CLIENT="DELETE_CLIENT",e.GET_CLIENTS="GET_CLIENTS",e.GET_CLIENT_BY_CLIENT_ID="GET_CLIENT_BY_CLIENT_ID",e.GET_CLIENT_BY_ID="GET_CLIENT_BY_ID",e.REVOKE_ALL_TOKENS="REVOKE_ALL_TOKENS",e))(nS||{}),aS=(e=>(e.CLIENT="CLIENT",e.CLIENTS="CLIENTS",e.CLIENTS_PAGINATION="CLIENTS_PAGINATION",e.REVOCATION_SUCCESSFUL="REVOCATION_SUCCESSFUL",e))(aS||{}),sS=(e=>(e.EMPTY_CLIENT="EMPTY_CLIENT",e.SET_CLIENT="SET_CLIENT",e.SET_CLIENTS="SET_CLIENTS",e.SET_CLIENTS_PAGINATION="SET_CLIENTS_PAGINATION",e.SET_REVOCATION_SUCCESSFUL="SET_REVOCATION_SUCCESSFUL",e))(sS||{}),rS=(e=>(e.GET_APPLICATION_CONFIG="GET_APPLICATION_CONFIG",e.GET_APPLICATION_PRIVACY_POLICY="GET_APPLICATION_PRIVACY_POLICY",e.GET_APPLICATION_STATS="GET_APPLICATION_STATS",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LANGUAGE="UPDATE_APPLICATION_LANGUAGE",e))(rS||{}),iS=(e=>(e.APP_CONFIG="APP_CONFIG",e.APP_LOADING="APP_LOADING",e.APP_STATS="APP_STATS",e.DARK_MODE="DARK_MODE",e.ERROR_MESSAGES="ERROR_MESSAGES",e.LANGUAGE="LANGUAGE",e.LOCALE="LOCALE",e))(iS||{}),oS=(e=>(e.EMPTY_ERROR_MESSAGES="EMPTY_ERROR_MESSAGES",e.SET_ERROR_MESSAGES="SET_ERROR_MESSAGES",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LOADING="UPDATE_APPLICATION_LOADING",e.UPDATE_APPLICATION_PRIVACY_POLICY="UPDATE_APPLICATION_PRIVACY_POLICY",e.UPDATE_APPLICATION_STATS="UPDATE_APPLICATION_STATS",e.UPDATE_DARK_MODE="UPDATE_DARK_MODE",e.UPDATE_LANG="UPDATE_LANG",e))(oS||{}),uS=(e=>(e.GET_SPORTS="GET_SPORTS",e.UPDATE_SPORTS="UPDATE_SPORTS",e))(uS||{}),lS=(e=>(e.SPORTS="SPORTS",e))(lS||{}),cS=(e=>(e.SET_SPORTS="SET_SPORTS",e))(cS||{}),dS=(e=>(e.GET_USER_SPORT_STATS="GET_USER_SPORT_STATS",e.GET_USER_STATS="GET_USER_STATS",e))(dS||{}),ES=(e=>(e.USER_SPORT_STATS="USER_SPORT_STATS",e.USER_STATS="USER_STATS",e.STATS_LOADING="STATS_LOADING",e.TOTAL_WORKOUTS="TOTAL_WORKOUTS",e))(ES||{}),pS=(e=>(e.EMPTY_USER_SPORT_STATS="EMPTY_USER_SPORT_STATS",e.EMPTY_USER_STATS="EMPTY_USER_STATS",e.UPDATE_USER_SPORT_STATS="UPDATE_USER_SPORT_STATS",e.UPDATE_USER_STATS="UPDATE_USER_STATS",e.UPDATE_STATS_LOADING="UPDATE_STATS_LOADING",e.UPDATE_TOTAL_WORKOUTS="UPDATE_TOTAL_WORKOUTS",e))(pS||{}),fS=(e=>(e.EMPTY_USER="EMPTY_USER",e.EMPTY_USERS="EMPTY_USERS",e.GET_USER="GET_USER",e.GET_USERS="GET_USERS",e.UPDATE_USER="UPDATE_USER",e.DELETE_USER_ACCOUNT="DELETE_USER_ACCOUNT",e))(fS||{}),TS=(e=>(e.USER="USER",e.USERS="USERS",e.USERS_IS_SUCCESS="USERS_IS_SUCCESS",e.USERS_LOADING="USERS_LOADING",e.USERS_PAGINATION="USERS_PAGINATION",e))(TS||{}),mS=(e=>(e.UPDATE_USER="UPDATE_USER",e.UPDATE_USER_IN_USERS="UPDATE_USER_IN_USERS",e.UPDATE_USERS="UPDATE_USERS",e.UPDATE_USERS_LOADING="UPDATE_USERS_LOADING",e.UPDATE_USERS_PAGINATION="UPDATE_USERS_PAGINATION",e.UPDATE_IS_SUCCESS="UPDATE_IS_SUCCESS",e))(mS||{}),_S=(e=>(e.ADD_WORKOUT="ADD_WORKOUT",e.ADD_WORKOUT_WITHOUT_GPX="ADD_WORKOUT_WITHOUT_GPX",e.DELETE_WORKOUT="DELETE_WORKOUT",e.EDIT_WORKOUT="EDIT_WORKOUT",e.EDIT_WORKOUT_CONTENT="EDIT_WORKOUT_CONTENT",e.GET_CALENDAR_WORKOUTS="GET_CALENDAR_WORKOUTS",e.GET_USER_WORKOUTS="GET_USER_WORKOUTS",e.GET_TIMELINE_WORKOUTS="GET_TIMELINE_WORKOUTS",e.GET_MORE_TIMELINE_WORKOUTS="GET_MORE_TIMELINE_WORKOUTS",e.GET_WORKOUT_DATA="GET_WORKOUT_DATA",e))(_S||{}),hS=(e=>(e.CALENDAR_WORKOUTS="CALENDAR_WORKOUTS",e.TIMELINE_WORKOUTS="TIMELINE_WORKOUTS",e.USER_WORKOUTS="USER_WORKOUTS",e.WORKOUT_CONTENT_EDITION="WORKOUT_CONTENT_EDITION",e.WORKOUT_DATA="WORKOUT_DATA",e.WORKOUTS_PAGINATION="WORKOUTS_PAGINATION",e))(hS||{}),Ls=(e=>(e.ADD_TIMELINE_WORKOUTS="ADD_TIMELINE_WORKOUTS",e.EMPTY_WORKOUTS="EMPTY_WORKOUTS",e.EMPTY_CALENDAR_WORKOUTS="EMPTY_CALENDAR_WORKOUTS",e.EMPTY_WORKOUT="EMPTY_WORKOUT",e.SET_CALENDAR_WORKOUTS="SET_CALENDAR_WORKOUTS",e.SET_TIMELINE_WORKOUTS="SET_TIMELINE_WORKOUTS",e.SET_USER_WORKOUTS="SET_USER_WORKOUTS",e.SET_WORKOUT="SET_WORKOUT",e.SET_WORKOUT_GPX="SET_WORKOUT_GPX",e.SET_WORKOUT_CHART_DATA="SET_WORKOUT_CHART_DATA",e.SET_WORKOUT_CONTENT="SET_WORKOUT_CONTENT",e.SET_WORKOUT_CONTENT_LOADING="SET_WORKOUT_CONTENT_LOADING",e.SET_WORKOUT_CONTENT_TYPE="SET_WORKOUT_CONTENT_TYPE",e.SET_WORKOUT_LOADING="SET_WORKOUT_LOADING",e.SET_WORKOUTS_PAGINATION="SET_WORKOUTS_PAGINATION",e))(Ls||{});const K={ACTIONS:rS,GETTERS:iS,MUTATIONS:oS},Lt={ACTIONS:uS,GETTERS:lS,MUTATIONS:cS},wt={ACTIONS:dS,GETTERS:ES,MUTATIONS:pS},X={ACTIONS:X1,GETTERS:Q1,MUTATIONS:Z1},at={ACTIONS:nS,GETTERS:aS,MUTATIONS:sS},He={ACTIONS:fS,GETTERS:TS,MUTATIONS:mS},ge={ACTIONS:_S,GETTERS:hS,MUTATIONS:Ls},Fe={ACTIONS:J1,GETTERS:eS,MUTATIONS:tS},co=()=>"/api/",fe=(e,t,n="UNKNOWN")=>{var i;if(t&&t.message==="canceled")return;const a=t!=null&&t.response&&t.response.data?t.response.data:null;if(((i=t==null?void 0:t.response)==null?void 0:i.status)===401&&(a==null?void 0:a.error)==="invalid_token"){localStorage.removeItem("authToken"),e.dispatch(X.ACTIONS.CHECK_AUTH_USER);return}const s=CC(t,e),r=s?"":t?t.response?t.response.status===413?"file size is greater than the allowed size":a!=null&&a.message?a.message:n:t.message?t.message:n:n;e.commit(K.MUTATIONS.SET_ERROR_MESSAGES,s||(r.includes(` +*/(function(e){var t,n,a,s,r;t=typeof window<"u"&&window.document!==void 0?window.document:{},n=e.exports,a=function(){for(var i,o=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,l=o.length,c={};ue.pageOnly||!Ra.isEnabled),r=M(()=>(s.value||e.teleport)&&a.isFullscreen?{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}:void 0);function i(){t("change",a.isFullscreen),t("update:modelValue",a.isFullscreen),t("update:fullscreen",a.isFullscreen)}function o(){Ra.isFullscreen||Ra.off("change",o),a.isFullscreen=Ra.isFullscreen,i()}function u(E){E.key==="Escape"&&c()}function l(){s.value?(a.isFullscreen=!0,i(),document.removeEventListener("keyup",u),document.addEventListener("keyup",u)):(Ra.off("change",o),Ra.on("change",o),Ra.request(e.teleport?document.body:n.value))}function c(){a.isFullscreen&&(s.value?(a.isFullscreen=!1,i(),document.removeEventListener("keyup",u)):Ra.exit())}return We(()=>e.fullscreen,E=>{E!==a.isFullscreen&&(E?l():c())}),We(()=>e.modelValue,E=>{E!==a.isFullscreen&&(E?l():c())}),p=((E,f)=>{for(var _ in f||(f={}))d1.call(f,_)&&pT(E,_,f[_]);if(bu)for(var _ of bu(f))E1.call(f,_)&&pT(E,_,f[_]);return E})({wrapper:n,wrapperStyle:r},he(a)),av(p,sv({toggle:function(E){E===void 0?a.isFullscreen?c():l():E?l():c()},request:l,exit:c,shadeClick:function(E){E.target===n.value&&e.exitOnClickWrapper&&c()}}));var p}});N1.render=function(e,t,n,a,s,r){return h(),j(SR,{to:"body",disabled:!e.teleport||!e.fullscreen},[W("div",n1({ref:"wrapper"},e.$attrs,{style:e.wrapperStyle,class:{[e.fullscreenClass]:e.isFullscreen},onClick:t[1]||(t[1]=i=>e.shadeClick(i))}),[Ut(e.$slots,"default")],16)],8,["disabled"])};const kb=typeof window<"u"&&window!==null;(function(){if(kb&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0})();const Ub=Object.prototype.propertyIsEnumerable,vT=Object.getOwnPropertySymbols;function iu(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function wb(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function Mb(e,...t){if(!iu(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof vT!="function")return e;for(const n of t){const a=vT(n);for(const s of a)Ub.call(n,s)&&(e[s]=n[s])}return e}function rp(e,...t){let n=0;var a;for((typeof(a=e)=="object"?a===null:typeof a!="function")&&(e=t[n++]),e||(e={});n{a.key==="Escape"&&(document.removeEventListener("keyup",n),this.exit())};return this.isFullscreen=!0,this.element=e,document.removeEventListener("keyup",n),document.addEventListener("keyup",n),this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()}{const n=()=>{ua.isFullscreen||(ua.off("change",n),CT(this)),this.isFullscreen=ua.isFullscreen,this.options.teleport?this.element=e||null:this.element=ua.element,this.options.callback&&this.options.callback(ua.isFullscreen)};return ua.on("change",n),ua.request(this.options.teleport?document.body:e)}},exit(){return this.isFullscreen?this.options.pageOnly?(CT(this),this.isFullscreen=!1,this.element=null,this.options.callback&&this.options.callback(this.isFullscreen),Promise.resolve()):ua.exit():Promise.resolve()}},Wb=(e,t,n)=>{const a=()=>{let s;const r={teleport:t.modifiers.teleport,pageOnly:t.modifiers.pageOnly};if(t.value)if(typeof t.value=="string")s=t.value;else{const i=t.value,{target:o}=i,u=((l,c)=>{var p={};for(var E in l)d1.call(l,E)&&c.indexOf(E)<0&&(p[E]=l[E]);if(l!=null&&bu)for(var E of bu(l))c.indexOf(E)<0&&E1.call(l,E)&&(p[E]=l[E]);return p})(i,["target"]);s=o,rp(r,u)}typeof s=="string"&&(s=document.querySelector(s)),b1.toggle(s,r)};e._onClickFullScreen&&e.removeEventListener("click",e._onClickFullScreen),e.addEventListener("click",a),e._onClickFullScreen=a};var Fb={install(e,{name:t="fullscreen"}={}){e.config.globalProperties[`$${t}`]=b1,e.component(t,$b(N1,{name:t})),e.directive(t,Wb)}};const zb={id:"footer"},xb={class:"footer-items"},Bb={class:"footer-item"},Gb={class:"footer-item"},Hb={key:0,class:"footer-item bullet"},Vb={key:1,class:"footer-item"},Kb=["href"],jb={class:"footer-item"},qb=ee({__name:"Footer",props:{version:{},adminContact:{}},setup(e){const t=e,{adminContact:n,version:a}=he(t);return(s,r)=>{const i=re("router-link");return h(),I("footer",zb,[d("div",xb,[d("div",Bb,[r[0]||(r[0]=d("strong",null,"FitTrackee",-1)),H(" v"+m(T(a)),1)]),r[1]||(r[1]=d("div",{class:"footer-item bullet"},"•",-1)),d("div",Gb,[W(i,{to:"/about"},{default:ue(()=>[H(m(s.$t("common.ABOUT")),1)]),_:1})]),T(n)?(h(),I("div",Hb,"•")):w("",!0),T(n)?(h(),I("div",Vb,[d("a",{href:`mailto:${T(n)}`},m(s.$t("common.CONTACT")),9,Kb)])):w("",!0),r[2]||(r[2]=d("div",{class:"footer-item bullet"},"•",-1)),d("div",jb,[W(i,{to:"/privacy-policy"},{default:ue(()=>[H(m(s.$t("privacy_policy.TITLE")),1)]),_:1})])])])}}}),ie=(e,t)=>{const n=e.__vccOpts||e;for(const[a,s]of t)n[a]=s;return n},Yb=ie(qb,[["__scopeId","data-v-7bc410b7"]]),Xb="/img/weather/clear-day.svg";function C1(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qb}=Object.prototype,{getPrototypeOf:ip}=Object,xl=(e=>t=>{const n=Qb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),aa=e=>(e=e.toLowerCase(),t=>xl(t)===e),Bl=e=>t=>typeof t===e,{isArray:Wr}=Array,wi=Bl("undefined");function Zb(e){return e!==null&&!wi(e)&&e.constructor!==null&&!wi(e.constructor)&&Mn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const D1=aa("ArrayBuffer");function Jb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&D1(e.buffer),t}const e2=Bl("string"),Mn=Bl("function"),P1=Bl("number"),Gl=e=>e!==null&&typeof e=="object",t2=e=>e===!0||e===!1,ou=e=>{if(xl(e)!=="object")return!1;const t=ip(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},n2=aa("Date"),a2=aa("File"),s2=aa("Blob"),r2=aa("FileList"),i2=e=>Gl(e)&&Mn(e.pipe),o2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Mn(e.append)&&((t=xl(e))==="formdata"||t==="object"&&Mn(e.toString)&&e.toString()==="[object FormData]"))},u2=aa("URLSearchParams"),[l2,c2,d2,E2]=["ReadableStream","Request","Response","Headers"].map(aa),p2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function uo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let a,s;if(typeof e!="object"&&(e=[e]),Wr(e))for(a=0,s=e.length;a0;)if(s=n[a],t===s.toLowerCase())return s;return null}const Ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,y1=e=>!wi(e)&&e!==Ps;function bd(){const{caseless:e}=y1(this)&&this||{},t={},n=(a,s)=>{const r=e&&L1(t,s)||s;ou(t[r])&&ou(a)?t[r]=bd(t[r],a):ou(a)?t[r]=bd({},a):Wr(a)?t[r]=a.slice():t[r]=a};for(let a=0,s=arguments.length;a(uo(t,(s,r)=>{n&&Mn(s)?e[r]=C1(s,n):e[r]=s},{allOwnKeys:a}),e),T2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),m2=(e,t,n,a)=>{e.prototype=Object.create(t.prototype,a),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},_2=(e,t,n,a)=>{let s,r,i;const o={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),r=s.length;r-- >0;)i=s[r],(!a||a(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=n!==!1&&ip(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},h2=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const a=e.indexOf(t,n);return a!==-1&&a===n},S2=e=>{if(!e)return null;if(Wr(e))return e;let t=e.length;if(!P1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},A2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ip(Uint8Array)),O2=(e,t)=>{const a=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=a.next())&&!s.done;){const r=s.value;t.call(e,r[0],r[1])}},g2=(e,t)=>{let n;const a=[];for(;(n=e.exec(t))!==null;)a.push(n);return a},I2=aa("HTMLFormElement"),R2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,a,s){return a.toUpperCase()+s}),DT=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N2=aa("RegExp"),$1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),a={};uo(n,(s,r)=>{let i;(i=t(s,r,e))!==!1&&(a[r]=i||s)}),Object.defineProperties(e,a)},v2=e=>{$1(e,(t,n)=>{if(Mn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const a=e[n];if(Mn(a)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},b2=(e,t)=>{const n={},a=s=>{s.forEach(r=>{n[r]=!0})};return Wr(e)?a(e):a(String(e).split(t)),n},C2=()=>{},D2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,kc="abcdefghijklmnopqrstuvwxyz",PT="0123456789",k1={DIGIT:PT,ALPHA:kc,ALPHA_DIGIT:kc+kc.toUpperCase()+PT},P2=(e=16,t=k1.ALPHA_DIGIT)=>{let n="";const{length:a}=t;for(;e--;)n+=t[Math.random()*a|0];return n};function L2(e){return!!(e&&Mn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const y2=e=>{const t=new Array(10),n=(a,s)=>{if(Gl(a)){if(t.indexOf(a)>=0)return;if(!("toJSON"in a)){t[s]=a;const r=Wr(a)?[]:{};return uo(a,(i,o)=>{const u=n(i,s+1);!wi(u)&&(r[o]=u)}),t[s]=void 0,r}}return a};return n(e,0)},$2=aa("AsyncFunction"),k2=e=>e&&(Gl(e)||Mn(e))&&Mn(e.then)&&Mn(e.catch),U1=((e,t)=>e?setImmediate:t?((n,a)=>(Ps.addEventListener("message",({source:s,data:r})=>{s===Ps&&r===n&&a.length&&a.shift()()},!1),s=>{a.push(s),Ps.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mn(Ps.postMessage)),U2=typeof queueMicrotask<"u"?queueMicrotask.bind(Ps):typeof process<"u"&&process.nextTick||U1,J={isArray:Wr,isArrayBuffer:D1,isBuffer:Zb,isFormData:o2,isArrayBufferView:Jb,isString:e2,isNumber:P1,isBoolean:t2,isObject:Gl,isPlainObject:ou,isReadableStream:l2,isRequest:c2,isResponse:d2,isHeaders:E2,isUndefined:wi,isDate:n2,isFile:a2,isBlob:s2,isRegExp:N2,isFunction:Mn,isStream:i2,isURLSearchParams:u2,isTypedArray:A2,isFileList:r2,forEach:uo,merge:bd,extend:f2,trim:p2,stripBOM:T2,inherits:m2,toFlatObject:_2,kindOf:xl,kindOfTest:aa,endsWith:h2,toArray:S2,forEachEntry:O2,matchAll:g2,isHTMLForm:I2,hasOwnProperty:DT,hasOwnProp:DT,reduceDescriptors:$1,freezeMethods:v2,toObjectSet:b2,toCamelCase:R2,noop:C2,toFiniteNumber:D2,findKey:L1,global:Ps,isContextDefined:y1,ALPHABET:k1,generateString:P2,isSpecCompliantForm:L2,toJSONObject:y2,isAsyncFn:$2,isThenable:k2,setImmediate:U1,asap:U2};function Qe(e,t,n,a,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),a&&(this.request=a),s&&(this.response=s,this.status=s.status?s.status:null)}J.inherits(Qe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:J.toJSONObject(this.config),code:this.code,status:this.status}}});const w1=Qe.prototype,M1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{M1[e]={value:e}});Object.defineProperties(Qe,M1);Object.defineProperty(w1,"isAxiosError",{value:!0});Qe.from=(e,t,n,a,s,r)=>{const i=Object.create(w1);return J.toFlatObject(e,i,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),Qe.call(i,e.message,t,n,a,s),i.cause=e,i.name=e.name,r&&Object.assign(i,r),i};const w2=null;function Cd(e){return J.isPlainObject(e)||J.isArray(e)}function W1(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function LT(e,t,n){return e?e.concat(t).map(function(s,r){return s=W1(s),!n&&r?"["+s+"]":s}).join(n?".":""):t}function M2(e){return J.isArray(e)&&!e.some(Cd)}const W2=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Hl(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(O,R){return!J.isUndefined(R[O])});const a=n.metaTokens,s=n.visitor||c,r=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function l(_){if(_===null)return"";if(J.isDate(_))return _.toISOString();if(!u&&J.isBlob(_))throw new Qe("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(_)||J.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function c(_,O,R){let g=_;if(_&&!R&&typeof _=="object"){if(J.endsWith(O,"{}"))O=a?O:O.slice(0,-2),_=JSON.stringify(_);else if(J.isArray(_)&&M2(_)||(J.isFileList(_)||J.endsWith(O,"[]"))&&(g=J.toArray(_)))return O=W1(O),g.forEach(function(S,A){!(J.isUndefined(S)||S===null)&&t.append(i===!0?LT([O],A,r):i===null?O:O+"[]",l(S))}),!1}return Cd(_)?!0:(t.append(LT(R,O,r),l(_)),!1)}const p=[],E=Object.assign(W2,{defaultVisitor:c,convertValue:l,isVisitable:Cd});function f(_,O){if(!J.isUndefined(_)){if(p.indexOf(_)!==-1)throw Error("Circular reference detected in "+O.join("."));p.push(_),J.forEach(_,function(g,N){(!(J.isUndefined(g)||g===null)&&s.call(t,g,J.isString(N)?N.trim():N,O,E))===!0&&f(g,O?O.concat(N):[N])}),p.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return f(e),t}function yT(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(a){return t[a]})}function op(e,t){this._pairs=[],e&&Hl(e,this,t)}const F1=op.prototype;F1.append=function(t,n){this._pairs.push([t,n])};F1.toString=function(t){const n=t?function(a){return t.call(this,a,yT)}:yT;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function F2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function z1(e,t,n){if(!t)return e;const a=n&&n.encode||F2,s=n&&n.serialize;let r;if(s?r=s(t,n):r=J.isURLSearchParams(t)?t.toString():new op(t,n).toString(a),r){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class $T{constructor(){this.handlers=[]}use(t,n,a){return this.handlers.push({fulfilled:t,rejected:n,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(a){a!==null&&t(a)})}}const x1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},z2=typeof URLSearchParams<"u"?URLSearchParams:op,x2=typeof FormData<"u"?FormData:null,B2=typeof Blob<"u"?Blob:null,G2={isBrowser:!0,classes:{URLSearchParams:z2,FormData:x2,Blob:B2},protocols:["http","https","file","blob","url","data"]},up=typeof window<"u"&&typeof document<"u",Dd=typeof navigator=="object"&&navigator||void 0,H2=up&&(!Dd||["ReactNative","NativeScript","NS"].indexOf(Dd.product)<0),V2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",K2=up&&window.location.href||"http://localhost",j2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:up,hasStandardBrowserEnv:H2,hasStandardBrowserWebWorkerEnv:V2,navigator:Dd,origin:K2},Symbol.toStringTag,{value:"Module"})),On={...j2,...G2};function q2(e,t){return Hl(e,new On.classes.URLSearchParams,Object.assign({visitor:function(n,a,s,r){return On.isNode&&J.isBuffer(n)?(this.append(a,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function Y2(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function X2(e){const t={},n=Object.keys(e);let a;const s=n.length;let r;for(a=0;a=n.length;return i=!i&&J.isArray(s)?s.length:i,u?(J.hasOwnProp(s,i)?s[i]=[s[i],a]:s[i]=a,!o):((!s[i]||!J.isObject(s[i]))&&(s[i]=[]),t(n,a,s[i],r)&&J.isArray(s[i])&&(s[i]=X2(s[i])),!o)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(a,s)=>{t(Y2(a),s,n,0)}),n}return null}function Q2(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(a){if(a.name!=="SyntaxError")throw a}return(n||JSON.stringify)(e)}const lo={transitional:x1,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const a=n.getContentType()||"",s=a.indexOf("application/json")>-1,r=J.isObject(t);if(r&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s?JSON.stringify(B1(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(a.indexOf("application/x-www-form-urlencoded")>-1)return q2(t,this.formSerializer).toString();if((o=J.isFileList(t))||a.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Hl(o?{"files[]":t}:t,u&&new u,this.formSerializer)}}return r||s?(n.setContentType("application/json",!1),Q2(t)):t}],transformResponse:[function(t){const n=this.transitional||lo.transitional,a=n&&n.forcedJSONParsing,s=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;if(t&&J.isString(t)&&(a&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?Qe.from(o,Qe.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:On.classes.FormData,Blob:On.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{lo.headers[e]={}});const Z2=J.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),J2=e=>{const t={};let n,a,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),a=i.substring(s+1).trim(),!(!n||t[n]&&Z2[n])&&(n==="set-cookie"?t[n]?t[n].push(a):t[n]=[a]:t[n]=t[n]?t[n]+", "+a:a)}),t},kT=Symbol("internals");function Jr(e){return e&&String(e).trim().toLowerCase()}function uu(e){return e===!1||e==null?e:J.isArray(e)?e.map(uu):String(e)}function eC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=n.exec(e);)t[a[1]]=a[2];return t}const tC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Uc(e,t,n,a,s){if(J.isFunction(a))return a.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(a))return t.indexOf(a)!==-1;if(J.isRegExp(a))return a.test(t)}}function nC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,a)=>n.toUpperCase()+a)}function aC(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(a=>{Object.defineProperty(e,a+n,{value:function(s,r,i){return this[a].call(this,t,s,r,i)},configurable:!0})})}let gn=class{constructor(t){t&&this.set(t)}set(t,n,a){const s=this;function r(o,u,l){const c=Jr(u);if(!c)throw new Error("header name must be a non-empty string");const p=J.findKey(s,c);(!p||s[p]===void 0||l===!0||l===void 0&&s[p]!==!1)&&(s[p||u]=uu(o))}const i=(o,u)=>J.forEach(o,(l,c)=>r(l,c,u));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!tC(t))i(J2(t),n);else if(J.isHeaders(t))for(const[o,u]of t.entries())r(u,o,a);else t!=null&&r(n,t,a);return this}get(t,n){if(t=Jr(t),t){const a=J.findKey(this,t);if(a){const s=this[a];if(!n)return s;if(n===!0)return eC(s);if(J.isFunction(n))return n.call(this,s,a);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jr(t),t){const a=J.findKey(this,t);return!!(a&&this[a]!==void 0&&(!n||Uc(this,this[a],a,n)))}return!1}delete(t,n){const a=this;let s=!1;function r(i){if(i=Jr(i),i){const o=J.findKey(a,i);o&&(!n||Uc(a,a[o],o,n))&&(delete a[o],s=!0)}}return J.isArray(t)?t.forEach(r):r(t),s}clear(t){const n=Object.keys(this);let a=n.length,s=!1;for(;a--;){const r=n[a];(!t||Uc(this,this[r],r,t,!0))&&(delete this[r],s=!0)}return s}normalize(t){const n=this,a={};return J.forEach(this,(s,r)=>{const i=J.findKey(a,r);if(i){n[i]=uu(s),delete n[r];return}const o=t?nC(r):String(r).trim();o!==r&&delete n[r],n[o]=uu(s),a[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(a,s)=>{a!=null&&a!==!1&&(n[s]=t&&J.isArray(a)?a.join(", "):a)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const a=new this(t);return n.forEach(s=>a.set(s)),a}static accessor(t){const a=(this[kT]=this[kT]={accessors:{}}).accessors,s=this.prototype;function r(i){const o=Jr(i);a[o]||(aC(s,i),a[o]=!0)}return J.isArray(t)?t.forEach(r):r(t),this}};gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(gn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(a){this[n]=a}}});J.freezeMethods(gn);function wc(e,t){const n=this||lo,a=t||n,s=gn.from(a.headers);let r=a.data;return J.forEach(e,function(o){r=o.call(n,r,s.normalize(),t?t.status:void 0)}),s.normalize(),r}function G1(e){return!!(e&&e.__CANCEL__)}function Fr(e,t,n){Qe.call(this,e??"canceled",Qe.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Fr,Qe,{__CANCEL__:!0});function H1(e,t,n){const a=n.config.validateStatus;!n.status||!a||a(n.status)?e(n):t(new Qe("Request failed with status code "+n.status,[Qe.ERR_BAD_REQUEST,Qe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rC(e,t){e=e||10;const n=new Array(e),a=new Array(e);let s=0,r=0,i;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=a[r];i||(i=l),n[s]=u,a[s]=l;let p=r,E=0;for(;p!==s;)E+=n[p++],p=p%e;if(s=(s+1)%e,s===r&&(r=(r+1)%e),l-i{n=c,s=null,r&&(clearTimeout(r),r=null),e.apply(null,l)};return[(...l)=>{const c=Date.now(),p=c-n;p>=a?i(l,c):(s=l,r||(r=setTimeout(()=>{r=null,i(s)},a-p)))},()=>s&&i(s)]}const Du=(e,t,n=3)=>{let a=0;const s=rC(50,250);return iC(r=>{const i=r.loaded,o=r.lengthComputable?r.total:void 0,u=i-a,l=s(u),c=i<=o;a=i;const p={loaded:i,total:o,progress:o?i/o:void 0,bytes:u,rate:l||void 0,estimated:l&&o&&c?(o-i)/l:void 0,event:r,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(p)},n)},UT=(e,t)=>{const n=e!=null;return[a=>t[0]({lengthComputable:n,total:e,loaded:a}),t[1]]},wT=e=>(...t)=>J.asap(()=>e(...t)),oC=On.hasStandardBrowserEnv?function(){const t=On.navigator&&/(msie|trident)/i.test(On.navigator.userAgent),n=document.createElement("a");let a;function s(r){let i=r;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return a=s(window.location.href),function(i){const o=J.isString(i)?s(i):i;return o.protocol===a.protocol&&o.host===a.host}}():function(){return function(){return!0}}(),uC=On.hasStandardBrowserEnv?{write(e,t,n,a,s,r){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(a)&&i.push("path="+a),J.isString(s)&&i.push("domain="+s),r===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function lC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cC(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function V1(e,t){return e&&!lC(t)?cC(e,t):t}const MT=e=>e instanceof gn?{...e}:e;function Ms(e,t){t=t||{};const n={};function a(l,c,p){return J.isPlainObject(l)&&J.isPlainObject(c)?J.merge.call({caseless:p},l,c):J.isPlainObject(c)?J.merge({},c):J.isArray(c)?c.slice():c}function s(l,c,p){if(J.isUndefined(c)){if(!J.isUndefined(l))return a(void 0,l,p)}else return a(l,c,p)}function r(l,c){if(!J.isUndefined(c))return a(void 0,c)}function i(l,c){if(J.isUndefined(c)){if(!J.isUndefined(l))return a(void 0,l)}else return a(void 0,c)}function o(l,c,p){if(p in t)return a(l,c);if(p in e)return a(void 0,l)}const u={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:o,headers:(l,c)=>s(MT(l),MT(c),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(c){const p=u[c]||s,E=p(e[c],t[c],c);J.isUndefined(E)&&p!==o||(n[c]=E)}),n}const K1=e=>{const t=Ms({},e);let{data:n,withXSRFToken:a,xsrfHeaderName:s,xsrfCookieName:r,headers:i,auth:o}=t;t.headers=i=gn.from(i),t.url=z1(V1(t.baseURL,t.url),e.params,e.paramsSerializer),o&&i.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let u;if(J.isFormData(n)){if(On.hasStandardBrowserEnv||On.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[l,...c]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...c].join("; "))}}if(On.hasStandardBrowserEnv&&(a&&J.isFunction(a)&&(a=a(t)),a||a!==!1&&oC(t.url))){const l=s&&r&&uC.read(r);l&&i.set(s,l)}return t},dC=typeof XMLHttpRequest<"u",EC=dC&&function(e){return new Promise(function(n,a){const s=K1(e);let r=s.data;const i=gn.from(s.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=s,c,p,E,f,_;function O(){f&&f(),_&&_(),s.cancelToken&&s.cancelToken.unsubscribe(c),s.signal&&s.signal.removeEventListener("abort",c)}let R=new XMLHttpRequest;R.open(s.method.toUpperCase(),s.url,!0),R.timeout=s.timeout;function g(){if(!R)return;const S=gn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),v={data:!o||o==="text"||o==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:S,config:e,request:R};H1(function(P){n(P),O()},function(P){a(P),O()},v),R=null}"onloadend"in R?R.onloadend=g:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(g)},R.onabort=function(){R&&(a(new Qe("Request aborted",Qe.ECONNABORTED,e,R)),R=null)},R.onerror=function(){a(new Qe("Network Error",Qe.ERR_NETWORK,e,R)),R=null},R.ontimeout=function(){let A=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const v=s.transitional||x1;s.timeoutErrorMessage&&(A=s.timeoutErrorMessage),a(new Qe(A,v.clarifyTimeoutError?Qe.ETIMEDOUT:Qe.ECONNABORTED,e,R)),R=null},r===void 0&&i.setContentType(null),"setRequestHeader"in R&&J.forEach(i.toJSON(),function(A,v){R.setRequestHeader(v,A)}),J.isUndefined(s.withCredentials)||(R.withCredentials=!!s.withCredentials),o&&o!=="json"&&(R.responseType=s.responseType),l&&([E,_]=Du(l,!0),R.addEventListener("progress",E)),u&&R.upload&&([p,f]=Du(u),R.upload.addEventListener("progress",p),R.upload.addEventListener("loadend",f)),(s.cancelToken||s.signal)&&(c=S=>{R&&(a(!S||S.type?new Fr(null,e,R):S),R.abort(),R=null)},s.cancelToken&&s.cancelToken.subscribe(c),s.signal&&(s.signal.aborted?c():s.signal.addEventListener("abort",c)));const N=sC(s.url);if(N&&On.protocols.indexOf(N)===-1){a(new Qe("Unsupported protocol "+N+":",Qe.ERR_BAD_REQUEST,e));return}R.send(r||null)})},pC=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let a=new AbortController,s;const r=function(l){if(!s){s=!0,o();const c=l instanceof Error?l:this.reason;a.abort(c instanceof Qe?c:new Fr(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,r(new Qe(`timeout ${t} of ms exceeded`,Qe.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(r):l.removeEventListener("abort",r)}),e=null)};e.forEach(l=>l.addEventListener("abort",r));const{signal:u}=a;return u.unsubscribe=()=>J.asap(o),u}},fC=function*(e,t){let n=e.byteLength;if(n{const s=TC(e,t);let r=0,i,o=u=>{i||(i=!0,a&&a(u))};return new ReadableStream({async pull(u){try{const{done:l,value:c}=await s.next();if(l){o(),u.close();return}let p=c.byteLength;if(n){let E=r+=p;n(E)}u.enqueue(new Uint8Array(c))}catch(l){throw o(l),l}},cancel(u){return o(u),s.return()}},{highWaterMark:2})},Vl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",j1=Vl&&typeof ReadableStream=="function",_C=Vl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),q1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hC=j1&&q1(()=>{let e=!1;const t=new Request(On.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),FT=64*1024,Pd=j1&&q1(()=>J.isReadableStream(new Response("").body)),Pu={stream:Pd&&(e=>e.body)};Vl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Pu[t]&&(Pu[t]=J.isFunction(e[t])?n=>n[t]():(n,a)=>{throw new Qe(`Response type '${t}' is not supported`,Qe.ERR_NOT_SUPPORT,a)})})})(new Response);const SC=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new Request(On.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(J.isArrayBufferView(e)||J.isArrayBuffer(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e=e+""),J.isString(e))return(await _C(e)).byteLength},AC=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??SC(t)},OC=Vl&&(async e=>{let{url:t,method:n,data:a,signal:s,cancelToken:r,timeout:i,onDownloadProgress:o,onUploadProgress:u,responseType:l,headers:c,withCredentials:p="same-origin",fetchOptions:E}=K1(e);l=l?(l+"").toLowerCase():"text";let f=pC([s,r&&r.toAbortSignal()],i),_;const O=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let R;try{if(u&&hC&&n!=="get"&&n!=="head"&&(R=await AC(c,a))!==0){let v=new Request(t,{method:"POST",body:a,duplex:"half"}),y;if(J.isFormData(a)&&(y=v.headers.get("content-type"))&&c.setContentType(y),v.body){const[P,C]=UT(R,Du(wT(u)));a=WT(v.body,FT,P,C)}}J.isString(p)||(p=p?"include":"omit");const g="credentials"in Request.prototype;_=new Request(t,{...E,signal:f,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:a,duplex:"half",credentials:g?p:void 0});let N=await fetch(_);const S=Pd&&(l==="stream"||l==="response");if(Pd&&(o||S&&O)){const v={};["status","statusText","headers"].forEach(D=>{v[D]=N[D]});const y=J.toFiniteNumber(N.headers.get("content-length")),[P,C]=o&&UT(y,Du(wT(o),!0))||[];N=new Response(WT(N.body,FT,P,()=>{C&&C(),O&&O()}),v)}l=l||"text";let A=await Pu[J.findKey(Pu,l)||"text"](N,e);return!S&&O&&O(),await new Promise((v,y)=>{H1(v,y,{data:A,headers:gn.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:_})})}catch(g){throw O&&O(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new Qe("Network Error",Qe.ERR_NETWORK,e,_),{cause:g.cause||g}):Qe.from(g,g&&g.code,e,_)}}),Ld={http:w2,xhr:EC,fetch:OC};J.forEach(Ld,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zT=e=>`- ${e}`,gC=e=>J.isFunction(e)||e===null||e===!1,Y1={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,a;const s={};for(let r=0;r`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?r.length>1?`since : +`+r.map(zT).join(` +`):" "+zT(r[0]):"as no adapter specified";throw new Qe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return a},adapters:Ld};function Mc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fr(null,e)}function xT(e){return Mc(e),e.headers=gn.from(e.headers),e.data=wc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Y1.getAdapter(e.adapter||lo.adapter)(e).then(function(a){return Mc(e),a.data=wc.call(e,e.transformResponse,a),a.headers=gn.from(a.headers),a},function(a){return G1(a)||(Mc(e),a&&a.response&&(a.response.data=wc.call(e,e.transformResponse,a.response),a.response.headers=gn.from(a.response.headers))),Promise.reject(a)})}const X1="1.7.7",lp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{lp[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}});const BT={};lp.transitional=function(t,n,a){function s(r,i){return"[Axios v"+X1+"] Transitional option '"+r+"'"+i+(a?". "+a:"")}return(r,i,o)=>{if(t===!1)throw new Qe(s(i," has been removed"+(n?" in "+n:"")),Qe.ERR_DEPRECATED);return n&&!BT[i]&&(BT[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,o):!0}};function IC(e,t,n){if(typeof e!="object")throw new Qe("options must be an object",Qe.ERR_BAD_OPTION_VALUE);const a=Object.keys(e);let s=a.length;for(;s-- >0;){const r=a[s],i=t[r];if(i){const o=e[r],u=o===void 0||i(o,r,e);if(u!==!0)throw new Qe("option "+r+" must be "+u,Qe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Qe("Unknown option "+r,Qe.ERR_BAD_OPTION)}}const yd={assertOptions:IC,validators:lp},Ka=yd.validators;let ks=class{constructor(t){this.defaults=t,this.interceptors={request:new $T,response:new $T}}async request(t,n){try{return await this._request(t,n)}catch(a){if(a instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const r=s.stack?s.stack.replace(/^.+\n/,""):"";try{a.stack?r&&!String(a.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(a.stack+=` +`+r):a.stack=r}catch{}}throw a}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ms(this.defaults,n);const{transitional:a,paramsSerializer:s,headers:r}=n;a!==void 0&&yd.assertOptions(a,{silentJSONParsing:Ka.transitional(Ka.boolean),forcedJSONParsing:Ka.transitional(Ka.boolean),clarifyTimeoutError:Ka.transitional(Ka.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:yd.assertOptions(s,{encode:Ka.function,serialize:Ka.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&J.merge(r.common,r[n.method]);r&&J.forEach(["delete","get","head","post","put","patch","common"],_=>{delete r[_]}),n.headers=gn.concat(i,r);const o=[];let u=!0;this.interceptors.request.forEach(function(O){typeof O.runWhen=="function"&&O.runWhen(n)===!1||(u=u&&O.synchronous,o.unshift(O.fulfilled,O.rejected))});const l=[];this.interceptors.response.forEach(function(O){l.push(O.fulfilled,O.rejected)});let c,p=0,E;if(!u){const _=[xT.bind(this),void 0];for(_.unshift.apply(_,o),_.push.apply(_,l),E=_.length,c=Promise.resolve(n);p{if(!a._listeners)return;let r=a._listeners.length;for(;r-- >0;)a._listeners[r](s);a._listeners=null}),this.promise.then=s=>{let r;const i=new Promise(o=>{a.subscribe(o),r=o}).then(s);return i.cancel=function(){a.unsubscribe(r)},i},t(function(r,i,o){a.reason||(a.reason=new Fr(r,i,o),n(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=a=>{t.abort(a)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Q1(function(s){t=s}),cancel:t}}};function NC(e){return function(n){return e.apply(null,n)}}function vC(e){return J.isObject(e)&&e.isAxiosError===!0}const $d={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($d).forEach(([e,t])=>{$d[t]=e});function Z1(e){const t=new ks(e),n=C1(ks.prototype.request,t);return J.extend(n,ks.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Z1(Ms(e,s))},n}const Wt=Z1(lo);Wt.Axios=ks;Wt.CanceledError=Fr;Wt.CancelToken=RC;Wt.isCancel=G1;Wt.VERSION=X1;Wt.toFormData=Hl;Wt.AxiosError=Qe;Wt.Cancel=Wt.CanceledError;Wt.all=function(t){return Promise.all(t)};Wt.spread=NC;Wt.isAxiosError=vC;Wt.mergeConfig=Ms;Wt.AxiosHeaders=gn;Wt.formToJSON=e=>B1(J.isHTMLForm(e)?new FormData(e):e);Wt.getAdapter=Y1.getAdapter;Wt.HttpStatusCode=$d;Wt.default=Wt;const{Axios:Wft,AxiosError:Fft,CanceledError:zft,isCancel:xft,CancelToken:Bft,VERSION:Gft,all:Hft,Cancel:Vft,isAxiosError:Kft,spread:jft,toFormData:qft,AxiosHeaders:Yft,HttpStatusCode:Xft,formToJSON:Qft,getAdapter:Zft,mergeConfig:Jft}=Wt;var J1=(e=>(e.ACCEPT_PRIVACY_POLICY="ACCEPT_PRIVACY_POLICY",e.CHECK_AUTH_USER="CHECK_AUTH_USER",e.CONFIRM_ACCOUNT="CONFIRM_ACCOUNT",e.CONFIRM_EMAIL="CONFIRM_EMAIL",e.DELETE_ACCOUNT="DELETE_ACCOUNT",e.DELETE_PICTURE="DELETE_PICTURE",e.GET_REQUEST_DATA_EXPORT="GET_REQUEST_DATA_EXPORT",e.GET_USER_PROFILE="GET_USER_PROFILE",e.LOGIN_OR_REGISTER="LOGIN_OR_REGISTER",e.LOGOUT="LOGOUT",e.REQUEST_DATA_EXPORT="REQUEST_DATA_EXPORT",e.RESEND_ACCOUNT_CONFIRMATION_EMAIL="RESEND_ACCOUNT_CONFIRMATION_EMAIL",e.RESET_USER_PASSWORD="RESET_USER_PASSWORD",e.RESET_USER_SPORT_PREFERENCES="RESET_USER_SPORT_PREFERENCES",e.SEND_PASSWORD_RESET_REQUEST="SEND_PASSWORD_RESET_REQUEST",e.UPDATE_USER_ACCOUNT="UPDATE_USER_ACCOUNT",e.UPDATE_USER_PICTURE="UPDATE_USER_PICTURE",e.UPDATE_USER_PROFILE="UPDATE_USER_PROFILE",e.UPDATE_USER_PREFERENCES="UPDATE_USER_PREFERENCES",e.UPDATE_USER_SPORT_PREFERENCES="UPDATE_USER_SPORT_PREFERENCES",e))(J1||{}),eS=(e=>(e.AUTH_TOKEN="AUTH_TOKEN",e.AUTH_USER_PROFILE="AUTH_USER_PROFILE",e.IS_ADMIN="IS_ADMIN",e.IS_AUTHENTICATED="IS_AUTHENTICATED",e.IS_PROFILE_NOT_LOADED="IS_PROFILE_NOT_LOADED",e.IS_SUCCESS="IS_SUCCESS",e.IS_REGISTRATION_SUCCESS="IS_REGISTRATION_SUCCESS",e.USER_LOADING="USER_LOADING",e.EXPORT_REQUEST="EXPORT_REQUEST",e))(eS||{}),tS=(e=>(e.CLEAR_AUTH_USER_TOKEN="CLEAR_AUTH_USER_TOKEN",e.UPDATE_AUTH_TOKEN="UPDATE_AUTH_TOKEN",e.UPDATE_AUTH_USER_PROFILE="UPDATE_AUTH_USER_PROFILE",e.UPDATE_IS_SUCCESS="UPDATE_USER_IS_SUCCESS",e.UPDATE_IS_REGISTRATION_SUCCESS="UPDATE_IS_REGISTRATION_SUCCESS",e.UPDATE_USER_LOADING="UPDATE_USER_LOADING",e.SET_EXPORT_REQUEST="SET_EXPORT_REQUEST",e))(tS||{}),nS=(e=>(e.ADD_EQUIPMENT="ADD_EQUIPMENT",e.DELETE_EQUIPMENT="DELETE_EQUIPMENT",e.GET_EQUIPMENT="GET_EQUIPMENT",e.GET_EQUIPMENT_TYPES="GET_EQUIPMENT_TYPES",e.GET_EQUIPMENTS="GET_EQUIPMENTS",e.REFRESH_EQUIPMENT="REFRESH_EQUIPMENT",e.UPDATE_EQUIPMENT="UPDATE_EQUIPMENT",e.UPDATE_EQUIPMENT_TYPE="UPDATE_EQUIPMENT_TYPE",e))(nS||{}),aS=(e=>(e.EQUIPMENT="EQUIPMENT",e.EQUIPMENTS="EQUIPMENTS",e.EQUIPMENT_TYPES="EQUIPMENT_TYPES",e.LOADING="LOADING",e))(aS||{}),sS=(e=>(e.ADD_EQUIPMENT="ADD_EQUIPMENT",e.REMOVE_EQUIPMENT="REMOVE_EQUIPMENT",e.SET_EQUIPMENTS="SET_EQUIPMENTS",e.SET_EQUIPMENT_TYPES="SET_EQUIPMENT_TYPES",e.SET_LOADING="SET_LOADING",e.UPDATE_EQUIPMENT="UPDATE_EQUIPMENT",e))(sS||{}),rS=(e=>(e.AUTHORIZE_CLIENT="AUTHORIZE_CLIENT",e.CREATE_CLIENT="CREATE_CLIENT",e.DELETE_CLIENT="DELETE_CLIENT",e.GET_CLIENTS="GET_CLIENTS",e.GET_CLIENT_BY_CLIENT_ID="GET_CLIENT_BY_CLIENT_ID",e.GET_CLIENT_BY_ID="GET_CLIENT_BY_ID",e.REVOKE_ALL_TOKENS="REVOKE_ALL_TOKENS",e))(rS||{}),iS=(e=>(e.CLIENT="CLIENT",e.CLIENTS="CLIENTS",e.CLIENTS_PAGINATION="CLIENTS_PAGINATION",e.REVOCATION_SUCCESSFUL="REVOCATION_SUCCESSFUL",e))(iS||{}),oS=(e=>(e.EMPTY_CLIENT="EMPTY_CLIENT",e.SET_CLIENT="SET_CLIENT",e.SET_CLIENTS="SET_CLIENTS",e.SET_CLIENTS_PAGINATION="SET_CLIENTS_PAGINATION",e.SET_REVOCATION_SUCCESSFUL="SET_REVOCATION_SUCCESSFUL",e))(oS||{}),uS=(e=>(e.GET_APPLICATION_CONFIG="GET_APPLICATION_CONFIG",e.GET_APPLICATION_PRIVACY_POLICY="GET_APPLICATION_PRIVACY_POLICY",e.GET_APPLICATION_STATS="GET_APPLICATION_STATS",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LANGUAGE="UPDATE_APPLICATION_LANGUAGE",e))(uS||{}),lS=(e=>(e.APP_CONFIG="APP_CONFIG",e.APP_LOADING="APP_LOADING",e.APP_STATS="APP_STATS",e.DARK_MODE="DARK_MODE",e.ERROR_MESSAGES="ERROR_MESSAGES",e.LANGUAGE="LANGUAGE",e.LOCALE="LOCALE",e))(lS||{}),cS=(e=>(e.EMPTY_ERROR_MESSAGES="EMPTY_ERROR_MESSAGES",e.SET_ERROR_MESSAGES="SET_ERROR_MESSAGES",e.UPDATE_APPLICATION_CONFIG="UPDATE_APPLICATION_CONFIG",e.UPDATE_APPLICATION_LOADING="UPDATE_APPLICATION_LOADING",e.UPDATE_APPLICATION_PRIVACY_POLICY="UPDATE_APPLICATION_PRIVACY_POLICY",e.UPDATE_APPLICATION_STATS="UPDATE_APPLICATION_STATS",e.UPDATE_DARK_MODE="UPDATE_DARK_MODE",e.UPDATE_LANG="UPDATE_LANG",e))(cS||{}),dS=(e=>(e.GET_SPORTS="GET_SPORTS",e.UPDATE_SPORTS="UPDATE_SPORTS",e))(dS||{}),ES=(e=>(e.SPORTS="SPORTS",e))(ES||{}),pS=(e=>(e.SET_SPORTS="SET_SPORTS",e))(pS||{}),fS=(e=>(e.GET_USER_SPORT_STATS="GET_USER_SPORT_STATS",e.GET_USER_STATS="GET_USER_STATS",e))(fS||{}),TS=(e=>(e.USER_SPORT_STATS="USER_SPORT_STATS",e.USER_STATS="USER_STATS",e.STATS_LOADING="STATS_LOADING",e.TOTAL_WORKOUTS="TOTAL_WORKOUTS",e))(TS||{}),mS=(e=>(e.EMPTY_USER_SPORT_STATS="EMPTY_USER_SPORT_STATS",e.EMPTY_USER_STATS="EMPTY_USER_STATS",e.UPDATE_USER_SPORT_STATS="UPDATE_USER_SPORT_STATS",e.UPDATE_USER_STATS="UPDATE_USER_STATS",e.UPDATE_STATS_LOADING="UPDATE_STATS_LOADING",e.UPDATE_TOTAL_WORKOUTS="UPDATE_TOTAL_WORKOUTS",e))(mS||{}),_S=(e=>(e.EMPTY_USER="EMPTY_USER",e.EMPTY_USERS="EMPTY_USERS",e.GET_USER="GET_USER",e.GET_USERS="GET_USERS",e.UPDATE_USER="UPDATE_USER",e.DELETE_USER_ACCOUNT="DELETE_USER_ACCOUNT",e))(_S||{}),hS=(e=>(e.USER="USER",e.USERS="USERS",e.USERS_IS_SUCCESS="USERS_IS_SUCCESS",e.USERS_LOADING="USERS_LOADING",e.USERS_PAGINATION="USERS_PAGINATION",e))(hS||{}),SS=(e=>(e.UPDATE_USER="UPDATE_USER",e.UPDATE_USER_IN_USERS="UPDATE_USER_IN_USERS",e.UPDATE_USERS="UPDATE_USERS",e.UPDATE_USERS_LOADING="UPDATE_USERS_LOADING",e.UPDATE_USERS_PAGINATION="UPDATE_USERS_PAGINATION",e.UPDATE_IS_SUCCESS="UPDATE_IS_SUCCESS",e))(SS||{}),AS=(e=>(e.ADD_WORKOUT="ADD_WORKOUT",e.ADD_WORKOUT_WITHOUT_GPX="ADD_WORKOUT_WITHOUT_GPX",e.DELETE_WORKOUT="DELETE_WORKOUT",e.EDIT_WORKOUT="EDIT_WORKOUT",e.EDIT_WORKOUT_CONTENT="EDIT_WORKOUT_CONTENT",e.GET_CALENDAR_WORKOUTS="GET_CALENDAR_WORKOUTS",e.GET_USER_WORKOUTS="GET_USER_WORKOUTS",e.GET_TIMELINE_WORKOUTS="GET_TIMELINE_WORKOUTS",e.GET_MORE_TIMELINE_WORKOUTS="GET_MORE_TIMELINE_WORKOUTS",e.GET_WORKOUT_DATA="GET_WORKOUT_DATA",e))(AS||{}),OS=(e=>(e.CALENDAR_WORKOUTS="CALENDAR_WORKOUTS",e.TIMELINE_WORKOUTS="TIMELINE_WORKOUTS",e.USER_WORKOUTS="USER_WORKOUTS",e.WORKOUT_CONTENT_EDITION="WORKOUT_CONTENT_EDITION",e.WORKOUT_DATA="WORKOUT_DATA",e.WORKOUTS_PAGINATION="WORKOUTS_PAGINATION",e))(OS||{}),Ls=(e=>(e.ADD_TIMELINE_WORKOUTS="ADD_TIMELINE_WORKOUTS",e.EMPTY_WORKOUTS="EMPTY_WORKOUTS",e.EMPTY_CALENDAR_WORKOUTS="EMPTY_CALENDAR_WORKOUTS",e.EMPTY_WORKOUT="EMPTY_WORKOUT",e.SET_CALENDAR_WORKOUTS="SET_CALENDAR_WORKOUTS",e.SET_TIMELINE_WORKOUTS="SET_TIMELINE_WORKOUTS",e.SET_USER_WORKOUTS="SET_USER_WORKOUTS",e.SET_WORKOUT="SET_WORKOUT",e.SET_WORKOUT_GPX="SET_WORKOUT_GPX",e.SET_WORKOUT_CHART_DATA="SET_WORKOUT_CHART_DATA",e.SET_WORKOUT_CONTENT="SET_WORKOUT_CONTENT",e.SET_WORKOUT_CONTENT_LOADING="SET_WORKOUT_CONTENT_LOADING",e.SET_WORKOUT_CONTENT_TYPE="SET_WORKOUT_CONTENT_TYPE",e.SET_WORKOUT_LOADING="SET_WORKOUT_LOADING",e.SET_WORKOUTS_PAGINATION="SET_WORKOUTS_PAGINATION",e))(Ls||{});const K={ACTIONS:uS,GETTERS:lS,MUTATIONS:cS},Lt={ACTIONS:dS,GETTERS:ES,MUTATIONS:pS},wt={ACTIONS:fS,GETTERS:TS,MUTATIONS:mS},X={ACTIONS:J1,GETTERS:eS,MUTATIONS:tS},at={ACTIONS:rS,GETTERS:iS,MUTATIONS:oS},He={ACTIONS:_S,GETTERS:hS,MUTATIONS:SS},ge={ACTIONS:AS,GETTERS:OS,MUTATIONS:Ls},Fe={ACTIONS:nS,GETTERS:aS,MUTATIONS:sS},co=()=>"/api/",fe=(e,t,n="UNKNOWN")=>{var i;if(t&&t.message==="canceled")return;const a=t!=null&&t.response&&t.response.data?t.response.data:null;if(((i=t==null?void 0:t.response)==null?void 0:i.status)===401&&(a==null?void 0:a.error)==="invalid_token"){localStorage.removeItem("authToken"),e.dispatch(X.ACTIONS.CHECK_AUTH_USER);return}const s=bC(t,e),r=s?"":t?t.response?t.response.status===413?"file size is greater than the allowed size":a!=null&&a.message?a.message:n:t.message?t.message:n:n;e.commit(K.MUTATIONS.SET_ERROR_MESSAGES,s||(r.includes(` `)?r.split(` -`).filter(o=>o!=="").map(o=>`api.ERROR.${o}`):`api.ERROR.${r}`))},CC=(e,t)=>{var n;if((n=e==null?void 0:e.response)!=null&&n.data){const a={...e.response.data};if("equipment_id"in a){const s=t.getters[Fe.GETTERS.EQUIPMENTS].filter(r=>r.id===a.equipment_id);return{equipmentId:a.equipment_id,equipmentLabel:s.length===0?null:s[0].label,status:a.status}}}return null},Vl=e=>e===null&&window.matchMedia("(prefers-color-scheme: dark)").matches?!0:e===!0,DC={class:"user-picture"},PC=["alt","src"],LC={key:1,class:"no-picture"},Eo=ee({__name:"UserPicture",props:{user:{}},setup(e){const t=e,n=M(()=>t.user.picture?`${co()}users/${t.user.username}/picture?${Date.now()}`:"");return(a,s)=>(h(),R("div",DC,[n.value!==""?(h(),R("img",{key:0,class:"profile-user-img",alt:a.$t("user.USER_PICTURE"),src:n.value},null,8,PC)):(h(),R("div",LC,s[0]||(s[0]=[d("i",{class:"fa fa-user-circle-o","aria-hidden":"true"},null,-1)])))]))}});function yC(){return SS().__VUE_DEVTOOLS_GLOBAL_HOOK__}function SS(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const $C=typeof Proxy=="function",kC="devtools-plugin:setup",UC="plugin:settings:set";let Qs,kd;function wC(){var e;return Qs!==void 0||(typeof window<"u"&&window.performance?(Qs=!0,kd=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Qs=!0,kd=globalThis.perf_hooks.performance):Qs=!1),Qs}function MC(){return wC()?kd.now():Date.now()}class WC{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const i in t.settings){const o=t.settings[i];a[i]=o.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},a);try{const i=localStorage.getItem(s),o=JSON.parse(i);Object.assign(r,o)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}r=i},now(){return MC()}},n&&n.on(UC,(i,o)=>{i===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(i,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(i,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(l=>{this.targetQueue.push({method:o,args:u,resolve:l})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function FC(e,t){const n=e,a=SS(),s=yC(),r=$C&&n.enableEarlyProxy;if(s&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit(kC,e,t);else{const i=r?new WC(n,s):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! +`).filter(o=>o!=="").map(o=>`api.ERROR.${o}`):`api.ERROR.${r}`))},bC=(e,t)=>{var n;if((n=e==null?void 0:e.response)!=null&&n.data){const a={...e.response.data};if("equipment_id"in a){const s=t.getters[Fe.GETTERS.EQUIPMENTS].filter(r=>r.id===a.equipment_id);return{equipmentId:a.equipment_id,equipmentLabel:s.length===0?null:s[0].label,status:a.status}}}return null},Kl=e=>e===null&&window.matchMedia("(prefers-color-scheme: dark)").matches?!0:e===!0,CC={class:"user-picture"},DC=["alt","src"],PC={key:1,class:"no-picture"},Eo=ee({__name:"UserPicture",props:{user:{}},setup(e){const t=e,n=M(()=>t.user.picture?`${co()}users/${t.user.username}/picture?${Date.now()}`:"");return(a,s)=>(h(),I("div",CC,[n.value!==""?(h(),I("img",{key:0,class:"profile-user-img",alt:a.$t("user.USER_PICTURE"),src:n.value},null,8,DC)):(h(),I("div",PC,s[0]||(s[0]=[d("i",{class:"fa fa-user-circle-o","aria-hidden":"true"},null,-1)])))]))}});function LC(){return gS().__VUE_DEVTOOLS_GLOBAL_HOOK__}function gS(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const yC=typeof Proxy=="function",$C="devtools-plugin:setup",kC="plugin:settings:set";let Qs,kd;function UC(){var e;return Qs!==void 0||(typeof window<"u"&&window.performance?(Qs=!0,kd=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Qs=!0,kd=globalThis.perf_hooks.performance):Qs=!1),Qs}function wC(){return UC()?kd.now():Date.now()}class MC{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const i in t.settings){const o=t.settings[i];a[i]=o.defaultValue}const s=`__vue-devtools-plugin-settings__${t.id}`;let r=Object.assign({},a);try{const i=localStorage.getItem(s),o=JSON.parse(i);Object.assign(r,o)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}r=i},now(){return wC()}},n&&n.on(kC,(i,o)=>{i===this.plugin.id&&this.fallbacks.setSettings(o)}),this.proxiedOn=new Proxy({},{get:(i,o)=>this.target?this.target.on[o]:(...u)=>{this.onQueue.push({method:o,args:u})}}),this.proxiedTarget=new Proxy({},{get:(i,o)=>this.target?this.target[o]:o==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(o)?(...u)=>(this.targetQueue.push({method:o,args:u,resolve:()=>{}}),this.fallbacks[o](...u)):(...u)=>new Promise(l=>{this.targetQueue.push({method:o,args:u,resolve:l})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function WC(e,t){const n=e,a=gS(),s=LC(),r=yC&&n.enableEarlyProxy;if(s&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))s.emit($C,e,t);else{const i=r?new MC(n,s):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT - */var AS="store";function po(e){return e===void 0&&(e=null),Ct(e!==null?e:AS)}function zr(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function zC(e){return e!==null&&typeof e=="object"}function xC(e){return e&&typeof e.then=="function"}function BC(e,t){return function(){return e(t)}}function OS(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function gS(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Kl(e,n,[],e._modules.root,!0),dp(e,n,t)}function dp(e,t,n){var a=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={},o={},u=J0(!0);u.run(function(){zr(r,function(l,c){i[c]=BC(l,e),o[c]=M(function(){return i[c]()}),Object.defineProperty(e.getters,c,{get:function(){return o[c].value},enumerable:!0})})}),e._state=Qt({data:t}),e._scope=u,e.strict&&jC(e),a&&n&&e._withCommit(function(){a.data=null}),s&&s.stop()}function Kl(e,t,n,a,s){var r=!n.length,i=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=a),!r&&!s){var o=Ep(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){o[u]=a.state})}var l=a.context=GC(e,i,n);a.forEachMutation(function(c,p){var E=i+p;HC(e,E,c,l)}),a.forEachAction(function(c,p){var E=c.root?p:i+p,f=c.handler||c;VC(e,E,f,l)}),a.forEachGetter(function(c,p){var E=i+p;KC(e,E,c,l)}),a.forEachChild(function(c,p){Kl(e,t,n.concat(p),c,s)})}function GC(e,t,n){var a=t==="",s={dispatch:a?e.dispatch:function(r,i,o){var u=Pu(r,i,o),l=u.payload,c=u.options,p=u.type;return(!c||!c.root)&&(p=t+p),e.dispatch(p,l)},commit:a?e.commit:function(r,i,o){var u=Pu(r,i,o),l=u.payload,c=u.options,p=u.type;(!c||!c.root)&&(p=t+p),e.commit(p,l,c)}};return Object.defineProperties(s,{getters:{get:a?function(){return e.getters}:function(){return IS(e,t)}},state:{get:function(){return Ep(e.state,n)}}}),s}function IS(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,a)===t){var r=s.slice(a);Object.defineProperty(n,r,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function HC(e,t,n,a){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,a.state,i)})}function VC(e,t,n,a){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(i){var o=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},i);return xC(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):o})}function KC(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(r){return n(a.state,a.getters,r.state,r.getters)})}function jC(e){We(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Ep(e,t){return t.reduce(function(n,a){return n[a]},e)}function Pu(e,t,n){return zC(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var qC="vuex bindings",BT="vuex:mutations",Mc="vuex:actions",Zs="vuex",YC=0;function XC(e,t){FC({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[qC]},function(n){n.addTimelineLayer({id:BT,label:"Vuex Mutations",color:GT}),n.addTimelineLayer({id:Mc,label:"Vuex Actions",color:GT}),n.addInspector({id:Zs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(a){if(a.app===e&&a.inspectorId===Zs)if(a.filter){var s=[];bS(s,t._modules.root,a.filter,""),a.rootNodes=s}else a.rootNodes=[vS(t._modules.root,"")]}),n.on.getInspectorState(function(a){if(a.app===e&&a.inspectorId===Zs){var s=a.nodeId;IS(t,s),a.state=JC(tD(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(a){if(a.app===e&&a.inspectorId===Zs){var s=a.nodeId,r=a.path;s!=="root"&&(r=s.split("/").filter(Boolean).concat(r)),t._withCommit(function(){a.set(t._state.data,r,a.state.value)})}}),t.subscribe(function(a,s){var r={};a.payload&&(r.payload=a.payload),r.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Zs),n.sendInspectorState(Zs),n.addTimelineEvent({layerId:BT,event:{time:Date.now(),title:a.type,data:r}})}),t.subscribeAction({before:function(a,s){var r={};a.payload&&(r.payload=a.payload),a._id=YC++,a._time=Date.now(),r.state=s,n.addTimelineEvent({layerId:Mc,event:{time:a._time,title:a.type,groupId:a._id,subtitle:"start",data:r}})},after:function(a,s){var r={},i=Date.now()-a._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},a.payload&&(r.payload=a.payload),r.state=s,n.addTimelineEvent({layerId:Mc,event:{time:Date.now(),title:a.type,groupId:a._id,subtitle:"end",data:r}})}})})}var GT=8702998,QC=6710886,ZC=16777215,RS={label:"namespaced",textColor:ZC,backgroundColor:QC};function NS(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function vS(e,t){return{id:t||"root",label:NS(t),tags:e.namespaced?[RS]:[],children:Object.keys(e._children).map(function(n){return vS(e._children[n],t+n+"/")})}}function bS(e,t,n,a){a.includes(n)&&e.push({id:a||"root",label:a.endsWith("/")?a.slice(0,a.length-1):a||"Root",tags:t.namespaced?[RS]:[]}),Object.keys(t._children).forEach(function(s){bS(e,t._children[s],n,a+s+"/")})}function JC(e,t,n){t=n==="root"?t:t[n];var a=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(a.length){var r=eD(t);s.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?NS(i):i,editable:!1,value:Ud(function(){return r[i]})}})}return s}function eD(e){var t={};return Object.keys(e).forEach(function(n){var a=n.split("/");if(a.length>1){var s=t,r=a.pop();a.forEach(function(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[r]=Ud(function(){return e[n]})}else t[n]=Ud(function(){return e[n]})}),t}function tD(e,t){var n=t.split("/").filter(function(a){return a});return n.reduce(function(a,s,r){var i=a[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return r===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Ud(e){try{return e()}catch(t){return t}}var sa=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var a=t.state;this.state=(typeof a=="function"?a():a)||{}},CS={namespaced:{configurable:!0}};CS.namespaced.get=function(){return!!this._rawModule.namespaced};sa.prototype.addChild=function(t,n){this._children[t]=n};sa.prototype.removeChild=function(t){delete this._children[t]};sa.prototype.getChild=function(t){return this._children[t]};sa.prototype.hasChild=function(t){return t in this._children};sa.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};sa.prototype.forEachChild=function(t){zr(this._children,t)};sa.prototype.forEachGetter=function(t){this._rawModule.getters&&zr(this._rawModule.getters,t)};sa.prototype.forEachAction=function(t){this._rawModule.actions&&zr(this._rawModule.actions,t)};sa.prototype.forEachMutation=function(t){this._rawModule.mutations&&zr(this._rawModule.mutations,t)};Object.defineProperties(sa.prototype,CS);var Gs=function(t){this.register([],t,!1)};Gs.prototype.get=function(t){return t.reduce(function(n,a){return n.getChild(a)},this.root)};Gs.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(a,s){return n=n.getChild(s),a+(n.namespaced?s+"/":"")},"")};Gs.prototype.update=function(t){DS([],this.root,t)};Gs.prototype.register=function(t,n,a){var s=this;a===void 0&&(a=!0);var r=new sa(n,a);if(t.length===0)this.root=r;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],r)}n.modules&&zr(n.modules,function(o,u){s.register(t.concat(u),o,a)})};Gs.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1],s=n.getChild(a);s&&s.runtime&&n.removeChild(a)};Gs.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1];return n?n.hasChild(a):!1};function DS(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return;DS(e.concat(a),t.getChild(a),n.modules[a])}}function nD(e){return new bn(e)}var bn=function(t){var n=this;t===void 0&&(t={});var a=t.plugins;a===void 0&&(a=[]);var s=t.strict;s===void 0&&(s=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Gs(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var i=this,o=this,u=o.dispatch,l=o.commit;this.dispatch=function(E,f){return u.call(i,E,f)},this.commit=function(E,f,_){return l.call(i,E,f,_)},this.strict=s;var c=this._modules.root.state;Kl(this,c,[],this._modules.root),dp(this,c),a.forEach(function(p){return p(n)})},pp={state:{configurable:!0}};bn.prototype.install=function(t,n){t.provide(n||AS,this),t.config.globalProperties.$store=this;var a=this._devtools!==void 0?this._devtools:!1;a&&XC(t,this)};pp.state.get=function(){return this._state.data};pp.state.set=function(e){};bn.prototype.commit=function(t,n,a){var s=this,r=Pu(t,n,a),i=r.type,o=r.payload,u={type:i,payload:o},l=this._mutations[i];l&&(this._withCommit(function(){l.forEach(function(p){p(o)})}),this._subscribers.slice().forEach(function(c){return c(u,s.state)}))};bn.prototype.dispatch=function(t,n){var a=this,s=Pu(t,n),r=s.type,i=s.payload,o={type:r,payload:i},u=this._actions[r];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,a.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(c){return c(i)})):u[0](i);return new Promise(function(c,p){l.then(function(E){try{a._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(o,a.state)})}catch{}c(E)},function(E){try{a._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(o,a.state,E)})}catch{}p(E)})})}};bn.prototype.subscribe=function(t,n){return OS(t,this._subscribers,n)};bn.prototype.subscribeAction=function(t,n){var a=typeof t=="function"?{before:t}:t;return OS(a,this._actionSubscribers,n)};bn.prototype.watch=function(t,n,a){var s=this;return We(function(){return t(s.state,s.getters)},n,Object.assign({},a))};bn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};bn.prototype.registerModule=function(t,n,a){a===void 0&&(a={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Kl(this,this.state,t,this._modules.get(t),a.preserveState),dp(this,this.state)};bn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var a=Ep(n.state,t.slice(0,-1));delete a[t[t.length-1]]}),gS(this)};bn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};bn.prototype.hotUpdate=function(t){this._modules.update(t),gS(this,!0)};bn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(bn.prototype,pp);function ke(){return po()}function Ze(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}function be(e){return function(t,n){var a=n!=null&&n.context?String(n.context):"standalone",s;if(a==="formatting"&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,i=n!=null&&n.width?String(n.width):r;s=e.formattingValues[i]||e.formattingValues[r]}else{var o=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[u]||e.values[o]}var l=e.argumentCallback?e.argumentCallback(t):t;return s[l]}}function Ce(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,s=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],r=t.match(s);if(!r)return null;var i=r[0],o=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(o)?sD(o,function(p){return p.test(i)}):aD(o,function(p){return p.test(i)}),l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;var c=t.slice(i.length);return{value:l,rest:c}}}function aD(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function sD(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;var s=a[0],r=t.match(e.parsePattern);if(!r)return null;var i=e.valueCallback?e.valueCallback(r[0]):r[0];i=n.valueCallback?n.valueCallback(i):i;var o=t.slice(s.length);return{value:i,rest:o}}}function Lu(e){"@babel/helpers - typeof";return Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lu(e)}function en(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Xe(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function nt(e){Xe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Lu(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function fo(e,t){Xe(2,arguments);var n=nt(e),a=en(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}function gr(e,t){Xe(2,arguments);var n=nt(e),a=en(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),r=new Date(n.getTime());r.setMonth(n.getMonth()+a+1,0);var i=r.getDate();return s>=i?r:(n.setFullYear(r.getFullYear(),r.getMonth(),s),n)}function rD(e,t){Xe(2,arguments);var n=nt(e).getTime(),a=en(t);return new Date(n+a)}var iD={};function Hs(){return iD}function jl(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getDay(),_=(f0?1:s}function PS(e,t){Xe(2,arguments);var n=HT(e),a=HT(t);return n.getTime()===a.getTime()}function oD(e){return Xe(1,arguments),e instanceof Date||Lu(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function uD(e){if(Xe(1,arguments),!oD(e)&&typeof e!="number")return!1;var t=nt(e);return!isNaN(Number(t))}function lD(e,t){Xe(2,arguments);var n=nt(e),a=nt(t),s=n.getFullYear()-a.getFullYear(),r=n.getMonth()-a.getMonth();return s*12+r}function cD(e,t){return Xe(2,arguments),nt(e).getTime()-nt(t).getTime()}var VT={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},dD="trunc";function ED(e){return e?VT[e]:VT[dD]}function pD(e){Xe(1,arguments);var t=nt(e);return t.setHours(23,59,59,999),t}function To(e){Xe(1,arguments);var t=nt(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function fD(e){Xe(1,arguments);var t=nt(e);return pD(t).getTime()===To(t).getTime()}function TD(e,t){Xe(2,arguments);var n=nt(e),a=nt(t),s=lu(n,a),r=Math.abs(lD(n,a)),i;if(r<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-s*r);var o=lu(n,a)===-s;fD(nt(e))&&r===1&&lu(e,a)===1&&(o=!1),i=s*(r-Number(o))}return i===0?0:i}function mD(e,t,n){Xe(2,arguments);var a=cD(e,t)/1e3;return ED(void 0)(a)}function mo(e){Xe(1,arguments);var t=nt(e);return t.setDate(1),t.setHours(0,0,0,0),t}function LS(e){Xe(1,arguments);var t=nt(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function fp(e){Xe(1,arguments);var t=nt(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Tp(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getDay(),_=(f=s.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function AD(e){Xe(1,arguments);var t=yS(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=$u(n);return a}var OD=6048e5;function gD(e){Xe(1,arguments);var t=nt(e),n=$u(t).getTime()-AD(t).getTime();return Math.round(n/OD)+1}function Ir(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getUTCDay(),_=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=new Date(0);_.setUTCFullYear(p+1,0,f),_.setUTCHours(0,0,0,0);var O=Ir(_,t),I=new Date(0);I.setUTCFullYear(p,0,f),I.setUTCHours(0,0,0,0);var g=Ir(I,t);return c.getTime()>=O.getTime()?p+1:c.getTime()>=g.getTime()?p:p-1}function ID(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&s!==void 0?s:c.firstWeekContainsDate)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:1),E=$S(e,t),f=new Date(0);f.setUTCFullYear(E,0,p),f.setUTCHours(0,0,0,0);var _=Ir(f,t);return _}var RD=6048e5;function ND(e,t){Xe(1,arguments);var n=nt(e),a=Ir(n,t).getTime()-ID(n,t).getTime();return Math.round(a/RD)+1}function Tt(e,t){for(var n=e<0?"-":"",a=Math.abs(e).toString();a.length0?a:1-a;return Tt(n==="yy"?s%100:s,n.length)},M:function(t,n){var a=t.getUTCMonth();return n==="M"?String(a+1):Tt(a+1,2)},d:function(t,n){return Tt(t.getUTCDate(),n.length)},a:function(t,n){var a=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(t,n){return Tt(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Tt(t.getUTCHours(),n.length)},m:function(t,n){return Tt(t.getUTCMinutes(),n.length)},s:function(t,n){return Tt(t.getUTCSeconds(),n.length)},S:function(t,n){var a=n.length,s=t.getUTCMilliseconds(),r=Math.floor(s*Math.pow(10,a-3));return Tt(r,n.length)}},Js={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vD={G:function(t,n,a){var s=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return a.era(s,{width:"abbreviated"});case"GGGGG":return a.era(s,{width:"narrow"});case"GGGG":default:return a.era(s,{width:"wide"})}},y:function(t,n,a){if(n==="yo"){var s=t.getUTCFullYear(),r=s>0?s:1-s;return a.ordinalNumber(r,{unit:"year"})}return ja.y(t,n)},Y:function(t,n,a,s){var r=$S(t,s),i=r>0?r:1-r;if(n==="YY"){var o=i%100;return Tt(o,2)}return n==="Yo"?a.ordinalNumber(i,{unit:"year"}):Tt(i,n.length)},R:function(t,n){var a=yS(t);return Tt(a,n.length)},u:function(t,n){var a=t.getUTCFullYear();return Tt(a,n.length)},Q:function(t,n,a){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(s);case"QQ":return Tt(s,2);case"Qo":return a.ordinalNumber(s,{unit:"quarter"});case"QQQ":return a.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,n,a){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(s);case"qq":return Tt(s,2);case"qo":return a.ordinalNumber(s,{unit:"quarter"});case"qqq":return a.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,n,a){var s=t.getUTCMonth();switch(n){case"M":case"MM":return ja.M(t,n);case"Mo":return a.ordinalNumber(s+1,{unit:"month"});case"MMM":return a.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(s,{width:"wide",context:"formatting"})}},L:function(t,n,a){var s=t.getUTCMonth();switch(n){case"L":return String(s+1);case"LL":return Tt(s+1,2);case"Lo":return a.ordinalNumber(s+1,{unit:"month"});case"LLL":return a.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(s,{width:"wide",context:"standalone"})}},w:function(t,n,a,s){var r=ND(t,s);return n==="wo"?a.ordinalNumber(r,{unit:"week"}):Tt(r,n.length)},I:function(t,n,a){var s=gD(t);return n==="Io"?a.ordinalNumber(s,{unit:"week"}):Tt(s,n.length)},d:function(t,n,a){return n==="do"?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):ja.d(t,n)},D:function(t,n,a){var s=SD(t);return n==="Do"?a.ordinalNumber(s,{unit:"dayOfYear"}):Tt(s,n.length)},E:function(t,n,a){var s=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return a.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(s,{width:"short",context:"formatting"});case"EEEE":default:return a.day(s,{width:"wide",context:"formatting"})}},e:function(t,n,a,s){var r=t.getUTCDay(),i=(r-s.weekStartsOn+8)%7||7;switch(n){case"e":return String(i);case"ee":return Tt(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(t,n,a,s){var r=t.getUTCDay(),i=(r-s.weekStartsOn+8)%7||7;switch(n){case"c":return String(i);case"cc":return Tt(i,n.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(t,n,a){var s=t.getUTCDay(),r=s===0?7:s;switch(n){case"i":return String(r);case"ii":return Tt(r,n.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(s,{width:"short",context:"formatting"});case"iiii":default:return a.day(s,{width:"wide",context:"formatting"})}},a:function(t,n,a){var s=t.getUTCHours(),r=s/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,n,a){var s=t.getUTCHours(),r;switch(s===12?r=Js.noon:s===0?r=Js.midnight:r=s/12>=1?"pm":"am",n){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,n,a){var s=t.getUTCHours(),r;switch(s>=17?r=Js.evening:s>=12?r=Js.afternoon:s>=4?r=Js.morning:r=Js.night,n){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,n,a){if(n==="ho"){var s=t.getUTCHours()%12;return s===0&&(s=12),a.ordinalNumber(s,{unit:"hour"})}return ja.h(t,n)},H:function(t,n,a){return n==="Ho"?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ja.H(t,n)},K:function(t,n,a){var s=t.getUTCHours()%12;return n==="Ko"?a.ordinalNumber(s,{unit:"hour"}):Tt(s,n.length)},k:function(t,n,a){var s=t.getUTCHours();return s===0&&(s=24),n==="ko"?a.ordinalNumber(s,{unit:"hour"}):Tt(s,n.length)},m:function(t,n,a){return n==="mo"?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ja.m(t,n)},s:function(t,n,a){return n==="so"?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ja.s(t,n)},S:function(t,n){return ja.S(t,n)},X:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();if(i===0)return"Z";switch(n){case"X":return jT(i);case"XXXX":case"XX":return bs(i);case"XXXXX":case"XXX":default:return bs(i,":")}},x:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"x":return jT(i);case"xxxx":case"xx":return bs(i);case"xxxxx":case"xxx":default:return bs(i,":")}},O:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+KT(i,":");case"OOOO":default:return"GMT"+bs(i,":")}},z:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+KT(i,":");case"zzzz":default:return"GMT"+bs(i,":")}},t:function(t,n,a,s){var r=s._originalDate||t,i=Math.floor(r.getTime()/1e3);return Tt(i,n.length)},T:function(t,n,a,s){var r=s._originalDate||t,i=r.getTime();return Tt(i,n.length)}};function KT(e,t){var n=e>0?"-":"+",a=Math.abs(e),s=Math.floor(a/60),r=a%60;if(r===0)return n+String(s);var i=t;return n+String(s)+i+Tt(r,2)}function jT(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Tt(Math.abs(e)/60,2)}return bs(e,t)}function bs(e,t){var n=t||"",a=e>0?"-":"+",s=Math.abs(e),r=Tt(Math.floor(s/60),2),i=Tt(s%60,2);return a+r+n+i}var qT=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},kS=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},bD=function(t,n){var a=t.match(/(P+)(p+)?/)||[],s=a[1],r=a[2];if(!r)return qT(t,n);var i;switch(s){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"});break}return i.replace("{{date}}",qT(s,n)).replace("{{time}}",kS(r,n))},CD={p:kS,P:bD},DD=["D","DD"],PD=["YY","YYYY"];function LD(e){return DD.indexOf(e)!==-1}function yD(e){return PD.indexOf(e)!==-1}function YT(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var $D={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},kD=function(t,n,a){var s,r=$D[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+s:s+" ago":s},UD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},wD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},MD={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},WD={date:Ze({formats:UD,defaultWidth:"full"}),time:Ze({formats:wD,defaultWidth:"full"}),dateTime:Ze({formats:MD,defaultWidth:"full"})},FD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zD=function(t,n,a,s){return FD[t]},xD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},BD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},GD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},HD={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},VD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},KD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},jD=function(t,n){var a=Number(t),s=a%100;if(s>20||s<10)switch(s%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},qD={ordinalNumber:jD,era:be({values:xD,defaultWidth:"wide"}),quarter:be({values:BD,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:GD,defaultWidth:"wide"}),day:be({values:HD,defaultWidth:"wide"}),dayPeriod:be({values:VD,defaultWidth:"wide",formattingValues:KD,defaultFormattingWidth:"wide"})},YD=/^(\d+)(th|st|nd|rd)?/i,XD=/\d+/i,QD={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ZD={any:[/^b/i,/^(a|c)/i]},JD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},e3={any:[/1/i,/2/i,/3/i,/4/i]},t3={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},n3={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},a3={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},s3={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},r3={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},i3={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},o3={ordinalNumber:Cn({matchPattern:YD,parsePattern:XD,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:QD,defaultMatchWidth:"wide",parsePatterns:ZD,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:JD,defaultMatchWidth:"wide",parsePatterns:e3,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:t3,defaultMatchWidth:"wide",parsePatterns:n3,defaultParseWidth:"any"}),day:Ce({matchPatterns:a3,defaultMatchWidth:"wide",parsePatterns:s3,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:r3,defaultMatchWidth:"any",parsePatterns:i3,defaultParseWidth:"any"})},_o={code:"en-US",formatDistance:kD,formatLong:WD,formatRelative:zD,localize:qD,match:o3,options:{weekStartsOn:0,firstWeekContainsDate:1}},u3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,l3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,c3=/^'([^]*?)'?$/,d3=/''/g,E3=/[a-zA-Z]/;function mn(e,t,n){var a,s,r,i,o,u,l,c,p,E,f,_,O,I,g,N,S,A;Xe(2,arguments);var v=String(t),y=Hs(),P=(a=(s=n==null?void 0:n.locale)!==null&&s!==void 0?s:y.locale)!==null&&a!==void 0?a:_o,C=en((r=(i=(o=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(l=n.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:y.firstWeekContainsDate)!==null&&i!==void 0?i:(p=y.locale)===null||p===void 0||(E=p.options)===null||E===void 0?void 0:E.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=en((f=(_=(O=(I=n==null?void 0:n.weekStartsOn)!==null&&I!==void 0?I:n==null||(g=n.locale)===null||g===void 0||(N=g.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&O!==void 0?O:y.weekStartsOn)!==null&&_!==void 0?_:(S=y.locale)===null||S===void 0||(A=S.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&f!==void 0?f:0);if(!(D>=0&&D<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var z=nt(e);if(!uD(z))throw new RangeError("Invalid time value");var $=wd(z),F=_D(z,$),Y={firstWeekContainsDate:C,weekStartsOn:D,locale:P,_originalDate:z},se=v.match(l3).map(function(B){var Q=B[0];if(Q==="p"||Q==="P"){var q=CD[Q];return q(B,P.formatLong)}return B}).join("").match(u3).map(function(B){if(B==="''")return"'";var Q=B[0];if(Q==="'")return p3(B);var q=vD[Q];if(q)return!(n!=null&&n.useAdditionalWeekYearTokens)&&yD(B)&&YT(B,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&LD(B)&&YT(B,t,String(e)),q(F,B,P.localize,Y);if(Q.match(E3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");return B}).join("");return se}function p3(e){var t=e.match(c3);return t?t[1].replace(d3,"'"):e}function US(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function f3(e){return US({},e)}var XT=1440,T3=2520,Wc=43200,m3=86400;function _3(e,t,n){var a,s;Xe(2,arguments);var r=Hs(),i=(a=(s=n==null?void 0:n.locale)!==null&&s!==void 0?s:r.locale)!==null&&a!==void 0?a:_o;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var o=lu(e,t);if(isNaN(o))throw new RangeError("Invalid time value");var u=US(f3(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:o}),l,c;o>0?(l=nt(t),c=nt(e)):(l=nt(e),c=nt(t));var p=mD(c,l),E=(wd(c)-wd(l))/1e3,f=Math.round((p-E)/60),_;if(f<2)return n!=null&&n.includeSeconds?p<5?i.formatDistance("lessThanXSeconds",5,u):p<10?i.formatDistance("lessThanXSeconds",10,u):p<20?i.formatDistance("lessThanXSeconds",20,u):p<40?i.formatDistance("halfAMinute",0,u):p<60?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",1,u):f===0?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",f,u);if(f<45)return i.formatDistance("xMinutes",f,u);if(f<90)return i.formatDistance("aboutXHours",1,u);if(f0?"след "+s:"преди "+s:s},R3={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},N3={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},v3={any:"{{date}} {{time}}"},b3={date:Ze({formats:R3,defaultWidth:"full"}),time:Ze({formats:N3,defaultWidth:"full"}),dateTime:Ze({formats:v3,defaultWidth:"any"})},mp=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function C3(e){var t=mp[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}function wS(e){var t=mp[e];return e===2?"'във "+t+" в' p":"'в "+t+" в' p"}function D3(e){var t=mp[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}var P3=function(t,n,a){var s=nt(t),r=s.getUTCDay();return Ws(s,n,a)?wS(r):C3(r)},L3=function(t,n,a){var s=nt(t),r=s.getUTCDay();return Ws(s,n,a)?wS(r):D3(r)},y3={lastWeek:P3,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:L3,other:"P"},$3=function(t,n,a,s){var r=y3[t];return typeof r=="function"?r(n,a,s):r},k3={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},U3={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},w3={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},M3={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},W3={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function F3(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function z3(e){return e==="quarter"}function Is(e,t,n,a,s){var r=z3(t)?s:F3(t)?a:n;return e+"-"+r}var x3=function(t,n){var a=Number(t),s=n==null?void 0:n.unit;if(a===0)return Is(0,s,"ев","ева","ево");if(a%1e3===0)return Is(a,s,"ен","на","но");if(a%100===0)return Is(a,s,"тен","тна","тно");var r=a%100;if(r>20||r<10)switch(r%10){case 1:return Is(a,s,"ви","ва","во");case 2:return Is(a,s,"ри","ра","ро");case 7:case 8:return Is(a,s,"ми","ма","мо")}return Is(a,s,"ти","та","то")},B3={ordinalNumber:x3,era:be({values:k3,defaultWidth:"wide"}),quarter:be({values:U3,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:w3,defaultWidth:"wide"}),day:be({values:M3,defaultWidth:"wide"}),dayPeriod:be({values:W3,defaultWidth:"wide"})},G3=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,H3=/\d+/i,V3={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},K3={any:[/^п/i,/^н/i]},j3={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},q3={any:[/1/i,/2/i,/3/i,/4/i]},Y3={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},X3={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},Q3={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},Z3={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},J3={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},eP={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},tP={ordinalNumber:Cn({matchPattern:G3,parsePattern:H3,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:V3,defaultMatchWidth:"wide",parsePatterns:K3,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:j3,defaultMatchWidth:"wide",parsePatterns:q3,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Q3,defaultMatchWidth:"wide",parsePatterns:Z3,defaultParseWidth:"any"}),day:Ce({matchPatterns:Y3,defaultMatchWidth:"wide",parsePatterns:X3,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:J3,defaultMatchWidth:"any",parsePatterns:eP,defaultParseWidth:"any"})},nP={code:"bg",formatDistance:I3,formatLong:b3,formatRelative:$3,localize:B3,match:tP,options:{weekStartsOn:1,firstWeekContainsDate:1}},aP={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},sP=function(t,n,a){var s,r=aP[t];r.type==="other"?s=r.other:n===1?s=r.one:n>1&&n<5?s=r.few:s=r.many;var i=(a==null?void 0:a.addSuffix)===!0,o=a==null?void 0:a.comparison,u;return i&&o===-1?u=s.past:i&&o===1?u=s.future:u=s.regular,u.replace("{{count}}",String(n))},rP={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},iP={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},oP={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},uP={date:Ze({formats:rP,defaultWidth:"full"}),time:Ze({formats:iP,defaultWidth:"full"}),dateTime:Ze({formats:oP,defaultWidth:"full"})},lP=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],cP={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(t){var n=t.getUTCDay();return"'v "+lP[n]+" o' p"},other:"P"},dP=function(t,n){var a=cP[t];return typeof a=="function"?a(n):a},EP={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},pP={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},fP={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},TP={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},mP={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},_P={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},hP={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},SP=function(t,n){var a=Number(t);return a+"."},AP={ordinalNumber:SP,era:be({values:EP,defaultWidth:"wide"}),quarter:be({values:pP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:fP,defaultWidth:"wide",formattingValues:TP,defaultFormattingWidth:"wide"}),day:be({values:mP,defaultWidth:"wide"}),dayPeriod:be({values:_P,defaultWidth:"wide",formattingValues:hP,defaultFormattingWidth:"wide"})},OP=/^(\d+)\.?/i,gP=/\d+/i,IP={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},RP={any:[/^p[řr]/i,/^(po|n)/i]},NP={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},vP={any:[/1/i,/2/i,/3/i,/4/i]},bP={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},CP={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},DP={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},PP={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},LP={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},yP={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},$P={ordinalNumber:Cn({matchPattern:OP,parsePattern:gP,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:IP,defaultMatchWidth:"wide",parsePatterns:RP,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:NP,defaultMatchWidth:"wide",parsePatterns:vP,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:bP,defaultMatchWidth:"wide",parsePatterns:CP,defaultParseWidth:"any"}),day:Ce({matchPatterns:DP,defaultMatchWidth:"wide",parsePatterns:PP,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:LP,defaultMatchWidth:"any",parsePatterns:yP,defaultParseWidth:"any"})},kP={code:"cs",formatDistance:sP,formatLong:uP,formatRelative:dP,localize:AP,match:$P,options:{weekStartsOn:1,firstWeekContainsDate:4}},ZT={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},UP=function(t,n,a){var s,r=a!=null&&a.addSuffix?ZT[t].withPreposition:ZT[t].standalone;return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+s:"vor "+s:s},wP={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},MP={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},WP={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},FP={date:Ze({formats:wP,defaultWidth:"full"}),time:Ze({formats:MP,defaultWidth:"full"}),dateTime:Ze({formats:WP,defaultWidth:"full"})},zP={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},xP=function(t,n,a,s){return zP[t]},BP={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},GP={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},Fd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},HP={narrow:Fd.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Fd.wide},VP={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},KP={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},jP={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},qP=function(t){var n=Number(t);return n+"."},YP={ordinalNumber:qP,era:be({values:BP,defaultWidth:"wide"}),quarter:be({values:GP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Fd,formattingValues:HP,defaultWidth:"wide"}),day:be({values:VP,defaultWidth:"wide"}),dayPeriod:be({values:KP,defaultWidth:"wide",formattingValues:jP,defaultFormattingWidth:"wide"})},XP=/^(\d+)(\.)?/i,QP=/\d+/i,ZP={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},JP={any:[/^v/i,/^n/i]},eL={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},tL={any:[/1/i,/2/i,/3/i,/4/i]},nL={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},aL={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},sL={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},rL={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},iL={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},oL={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},uL={ordinalNumber:Cn({matchPattern:XP,parsePattern:QP,valueCallback:function(t){return parseInt(t)}}),era:Ce({matchPatterns:ZP,defaultMatchWidth:"wide",parsePatterns:JP,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:eL,defaultMatchWidth:"wide",parsePatterns:tL,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:nL,defaultMatchWidth:"wide",parsePatterns:aL,defaultParseWidth:"any"}),day:Ce({matchPatterns:sL,defaultMatchWidth:"wide",parsePatterns:rL,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:iL,defaultMatchWidth:"wide",parsePatterns:oL,defaultParseWidth:"any"})},lL={code:"de",formatDistance:UP,formatLong:FP,formatRelative:xP,localize:YP,match:uL,options:{weekStartsOn:1,firstWeekContainsDate:4}},cL={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},dL=function(t,n,a){var s,r=cL[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"hace "+s:s},EL={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},pL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},fL={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},TL={date:Ze({formats:EL,defaultWidth:"full"}),time:Ze({formats:pL,defaultWidth:"full"}),dateTime:Ze({formats:fL,defaultWidth:"full"})},mL={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},_L={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},hL=function(t,n,a,s){return n.getUTCHours()!==1?_L[t]:mL[t]},SL={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},AL={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},OL={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},gL={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},IL={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},RL={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},NL=function(t,n){var a=Number(t);return a+"º"},vL={ordinalNumber:NL,era:be({values:SL,defaultWidth:"wide"}),quarter:be({values:AL,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:be({values:OL,defaultWidth:"wide"}),day:be({values:gL,defaultWidth:"wide"}),dayPeriod:be({values:IL,defaultWidth:"wide",formattingValues:RL,defaultFormattingWidth:"wide"})},bL=/^(\d+)(º)?/i,CL=/\d+/i,DL={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},PL={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},LL={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},yL={any:[/1/i,/2/i,/3/i,/4/i]},$L={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},kL={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},UL={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},wL={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},ML={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},WL={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},FL={ordinalNumber:Cn({matchPattern:bL,parsePattern:CL,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:DL,defaultMatchWidth:"wide",parsePatterns:PL,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:LL,defaultMatchWidth:"wide",parsePatterns:yL,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:$L,defaultMatchWidth:"wide",parsePatterns:kL,defaultParseWidth:"any"}),day:Ce({matchPatterns:UL,defaultMatchWidth:"wide",parsePatterns:wL,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:ML,defaultMatchWidth:"any",parsePatterns:WL,defaultParseWidth:"any"})},zL={code:"es",formatDistance:dL,formatLong:TL,formatRelative:hL,localize:vL,match:FL,options:{weekStartsOn:1,firstWeekContainsDate:1}},xL={lessThanXSeconds:{one:"segundo bat baino gutxiago",other:"{{count}} segundo baino gutxiago"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"minutu erdi",lessThanXMinutes:{one:"minutu bat baino gutxiago",other:"{{count}} minutu baino gutxiago"},xMinutes:{one:"1 minutu",other:"{{count}} minutu"},aboutXHours:{one:"1 ordu gutxi gorabehera",other:"{{count}} ordu gutxi gorabehera"},xHours:{one:"1 ordu",other:"{{count}} ordu"},xDays:{one:"1 egun",other:"{{count}} egun"},aboutXWeeks:{one:"aste 1 inguru",other:"{{count}} aste inguru"},xWeeks:{one:"1 aste",other:"{{count}} astean"},aboutXMonths:{one:"1 hilabete gutxi gorabehera",other:"{{count}} hilabete gutxi gorabehera"},xMonths:{one:"1 hilabete",other:"{{count}} hilabete"},aboutXYears:{one:"1 urte gutxi gorabehera",other:"{{count}} urte gutxi gorabehera"},xYears:{one:"1 urte",other:"{{count}} urte"},overXYears:{one:"1 urte baino gehiago",other:"{{count}} urte baino gehiago"},almostXYears:{one:"ia 1 urte",other:"ia {{count}} urte"}},BL=function(t,n,a){var s,r=xL[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"duela "+s:s},GL={full:"EEEE, y'ko' MMMM'ren' d'a' y'ren'",long:"y'ko' MMMM'ren' d'a'",medium:"y MMM d",short:"yy/MM/dd"},HL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},VL={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},KL={date:Ze({formats:GL,defaultWidth:"full"}),time:Ze({formats:HL,defaultWidth:"full"}),dateTime:Ze({formats:VL,defaultWidth:"full"})},jL={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},qL={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},YL=function(t,n){return n.getUTCHours()!==1?qL[t]:jL[t]},XL={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},QL={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},ZL={narrow:["u","o","m","a","m","e","u","a","i","u","a","a"],abbreviated:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],wide:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"]},JL={narrow:["i","a","a","a","o","o","l"],short:["ig","al","as","az","og","or","lr"],abbreviated:["iga","ast","ast","ast","ost","ost","lar"],wide:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"]},ey={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"}},ty={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"}},ny=function(t,n){var a=Number(t);return a+"."},ay={ordinalNumber:ny,era:be({values:XL,defaultWidth:"wide"}),quarter:be({values:QL,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:ZL,defaultWidth:"wide"}),day:be({values:JL,defaultWidth:"wide"}),dayPeriod:be({values:ey,defaultWidth:"wide",formattingValues:ty,defaultFormattingWidth:"wide"})},sy=/^(\d+)(.)?/i,ry=/\d+/i,iy={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},oy={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},uy={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},ly={any:[/1/i,/2/i,/3/i,/4/i]},cy={narrow:/^[uomaei]/i,abbreviated:/^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,wide:/^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i},dy={narrow:[/^u/i,/^o/i,/^m/i,/^a/i,/^m/i,/^e/i,/^u/i,/^a/i,/^i/i,/^u/i,/^a/i,/^a/i],any:[/^urt/i,/^ots/i,/^mar/i,/^api/i,/^mai/i,/^eka/i,/^uzt/i,/^abu/i,/^ira/i,/^urr/i,/^aza/i,/^abe/i]},Ey={narrow:/^[iaol]/i,short:/^(ig|al|as|az|og|or|lr)/i,abbreviated:/^(iga|ast|ast|ast|ost|ost|lar)/i,wide:/^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i},py={narrow:[/^i/i,/^a/i,/^a/i,/^a/i,/^o/i,/^o/i,/^l/i],short:[/^ig/i,/^al/i,/^as/i,/^az/i,/^og/i,/^or/i,/^lr/i],abbreviated:[/^iga/i,/^ast/i,/^ast/i,/^ast/i,/^ost/i,/^ost/i,/^lar/i],wide:[/^igandea/i,/^astelehena/i,/^asteartea/i,/^asteazkena/i,/^osteguna/i,/^ostirala/i,/^larunbata/i]},fy={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},Ty={narrow:{am:/^a/i,pm:/^p/i,midnight:/^ge/i,noon:/^eg/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i},any:{am:/^a/i,pm:/^p/i,midnight:/^gauerdia/i,noon:/^eguerdia/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i}},my={ordinalNumber:Cn({matchPattern:sy,parsePattern:ry,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:iy,defaultMatchWidth:"wide",parsePatterns:oy,defaultParseWidth:"wide"}),quarter:Ce({matchPatterns:uy,defaultMatchWidth:"wide",parsePatterns:ly,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:cy,defaultMatchWidth:"wide",parsePatterns:dy,defaultParseWidth:"any"}),day:Ce({matchPatterns:Ey,defaultMatchWidth:"wide",parsePatterns:py,defaultParseWidth:"wide"}),dayPeriod:Ce({matchPatterns:fy,defaultMatchWidth:"any",parsePatterns:Ty,defaultParseWidth:"any"})},_y={code:"eu",formatDistance:BL,formatLong:KL,formatRelative:YL,localize:ay,match:my,options:{weekStartsOn:1,firstWeekContainsDate:1}},hy={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},Sy=function(t,n,a){var s,r=hy[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"dans "+s:"il y a "+s:s},Ay={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Oy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},gy={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Iy={date:Ze({formats:Ay,defaultWidth:"full"}),time:Ze({formats:Oy,defaultWidth:"full"}),dateTime:Ze({formats:gy,defaultWidth:"full"})},Ry={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Ny=function(t,n,a,s){return Ry[t]},vy={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},by={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},Cy={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},Dy={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},Py={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},Ly=function(t,n){var a=Number(t),s=n==null?void 0:n.unit;if(a===0)return"0";var r=["year","week","hour","minute","second"],i;return a===1?i=s&&r.includes(s)?"ère":"er":i="ème",a+i},yy={ordinalNumber:Ly,era:be({values:vy,defaultWidth:"wide"}),quarter:be({values:by,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Cy,defaultWidth:"wide"}),day:be({values:Dy,defaultWidth:"wide"}),dayPeriod:be({values:Py,defaultWidth:"wide"})},$y=/^(\d+)(ième|ère|ème|er|e)?/i,ky=/\d+/i,Uy={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},wy={any:[/^av/i,/^ap/i]},My={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Wy={any:[/1/i,/2/i,/3/i,/4/i]},Fy={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},zy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},xy={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},By={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Gy={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Hy={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Vy={ordinalNumber:Cn({matchPattern:$y,parsePattern:ky,valueCallback:function(t){return parseInt(t)}}),era:Ce({matchPatterns:Uy,defaultMatchWidth:"wide",parsePatterns:wy,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:My,defaultMatchWidth:"wide",parsePatterns:Wy,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Fy,defaultMatchWidth:"wide",parsePatterns:zy,defaultParseWidth:"any"}),day:Ce({matchPatterns:xy,defaultMatchWidth:"wide",parsePatterns:By,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Gy,defaultMatchWidth:"any",parsePatterns:Hy,defaultParseWidth:"any"})},Ky={code:"fr",formatDistance:Sy,formatLong:Iy,formatRelative:Ny,localize:yy,match:Vy,options:{weekStartsOn:1,firstWeekContainsDate:4}},jy={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},qy=function(t,n,a){var s,r=jy[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"hai "+s:s},Yy={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Xy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Qy={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Zy={date:Ze({formats:Yy,defaultWidth:"full"}),time:Ze({formats:Xy,defaultWidth:"full"}),dateTime:Ze({formats:Qy,defaultWidth:"full"})},Jy={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},e$={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},t$=function(t,n,a,s){return n.getUTCHours()!==1?e$[t]:Jy[t]},n$={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},a$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},s$={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},r$={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},i$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},o$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},u$=function(t,n){var a=Number(t);return a+"º"},l$={ordinalNumber:u$,era:be({values:n$,defaultWidth:"wide"}),quarter:be({values:a$,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:s$,defaultWidth:"wide"}),day:be({values:r$,defaultWidth:"wide"}),dayPeriod:be({values:i$,defaultWidth:"wide",formattingValues:o$,defaultFormattingWidth:"wide"})},c$=/^(\d+)(º)?/i,d$=/\d+/i,E$={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},p$={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},f$={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},T$={any:[/1/i,/2/i,/3/i,/4/i]},m$={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},_$={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},h$={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},S$={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},A$={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},O$={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},g$={ordinalNumber:Cn({matchPattern:c$,parsePattern:d$,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:E$,defaultMatchWidth:"wide",parsePatterns:p$,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:f$,defaultMatchWidth:"wide",parsePatterns:T$,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:m$,defaultMatchWidth:"wide",parsePatterns:_$,defaultParseWidth:"any"}),day:Ce({matchPatterns:h$,defaultMatchWidth:"wide",parsePatterns:S$,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:A$,defaultMatchWidth:"any",parsePatterns:O$,defaultParseWidth:"any"})},I$={code:"gl",formatDistance:qy,formatLong:Zy,formatRelative:t$,localize:l$,match:g$,options:{weekStartsOn:1,firstWeekContainsDate:1}},R$={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},N$=function(t,n,a){var s,r=R$[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"tra "+s:s+" fa":s},v$={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},b$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},C$={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},D$={date:Ze({formats:v$,defaultWidth:"full"}),time:Ze({formats:b$,defaultWidth:"full"}),dateTime:Ze({formats:C$,defaultWidth:"full"})},_p=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function P$(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+_p[e]+" scorso alle' p"}}function JT(e){return"'"+_p[e]+" alle' p"}function L$(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+_p[e]+" prossimo alle' p"}}var y$={lastWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?JT(s):P$(s)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?JT(s):L$(s)},other:"P"},$$=function(t,n,a,s){var r=y$[t];return typeof r=="function"?r(n,a,s):r},k$={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},U$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},w$={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},M$={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},W$={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},F$={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},z$=function(t,n){var a=Number(t);return String(a)},x$={ordinalNumber:z$,era:be({values:k$,defaultWidth:"wide"}),quarter:be({values:U$,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:w$,defaultWidth:"wide"}),day:be({values:M$,defaultWidth:"wide"}),dayPeriod:be({values:W$,defaultWidth:"wide",formattingValues:F$,defaultFormattingWidth:"wide"})},B$=/^(\d+)(º)?/i,G$=/\d+/i,H$={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},V$={any:[/^a/i,/^(d|e)/i]},K$={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},j$={any:[/1/i,/2/i,/3/i,/4/i]},q$={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},Y$={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},X$={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},Q$={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},Z$={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},J$={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},e4={ordinalNumber:Cn({matchPattern:B$,parsePattern:G$,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:H$,defaultMatchWidth:"wide",parsePatterns:V$,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:K$,defaultMatchWidth:"wide",parsePatterns:j$,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:q$,defaultMatchWidth:"wide",parsePatterns:Y$,defaultParseWidth:"any"}),day:Ce({matchPatterns:X$,defaultMatchWidth:"wide",parsePatterns:Q$,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Z$,defaultMatchWidth:"any",parsePatterns:J$,defaultParseWidth:"any"})},t4={code:"it",formatDistance:N$,formatLong:D$,formatRelative:$$,localize:x$,match:e4,options:{weekStartsOn:1,firstWeekContainsDate:4}},n4={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},a4=function(t,n,a){var s,r=n4[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"om "+s:s+" siden":s},s4={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},r4={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},i4={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},o4={date:Ze({formats:s4,defaultWidth:"full"}),time:Ze({formats:r4,defaultWidth:"full"}),dateTime:Ze({formats:i4,defaultWidth:"full"})},u4={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},l4=function(t,n,a,s){return u4[t]},c4={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},d4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},E4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},p4={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},f4={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},T4=function(t,n){var a=Number(t);return a+"."},m4={ordinalNumber:T4,era:be({values:c4,defaultWidth:"wide"}),quarter:be({values:d4,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:E4,defaultWidth:"wide"}),day:be({values:p4,defaultWidth:"wide"}),dayPeriod:be({values:f4,defaultWidth:"wide"})},_4=/^(\d+)\.?/i,h4=/\d+/i,S4={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},A4={any:[/^f/i,/^e/i]},O4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},g4={any:[/1/i,/2/i,/3/i,/4/i]},I4={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},R4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},N4={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},v4={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},b4={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},C4={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},D4={ordinalNumber:Cn({matchPattern:_4,parsePattern:h4,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:S4,defaultMatchWidth:"wide",parsePatterns:A4,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:O4,defaultMatchWidth:"wide",parsePatterns:g4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:I4,defaultMatchWidth:"wide",parsePatterns:R4,defaultParseWidth:"any"}),day:Ce({matchPatterns:N4,defaultMatchWidth:"wide",parsePatterns:v4,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:b4,defaultMatchWidth:"any",parsePatterns:C4,defaultParseWidth:"any"})},P4={code:"nb",formatDistance:a4,formatLong:o4,formatRelative:l4,localize:m4,match:D4,options:{weekStartsOn:1,firstWeekContainsDate:4}},L4={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},y4=function(t,n,a){var s,r=L4[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"over "+s:s+" geleden":s},$4={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},k4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},U4={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},w4={date:Ze({formats:$4,defaultWidth:"full"}),time:Ze({formats:k4,defaultWidth:"full"}),dateTime:Ze({formats:U4,defaultWidth:"full"})},M4={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},W4=function(t,n,a,s){return M4[t]},F4={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},z4={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},x4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},B4={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},G4={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},H4=function(t,n){var a=Number(t);return a+"e"},V4={ordinalNumber:H4,era:be({values:F4,defaultWidth:"wide"}),quarter:be({values:z4,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:x4,defaultWidth:"wide"}),day:be({values:B4,defaultWidth:"wide"}),dayPeriod:be({values:G4,defaultWidth:"wide"})},K4=/^(\d+)e?/i,j4=/\d+/i,q4={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Y4={any:[/^v/,/^n/]},X4={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Q4={any:[/1/i,/2/i,/3/i,/4/i]},Z4={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},J4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},ek={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},tk={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},nk={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},ak={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},sk={ordinalNumber:Cn({matchPattern:K4,parsePattern:j4,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:q4,defaultMatchWidth:"wide",parsePatterns:Y4,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:X4,defaultMatchWidth:"wide",parsePatterns:Q4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Z4,defaultMatchWidth:"wide",parsePatterns:J4,defaultParseWidth:"any"}),day:Ce({matchPatterns:ek,defaultMatchWidth:"wide",parsePatterns:tk,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:nk,defaultMatchWidth:"any",parsePatterns:ak,defaultParseWidth:"any"})},rk={code:"nl",formatDistance:y4,formatLong:w4,formatRelative:W4,localize:V4,match:sk,options:{weekStartsOn:1,firstWeekContainsDate:4}},ik={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function ok(e,t){if(t===1)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var a=n%10;return a>=2&&a<=4?e.twoFour:e.other}function Fc(e,t,n){var a=ok(e,t),s=typeof a=="string"?a:a[n];return s.replace("{{count}}",String(t))}var uk=function(t,n,a){var s=ik[t];return a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"za "+Fc(s,n,"future"):Fc(s,n,"past")+" temu":Fc(s,n,"regular")},lk={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},ck={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dk={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ek={date:Ze({formats:lk,defaultWidth:"full"}),time:Ze({formats:ck,defaultWidth:"full"}),dateTime:Ze({formats:dk,defaultWidth:"full"})},pk={masculine:"ostatni",feminine:"ostatnia"},fk={masculine:"ten",feminine:"ta"},Tk={masculine:"następny",feminine:"następna"},mk={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function em(e,t,n,a){var s;if(Ws(t,n,a))s=fk;else if(e==="lastWeek")s=pk;else if(e==="nextWeek")s=Tk;else throw new Error("Cannot determine adjectives for token ".concat(e));var r=t.getUTCDay(),i=mk[r],o=s[i];return"'".concat(o,"' eeee 'o' p")}var _k={lastWeek:em,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:em,other:"P"},hk=function(t,n,a,s){var r=_k[t];return typeof r=="function"?r(t,n,a,s):r},Sk={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},Ak={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},Ok={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},gk={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},Ik={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},Rk={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},Nk={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},vk={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},bk=function(t,n){return String(t)},Ck={ordinalNumber:bk,era:be({values:Sk,defaultWidth:"wide"}),quarter:be({values:Ak,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Ok,defaultWidth:"wide",formattingValues:gk,defaultFormattingWidth:"wide"}),day:be({values:Ik,defaultWidth:"wide",formattingValues:Rk,defaultFormattingWidth:"wide"}),dayPeriod:be({values:Nk,defaultWidth:"wide",formattingValues:vk,defaultFormattingWidth:"wide"})},Dk=/^(\d+)?/i,Pk=/\d+/i,Lk={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},yk={any:[/^p/i,/^n/i]},$k={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},kk={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},Uk={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},wk={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},Mk={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},Wk={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},Fk={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},zk={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},xk={ordinalNumber:Cn({matchPattern:Dk,parsePattern:Pk,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:Lk,defaultMatchWidth:"wide",parsePatterns:yk,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:$k,defaultMatchWidth:"wide",parsePatterns:kk,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Uk,defaultMatchWidth:"wide",parsePatterns:wk,defaultParseWidth:"any"}),day:Ce({matchPatterns:Mk,defaultMatchWidth:"wide",parsePatterns:Wk,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Fk,defaultMatchWidth:"any",parsePatterns:zk,defaultParseWidth:"any"})},Bk={code:"pl",formatDistance:uk,formatLong:Ek,formatRelative:hk,localize:Ck,match:xk,options:{weekStartsOn:1,firstWeekContainsDate:4}},Gk={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},Hk=function(t,n,a){var s,r=Gk[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"daqui a "+s:"há "+s:s},Vk={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Kk={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},jk={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qk={date:Ze({formats:Vk,defaultWidth:"full"}),time:Ze({formats:Kk,defaultWidth:"full"}),dateTime:Ze({formats:jk,defaultWidth:"full"})},Yk={lastWeek:function(t){var n=t.getUTCDay(),a=n===0||n===6?"último":"última";return"'"+a+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Xk=function(t,n,a,s){var r=Yk[t];return typeof r=="function"?r(n):r},Qk={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Zk={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Jk={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},eU={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},tU={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},nU={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},aU=function(t,n){var a=Number(t);return a+"º"},sU={ordinalNumber:aU,era:be({values:Qk,defaultWidth:"wide"}),quarter:be({values:Zk,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Jk,defaultWidth:"wide"}),day:be({values:eU,defaultWidth:"wide"}),dayPeriod:be({values:tU,defaultWidth:"wide",formattingValues:nU,defaultFormattingWidth:"wide"})},rU=/^(\d+)(º|ª)?/i,iU=/\d+/i,oU={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},uU={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},lU={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},cU={any:[/1/i,/2/i,/3/i,/4/i]},dU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},EU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},pU={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},fU={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},TU={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},mU={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},_U={ordinalNumber:Cn({matchPattern:rU,parsePattern:iU,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:oU,defaultMatchWidth:"wide",parsePatterns:uU,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:lU,defaultMatchWidth:"wide",parsePatterns:cU,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:dU,defaultMatchWidth:"wide",parsePatterns:EU,defaultParseWidth:"any"}),day:Ce({matchPatterns:pU,defaultMatchWidth:"wide",parsePatterns:fU,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:TU,defaultMatchWidth:"any",parsePatterns:mU,defaultParseWidth:"any"})},hU={code:"pt",formatDistance:Hk,formatLong:qk,formatRelative:Xk,localize:sU,match:_U,options:{weekStartsOn:1,firstWeekContainsDate:4}};function ei(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,a=t%100;return n===1&&a!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function rn(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?ei(e.future,t):"через "+ei(e.regular,t):e.past?ei(e.past,t):ei(e.regular,t)+" назад":ei(e.regular,t)}}var SU={lessThanXSeconds:rn({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:rn({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:rn({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:rn({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:rn({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:rn({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:rn({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:rn({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:rn({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:rn({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:rn({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:rn({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:rn({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:rn({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:rn({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},AU=function(t,n,a){return SU[t](n,a)},OU={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},gU={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},IU={any:"{{date}}, {{time}}"},RU={date:Ze({formats:OU,defaultWidth:"full"}),time:Ze({formats:gU,defaultWidth:"full"}),dateTime:Ze({formats:IU,defaultWidth:"any"})},hp=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function NU(e){var t=hp[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function tm(e){var t=hp[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function vU(e){var t=hp[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var bU={lastWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?tm(s):NU(s)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?tm(s):vU(s)},other:"P"},CU=function(t,n,a,s){var r=bU[t];return typeof r=="function"?r(n,a,s):r},DU={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},PU={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},LU={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},yU={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},$U={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},kU={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},UU={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},wU=function(t,n){var a=Number(t),s=n==null?void 0:n.unit,r;return s==="date"?r="-е":s==="week"||s==="minute"||s==="second"?r="-я":r="-й",a+r},MU={ordinalNumber:wU,era:be({values:DU,defaultWidth:"wide"}),quarter:be({values:PU,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:LU,defaultWidth:"wide",formattingValues:yU,defaultFormattingWidth:"wide"}),day:be({values:$U,defaultWidth:"wide"}),dayPeriod:be({values:kU,defaultWidth:"any",formattingValues:UU,defaultFormattingWidth:"wide"})},WU=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,FU=/\d+/i,zU={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},xU={any:[/^д/i,/^н/i]},BU={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},GU={any:[/1/i,/2/i,/3/i,/4/i]},HU={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},VU={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},KU={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},jU={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},qU={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},YU={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},XU={ordinalNumber:Cn({matchPattern:WU,parsePattern:FU,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:zU,defaultMatchWidth:"wide",parsePatterns:xU,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:BU,defaultMatchWidth:"wide",parsePatterns:GU,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:HU,defaultMatchWidth:"wide",parsePatterns:VU,defaultParseWidth:"any"}),day:Ce({matchPatterns:KU,defaultMatchWidth:"wide",parsePatterns:jU,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:qU,defaultMatchWidth:"wide",parsePatterns:YU,defaultParseWidth:"any"})},QU={code:"ru",formatDistance:AU,formatLong:RU,formatRelative:CU,localize:MU,match:XU,options:{weekStartsOn:1,firstWeekContainsDate:1}};const ZU=e=>["bg","cs","de","en","es","eu","fr","gl","it","nb","nl","pl","pt","ru"].includes(e),Fs={bg:nP,cs:kP,de:lL,en:_o,es:zL,eu:_y,fr:Ky,gl:I$,it:t4,nb:P4,nl:rk,pl:Bk,pt:hU,ru:QU},hr={bg:"български (98%)",cs:"Česky (72%)",de:"Deutsch",en:"English",es:"Español",eu:"Euskara",fr:"Français",gl:"Galego",it:"Italiano (81%)",nl:"Nederlands (99%)",nb:"Norsk bokmål (52%)",pl:"Polski",pt:"Português (97%)",ru:"Русский (62%)"},zd=Object.keys(hr).map(e=>({label:hr[e],value:e})),JU={id:"nav"},e6={class:"nav-container"},t6={class:"nav-app-name"},n6={class:"nav-items-app-menu"},a6={key:0,class:"nav-items-group"},s6={class:"nav-items-user-menu"},r6={key:0,class:"nav-items-group"},i6={class:"nav-item nav-profile-img"},o6=["title"],u6={class:"nav-button-text"},l6={key:1,class:"nav-items-group"},c6={class:"theme-button"},d6=["title"],E6={key:0,class:"fa nav-button-fa fa-moon","aria-hidden":"true"},p6={key:1,class:"clear-theme",src:Zb,alt:"","aria-hidden":"true"},f6={class:"nav-button-text"},T6=ee({__name:"NavBar",emits:["menuInteraction"],setup(e,{emit:t}){const n=t,a=ke(),s=M(()=>a.getters[X.GETTERS.AUTH_USER_PROFILE]),r=M(()=>a.getters[X.GETTERS.IS_AUTHENTICATED]),i=M(()=>a.getters[K.GETTERS.LANGUAGE]),o=de(!1),u=de(!1),l=M(()=>a.getters[K.GETTERS.DARK_MODE]),c=M(()=>Vl(l.value));Et(()=>I());function p(){o.value=!0,n("menuInteraction",!0)}function E(){o.value=!1,n("menuInteraction",!1)}function f(N){a.dispatch(K.ACTIONS.UPDATE_APPLICATION_LANGUAGE,N.value)}function _(){a.dispatch(X.ACTIONS.LOGOUT),u.value=!1}function O(N){u.value=N}function I(){c.value?document.body.setAttribute("data-theme","dark"):document.body.removeAttribute("data-theme")}function g(){a.commit(K.MUTATIONS.UPDATE_DARK_MODE,!c.value)}return We(()=>c.value,()=>{I()}),(N,S)=>{const A=re("Modal"),v=re("router-link"),y=re("Dropdown");return h(),R("header",JU,[u.value?(h(),j(A,{key:0,title:N.$t("common.CONFIRMATION"),message:N.$t("user.LOGOUT_CONFIRMATION"),onConfirmAction:_,onCancelAction:S[0]||(S[0]=P=>O(!1)),onKeydown:S[1]||(S[1]=et(P=>O(!1),["esc"]))},null,8,["title","message"])):w("",!0),d("div",e6,[d("div",t6,[W(v,{class:"nav-item app-name",to:"/"},{default:ue(()=>S[10]||(S[10]=[H(" FitTrackee ")])),_:1})]),d("div",{class:me(["nav-icon-open",{"menu-open":o.value}])},[d("button",{class:"menu-button transparent",onClick:S[2]||(S[2]=P=>p())},S[11]||(S[11]=[d("i",{class:"fa fa-bars hamburger-icon"},null,-1)]))],2),d("div",{class:me(["nav-items",{"menu-open":o.value}])},[d("div",{class:"nav-items-close",onClick:E},[W(v,{class:"nav-item app-name",to:"/"},{default:ue(()=>S[12]||(S[12]=[H(" FitTrackee ")])),_:1}),d("button",{class:"menu-button transparent",onClick:S[3]||(S[3]=P=>E())},[d("i",{class:me(["fa fa-close close-icon nav-item",{"menu-closed":!o.value}])},null,2)])]),d("div",n6,[r.value?(h(),R("div",a6,[W(v,{class:"nav-item",to:"/",onClick:S[4]||(S[4]=P=>E())},{default:ue(()=>[H(m(N.$t("dashboard.DASHBOARD")),1)]),_:1}),W(v,{class:"nav-item",to:"/workouts",onClick:S[5]||(S[5]=P=>E())},{default:ue(()=>[H(m(Ve(N.$t("workouts.WORKOUT",2))),1)]),_:1}),W(v,{class:"nav-item",to:"/statistics",onClick:S[6]||(S[6]=P=>E())},{default:ue(()=>[H(m(N.$t("statistics.STATISTICS")),1)]),_:1}),W(v,{class:"nav-item",to:"/workouts/add",onClick:S[7]||(S[7]=P=>E())},{default:ue(()=>[H(m(N.$t("workouts.ADD_WORKOUT")),1)]),_:1}),r.value&&s.value.admin?(h(),j(v,{key:0,class:"nav-item",to:"/admin",onClick:S[8]||(S[8]=P=>E())},{default:ue(()=>[H(m(N.$t("admin.ADMIN")),1)]),_:1})):w("",!0),S[13]||(S[13]=d("div",{class:"nav-item nav-separator"},null,-1))])):w("",!0)]),d("div",s6,[r.value?(h(),R("div",r6,[d("div",i6,[W(Eo,{user:s.value},null,8,["user"])]),W(v,{class:"nav-item",to:"/profile",onClick:E},{default:ue(()=>[H(m(s.value.username),1)]),_:1}),d("button",{class:"nav-button logout-button transparent",onClick:S[9]||(S[9]=P=>O(!0)),title:N.$t("user.LOGOUT")},[S[14]||(S[14]=d("i",{class:"fa fa-sign-out nav-button-fa","aria-hidden":"true"},null,-1)),d("span",u6,m(N.$t("user.LOGOUT")),1)],8,o6)])):(h(),R("div",l6,[W(v,{class:"nav-item",to:"/login",onClick:E},{default:ue(()=>[H(m(N.$t("user.LOGIN")),1)]),_:1}),W(v,{class:"nav-item",to:"/register",onClick:E},{default:ue(()=>[H(m(N.$t("user.REGISTER")),1)]),_:1})])),d("div",c6,[d("button",{class:"nav-button transparent",onClick:g,title:N.$t("user.TOGGLE_THEME")},[c.value?(h(),R("i",E6)):(h(),R("img",p6)),d("span",f6,m(N.$t("user.TOGGLE_THEME")),1)],8,d6)]),T(zd)&&i.value?(h(),j(y,{key:2,class:"nav-item",options:T(zd),selected:i.value,onSelected:f,buttonLabel:N.$t("user.LANGUAGE"),listLabel:N.$t("user.LANGUAGE",0),isMenuOpen:o.value},{default:ue(()=>S[15]||(S[15]=[d("i",{class:"fa fa-language","aria-hidden":"true"},null,-1)])),_:1},8,["options","selected","buttonLabel","listLabel","isMenuOpen"])):w("",!0)])],2)])])}}}),m6=ie(T6,[["__scopeId","data-v-0c80a9fc"]]),_6={name:"ErrorImg"},h6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -51 512 512"};function S6(e,t,n,a,s,r){return h(),R("svg",h6,t[0]||(t[0]=[vn('',1)]))}const Sp=ie(_6,[["render",S6]]),A6={id:"no-config"},O6={class:"error-page"},g6={class:"error-img"},I6=["innerHTML"],R6=ee({__name:"NoConfig",setup(e){return(t,n)=>(h(),R("div",A6,[d("div",O6,[d("div",g6,[W(Sp)]),d("p",{class:"error-message",innerHTML:t.$t("error.APP_ERROR")},null,8,I6)])]))}}),N6=ie(R6,[["__scopeId","data-v-73140811"]]),v6={key:0,class:"app-container"},b6={class:"app-loading"},C6={class:"container scroll"},D6=ee({__name:"App",setup(e){const t=ke(),n=M(()=>t.getters[K.GETTERS.APP_CONFIG]),a=M(()=>t.getters[K.GETTERS.APP_LOADING]),s=de(!1),r=de(!1);Et(()=>{c(),t.dispatch(K.ACTIONS.GET_APPLICATION_CONFIG)}),St(()=>u());function i(p){s.value=p}function o(p){return p.getBoundingClientRect().top=0}function u(){window.onscroll=()=>{const p=document.querySelector("#bottom");r.value=p!==null&&o(p)}}function l(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{r.value=!1},300)}function c(){let p="en";try{const E=navigator.language.split("-")[0];ZU(E)&&(p=E)}catch{p="en"}t.dispatch(K.ACTIONS.UPDATE_APPLICATION_LANGUAGE,p)}return(p,E)=>{const f=re("Loader"),_=re("router-view");return h(),R(_e,null,[E[1]||(E[1]=d("div",{id:"top"},null,-1)),W(m6,{onMenuInteraction:i}),d("main",null,[a.value?(h(),R("div",v6,[d("div",b6,[W(f)])])):(h(),R("div",{key:1,class:me(["app-container",{"hide-scroll":s.value}])},[n.value?(h(),j(_,{key:0})):(h(),j(N6,{key:1}))],2)),d("div",C6,[d("div",{class:me(["scroll-button",{"display-button":r.value}]),onClick:l},E[0]||(E[0]=[d("i",{class:"fa fa-chevron-up","aria-hidden":"true"},null,-1)]),2)])]),n.value?(h(),j(Qb,{key:0,version:n.value?n.value.version:"",adminContact:n.value.admin_contact},null,8,["version","adminContact"])):w("",!0)],64)}}}),P6={class:"alert-message"},L6=["innerHTML"],y6=ee({__name:"AlertMessage",props:{message:{}},setup(e){const t=e,{message:n}=he(t);return(a,s)=>(h(),R("div",P6,[d("div",{innerHTML:a.$t(T(n))},null,8,L6)]))}}),$6=ie(y6,[["__scopeId","data-v-f7bf1117"]]),k6={},U6={class:"card"},w6={class:"card-title"},M6={class:"card-content"};function W6(e,t){return h(),R("div",U6,[d("div",w6,[Ut(e.$slots,"title")]),d("div",M6,[Ut(e.$slots,"content")])])}const MS=ie(k6,[["render",W6]]),F6={class:"custom-textarea"},z6=["id","name","maxLength","disabled","rows"],x6={class:"remaining-chars"},B6=ee({__name:"CustomTextArea",props:{name:{},charLimit:{default:500},disabled:{type:Boolean,default:!1},input:{default:""},rows:{default:2}},emits:["updateValue"],setup(e,{emit:t}){const n=e,a=t,{input:s}=he(n),r=de(s.value?s.value:"");function i(o){a("updateValue",o.target.value)}return We(()=>n.input,o=>{r.value=o===null?"":o}),(o,u)=>(h(),R("div",F6,[$e(d("textarea",{id:o.name,name:o.name,maxLength:o.charLimit,disabled:o.disabled,rows:o.rows,"onUpdate:modelValue":u[0]||(u[0]=l=>r.value=l),onInput:i},null,40,z6),[[st,r.value]]),d("div",x6,m(o.$t("workouts.REMAINING_CHARS"))+": "+m(r.value.length)+"/"+m(o.charLimit),1)]))}}),G6=ie(B6,[["__scopeId","data-v-1e13e7da"]]),In={ft:{unit:"ft",system:"imperial",multiplier:1,defaultTarget:"m"},mi:{unit:"mi",system:"imperial",multiplier:5280,defaultTarget:"km"},m:{unit:"m",system:"metric",multiplier:1,defaultTarget:"ft"},km:{unit:"m",system:"metric",multiplier:1e3,defaultTarget:"mi"}},H6={metric:{imperial:3.280839895,metric:1},imperial:{metric:1/3.280839895,imperial:1}},qt=(e,t,n,a=3)=>{const s=In[t],r=In[n],i=e*s.multiplier*H6[s.system][r.system]/r.multiplier;return a!==null?parseFloat(i.toFixed(a)):i},cu=(e,t,n)=>{const a=n?In[e].defaultTarget:e;return n?qt(t,e,a,2):t},nm=(e,t)=>{const n=t?e*1.8+32:e,a=t?" °F":"°C";return`${n===0?0:Number(n).toFixed(1)}${a}`},V6=(e,t)=>{const n=t?e*2.2369363:e,a=t?" mph":"m/s";return`${n===0?0:Number(n).toFixed(1)}${a}`},K6=ee({__name:"Distance",props:{distance:{},unitFrom:{},useImperialUnits:{type:Boolean},digits:{default:2},displayUnit:{type:Boolean,default:!0},speed:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(e){const t=e,{digits:n,displayUnit:a,distance:s,speed:r,strong:i,unitFrom:o,useImperialUnits:u}=he(t),l=M(()=>u.value?In[o.value].defaultTarget:o.value),c=M(()=>u.value?qt(s.value,o.value,l.value,n.value):parseFloat(s.value.toFixed(n.value)));return(p,E)=>(h(),R(_e,null,[d("span",{class:me(["distance",{strong:T(i)}])},m(c.value),3),E[0]||(E[0]=H(" "+m(" ")+" ")),T(a)?(h(),R("span",{key:0,class:me(["unit",{strong:T(i)}])},m(l.value)+m(T(r)?"/h":""),3)):w("",!0)],64))}}),j6=ie(K6,[["__scopeId","data-v-0f0f76cd"]]);/*! + */var IS="store";function po(e){return e===void 0&&(e=null),Ct(e!==null?e:IS)}function zr(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function FC(e){return e!==null&&typeof e=="object"}function zC(e){return e&&typeof e.then=="function"}function xC(e,t){return function(){return e(t)}}function RS(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function NS(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;jl(e,n,[],e._modules.root,!0),cp(e,n,t)}function cp(e,t,n){var a=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,i={},o={},u=eh(!0);u.run(function(){zr(r,function(l,c){i[c]=xC(l,e),o[c]=M(function(){return i[c]()}),Object.defineProperty(e.getters,c,{get:function(){return o[c].value},enumerable:!0})})}),e._state=Qt({data:t}),e._scope=u,e.strict&&KC(e),a&&n&&e._withCommit(function(){a.data=null}),s&&s.stop()}function jl(e,t,n,a,s){var r=!n.length,i=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=a),!r&&!s){var o=dp(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){o[u]=a.state})}var l=a.context=BC(e,i,n);a.forEachMutation(function(c,p){var E=i+p;GC(e,E,c,l)}),a.forEachAction(function(c,p){var E=c.root?p:i+p,f=c.handler||c;HC(e,E,f,l)}),a.forEachGetter(function(c,p){var E=i+p;VC(e,E,c,l)}),a.forEachChild(function(c,p){jl(e,t,n.concat(p),c,s)})}function BC(e,t,n){var a=t==="",s={dispatch:a?e.dispatch:function(r,i,o){var u=Lu(r,i,o),l=u.payload,c=u.options,p=u.type;return(!c||!c.root)&&(p=t+p),e.dispatch(p,l)},commit:a?e.commit:function(r,i,o){var u=Lu(r,i,o),l=u.payload,c=u.options,p=u.type;(!c||!c.root)&&(p=t+p),e.commit(p,l,c)}};return Object.defineProperties(s,{getters:{get:a?function(){return e.getters}:function(){return vS(e,t)}},state:{get:function(){return dp(e.state,n)}}}),s}function vS(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,a)===t){var r=s.slice(a);Object.defineProperty(n,r,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function GC(e,t,n,a){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,a.state,i)})}function HC(e,t,n,a){var s=e._actions[t]||(e._actions[t]=[]);s.push(function(i){var o=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},i);return zC(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(u){throw e._devtoolHook.emit("vuex:error",u),u}):o})}function VC(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(r){return n(a.state,a.getters,r.state,r.getters)})}function KC(e){We(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function dp(e,t){return t.reduce(function(n,a){return n[a]},e)}function Lu(e,t,n){return FC(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var jC="vuex bindings",GT="vuex:mutations",Wc="vuex:actions",Zs="vuex",qC=0;function YC(e,t){WC({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[jC]},function(n){n.addTimelineLayer({id:GT,label:"Vuex Mutations",color:HT}),n.addTimelineLayer({id:Wc,label:"Vuex Actions",color:HT}),n.addInspector({id:Zs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(a){if(a.app===e&&a.inspectorId===Zs)if(a.filter){var s=[];PS(s,t._modules.root,a.filter,""),a.rootNodes=s}else a.rootNodes=[DS(t._modules.root,"")]}),n.on.getInspectorState(function(a){if(a.app===e&&a.inspectorId===Zs){var s=a.nodeId;vS(t,s),a.state=ZC(eD(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(a){if(a.app===e&&a.inspectorId===Zs){var s=a.nodeId,r=a.path;s!=="root"&&(r=s.split("/").filter(Boolean).concat(r)),t._withCommit(function(){a.set(t._state.data,r,a.state.value)})}}),t.subscribe(function(a,s){var r={};a.payload&&(r.payload=a.payload),r.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Zs),n.sendInspectorState(Zs),n.addTimelineEvent({layerId:GT,event:{time:Date.now(),title:a.type,data:r}})}),t.subscribeAction({before:function(a,s){var r={};a.payload&&(r.payload=a.payload),a._id=qC++,a._time=Date.now(),r.state=s,n.addTimelineEvent({layerId:Wc,event:{time:a._time,title:a.type,groupId:a._id,subtitle:"start",data:r}})},after:function(a,s){var r={},i=Date.now()-a._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},a.payload&&(r.payload=a.payload),r.state=s,n.addTimelineEvent({layerId:Wc,event:{time:Date.now(),title:a.type,groupId:a._id,subtitle:"end",data:r}})}})})}var HT=8702998,XC=6710886,QC=16777215,bS={label:"namespaced",textColor:QC,backgroundColor:XC};function CS(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function DS(e,t){return{id:t||"root",label:CS(t),tags:e.namespaced?[bS]:[],children:Object.keys(e._children).map(function(n){return DS(e._children[n],t+n+"/")})}}function PS(e,t,n,a){a.includes(n)&&e.push({id:a||"root",label:a.endsWith("/")?a.slice(0,a.length-1):a||"Root",tags:t.namespaced?[bS]:[]}),Object.keys(t._children).forEach(function(s){PS(e,t._children[s],n,a+s+"/")})}function ZC(e,t,n){t=n==="root"?t:t[n];var a=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(a.length){var r=JC(t);s.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?CS(i):i,editable:!1,value:Ud(function(){return r[i]})}})}return s}function JC(e){var t={};return Object.keys(e).forEach(function(n){var a=n.split("/");if(a.length>1){var s=t,r=a.pop();a.forEach(function(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[r]=Ud(function(){return e[n]})}else t[n]=Ud(function(){return e[n]})}),t}function eD(e,t){var n=t.split("/").filter(function(a){return a});return n.reduce(function(a,s,r){var i=a[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return r===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Ud(e){try{return e()}catch(t){return t}}var sa=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var a=t.state;this.state=(typeof a=="function"?a():a)||{}},LS={namespaced:{configurable:!0}};LS.namespaced.get=function(){return!!this._rawModule.namespaced};sa.prototype.addChild=function(t,n){this._children[t]=n};sa.prototype.removeChild=function(t){delete this._children[t]};sa.prototype.getChild=function(t){return this._children[t]};sa.prototype.hasChild=function(t){return t in this._children};sa.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};sa.prototype.forEachChild=function(t){zr(this._children,t)};sa.prototype.forEachGetter=function(t){this._rawModule.getters&&zr(this._rawModule.getters,t)};sa.prototype.forEachAction=function(t){this._rawModule.actions&&zr(this._rawModule.actions,t)};sa.prototype.forEachMutation=function(t){this._rawModule.mutations&&zr(this._rawModule.mutations,t)};Object.defineProperties(sa.prototype,LS);var Gs=function(t){this.register([],t,!1)};Gs.prototype.get=function(t){return t.reduce(function(n,a){return n.getChild(a)},this.root)};Gs.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(a,s){return n=n.getChild(s),a+(n.namespaced?s+"/":"")},"")};Gs.prototype.update=function(t){yS([],this.root,t)};Gs.prototype.register=function(t,n,a){var s=this;a===void 0&&(a=!0);var r=new sa(n,a);if(t.length===0)this.root=r;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],r)}n.modules&&zr(n.modules,function(o,u){s.register(t.concat(u),o,a)})};Gs.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1],s=n.getChild(a);s&&s.runtime&&n.removeChild(a)};Gs.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1];return n?n.hasChild(a):!1};function yS(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return;yS(e.concat(a),t.getChild(a),n.modules[a])}}function tD(e){return new bn(e)}var bn=function(t){var n=this;t===void 0&&(t={});var a=t.plugins;a===void 0&&(a=[]);var s=t.strict;s===void 0&&(s=!1);var r=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Gs(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=r;var i=this,o=this,u=o.dispatch,l=o.commit;this.dispatch=function(E,f){return u.call(i,E,f)},this.commit=function(E,f,_){return l.call(i,E,f,_)},this.strict=s;var c=this._modules.root.state;jl(this,c,[],this._modules.root),cp(this,c),a.forEach(function(p){return p(n)})},Ep={state:{configurable:!0}};bn.prototype.install=function(t,n){t.provide(n||IS,this),t.config.globalProperties.$store=this;var a=this._devtools!==void 0?this._devtools:!1;a&&YC(t,this)};Ep.state.get=function(){return this._state.data};Ep.state.set=function(e){};bn.prototype.commit=function(t,n,a){var s=this,r=Lu(t,n,a),i=r.type,o=r.payload,u={type:i,payload:o},l=this._mutations[i];l&&(this._withCommit(function(){l.forEach(function(p){p(o)})}),this._subscribers.slice().forEach(function(c){return c(u,s.state)}))};bn.prototype.dispatch=function(t,n){var a=this,s=Lu(t,n),r=s.type,i=s.payload,o={type:r,payload:i},u=this._actions[r];if(u){try{this._actionSubscribers.slice().filter(function(c){return c.before}).forEach(function(c){return c.before(o,a.state)})}catch{}var l=u.length>1?Promise.all(u.map(function(c){return c(i)})):u[0](i);return new Promise(function(c,p){l.then(function(E){try{a._actionSubscribers.filter(function(f){return f.after}).forEach(function(f){return f.after(o,a.state)})}catch{}c(E)},function(E){try{a._actionSubscribers.filter(function(f){return f.error}).forEach(function(f){return f.error(o,a.state,E)})}catch{}p(E)})})}};bn.prototype.subscribe=function(t,n){return RS(t,this._subscribers,n)};bn.prototype.subscribeAction=function(t,n){var a=typeof t=="function"?{before:t}:t;return RS(a,this._actionSubscribers,n)};bn.prototype.watch=function(t,n,a){var s=this;return We(function(){return t(s.state,s.getters)},n,Object.assign({},a))};bn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};bn.prototype.registerModule=function(t,n,a){a===void 0&&(a={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),jl(this,this.state,t,this._modules.get(t),a.preserveState),cp(this,this.state)};bn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var a=dp(n.state,t.slice(0,-1));delete a[t[t.length-1]]}),NS(this)};bn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};bn.prototype.hotUpdate=function(t){this._modules.update(t),NS(this,!0)};bn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(bn.prototype,Ep);function ke(){return po()}function Ze(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,a=e.formats[n]||e.formats[e.defaultWidth];return a}}function be(e){return function(t,n){var a=n!=null&&n.context?String(n.context):"standalone",s;if(a==="formatting"&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,i=n!=null&&n.width?String(n.width):r;s=e.formattingValues[i]||e.formattingValues[r]}else{var o=e.defaultWidth,u=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[u]||e.values[o]}var l=e.argumentCallback?e.argumentCallback(t):t;return s[l]}}function Ce(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.width,s=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],r=t.match(s);if(!r)return null;var i=r[0],o=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(o)?aD(o,function(p){return p.test(i)}):nD(o,function(p){return p.test(i)}),l;l=e.valueCallback?e.valueCallback(u):u,l=n.valueCallback?n.valueCallback(l):l;var c=t.slice(i.length);return{value:l,rest:c}}}function nD(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function aD(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;var s=a[0],r=t.match(e.parsePattern);if(!r)return null;var i=e.valueCallback?e.valueCallback(r[0]):r[0];i=n.valueCallback?n.valueCallback(i):i;var o=t.slice(s.length);return{value:i,rest:o}}}function yu(e){"@babel/helpers - typeof";return yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yu(e)}function en(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Xe(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function nt(e){Xe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||yu(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function fo(e,t){Xe(2,arguments);var n=nt(e),a=en(t);return isNaN(a)?new Date(NaN):(a&&n.setDate(n.getDate()+a),n)}function gr(e,t){Xe(2,arguments);var n=nt(e),a=en(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),r=new Date(n.getTime());r.setMonth(n.getMonth()+a+1,0);var i=r.getDate();return s>=i?r:(n.setFullYear(r.getFullYear(),r.getMonth(),s),n)}function sD(e,t){Xe(2,arguments);var n=nt(e).getTime(),a=en(t);return new Date(n+a)}var rD={};function Hs(){return rD}function ql(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getDay(),_=(f0?1:s}function $S(e,t){Xe(2,arguments);var n=VT(e),a=VT(t);return n.getTime()===a.getTime()}function iD(e){return Xe(1,arguments),e instanceof Date||yu(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function oD(e){if(Xe(1,arguments),!iD(e)&&typeof e!="number")return!1;var t=nt(e);return!isNaN(Number(t))}function uD(e,t){Xe(2,arguments);var n=nt(e),a=nt(t),s=n.getFullYear()-a.getFullYear(),r=n.getMonth()-a.getMonth();return s*12+r}function lD(e,t){return Xe(2,arguments),nt(e).getTime()-nt(t).getTime()}var KT={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},cD="trunc";function dD(e){return e?KT[e]:KT[cD]}function ED(e){Xe(1,arguments);var t=nt(e);return t.setHours(23,59,59,999),t}function To(e){Xe(1,arguments);var t=nt(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function pD(e){Xe(1,arguments);var t=nt(e);return ED(t).getTime()===To(t).getTime()}function fD(e,t){Xe(2,arguments);var n=nt(e),a=nt(t),s=lu(n,a),r=Math.abs(uD(n,a)),i;if(r<1)i=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-s*r);var o=lu(n,a)===-s;pD(nt(e))&&r===1&&lu(e,a)===1&&(o=!1),i=s*(r-Number(o))}return i===0?0:i}function TD(e,t,n){Xe(2,arguments);var a=lD(e,t)/1e3;return dD(void 0)(a)}function mo(e){Xe(1,arguments);var t=nt(e);return t.setDate(1),t.setHours(0,0,0,0),t}function kS(e){Xe(1,arguments);var t=nt(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function pp(e){Xe(1,arguments);var t=nt(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function fp(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getDay(),_=(f=s.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function SD(e){Xe(1,arguments);var t=US(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var a=ku(n);return a}var AD=6048e5;function OD(e){Xe(1,arguments);var t=nt(e),n=ku(t).getTime()-SD(t).getTime();return Math.round(n/AD)+1}function Ir(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.weekStartsOn)!==null&&s!==void 0?s:c.weekStartsOn)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&n!==void 0?n:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var E=nt(e),f=E.getUTCDay(),_=(f=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=new Date(0);_.setUTCFullYear(p+1,0,f),_.setUTCHours(0,0,0,0);var O=Ir(_,t),R=new Date(0);R.setUTCFullYear(p,0,f),R.setUTCHours(0,0,0,0);var g=Ir(R,t);return c.getTime()>=O.getTime()?p+1:c.getTime()>=g.getTime()?p:p-1}function gD(e,t){var n,a,s,r,i,o,u,l;Xe(1,arguments);var c=Hs(),p=en((n=(a=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(i=t.locale)===null||i===void 0||(o=i.options)===null||o===void 0?void 0:o.firstWeekContainsDate)!==null&&s!==void 0?s:c.firstWeekContainsDate)!==null&&a!==void 0?a:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&n!==void 0?n:1),E=wS(e,t),f=new Date(0);f.setUTCFullYear(E,0,p),f.setUTCHours(0,0,0,0);var _=Ir(f,t);return _}var ID=6048e5;function RD(e,t){Xe(1,arguments);var n=nt(e),a=Ir(n,t).getTime()-gD(n,t).getTime();return Math.round(a/ID)+1}function Tt(e,t){for(var n=e<0?"-":"",a=Math.abs(e).toString();a.length0?a:1-a;return Tt(n==="yy"?s%100:s,n.length)},M:function(t,n){var a=t.getUTCMonth();return n==="M"?String(a+1):Tt(a+1,2)},d:function(t,n){return Tt(t.getUTCDate(),n.length)},a:function(t,n){var a=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];case"aaaa":default:return a==="am"?"a.m.":"p.m."}},h:function(t,n){return Tt(t.getUTCHours()%12||12,n.length)},H:function(t,n){return Tt(t.getUTCHours(),n.length)},m:function(t,n){return Tt(t.getUTCMinutes(),n.length)},s:function(t,n){return Tt(t.getUTCSeconds(),n.length)},S:function(t,n){var a=n.length,s=t.getUTCMilliseconds(),r=Math.floor(s*Math.pow(10,a-3));return Tt(r,n.length)}},Js={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ND={G:function(t,n,a){var s=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return a.era(s,{width:"abbreviated"});case"GGGGG":return a.era(s,{width:"narrow"});case"GGGG":default:return a.era(s,{width:"wide"})}},y:function(t,n,a){if(n==="yo"){var s=t.getUTCFullYear(),r=s>0?s:1-s;return a.ordinalNumber(r,{unit:"year"})}return ja.y(t,n)},Y:function(t,n,a,s){var r=wS(t,s),i=r>0?r:1-r;if(n==="YY"){var o=i%100;return Tt(o,2)}return n==="Yo"?a.ordinalNumber(i,{unit:"year"}):Tt(i,n.length)},R:function(t,n){var a=US(t);return Tt(a,n.length)},u:function(t,n){var a=t.getUTCFullYear();return Tt(a,n.length)},Q:function(t,n,a){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(s);case"QQ":return Tt(s,2);case"Qo":return a.ordinalNumber(s,{unit:"quarter"});case"QQQ":return a.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,n,a){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(s);case"qq":return Tt(s,2);case"qo":return a.ordinalNumber(s,{unit:"quarter"});case"qqq":return a.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,n,a){var s=t.getUTCMonth();switch(n){case"M":case"MM":return ja.M(t,n);case"Mo":return a.ordinalNumber(s+1,{unit:"month"});case"MMM":return a.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(s,{width:"wide",context:"formatting"})}},L:function(t,n,a){var s=t.getUTCMonth();switch(n){case"L":return String(s+1);case"LL":return Tt(s+1,2);case"Lo":return a.ordinalNumber(s+1,{unit:"month"});case"LLL":return a.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(s,{width:"wide",context:"standalone"})}},w:function(t,n,a,s){var r=RD(t,s);return n==="wo"?a.ordinalNumber(r,{unit:"week"}):Tt(r,n.length)},I:function(t,n,a){var s=OD(t);return n==="Io"?a.ordinalNumber(s,{unit:"week"}):Tt(s,n.length)},d:function(t,n,a){return n==="do"?a.ordinalNumber(t.getUTCDate(),{unit:"date"}):ja.d(t,n)},D:function(t,n,a){var s=hD(t);return n==="Do"?a.ordinalNumber(s,{unit:"dayOfYear"}):Tt(s,n.length)},E:function(t,n,a){var s=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return a.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(s,{width:"short",context:"formatting"});case"EEEE":default:return a.day(s,{width:"wide",context:"formatting"})}},e:function(t,n,a,s){var r=t.getUTCDay(),i=(r-s.weekStartsOn+8)%7||7;switch(n){case"e":return String(i);case"ee":return Tt(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(r,{width:"short",context:"formatting"});case"eeee":default:return a.day(r,{width:"wide",context:"formatting"})}},c:function(t,n,a,s){var r=t.getUTCDay(),i=(r-s.weekStartsOn+8)%7||7;switch(n){case"c":return String(i);case"cc":return Tt(i,n.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(r,{width:"narrow",context:"standalone"});case"cccccc":return a.day(r,{width:"short",context:"standalone"});case"cccc":default:return a.day(r,{width:"wide",context:"standalone"})}},i:function(t,n,a){var s=t.getUTCDay(),r=s===0?7:s;switch(n){case"i":return String(r);case"ii":return Tt(r,n.length);case"io":return a.ordinalNumber(r,{unit:"day"});case"iii":return a.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(s,{width:"short",context:"formatting"});case"iiii":default:return a.day(s,{width:"wide",context:"formatting"})}},a:function(t,n,a){var s=t.getUTCHours(),r=s/12>=1?"pm":"am";switch(n){case"a":case"aa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,n,a){var s=t.getUTCHours(),r;switch(s===12?r=Js.noon:s===0?r=Js.midnight:r=s/12>=1?"pm":"am",n){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,n,a){var s=t.getUTCHours(),r;switch(s>=17?r=Js.evening:s>=12?r=Js.afternoon:s>=4?r=Js.morning:r=Js.night,n){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,n,a){if(n==="ho"){var s=t.getUTCHours()%12;return s===0&&(s=12),a.ordinalNumber(s,{unit:"hour"})}return ja.h(t,n)},H:function(t,n,a){return n==="Ho"?a.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ja.H(t,n)},K:function(t,n,a){var s=t.getUTCHours()%12;return n==="Ko"?a.ordinalNumber(s,{unit:"hour"}):Tt(s,n.length)},k:function(t,n,a){var s=t.getUTCHours();return s===0&&(s=24),n==="ko"?a.ordinalNumber(s,{unit:"hour"}):Tt(s,n.length)},m:function(t,n,a){return n==="mo"?a.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ja.m(t,n)},s:function(t,n,a){return n==="so"?a.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ja.s(t,n)},S:function(t,n){return ja.S(t,n)},X:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();if(i===0)return"Z";switch(n){case"X":return qT(i);case"XXXX":case"XX":return bs(i);case"XXXXX":case"XXX":default:return bs(i,":")}},x:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"x":return qT(i);case"xxxx":case"xx":return bs(i);case"xxxxx":case"xxx":default:return bs(i,":")}},O:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+jT(i,":");case"OOOO":default:return"GMT"+bs(i,":")}},z:function(t,n,a,s){var r=s._originalDate||t,i=r.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+jT(i,":");case"zzzz":default:return"GMT"+bs(i,":")}},t:function(t,n,a,s){var r=s._originalDate||t,i=Math.floor(r.getTime()/1e3);return Tt(i,n.length)},T:function(t,n,a,s){var r=s._originalDate||t,i=r.getTime();return Tt(i,n.length)}};function jT(e,t){var n=e>0?"-":"+",a=Math.abs(e),s=Math.floor(a/60),r=a%60;if(r===0)return n+String(s);var i=t;return n+String(s)+i+Tt(r,2)}function qT(e,t){if(e%60===0){var n=e>0?"-":"+";return n+Tt(Math.abs(e)/60,2)}return bs(e,t)}function bs(e,t){var n=t||"",a=e>0?"-":"+",s=Math.abs(e),r=Tt(Math.floor(s/60),2),i=Tt(s%60,2);return a+r+n+i}var YT=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},MS=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},vD=function(t,n){var a=t.match(/(P+)(p+)?/)||[],s=a[1],r=a[2];if(!r)return YT(t,n);var i;switch(s){case"P":i=n.dateTime({width:"short"});break;case"PP":i=n.dateTime({width:"medium"});break;case"PPP":i=n.dateTime({width:"long"});break;case"PPPP":default:i=n.dateTime({width:"full"});break}return i.replace("{{date}}",YT(s,n)).replace("{{time}}",MS(r,n))},bD={p:MS,P:vD},CD=["D","DD"],DD=["YY","YYYY"];function PD(e){return CD.indexOf(e)!==-1}function LD(e){return DD.indexOf(e)!==-1}function XT(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var yD={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},$D=function(t,n,a){var s,r=yD[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+s:s+" ago":s},kD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},UD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wD={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},MD={date:Ze({formats:kD,defaultWidth:"full"}),time:Ze({formats:UD,defaultWidth:"full"}),dateTime:Ze({formats:wD,defaultWidth:"full"})},WD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},FD=function(t,n,a,s){return WD[t]},zD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},xD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},BD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},GD={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},HD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},VD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},KD=function(t,n){var a=Number(t),s=a%100;if(s>20||s<10)switch(s%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},jD={ordinalNumber:KD,era:be({values:zD,defaultWidth:"wide"}),quarter:be({values:xD,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:BD,defaultWidth:"wide"}),day:be({values:GD,defaultWidth:"wide"}),dayPeriod:be({values:HD,defaultWidth:"wide",formattingValues:VD,defaultFormattingWidth:"wide"})},qD=/^(\d+)(th|st|nd|rd)?/i,YD=/\d+/i,XD={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},QD={any:[/^b/i,/^(a|c)/i]},ZD={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},JD={any:[/1/i,/2/i,/3/i,/4/i]},e3={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},t3={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},n3={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},a3={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},s3={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},r3={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},i3={ordinalNumber:Cn({matchPattern:qD,parsePattern:YD,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:XD,defaultMatchWidth:"wide",parsePatterns:QD,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:ZD,defaultMatchWidth:"wide",parsePatterns:JD,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:e3,defaultMatchWidth:"wide",parsePatterns:t3,defaultParseWidth:"any"}),day:Ce({matchPatterns:n3,defaultMatchWidth:"wide",parsePatterns:a3,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:s3,defaultMatchWidth:"any",parsePatterns:r3,defaultParseWidth:"any"})},_o={code:"en-US",formatDistance:$D,formatLong:MD,formatRelative:FD,localize:jD,match:i3,options:{weekStartsOn:0,firstWeekContainsDate:1}},o3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,u3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,l3=/^'([^]*?)'?$/,c3=/''/g,d3=/[a-zA-Z]/;function _n(e,t,n){var a,s,r,i,o,u,l,c,p,E,f,_,O,R,g,N,S,A;Xe(2,arguments);var v=String(t),y=Hs(),P=(a=(s=n==null?void 0:n.locale)!==null&&s!==void 0?s:y.locale)!==null&&a!==void 0?a:_o,C=en((r=(i=(o=(u=n==null?void 0:n.firstWeekContainsDate)!==null&&u!==void 0?u:n==null||(l=n.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&o!==void 0?o:y.firstWeekContainsDate)!==null&&i!==void 0?i:(p=y.locale)===null||p===void 0||(E=p.options)===null||E===void 0?void 0:E.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(C>=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=en((f=(_=(O=(R=n==null?void 0:n.weekStartsOn)!==null&&R!==void 0?R:n==null||(g=n.locale)===null||g===void 0||(N=g.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&O!==void 0?O:y.weekStartsOn)!==null&&_!==void 0?_:(S=y.locale)===null||S===void 0||(A=S.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&f!==void 0?f:0);if(!(D>=0&&D<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var z=nt(e);if(!oD(z))throw new RangeError("Invalid time value");var $=wd(z),F=mD(z,$),Y={firstWeekContainsDate:C,weekStartsOn:D,locale:P,_originalDate:z},se=v.match(u3).map(function(B){var Q=B[0];if(Q==="p"||Q==="P"){var q=bD[Q];return q(B,P.formatLong)}return B}).join("").match(o3).map(function(B){if(B==="''")return"'";var Q=B[0];if(Q==="'")return E3(B);var q=ND[Q];if(q)return!(n!=null&&n.useAdditionalWeekYearTokens)&&LD(B)&&XT(B,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&PD(B)&&XT(B,t,String(e)),q(F,B,P.localize,Y);if(Q.match(d3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Q+"`");return B}).join("");return se}function E3(e){var t=e.match(l3);return t?t[1].replace(c3,"'"):e}function WS(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function p3(e){return WS({},e)}var QT=1440,f3=2520,Fc=43200,T3=86400;function m3(e,t,n){var a,s;Xe(2,arguments);var r=Hs(),i=(a=(s=n==null?void 0:n.locale)!==null&&s!==void 0?s:r.locale)!==null&&a!==void 0?a:_o;if(!i.formatDistance)throw new RangeError("locale must contain formatDistance property");var o=lu(e,t);if(isNaN(o))throw new RangeError("Invalid time value");var u=WS(p3(n),{addSuffix:!!(n!=null&&n.addSuffix),comparison:o}),l,c;o>0?(l=nt(t),c=nt(e)):(l=nt(e),c=nt(t));var p=TD(c,l),E=(wd(c)-wd(l))/1e3,f=Math.round((p-E)/60),_;if(f<2)return n!=null&&n.includeSeconds?p<5?i.formatDistance("lessThanXSeconds",5,u):p<10?i.formatDistance("lessThanXSeconds",10,u):p<20?i.formatDistance("lessThanXSeconds",20,u):p<40?i.formatDistance("halfAMinute",0,u):p<60?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",1,u):f===0?i.formatDistance("lessThanXMinutes",1,u):i.formatDistance("xMinutes",f,u);if(f<45)return i.formatDistance("xMinutes",f,u);if(f<90)return i.formatDistance("aboutXHours",1,u);if(f0?"след "+s:"преди "+s:s},I3={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd/MM/yyyy"},R3={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},N3={any:"{{date}} {{time}}"},v3={date:Ze({formats:I3,defaultWidth:"full"}),time:Ze({formats:R3,defaultWidth:"full"}),dateTime:Ze({formats:N3,defaultWidth:"any"})},Tp=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function b3(e){var t=Tp[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}function FS(e){var t=Tp[e];return e===2?"'във "+t+" в' p":"'в "+t+" в' p"}function C3(e){var t=Tp[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}var D3=function(t,n,a){var s=nt(t),r=s.getUTCDay();return Ws(s,n,a)?FS(r):b3(r)},P3=function(t,n,a){var s=nt(t),r=s.getUTCDay();return Ws(s,n,a)?FS(r):C3(r)},L3={lastWeek:D3,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:P3,other:"P"},y3=function(t,n,a,s){var r=L3[t];return typeof r=="function"?r(n,a,s):r},$3={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},k3={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},U3={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},w3={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},M3={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function W3(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function F3(e){return e==="quarter"}function Is(e,t,n,a,s){var r=F3(t)?s:W3(t)?a:n;return e+"-"+r}var z3=function(t,n){var a=Number(t),s=n==null?void 0:n.unit;if(a===0)return Is(0,s,"ев","ева","ево");if(a%1e3===0)return Is(a,s,"ен","на","но");if(a%100===0)return Is(a,s,"тен","тна","тно");var r=a%100;if(r>20||r<10)switch(r%10){case 1:return Is(a,s,"ви","ва","во");case 2:return Is(a,s,"ри","ра","ро");case 7:case 8:return Is(a,s,"ми","ма","мо")}return Is(a,s,"ти","та","то")},x3={ordinalNumber:z3,era:be({values:$3,defaultWidth:"wide"}),quarter:be({values:k3,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:U3,defaultWidth:"wide"}),day:be({values:w3,defaultWidth:"wide"}),dayPeriod:be({values:M3,defaultWidth:"wide"})},B3=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,G3=/\d+/i,H3={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},V3={any:[/^п/i,/^н/i]},K3={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},j3={any:[/1/i,/2/i,/3/i,/4/i]},q3={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},Y3={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},X3={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},Q3={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},Z3={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},J3={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},eP={ordinalNumber:Cn({matchPattern:B3,parsePattern:G3,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:H3,defaultMatchWidth:"wide",parsePatterns:V3,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:K3,defaultMatchWidth:"wide",parsePatterns:j3,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:X3,defaultMatchWidth:"wide",parsePatterns:Q3,defaultParseWidth:"any"}),day:Ce({matchPatterns:q3,defaultMatchWidth:"wide",parsePatterns:Y3,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Z3,defaultMatchWidth:"any",parsePatterns:J3,defaultParseWidth:"any"})},tP={code:"bg",formatDistance:g3,formatLong:v3,formatRelative:y3,localize:x3,match:eP,options:{weekStartsOn:1,firstWeekContainsDate:1}},nP={lessThanXSeconds:{one:{regular:"méně než sekunda",past:"před méně než sekundou",future:"za méně než sekundu"},few:{regular:"méně než {{count}} sekundy",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekundy"},many:{regular:"méně než {{count}} sekund",past:"před méně než {{count}} sekundami",future:"za méně než {{count}} sekund"}},xSeconds:{one:{regular:"sekunda",past:"před sekundou",future:"za sekundu"},few:{regular:"{{count}} sekundy",past:"před {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"před {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"půl minuty",past:"před půl minutou",future:"za půl minuty"}},lessThanXMinutes:{one:{regular:"méně než minuta",past:"před méně než minutou",future:"za méně než minutu"},few:{regular:"méně než {{count}} minuty",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minuty"},many:{regular:"méně než {{count}} minut",past:"před méně než {{count}} minutami",future:"za méně než {{count}} minut"}},xMinutes:{one:{regular:"minuta",past:"před minutou",future:"za minutu"},few:{regular:"{{count}} minuty",past:"před {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"před {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"přibližně hodina",past:"přibližně před hodinou",future:"přibližně za hodinu"},few:{regular:"přibližně {{count}} hodiny",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodiny"},many:{regular:"přibližně {{count}} hodin",past:"přibližně před {{count}} hodinami",future:"přibližně za {{count}} hodin"}},xHours:{one:{regular:"hodina",past:"před hodinou",future:"za hodinu"},few:{regular:"{{count}} hodiny",past:"před {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"před {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"den",past:"před dnem",future:"za den"},few:{regular:"{{count}} dny",past:"před {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dní",past:"před {{count}} dny",future:"za {{count}} dní"}},aboutXWeeks:{one:{regular:"přibližně týden",past:"přibližně před týdnem",future:"přibližně za týden"},few:{regular:"přibližně {{count}} týdny",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdny"},many:{regular:"přibližně {{count}} týdnů",past:"přibližně před {{count}} týdny",future:"přibližně za {{count}} týdnů"}},xWeeks:{one:{regular:"týden",past:"před týdnem",future:"za týden"},few:{regular:"{{count}} týdny",past:"před {{count}} týdny",future:"za {{count}} týdny"},many:{regular:"{{count}} týdnů",past:"před {{count}} týdny",future:"za {{count}} týdnů"}},aboutXMonths:{one:{regular:"přibližně měsíc",past:"přibližně před měsícem",future:"přibližně za měsíc"},few:{regular:"přibližně {{count}} měsíce",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíce"},many:{regular:"přibližně {{count}} měsíců",past:"přibližně před {{count}} měsíci",future:"přibližně za {{count}} měsíců"}},xMonths:{one:{regular:"měsíc",past:"před měsícem",future:"za měsíc"},few:{regular:"{{count}} měsíce",past:"před {{count}} měsíci",future:"za {{count}} měsíce"},many:{regular:"{{count}} měsíců",past:"před {{count}} měsíci",future:"za {{count}} měsíců"}},aboutXYears:{one:{regular:"přibližně rok",past:"přibližně před rokem",future:"přibližně za rok"},few:{regular:"přibližně {{count}} roky",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roky"},many:{regular:"přibližně {{count}} roků",past:"přibližně před {{count}} roky",future:"přibližně za {{count}} roků"}},xYears:{one:{regular:"rok",past:"před rokem",future:"za rok"},few:{regular:"{{count}} roky",past:"před {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} roků",past:"před {{count}} roky",future:"za {{count}} roků"}},overXYears:{one:{regular:"více než rok",past:"před více než rokem",future:"za více než rok"},few:{regular:"více než {{count}} roky",past:"před více než {{count}} roky",future:"za více než {{count}} roky"},many:{regular:"více než {{count}} roků",past:"před více než {{count}} roky",future:"za více než {{count}} roků"}},almostXYears:{one:{regular:"skoro rok",past:"skoro před rokem",future:"skoro za rok"},few:{regular:"skoro {{count}} roky",past:"skoro před {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} roků",past:"skoro před {{count}} roky",future:"skoro za {{count}} roků"}}},aP=function(t,n,a){var s,r=nP[t];r.type==="other"?s=r.other:n===1?s=r.one:n>1&&n<5?s=r.few:s=r.many;var i=(a==null?void 0:a.addSuffix)===!0,o=a==null?void 0:a.comparison,u;return i&&o===-1?u=s.past:i&&o===1?u=s.future:u=s.regular,u.replace("{{count}}",String(n))},sP={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},rP={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},iP={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oP={date:Ze({formats:sP,defaultWidth:"full"}),time:Ze({formats:rP,defaultWidth:"full"}),dateTime:Ze({formats:iP,defaultWidth:"full"})},uP=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],lP={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:function(t){var n=t.getUTCDay();return"'v "+uP[n]+" o' p"},other:"P"},cP=function(t,n){var a=lP[t];return typeof a=="function"?a(n):a},dP={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},EP={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},pP={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"]},fP={narrow:["L","Ú","B","D","K","Č","Č","S","Z","Ř","L","P"],abbreviated:["led","úno","bře","dub","kvě","čvn","čvc","srp","zář","říj","lis","pro"],wide:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"]},TP={narrow:["ne","po","út","st","čt","pá","so"],short:["ne","po","út","st","čt","pá","so"],abbreviated:["ned","pon","úte","stř","čtv","pát","sob"],wide:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"]},mP={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},_P={narrow:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"půlnoc",noon:"poledne",morning:"ráno",afternoon:"odpoledne",evening:"večer",night:"noc"}},hP=function(t,n){var a=Number(t);return a+"."},SP={ordinalNumber:hP,era:be({values:dP,defaultWidth:"wide"}),quarter:be({values:EP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:pP,defaultWidth:"wide",formattingValues:fP,defaultFormattingWidth:"wide"}),day:be({values:TP,defaultWidth:"wide"}),dayPeriod:be({values:mP,defaultWidth:"wide",formattingValues:_P,defaultFormattingWidth:"wide"})},AP=/^(\d+)\.?/i,OP=/\d+/i,gP={narrow:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[řr](\.|ed) Kr\.|p[řr](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[řr](\.|ed) Kristem|p[řr](\.|ed) na[šs][íi]m letopo[čc]tem|po Kristu|na[šs]eho letopo[čc]tu)/i},IP={any:[/^p[řr]/i,/^(po|n)/i]},RP={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},NP={any:[/1/i,/2/i,/3/i,/4/i]},vP={narrow:/^[lúubdkčcszřrlp]/i,abbreviated:/^(led|[úu]no|b[řr]e|dub|kv[ěe]|[čc]vn|[čc]vc|srp|z[áa][řr]|[řr][íi]j|lis|pro)/i,wide:/^(leden|ledna|[úu]nora?|b[řr]ezen|b[řr]ezna|duben|dubna|kv[ěe]ten|kv[ěe]tna|[čc]erven(ec|ce)?|[čc]ervna|srpen|srpna|z[áa][řr][íi]|[řr][íi]jen|[řr][íi]jna|listopad(a|u)?|prosinec|prosince)/i},bP={narrow:[/^l/i,/^[úu]/i,/^b/i,/^d/i,/^k/i,/^[čc]/i,/^[čc]/i,/^s/i,/^z/i,/^[řr]/i,/^l/i,/^p/i],any:[/^led/i,/^[úu]n/i,/^b[řr]e/i,/^dub/i,/^kv[ěe]/i,/^[čc]vn|[čc]erven(?!\w)|[čc]ervna/i,/^[čc]vc|[čc]erven(ec|ce)/i,/^srp/i,/^z[áa][řr]/i,/^[řr][íi]j/i,/^lis/i,/^pro/i]},CP={narrow:/^[npuúsčps]/i,short:/^(ne|po|[úu]t|st|[čc]t|p[áa]|so)/i,abbreviated:/^(ned|pon|[úu]te|st[rř]|[čc]tv|p[áa]t|sob)/i,wide:/^(ned[ěe]le|pond[ěe]l[íi]|[úu]ter[ýy]|st[řr]eda|[čc]tvrtek|p[áa]tek|sobota)/i},DP={narrow:[/^n/i,/^p/i,/^[úu]/i,/^s/i,/^[čc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[úu]t/i,/^st/i,/^[čc]t/i,/^p[áa]/i,/^so/i]},PP={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},LP={any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[ůu]lnoc/i,noon:/^poledne/i,morning:/r[áa]no/i,afternoon:/odpoledne/i,evening:/ve[čc]er/i,night:/noc/i}},yP={ordinalNumber:Cn({matchPattern:AP,parsePattern:OP,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:gP,defaultMatchWidth:"wide",parsePatterns:IP,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:RP,defaultMatchWidth:"wide",parsePatterns:NP,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:vP,defaultMatchWidth:"wide",parsePatterns:bP,defaultParseWidth:"any"}),day:Ce({matchPatterns:CP,defaultMatchWidth:"wide",parsePatterns:DP,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:PP,defaultMatchWidth:"any",parsePatterns:LP,defaultParseWidth:"any"})},$P={code:"cs",formatDistance:aP,formatLong:oP,formatRelative:cP,localize:SP,match:yP,options:{weekStartsOn:1,firstWeekContainsDate:4}},JT={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},kP=function(t,n,a){var s,r=a!=null&&a.addSuffix?JT[t].withPreposition:JT[t].standalone;return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"in "+s:"vor "+s:s},UP={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},wP={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},MP={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},WP={date:Ze({formats:UP,defaultWidth:"full"}),time:Ze({formats:wP,defaultWidth:"full"}),dateTime:Ze({formats:MP,defaultWidth:"full"})},FP={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},zP=function(t,n,a,s){return FP[t]},xP={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},BP={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},Fd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},GP={narrow:Fd.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:Fd.wide},HP={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},VP={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},KP={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},jP=function(t){var n=Number(t);return n+"."},qP={ordinalNumber:jP,era:be({values:xP,defaultWidth:"wide"}),quarter:be({values:BP,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Fd,formattingValues:GP,defaultWidth:"wide"}),day:be({values:HP,defaultWidth:"wide"}),dayPeriod:be({values:VP,defaultWidth:"wide",formattingValues:KP,defaultFormattingWidth:"wide"})},YP=/^(\d+)(\.)?/i,XP=/\d+/i,QP={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},ZP={any:[/^v/i,/^n/i]},JP={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},eL={any:[/1/i,/2/i,/3/i,/4/i]},tL={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},nL={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},aL={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},sL={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},rL={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},iL={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},oL={ordinalNumber:Cn({matchPattern:YP,parsePattern:XP,valueCallback:function(t){return parseInt(t)}}),era:Ce({matchPatterns:QP,defaultMatchWidth:"wide",parsePatterns:ZP,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:JP,defaultMatchWidth:"wide",parsePatterns:eL,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:tL,defaultMatchWidth:"wide",parsePatterns:nL,defaultParseWidth:"any"}),day:Ce({matchPatterns:aL,defaultMatchWidth:"wide",parsePatterns:sL,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:rL,defaultMatchWidth:"wide",parsePatterns:iL,defaultParseWidth:"any"})},uL={code:"de",formatDistance:kP,formatLong:WP,formatRelative:zP,localize:qP,match:oL,options:{weekStartsOn:1,firstWeekContainsDate:4}},lL={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},cL=function(t,n,a){var s,r=lL[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"hace "+s:s},dL={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},EL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},pL={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},fL={date:Ze({formats:dL,defaultWidth:"full"}),time:Ze({formats:EL,defaultWidth:"full"}),dateTime:Ze({formats:pL,defaultWidth:"full"})},TL={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},mL={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},_L=function(t,n,a,s){return n.getUTCHours()!==1?mL[t]:TL[t]},hL={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},SL={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},AL={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},OL={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},gL={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},IL={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},RL=function(t,n){var a=Number(t);return a+"º"},NL={ordinalNumber:RL,era:be({values:hL,defaultWidth:"wide"}),quarter:be({values:SL,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:be({values:AL,defaultWidth:"wide"}),day:be({values:OL,defaultWidth:"wide"}),dayPeriod:be({values:gL,defaultWidth:"wide",formattingValues:IL,defaultFormattingWidth:"wide"})},vL=/^(\d+)(º)?/i,bL=/\d+/i,CL={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},DL={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},PL={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},LL={any:[/1/i,/2/i,/3/i,/4/i]},yL={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},$L={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},kL={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},UL={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},wL={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},ML={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},WL={ordinalNumber:Cn({matchPattern:vL,parsePattern:bL,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:CL,defaultMatchWidth:"wide",parsePatterns:DL,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:PL,defaultMatchWidth:"wide",parsePatterns:LL,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:yL,defaultMatchWidth:"wide",parsePatterns:$L,defaultParseWidth:"any"}),day:Ce({matchPatterns:kL,defaultMatchWidth:"wide",parsePatterns:UL,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:wL,defaultMatchWidth:"any",parsePatterns:ML,defaultParseWidth:"any"})},FL={code:"es",formatDistance:cL,formatLong:fL,formatRelative:_L,localize:NL,match:WL,options:{weekStartsOn:1,firstWeekContainsDate:1}},zL={lessThanXSeconds:{one:"segundo bat baino gutxiago",other:"{{count}} segundo baino gutxiago"},xSeconds:{one:"1 segundo",other:"{{count}} segundo"},halfAMinute:"minutu erdi",lessThanXMinutes:{one:"minutu bat baino gutxiago",other:"{{count}} minutu baino gutxiago"},xMinutes:{one:"1 minutu",other:"{{count}} minutu"},aboutXHours:{one:"1 ordu gutxi gorabehera",other:"{{count}} ordu gutxi gorabehera"},xHours:{one:"1 ordu",other:"{{count}} ordu"},xDays:{one:"1 egun",other:"{{count}} egun"},aboutXWeeks:{one:"aste 1 inguru",other:"{{count}} aste inguru"},xWeeks:{one:"1 aste",other:"{{count}} astean"},aboutXMonths:{one:"1 hilabete gutxi gorabehera",other:"{{count}} hilabete gutxi gorabehera"},xMonths:{one:"1 hilabete",other:"{{count}} hilabete"},aboutXYears:{one:"1 urte gutxi gorabehera",other:"{{count}} urte gutxi gorabehera"},xYears:{one:"1 urte",other:"{{count}} urte"},overXYears:{one:"1 urte baino gehiago",other:"{{count}} urte baino gehiago"},almostXYears:{one:"ia 1 urte",other:"ia {{count}} urte"}},xL=function(t,n,a){var s,r=zL[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"duela "+s:s},BL={full:"EEEE, y'ko' MMMM'ren' d'a' y'ren'",long:"y'ko' MMMM'ren' d'a'",medium:"y MMM d",short:"yy/MM/dd"},GL={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},HL={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},VL={date:Ze({formats:BL,defaultWidth:"full"}),time:Ze({formats:GL,defaultWidth:"full"}),dateTime:Ze({formats:HL,defaultWidth:"full"})},KL={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},jL={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},qL=function(t,n){return n.getUTCHours()!==1?jL[t]:KL[t]},YL={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},XL={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},QL={narrow:["u","o","m","a","m","e","u","a","i","u","a","a"],abbreviated:["urt","ots","mar","api","mai","eka","uzt","abu","ira","urr","aza","abe"],wide:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"]},ZL={narrow:["i","a","a","a","o","o","l"],short:["ig","al","as","az","og","or","lr"],abbreviated:["iga","ast","ast","ast","ost","ost","lar"],wide:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"]},JL={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goiza",afternoon:"arratsaldea",evening:"arratsaldea",night:"gaua"}},ey={narrow:{am:"a",pm:"p",midnight:"ge",noon:"eg",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},abbreviated:{am:"AM",pm:"PM",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"},wide:{am:"a.m.",pm:"p.m.",midnight:"gauerdia",noon:"eguerdia",morning:"goizean",afternoon:"arratsaldean",evening:"arratsaldean",night:"gauean"}},ty=function(t,n){var a=Number(t);return a+"."},ny={ordinalNumber:ty,era:be({values:YL,defaultWidth:"wide"}),quarter:be({values:XL,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:QL,defaultWidth:"wide"}),day:be({values:ZL,defaultWidth:"wide"}),dayPeriod:be({values:JL,defaultWidth:"wide",formattingValues:ey,defaultFormattingWidth:"wide"})},ay=/^(\d+)(.)?/i,sy=/\d+/i,ry={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},iy={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},oy={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},uy={any:[/1/i,/2/i,/3/i,/4/i]},ly={narrow:/^[uomaei]/i,abbreviated:/^(urt|ots|mar|api|mai|eka|uzt|abu|ira|urr|aza|abe)/i,wide:/^(urtarrila|otsaila|martxoa|apirila|maiatza|ekaina|uztaila|abuztua|iraila|urria|azaroa|abendua)/i},cy={narrow:[/^u/i,/^o/i,/^m/i,/^a/i,/^m/i,/^e/i,/^u/i,/^a/i,/^i/i,/^u/i,/^a/i,/^a/i],any:[/^urt/i,/^ots/i,/^mar/i,/^api/i,/^mai/i,/^eka/i,/^uzt/i,/^abu/i,/^ira/i,/^urr/i,/^aza/i,/^abe/i]},dy={narrow:/^[iaol]/i,short:/^(ig|al|as|az|og|or|lr)/i,abbreviated:/^(iga|ast|ast|ast|ost|ost|lar)/i,wide:/^(igandea|astelehena|asteartea|asteazkena|osteguna|ostirala|larunbata)/i},Ey={narrow:[/^i/i,/^a/i,/^a/i,/^a/i,/^o/i,/^o/i,/^l/i],short:[/^ig/i,/^al/i,/^as/i,/^az/i,/^og/i,/^or/i,/^lr/i],abbreviated:[/^iga/i,/^ast/i,/^ast/i,/^ast/i,/^ost/i,/^ost/i,/^lar/i],wide:[/^igandea/i,/^astelehena/i,/^asteartea/i,/^asteazkena/i,/^osteguna/i,/^ostirala/i,/^larunbata/i]},py={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},fy={narrow:{am:/^a/i,pm:/^p/i,midnight:/^ge/i,noon:/^eg/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i},any:{am:/^a/i,pm:/^p/i,midnight:/^gauerdia/i,noon:/^eguerdia/i,morning:/goiz/i,afternoon:/arratsaldea/i,evening:/arratsaldea/i,night:/gau/i}},Ty={ordinalNumber:Cn({matchPattern:ay,parsePattern:sy,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:ry,defaultMatchWidth:"wide",parsePatterns:iy,defaultParseWidth:"wide"}),quarter:Ce({matchPatterns:oy,defaultMatchWidth:"wide",parsePatterns:uy,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:ly,defaultMatchWidth:"wide",parsePatterns:cy,defaultParseWidth:"any"}),day:Ce({matchPatterns:dy,defaultMatchWidth:"wide",parsePatterns:Ey,defaultParseWidth:"wide"}),dayPeriod:Ce({matchPatterns:py,defaultMatchWidth:"any",parsePatterns:fy,defaultParseWidth:"any"})},my={code:"eu",formatDistance:xL,formatLong:VL,formatRelative:qL,localize:ny,match:Ty,options:{weekStartsOn:1,firstWeekContainsDate:1}},_y={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},hy=function(t,n,a){var s,r=_y[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"dans "+s:"il y a "+s:s},Sy={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Ay={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Oy={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gy={date:Ze({formats:Sy,defaultWidth:"full"}),time:Ze({formats:Ay,defaultWidth:"full"}),dateTime:Ze({formats:Oy,defaultWidth:"full"})},Iy={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Ry=function(t,n,a,s){return Iy[t]},Ny={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},vy={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},by={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},Cy={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},Dy={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},Py=function(t,n){var a=Number(t),s=n==null?void 0:n.unit;if(a===0)return"0";var r=["year","week","hour","minute","second"],i;return a===1?i=s&&r.includes(s)?"ère":"er":i="ème",a+i},Ly={ordinalNumber:Py,era:be({values:Ny,defaultWidth:"wide"}),quarter:be({values:vy,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:by,defaultWidth:"wide"}),day:be({values:Cy,defaultWidth:"wide"}),dayPeriod:be({values:Dy,defaultWidth:"wide"})},yy=/^(\d+)(ième|ère|ème|er|e)?/i,$y=/\d+/i,ky={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Uy={any:[/^av/i,/^ap/i]},wy={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},My={any:[/1/i,/2/i,/3/i,/4/i]},Wy={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Fy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},zy={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},xy={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},By={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Gy={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},Hy={ordinalNumber:Cn({matchPattern:yy,parsePattern:$y,valueCallback:function(t){return parseInt(t)}}),era:Ce({matchPatterns:ky,defaultMatchWidth:"wide",parsePatterns:Uy,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:wy,defaultMatchWidth:"wide",parsePatterns:My,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Wy,defaultMatchWidth:"wide",parsePatterns:Fy,defaultParseWidth:"any"}),day:Ce({matchPatterns:zy,defaultMatchWidth:"wide",parsePatterns:xy,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:By,defaultMatchWidth:"any",parsePatterns:Gy,defaultParseWidth:"any"})},Vy={code:"fr",formatDistance:hy,formatLong:gy,formatRelative:Ry,localize:Ly,match:Hy,options:{weekStartsOn:1,firstWeekContainsDate:4}},Ky={lessThanXSeconds:{one:"menos dun segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos dun minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"arredor dunha hora",other:"arredor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"arredor dunha semana",other:"arredor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"arredor de 1 mes",other:"arredor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"arredor dun ano",other:"arredor de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"máis dun ano",other:"máis de {{count}} anos"},almostXYears:{one:"case un ano",other:"case {{count}} anos"}},jy=function(t,n,a){var s,r=Ky[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"en "+s:"hai "+s:s},qy={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},Yy={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Xy={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Qy={date:Ze({formats:qy,defaultWidth:"full"}),time:Ze({formats:Yy,defaultWidth:"full"}),dateTime:Ze({formats:Xy,defaultWidth:"full"})},Zy={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},Jy={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},e$=function(t,n,a,s){return n.getUTCHours()!==1?Jy[t]:Zy[t]},t$={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},n$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},a$={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["xan","feb","mar","abr","mai","xun","xul","ago","set","out","nov","dec"],wide:["xaneiro","febreiro","marzo","abril","maio","xuño","xullo","agosto","setembro","outubro","novembro","decembro"]},s$={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","me","xo","ve","sa"],abbreviated:["dom","lun","mar","mer","xov","ven","sab"],wide:["domingo","luns","martes","mércores","xoves","venres","sábado"]},r$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañá",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"mañá",afternoon:"tarde",evening:"tardiña",night:"noite"}},i$={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoite",noon:"mediodía",morning:"da mañá",afternoon:"da tarde",evening:"da tardiña",night:"da noite"}},o$=function(t,n){var a=Number(t);return a+"º"},u$={ordinalNumber:o$,era:be({values:t$,defaultWidth:"wide"}),quarter:be({values:n$,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:a$,defaultWidth:"wide"}),day:be({values:s$,defaultWidth:"wide"}),dayPeriod:be({values:r$,defaultWidth:"wide",formattingValues:i$,defaultFormattingWidth:"wide"})},l$=/^(\d+)(º)?/i,c$=/\d+/i,d$={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era com[uú]n|despois de cristo|era com[uú]n)/i},E$={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},p$={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},f$={any:[/1/i,/2/i,/3/i,/4/i]},T$={narrow:/^[xfmasond]/i,abbreviated:/^(xan|feb|mar|abr|mai|xun|xul|ago|set|out|nov|dec)/i,wide:/^(xaneiro|febreiro|marzo|abril|maio|xuño|xullo|agosto|setembro|outubro|novembro|decembro)/i},m$={narrow:[/^x/i,/^f/i,/^m/i,/^a/i,/^m/i,/^x/i,/^x/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^xan/i,/^feb/i,/^mar/i,/^abr/i,/^mai/i,/^xun/i,/^xul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dec/i]},_$={narrow:/^[dlmxvs]/i,short:/^(do|lu|ma|me|xo|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|xov|ven|sab)/i,wide:/^(domingo|luns|martes|m[eé]rcores|xoves|venres|s[áa]bado)/i},h$={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^x/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^me/i,/^xo/i,/^ve/i,/^sa/i]},S$={narrow:/^(a|p|mn|md|(da|[aá]s) (mañ[aá]|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|medianoite|mediod[ií]a|(da|[aá]s) (mañ[aá]|tarde|noite))/i},A$={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañ[aá]/i,afternoon:/tarde/i,evening:/tardiña/i,night:/noite/i}},O$={ordinalNumber:Cn({matchPattern:l$,parsePattern:c$,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:d$,defaultMatchWidth:"wide",parsePatterns:E$,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:p$,defaultMatchWidth:"wide",parsePatterns:f$,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:T$,defaultMatchWidth:"wide",parsePatterns:m$,defaultParseWidth:"any"}),day:Ce({matchPatterns:_$,defaultMatchWidth:"wide",parsePatterns:h$,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:S$,defaultMatchWidth:"any",parsePatterns:A$,defaultParseWidth:"any"})},g$={code:"gl",formatDistance:jy,formatLong:Qy,formatRelative:e$,localize:u$,match:O$,options:{weekStartsOn:1,firstWeekContainsDate:1}},I$={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},R$=function(t,n,a){var s,r=I$[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",n.toString()),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"tra "+s:s+" fa":s},N$={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},v$={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},b$={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},C$={date:Ze({formats:N$,defaultWidth:"full"}),time:Ze({formats:v$,defaultWidth:"full"}),dateTime:Ze({formats:b$,defaultWidth:"full"})},mp=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function D$(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+mp[e]+" scorso alle' p"}}function em(e){return"'"+mp[e]+" alle' p"}function P$(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+mp[e]+" prossimo alle' p"}}var L$={lastWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?em(s):D$(s)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?em(s):P$(s)},other:"P"},y$=function(t,n,a,s){var r=L$[t];return typeof r=="function"?r(n,a,s):r},$$={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},k$={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},U$={narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},w$={narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},M$={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},W$={narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},F$=function(t,n){var a=Number(t);return String(a)},z$={ordinalNumber:F$,era:be({values:$$,defaultWidth:"wide"}),quarter:be({values:k$,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:U$,defaultWidth:"wide"}),day:be({values:w$,defaultWidth:"wide"}),dayPeriod:be({values:M$,defaultWidth:"wide",formattingValues:W$,defaultFormattingWidth:"wide"})},x$=/^(\d+)(º)?/i,B$=/\d+/i,G$={narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},H$={any:[/^a/i,/^(d|e)/i]},V$={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},K$={any:[/1/i,/2/i,/3/i,/4/i]},j$={narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},q$={narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Y$={narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},X$={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},Q$={narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},Z$={any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},J$={ordinalNumber:Cn({matchPattern:x$,parsePattern:B$,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:G$,defaultMatchWidth:"wide",parsePatterns:H$,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:V$,defaultMatchWidth:"wide",parsePatterns:K$,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:j$,defaultMatchWidth:"wide",parsePatterns:q$,defaultParseWidth:"any"}),day:Ce({matchPatterns:Y$,defaultMatchWidth:"wide",parsePatterns:X$,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Q$,defaultMatchWidth:"any",parsePatterns:Z$,defaultParseWidth:"any"})},e4={code:"it",formatDistance:R$,formatLong:C$,formatRelative:y$,localize:z$,match:J$,options:{weekStartsOn:1,firstWeekContainsDate:4}},t4={lessThanXSeconds:{one:"mindre enn ett sekund",other:"mindre enn {{count}} sekunder"},xSeconds:{one:"ett sekund",other:"{{count}} sekunder"},halfAMinute:"et halvt minutt",lessThanXMinutes:{one:"mindre enn ett minutt",other:"mindre enn {{count}} minutter"},xMinutes:{one:"ett minutt",other:"{{count}} minutter"},aboutXHours:{one:"omtrent en time",other:"omtrent {{count}} timer"},xHours:{one:"en time",other:"{{count}} timer"},xDays:{one:"en dag",other:"{{count}} dager"},aboutXWeeks:{one:"omtrent en uke",other:"omtrent {{count}} uker"},xWeeks:{one:"en uke",other:"{{count}} uker"},aboutXMonths:{one:"omtrent en måned",other:"omtrent {{count}} måneder"},xMonths:{one:"en måned",other:"{{count}} måneder"},aboutXYears:{one:"omtrent ett år",other:"omtrent {{count}} år"},xYears:{one:"ett år",other:"{{count}} år"},overXYears:{one:"over ett år",other:"over {{count}} år"},almostXYears:{one:"nesten ett år",other:"nesten {{count}} år"}},n4=function(t,n,a){var s,r=t4[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"om "+s:s+" siden":s},a4={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},s4={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},r4={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},i4={date:Ze({formats:a4,defaultWidth:"full"}),time:Ze({formats:s4,defaultWidth:"full"}),dateTime:Ze({formats:r4,defaultWidth:"full"})},o4={lastWeek:"'forrige' eeee 'kl.' p",yesterday:"'i går kl.' p",today:"'i dag kl.' p",tomorrow:"'i morgen kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},u4=function(t,n,a,s){return o4[t]},l4={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},c4={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},d4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","mai","juni","juli","aug.","sep.","okt.","nov.","des."],wide:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"]},E4={narrow:["S","M","T","O","T","F","L"],short:["sø","ma","ti","on","to","fr","lø"],abbreviated:["søn","man","tir","ons","tor","fre","lør"],wide:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},p4={narrow:{am:"a",pm:"p",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morg.",afternoon:"på etterm.",evening:"på kvelden",night:"på natten"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnatt",noon:"middag",morning:"på morgenen",afternoon:"på ettermiddagen",evening:"på kvelden",night:"på natten"}},f4=function(t,n){var a=Number(t);return a+"."},T4={ordinalNumber:f4,era:be({values:l4,defaultWidth:"wide"}),quarter:be({values:c4,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:d4,defaultWidth:"wide"}),day:be({values:E4,defaultWidth:"wide"}),dayPeriod:be({values:p4,defaultWidth:"wide"})},m4=/^(\d+)\.?/i,_4=/\d+/i,h4={narrow:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,abbreviated:/^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,wide:/^(før Kristus|før vår tid|etter Kristus|vår tid)/i},S4={any:[/^f/i,/^e/i]},A4={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},O4={any:[/1/i,/2/i,/3/i,/4/i]},g4={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,wide:/^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i},I4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^aug/i,/^s/i,/^o/i,/^n/i,/^d/i]},R4={narrow:/^[smtofl]/i,short:/^(sø|ma|ti|on|to|fr|lø)/i,abbreviated:/^(søn|man|tir|ons|tor|fre|lør)/i,wide:/^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i},N4={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},v4={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},b4={any:{am:/^a(\.?\s?m\.?)?$/i,pm:/^p(\.?\s?m\.?)?$/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgen/i,afternoon:/ettermiddag/i,evening:/kveld/i,night:/natt/i}},C4={ordinalNumber:Cn({matchPattern:m4,parsePattern:_4,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:h4,defaultMatchWidth:"wide",parsePatterns:S4,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:A4,defaultMatchWidth:"wide",parsePatterns:O4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:g4,defaultMatchWidth:"wide",parsePatterns:I4,defaultParseWidth:"any"}),day:Ce({matchPatterns:R4,defaultMatchWidth:"wide",parsePatterns:N4,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:v4,defaultMatchWidth:"any",parsePatterns:b4,defaultParseWidth:"any"})},D4={code:"nb",formatDistance:n4,formatLong:i4,formatRelative:u4,localize:T4,match:C4,options:{weekStartsOn:1,firstWeekContainsDate:4}},P4={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},L4=function(t,n,a){var s,r=P4[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"over "+s:s+" geleden":s},y4={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},$4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},k4={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},U4={date:Ze({formats:y4,defaultWidth:"full"}),time:Ze({formats:$4,defaultWidth:"full"}),dateTime:Ze({formats:k4,defaultWidth:"full"})},w4={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},M4=function(t,n,a,s){return w4[t]},W4={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},F4={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},z4={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},x4={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},B4={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},G4=function(t,n){var a=Number(t);return a+"e"},H4={ordinalNumber:G4,era:be({values:W4,defaultWidth:"wide"}),quarter:be({values:F4,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:z4,defaultWidth:"wide"}),day:be({values:x4,defaultWidth:"wide"}),dayPeriod:be({values:B4,defaultWidth:"wide"})},V4=/^(\d+)e?/i,K4=/\d+/i,j4={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},q4={any:[/^v/,/^n/]},Y4={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},X4={any:[/1/i,/2/i,/3/i,/4/i]},Q4={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Z4={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},J4={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},ek={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},tk={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},nk={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},ak={ordinalNumber:Cn({matchPattern:V4,parsePattern:K4,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:j4,defaultMatchWidth:"wide",parsePatterns:q4,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:Y4,defaultMatchWidth:"wide",parsePatterns:X4,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:Q4,defaultMatchWidth:"wide",parsePatterns:Z4,defaultParseWidth:"any"}),day:Ce({matchPatterns:J4,defaultMatchWidth:"wide",parsePatterns:ek,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:tk,defaultMatchWidth:"any",parsePatterns:nk,defaultParseWidth:"any"})},sk={code:"nl",formatDistance:L4,formatLong:U4,formatRelative:M4,localize:H4,match:ak,options:{weekStartsOn:1,firstWeekContainsDate:4}},rk={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function ik(e,t){if(t===1)return e.one;var n=t%100;if(n<=20&&n>10)return e.other;var a=n%10;return a>=2&&a<=4?e.twoFour:e.other}function zc(e,t,n){var a=ik(e,t),s=typeof a=="string"?a:a[n];return s.replace("{{count}}",String(t))}var ok=function(t,n,a){var s=rk[t];return a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"za "+zc(s,n,"future"):zc(s,n,"past")+" temu":zc(s,n,"regular")},uk={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},lk={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},ck={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dk={date:Ze({formats:uk,defaultWidth:"full"}),time:Ze({formats:lk,defaultWidth:"full"}),dateTime:Ze({formats:ck,defaultWidth:"full"})},Ek={masculine:"ostatni",feminine:"ostatnia"},pk={masculine:"ten",feminine:"ta"},fk={masculine:"następny",feminine:"następna"},Tk={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function tm(e,t,n,a){var s;if(Ws(t,n,a))s=pk;else if(e==="lastWeek")s=Ek;else if(e==="nextWeek")s=fk;else throw new Error("Cannot determine adjectives for token ".concat(e));var r=t.getUTCDay(),i=Tk[r],o=s[i];return"'".concat(o,"' eeee 'o' p")}var mk={lastWeek:tm,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:tm,other:"P"},_k=function(t,n,a,s){var r=mk[t];return typeof r=="function"?r(t,n,a,s):r},hk={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},Sk={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},Ak={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},Ok={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},gk={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},Ik={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},Rk={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},Nk={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},vk=function(t,n){return String(t)},bk={ordinalNumber:vk,era:be({values:hk,defaultWidth:"wide"}),quarter:be({values:Sk,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Ak,defaultWidth:"wide",formattingValues:Ok,defaultFormattingWidth:"wide"}),day:be({values:gk,defaultWidth:"wide",formattingValues:Ik,defaultFormattingWidth:"wide"}),dayPeriod:be({values:Rk,defaultWidth:"wide",formattingValues:Nk,defaultFormattingWidth:"wide"})},Ck=/^(\d+)?/i,Dk=/\d+/i,Pk={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},Lk={any:[/^p/i,/^n/i]},yk={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},$k={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},kk={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},Uk={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},wk={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},Mk={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},Wk={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},Fk={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},zk={ordinalNumber:Cn({matchPattern:Ck,parsePattern:Dk,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:Pk,defaultMatchWidth:"wide",parsePatterns:Lk,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:yk,defaultMatchWidth:"wide",parsePatterns:$k,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:kk,defaultMatchWidth:"wide",parsePatterns:Uk,defaultParseWidth:"any"}),day:Ce({matchPatterns:wk,defaultMatchWidth:"wide",parsePatterns:Mk,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:Wk,defaultMatchWidth:"any",parsePatterns:Fk,defaultParseWidth:"any"})},xk={code:"pl",formatDistance:ok,formatLong:dk,formatRelative:_k,localize:bk,match:zk,options:{weekStartsOn:1,firstWeekContainsDate:4}},Bk={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 mês",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},Gk=function(t,n,a){var s,r=Bk[t];return typeof r=="string"?s=r:n===1?s=r.one:s=r.other.replace("{{count}}",String(n)),a!=null&&a.addSuffix?a.comparison&&a.comparison>0?"daqui a "+s:"há "+s:s},Hk={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Vk={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Kk={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},jk={date:Ze({formats:Hk,defaultWidth:"full"}),time:Ze({formats:Vk,defaultWidth:"full"}),dateTime:Ze({formats:Kk,defaultWidth:"full"})},qk={lastWeek:function(t){var n=t.getUTCDay(),a=n===0||n===6?"último":"última";return"'"+a+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Yk=function(t,n,a,s){var r=qk[t];return typeof r=="function"?r(n):r},Xk={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Qk={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Zk={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Jk={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","sáb"],abbreviated:["dom","seg","ter","qua","qui","sex","sáb"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},eU={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"noite",night:"madrugada"}},tU={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},nU=function(t,n){var a=Number(t);return a+"º"},aU={ordinalNumber:nU,era:be({values:Xk,defaultWidth:"wide"}),quarter:be({values:Qk,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:Zk,defaultWidth:"wide"}),day:be({values:Jk,defaultWidth:"wide"}),dayPeriod:be({values:eU,defaultWidth:"wide",formattingValues:tU,defaultFormattingWidth:"wide"})},sU=/^(\d+)(º|ª)?/i,rU=/\d+/i,iU={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},oU={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},uU={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},lU={any:[/1/i,/2/i,/3/i,/4/i]},cU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},dU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},EU={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},pU={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},fU={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},TU={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},mU={ordinalNumber:Cn({matchPattern:sU,parsePattern:rU,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:iU,defaultMatchWidth:"wide",parsePatterns:oU,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:uU,defaultMatchWidth:"wide",parsePatterns:lU,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:cU,defaultMatchWidth:"wide",parsePatterns:dU,defaultParseWidth:"any"}),day:Ce({matchPatterns:EU,defaultMatchWidth:"wide",parsePatterns:pU,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:fU,defaultMatchWidth:"any",parsePatterns:TU,defaultParseWidth:"any"})},_U={code:"pt",formatDistance:Gk,formatLong:jk,formatRelative:Yk,localize:aU,match:mU,options:{weekStartsOn:1,firstWeekContainsDate:4}};function ei(e,t){if(e.one!==void 0&&t===1)return e.one;var n=t%10,a=t%100;return n===1&&a!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function rn(e){return function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?e.future?ei(e.future,t):"через "+ei(e.regular,t):e.past?ei(e.past,t):ei(e.regular,t)+" назад":ei(e.regular,t)}}var hU={lessThanXSeconds:rn({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:rn({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:function(t,n){return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"через полминуты":"полминуты назад":"полминуты"},lessThanXMinutes:rn({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:rn({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:rn({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:rn({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:rn({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:rn({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:rn({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:rn({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:rn({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:rn({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:rn({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:rn({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:rn({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},SU=function(t,n,a){return hU[t](n,a)},AU={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},OU={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},gU={any:"{{date}}, {{time}}"},IU={date:Ze({formats:AU,defaultWidth:"full"}),time:Ze({formats:OU,defaultWidth:"full"}),dateTime:Ze({formats:gU,defaultWidth:"any"})},_p=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function RU(e){var t=_p[e];switch(e){case 0:return"'в прошлое "+t+" в' p";case 1:case 2:case 4:return"'в прошлый "+t+" в' p";case 3:case 5:case 6:return"'в прошлую "+t+" в' p"}}function nm(e){var t=_p[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function NU(e){var t=_p[e];switch(e){case 0:return"'в следующее "+t+" в' p";case 1:case 2:case 4:return"'в следующий "+t+" в' p";case 3:case 5:case 6:return"'в следующую "+t+" в' p"}}var vU={lastWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?nm(s):RU(s)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:function(t,n,a){var s=t.getUTCDay();return Ws(t,n,a)?nm(s):NU(s)},other:"P"},bU=function(t,n,a,s){var r=vU[t];return typeof r=="function"?r(n,a,s):r},CU={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},DU={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},PU={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},LU={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},yU={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},$U={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},kU={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},UU=function(t,n){var a=Number(t),s=n==null?void 0:n.unit,r;return s==="date"?r="-е":s==="week"||s==="minute"||s==="second"?r="-я":r="-й",a+r},wU={ordinalNumber:UU,era:be({values:CU,defaultWidth:"wide"}),quarter:be({values:DU,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:be({values:PU,defaultWidth:"wide",formattingValues:LU,defaultFormattingWidth:"wide"}),day:be({values:yU,defaultWidth:"wide"}),dayPeriod:be({values:$U,defaultWidth:"any",formattingValues:kU,defaultFormattingWidth:"wide"})},MU=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,WU=/\d+/i,FU={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},zU={any:[/^д/i,/^н/i]},xU={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},BU={any:[/1/i,/2/i,/3/i,/4/i]},GU={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},HU={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},VU={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},KU={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},jU={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},qU={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},YU={ordinalNumber:Cn({matchPattern:MU,parsePattern:WU,valueCallback:function(t){return parseInt(t,10)}}),era:Ce({matchPatterns:FU,defaultMatchWidth:"wide",parsePatterns:zU,defaultParseWidth:"any"}),quarter:Ce({matchPatterns:xU,defaultMatchWidth:"wide",parsePatterns:BU,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ce({matchPatterns:GU,defaultMatchWidth:"wide",parsePatterns:HU,defaultParseWidth:"any"}),day:Ce({matchPatterns:VU,defaultMatchWidth:"wide",parsePatterns:KU,defaultParseWidth:"any"}),dayPeriod:Ce({matchPatterns:jU,defaultMatchWidth:"wide",parsePatterns:qU,defaultParseWidth:"any"})},XU={code:"ru",formatDistance:SU,formatLong:IU,formatRelative:bU,localize:wU,match:YU,options:{weekStartsOn:1,firstWeekContainsDate:1}};const QU=e=>["bg","cs","de","en","es","eu","fr","gl","it","nb","nl","pl","pt","ru"].includes(e),Fs={bg:tP,cs:$P,de:uL,en:_o,es:FL,eu:my,fr:Vy,gl:g$,it:e4,nb:D4,nl:sk,pl:xk,pt:_U,ru:XU},hr={bg:"български (98%)",cs:"Česky (72%)",de:"Deutsch",en:"English",es:"Español",eu:"Euskara",fr:"Français",gl:"Galego",it:"Italiano (81%)",nl:"Nederlands (99%)",nb:"Norsk bokmål (52%)",pl:"Polski",pt:"Português (97%)",ru:"Русский (62%)"},zd=Object.keys(hr).map(e=>({label:hr[e],value:e})),ZU={id:"nav"},JU={class:"nav-container"},e6={class:"nav-app-name"},t6={class:"nav-items-app-menu"},n6={key:0,class:"nav-items-group"},a6={class:"nav-items-user-menu"},s6={key:0,class:"nav-items-group"},r6={class:"nav-item nav-profile-img"},i6=["title"],o6={class:"nav-button-text"},u6={key:1,class:"nav-items-group"},l6={class:"theme-button"},c6=["title"],d6={key:0,class:"fa nav-button-fa fa-moon","aria-hidden":"true"},E6={key:1,class:"clear-theme",src:Xb,alt:"","aria-hidden":"true"},p6={class:"nav-button-text"},f6=ee({__name:"NavBar",emits:["menuInteraction"],setup(e,{emit:t}){const n=t,a=ke(),s=M(()=>a.getters[X.GETTERS.AUTH_USER_PROFILE]),r=M(()=>a.getters[X.GETTERS.IS_AUTHENTICATED]),i=M(()=>a.getters[K.GETTERS.LANGUAGE]),o=de(!1),u=de(!1),l=M(()=>a.getters[K.GETTERS.DARK_MODE]),c=M(()=>Kl(l.value));Et(()=>R());function p(){o.value=!0,n("menuInteraction",!0)}function E(){o.value=!1,n("menuInteraction",!1)}function f(N){a.dispatch(K.ACTIONS.UPDATE_APPLICATION_LANGUAGE,N.value)}function _(){a.dispatch(X.ACTIONS.LOGOUT),u.value=!1}function O(N){u.value=N}function R(){c.value?document.body.setAttribute("data-theme","dark"):document.body.removeAttribute("data-theme")}function g(){a.commit(K.MUTATIONS.UPDATE_DARK_MODE,!c.value)}return We(()=>c.value,()=>{R()}),(N,S)=>{const A=re("Modal"),v=re("router-link"),y=re("Dropdown");return h(),I("header",ZU,[u.value?(h(),j(A,{key:0,title:N.$t("common.CONFIRMATION"),message:N.$t("user.LOGOUT_CONFIRMATION"),onConfirmAction:_,onCancelAction:S[0]||(S[0]=P=>O(!1)),onKeydown:S[1]||(S[1]=et(P=>O(!1),["esc"]))},null,8,["title","message"])):w("",!0),d("div",JU,[d("div",e6,[W(v,{class:"nav-item app-name",to:"/"},{default:ue(()=>S[10]||(S[10]=[H(" FitTrackee ")])),_:1})]),d("div",{class:me(["nav-icon-open",{"menu-open":o.value}])},[d("button",{class:"menu-button transparent",onClick:S[2]||(S[2]=P=>p())},S[11]||(S[11]=[d("i",{class:"fa fa-bars hamburger-icon"},null,-1)]))],2),d("div",{class:me(["nav-items",{"menu-open":o.value}])},[d("div",{class:"nav-items-close",onClick:E},[W(v,{class:"nav-item app-name",to:"/"},{default:ue(()=>S[12]||(S[12]=[H(" FitTrackee ")])),_:1}),d("button",{class:"menu-button transparent",onClick:S[3]||(S[3]=P=>E())},[d("i",{class:me(["fa fa-close close-icon nav-item",{"menu-closed":!o.value}])},null,2)])]),d("div",t6,[r.value?(h(),I("div",n6,[W(v,{class:"nav-item",to:"/",onClick:S[4]||(S[4]=P=>E())},{default:ue(()=>[H(m(N.$t("dashboard.DASHBOARD")),1)]),_:1}),W(v,{class:"nav-item",to:"/workouts",onClick:S[5]||(S[5]=P=>E())},{default:ue(()=>[H(m(Ve(N.$t("workouts.WORKOUT",2))),1)]),_:1}),W(v,{class:"nav-item",to:"/statistics",onClick:S[6]||(S[6]=P=>E())},{default:ue(()=>[H(m(N.$t("statistics.STATISTICS")),1)]),_:1}),W(v,{class:"nav-item",to:"/workouts/add",onClick:S[7]||(S[7]=P=>E())},{default:ue(()=>[H(m(N.$t("workouts.ADD_WORKOUT")),1)]),_:1}),r.value&&s.value.admin?(h(),j(v,{key:0,class:"nav-item",to:"/admin",onClick:S[8]||(S[8]=P=>E())},{default:ue(()=>[H(m(N.$t("admin.ADMIN")),1)]),_:1})):w("",!0),S[13]||(S[13]=d("div",{class:"nav-item nav-separator"},null,-1))])):w("",!0)]),d("div",a6,[r.value?(h(),I("div",s6,[d("div",r6,[W(Eo,{user:s.value},null,8,["user"])]),W(v,{class:"nav-item",to:"/profile",onClick:E},{default:ue(()=>[H(m(s.value.username),1)]),_:1}),d("button",{class:"nav-button logout-button transparent",onClick:S[9]||(S[9]=P=>O(!0)),title:N.$t("user.LOGOUT")},[S[14]||(S[14]=d("i",{class:"fa fa-sign-out nav-button-fa","aria-hidden":"true"},null,-1)),d("span",o6,m(N.$t("user.LOGOUT")),1)],8,i6)])):(h(),I("div",u6,[W(v,{class:"nav-item",to:"/login",onClick:E},{default:ue(()=>[H(m(N.$t("user.LOGIN")),1)]),_:1}),W(v,{class:"nav-item",to:"/register",onClick:E},{default:ue(()=>[H(m(N.$t("user.REGISTER")),1)]),_:1})])),d("div",l6,[d("button",{class:"nav-button transparent",onClick:g,title:N.$t("user.TOGGLE_THEME")},[c.value?(h(),I("i",d6)):(h(),I("img",E6)),d("span",p6,m(N.$t("user.TOGGLE_THEME")),1)],8,c6)]),T(zd)&&i.value?(h(),j(y,{key:2,class:"nav-item",options:T(zd),selected:i.value,onSelected:f,buttonLabel:N.$t("user.LANGUAGE"),listLabel:N.$t("user.LANGUAGE",0),isMenuOpen:o.value},{default:ue(()=>S[15]||(S[15]=[d("i",{class:"fa fa-language","aria-hidden":"true"},null,-1)])),_:1},8,["options","selected","buttonLabel","listLabel","isMenuOpen"])):w("",!0)])],2)])])}}}),T6=ie(f6,[["__scopeId","data-v-0c80a9fc"]]),m6={name:"ErrorImg"},_6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -51 512 512"};function h6(e,t,n,a,s,r){return h(),I("svg",_6,t[0]||(t[0]=[vn('',1)]))}const hp=ie(m6,[["render",h6]]),S6={id:"no-config"},A6={class:"error-page"},O6={class:"error-img"},g6=["innerHTML"],I6=ee({__name:"NoConfig",setup(e){return(t,n)=>(h(),I("div",S6,[d("div",A6,[d("div",O6,[W(hp)]),d("p",{class:"error-message",innerHTML:t.$t("error.APP_ERROR")},null,8,g6)])]))}}),R6=ie(I6,[["__scopeId","data-v-73140811"]]),N6={key:0,class:"app-container"},v6={class:"app-loading"},b6={class:"container scroll"},C6=ee({__name:"App",setup(e){const t=ke(),n=M(()=>t.getters[K.GETTERS.APP_CONFIG]),a=M(()=>t.getters[K.GETTERS.APP_LOADING]),s=de(!1),r=de(!1);Et(()=>{c(),t.dispatch(K.ACTIONS.GET_APPLICATION_CONFIG)}),St(()=>u());function i(p){s.value=p}function o(p){return p.getBoundingClientRect().top=0}function u(){window.onscroll=()=>{const p=document.querySelector("#bottom");r.value=p!==null&&o(p)}}function l(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{r.value=!1},300)}function c(){let p="en";try{const E=navigator.language.split("-")[0];QU(E)&&(p=E)}catch{p="en"}t.dispatch(K.ACTIONS.UPDATE_APPLICATION_LANGUAGE,p)}return(p,E)=>{const f=re("Loader"),_=re("router-view");return h(),I(_e,null,[E[1]||(E[1]=d("div",{id:"top"},null,-1)),W(T6,{onMenuInteraction:i}),d("main",null,[a.value?(h(),I("div",N6,[d("div",v6,[W(f)])])):(h(),I("div",{key:1,class:me(["app-container",{"hide-scroll":s.value}])},[n.value?(h(),j(_,{key:0})):(h(),j(R6,{key:1}))],2)),d("div",b6,[d("div",{class:me(["scroll-button",{"display-button":r.value}]),onClick:l},E[0]||(E[0]=[d("i",{class:"fa fa-chevron-up","aria-hidden":"true"},null,-1)]),2)])]),n.value?(h(),j(Yb,{key:0,version:n.value?n.value.version:"",adminContact:n.value.admin_contact},null,8,["version","adminContact"])):w("",!0)],64)}}}),D6={class:"alert-message"},P6=["innerHTML"],L6=ee({__name:"AlertMessage",props:{message:{}},setup(e){const t=e,{message:n}=he(t);return(a,s)=>(h(),I("div",D6,[d("div",{innerHTML:a.$t(T(n))},null,8,P6)]))}}),y6=ie(L6,[["__scopeId","data-v-f7bf1117"]]),$6={},k6={class:"card"},U6={class:"card-title"},w6={class:"card-content"};function M6(e,t){return h(),I("div",k6,[d("div",U6,[Ut(e.$slots,"title")]),d("div",w6,[Ut(e.$slots,"content")])])}const zS=ie($6,[["render",M6]]),W6={class:"custom-textarea"},F6=["id","name","maxLength","disabled","rows"],z6={class:"remaining-chars"},x6=ee({__name:"CustomTextArea",props:{name:{},charLimit:{default:500},disabled:{type:Boolean,default:!1},input:{default:""},rows:{default:2}},emits:["updateValue"],setup(e,{emit:t}){const n=e,a=t,{input:s}=he(n),r=de(s.value?s.value:"");function i(o){a("updateValue",o.target.value)}return We(()=>n.input,o=>{r.value=o===null?"":o}),(o,u)=>(h(),I("div",W6,[$e(d("textarea",{id:o.name,name:o.name,maxLength:o.charLimit,disabled:o.disabled,rows:o.rows,"onUpdate:modelValue":u[0]||(u[0]=l=>r.value=l),onInput:i},null,40,F6),[[st,r.value]]),d("div",z6,m(o.$t("workouts.REMAINING_CHARS"))+": "+m(r.value.length)+"/"+m(o.charLimit),1)]))}}),B6=ie(x6,[["__scopeId","data-v-1e13e7da"]]),In={ft:{unit:"ft",system:"imperial",multiplier:1,defaultTarget:"m"},mi:{unit:"mi",system:"imperial",multiplier:5280,defaultTarget:"km"},m:{unit:"m",system:"metric",multiplier:1,defaultTarget:"ft"},km:{unit:"m",system:"metric",multiplier:1e3,defaultTarget:"mi"}},G6={metric:{imperial:3.280839895,metric:1},imperial:{metric:1/3.280839895,imperial:1}},qt=(e,t,n,a=3)=>{const s=In[t],r=In[n],i=e*s.multiplier*G6[s.system][r.system]/r.multiplier;return a!==null?parseFloat(i.toFixed(a)):i},cu=(e,t,n)=>{const a=n?In[e].defaultTarget:e;return n?qt(t,e,a,2):t},am=(e,t)=>{const n=t?e*1.8+32:e,a=t?" °F":"°C";return`${n===0?0:Number(n).toFixed(1)}${a}`},H6=(e,t)=>{const n=t?e*2.2369363:e,a=t?" mph":"m/s";return`${n===0?0:Number(n).toFixed(1)}${a}`},V6=ee({__name:"Distance",props:{distance:{},unitFrom:{},useImperialUnits:{type:Boolean},digits:{default:2},displayUnit:{type:Boolean,default:!0},speed:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},setup(e){const t=e,{digits:n,displayUnit:a,distance:s,speed:r,strong:i,unitFrom:o,useImperialUnits:u}=he(t),l=M(()=>u.value?In[o.value].defaultTarget:o.value),c=M(()=>u.value?qt(s.value,o.value,l.value,n.value):parseFloat(s.value.toFixed(n.value)));return(p,E)=>(h(),I(_e,null,[d("span",{class:me(["distance",{strong:T(i)}])},m(c.value),3),E[0]||(E[0]=H(" "+m(" ")+" ")),T(a)?(h(),I("span",{key:0,class:me(["unit",{strong:T(i)}])},m(l.value)+m(T(r)?"/h":""),3)):w("",!0)],64))}}),K6=ie(V6,[["__scopeId","data-v-0f0f76cd"]]);/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const ir=typeof document<"u";function WS(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function q6(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&WS(e.default)}const mt=Object.assign;function zc(e,t){const n={};for(const a in t){const s=t[a];n[a]=na(s)?s.map(e):e(s)}return n}const hi=()=>{},na=Array.isArray,FS=/#/g,Y6=/&/g,X6=/\//g,Q6=/=/g,Z6=/\?/g,zS=/\+/g,J6=/%5B/g,ew=/%5D/g,xS=/%5E/g,tw=/%60/g,BS=/%7B/g,nw=/%7C/g,GS=/%7D/g,aw=/%20/g;function Ap(e){return encodeURI(""+e).replace(nw,"|").replace(J6,"[").replace(ew,"]")}function sw(e){return Ap(e).replace(BS,"{").replace(GS,"}").replace(xS,"^")}function xd(e){return Ap(e).replace(zS,"%2B").replace(aw,"+").replace(FS,"%23").replace(Y6,"%26").replace(tw,"`").replace(BS,"{").replace(GS,"}").replace(xS,"^")}function rw(e){return xd(e).replace(Q6,"%3D")}function iw(e){return Ap(e).replace(FS,"%23").replace(Z6,"%3F")}function ow(e){return e==null?"":iw(e).replace(X6,"%2F")}function Wi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const uw=/\/$/,lw=e=>e.replace(uw,"");function xc(e,t,n="/"){let a,s={},r="",i="";const o=t.indexOf("#");let u=t.indexOf("?");return o=0&&(u=-1),u>-1&&(a=t.slice(0,u),r=t.slice(u+1,o>-1?o:t.length),s=e(r)),o>-1&&(a=a||t.slice(0,o),i=t.slice(o,t.length)),a=pw(a??t,n),{fullPath:a+(r&&"?")+r+i,path:a,query:s,hash:Wi(i)}}function cw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function am(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dw(e,t,n){const a=t.matched.length-1,s=n.matched.length-1;return a>-1&&a===s&&Rr(t.matched[a],n.matched[s])&&HS(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function HS(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ew(e[n],t[n]))return!1;return!0}function Ew(e,t){return na(e)?sm(e,t):na(t)?sm(t,e):e===t}function sm(e,t){return na(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function pw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),s=a[a.length-1];(s===".."||s===".")&&a.push("");let r=n.length-1,i,o;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(i).join("/")}const qa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fi;(function(e){e.pop="pop",e.push="push"})(Fi||(Fi={}));var Si;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Si||(Si={}));function fw(e){if(!e)if(ir){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lw(e)}const Tw=/^[^#]+#/;function mw(e,t){return e.replace(Tw,"#")+t}function _w(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}const ql=()=>({left:window.scrollX,top:window.scrollY});function hw(e){let t;if("el"in e){const n=e.el,a=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=_w(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function rm(e,t){return(history.state?history.state.position-t:-1)+e}const Bd=new Map;function Sw(e,t){Bd.set(e,t)}function Aw(e){const t=Bd.get(e);return Bd.delete(e),t}let Ow=()=>location.protocol+"//"+location.host;function VS(e,t){const{pathname:n,search:a,hash:s}=t,r=e.indexOf("#");if(r>-1){let o=s.includes(e.slice(r))?e.slice(r).length:1,u=s.slice(o);return u[0]!=="/"&&(u="/"+u),am(u,"")}return am(n,e)+a+s}function gw(e,t,n,a){let s=[],r=[],i=null;const o=({state:E})=>{const f=VS(e,location),_=n.value,O=t.value;let I=0;if(E){if(n.value=f,t.value=E,i&&i===_){i=null;return}I=O?E.position-O.position:0}else a(f);s.forEach(g=>{g(n.value,_,{delta:I,type:Fi.pop,direction:I?I>0?Si.forward:Si.back:Si.unknown})})};function u(){i=n.value}function l(E){s.push(E);const f=()=>{const _=s.indexOf(E);_>-1&&s.splice(_,1)};return r.push(f),f}function c(){const{history:E}=window;E.state&&E.replaceState(mt({},E.state,{scroll:ql()}),"")}function p(){for(const E of r)E();r=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:u,listen:l,destroy:p}}function im(e,t,n,a=!1,s=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:s?ql():null}}function Iw(e){const{history:t,location:n}=window,a={value:VS(e,n)},s={value:t.state};s.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(u,l,c){const p=e.indexOf("#"),E=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:Ow()+e+u;try{t[c?"replaceState":"pushState"](l,"",E),s.value=l}catch(f){console.error(f),n[c?"replace":"assign"](E)}}function i(u,l){const c=mt({},t.state,im(s.value.back,u,s.value.forward,!0),l,{position:s.value.position});r(u,c,!0),a.value=u}function o(u,l){const c=mt({},s.value,t.state,{forward:u,scroll:ql()});r(c.current,c,!0);const p=mt({},im(a.value,u,null),{position:c.position+1},l);r(u,p,!1),a.value=u}return{location:a,state:s,push:o,replace:i}}function Rw(e){e=fw(e);const t=Iw(e),n=gw(e,t.state,t.location,t.replace);function a(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=mt({location:"",base:e,go:a,createHref:mw.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Nw(e){return typeof e=="string"||e&&typeof e=="object"}function KS(e){return typeof e=="string"||typeof e=="symbol"}const jS=Symbol("");var om;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(om||(om={}));function Nr(e,t){return mt(new Error,{type:e,[jS]:!0},t)}function Ra(e,t){return e instanceof Error&&jS in e&&(t==null||!!(e.type&t))}const um="[^/]+?",vw={sensitive:!1,strict:!1,start:!0,end:!0},bw=/[.+*?^${}()[\]/\\]/g;function Cw(e,t){const n=mt({},vw,t),a=[];let s=n.start?"^":"";const r=[];for(const l of e){const c=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let p=0;pt.length?t.length===1&&t[0]===80?1:-1:0}function qS(e,t){let n=0;const a=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Pw={type:0,value:""},Lw=/[a-zA-Z0-9_]/;function yw(e){if(!e)return[[]];if(e==="/")return[[Pw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${l}": ${f}`)}let n=0,a=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let o=0,u,l="",c="";function p(){l&&(n===0?r.push({type:0,value:l}):n===1||n===2||n===3?(r.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:l,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),l="")}function E(){l+=u}for(;o{i(S)}:hi}function i(p){if(KS(p)){const E=a.get(p);E&&(a.delete(p),n.splice(n.indexOf(E),1),E.children.forEach(i),E.alias.forEach(i))}else{const E=n.indexOf(p);E>-1&&(n.splice(E,1),p.record.name&&a.delete(p.record.name),p.children.forEach(i),p.alias.forEach(i))}}function o(){return n}function u(p){const E=Mw(p,n);n.splice(E,0,p),p.record.name&&!Em(p)&&a.set(p.record.name,p)}function l(p,E){let f,_={},O,I;if("name"in p&&p.name){if(f=a.get(p.name),!f)throw Nr(1,{location:p});I=f.record.name,_=mt(cm(E.params,f.keys.filter(S=>!S.optional).concat(f.parent?f.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),p.params&&cm(p.params,f.keys.map(S=>S.name))),O=f.stringify(_)}else if(p.path!=null)O=p.path,f=n.find(S=>S.re.test(O)),f&&(_=f.parse(O),I=f.record.name);else{if(f=E.name?a.get(E.name):n.find(S=>S.re.test(E.path)),!f)throw Nr(1,{location:p,currentLocation:E});I=f.record.name,_=mt({},E.params,p.params),O=f.stringify(_)}const g=[];let N=f;for(;N;)g.unshift(N.record),N=N.parent;return{name:I,path:O,params:_,matched:g,meta:ww(g)}}e.forEach(p=>r(p));function c(){n.length=0,a.clear()}return{addRoute:r,resolve:l,removeRoute:i,clearRoutes:c,getRoutes:o,getRecordMatcher:s}}function cm(e,t){const n={};for(const a of t)a in e&&(n[a]=e[a]);return n}function dm(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Uw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Uw(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const a in e.components)t[a]=typeof n=="object"?n[a]:n;return t}function Em(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ww(e){return e.reduce((t,n)=>mt(t,n.meta),{})}function pm(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}function Mw(e,t){let n=0,a=t.length;for(;n!==a;){const r=n+a>>1;qS(e,t[r])<0?a=r:n=r+1}const s=Ww(e);return s&&(a=t.lastIndexOf(s,a-1)),a}function Ww(e){let t=e;for(;t=t.parent;)if(YS(t)&&qS(e,t)===0)return t}function YS({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fw(e){const t={};if(e===""||e==="?")return t;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&xd(r)):[a&&xd(a)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function zw(e){const t={};for(const n in e){const a=e[n];a!==void 0&&(t[n]=na(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return t}const xw=Symbol(""),Tm=Symbol(""),Yl=Symbol(""),Op=Symbol(""),Gd=Symbol("");function ti(){let e=[];function t(a){return e.push(a),()=>{const s=e.indexOf(a);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function es(e,t,n,a,s,r=i=>i()){const i=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((o,u)=>{const l=E=>{E===!1?u(Nr(4,{from:n,to:t})):E instanceof Error?u(E):Nw(E)?u(Nr(2,{from:t,to:E})):(i&&a.enterCallbacks[s]===i&&typeof E=="function"&&i.push(E),o())},c=r(()=>e.call(a&&a.instances[s],t,n,l));let p=Promise.resolve(c);e.length<3&&(p=p.then(l)),p.catch(E=>u(E))})}function Bc(e,t,n,a,s=r=>r()){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(WS(u)){const c=(u.__vccOpts||u)[t];c&&r.push(es(c,n,a,i,o,s))}else{let l=u();r.push(()=>l.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${o}" at "${i.path}"`);const p=q6(c)?c.default:c;i.mods[o]=c,i.components[o]=p;const f=(p.__vccOpts||p)[t];return f&&es(f,n,a,i,o,s)()}))}}return r}function mm(e){const t=Ct(Yl),n=Ct(Op),a=M(()=>{const u=T(e.to);return t.resolve(u)}),s=M(()=>{const{matched:u}=a.value,{length:l}=u,c=u[l-1],p=n.matched;if(!c||!p.length)return-1;const E=p.findIndex(Rr.bind(null,c));if(E>-1)return E;const f=_m(u[l-2]);return l>1&&_m(c)===f&&p[p.length-1].path!==f?p.findIndex(Rr.bind(null,u[l-2])):E}),r=M(()=>s.value>-1&&Vw(n.params,a.value.params)),i=M(()=>s.value>-1&&s.value===n.matched.length-1&&HS(n.params,a.value.params));function o(u={}){return Hw(u)?t[T(e.replace)?"replace":"push"](T(e.to)).catch(hi):Promise.resolve()}return{route:a,href:M(()=>a.value.href),isActive:r,isExactActive:i,navigate:o}}const Bw=ee({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:mm,setup(e,{slots:t}){const n=Qt(mm(e)),{options:a}=Ct(Yl),s=M(()=>({[hm(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[hm(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Nn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Gw=Bw;function Hw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Vw(e,t){for(const n in t){const a=t[n],s=e[n];if(typeof a=="string"){if(a!==s)return!1}else if(!na(s)||s.length!==a.length||a.some((r,i)=>r!==s[i]))return!1}return!0}function _m(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hm=(e,t,n)=>e??t??n,Kw=ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=Ct(Gd),s=M(()=>e.route||a.value),r=Ct(Tm,0),i=M(()=>{let l=T(r);const{matched:c}=s.value;let p;for(;(p=c[l])&&!p.components;)l++;return l}),o=M(()=>s.value.matched[i.value]);fn(Tm,M(()=>i.value+1)),fn(xw,o),fn(Gd,s);const u=de();return We(()=>[u.value,o.value,e.name],([l,c,p],[E,f,_])=>{c&&(c.instances[p]=l,f&&f!==c&&l&&l===E&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!Rr(c,f)||!E)&&(c.enterCallbacks[p]||[]).forEach(O=>O(l))},{flush:"post"}),()=>{const l=s.value,c=e.name,p=o.value,E=p&&p.components[c];if(!E)return Sm(n.default,{Component:E,route:l});const f=p.props[c],_=f?f===!0?l.params:typeof f=="function"?f(l):f:null,I=Nn(E,mt({},_,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(p.instances[c]=null)},ref:u}));return Sm(n.default,{Component:I,route:l})||I}}});function Sm(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jw=Kw;function qw(e){const t=kw(e.routes,e),n=e.parseQuery||Fw,a=e.stringifyQuery||fm,s=e.history,r=ti(),i=ti(),o=ti(),u=ao(qa);let l=qa;ir&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=zc.bind(null,ne=>""+ne),p=zc.bind(null,ow),E=zc.bind(null,Wi);function f(ne,Se){let Oe,Pe;return KS(ne)?(Oe=t.getRecordMatcher(ne),Pe=Se):Pe=ne,t.addRoute(Pe,Oe)}function _(ne){const Se=t.getRecordMatcher(ne);Se&&t.removeRoute(Se)}function O(){return t.getRoutes().map(ne=>ne.record)}function I(ne){return!!t.getRecordMatcher(ne)}function g(ne,Se){if(Se=mt({},Se||u.value),typeof ne=="string"){const b=xc(n,ne,Se.path),G=t.resolve({path:b.path},Se),le=s.createHref(b.fullPath);return mt(b,G,{params:E(G.params),hash:Wi(b.hash),redirectedFrom:void 0,href:le})}let Oe;if(ne.path!=null)Oe=mt({},ne,{path:xc(n,ne.path,Se.path).path});else{const b=mt({},ne.params);for(const G in b)b[G]==null&&delete b[G];Oe=mt({},ne,{params:p(b)}),Se.params=p(Se.params)}const Pe=t.resolve(Oe,Se),it=ne.hash||"";Pe.params=c(E(Pe.params));const ft=cw(a,mt({},ne,{hash:sw(it),path:Pe.path})),U=s.createHref(ft);return mt({fullPath:ft,hash:it,query:a===fm?zw(ne.query):ne.query||{}},Pe,{redirectedFrom:void 0,href:U})}function N(ne){return typeof ne=="string"?xc(n,ne,u.value.path):mt({},ne)}function S(ne,Se){if(l!==ne)return Nr(8,{from:Se,to:ne})}function A(ne){return P(ne)}function v(ne){return A(mt(N(ne),{replace:!0}))}function y(ne){const Se=ne.matched[ne.matched.length-1];if(Se&&Se.redirect){const{redirect:Oe}=Se;let Pe=typeof Oe=="function"?Oe(ne):Oe;return typeof Pe=="string"&&(Pe=Pe.includes("?")||Pe.includes("#")?Pe=N(Pe):{path:Pe},Pe.params={}),mt({query:ne.query,hash:ne.hash,params:Pe.path!=null?{}:ne.params},Pe)}}function P(ne,Se){const Oe=l=g(ne),Pe=u.value,it=ne.state,ft=ne.force,U=ne.replace===!0,b=y(Oe);if(b)return P(mt(N(b),{state:typeof b=="object"?mt({},it,b.state):it,force:ft,replace:U}),Se||Oe);const G=Oe;G.redirectedFrom=Se;let le;return!ft&&dw(a,Pe,Oe)&&(le=Nr(16,{to:G,from:Pe}),ye(Pe,Pe,!0,!1)),(le?Promise.resolve(le):z(G,Pe)).catch(ae=>Ra(ae)?Ra(ae,2)?ae:Re(ae):oe(ae,G,Pe)).then(ae=>{if(ae){if(Ra(ae,2))return P(mt({replace:U},N(ae.to),{state:typeof ae.to=="object"?mt({},it,ae.to.state):it,force:ft}),Se||G)}else ae=F(G,Pe,!0,U,it);return $(G,Pe,ae),ae})}function C(ne,Se){const Oe=S(ne,Se);return Oe?Promise.reject(Oe):Promise.resolve()}function D(ne){const Se=je.values().next().value;return Se&&typeof Se.runWithContext=="function"?Se.runWithContext(ne):ne()}function z(ne,Se){let Oe;const[Pe,it,ft]=Yw(ne,Se);Oe=Bc(Pe.reverse(),"beforeRouteLeave",ne,Se);for(const b of Pe)b.leaveGuards.forEach(G=>{Oe.push(es(G,ne,Se))});const U=C.bind(null,ne,Se);return Oe.push(U),Nt(Oe).then(()=>{Oe=[];for(const b of r.list())Oe.push(es(b,ne,Se));return Oe.push(U),Nt(Oe)}).then(()=>{Oe=Bc(it,"beforeRouteUpdate",ne,Se);for(const b of it)b.updateGuards.forEach(G=>{Oe.push(es(G,ne,Se))});return Oe.push(U),Nt(Oe)}).then(()=>{Oe=[];for(const b of ft)if(b.beforeEnter)if(na(b.beforeEnter))for(const G of b.beforeEnter)Oe.push(es(G,ne,Se));else Oe.push(es(b.beforeEnter,ne,Se));return Oe.push(U),Nt(Oe)}).then(()=>(ne.matched.forEach(b=>b.enterCallbacks={}),Oe=Bc(ft,"beforeRouteEnter",ne,Se,D),Oe.push(U),Nt(Oe))).then(()=>{Oe=[];for(const b of i.list())Oe.push(es(b,ne,Se));return Oe.push(U),Nt(Oe)}).catch(b=>Ra(b,8)?b:Promise.reject(b))}function $(ne,Se,Oe){o.list().forEach(Pe=>D(()=>Pe(ne,Se,Oe)))}function F(ne,Se,Oe,Pe,it){const ft=S(ne,Se);if(ft)return ft;const U=Se===qa,b=ir?history.state:{};Oe&&(Pe||U?s.replace(ne.fullPath,mt({scroll:U&&b&&b.scroll},it)):s.push(ne.fullPath,it)),u.value=ne,ye(ne,Se,Oe,U),Re()}let Y;function se(){Y||(Y=s.listen((ne,Se,Oe)=>{if(!ve.listening)return;const Pe=g(ne),it=y(Pe);if(it){P(mt(it,{replace:!0}),Pe).catch(hi);return}l=Pe;const ft=u.value;ir&&Sw(rm(ft.fullPath,Oe.delta),ql()),z(Pe,ft).catch(U=>Ra(U,12)?U:Ra(U,2)?(P(U.to,Pe).then(b=>{Ra(b,20)&&!Oe.delta&&Oe.type===Fi.pop&&s.go(-1,!1)}).catch(hi),Promise.reject()):(Oe.delta&&s.go(-Oe.delta,!1),oe(U,Pe,ft))).then(U=>{U=U||F(Pe,ft,!1),U&&(Oe.delta&&!Ra(U,8)?s.go(-Oe.delta,!1):Oe.type===Fi.pop&&Ra(U,20)&&s.go(-1,!1)),$(Pe,ft,U)}).catch(hi)}))}let B=ti(),Q=ti(),q;function oe(ne,Se,Oe){Re(ne);const Pe=Q.list();return Pe.length?Pe.forEach(it=>it(ne,Se,Oe)):console.error(ne),Promise.reject(ne)}function Z(){return q&&u.value!==qa?Promise.resolve():new Promise((ne,Se)=>{B.add([ne,Se])})}function Re(ne){return q||(q=!ne,se(),B.list().forEach(([Se,Oe])=>ne?Oe(ne):Se()),B.reset()),ne}function ye(ne,Se,Oe,Pe){const{scrollBehavior:it}=e;if(!ir||!it)return Promise.resolve();const ft=!Oe&&Aw(rm(ne.fullPath,0))||(Pe||!Oe)&&history.state&&history.state.scroll||null;return Tn().then(()=>it(ne,Se,ft)).then(U=>U&&hw(U)).catch(U=>oe(U,ne,Se))}const Me=ne=>s.go(ne);let Vt;const je=new Set,ve={currentRoute:u,listening:!0,addRoute:f,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:O,resolve:g,options:e,push:A,replace:v,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:r.add,beforeResolve:i.add,afterEach:o.add,onError:Q.add,isReady:Z,install(ne){const Se=this;ne.component("RouterLink",Gw),ne.component("RouterView",jw),ne.config.globalProperties.$router=Se,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>T(u)}),ir&&!Vt&&u.value===qa&&(Vt=!0,A(s.location).catch(it=>{}));const Oe={};for(const it in qa)Object.defineProperty(Oe,it,{get:()=>u.value[it],enumerable:!0});ne.provide(Yl,Se),ne.provide(Op,fh(Oe)),ne.provide(Gd,u);const Pe=ne.unmount;je.add(ne),ne.unmount=function(){je.delete(ne),je.size<1&&(l=qa,Y&&Y(),Y=null,u.value=qa,Vt=!1,q=!1),Pe()}}};function Nt(ne){return ne.reduce((Se,Oe)=>Se.then(()=>D(Oe)),Promise.resolve())}return ve}function Yw(e,t){const n=[],a=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;iRr(l,o))?a.push(o):n.push(o));const u=e.matched[i];u&&(t.matched.find(l=>Rr(l,u))||s.push(u))}return[n,a,s]}function Aa(){return Ct(Yl)}function yt(e){return Ct(Op)}const Xw={class:"dropdown-wrapper"},Qw=["aria-expanded","aria-label"],Zw=["aria-labelledby"],Jw=["id","onClick","onKeydown","onMouseover"],e5=ee({__name:"Dropdown",props:{options:{},selected:{},buttonLabel:{},listLabel:{},isMenuOpen:{type:Boolean}},emits:{selected:e=>e},setup(e,{emit:t}){const n=e,{isMenuOpen:a,options:s,selected:r}=he(n),i=t,o=yt(),u=de(!1),l=de(null),c=de(_(r.value));function p(){if(u.value)E();else{u.value=!0;const g=document.getElementById(`dropdown-item-${c.value}`);g==null||g.focus()}}function E(){var g;u.value=!1,c.value=_(r.value),(g=l.value)==null||g.focus()}function f(g){i("selected",g),u.value=!1}function _(g){const N=s.value.findIndex(S=>S.value===g);return N>=0?N:0}function O(g){let N=!1;u.value&&(g.key==="ArrowDown"&&(N=!0,c.value+=1,c.value>s.value.length&&(c.value=0)),g.key==="ArrowUp"&&(N=!0,c.value-=1,c.value<0&&(c.value=s.value.length-1)),g.key==="Home"&&(N=!0,c.value=0),g.key==="End"&&(N=!0,c.value=s.value.length-1),g.key==="Enter"&&(N=!0,f(s.value[c.value])),(g.key==="Escape"||g.key==="Tab")&&(N=g.key==="Escape",E())),N&&(g.stopPropagation(),g.preventDefault())}function I(g){c.value=g}return We(()=>o.path,()=>u.value=!1),We(()=>r.value,g=>c.value=_(g)),We(()=>a.value,g=>{g||E()}),St(()=>{document.addEventListener("keydown",O)}),pt(()=>{document.removeEventListener("keydown",O)}),(g,N)=>(h(),R("div",Xw,[d("button",{"aria-controls":"dropdown-list","aria-expanded":u.value,"aria-haspopup":"true","aria-label":g.buttonLabel,class:"dropdown-selector transparent",onClick:N[0]||(N[0]=S=>p()),ref_key:"dropdownButton",ref:l},[Ut(g.$slots,"default",{},void 0,!0)],8,Qw),u.value?(h(),R("ul",{key:0,"aria-labelledby":g.listLabel,class:"dropdown-list",id:"dropdown-list",role:"menu"},[(h(!0),R(_e,null,Le(T(s),(S,A)=>(h(),R("li",{class:me(["dropdown-item",{selected:S.value===T(r),focused:A===c.value}]),key:A,id:`dropdown-item-${A}`,tabindex:"-1",onClick:v=>f(S),onKeydown:et(v=>f(S),["enter"]),onMouseover:v=>I(A),role:"menuitem"},m(S.label),43,Jw))),128))],8,Zw)):w("",!0)]))}}),t5=ie(e5,[["__scopeId","data-v-99bd9a4e"]]),n5={class:"error-message"},a5={key:0},s5={key:1},r5={key:2},i5=ee({__name:"ErrorMessage",props:{message:{}},setup(e){const t=e,{message:n}=he(t);return(a,s)=>(h(),R("div",n5,[Array.isArray(T(n))?(h(),R("ul",a5,[(h(!0),R(_e,null,Le(T(n),(r,i)=>(h(),R("li",{key:i},m(a.$t(r)),1))),128))])):typeof T(n)=="string"?(h(),R("div",s5,m(a.$t(T(n)).replace("api.ERROR.","")),1)):(h(),R("div",r5,m(a.$t(`equipments.ERRORS.${T(n).status}`,{equipmentId:T(n).equipmentId,equipmentLabel:T(n).equipmentLabel})),1))]))}}),o5=ie(i5,[["__scopeId","data-v-5d2995e8"]]),u5={name:"Bike"},l5={version:"1.1",id:"bike",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 35 35","xml:space":"preserve"};function c5(e,t,n,a,s,r){return h(),R("svg",l5,t[0]||(t[0]=[d("desc",{id:"BikeEquipmentDescription"},"bike",-1),d("g",null,[d("path",{d:`M25.8 14.32c-0.64 0-1.24 0.12-1.84 0.32l-1.52-3 2.6-3.88c0.28-0.4 0.12-1.32-0.72-1.32h-3.32c-0.48 0-0.84 + */const ir=typeof document<"u";function xS(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function j6(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&xS(e.default)}const mt=Object.assign;function xc(e,t){const n={};for(const a in t){const s=t[a];n[a]=na(s)?s.map(e):e(s)}return n}const hi=()=>{},na=Array.isArray,BS=/#/g,q6=/&/g,Y6=/\//g,X6=/=/g,Q6=/\?/g,GS=/\+/g,Z6=/%5B/g,J6=/%5D/g,HS=/%5E/g,ew=/%60/g,VS=/%7B/g,tw=/%7C/g,KS=/%7D/g,nw=/%20/g;function Sp(e){return encodeURI(""+e).replace(tw,"|").replace(Z6,"[").replace(J6,"]")}function aw(e){return Sp(e).replace(VS,"{").replace(KS,"}").replace(HS,"^")}function xd(e){return Sp(e).replace(GS,"%2B").replace(nw,"+").replace(BS,"%23").replace(q6,"%26").replace(ew,"`").replace(VS,"{").replace(KS,"}").replace(HS,"^")}function sw(e){return xd(e).replace(X6,"%3D")}function rw(e){return Sp(e).replace(BS,"%23").replace(Q6,"%3F")}function iw(e){return e==null?"":rw(e).replace(Y6,"%2F")}function Wi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ow=/\/$/,uw=e=>e.replace(ow,"");function Bc(e,t,n="/"){let a,s={},r="",i="";const o=t.indexOf("#");let u=t.indexOf("?");return o=0&&(u=-1),u>-1&&(a=t.slice(0,u),r=t.slice(u+1,o>-1?o:t.length),s=e(r)),o>-1&&(a=a||t.slice(0,o),i=t.slice(o,t.length)),a=Ew(a??t,n),{fullPath:a+(r&&"?")+r+i,path:a,query:s,hash:Wi(i)}}function lw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cw(e,t,n){const a=t.matched.length-1,s=n.matched.length-1;return a>-1&&a===s&&Rr(t.matched[a],n.matched[s])&&jS(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Rr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jS(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!dw(e[n],t[n]))return!1;return!0}function dw(e,t){return na(e)?rm(e,t):na(t)?rm(t,e):e===t}function rm(e,t){return na(t)?e.length===t.length&&e.every((n,a)=>n===t[a]):e.length===1&&e[0]===t}function Ew(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),a=e.split("/"),s=a[a.length-1];(s===".."||s===".")&&a.push("");let r=n.length-1,i,o;for(i=0;i1&&r--;else break;return n.slice(0,r).join("/")+"/"+a.slice(i).join("/")}const qa={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fi;(function(e){e.pop="pop",e.push="push"})(Fi||(Fi={}));var Si;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Si||(Si={}));function pw(e){if(!e)if(ir){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),uw(e)}const fw=/^[^#]+#/;function Tw(e,t){return e.replace(fw,"#")+t}function mw(e,t){const n=document.documentElement.getBoundingClientRect(),a=e.getBoundingClientRect();return{behavior:t.behavior,left:a.left-n.left-(t.left||0),top:a.top-n.top-(t.top||0)}}const Yl=()=>({left:window.scrollX,top:window.scrollY});function _w(e){let t;if("el"in e){const n=e.el,a=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?a?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=mw(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function im(e,t){return(history.state?history.state.position-t:-1)+e}const Bd=new Map;function hw(e,t){Bd.set(e,t)}function Sw(e){const t=Bd.get(e);return Bd.delete(e),t}let Aw=()=>location.protocol+"//"+location.host;function qS(e,t){const{pathname:n,search:a,hash:s}=t,r=e.indexOf("#");if(r>-1){let o=s.includes(e.slice(r))?e.slice(r).length:1,u=s.slice(o);return u[0]!=="/"&&(u="/"+u),sm(u,"")}return sm(n,e)+a+s}function Ow(e,t,n,a){let s=[],r=[],i=null;const o=({state:E})=>{const f=qS(e,location),_=n.value,O=t.value;let R=0;if(E){if(n.value=f,t.value=E,i&&i===_){i=null;return}R=O?E.position-O.position:0}else a(f);s.forEach(g=>{g(n.value,_,{delta:R,type:Fi.pop,direction:R?R>0?Si.forward:Si.back:Si.unknown})})};function u(){i=n.value}function l(E){s.push(E);const f=()=>{const _=s.indexOf(E);_>-1&&s.splice(_,1)};return r.push(f),f}function c(){const{history:E}=window;E.state&&E.replaceState(mt({},E.state,{scroll:Yl()}),"")}function p(){for(const E of r)E();r=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:u,listen:l,destroy:p}}function om(e,t,n,a=!1,s=!1){return{back:e,current:t,forward:n,replaced:a,position:window.history.length,scroll:s?Yl():null}}function gw(e){const{history:t,location:n}=window,a={value:qS(e,n)},s={value:t.state};s.value||r(a.value,{back:null,current:a.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(u,l,c){const p=e.indexOf("#"),E=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:Aw()+e+u;try{t[c?"replaceState":"pushState"](l,"",E),s.value=l}catch(f){console.error(f),n[c?"replace":"assign"](E)}}function i(u,l){const c=mt({},t.state,om(s.value.back,u,s.value.forward,!0),l,{position:s.value.position});r(u,c,!0),a.value=u}function o(u,l){const c=mt({},s.value,t.state,{forward:u,scroll:Yl()});r(c.current,c,!0);const p=mt({},om(a.value,u,null),{position:c.position+1},l);r(u,p,!1),a.value=u}return{location:a,state:s,push:o,replace:i}}function Iw(e){e=pw(e);const t=gw(e),n=Ow(e,t.state,t.location,t.replace);function a(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=mt({location:"",base:e,go:a,createHref:Tw.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Rw(e){return typeof e=="string"||e&&typeof e=="object"}function YS(e){return typeof e=="string"||typeof e=="symbol"}const XS=Symbol("");var um;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(um||(um={}));function Nr(e,t){return mt(new Error,{type:e,[XS]:!0},t)}function Na(e,t){return e instanceof Error&&XS in e&&(t==null||!!(e.type&t))}const lm="[^/]+?",Nw={sensitive:!1,strict:!1,start:!0,end:!0},vw=/[.+*?^${}()[\]/\\]/g;function bw(e,t){const n=mt({},Nw,t),a=[];let s=n.start?"^":"";const r=[];for(const l of e){const c=l.length?[]:[90];n.strict&&!l.length&&(s+="/");for(let p=0;pt.length?t.length===1&&t[0]===80?1:-1:0}function QS(e,t){let n=0;const a=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Dw={type:0,value:""},Pw=/[a-zA-Z0-9_]/;function Lw(e){if(!e)return[[]];if(e==="/")return[[Dw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${l}": ${f}`)}let n=0,a=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let o=0,u,l="",c="";function p(){l&&(n===0?r.push({type:0,value:l}):n===1||n===2||n===3?(r.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:l,regexp:c,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),l="")}function E(){l+=u}for(;o{i(S)}:hi}function i(p){if(YS(p)){const E=a.get(p);E&&(a.delete(p),n.splice(n.indexOf(E),1),E.children.forEach(i),E.alias.forEach(i))}else{const E=n.indexOf(p);E>-1&&(n.splice(E,1),p.record.name&&a.delete(p.record.name),p.children.forEach(i),p.alias.forEach(i))}}function o(){return n}function u(p){const E=ww(p,n);n.splice(E,0,p),p.record.name&&!pm(p)&&a.set(p.record.name,p)}function l(p,E){let f,_={},O,R;if("name"in p&&p.name){if(f=a.get(p.name),!f)throw Nr(1,{location:p});R=f.record.name,_=mt(dm(E.params,f.keys.filter(S=>!S.optional).concat(f.parent?f.parent.keys.filter(S=>S.optional):[]).map(S=>S.name)),p.params&&dm(p.params,f.keys.map(S=>S.name))),O=f.stringify(_)}else if(p.path!=null)O=p.path,f=n.find(S=>S.re.test(O)),f&&(_=f.parse(O),R=f.record.name);else{if(f=E.name?a.get(E.name):n.find(S=>S.re.test(E.path)),!f)throw Nr(1,{location:p,currentLocation:E});R=f.record.name,_=mt({},E.params,p.params),O=f.stringify(_)}const g=[];let N=f;for(;N;)g.unshift(N.record),N=N.parent;return{name:R,path:O,params:_,matched:g,meta:Uw(g)}}e.forEach(p=>r(p));function c(){n.length=0,a.clear()}return{addRoute:r,resolve:l,removeRoute:i,clearRoutes:c,getRoutes:o,getRecordMatcher:s}}function dm(e,t){const n={};for(const a of t)a in e&&(n[a]=e[a]);return n}function Em(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:kw(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function kw(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const a in e.components)t[a]=typeof n=="object"?n[a]:n;return t}function pm(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Uw(e){return e.reduce((t,n)=>mt(t,n.meta),{})}function fm(e,t){const n={};for(const a in e)n[a]=a in t?t[a]:e[a];return n}function ww(e,t){let n=0,a=t.length;for(;n!==a;){const r=n+a>>1;QS(e,t[r])<0?a=r:n=r+1}const s=Mw(e);return s&&(a=t.lastIndexOf(s,a-1)),a}function Mw(e){let t=e;for(;t=t.parent;)if(ZS(t)&&QS(e,t)===0)return t}function ZS({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ww(e){const t={};if(e===""||e==="?")return t;const a=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&xd(r)):[a&&xd(a)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Fw(e){const t={};for(const n in e){const a=e[n];a!==void 0&&(t[n]=na(a)?a.map(s=>s==null?null:""+s):a==null?a:""+a)}return t}const zw=Symbol(""),mm=Symbol(""),Xl=Symbol(""),Ap=Symbol(""),Gd=Symbol("");function ti(){let e=[];function t(a){return e.push(a),()=>{const s=e.indexOf(a);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function es(e,t,n,a,s,r=i=>i()){const i=a&&(a.enterCallbacks[s]=a.enterCallbacks[s]||[]);return()=>new Promise((o,u)=>{const l=E=>{E===!1?u(Nr(4,{from:n,to:t})):E instanceof Error?u(E):Rw(E)?u(Nr(2,{from:t,to:E})):(i&&a.enterCallbacks[s]===i&&typeof E=="function"&&i.push(E),o())},c=r(()=>e.call(a&&a.instances[s],t,n,l));let p=Promise.resolve(c);e.length<3&&(p=p.then(l)),p.catch(E=>u(E))})}function Gc(e,t,n,a,s=r=>r()){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(xS(u)){const c=(u.__vccOpts||u)[t];c&&r.push(es(c,n,a,i,o,s))}else{let l=u();r.push(()=>l.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${o}" at "${i.path}"`);const p=j6(c)?c.default:c;i.mods[o]=c,i.components[o]=p;const f=(p.__vccOpts||p)[t];return f&&es(f,n,a,i,o,s)()}))}}return r}function _m(e){const t=Ct(Xl),n=Ct(Ap),a=M(()=>{const u=T(e.to);return t.resolve(u)}),s=M(()=>{const{matched:u}=a.value,{length:l}=u,c=u[l-1],p=n.matched;if(!c||!p.length)return-1;const E=p.findIndex(Rr.bind(null,c));if(E>-1)return E;const f=hm(u[l-2]);return l>1&&hm(c)===f&&p[p.length-1].path!==f?p.findIndex(Rr.bind(null,u[l-2])):E}),r=M(()=>s.value>-1&&Hw(n.params,a.value.params)),i=M(()=>s.value>-1&&s.value===n.matched.length-1&&jS(n.params,a.value.params));function o(u={}){return Gw(u)?t[T(e.replace)?"replace":"push"](T(e.to)).catch(hi):Promise.resolve()}return{route:a,href:M(()=>a.value.href),isActive:r,isExactActive:i,navigate:o}}const xw=ee({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_m,setup(e,{slots:t}){const n=Qt(_m(e)),{options:a}=Ct(Xl),s=M(()=>({[Sm(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Sm(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Nn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Bw=xw;function Gw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Hw(e,t){for(const n in t){const a=t[n],s=e[n];if(typeof a=="string"){if(a!==s)return!1}else if(!na(s)||s.length!==a.length||a.some((r,i)=>r!==s[i]))return!1}return!0}function hm(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Sm=(e,t,n)=>e??t??n,Vw=ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=Ct(Gd),s=M(()=>e.route||a.value),r=Ct(mm,0),i=M(()=>{let l=T(r);const{matched:c}=s.value;let p;for(;(p=c[l])&&!p.components;)l++;return l}),o=M(()=>s.value.matched[i.value]);Tn(mm,M(()=>i.value+1)),Tn(zw,o),Tn(Gd,s);const u=de();return We(()=>[u.value,o.value,e.name],([l,c,p],[E,f,_])=>{c&&(c.instances[p]=l,f&&f!==c&&l&&l===E&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),l&&c&&(!f||!Rr(c,f)||!E)&&(c.enterCallbacks[p]||[]).forEach(O=>O(l))},{flush:"post"}),()=>{const l=s.value,c=e.name,p=o.value,E=p&&p.components[c];if(!E)return Am(n.default,{Component:E,route:l});const f=p.props[c],_=f?f===!0?l.params:typeof f=="function"?f(l):f:null,R=Nn(E,mt({},_,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(p.instances[c]=null)},ref:u}));return Am(n.default,{Component:R,route:l})||R}}});function Am(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kw=Vw;function jw(e){const t=$w(e.routes,e),n=e.parseQuery||Ww,a=e.stringifyQuery||Tm,s=e.history,r=ti(),i=ti(),o=ti(),u=ao(qa);let l=qa;ir&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=xc.bind(null,ne=>""+ne),p=xc.bind(null,iw),E=xc.bind(null,Wi);function f(ne,Se){let Oe,Pe;return YS(ne)?(Oe=t.getRecordMatcher(ne),Pe=Se):Pe=ne,t.addRoute(Pe,Oe)}function _(ne){const Se=t.getRecordMatcher(ne);Se&&t.removeRoute(Se)}function O(){return t.getRoutes().map(ne=>ne.record)}function R(ne){return!!t.getRecordMatcher(ne)}function g(ne,Se){if(Se=mt({},Se||u.value),typeof ne=="string"){const b=Bc(n,ne,Se.path),G=t.resolve({path:b.path},Se),le=s.createHref(b.fullPath);return mt(b,G,{params:E(G.params),hash:Wi(b.hash),redirectedFrom:void 0,href:le})}let Oe;if(ne.path!=null)Oe=mt({},ne,{path:Bc(n,ne.path,Se.path).path});else{const b=mt({},ne.params);for(const G in b)b[G]==null&&delete b[G];Oe=mt({},ne,{params:p(b)}),Se.params=p(Se.params)}const Pe=t.resolve(Oe,Se),it=ne.hash||"";Pe.params=c(E(Pe.params));const ft=lw(a,mt({},ne,{hash:aw(it),path:Pe.path})),U=s.createHref(ft);return mt({fullPath:ft,hash:it,query:a===Tm?Fw(ne.query):ne.query||{}},Pe,{redirectedFrom:void 0,href:U})}function N(ne){return typeof ne=="string"?Bc(n,ne,u.value.path):mt({},ne)}function S(ne,Se){if(l!==ne)return Nr(8,{from:Se,to:ne})}function A(ne){return P(ne)}function v(ne){return A(mt(N(ne),{replace:!0}))}function y(ne){const Se=ne.matched[ne.matched.length-1];if(Se&&Se.redirect){const{redirect:Oe}=Se;let Pe=typeof Oe=="function"?Oe(ne):Oe;return typeof Pe=="string"&&(Pe=Pe.includes("?")||Pe.includes("#")?Pe=N(Pe):{path:Pe},Pe.params={}),mt({query:ne.query,hash:ne.hash,params:Pe.path!=null?{}:ne.params},Pe)}}function P(ne,Se){const Oe=l=g(ne),Pe=u.value,it=ne.state,ft=ne.force,U=ne.replace===!0,b=y(Oe);if(b)return P(mt(N(b),{state:typeof b=="object"?mt({},it,b.state):it,force:ft,replace:U}),Se||Oe);const G=Oe;G.redirectedFrom=Se;let le;return!ft&&cw(a,Pe,Oe)&&(le=Nr(16,{to:G,from:Pe}),ye(Pe,Pe,!0,!1)),(le?Promise.resolve(le):z(G,Pe)).catch(ae=>Na(ae)?Na(ae,2)?ae:Re(ae):oe(ae,G,Pe)).then(ae=>{if(ae){if(Na(ae,2))return P(mt({replace:U},N(ae.to),{state:typeof ae.to=="object"?mt({},it,ae.to.state):it,force:ft}),Se||G)}else ae=F(G,Pe,!0,U,it);return $(G,Pe,ae),ae})}function C(ne,Se){const Oe=S(ne,Se);return Oe?Promise.reject(Oe):Promise.resolve()}function D(ne){const Se=je.values().next().value;return Se&&typeof Se.runWithContext=="function"?Se.runWithContext(ne):ne()}function z(ne,Se){let Oe;const[Pe,it,ft]=qw(ne,Se);Oe=Gc(Pe.reverse(),"beforeRouteLeave",ne,Se);for(const b of Pe)b.leaveGuards.forEach(G=>{Oe.push(es(G,ne,Se))});const U=C.bind(null,ne,Se);return Oe.push(U),Nt(Oe).then(()=>{Oe=[];for(const b of r.list())Oe.push(es(b,ne,Se));return Oe.push(U),Nt(Oe)}).then(()=>{Oe=Gc(it,"beforeRouteUpdate",ne,Se);for(const b of it)b.updateGuards.forEach(G=>{Oe.push(es(G,ne,Se))});return Oe.push(U),Nt(Oe)}).then(()=>{Oe=[];for(const b of ft)if(b.beforeEnter)if(na(b.beforeEnter))for(const G of b.beforeEnter)Oe.push(es(G,ne,Se));else Oe.push(es(b.beforeEnter,ne,Se));return Oe.push(U),Nt(Oe)}).then(()=>(ne.matched.forEach(b=>b.enterCallbacks={}),Oe=Gc(ft,"beforeRouteEnter",ne,Se,D),Oe.push(U),Nt(Oe))).then(()=>{Oe=[];for(const b of i.list())Oe.push(es(b,ne,Se));return Oe.push(U),Nt(Oe)}).catch(b=>Na(b,8)?b:Promise.reject(b))}function $(ne,Se,Oe){o.list().forEach(Pe=>D(()=>Pe(ne,Se,Oe)))}function F(ne,Se,Oe,Pe,it){const ft=S(ne,Se);if(ft)return ft;const U=Se===qa,b=ir?history.state:{};Oe&&(Pe||U?s.replace(ne.fullPath,mt({scroll:U&&b&&b.scroll},it)):s.push(ne.fullPath,it)),u.value=ne,ye(ne,Se,Oe,U),Re()}let Y;function se(){Y||(Y=s.listen((ne,Se,Oe)=>{if(!ve.listening)return;const Pe=g(ne),it=y(Pe);if(it){P(mt(it,{replace:!0}),Pe).catch(hi);return}l=Pe;const ft=u.value;ir&&hw(im(ft.fullPath,Oe.delta),Yl()),z(Pe,ft).catch(U=>Na(U,12)?U:Na(U,2)?(P(U.to,Pe).then(b=>{Na(b,20)&&!Oe.delta&&Oe.type===Fi.pop&&s.go(-1,!1)}).catch(hi),Promise.reject()):(Oe.delta&&s.go(-Oe.delta,!1),oe(U,Pe,ft))).then(U=>{U=U||F(Pe,ft,!1),U&&(Oe.delta&&!Na(U,8)?s.go(-Oe.delta,!1):Oe.type===Fi.pop&&Na(U,20)&&s.go(-1,!1)),$(Pe,ft,U)}).catch(hi)}))}let B=ti(),Q=ti(),q;function oe(ne,Se,Oe){Re(ne);const Pe=Q.list();return Pe.length?Pe.forEach(it=>it(ne,Se,Oe)):console.error(ne),Promise.reject(ne)}function Z(){return q&&u.value!==qa?Promise.resolve():new Promise((ne,Se)=>{B.add([ne,Se])})}function Re(ne){return q||(q=!ne,se(),B.list().forEach(([Se,Oe])=>ne?Oe(ne):Se()),B.reset()),ne}function ye(ne,Se,Oe,Pe){const{scrollBehavior:it}=e;if(!ir||!it)return Promise.resolve();const ft=!Oe&&Sw(im(ne.fullPath,0))||(Pe||!Oe)&&history.state&&history.state.scroll||null;return mn().then(()=>it(ne,Se,ft)).then(U=>U&&_w(U)).catch(U=>oe(U,ne,Se))}const Me=ne=>s.go(ne);let Vt;const je=new Set,ve={currentRoute:u,listening:!0,addRoute:f,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:O,resolve:g,options:e,push:A,replace:v,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:r.add,beforeResolve:i.add,afterEach:o.add,onError:Q.add,isReady:Z,install(ne){const Se=this;ne.component("RouterLink",Bw),ne.component("RouterView",Kw),ne.config.globalProperties.$router=Se,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>T(u)}),ir&&!Vt&&u.value===qa&&(Vt=!0,A(s.location).catch(it=>{}));const Oe={};for(const it in qa)Object.defineProperty(Oe,it,{get:()=>u.value[it],enumerable:!0});ne.provide(Xl,Se),ne.provide(Ap,Th(Oe)),ne.provide(Gd,u);const Pe=ne.unmount;je.add(ne),ne.unmount=function(){je.delete(ne),je.size<1&&(l=qa,Y&&Y(),Y=null,u.value=qa,Vt=!1,q=!1),Pe()}}};function Nt(ne){return ne.reduce((Se,Oe)=>Se.then(()=>D(Oe)),Promise.resolve())}return ve}function qw(e,t){const n=[],a=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;iRr(l,o))?a.push(o):n.push(o));const u=e.matched[i];u&&(t.matched.find(l=>Rr(l,u))||s.push(u))}return[n,a,s]}function Aa(){return Ct(Xl)}function yt(e){return Ct(Ap)}const Yw={class:"dropdown-wrapper"},Xw=["aria-expanded","aria-label"],Qw=["aria-labelledby"],Zw=["id","onClick","onKeydown","onMouseover"],Jw=ee({__name:"Dropdown",props:{options:{},selected:{},buttonLabel:{},listLabel:{},isMenuOpen:{type:Boolean}},emits:{selected:e=>e},setup(e,{emit:t}){const n=e,{isMenuOpen:a,options:s,selected:r}=he(n),i=t,o=yt(),u=de(!1),l=de(null),c=de(_(r.value));function p(){if(u.value)E();else{u.value=!0;const g=document.getElementById(`dropdown-item-${c.value}`);g==null||g.focus()}}function E(){var g;u.value=!1,c.value=_(r.value),(g=l.value)==null||g.focus()}function f(g){i("selected",g),u.value=!1}function _(g){const N=s.value.findIndex(S=>S.value===g);return N>=0?N:0}function O(g){let N=!1;u.value&&(g.key==="ArrowDown"&&(N=!0,c.value+=1,c.value>s.value.length&&(c.value=0)),g.key==="ArrowUp"&&(N=!0,c.value-=1,c.value<0&&(c.value=s.value.length-1)),g.key==="Home"&&(N=!0,c.value=0),g.key==="End"&&(N=!0,c.value=s.value.length-1),g.key==="Enter"&&(N=!0,f(s.value[c.value])),(g.key==="Escape"||g.key==="Tab")&&(N=g.key==="Escape",E())),N&&(g.stopPropagation(),g.preventDefault())}function R(g){c.value=g}return We(()=>o.path,()=>u.value=!1),We(()=>r.value,g=>c.value=_(g)),We(()=>a.value,g=>{g||E()}),St(()=>{document.addEventListener("keydown",O)}),pt(()=>{document.removeEventListener("keydown",O)}),(g,N)=>(h(),I("div",Yw,[d("button",{"aria-controls":"dropdown-list","aria-expanded":u.value,"aria-haspopup":"true","aria-label":g.buttonLabel,class:"dropdown-selector transparent",onClick:N[0]||(N[0]=S=>p()),ref_key:"dropdownButton",ref:l},[Ut(g.$slots,"default",{},void 0,!0)],8,Xw),u.value?(h(),I("ul",{key:0,"aria-labelledby":g.listLabel,class:"dropdown-list",id:"dropdown-list",role:"menu"},[(h(!0),I(_e,null,Le(T(s),(S,A)=>(h(),I("li",{class:me(["dropdown-item",{selected:S.value===T(r),focused:A===c.value}]),key:A,id:`dropdown-item-${A}`,tabindex:"-1",onClick:v=>f(S),onKeydown:et(v=>f(S),["enter"]),onMouseover:v=>R(A),role:"menuitem"},m(S.label),43,Zw))),128))],8,Qw)):w("",!0)]))}}),e5=ie(Jw,[["__scopeId","data-v-99bd9a4e"]]),t5={class:"error-message"},n5={key:0},a5={key:1},s5={key:2},r5=ee({__name:"ErrorMessage",props:{message:{}},setup(e){const t=e,{message:n}=he(t);return(a,s)=>(h(),I("div",t5,[Array.isArray(T(n))?(h(),I("ul",n5,[(h(!0),I(_e,null,Le(T(n),(r,i)=>(h(),I("li",{key:i},m(a.$t(r)),1))),128))])):typeof T(n)=="string"?(h(),I("div",a5,m(a.$t(T(n)).replace("api.ERROR.","")),1)):(h(),I("div",s5,m(a.$t(`equipments.ERRORS.${T(n).status}`,{equipmentId:T(n).equipmentId,equipmentLabel:T(n).equipmentLabel})),1))]))}}),i5=ie(r5,[["__scopeId","data-v-5d2995e8"]]),o5={name:"Bike"},u5={version:"1.1",id:"bike",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 35 35","xml:space":"preserve"};function l5(e,t,n,a,s,r){return h(),I("svg",u5,t[0]||(t[0]=[d("desc",{id:"BikeEquipmentDescription"},"bike",-1),d("g",null,[d("path",{d:`M25.8 14.32c-0.64 0-1.24 0.12-1.84 0.32l-1.52-3 2.6-3.88c0.28-0.4 0.12-1.32-0.72-1.32h-3.32c-0.48 0-0.84 0.36-0.84 0.84s0.36 0.84 0.84 0.84h1.76l-1.76 2.64h-9.68c-0.4 0-0.68 0.36-0.68 0.36v0 0 0 0l-2.56 3.76c-0.72-0.36-1.56-0.56-2.44-0.56-3.12 0-5.64 2.52-5.64 5.64s2.52 5.64 5.68 5.64c2.8 0 5.16-2.080 5.56-4.8h4.6c0.48 0 0.68-0.4 0.68-0.4v0l4.8-7.2 1.16 2.2c-1.4 1.040-2.32 2.68-2.32 4.56 0 3.12 2.52 5.64 5.64 @@ -44,7 +44,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config 0.68 1.28v0 0h3.84c-0.4 1.8-2 3.12-3.84 3.12zM25.8 23.88c-2.16 0-3.96-1.76-3.96-3.96 0-1.2 0.56-2.32 1.44-3.040l1.8 3.44c0.2 0.32 0.68 0.56 1.16 0.36 0.4-0.16 0.56-0.72 0.36-1.12l-1.8-3.4c0.32-0.080 0.68-0.16 1.040-0.16 2.16 0 3.96 1.76 3.96 3.96s-1.8 3.92-4 3.92zM9.8 9.4h3.080c0.48 0 0.84-0.36 - 0.84-0.84s-0.36-0.84-0.84-0.84h-3.080c-0.48 0-0.84 0.36-0.84 0.84-0.040 0.44 0.36 0.84 0.84 0.84z`})],-1)]))}const d5=ie(u5,[["render",c5]]),E5={name:"BikeTrainer"},p5={version:"1.1",id:"bike_trainer",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve",style:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd"}};function f5(e,t,n,a,s,r){return h(),R("svg",p5,t[0]||(t[0]=[vn(`bike trainerbike trainer`,7)]))}const T5=ie(E5,[["render",f5]]),m5={name:"Kayak_Boat"},_5={id:"kayak",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-200 -150 800 800","xml:space":"preserve"};function h5(e,t,n,a,s,r){return h(),R("svg",_5,t[0]||(t[0]=[d("desc",{id:"kayakBoatEquipmentDescription"},"kayak",-1),d("g",null,[d("g",null,[d("path",{d:`M506.376,55.175L458.322,7.122c-5.504-5.504-14.428-5.504-19.933,0l-30.985,30.985 + -49,-0.5 9.6894,-11.353 19.3561,-22.686 29,-34 z">`,7)]))}const f5=ie(d5,[["render",p5]]),T5={name:"Kayak_Boat"},m5={id:"kayak",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-200 -150 800 800","xml:space":"preserve"};function _5(e,t,n,a,s,r){return h(),I("svg",m5,t[0]||(t[0]=[d("desc",{id:"kayakBoatEquipmentDescription"},"kayak",-1),d("g",null,[d("g",null,[d("path",{d:`M506.376,55.175L458.322,7.122c-5.504-5.504-14.428-5.504-19.933,0l-30.985,30.985 c-14.252,14.252-17.674,35.223-10.286,52.713c-1.12,0.678-2.183,1.483-3.15,2.45L91.981,395.257 c-1.027,1.027-1.872,2.163-2.574,3.361c-17.508-7.434-38.522-4.024-52.798,10.25L5.623,439.852 c-5.504,5.504-5.504,14.429,0,19.933l48.054,48.054c5.504,5.504,14.428,5.504,19.933,0l30.985-30.985 @@ -73,7 +73,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c0-25.894,20.992-46.886,46.886-46.886c13.039,0,24.831,5.326,33.329,13.917l40.982-40.982 C317.405,73.151,301.526,41.842,287.822,18.22z`})])],-1),d("g",null,[d("g",null,[d("path",{d:`M356.238,224.889l-53.113,53.115v50.303c0,25.894-20.992,46.886-46.886,46.886c-13.817,0-26.235-5.979-34.816-15.488 l-40.306,40.306c13.297,37.559,29.552,69.661,43.538,93.767c6.534,11.261,18.536,18.214,31.556,18.22s25.057-6.925,31.591-18.186 - c29.734-51.242,69.75-138.626,69.75-237.815C357.552,245.483,357.078,235.11,356.238,224.889z`})])],-1)]))}const S5=ie(m5,[["render",h5]]),A5={name:"Shoes"},O5={id:"shoes",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve"};function g5(e,t,n,a,s,r){return h(),R("svg",O5,t[0]||(t[0]=[vn(`shoesshoes`,4)]))}const I5=ie(A5,[["render",g5]]),R5={name:"Shoes"},N5={id:"skis",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve"};function v5(e,t,n,a,s,r){return h(),R("svg",N5,t[0]||(t[0]=[d("desc",{id:"skisEquipmentDescription"},"skis",-1),d("path",{d:`m 105.01644,82.858537 c -0.75155,0 -1.40914,0.134433 -2.1607,0.373428 -1.52187,0.492925 -2.39554,1.127758 -3.400739,2.673751 + 39.5,-38 z">`,4)]))}const g5=ie(S5,[["render",O5]]),I5={name:"Shoes"},R5={id:"skis",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve"};function N5(e,t,n,a,s,r){return h(),I("svg",R5,t[0]||(t[0]=[d("desc",{id:"skisEquipmentDescription"},"skis",-1),d("path",{d:`m 105.01644,82.858537 c -0.75155,0 -1.40914,0.134433 -2.1607,0.373428 -1.52187,0.492925 -2.39554,1.127758 -3.400739,2.673751 -1.01459,1.553454 -1.85068,4.040497 -2.16069,7.192229 -0.62942,6.296003 0.79852,14.996885 3.184669,23.511055 4.81929,17.02088 12.99235,33.25755 12.99235,33.25755 l 31.75279,62.51192 11.9308,-22.33103 28.18296,9.48509 -31.7528,-62.48952 c 0,0 -8.36096,-16.25161 -19.82202,-31.129 -5.73054,-7.438695 -12.30656,-14.481551 -18.22498,-18.66396 -3.00618,-2.091199 -5.82448,-3.420599 -7.89123,-3.973273 @@ -101,7 +101,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config V 250.0574 Z m 80.79115,0 v 153.85252 h -21.60693 v 13.44343 h 21.60693 v 17.17771 h 16.90978 V 417.35335 H 463.7855 V 403.90992 H 442.17857 V 250.0574 Z m -200.94449,26.13999 -40.0198,12.92062 10.52164,20.76263 40.11374,-12.92062 -4.88504,-9.63446 z m -94.03714,0.0747 -10.61558,20.76262 40.0198,12.92063 8.45488,-16.58022 -2.25462,-4.48115 -0.65761,-1.34434 z m 110.94691,33.16045 - -40.0198,12.84594 55.61437,109.48923 40.0198,-12.92063 z m -127.95063,0.0373 -55.623763,109.33985 40.057384,12.92063 55.680129,-109.33986 z`},null,-1)]))}const b5=ie(R5,[["render",v5]]),C5={name:"Shoes"},D5={id:"shoes",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512","xml:space":"preserve",style:{"shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd"}};function P5(e,t,n,a,s,r){return h(),R("svg",D5,t[0]||(t[0]=[vn(`snowshoessnowshoes`,3)]))}const L5=ie(C5,[["render",P5]]),y5=["title"],$5=ee({__name:"index",props:{equipmentTypeLabel:{},title:{}},setup(e){const t=e,n=po(),a=M(()=>n.getters[K.GETTERS.DARK_MODE]),s=M(()=>Vl(a.value)),{equipmentTypeLabel:r,title:i}=he(t);return(o,u)=>(h(),R("div",{class:"equipment-type-img",style:Fa({fill:s.value?"#cfd0d0":"#2c3e50"}),title:T(i)},[T(r)==="Bike"?(h(),j(d5,{key:0})):w("",!0),T(r)==="Bike Trainer"?(h(),j(T5,{key:1})):w("",!0),T(r)==="Kayak_Boat"?(h(),j(S5,{key:2})):w("",!0),T(r)==="Shoes"?(h(),j(I5,{key:3})):w("",!0),T(r)==="Skis"?(h(),j(b5,{key:4})):w("",!0),T(r)==="Snowshoes"?(h(),j(L5,{key:5})):w("",!0)],12,y5))}}),k5={name:"CyclingSport"},U5={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve"};function w5(e,t,n,a,s,r){return h(),R("svg",U5,t[0]||(t[0]=[d("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),d("g",null,[d("path",{d:`M321.097,112.359c20.973,12.338,47.985,5.315,60.293-15.652c12.34-20.973,5.35-47.974-15.623-60.304 + 5.705,-1.571 11.372,-3.071 17,-4.5 z">`,3)]))}const P5=ie(b5,[["render",D5]]),L5=["title"],y5=ee({__name:"index",props:{equipmentTypeLabel:{},title:{}},setup(e){const t=e,n=po(),a=M(()=>n.getters[K.GETTERS.DARK_MODE]),s=M(()=>Kl(a.value)),{equipmentTypeLabel:r,title:i}=he(t);return(o,u)=>(h(),I("div",{class:"equipment-type-img",style:za({fill:s.value?"#cfd0d0":"#2c3e50"}),title:T(i)},[T(r)==="Bike"?(h(),j(c5,{key:0})):w("",!0),T(r)==="Bike Trainer"?(h(),j(f5,{key:1})):w("",!0),T(r)==="Kayak_Boat"?(h(),j(h5,{key:2})):w("",!0),T(r)==="Shoes"?(h(),j(g5,{key:3})):w("",!0),T(r)==="Skis"?(h(),j(v5,{key:4})):w("",!0),T(r)==="Snowshoes"?(h(),j(P5,{key:5})):w("",!0)],12,L5))}}),$5={name:"CyclingSport"},k5={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve"};function U5(e,t,n,a,s,r){return h(),I("svg",k5,t[0]||(t[0]=[d("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),d("g",null,[d("path",{d:`M321.097,112.359c20.973,12.338,47.985,5.315,60.293-15.652c12.34-20.973,5.35-47.974-15.623-60.304 c-21.009-12.332-47.99-5.317-60.314,15.65C293.129,73.036,300.103,100.027,321.097,112.359z`}),d("path",{d:`M393.081,264.102c-2.414,0-4.8,0.194-7.169,0.362l-14.431-71.605l4.702-1.757c10.666-3.987,16.093-15.868,12.098-26.54 c-3.994-10.681-15.946-16.084-26.531-12.09l-51.823,19.38l-2.321-18.864c6.3-13.193,5.541-29.78-4.767-41.482 c-21.224-24.092-47.12-12.508-55.191-5.976l-106.884,86.555l0.016,0.024c-3.319,2.893-6.089,6.485-7.86,10.842 @@ -179,7 +179,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c7.877-9.118,17.787-16.319,29.205-20.734L375.396,337.633z M393.081,436.671c-40.757,0-73.907-33.161-73.907-73.917 c0-9.544,1.965-18.597,5.268-26.983l44.541,26.888c0,0.032-0.016,0.064-0.016,0.095c0,13.323,10.808,24.132,24.114,24.132 c13.322,0,24.118-10.81,24.118-24.132c0-10.478-6.721-19.307-16.06-22.64l-10.277-51.043c0.756-0.024,1.463-0.226,2.22-0.226 - c40.757,0,73.911,33.153,73.911,73.909C466.992,403.51,433.838,436.671,393.081,436.671z`})],-1)]))}const M5=ie(k5,[["render",w5]]),W5={name:"CyclingTransport"},F5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function z5(e,t,n,a,s,r){return h(),R("svg",F5,t[0]||(t[0]=[d("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),d("g",{id:"g147"},[d("path",{d:"m 189.097,82.359 c 20.97701,12.331184 47.97442,5.308784 60.293,-15.652 12.32942,-20.979222 5.35418,-47.981117 -15.623,-60.304 -21.00482,-12.3391184 -47.99,-5.317 -60.314,15.65 -12.324,20.983 -5.34599,47.967183 15.644,60.306 z",id:"path143"}),d("path",{d:"m 393.081,264.102 c -2.414,0 -4.8,0.194 -7.169,0.362 l -14.431,-71.605 4.702,-1.757 c 10.666,-3.987 16.093,-15.868 12.098,-26.54 -3.994,-10.681 -15.946,-16.084 -26.531,-12.09 l -63.05508,-1.53717 C 284.04753,137.09803 248.90259,106.55858 243.33317,101.62481 217.77732,75.090916 186.1698,85.012419 178.0988,91.544419 L 140.764,192.085 l 0.016,0.024 c -3.319,2.893 -6.089,6.485 -7.86,10.842 -2.191,5.396 -2.596,11.067 -1.564,16.384 -8.503,0.669 -15.255,7.571 -15.255,16.246 0,9.085 7.346,16.44 16.432,16.48 l -6.797,15.906 c -8.62,-2.465 -17.674,-3.866 -27.066,-3.866 C 44.27,264.102 0,308.354 0,362.754 c 0,54.403 44.27,98.663 98.668,98.663 54.403,0 98.652,-44.26 98.652,-98.663 0,-36.228 -19.683,-67.867 -48.858,-85.024 l 10.957,-25.652 h 17.767 l 60.281,24.462 -32.201,52.773 c -8.297,13.612 -3.994,31.382 9.615,39.685 4.691,2.86 9.878,4.229 15,4.229 9.729,0 19.234,-4.929 24.677,-13.838 l 29.339,-48.095 19.072,11.511 c -5.447,12.227 -8.54,25.726 -8.54,39.95 0,54.403 44.254,98.663 98.652,98.663 54.402,0 98.656,-44.26 98.656,-98.663 0,-54.401 -44.254,-98.653 -98.656,-98.653 z M 98.668,436.671 c -40.756,0 -73.923,-33.161 -73.923,-73.917 0,-40.756 33.167,-73.909 73.923,-73.909 5.944,0 11.649,0.896 17.188,2.224 L 95.38,338.962 c -11.758,1.619 -20.843,11.598 -20.843,23.792 0,13.323 10.808,24.132 24.13,24.132 8.767,0 16.367,-4.745 20.589,-11.76 h 52.065 c -5.926,34.862 -36.133,61.545 -72.653,61.545 z m 72.654,-86.288 h -52.065 c -0.355,-0.588 -0.708,-1.176 -1.112,-1.732 l 20.476,-47.901 c 17.058,11.026 29.172,28.845 32.701,49.633 z m 125.459,-60.208 7.666,-12.564 c 4.416,-7.233 5.431,-16.038 2.774,-24.084 -2.661,-8.046 -8.718,-14.515 -16.562,-17.704 l -73.83357,-31.7176 16.7558,-45.21274 c 10.36934,4.13303 41.82171,27.90767 45.77423,28.08592 3.271,1.981 8.57725,1.46711 12.29625,1.46711 2.435,0 18.50584,0.70472 20.84384,-0.16628 L 343.32113,188.03378 361.635,269.33 c -18.268,6.162 -34.117,17.51 -45.848,32.314 z m 78.615,47.458 -38.003,-22.94 c 7.877,-9.118 17.787,-16.319 29.205,-20.734 z m 17.685,99.038 c -40.757,0 -73.907,-33.161 -73.907,-73.917 0,-9.544 1.965,-18.597 5.268,-26.983 l 44.541,26.888 c 0,0.032 -0.016,0.064 -0.016,0.095 0,13.323 10.808,24.132 24.114,24.132 13.322,0 24.118,-10.81 24.118,-24.132 0,-10.478 -6.721,-19.307 -16.06,-22.64 l -10.277,-51.043 c 0.756,-0.024 1.463,-0.226 2.22,-0.226 40.757,0 73.911,33.153 73.911,73.909 -10e-4,40.756 -33.155,73.917 -73.912,73.917 z",id:"path145"})],-1)]))}const x5=ie(W5,[["render",z5]]),B5={name:"CyclingTransport"},G5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function H5(e,t,n,a,s,r){return h(),R("svg",G5,t[0]||(t[0]=[vn(' silhouette of a person riding a bicycle for touring/trekking ',2)]))}const V5=ie(B5,[["render",H5]]),K5={name:"CyclingVirtual"},j5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function q5(e,t,n,a,s,r){return h(),R("svg",j5,t[0]||(t[0]=[vn(' silhouette of a person riding a bicycle with virtual indicator ',4)]))}const Y5=ie(K5,[["render",q5]]),X5={name:"Hiking"},Q5={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 463.507 463.507",style:{"enable-background":"new 0 0 463.507 463.507"},"xml:space":"preserve"};function Z5(e,t,n,a,s,r){return h(),R("svg",Q5,t[0]||(t[0]=[d("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),d("g",null,[d("path",{d:`M246.413,78.492c21.688,0,39.255-17.573,39.255-39.251c0-21.67-17.567-39.24-39.255-39.24 + c40.757,0,73.911,33.153,73.911,73.909C466.992,403.51,433.838,436.671,393.081,436.671z`})],-1)]))}const w5=ie($5,[["render",U5]]),M5={name:"CyclingTransport"},W5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function F5(e,t,n,a,s,r){return h(),I("svg",W5,t[0]||(t[0]=[d("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),d("g",{id:"g147"},[d("path",{d:"m 189.097,82.359 c 20.97701,12.331184 47.97442,5.308784 60.293,-15.652 12.32942,-20.979222 5.35418,-47.981117 -15.623,-60.304 -21.00482,-12.3391184 -47.99,-5.317 -60.314,15.65 -12.324,20.983 -5.34599,47.967183 15.644,60.306 z",id:"path143"}),d("path",{d:"m 393.081,264.102 c -2.414,0 -4.8,0.194 -7.169,0.362 l -14.431,-71.605 4.702,-1.757 c 10.666,-3.987 16.093,-15.868 12.098,-26.54 -3.994,-10.681 -15.946,-16.084 -26.531,-12.09 l -63.05508,-1.53717 C 284.04753,137.09803 248.90259,106.55858 243.33317,101.62481 217.77732,75.090916 186.1698,85.012419 178.0988,91.544419 L 140.764,192.085 l 0.016,0.024 c -3.319,2.893 -6.089,6.485 -7.86,10.842 -2.191,5.396 -2.596,11.067 -1.564,16.384 -8.503,0.669 -15.255,7.571 -15.255,16.246 0,9.085 7.346,16.44 16.432,16.48 l -6.797,15.906 c -8.62,-2.465 -17.674,-3.866 -27.066,-3.866 C 44.27,264.102 0,308.354 0,362.754 c 0,54.403 44.27,98.663 98.668,98.663 54.403,0 98.652,-44.26 98.652,-98.663 0,-36.228 -19.683,-67.867 -48.858,-85.024 l 10.957,-25.652 h 17.767 l 60.281,24.462 -32.201,52.773 c -8.297,13.612 -3.994,31.382 9.615,39.685 4.691,2.86 9.878,4.229 15,4.229 9.729,0 19.234,-4.929 24.677,-13.838 l 29.339,-48.095 19.072,11.511 c -5.447,12.227 -8.54,25.726 -8.54,39.95 0,54.403 44.254,98.663 98.652,98.663 54.402,0 98.656,-44.26 98.656,-98.663 0,-54.401 -44.254,-98.653 -98.656,-98.653 z M 98.668,436.671 c -40.756,0 -73.923,-33.161 -73.923,-73.917 0,-40.756 33.167,-73.909 73.923,-73.909 5.944,0 11.649,0.896 17.188,2.224 L 95.38,338.962 c -11.758,1.619 -20.843,11.598 -20.843,23.792 0,13.323 10.808,24.132 24.13,24.132 8.767,0 16.367,-4.745 20.589,-11.76 h 52.065 c -5.926,34.862 -36.133,61.545 -72.653,61.545 z m 72.654,-86.288 h -52.065 c -0.355,-0.588 -0.708,-1.176 -1.112,-1.732 l 20.476,-47.901 c 17.058,11.026 29.172,28.845 32.701,49.633 z m 125.459,-60.208 7.666,-12.564 c 4.416,-7.233 5.431,-16.038 2.774,-24.084 -2.661,-8.046 -8.718,-14.515 -16.562,-17.704 l -73.83357,-31.7176 16.7558,-45.21274 c 10.36934,4.13303 41.82171,27.90767 45.77423,28.08592 3.271,1.981 8.57725,1.46711 12.29625,1.46711 2.435,0 18.50584,0.70472 20.84384,-0.16628 L 343.32113,188.03378 361.635,269.33 c -18.268,6.162 -34.117,17.51 -45.848,32.314 z m 78.615,47.458 -38.003,-22.94 c 7.877,-9.118 17.787,-16.319 29.205,-20.734 z m 17.685,99.038 c -40.757,0 -73.907,-33.161 -73.907,-73.917 0,-9.544 1.965,-18.597 5.268,-26.983 l 44.541,26.888 c 0,0.032 -0.016,0.064 -0.016,0.095 0,13.323 10.808,24.132 24.114,24.132 13.322,0 24.118,-10.81 24.118,-24.132 0,-10.478 -6.721,-19.307 -16.06,-22.64 l -10.277,-51.043 c 0.756,-0.024 1.463,-0.226 2.22,-0.226 40.757,0 73.911,33.153 73.911,73.909 -10e-4,40.756 -33.155,73.917 -73.912,73.917 z",id:"path145"})],-1)]))}const z5=ie(M5,[["render",F5]]),x5={name:"CyclingTransport"},B5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function G5(e,t,n,a,s,r){return h(),I("svg",B5,t[0]||(t[0]=[vn(' silhouette of a person riding a bicycle for touring/trekking ',2)]))}const H5=ie(x5,[["render",G5]]),V5={name:"CyclingVirtual"},K5={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 491.737 491.737",style:{"enable-background":"new 0 0 491.737 491.737"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function j5(e,t,n,a,s,r){return h(),I("svg",K5,t[0]||(t[0]=[vn(' silhouette of a person riding a bicycle with virtual indicator ',4)]))}const q5=ie(V5,[["render",j5]]),Y5={name:"Hiking"},X5={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 463.507 463.507",style:{"enable-background":"new 0 0 463.507 463.507"},"xml:space":"preserve"};function Q5(e,t,n,a,s,r){return h(),I("svg",X5,t[0]||(t[0]=[d("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),d("g",null,[d("path",{d:`M246.413,78.492c21.688,0,39.255-17.573,39.255-39.251c0-21.67-17.567-39.24-39.255-39.24 c-21.652,0-39.242,17.57-39.242,39.24C207.171,60.919,224.761,78.492,246.413,78.492z`}),d("path",{d:`M386.604,202.858c0-11.185-9.066-20.251-20.253-20.251h-68.479l-38.62-54.832l0.127-0.933 c1.378-10.474-1.474-21.067-7.911-29.444c-6.441-8.378-15.932-13.852-26.408-15.23c-11.596-1.511-22.592,2.224-30.852,9.225V45.779 c0-7.847-6.362-14.217-14.225-14.217H140.59c-7.867,0-14.225,6.37-14.225,14.217v168.953c0,20.68,15.821,37.476,35.979,39.446 @@ -188,7 +188,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c-0.917,13.393,9.177,24.99,22.58,25.908c0.552,0.04,1.124,0.056,1.691,0.056c12.66,0,23.339-9.819,24.208-22.642l6.882-100.264 c0.508-7.364-2.371-14.572-7.815-19.564l-45.994-42.219l13.992-90.613l19.331,27.435c3.801,5.387,9.972,8.592,16.552,8.592h70.882 l1.339,232.294c0,4.478,3.626,8.101,8.101,8.101c4.479,0,8.101-3.624,8.101-8.101l-1.339-234.036 - C381.588,218.245,386.604,211.15,386.604,202.858z`})],-1)]))}const J5=ie(X5,[["render",Z5]]),e8={name:"MountainBiking"},t8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 503.162 503.162",style:{"enable-background":"new 0 0 503.162 503.162"},"xml:space":"preserve"};function n8(e,t,n,a,s,r){return h(),R("svg",t8,t[0]||(t[0]=[d("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),d("g",null,[d("g",null,[d("path",{d:`M149.951,67.997c15.711-7.143,22.739-25.675,15.596-41.416c-7.124-15.701-25.723-22.682-41.453-15.539 + C381.588,218.245,386.604,211.15,386.604,202.858z`})],-1)]))}const Z5=ie(Y5,[["render",Q5]]),J5={name:"MountainBiking"},e8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 503.162 503.162",style:{"enable-background":"new 0 0 503.162 503.162"},"xml:space":"preserve"};function t8(e,t,n,a,s,r){return h(),I("svg",e8,t[0]||(t[0]=[d("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),d("g",null,[d("g",null,[d("path",{d:`M149.951,67.997c15.711-7.143,22.739-25.675,15.596-41.416c-7.124-15.701-25.723-22.682-41.453-15.539 c-15.721,7.134-22.702,25.752-15.578,41.444C115.679,68.216,134.23,75.14,149.951,67.997z`}),d("path",{d:`M87.517,89.072l-32.828,87.755c-1.979,5.967-1.683,12.594,1.1,18.733c4.055,8.922,12.604,14.525,21.755,15.271 l76.873,6.244l29.137,64.184c4.122,9.046,14.832,13.148,23.906,9.017c9.075-4.131,13.072-14.859,8.951-23.944l-36.424-80.201 c0,0-3.605-13.76-21.343-14.133l-43.873-2.572l21.009-55.166l31.671,20.588c5.584,3.663,10.997,3.682,15.1,1.722l55.051-24.997 @@ -203,7 +203,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c-12.326-0.497-24.021,8.97-26.096,21.143l-2.62,15.339c-0.564,3.271-0.354,6.11,0.401,8.501c-0.43,1.778-0.736,3.548-0.736,5.326 v9.562c0,10.557,8.568,19.125,19.125,19.125h460.932c10.557,0,19.115-8.568,19.106-19.125l-0.125-167.507 c0-2.782-0.593-5.221-1.616-7.286c1.396-3.806,2.057-7.841,1.598-11.839l-4.677-40.497c-1.415-12.249-9.763-29.146-18.637-37.724 - l-36.127-34.951C434.712,167.418,425.79,170.325,423.687,182.488z`})])],-1)]))}const a8=ie(e8,[["render",n8]]),s8={name:"MountainBikingElectric"},r8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 503.162 503.162",style:{"enable-background":"new 0 0 503.162 503.162"},"xml:space":"preserve"};function i8(e,t,n,a,s,r){return h(),R("svg",r8,t[0]||(t[0]=[vn(' silhouette of a person riding an electric mountain bike ',18)]))}const o8=ie(s8,[["render",i8]]),u8={name:"Mountaineering"},l8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 495.017 495.017",style:{"enable-background":"new 0 0 495.017 495.017"},"xml:space":"preserve"};function c8(e,t,n,a,s,r){return h(),R("svg",l8,t[0]||(t[0]=[vn(` silhouette of a person doing mountaineering silhouette of a person riding an electric mountain bike ',18)]))}const i8=ie(a8,[["render",r8]]),o8={name:"Mountaineering"},u8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 495.017 495.017",style:{"enable-background":"new 0 0 495.017 495.017"},"xml:space":"preserve"};function l8(e,t,n,a,s,r){return h(),I("svg",u8,t[0]||(t[0]=[vn(` silhouette of a person doing mountaineering `,2)]))}const d8=ie(u8,[["render",c8]]),E8={name:"OpenWaterSwimming"},p8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 492.508 492.508",style:{"enable-background":"new 0 0 492.508 492.508"},"xml:space":"preserve"};function f8(e,t,n,a,s,r){return h(),R("svg",p8,t[0]||(t[0]=[vn(` silhouette of a person swimming in open water `,2)]))}const c8=ie(o8,[["render",l8]]),d8={name:"OpenWaterSwimming"},E8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 492.508 492.508",style:{"enable-background":"new 0 0 492.508 492.508"},"xml:space":"preserve"};function p8(e,t,n,a,s,r){return h(),I("svg",E8,t[0]||(t[0]=[vn(` silhouette of a person swimming in open water `,3)]))}const T8=ie(E8,[["render",f8]]),m8={name:"Paragliding"},_8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 170 170","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function h8(e,t,n,a,s,r){return h(),R("svg",_8,t[0]||(t[0]=[vn('silhouette of a person paragliding',3)]))}const S8=ie(m8,[["render",h8]]),A8={name:"Rowing"},O8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 534.51 534.51",style:{"enable-background":"new 0 0 534.51 534.51"},"xml:space":"preserve"};function g8(e,t,n,a,s,r){return h(),R("svg",O8,t[0]||(t[0]=[d("desc",{id:"rowingDescription"},"silhouette of a person rowing",-1),d("g",null,[d("g",null,[d("path",{d:`M70.517,393.857h132.622l-67.205,68.631c-3.28,3.385-3.204,8.797,0.172,12.076c1.597,1.568,3.72,2.43,5.958,2.43 + -43.378,43.375 z" id="path13">`,3)]))}const f8=ie(d8,[["render",p8]]),T8={name:"Paragliding"},m8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 170 170","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function _8(e,t,n,a,s,r){return h(),I("svg",m8,t[0]||(t[0]=[vn('silhouette of a person paragliding',3)]))}const h8=ie(T8,[["render",_8]]),S8={name:"Rowing"},A8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 534.51 534.51",style:{"enable-background":"new 0 0 534.51 534.51"},"xml:space":"preserve"};function O8(e,t,n,a,s,r){return h(),I("svg",A8,t[0]||(t[0]=[d("desc",{id:"rowingDescription"},"silhouette of a person rowing",-1),d("g",null,[d("g",null,[d("path",{d:`M70.517,393.857h132.622l-67.205,68.631c-3.28,3.385-3.204,8.797,0.172,12.076c1.597,1.568,3.72,2.43,5.958,2.43 c2.305,0,4.533-0.947,6.12-2.572l78.881-80.555h221.315c12.45,0,30.676-6.006,40.296-13.914 c8.788-7.229,19.049-16.217,26.345-24.299c10.375-9.811,22.214-23.639-4.255-22.834c-6.98,0.248-206.789,0.02-223.926,0 l47.144-48.139l22.176-22.032l28.209,9.17c10.414,3.385,22.472-0.803,26.919-9.362c4.446-8.558,0.268-18.407-9.343-21.993 @@ -295,7 +295,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c-1.482-0.851-14.153-5.786-26.833-10.643c-14.898-5.719-30.371,0.583-34.53,13.971l-7.525,24.241l-35.324,118.451 c-0.468,1.34-0.603,2.562-0.746,3.711H14.136c-12.45,0-17.662,8.836-11.618,19.727l23.237,21.592 C39.123,385.068,58.066,393.857,70.517,393.857z M272.63,248.727c1.797-5.967,8.099-9.39,14.075-7.64l51.37,14.975l-33.038,33.737 - l-43.453,43.012h-14.2L272.63,248.727z`}),d("circle",{cx:"248.953",cy:"109.842",r:"52.326"})])],-1)]))}const I8=ie(A8,[["render",g8]]),R8={name:"Running"},N8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve"};function v8(e,t,n,a,s,r){return h(),R("svg",N8,t[0]||(t[0]=[d("desc",{id:"runningDescription"},"silhouette of a running person",-1),d("g",null,[d("path",{d:`M282.74,80.771c22.318,0,40.401-18.08,40.401-40.389C323.141,18.084,305.058,0,282.74,0 + l-43.453,43.012h-14.2L272.63,248.727z`}),d("circle",{cx:"248.953",cy:"109.842",r:"52.326"})])],-1)]))}const g8=ie(S8,[["render",O8]]),I8={name:"Running"},R8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve"};function N8(e,t,n,a,s,r){return h(),I("svg",R8,t[0]||(t[0]=[d("desc",{id:"runningDescription"},"silhouette of a running person",-1),d("g",null,[d("path",{d:`M282.74,80.771c22.318,0,40.401-18.08,40.401-40.389C323.141,18.084,305.058,0,282.74,0 c-22.281,0-40.378,18.084-40.378,40.383C242.362,62.691,260.458,80.771,282.74,80.771z`}),d("path",{d:`M400.207,188.547H331.47l-38.766-55.03l0.123-0.944c1.384-10.514-1.475-21.146-7.94-29.556 c-6.461-8.409-16.007-13.903-26.52-15.287c-10.926-1.429-22.619,3.12-31.206,8.646c-1.441,0.928-84.97,54.921-84.97,54.921 c-5.175,3.358-8.542,8.877-9.165,15.016c-0.634,6.13,1.574,12.222,5.976,16.541l58.982,58l-6.417,48.954l-18.707,65.584l-67.8-19.4 @@ -304,7 +304,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config l26.365,36.639l6.684,119.628c0.73,12.991,11.501,23.036,24.349,23.036c0.441,0,0.92-0.016,1.379-0.039 c13.453-0.748,23.745-12.262,23-25.713l-7.083-126.736c-0.271-4.643-1.846-9.116-4.56-12.887l-32.24-44.811l11.959-91.279 l19.409,27.555c3.794,5.407,10.005,8.624,16.613,8.624h79.28c11.226,0,20.326-9.101,20.326-20.329 - C420.533,197.647,411.432,188.547,400.207,188.547z M204.606,190.357l-19.026-18.717l23.476-15.206L204.606,190.357z`})],-1)]))}const b8=ie(R8,[["render",v8]]),C8={name:"SkiingAlpine"},D8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 522.362 522.362",style:{"enable-background":"new 0 0 522.362 522.362"},"xml:space":"preserve"};function P8(e,t,n,a,s,r){return h(),R("svg",D8,t[0]||(t[0]=[d("desc",{id:"alpineSkiingDescription"},"silhouette of a person skiing",-1),d("g",null,[d("g",null,[d("path",{d:`M14.314,351.859L408.088,461.78c4.484,1.311,9.104,1.97,13.731,1.97l0,0c17.471,0,33.746-9.429,42.467-24.604 + C420.533,197.647,411.432,188.547,400.207,188.547z M204.606,190.357l-19.026-18.717l23.476-15.206L204.606,190.357z`})],-1)]))}const v8=ie(I8,[["render",N8]]),b8={name:"SkiingAlpine"},C8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 522.362 522.362",style:{"enable-background":"new 0 0 522.362 522.362"},"xml:space":"preserve"};function D8(e,t,n,a,s,r){return h(),I("svg",C8,t[0]||(t[0]=[d("desc",{id:"alpineSkiingDescription"},"silhouette of a person skiing",-1),d("g",null,[d("g",null,[d("path",{d:`M14.314,351.859L408.088,461.78c4.484,1.311,9.104,1.97,13.731,1.97l0,0c17.471,0,33.746-9.429,42.467-24.604 c2.716-4.724,3.137-10.27,1.157-15.214c-1.912-4.762-5.767-8.31-10.576-9.744c-7.373-2.237-15.481,1.109-22.146,9.229 c-3.548,4.303-9.496,6.244-15.07,4.714l-136.467-38.078c1.396-0.555,2.812-1.195,4.236-2.065l103.266-63.15 c15.443-9.362,18.493-33.957,7.812-43.883l-64.758-60.233l39.972-21.688l69.682,9.744c5.23,0.736,9.744-2.037,10.079-6.187 @@ -315,7 +315,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config l102.414,14.315l-5.308,3.72c-4.332,3.022-10.155,9.151-11.723,14.201c-3.844,12.45-1.473,26.717,10.452,37.705l68.802,62.175 c0,0-50.978,31.776-74.998,46.397c-14.219,8.606-13.674,23.858-6.129,33.393L23.705,318.199 c-10.012-2.792-20.569,2.554-23.113,11.695C-2,339.169,4.159,349.029,14.314,351.859z`}),d("path",{d:`M450.842,72.003c-15.291,16.715-14.201,42.667,2.639,58.121c16.706,15.31,42.716,14.086,58.073-2.668 - c15.386-16.677,14.172-42.734-2.544-58.016C492.305,54.064,466.17,55.192,450.842,72.003z`})])],-1)]))}const L8=ie(C8,[["render",P8]]),y8={name:"SkiingCrossCountry"},$8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 296 296",style:{"enable-background":"new 0 0 296 296"},"xml:space":"preserve"};function k8(e,t,n,a,s,r){return h(),R("svg",$8,t[0]||(t[0]=[d("desc",{id:"crossCountrySkiingDescription"}," silhouette of a person skiing (cross country) ",-1),d("g",null,[d("path",{d:`M241.313,246.906h-39.564l0.456-1.273c5.62-18.374,3.479-37.58-6.027-54.278c-5.653-9.929-13.443-18.018-22.745-23.959 + c15.386-16.677,14.172-42.734-2.544-58.016C492.305,54.064,466.17,55.192,450.842,72.003z`})])],-1)]))}const P8=ie(b8,[["render",D8]]),L8={name:"SkiingCrossCountry"},y8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 296 296",style:{"enable-background":"new 0 0 296 296"},"xml:space":"preserve"};function $8(e,t,n,a,s,r){return h(),I("svg",y8,t[0]||(t[0]=[d("desc",{id:"crossCountrySkiingDescription"}," silhouette of a person skiing (cross country) ",-1),d("g",null,[d("path",{d:`M241.313,246.906h-39.564l0.456-1.273c5.62-18.374,3.479-37.58-6.027-54.278c-5.653-9.929-13.443-18.018-22.745-23.959 l12.886-51.126c3.035-12.05-4.272-24.266-16.322-27.301c-2.634-0.664-5.278-0.826-7.833-0.559 c-0.151-0.011-0.299-0.032-0.452-0.038c-26.03-1.077-51.443,8.485-70.33,25.993L41.586,82.855 c-4.332-2.741-10.065-1.451-12.806,2.881s-1.451,10.065,2.88,12.806l47.625,30.136c-2.557,6.013-0.962,13.224,4.375,17.531 @@ -325,7 +325,7 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config h161.375H280c9.113,0,16.167-7.387,16.167-16.5v-2.5H241.313z M153.974,192.398c0.741-0.153,1.471-0.231,2.188-0.457 c5.742,3.406,10.53,8.313,13.945,14.311c5.378,9.447,6.59,20.402,3.41,30.797l-1.799,5.674c-0.447,1.461-0.656,3.184-0.657,4.184 h-69.909C121.581,231.906,139.297,213.274,153.974,192.398z M167,57.938c0-15.378,12.466-27.844,27.844-27.844 - s27.844,12.466,27.844,27.844s-12.466,27.844-27.844,27.844S167,73.315,167,57.938z`})],-1)]))}const U8=ie(y8,[["render",k8]]),w8={name:"Snowshoes"},M8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function W8(e,t,n,a,s,r){return h(),R("svg",M8,t[0]||(t[0]=[vn('silhouette of a person with snowshoes',6)]))}const F8=ie(w8,[["render",W8]]),z8={name:"Swimrun"},x8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 492.508 492.508","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function B8(e,t,n,a,s,r){return h(),R("svg",x8,t[0]||(t[0]=[vn(' silhouette of a person swimming in open water and another silhouette of a person running ',4)]))}const G8=ie(z8,[["render",B8]]),H8={name:"Trail"},V8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 535.876 535.876",style:{"enable-background":"new 0 0 535.876 535.876"},"xml:space":"preserve"};function K8(e,t,n,a,s,r){return h(),R("svg",V8,t[0]||(t[0]=[d("desc",{id:"trailDescription"},"silhouette of a person running (trail)",-1),d("g",null,[d("g",null,[d("path",{d:`M505.204,326.949c-5.805-10.892-15.176-10.862-20.923,0.067l-7.114,13.512c-5.757,10.92-20.416,19.775-32.752,19.775 + s27.844,12.466,27.844,27.844s-12.466,27.844-27.844,27.844S167,73.315,167,57.938z`})],-1)]))}const k8=ie(L8,[["render",$8]]),U8={name:"Snowshoes"},w8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function M8(e,t,n,a,s,r){return h(),I("svg",w8,t[0]||(t[0]=[vn('silhouette of a person with snowshoes',6)]))}const W8=ie(U8,[["render",M8]]),F8={name:"Swimrun"},z8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 492.508 492.508","xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function x8(e,t,n,a,s,r){return h(),I("svg",z8,t[0]||(t[0]=[vn(' silhouette of a person swimming in open water and another silhouette of a person running ',4)]))}const B8=ie(F8,[["render",x8]]),G8={name:"Trail"},H8={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 535.876 535.876",style:{"enable-background":"new 0 0 535.876 535.876"},"xml:space":"preserve"};function V8(e,t,n,a,s,r){return h(),I("svg",H8,t[0]||(t[0]=[d("desc",{id:"trailDescription"},"silhouette of a person running (trail)",-1),d("g",null,[d("g",null,[d("path",{d:`M505.204,326.949c-5.805-10.892-15.176-10.862-20.923,0.067l-7.114,13.512c-5.757,10.92-20.416,19.775-32.752,19.775 h-16.753c-12.346,0-29.645,6.847-38.643,15.29l-32.35,30.342l-1.233-105.388c0.822-18.446-10.596-24.634-10.596-24.634 l-56.543-25.972l33.67-67.645l38.527,22.912c0,0,15.472,9.715,26.727-9.324l37.026-63.093c1.625-3.519,2.094-7.564,1.052-11.609 c-2.381-9.256-11.81-14.86-21.095-12.479c-4.083,1.042-7.459,3.49-9.754,6.713l-30.772,51.962l-62.777-37.102 @@ -338,25 +338,25 @@ var fI=Object.defineProperty;var TI=(e,t,n)=>t in e?fI(e,t,{enumerable:!0,config c-11.657-4.054-28.831-0.984-38.374,6.838L109.9,433.954c-9.544,7.822-26.67,10.72-38.25,6.483L40.84,429.135 c-11.58-4.256-25.608,1.157-31.336,12.097l-7.21,13.789c-5.728,10.93-0.354,19.794,11.982,19.794H500.27 c12.336,0,24.309-9.802,26.728-21.907l8.004-39.981c2.409-12.097-0.325-30.733-6.14-41.616L505.204,326.949z`}),d("path",{d:`M326.395,126.625c17.806-4.562,28.563-22.721,23.983-40.526c-4.581-17.844-22.74-28.554-40.555-23.983 - c-17.796,4.581-28.535,22.711-23.964,40.535C290.439,120.476,308.599,131.205,326.395,126.625z`})])],-1)]))}const j8=ie(H8,[["render",K8]]),q8={name:"Walking"},Y8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function X8(e,t,n,a,s,r){return h(),R("svg",Y8,t[0]||(t[0]=[vn('silhouette of a walking person',3)]))}const Q8=ie(q8,[["render",X8]]),Z8=["title"],J8=ee({__name:"index",props:{sportLabel:{},color:{},title:{default:""}},setup(e){const t=e,{color:n,sportLabel:a,title:s}=he(t),r=Ct("sportColors");return(i,o)=>(h(),R("div",{class:"sport-img",style:Fa({fill:T(n)?T(n):T(r)[T(a)]}),title:T(s)?T(s):i.$t(`sports.${T(a)}.LABEL`)},[T(a)==="Cycling (Sport)"?(h(),j(M5,{key:0})):w("",!0),T(a)==="Cycling (Trekking)"?(h(),j(V5,{key:1})):w("",!0),T(a)==="Cycling (Transport)"?(h(),j(x5,{key:2})):w("",!0),T(a)==="Cycling (Virtual)"?(h(),j(Y5,{key:3})):w("",!0),T(a)==="Hiking"?(h(),j(J5,{key:4})):w("",!0),T(a)==="Mountain Biking"?(h(),j(a8,{key:5})):w("",!0),T(a)==="Mountain Biking (Electric)"?(h(),j(o8,{key:6})):w("",!0),T(a)==="Mountaineering"?(h(),j(d8,{key:7})):w("",!0),T(a)==="Paragliding"?(h(),j(S8,{key:8})):w("",!0),T(a)==="Open Water Swimming"?(h(),j(T8,{key:9})):w("",!0),T(a)==="Rowing"?(h(),j(I8,{key:10})):w("",!0),T(a)==="Running"?(h(),j(b8,{key:11})):w("",!0),T(a)==="Skiing (Alpine)"?(h(),j(L8,{key:12})):w("",!0),T(a)==="Skiing (Cross Country)"?(h(),j(U8,{key:13})):w("",!0),T(a)==="Snowshoes"?(h(),j(F8,{key:14})):w("",!0),T(a)==="Swimrun"?(h(),j(G8,{key:15})):w("",!0),T(a)==="Trail"?(h(),j(j8,{key:16})):w("",!0),T(a)==="Walking"?(h(),j(Q8,{key:17})):w("",!0)],12,Z8))}}),eM={},tM={class:"loader"};function nM(e,t){return h(),R("div",tM)}const aM=ie(eM,[["render",nM],["__scopeId","data-v-8b613881"]]),sM={class:"custom-modal"},rM={key:0,class:"modal-message"},iM={key:1,class:"modal-message"},oM={key:2,class:"info-box"},uM={class:"modal-buttons"},lM=ee({__name:"Modal",props:{title:{},message:{},strongMessage:{default:()=>""},warning:{default:()=>""}},emits:["cancelAction","confirmAction"],setup(e,{emit:t}){const n=e,a=t,s=ke(),{title:r,message:i,strongMessage:o}=he(n),u=M(()=>s.getters[K.GETTERS.ERROR_MESSAGES]);let l=null,c=null,p=null;function E(f){var _;(f.key==="Tab"||f.keyCode===9)&&(f.preventDefault(),((_=document.activeElement)==null?void 0:_.id)==="cancel-button"?l==null||l.focus():c==null||c.focus())}return St(()=>{p=document.activeElement,c=document.getElementById("cancel-button"),l=document.getElementById("confirm-button"),c&&c.focus(),document.addEventListener("keydown",E)}),pt(()=>{s.commit(K.MUTATIONS.EMPTY_ERROR_MESSAGES),document.removeEventListener("keydown",E),p==null||p.focus()}),(f,_)=>{const O=re("i18n-t"),I=re("ErrorMessage"),g=re("Card");return h(),R("div",{id:"modal",role:"dialog",onClick:_[2]||(_[2]=De(N=>a("cancelAction"),["self"]))},[d("div",sM,[W(g,null,{title:ue(()=>[H(m(T(r)),1)]),content:ue(()=>[T(o)?(h(),R("div",rM,[W(O,{keypath:T(i)},{default:ue(()=>[d("span",null,m(T(o)),1)]),_:1},8,["keypath"])])):(h(),R("div",iM,m(T(i)),1)),f.warning?(h(),R("div",oM,[_[3]||(_[3]=d("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),H(" "+m(f.warning),1)])):w("",!0),u.value?(h(),j(I,{key:3,message:u.value},null,8,["message"])):w("",!0),d("div",uM,[u.value?w("",!0):(h(),R("button",{key:0,class:me(["confirm",{danger:f.warning}]),id:"confirm-button",onClick:_[0]||(_[0]=N=>a("confirmAction"))},m(f.$t("buttons.YES")),3)),d("button",{tabindex:"0",id:"cancel-button",class:"cancel",onClick:_[1]||(_[1]=N=>a("cancelAction"))},m(f.$t(`buttons.${u.value?"CANCEL":"NO"}`)),1)])]),_:1})])])}}}),cM=ie(lM,[["__scopeId","data-v-686c06c7"]]),dM=[{target:$6,name:"AlertMessage"},{target:MS,name:"Card"},{target:G6,name:"CustomTextArea"},{target:j6,name:"Distance"},{target:t5,name:"Dropdown"},{target:o5,name:"ErrorMessage"},{target:aM,name:"Loader"},{target:cM,name:"Modal"},{target:J8,name:"SportImage"},{target:$5,name:"EquipmentTypeImage"}],EM={mounted:(e,t)=>{e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent),document.body.addEventListener("touchstart",e.clickOutsideEvent)},unmounted:function(e){e.clickOutsideEvent&&(document.body.removeEventListener("click",e.clickOutsideEvent),document.body.removeEventListener("touchstart",e.clickOutsideEvent),e.clickOutsideEvent=void 0)}};/*! + c-17.796,4.581-28.535,22.711-23.964,40.535C290.439,120.476,308.599,131.205,326.395,126.625z`})])],-1)]))}const K8=ie(G8,[["render",V8]]),j8={name:"Walking"},q8={version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 494.49 494.49",style:{"enable-background":"new 0 0 494.49 494.49"},"xml:space":"preserve",xmlns:"http://www.w3.org/2000/svg","xmlns:svg":"http://www.w3.org/2000/svg"};function Y8(e,t,n,a,s,r){return h(),I("svg",q8,t[0]||(t[0]=[vn('silhouette of a walking person',3)]))}const X8=ie(j8,[["render",Y8]]),Q8=["title"],Z8=ee({__name:"index",props:{sportLabel:{},color:{},title:{default:""}},setup(e){const t=e,{color:n,sportLabel:a,title:s}=he(t),r=Ct("sportColors");return(i,o)=>(h(),I("div",{class:"sport-img",style:za({fill:T(n)?T(n):T(r)[T(a)]}),title:T(s)?T(s):i.$t(`sports.${T(a)}.LABEL`)},[T(a)==="Cycling (Sport)"?(h(),j(w5,{key:0})):w("",!0),T(a)==="Cycling (Trekking)"?(h(),j(H5,{key:1})):w("",!0),T(a)==="Cycling (Transport)"?(h(),j(z5,{key:2})):w("",!0),T(a)==="Cycling (Virtual)"?(h(),j(q5,{key:3})):w("",!0),T(a)==="Hiking"?(h(),j(Z5,{key:4})):w("",!0),T(a)==="Mountain Biking"?(h(),j(n8,{key:5})):w("",!0),T(a)==="Mountain Biking (Electric)"?(h(),j(i8,{key:6})):w("",!0),T(a)==="Mountaineering"?(h(),j(c8,{key:7})):w("",!0),T(a)==="Paragliding"?(h(),j(h8,{key:8})):w("",!0),T(a)==="Open Water Swimming"?(h(),j(f8,{key:9})):w("",!0),T(a)==="Rowing"?(h(),j(g8,{key:10})):w("",!0),T(a)==="Running"?(h(),j(v8,{key:11})):w("",!0),T(a)==="Skiing (Alpine)"?(h(),j(P8,{key:12})):w("",!0),T(a)==="Skiing (Cross Country)"?(h(),j(k8,{key:13})):w("",!0),T(a)==="Snowshoes"?(h(),j(W8,{key:14})):w("",!0),T(a)==="Swimrun"?(h(),j(B8,{key:15})):w("",!0),T(a)==="Trail"?(h(),j(K8,{key:16})):w("",!0),T(a)==="Walking"?(h(),j(X8,{key:17})):w("",!0)],12,Q8))}}),J8={},eM={class:"loader"};function tM(e,t){return h(),I("div",eM)}const nM=ie(J8,[["render",tM],["__scopeId","data-v-8b613881"]]),aM={class:"custom-modal"},sM={key:0,class:"modal-message"},rM={key:1,class:"modal-message"},iM={key:2,class:"info-box"},oM={class:"modal-buttons"},uM=ee({__name:"Modal",props:{title:{},message:{},strongMessage:{default:()=>""},warning:{default:()=>""}},emits:["cancelAction","confirmAction"],setup(e,{emit:t}){const n=e,a=t,s=ke(),{title:r,message:i,strongMessage:o}=he(n),u=M(()=>s.getters[K.GETTERS.ERROR_MESSAGES]);let l=null,c=null,p=null;function E(f){var _;(f.key==="Tab"||f.keyCode===9)&&(f.preventDefault(),((_=document.activeElement)==null?void 0:_.id)==="cancel-button"?l==null||l.focus():c==null||c.focus())}return St(()=>{p=document.activeElement,c=document.getElementById("cancel-button"),l=document.getElementById("confirm-button"),c&&c.focus(),document.addEventListener("keydown",E)}),pt(()=>{s.commit(K.MUTATIONS.EMPTY_ERROR_MESSAGES),document.removeEventListener("keydown",E),p==null||p.focus()}),(f,_)=>{const O=re("i18n-t"),R=re("ErrorMessage"),g=re("Card");return h(),I("div",{id:"modal",role:"dialog",onClick:_[2]||(_[2]=De(N=>a("cancelAction"),["self"]))},[d("div",aM,[W(g,null,{title:ue(()=>[H(m(T(r)),1)]),content:ue(()=>[T(o)?(h(),I("div",sM,[W(O,{keypath:T(i)},{default:ue(()=>[d("span",null,m(T(o)),1)]),_:1},8,["keypath"])])):(h(),I("div",rM,m(T(i)),1)),f.warning?(h(),I("div",iM,[_[3]||(_[3]=d("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),H(" "+m(f.warning),1)])):w("",!0),u.value?(h(),j(R,{key:3,message:u.value},null,8,["message"])):w("",!0),d("div",oM,[u.value?w("",!0):(h(),I("button",{key:0,class:me(["confirm",{danger:f.warning}]),id:"confirm-button",onClick:_[0]||(_[0]=N=>a("confirmAction"))},m(f.$t("buttons.YES")),3)),d("button",{tabindex:"0",id:"cancel-button",class:"cancel",onClick:_[1]||(_[1]=N=>a("cancelAction"))},m(f.$t(`buttons.${u.value?"CANCEL":"NO"}`)),1)])]),_:1})])])}}}),lM=ie(uM,[["__scopeId","data-v-686c06c7"]]),cM=[{target:y6,name:"AlertMessage"},{target:zS,name:"Card"},{target:B6,name:"CustomTextArea"},{target:K6,name:"Distance"},{target:e5,name:"Dropdown"},{target:i5,name:"ErrorMessage"},{target:nM,name:"Loader"},{target:lM,name:"Modal"},{target:Z8,name:"SportImage"},{target:y5,name:"EquipmentTypeImage"}],dM={mounted:(e,t)=>{e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent),document.body.addEventListener("touchstart",e.clickOutsideEvent)},unmounted:function(e){e.clickOutsideEvent&&(document.body.removeEventListener("click",e.clickOutsideEvent),document.body.removeEventListener("touchstart",e.clickOutsideEvent),e.clickOutsideEvent=void 0)}};/*! * shared v9.14.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const ku=typeof window<"u",fs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),pM=(e,t,n)=>fM({l:e,k:t,s:n}),fM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Bt=e=>typeof e=="number"&&isFinite(e),TM=e=>QS(e)==="[object Date]",cs=e=>QS(e)==="[object RegExp]",Xl=e=>qe(e)&&Object.keys(e).length===0,Jt=Object.assign;let Am;const Ua=()=>Am||(Am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Om(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const mM=Object.prototype.hasOwnProperty;function Uu(e,t){return mM.call(e,t)}const Pt=Array.isArray,bt=e=>typeof e=="function",Ne=e=>typeof e=="string",rt=e=>typeof e=="boolean",lt=e=>e!==null&&typeof e=="object",_M=e=>lt(e)&&bt(e.then)&&bt(e.catch),XS=Object.prototype.toString,QS=e=>XS.call(e),qe=e=>{if(!lt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},hM=e=>e==null?"":Pt(e)||qe(e)&&e.toString===XS?JSON.stringify(e,null,2):String(e);function SM(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}function Ql(e){let t=e;return()=>++t}function AM(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const $o=e=>!lt(e)||Pt(e);function du(e,t){if($o(e)||$o(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:s}=n.pop();Object.keys(a).forEach(r=>{lt(a[r])&&!lt(s[r])&&(s[r]=Array.isArray(a[r])?[]:{}),$o(s[r])||$o(a[r])?s[r]=a[r]:n.push({src:a[r],des:s[r]})})}}/*! + */const Uu=typeof window<"u",fs=(e,t=!1)=>t?Symbol.for(e):Symbol(e),EM=(e,t,n)=>pM({l:e,k:t,s:n}),pM=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Bt=e=>typeof e=="number"&&isFinite(e),fM=e=>eA(e)==="[object Date]",cs=e=>eA(e)==="[object RegExp]",Ql=e=>qe(e)&&Object.keys(e).length===0,Jt=Object.assign;let Om;const wa=()=>Om||(Om=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gm(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const TM=Object.prototype.hasOwnProperty;function wu(e,t){return TM.call(e,t)}const Pt=Array.isArray,bt=e=>typeof e=="function",Ne=e=>typeof e=="string",rt=e=>typeof e=="boolean",lt=e=>e!==null&&typeof e=="object",mM=e=>lt(e)&&bt(e.then)&&bt(e.catch),JS=Object.prototype.toString,eA=e=>JS.call(e),qe=e=>{if(!lt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},_M=e=>e==null?"":Pt(e)||qe(e)&&e.toString===JS?JSON.stringify(e,null,2):String(e);function hM(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}function Zl(e){let t=e;return()=>++t}function SM(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const $o=e=>!lt(e)||Pt(e);function du(e,t){if($o(e)||$o(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:a,des:s}=n.pop();Object.keys(a).forEach(r=>{lt(a[r])&&!lt(s[r])&&(s[r]=Array.isArray(a[r])?[]:{}),$o(s[r])||$o(a[r])?s[r]=a[r]:n.push({src:a[r],des:s[r]})})}}/*! * message-compiler v9.14.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function OM(e,t,n){return{line:e,column:t,offset:n}}function wu(e,t,n){return{start:e,end:t}}const gM=/\{([0-9a-zA-Z]+)\}/g;function ZS(e,...t){return t.length===1&&IM(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(gM,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const JS=Object.assign,gm=e=>typeof e=="string",IM=e=>e!==null&&typeof e=="object";function eA(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const gp={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},RM={[gp.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function NM(e,t,...n){const a=ZS(RM[e],...n||[]),s={message:String(a),code:e};return t&&(s.location=t),s}const Ge={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},vM={[Ge.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ge.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ge.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ge.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ge.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ge.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ge.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ge.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ge.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ge.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ge.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ge.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ge.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ge.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ge.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function xr(e,t,n={}){const{domain:a,messages:s,args:r}=n,i=ZS((s||vM)[e]||"",...r||[]),o=new SyntaxError(String(i));return o.code=e,t&&(o.location=t),o.domain=a,o}function bM(e){throw e}const Na=" ",CM="\r",un=` -`,DM="\u2028",PM="\u2029";function LM(e){const t=e;let n=0,a=1,s=1,r=0;const i=P=>t[P]===CM&&t[P+1]===un,o=P=>t[P]===un,u=P=>t[P]===PM,l=P=>t[P]===DM,c=P=>i(P)||o(P)||u(P)||l(P),p=()=>n,E=()=>a,f=()=>s,_=()=>r,O=P=>i(P)||u(P)||l(P)?un:t[P],I=()=>O(n),g=()=>O(n+r);function N(){return r=0,c(n)&&(a++,s=0),i(n)&&n++,n++,s++,t[n]}function S(){return i(n+r)&&r++,r++,t[n+r]}function A(){n=0,a=1,s=1,r=0}function v(P=0){r=P}function y(){const P=n+r;for(;P!==n;)N();r=0}return{index:p,line:E,column:f,peekOffset:_,charAt:O,currentChar:I,currentPeek:g,next:N,peek:S,reset:A,resetPeek:v,skipToPeek:y}}const Ya=void 0,yM=".",Im="'",$M="tokenizer";function kM(e,t={}){const n=t.location!==!1,a=LM(e),s=()=>a.index(),r=()=>OM(a.line(),a.column(),a.index()),i=r(),o=s(),u={currentType:14,offset:o,startLoc:i,endLoc:i,lastType:14,lastOffset:o,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>u,{onError:c}=t;function p(L,k,x,...ce){const Te=l();if(k.column+=x,k.offset+=x,c){const pe=n?wu(Te.startLoc,k):null,V=xr(L,pe,{domain:$M,args:ce});c(V)}}function E(L,k,x){L.endLoc=r(),L.currentType=k;const ce={type:k};return n&&(ce.loc=wu(L.startLoc,L.endLoc)),x!=null&&(ce.value=x),ce}const f=L=>E(L,14);function _(L,k){return L.currentChar()===k?(L.next(),k):(p(Ge.EXPECTED_TOKEN,r(),0,k),"")}function O(L){let k="";for(;L.currentPeek()===Na||L.currentPeek()===un;)k+=L.currentPeek(),L.peek();return k}function I(L){const k=O(L);return L.skipToPeek(),k}function g(L){if(L===Ya)return!1;const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function N(L){if(L===Ya)return!1;const k=L.charCodeAt(0);return k>=48&&k<=57}function S(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=g(L.currentPeek());return L.resetPeek(),ce}function A(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=L.currentPeek()==="-"?L.peek():L.currentPeek(),Te=N(ce);return L.resetPeek(),Te}function v(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=L.currentPeek()===Im;return L.resetPeek(),ce}function y(L,k){const{currentType:x}=k;if(x!==8)return!1;O(L);const ce=L.currentPeek()===".";return L.resetPeek(),ce}function P(L,k){const{currentType:x}=k;if(x!==9)return!1;O(L);const ce=g(L.currentPeek());return L.resetPeek(),ce}function C(L,k){const{currentType:x}=k;if(!(x===8||x===12))return!1;O(L);const ce=L.currentPeek()===":";return L.resetPeek(),ce}function D(L,k){const{currentType:x}=k;if(x!==10)return!1;const ce=()=>{const pe=L.currentPeek();return pe==="{"?g(L.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===Na||!pe?!1:pe===un?(L.peek(),ce()):F(L,!1)},Te=ce();return L.resetPeek(),Te}function z(L){O(L);const k=L.currentPeek()==="|";return L.resetPeek(),k}function $(L){const k=O(L),x=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:x,hasSpace:k.length>0}}function F(L,k=!0){const x=(Te=!1,pe="",V=!1)=>{const te=L.currentPeek();return te==="{"?pe==="%"?!1:Te:te==="@"||!te?pe==="%"?!0:Te:te==="%"?(L.peek(),x(Te,"%",!0)):te==="|"?pe==="%"||V?!0:!(pe===Na||pe===un):te===Na?(L.peek(),x(!0,Na,V)):te===un?(L.peek(),x(!0,un,V)):!0},ce=x();return k&&L.resetPeek(),ce}function Y(L,k){const x=L.currentChar();return x===Ya?Ya:k(x)?(L.next(),x):null}function se(L){const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function B(L){return Y(L,se)}function Q(L){const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function q(L){return Y(L,Q)}function oe(L){const k=L.charCodeAt(0);return k>=48&&k<=57}function Z(L){return Y(L,oe)}function Re(L){const k=L.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ye(L){return Y(L,Re)}function Me(L){let k="",x="";for(;k=Z(L);)x+=k;return x}function Vt(L){I(L);const k=L.currentChar();return k!=="%"&&p(Ge.EXPECTED_TOKEN,r(),0,k),L.next(),"%"}function je(L){let k="";for(;;){const x=L.currentChar();if(x==="{"||x==="}"||x==="@"||x==="|"||!x)break;if(x==="%")if(F(L))k+=x,L.next();else break;else if(x===Na||x===un)if(F(L))k+=x,L.next();else{if(z(L))break;k+=x,L.next()}else k+=x,L.next()}return k}function ve(L){I(L);let k="",x="";for(;k=q(L);)x+=k;return L.currentChar()===Ya&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x}function Nt(L){I(L);let k="";return L.currentChar()==="-"?(L.next(),k+=`-${Me(L)}`):k+=Me(L),L.currentChar()===Ya&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),k}function ne(L){return L!==Im&&L!==un}function Se(L){I(L),_(L,"'");let k="",x="";for(;k=Y(L,ne);)k==="\\"?x+=Oe(L):x+=k;const ce=L.currentChar();return ce===un||ce===Ya?(p(Ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),ce===un&&(L.next(),_(L,"'")),x):(_(L,"'"),x)}function Oe(L){const k=L.currentChar();switch(k){case"\\":case"'":return L.next(),`\\${k}`;case"u":return Pe(L,k,4);case"U":return Pe(L,k,6);default:return p(Ge.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function Pe(L,k,x){_(L,k);let ce="";for(let Te=0;Te{const ce=L.currentChar();return ce==="{"||ce==="%"||ce==="@"||ce==="|"||ce==="("||ce===")"||!ce||ce===Na?x:(x+=ce,L.next(),k(x))};return k("")}function G(L){I(L);const k=_(L,"|");return I(L),k}function le(L,k){let x=null;switch(L.currentChar()){case"{":return k.braceNest>=1&&p(Ge.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),L.next(),x=E(k,2,"{"),I(L),k.braceNest++,x;case"}":return k.braceNest>0&&k.currentType===2&&p(Ge.EMPTY_PLACEHOLDER,r(),0),L.next(),x=E(k,3,"}"),k.braceNest--,k.braceNest>0&&I(L),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),x;case"@":return k.braceNest>0&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x=ae(L,k)||f(k),k.braceNest=0,x;default:{let Te=!0,pe=!0,V=!0;if(z(L))return k.braceNest>0&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,x;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,Ee(L,k);if(Te=S(L,k))return x=E(k,5,ve(L)),I(L),x;if(pe=A(L,k))return x=E(k,6,Nt(L)),I(L),x;if(V=v(L,k))return x=E(k,7,Se(L)),I(L),x;if(!Te&&!pe&&!V)return x=E(k,13,ft(L)),p(Ge.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,x.value),I(L),x;break}}return x}function ae(L,k){const{currentType:x}=k;let ce=null;const Te=L.currentChar();switch((x===8||x===9||x===12||x===10)&&(Te===un||Te===Na)&&p(Ge.INVALID_LINKED_FORMAT,r(),0),Te){case"@":return L.next(),ce=E(k,8,"@"),k.inLinked=!0,ce;case".":return I(L),L.next(),E(k,9,".");case":":return I(L),L.next(),E(k,10,":");default:return z(L)?(ce=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,ce):y(L,k)||C(L,k)?(I(L),ae(L,k)):P(L,k)?(I(L),E(k,12,U(L))):D(L,k)?(I(L),Te==="{"?le(L,k)||ce:E(k,11,b(L))):(x===8&&p(Ge.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,Ee(L,k))}}function Ee(L,k){let x={type:14};if(k.braceNest>0)return le(L,k)||f(k);if(k.inLinked)return ae(L,k)||f(k);switch(L.currentChar()){case"{":return le(L,k)||f(k);case"}":return p(Ge.UNBALANCED_CLOSING_BRACE,r(),0),L.next(),E(k,3,"}");case"@":return ae(L,k)||f(k);default:{if(z(L))return x=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,x;const{isModulo:Te,hasSpace:pe}=$(L);if(Te)return pe?E(k,0,je(L)):E(k,4,Vt(L));if(F(L))return E(k,0,je(L));break}}return x}function Ie(){const{currentType:L,offset:k,startLoc:x,endLoc:ce}=u;return u.lastType=L,u.lastOffset=k,u.lastStartLoc=x,u.lastEndLoc=ce,u.offset=s(),u.startLoc=r(),a.currentChar()===Ya?E(u,14):Ee(a,u)}return{nextToken:Ie,currentOffset:s,currentPosition:r,context:l}}const UM="parser",wM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function MM(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function WM(e={}){const t=e.location!==!1,{onError:n,onWarn:a}=e;function s(S,A,v,y,...P){const C=S.currentPosition();if(C.offset+=y,C.column+=y,n){const D=t?wu(v,C):null,z=xr(A,D,{domain:UM,args:P});n(z)}}function r(S,A,v,y,...P){const C=S.currentPosition();if(C.offset+=y,C.column+=y,a){const D=t?wu(v,C):null;a(NM(A,D,P))}}function i(S,A,v){const y={type:S};return t&&(y.start=A,y.end=A,y.loc={start:v,end:v}),y}function o(S,A,v,y){t&&(S.end=A,S.loc&&(S.loc.end=v))}function u(S,A){const v=S.context(),y=i(3,v.offset,v.startLoc);return y.value=A,o(y,S.currentOffset(),S.currentPosition()),y}function l(S,A){const v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(5,y,P);return C.index=parseInt(A,10),S.nextToken(),o(C,S.currentOffset(),S.currentPosition()),C}function c(S,A,v){const y=S.context(),{lastOffset:P,lastStartLoc:C}=y,D=i(4,P,C);return D.key=A,v===!0&&(D.modulo=!0),S.nextToken(),o(D,S.currentOffset(),S.currentPosition()),D}function p(S,A){const v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(9,y,P);return C.value=A.replace(wM,MM),S.nextToken(),o(C,S.currentOffset(),S.currentPosition()),C}function E(S){const A=S.nextToken(),v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(8,y,P);return A.type!==12?(s(S,Ge.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),C.value="",o(C,y,P),{nextConsumeToken:A,node:C}):(A.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Xn(A)),C.value=A.value||"",o(C,S.currentOffset(),S.currentPosition()),{node:C})}function f(S,A){const v=S.context(),y=i(7,v.offset,v.startLoc);return y.value=A,o(y,S.currentOffset(),S.currentPosition()),y}function _(S){const A=S.context(),v=i(6,A.offset,A.startLoc);let y=S.nextToken();if(y.type===9){const P=E(S);v.modifier=P.node,y=P.nextConsumeToken||S.nextToken()}switch(y.type!==10&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),y=S.nextToken(),y.type===2&&(y=S.nextToken()),y.type){case 11:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=f(S,y.value||"");break;case 5:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=c(S,y.value||"");break;case 6:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=l(S,y.value||"");break;case 7:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=p(S,y.value||"");break;default:{s(S,Ge.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const P=S.context(),C=i(7,P.offset,P.startLoc);return C.value="",o(C,P.offset,P.startLoc),v.key=C,o(v,P.offset,P.startLoc),{nextConsumeToken:y,node:v}}}return o(v,S.currentOffset(),S.currentPosition()),{node:v}}function O(S){const A=S.context(),v=A.currentType===1?S.currentOffset():A.offset,y=A.currentType===1?A.endLoc:A.startLoc,P=i(2,v,y);P.items=[];let C=null,D=null;do{const F=C||S.nextToken();switch(C=null,F.type){case 0:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(u(S,F.value||""));break;case 6:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(l(S,F.value||""));break;case 4:D=!0;break;case 5:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(c(S,F.value||"",!!D)),D&&(r(S,gp.USE_MODULO_SYNTAX,A.lastStartLoc,0,Xn(F)),D=null);break;case 7:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(p(S,F.value||""));break;case 8:{const Y=_(S);P.items.push(Y.node),C=Y.nextConsumeToken||null;break}}}while(A.currentType!==14&&A.currentType!==1);const z=A.currentType===1?A.lastOffset:S.currentOffset(),$=A.currentType===1?A.lastEndLoc:S.currentPosition();return o(P,z,$),P}function I(S,A,v,y){const P=S.context();let C=y.items.length===0;const D=i(1,A,v);D.cases=[],D.cases.push(y);do{const z=O(S);C||(C=z.items.length===0),D.cases.push(z)}while(P.currentType!==14);return C&&s(S,Ge.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),o(D,S.currentOffset(),S.currentPosition()),D}function g(S){const A=S.context(),{offset:v,startLoc:y}=A,P=O(S);return A.currentType===14?P:I(S,v,y,P)}function N(S){const A=kM(S,JS({},e)),v=A.context(),y=i(0,v.offset,v.startLoc);return t&&y.loc&&(y.loc.source=S),y.body=g(A),e.onCacheKey&&(y.cacheKey=e.onCacheKey(S)),v.currentType!==14&&s(A,Ge.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,S[v.offset]||""),o(y,A.currentOffset(),A.currentPosition()),y}return{parse:N}}function Xn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function FM(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Rm(e,t){for(let n=0;nNm(n)),e}function Nm(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;no;function l(I,g){o.code+=I}function c(I,g=!0){const N=g?s:"";l(r?N+" ".repeat(I):N)}function p(I=!0){const g=++o.indentLevel;I&&c(g)}function E(I=!0){const g=--o.indentLevel;I&&c(g)}function f(){c(o.indentLevel)}return{context:u,push:l,indent:p,deindent:E,newline:f,helper:I=>`_${I}`,needIndent:()=>o.needIndent}}function VM(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),vr(e,t.key),t.modifier?(e.push(", "),vr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function KM(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const s=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(a());const s=t.cases.length;for(let r=0;r{const n=gm(t.mode)?t.mode:"normal",a=gm(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],u=HM(e,{mode:n,filename:a,sourceMap:s,breakLineCode:r,needIndent:i});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),o.length>0&&(u.push(`const { ${eA(o.map(p=>`${p}: _${p}`),", ")} } = ctx`),u.newline()),u.push("return "),vr(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:l,map:c}=u.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function XM(e,t={}){const n=JS({},t),a=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,o=WM(n).parse(e);return a?(r&&xM(o),s&&or(o),{ast:o,code:""}):(zM(o,n),YM(o,n))}/*! + */function AM(e,t,n){return{line:e,column:t,offset:n}}function Mu(e,t,n){return{start:e,end:t}}const OM=/\{([0-9a-zA-Z]+)\}/g;function tA(e,...t){return t.length===1&&gM(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(OM,(n,a)=>t.hasOwnProperty(a)?t[a]:"")}const nA=Object.assign,Im=e=>typeof e=="string",gM=e=>e!==null&&typeof e=="object";function aA(e,t=""){return e.reduce((n,a,s)=>s===0?n+a:n+t+a,"")}const Op={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},IM={[Op.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function RM(e,t,...n){const a=tA(IM[e],...n||[]),s={message:String(a),code:e};return t&&(s.location=t),s}const Ge={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},NM={[Ge.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ge.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ge.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ge.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ge.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ge.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ge.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ge.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ge.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ge.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ge.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ge.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ge.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ge.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ge.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function xr(e,t,n={}){const{domain:a,messages:s,args:r}=n,i=tA((s||NM)[e]||"",...r||[]),o=new SyntaxError(String(i));return o.code=e,t&&(o.location=t),o.domain=a,o}function vM(e){throw e}const va=" ",bM="\r",un=` +`,CM="\u2028",DM="\u2029";function PM(e){const t=e;let n=0,a=1,s=1,r=0;const i=P=>t[P]===bM&&t[P+1]===un,o=P=>t[P]===un,u=P=>t[P]===DM,l=P=>t[P]===CM,c=P=>i(P)||o(P)||u(P)||l(P),p=()=>n,E=()=>a,f=()=>s,_=()=>r,O=P=>i(P)||u(P)||l(P)?un:t[P],R=()=>O(n),g=()=>O(n+r);function N(){return r=0,c(n)&&(a++,s=0),i(n)&&n++,n++,s++,t[n]}function S(){return i(n+r)&&r++,r++,t[n+r]}function A(){n=0,a=1,s=1,r=0}function v(P=0){r=P}function y(){const P=n+r;for(;P!==n;)N();r=0}return{index:p,line:E,column:f,peekOffset:_,charAt:O,currentChar:R,currentPeek:g,next:N,peek:S,reset:A,resetPeek:v,skipToPeek:y}}const Ya=void 0,LM=".",Rm="'",yM="tokenizer";function $M(e,t={}){const n=t.location!==!1,a=PM(e),s=()=>a.index(),r=()=>AM(a.line(),a.column(),a.index()),i=r(),o=s(),u={currentType:14,offset:o,startLoc:i,endLoc:i,lastType:14,lastOffset:o,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},l=()=>u,{onError:c}=t;function p(L,k,x,...ce){const Te=l();if(k.column+=x,k.offset+=x,c){const pe=n?Mu(Te.startLoc,k):null,V=xr(L,pe,{domain:yM,args:ce});c(V)}}function E(L,k,x){L.endLoc=r(),L.currentType=k;const ce={type:k};return n&&(ce.loc=Mu(L.startLoc,L.endLoc)),x!=null&&(ce.value=x),ce}const f=L=>E(L,14);function _(L,k){return L.currentChar()===k?(L.next(),k):(p(Ge.EXPECTED_TOKEN,r(),0,k),"")}function O(L){let k="";for(;L.currentPeek()===va||L.currentPeek()===un;)k+=L.currentPeek(),L.peek();return k}function R(L){const k=O(L);return L.skipToPeek(),k}function g(L){if(L===Ya)return!1;const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function N(L){if(L===Ya)return!1;const k=L.charCodeAt(0);return k>=48&&k<=57}function S(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=g(L.currentPeek());return L.resetPeek(),ce}function A(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=L.currentPeek()==="-"?L.peek():L.currentPeek(),Te=N(ce);return L.resetPeek(),Te}function v(L,k){const{currentType:x}=k;if(x!==2)return!1;O(L);const ce=L.currentPeek()===Rm;return L.resetPeek(),ce}function y(L,k){const{currentType:x}=k;if(x!==8)return!1;O(L);const ce=L.currentPeek()===".";return L.resetPeek(),ce}function P(L,k){const{currentType:x}=k;if(x!==9)return!1;O(L);const ce=g(L.currentPeek());return L.resetPeek(),ce}function C(L,k){const{currentType:x}=k;if(!(x===8||x===12))return!1;O(L);const ce=L.currentPeek()===":";return L.resetPeek(),ce}function D(L,k){const{currentType:x}=k;if(x!==10)return!1;const ce=()=>{const pe=L.currentPeek();return pe==="{"?g(L.peek()):pe==="@"||pe==="%"||pe==="|"||pe===":"||pe==="."||pe===va||!pe?!1:pe===un?(L.peek(),ce()):F(L,!1)},Te=ce();return L.resetPeek(),Te}function z(L){O(L);const k=L.currentPeek()==="|";return L.resetPeek(),k}function $(L){const k=O(L),x=L.currentPeek()==="%"&&L.peek()==="{";return L.resetPeek(),{isModulo:x,hasSpace:k.length>0}}function F(L,k=!0){const x=(Te=!1,pe="",V=!1)=>{const te=L.currentPeek();return te==="{"?pe==="%"?!1:Te:te==="@"||!te?pe==="%"?!0:Te:te==="%"?(L.peek(),x(Te,"%",!0)):te==="|"?pe==="%"||V?!0:!(pe===va||pe===un):te===va?(L.peek(),x(!0,va,V)):te===un?(L.peek(),x(!0,un,V)):!0},ce=x();return k&&L.resetPeek(),ce}function Y(L,k){const x=L.currentChar();return x===Ya?Ya:k(x)?(L.next(),x):null}function se(L){const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function B(L){return Y(L,se)}function Q(L){const k=L.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function q(L){return Y(L,Q)}function oe(L){const k=L.charCodeAt(0);return k>=48&&k<=57}function Z(L){return Y(L,oe)}function Re(L){const k=L.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ye(L){return Y(L,Re)}function Me(L){let k="",x="";for(;k=Z(L);)x+=k;return x}function Vt(L){R(L);const k=L.currentChar();return k!=="%"&&p(Ge.EXPECTED_TOKEN,r(),0,k),L.next(),"%"}function je(L){let k="";for(;;){const x=L.currentChar();if(x==="{"||x==="}"||x==="@"||x==="|"||!x)break;if(x==="%")if(F(L))k+=x,L.next();else break;else if(x===va||x===un)if(F(L))k+=x,L.next();else{if(z(L))break;k+=x,L.next()}else k+=x,L.next()}return k}function ve(L){R(L);let k="",x="";for(;k=q(L);)x+=k;return L.currentChar()===Ya&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x}function Nt(L){R(L);let k="";return L.currentChar()==="-"?(L.next(),k+=`-${Me(L)}`):k+=Me(L),L.currentChar()===Ya&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),k}function ne(L){return L!==Rm&&L!==un}function Se(L){R(L),_(L,"'");let k="",x="";for(;k=Y(L,ne);)k==="\\"?x+=Oe(L):x+=k;const ce=L.currentChar();return ce===un||ce===Ya?(p(Ge.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),ce===un&&(L.next(),_(L,"'")),x):(_(L,"'"),x)}function Oe(L){const k=L.currentChar();switch(k){case"\\":case"'":return L.next(),`\\${k}`;case"u":return Pe(L,k,4);case"U":return Pe(L,k,6);default:return p(Ge.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function Pe(L,k,x){_(L,k);let ce="";for(let Te=0;Te{const ce=L.currentChar();return ce==="{"||ce==="%"||ce==="@"||ce==="|"||ce==="("||ce===")"||!ce||ce===va?x:(x+=ce,L.next(),k(x))};return k("")}function G(L){R(L);const k=_(L,"|");return R(L),k}function le(L,k){let x=null;switch(L.currentChar()){case"{":return k.braceNest>=1&&p(Ge.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),L.next(),x=E(k,2,"{"),R(L),k.braceNest++,x;case"}":return k.braceNest>0&&k.currentType===2&&p(Ge.EMPTY_PLACEHOLDER,r(),0),L.next(),x=E(k,3,"}"),k.braceNest--,k.braceNest>0&&R(L),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),x;case"@":return k.braceNest>0&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x=ae(L,k)||f(k),k.braceNest=0,x;default:{let Te=!0,pe=!0,V=!0;if(z(L))return k.braceNest>0&&p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),x=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,x;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return p(Ge.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,Ee(L,k);if(Te=S(L,k))return x=E(k,5,ve(L)),R(L),x;if(pe=A(L,k))return x=E(k,6,Nt(L)),R(L),x;if(V=v(L,k))return x=E(k,7,Se(L)),R(L),x;if(!Te&&!pe&&!V)return x=E(k,13,ft(L)),p(Ge.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,x.value),R(L),x;break}}return x}function ae(L,k){const{currentType:x}=k;let ce=null;const Te=L.currentChar();switch((x===8||x===9||x===12||x===10)&&(Te===un||Te===va)&&p(Ge.INVALID_LINKED_FORMAT,r(),0),Te){case"@":return L.next(),ce=E(k,8,"@"),k.inLinked=!0,ce;case".":return R(L),L.next(),E(k,9,".");case":":return R(L),L.next(),E(k,10,":");default:return z(L)?(ce=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,ce):y(L,k)||C(L,k)?(R(L),ae(L,k)):P(L,k)?(R(L),E(k,12,U(L))):D(L,k)?(R(L),Te==="{"?le(L,k)||ce:E(k,11,b(L))):(x===8&&p(Ge.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,Ee(L,k))}}function Ee(L,k){let x={type:14};if(k.braceNest>0)return le(L,k)||f(k);if(k.inLinked)return ae(L,k)||f(k);switch(L.currentChar()){case"{":return le(L,k)||f(k);case"}":return p(Ge.UNBALANCED_CLOSING_BRACE,r(),0),L.next(),E(k,3,"}");case"@":return ae(L,k)||f(k);default:{if(z(L))return x=E(k,1,G(L)),k.braceNest=0,k.inLinked=!1,x;const{isModulo:Te,hasSpace:pe}=$(L);if(Te)return pe?E(k,0,je(L)):E(k,4,Vt(L));if(F(L))return E(k,0,je(L));break}}return x}function Ie(){const{currentType:L,offset:k,startLoc:x,endLoc:ce}=u;return u.lastType=L,u.lastOffset=k,u.lastStartLoc=x,u.lastEndLoc=ce,u.offset=s(),u.startLoc=r(),a.currentChar()===Ya?E(u,14):Ee(a,u)}return{nextToken:Ie,currentOffset:s,currentPosition:r,context:l}}const kM="parser",UM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function wM(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||n,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function MM(e={}){const t=e.location!==!1,{onError:n,onWarn:a}=e;function s(S,A,v,y,...P){const C=S.currentPosition();if(C.offset+=y,C.column+=y,n){const D=t?Mu(v,C):null,z=xr(A,D,{domain:kM,args:P});n(z)}}function r(S,A,v,y,...P){const C=S.currentPosition();if(C.offset+=y,C.column+=y,a){const D=t?Mu(v,C):null;a(RM(A,D,P))}}function i(S,A,v){const y={type:S};return t&&(y.start=A,y.end=A,y.loc={start:v,end:v}),y}function o(S,A,v,y){t&&(S.end=A,S.loc&&(S.loc.end=v))}function u(S,A){const v=S.context(),y=i(3,v.offset,v.startLoc);return y.value=A,o(y,S.currentOffset(),S.currentPosition()),y}function l(S,A){const v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(5,y,P);return C.index=parseInt(A,10),S.nextToken(),o(C,S.currentOffset(),S.currentPosition()),C}function c(S,A,v){const y=S.context(),{lastOffset:P,lastStartLoc:C}=y,D=i(4,P,C);return D.key=A,v===!0&&(D.modulo=!0),S.nextToken(),o(D,S.currentOffset(),S.currentPosition()),D}function p(S,A){const v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(9,y,P);return C.value=A.replace(UM,wM),S.nextToken(),o(C,S.currentOffset(),S.currentPosition()),C}function E(S){const A=S.nextToken(),v=S.context(),{lastOffset:y,lastStartLoc:P}=v,C=i(8,y,P);return A.type!==12?(s(S,Ge.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),C.value="",o(C,y,P),{nextConsumeToken:A,node:C}):(A.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Xn(A)),C.value=A.value||"",o(C,S.currentOffset(),S.currentPosition()),{node:C})}function f(S,A){const v=S.context(),y=i(7,v.offset,v.startLoc);return y.value=A,o(y,S.currentOffset(),S.currentPosition()),y}function _(S){const A=S.context(),v=i(6,A.offset,A.startLoc);let y=S.nextToken();if(y.type===9){const P=E(S);v.modifier=P.node,y=P.nextConsumeToken||S.nextToken()}switch(y.type!==10&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),y=S.nextToken(),y.type===2&&(y=S.nextToken()),y.type){case 11:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=f(S,y.value||"");break;case 5:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=c(S,y.value||"");break;case 6:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=l(S,y.value||"");break;case 7:y.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(y)),v.key=p(S,y.value||"");break;default:{s(S,Ge.UNEXPECTED_EMPTY_LINKED_KEY,A.lastStartLoc,0);const P=S.context(),C=i(7,P.offset,P.startLoc);return C.value="",o(C,P.offset,P.startLoc),v.key=C,o(v,P.offset,P.startLoc),{nextConsumeToken:y,node:v}}}return o(v,S.currentOffset(),S.currentPosition()),{node:v}}function O(S){const A=S.context(),v=A.currentType===1?S.currentOffset():A.offset,y=A.currentType===1?A.endLoc:A.startLoc,P=i(2,v,y);P.items=[];let C=null,D=null;do{const F=C||S.nextToken();switch(C=null,F.type){case 0:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(u(S,F.value||""));break;case 6:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(l(S,F.value||""));break;case 4:D=!0;break;case 5:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(c(S,F.value||"",!!D)),D&&(r(S,Op.USE_MODULO_SYNTAX,A.lastStartLoc,0,Xn(F)),D=null);break;case 7:F.value==null&&s(S,Ge.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Xn(F)),P.items.push(p(S,F.value||""));break;case 8:{const Y=_(S);P.items.push(Y.node),C=Y.nextConsumeToken||null;break}}}while(A.currentType!==14&&A.currentType!==1);const z=A.currentType===1?A.lastOffset:S.currentOffset(),$=A.currentType===1?A.lastEndLoc:S.currentPosition();return o(P,z,$),P}function R(S,A,v,y){const P=S.context();let C=y.items.length===0;const D=i(1,A,v);D.cases=[],D.cases.push(y);do{const z=O(S);C||(C=z.items.length===0),D.cases.push(z)}while(P.currentType!==14);return C&&s(S,Ge.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),o(D,S.currentOffset(),S.currentPosition()),D}function g(S){const A=S.context(),{offset:v,startLoc:y}=A,P=O(S);return A.currentType===14?P:R(S,v,y,P)}function N(S){const A=$M(S,nA({},e)),v=A.context(),y=i(0,v.offset,v.startLoc);return t&&y.loc&&(y.loc.source=S),y.body=g(A),e.onCacheKey&&(y.cacheKey=e.onCacheKey(S)),v.currentType!==14&&s(A,Ge.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,S[v.offset]||""),o(y,A.currentOffset(),A.currentPosition()),y}return{parse:N}}function Xn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function WM(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Nm(e,t){for(let n=0;nvm(n)),e}function vm(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function u(O,R){i.code+=O}function l(O,R=!0){const g=R?a:"";u(s?g+" ".repeat(O):g)}function c(O=!0){const R=++i.indentLevel;O&&l(R)}function p(O=!0){const R=--i.indentLevel;O&&l(R)}function E(){l(i.indentLevel)}return{context:o,push:u,indent:c,deindent:p,newline:E,helper:O=>`_${O}`,needIndent:()=>i.needIndent}}function HM(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),vr(e,t.key),t.modifier?(e.push(", "),vr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function VM(e,t){const{helper:n,needIndent:a}=e;e.push(`${n("normalize")}([`),e.indent(a());const s=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(a());const s=t.cases.length;for(let r=0;r{const n=Im(t.mode)?t.mode:"normal",a=Im(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,r=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],o=GM(e,{filename:a,breakLineCode:s,needIndent:r});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(r),i.length>0&&(o.push(`const { ${aA(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),o.newline()),o.push("return "),vr(o,e),o.deindent(r),o.push("}"),delete e.helpers;const{code:u,map:l}=o.context();return{ast:e,code:u,map:l?l.toJSON():void 0}};function YM(e,t={}){const n=nA({},t),a=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,o=MM(n).parse(e);return a?(r&&zM(o),s&&or(o),{ast:o,code:""}):(FM(o,n),qM(o,n))}/*! * core-base v9.14.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function QM(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ua().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ua().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ua().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ts=[];Ts[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ts[1]={w:[1],".":[2],"[":[4],o:[7]};Ts[2]={w:[2],i:[3,0],0:[3,0]};Ts[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ts[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ts[5]={"'":[4,0],o:8,l:[5,0]};Ts[6]={'"':[4,0],o:8,l:[6,0]};const ZM=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function JM(e){return ZM.test(e)}function e7(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function t7(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function n7(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:JM(t)?e7(t):"*"+t}function a7(e){const t=[];let n=-1,a=0,s=0,r,i,o,u,l,c,p;const E=[];E[0]=()=>{i===void 0?i=o:i+=o},E[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},E[2]=()=>{E[0](),s++},E[3]=()=>{if(s>0)s--,a=4,E[0]();else{if(s=0,i===void 0||(i=n7(i),i===!1))return!1;E[1]()}};function f(){const _=e[n+1];if(a===5&&_==="'"||a===6&&_==='"')return n++,o="\\"+_,E[0](),!0}for(;a!==null;)if(n++,r=e[n],!(r==="\\"&&f())){if(u=t7(r),p=Ts[a],l=p[u]||p.l||8,l===8||(a=l[0],l[1]!==void 0&&(c=E[l[1]],c&&(o=r,c()===!1))))return;if(a===7)return t}}const vm=new Map;function s7(e,t){return lt(e)?e[t]:null}function r7(e,t){if(!lt(e))return null;let n=vm.get(t);if(n||(n=a7(t),n&&vm.set(t,n)),!n)return null;const a=n.length;let s=e,r=0;for(;re,o7=e=>"",u7="text",l7=e=>e.length===0?"":SM(e),c7=hM;function bm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function d7(e){const t=Bt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Bt(e.named.count)||Bt(e.named.n))?Bt(e.named.count)?e.named.count:Bt(e.named.n)?e.named.n:t:t}function E7(e,t){t.count||(t.count=e),t.n||(t.n=e)}function p7(e={}){const t=e.locale,n=d7(e),a=lt(e.pluralRules)&&Ne(t)&&bt(e.pluralRules[t])?e.pluralRules[t]:bm,s=lt(e.pluralRules)&&Ne(t)&&bt(e.pluralRules[t])?bm:void 0,r=g=>g[a(n,g.length,s)],i=e.list||[],o=g=>i[g],u=e.named||{};Bt(e.pluralIndex)&&E7(n,u);const l=g=>u[g];function c(g){const N=bt(e.messages)?e.messages(g):lt(e.messages)?e.messages[g]:!1;return N||(e.parent?e.parent.message(g):o7)}const p=g=>e.modifiers?e.modifiers[g]:i7,E=qe(e.processor)&&bt(e.processor.normalize)?e.processor.normalize:l7,f=qe(e.processor)&&bt(e.processor.interpolate)?e.processor.interpolate:c7,_=qe(e.processor)&&Ne(e.processor.type)?e.processor.type:u7,I={list:o,named:l,plural:r,linked:(g,...N)=>{const[S,A]=N;let v="text",y="";N.length===1?lt(S)?(y=S.modifier||y,v=S.type||v):Ne(S)&&(y=S||y):N.length===2&&(Ne(S)&&(y=S||y),Ne(A)&&(v=A||v));const P=c(g)(I),C=v==="vnode"&&Pt(P)&&y?P[0]:P;return y?p(y)(C,v):C},message:c,type:_,interpolate:f,normalize:E,values:Jt({},i,u)};return I}let zi=null;function f7(e){zi=e}function T7(e,t,n){zi&&zi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const m7=_7("function:translate");function _7(e){return t=>zi&&zi.emit(e,t)}const tA=gp.__EXTEND_POINT__,Rs=Ql(tA),h7={NOT_FOUND_KEY:tA,FALLBACK_TO_TRANSLATE:Rs(),CANNOT_FORMAT_NUMBER:Rs(),FALLBACK_TO_NUMBER_FORMAT:Rs(),CANNOT_FORMAT_DATE:Rs(),FALLBACK_TO_DATE_FORMAT:Rs(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Rs(),__EXTEND_POINT__:Rs()},nA=Ge.__EXTEND_POINT__,Ns=Ql(nA),Qn={INVALID_ARGUMENT:nA,INVALID_DATE_ARGUMENT:Ns(),INVALID_ISO_DATE_ARGUMENT:Ns(),NOT_SUPPORT_NON_STRING_MESSAGE:Ns(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ns(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ns(),NOT_SUPPORT_LOCALE_TYPE:Ns(),__EXTEND_POINT__:Ns()};function ma(e){return xr(e,null,void 0)}function Rp(e,t){return t.locale!=null?Cm(t.locale):Cm(e.locale)}let Gc;function Cm(e){if(Ne(e))return e;if(bt(e)){if(e.resolvedOnce&&Gc!=null)return Gc;if(e.constructor.name==="Function"){const t=e();if(_M(t))throw ma(Qn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Gc=t}else throw ma(Qn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ma(Qn.NOT_SUPPORT_LOCALE_TYPE)}function S7(e,t,n){return[...new Set([n,...Pt(t)?t:lt(t)?Object.keys(t):Ne(t)?[t]:[n]])]}function aA(e,t,n){const a=Ne(n)?n:br,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(a);if(!r){r=[];let i=[n];for(;Pt(i);)i=Dm(r,i,t);const o=Pt(t)||!qe(t)?t:t.default?t.default:null;i=Ne(o)?[o]:o,Pt(i)&&Dm(r,i,!1),s.__localeChainCache.set(a,r)}return r}function Dm(e,t,n){let a=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function I7(){return{upper:(e,t)=>t==="text"&&Ne(e)?e.toUpperCase():t==="vnode"&<(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ne(e)?e.toLowerCase():t==="vnode"&<(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ne(e)?Lm(e):t==="vnode"&<(e)&&"__v_isVNode"in e?Lm(e.children):e}}let sA;function ym(e){sA=e}let rA;function R7(e){rA=e}let iA;function N7(e){iA=e}let oA=null;const v7=e=>{oA=e},b7=()=>oA;let uA=null;const $m=e=>{uA=e},C7=()=>uA;let km=0;function D7(e={}){const t=bt(e.onWarn)?e.onWarn:AM,n=Ne(e.version)?e.version:g7,a=Ne(e.locale)||bt(e.locale)?e.locale:br,s=bt(a)?br:a,r=Pt(e.fallbackLocale)||qe(e.fallbackLocale)||Ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=qe(e.messages)?e.messages:{[s]:{}},o=qe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},u=qe(e.numberFormats)?e.numberFormats:{[s]:{}},l=Jt({},e.modifiers||{},I7()),c=e.pluralRules||{},p=bt(e.missing)?e.missing:null,E=rt(e.missingWarn)||cs(e.missingWarn)?e.missingWarn:!0,f=rt(e.fallbackWarn)||cs(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,O=!!e.unresolving,I=bt(e.postTranslation)?e.postTranslation:null,g=qe(e.processor)?e.processor:null,N=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,A=bt(e.messageCompiler)?e.messageCompiler:sA,v=bt(e.messageResolver)?e.messageResolver:rA||s7,y=bt(e.localeFallbacker)?e.localeFallbacker:iA||S7,P=lt(e.fallbackContext)?e.fallbackContext:void 0,C=e,D=lt(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,z=lt(C.__numberFormatters)?C.__numberFormatters:new Map,$=lt(C.__meta)?C.__meta:{};km++;const F={version:n,cid:km,locale:a,fallbackLocale:r,messages:i,modifiers:l,pluralRules:c,missing:p,missingWarn:E,fallbackWarn:f,fallbackFormat:_,unresolving:O,postTranslation:I,processor:g,warnHtmlMessage:N,escapeParameter:S,messageCompiler:A,messageResolver:v,localeFallbacker:y,fallbackContext:P,onWarn:t,__meta:$};return F.datetimeFormats=o,F.numberFormats=u,F.__datetimeFormatters=D,F.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&T7(F,n,$),F}function Np(e,t,n,a,s){const{missing:r,onWarn:i}=e;if(r!==null){const o=r(e,n,t,s);return Ne(o)?o:t}else return t}function ni(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function P7(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function L7(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let a=n+1;ay7(n,e)}function y7(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const a=n,s=a.c||a.cases;return e.plural(s.reduce((r,i)=>[...r,Um(e,i)],[]))}else return Um(e,n)}function Um(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const a=(t.i||t.items).reduce((s,r)=>[...s,Hd(e,r)],[]);return e.normalize(a)}}function Hd(e,t){const n=t.t||t.type;switch(n){case 3:{const a=t;return a.v||a.value}case 9:{const a=t;return a.v||a.value}case 4:{const a=t;return e.interpolate(e.named(a.k||a.key))}case 5:{const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index))}case 6:{const a=t,s=a.m||a.modifier;return e.linked(Hd(e,a.k||a.key),s?Hd(e,s):void 0,e.type)}case 7:{const a=t;return a.v||a.value}case 8:{const a=t;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const lA=e=>e;let lr=Object.create(null);const Cr=e=>lt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function cA(e,t={}){let n=!1;const a=t.onError||bM;return t.onError=s=>{n=!0,a(s)},{...XM(e,t),detectError:n}}const $7=(e,t)=>{if(!Ne(e))throw ma(Qn.NOT_SUPPORT_NON_STRING_MESSAGE);{rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const a=(t.onCacheKey||lA)(e),s=lr[a];if(s)return s;const{code:r,detectError:i}=cA(e,t),o=new Function(`return ${r}`)();return i?o:lr[a]=o}};function k7(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ne(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const a=(t.onCacheKey||lA)(e),s=lr[a];if(s)return s;const{ast:r,detectError:i}=cA(e,{...t,location:!1,jit:!0}),o=Hc(r);return i?o:lr[a]=o}else{const n=e.cacheKey;if(n){const a=lr[n];return a||(lr[n]=Hc(e))}else return Hc(e)}}const wm=()=>"",xn=e=>bt(e);function Mm(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:r,fallbackLocale:i,messages:o}=e,[u,l]=Vd(...t),c=rt(l.missingWarn)?l.missingWarn:e.missingWarn,p=rt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,E=rt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,f=!!l.resolvedMessage,_=Ne(l.default)||rt(l.default)?rt(l.default)?r?u:()=>u:l.default:n?r?u:()=>u:"",O=n||_!=="",I=Rp(e,l);E&&U7(l);let[g,N,S]=f?[u,I,o[I]||{}]:dA(e,u,I,i,p,c),A=g,v=u;if(!f&&!(Ne(A)||Cr(A)||xn(A))&&O&&(A=_,v=A),!f&&(!(Ne(A)||Cr(A)||xn(A))||!Ne(N)))return s?Zl:u;let y=!1;const P=()=>{y=!0},C=xn(A)?A:EA(e,u,N,A,v,P);if(y)return A;const D=W7(e,N,S,l),z=p7(D),$=w7(e,C,z),F=a?a($,u):$;if(__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:Ne(u)?u:xn(A)?A.key:"",locale:N||(xn(A)?A.locale:""),format:Ne(A)?A:xn(A)?A.source:"",message:F};Y.meta=Jt({},e.__meta,b7()||{}),m7(Y)}return F}function U7(e){Pt(e.list)?e.list=e.list.map(t=>Ne(t)?Om(t):t):lt(e.named)&&Object.keys(e.named).forEach(t=>{Ne(e.named[t])&&(e.named[t]=Om(e.named[t]))})}function dA(e,t,n,a,s,r){const{messages:i,onWarn:o,messageResolver:u,localeFallbacker:l}=e,c=l(e,a,n);let p={},E,f=null;const _="translate";for(let O=0;Oa;return l.locale=n,l.key=t,l}const u=i(a,M7(e,n,s,a,o,r));return u.locale=n,u.key=t,u.source=a,u}function w7(e,t,n){return t(n)}function Vd(...e){const[t,n,a]=e,s={};if(!Ne(t)&&!Bt(t)&&!xn(t)&&!Cr(t))throw ma(Qn.INVALID_ARGUMENT);const r=Bt(t)?String(t):(xn(t),t);return Bt(n)?s.plural=n:Ne(n)?s.default=n:qe(n)&&!Xl(n)?s.named=n:Pt(n)&&(s.list=n),Bt(a)?s.plural=a:Ne(a)?s.default=a:qe(a)&&Jt(s,a),[r,s]}function M7(e,t,n,a,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw r&&r(i),i},onCacheKey:i=>pM(t,n,i)}}function W7(e,t,n,a){const{modifiers:s,pluralRules:r,messageResolver:i,fallbackLocale:o,fallbackWarn:u,missingWarn:l,fallbackContext:c}=e,E={locale:t,modifiers:s,pluralRules:r,messages:f=>{let _=i(n,f);if(_==null&&c){const[,,O]=dA(c,f,t,o,u,l);_=i(O,f)}if(Ne(_)||Cr(_)){let O=!1;const g=EA(e,f,t,_,f,()=>{O=!0});return O?wm:g}else return xn(_)?_:wm}};return e.processor&&(E.processor=e.processor),a.list&&(E.list=a.list),a.named&&(E.named=a.named),Bt(a.plural)&&(E.pluralIndex=a.plural),E}function Wm(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:o}=e,[u,l,c,p]=Kd(...t),E=rt(c.missingWarn)?c.missingWarn:e.missingWarn;rt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,_=Rp(e,c),O=i(e,s,_);if(!Ne(u)||u==="")return new Intl.DateTimeFormat(_,p).format(l);let I={},g,N=null;const S="datetime format";for(let y=0;y{pA.includes(u)?i[u]=n[u]:r[u]=n[u]}),Ne(a)?r.locale=a:qe(a)&&(i=a),qe(s)&&(i=s),[r.key||"",o,r,i]}function Fm(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function zm(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:o}=e,[u,l,c,p]=jd(...t),E=rt(c.missingWarn)?c.missingWarn:e.missingWarn;rt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,_=Rp(e,c),O=i(e,s,_);if(!Ne(u)||u==="")return new Intl.NumberFormat(_,p).format(l);let I={},g,N=null;const S="number format";for(let y=0;y{fA.includes(u)?i[u]=n[u]:r[u]=n[u]}),Ne(a)?r.locale=a:qe(a)&&(i=a),qe(s)&&(i=s),[r.key||"",o,r,i]}function xm(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}QM();/*! + */function XM(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(wa().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(wa().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(wa().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Ts=[];Ts[0]={w:[0],i:[3,0],"[":[4],o:[7]};Ts[1]={w:[1],".":[2],"[":[4],o:[7]};Ts[2]={w:[2],i:[3,0],0:[3,0]};Ts[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Ts[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Ts[5]={"'":[4,0],o:8,l:[5,0]};Ts[6]={'"':[4,0],o:8,l:[6,0]};const QM=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ZM(e){return QM.test(e)}function JM(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function e7(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function t7(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ZM(t)?JM(t):"*"+t}function n7(e){const t=[];let n=-1,a=0,s=0,r,i,o,u,l,c,p;const E=[];E[0]=()=>{i===void 0?i=o:i+=o},E[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},E[2]=()=>{E[0](),s++},E[3]=()=>{if(s>0)s--,a=4,E[0]();else{if(s=0,i===void 0||(i=t7(i),i===!1))return!1;E[1]()}};function f(){const _=e[n+1];if(a===5&&_==="'"||a===6&&_==='"')return n++,o="\\"+_,E[0](),!0}for(;a!==null;)if(n++,r=e[n],!(r==="\\"&&f())){if(u=e7(r),p=Ts[a],l=p[u]||p.l||8,l===8||(a=l[0],l[1]!==void 0&&(c=E[l[1]],c&&(o=r,c()===!1))))return;if(a===7)return t}}const bm=new Map;function a7(e,t){return lt(e)?e[t]:null}function s7(e,t){if(!lt(e))return null;let n=bm.get(t);if(n||(n=n7(t),n&&bm.set(t,n)),!n)return null;const a=n.length;let s=e,r=0;for(;re,i7=e=>"",o7="text",u7=e=>e.length===0?"":hM(e),l7=_M;function Cm(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function c7(e){const t=Bt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Bt(e.named.count)||Bt(e.named.n))?Bt(e.named.count)?e.named.count:Bt(e.named.n)?e.named.n:t:t}function d7(e,t){t.count||(t.count=e),t.n||(t.n=e)}function E7(e={}){const t=e.locale,n=c7(e),a=lt(e.pluralRules)&&Ne(t)&&bt(e.pluralRules[t])?e.pluralRules[t]:Cm,s=lt(e.pluralRules)&&Ne(t)&&bt(e.pluralRules[t])?Cm:void 0,r=g=>g[a(n,g.length,s)],i=e.list||[],o=g=>i[g],u=e.named||{};Bt(e.pluralIndex)&&d7(n,u);const l=g=>u[g];function c(g){const N=bt(e.messages)?e.messages(g):lt(e.messages)?e.messages[g]:!1;return N||(e.parent?e.parent.message(g):i7)}const p=g=>e.modifiers?e.modifiers[g]:r7,E=qe(e.processor)&&bt(e.processor.normalize)?e.processor.normalize:u7,f=qe(e.processor)&&bt(e.processor.interpolate)?e.processor.interpolate:l7,_=qe(e.processor)&&Ne(e.processor.type)?e.processor.type:o7,R={list:o,named:l,plural:r,linked:(g,...N)=>{const[S,A]=N;let v="text",y="";N.length===1?lt(S)?(y=S.modifier||y,v=S.type||v):Ne(S)&&(y=S||y):N.length===2&&(Ne(S)&&(y=S||y),Ne(A)&&(v=A||v));const P=c(g)(R),C=v==="vnode"&&Pt(P)&&y?P[0]:P;return y?p(y)(C,v):C},message:c,type:_,interpolate:f,normalize:E,values:Jt({},i,u)};return R}let zi=null;function p7(e){zi=e}function f7(e,t,n){zi&&zi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const T7=m7("function:translate");function m7(e){return t=>zi&&zi.emit(e,t)}const _7=Op.__EXTEND_POINT__,Rs=Zl(_7),h7={FALLBACK_TO_TRANSLATE:Rs(),CANNOT_FORMAT_NUMBER:Rs(),FALLBACK_TO_NUMBER_FORMAT:Rs(),CANNOT_FORMAT_DATE:Rs(),FALLBACK_TO_DATE_FORMAT:Rs(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Rs(),__EXTEND_POINT__:Rs()},sA=Ge.__EXTEND_POINT__,Ns=Zl(sA),Qn={INVALID_ARGUMENT:sA,INVALID_DATE_ARGUMENT:Ns(),INVALID_ISO_DATE_ARGUMENT:Ns(),NOT_SUPPORT_NON_STRING_MESSAGE:Ns(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ns(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ns(),NOT_SUPPORT_LOCALE_TYPE:Ns(),__EXTEND_POINT__:Ns()};function ma(e){return xr(e,null,void 0)}function Ip(e,t){return t.locale!=null?Dm(t.locale):Dm(e.locale)}let Hc;function Dm(e){if(Ne(e))return e;if(bt(e)){if(e.resolvedOnce&&Hc!=null)return Hc;if(e.constructor.name==="Function"){const t=e();if(mM(t))throw ma(Qn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hc=t}else throw ma(Qn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ma(Qn.NOT_SUPPORT_LOCALE_TYPE)}function S7(e,t,n){return[...new Set([n,...Pt(t)?t:lt(t)?Object.keys(t):Ne(t)?[t]:[n]])]}function rA(e,t,n){const a=Ne(n)?n:br,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(a);if(!r){r=[];let i=[n];for(;Pt(i);)i=Pm(r,i,t);const o=Pt(t)||!qe(t)?t:t.default?t.default:null;i=Ne(o)?[o]:o,Pt(i)&&Pm(r,i,!1),s.__localeChainCache.set(a,r)}return r}function Pm(e,t,n){let a=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function I7(){return{upper:(e,t)=>t==="text"&&Ne(e)?e.toUpperCase():t==="vnode"&<(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ne(e)?e.toLowerCase():t==="vnode"&<(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ne(e)?ym(e):t==="vnode"&<(e)&&"__v_isVNode"in e?ym(e.children):e}}let iA;function $m(e){iA=e}let oA;function R7(e){oA=e}let uA;function N7(e){uA=e}let lA=null;const v7=e=>{lA=e},b7=()=>lA;let cA=null;const km=e=>{cA=e},C7=()=>cA;let Um=0;function D7(e={}){const t=bt(e.onWarn)?e.onWarn:SM,n=Ne(e.version)?e.version:g7,a=Ne(e.locale)||bt(e.locale)?e.locale:br,s=bt(a)?br:a,r=Pt(e.fallbackLocale)||qe(e.fallbackLocale)||Ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=qe(e.messages)?e.messages:{[s]:{}},o=qe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},u=qe(e.numberFormats)?e.numberFormats:{[s]:{}},l=Jt({},e.modifiers||{},I7()),c=e.pluralRules||{},p=bt(e.missing)?e.missing:null,E=rt(e.missingWarn)||cs(e.missingWarn)?e.missingWarn:!0,f=rt(e.fallbackWarn)||cs(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,O=!!e.unresolving,R=bt(e.postTranslation)?e.postTranslation:null,g=qe(e.processor)?e.processor:null,N=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,A=bt(e.messageCompiler)?e.messageCompiler:iA,v=bt(e.messageResolver)?e.messageResolver:oA||a7,y=bt(e.localeFallbacker)?e.localeFallbacker:uA||S7,P=lt(e.fallbackContext)?e.fallbackContext:void 0,C=e,D=lt(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,z=lt(C.__numberFormatters)?C.__numberFormatters:new Map,$=lt(C.__meta)?C.__meta:{};Um++;const F={version:n,cid:Um,locale:a,fallbackLocale:r,messages:i,modifiers:l,pluralRules:c,missing:p,missingWarn:E,fallbackWarn:f,fallbackFormat:_,unresolving:O,postTranslation:R,processor:g,warnHtmlMessage:N,escapeParameter:S,messageCompiler:A,messageResolver:v,localeFallbacker:y,fallbackContext:P,onWarn:t,__meta:$};return F.datetimeFormats=o,F.numberFormats=u,F.__datetimeFormatters=D,F.__numberFormatters=z,__INTLIFY_PROD_DEVTOOLS__&&f7(F,n,$),F}function Rp(e,t,n,a,s){const{missing:r,onWarn:i}=e;if(r!==null){const o=r(e,n,t,s);return Ne(o)?o:t}else return t}function ni(e,t,n){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function P7(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function L7(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let a=n+1;ay7(n,e)}function y7(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const a=n,s=a.c||a.cases;return e.plural(s.reduce((r,i)=>[...r,wm(e,i)],[]))}else return wm(e,n)}function wm(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const a=(t.i||t.items).reduce((s,r)=>[...s,Hd(e,r)],[]);return e.normalize(a)}}function Hd(e,t){const n=t.t||t.type;switch(n){case 3:{const a=t;return a.v||a.value}case 9:{const a=t;return a.v||a.value}case 4:{const a=t;return e.interpolate(e.named(a.k||a.key))}case 5:{const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index))}case 6:{const a=t,s=a.m||a.modifier;return e.linked(Hd(e,a.k||a.key),s?Hd(e,s):void 0,e.type)}case 7:{const a=t;return a.v||a.value}case 8:{const a=t;return a.v||a.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const dA=e=>e;let lr=Object.create(null);const Cr=e=>lt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function EA(e,t={}){let n=!1;const a=t.onError||vM;return t.onError=s=>{n=!0,a(s)},{...YM(e,t),detectError:n}}const $7=(e,t)=>{if(!Ne(e))throw ma(Qn.NOT_SUPPORT_NON_STRING_MESSAGE);{rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const a=(t.onCacheKey||dA)(e),s=lr[a];if(s)return s;const{code:r,detectError:i}=EA(e,t),o=new Function(`return ${r}`)();return i?o:lr[a]=o}};function k7(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ne(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const a=(t.onCacheKey||dA)(e),s=lr[a];if(s)return s;const{ast:r,detectError:i}=EA(e,{...t,location:!1,jit:!0}),o=Vc(r);return i?o:lr[a]=o}else{const n=e.cacheKey;if(n){const a=lr[n];return a||(lr[n]=Vc(e))}else return Vc(e)}}const Mm=()=>"",xn=e=>bt(e);function Wm(e,...t){const{fallbackFormat:n,postTranslation:a,unresolving:s,messageCompiler:r,fallbackLocale:i,messages:o}=e,[u,l]=Vd(...t),c=rt(l.missingWarn)?l.missingWarn:e.missingWarn,p=rt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,E=rt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,f=!!l.resolvedMessage,_=Ne(l.default)||rt(l.default)?rt(l.default)?r?u:()=>u:l.default:n?r?u:()=>u:"",O=n||_!=="",R=Ip(e,l);E&&U7(l);let[g,N,S]=f?[u,R,o[R]||{}]:pA(e,u,R,i,p,c),A=g,v=u;if(!f&&!(Ne(A)||Cr(A)||xn(A))&&O&&(A=_,v=A),!f&&(!(Ne(A)||Cr(A)||xn(A))||!Ne(N)))return s?Jl:u;let y=!1;const P=()=>{y=!0},C=xn(A)?A:fA(e,u,N,A,v,P);if(y)return A;const D=W7(e,N,S,l),z=E7(D),$=w7(e,C,z),F=a?a($,u):$;if(__INTLIFY_PROD_DEVTOOLS__){const Y={timestamp:Date.now(),key:Ne(u)?u:xn(A)?A.key:"",locale:N||(xn(A)?A.locale:""),format:Ne(A)?A:xn(A)?A.source:"",message:F};Y.meta=Jt({},e.__meta,b7()||{}),T7(Y)}return F}function U7(e){Pt(e.list)?e.list=e.list.map(t=>Ne(t)?gm(t):t):lt(e.named)&&Object.keys(e.named).forEach(t=>{Ne(e.named[t])&&(e.named[t]=gm(e.named[t]))})}function pA(e,t,n,a,s,r){const{messages:i,onWarn:o,messageResolver:u,localeFallbacker:l}=e,c=l(e,a,n);let p={},E,f=null;const _="translate";for(let O=0;Oa;return l.locale=n,l.key=t,l}const u=i(a,M7(e,n,s,a,o,r));return u.locale=n,u.key=t,u.source=a,u}function w7(e,t,n){return t(n)}function Vd(...e){const[t,n,a]=e,s={};if(!Ne(t)&&!Bt(t)&&!xn(t)&&!Cr(t))throw ma(Qn.INVALID_ARGUMENT);const r=Bt(t)?String(t):(xn(t),t);return Bt(n)?s.plural=n:Ne(n)?s.default=n:qe(n)&&!Ql(n)?s.named=n:Pt(n)&&(s.list=n),Bt(a)?s.plural=a:Ne(a)?s.default=a:qe(a)&&Jt(s,a),[r,s]}function M7(e,t,n,a,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw r&&r(i),i},onCacheKey:i=>EM(t,n,i)}}function W7(e,t,n,a){const{modifiers:s,pluralRules:r,messageResolver:i,fallbackLocale:o,fallbackWarn:u,missingWarn:l,fallbackContext:c}=e,E={locale:t,modifiers:s,pluralRules:r,messages:f=>{let _=i(n,f);if(_==null&&c){const[,,O]=pA(c,f,t,o,u,l);_=i(O,f)}if(Ne(_)||Cr(_)){let O=!1;const g=fA(e,f,t,_,f,()=>{O=!0});return O?Mm:g}else return xn(_)?_:Mm}};return e.processor&&(E.processor=e.processor),a.list&&(E.list=a.list),a.named&&(E.named=a.named),Bt(a.plural)&&(E.pluralIndex=a.plural),E}function Fm(e,...t){const{datetimeFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:o}=e,[u,l,c,p]=Kd(...t),E=rt(c.missingWarn)?c.missingWarn:e.missingWarn;rt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,_=Ip(e,c),O=i(e,s,_);if(!Ne(u)||u==="")return new Intl.DateTimeFormat(_,p).format(l);let R={},g,N=null;const S="datetime format";for(let y=0;y{TA.includes(u)?i[u]=n[u]:r[u]=n[u]}),Ne(a)?r.locale=a:qe(a)&&(i=a),qe(s)&&(i=s),[r.key||"",o,r,i]}function zm(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__datetimeFormatters.has(r)&&a.__datetimeFormatters.delete(r)}}function xm(e,...t){const{numberFormats:n,unresolving:a,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:o}=e,[u,l,c,p]=jd(...t),E=rt(c.missingWarn)?c.missingWarn:e.missingWarn;rt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,_=Ip(e,c),O=i(e,s,_);if(!Ne(u)||u==="")return new Intl.NumberFormat(_,p).format(l);let R={},g,N=null;const S="number format";for(let y=0;y{mA.includes(u)?i[u]=n[u]:r[u]=n[u]}),Ne(a)?r.locale=a:qe(a)&&(i=a),qe(s)&&(i=s),[r.key||"",o,r,i]}function Bm(e,t,n){const a=e;for(const s in n){const r=`${t}__${s}`;a.__numberFormatters.has(r)&&a.__numberFormatters.delete(r)}}XM();/*! * vue-i18n v9.14.1 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const F7="9.14.1";function z7(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ua().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ua().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ua().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ua().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ua().__INTLIFY_PROD_DEVTOOLS__=!1)}const TA=h7.__EXTEND_POINT__,va=Ql(TA);va(),va(),va(),va(),va(),va(),va(),va(),va();const mA=Qn.__EXTEND_POINT__,_n=Ql(mA),Ht={UNEXPECTED_RETURN_TYPE:mA,INVALID_ARGUMENT:_n(),MUST_BE_CALL_SETUP_TOP:_n(),NOT_INSTALLED:_n(),NOT_AVAILABLE_IN_LEGACY_MODE:_n(),REQUIRED_VALUE:_n(),INVALID_VALUE:_n(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:_n(),NOT_INSTALLED_WITH_PROVIDE:_n(),UNEXPECTED_ERROR:_n(),NOT_COMPATIBLE_LEGACY_VUE_I18N:_n(),BRIDGE_SUPPORT_VUE_2_ONLY:_n(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:_n(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:_n(),__EXTEND_POINT__:_n()};function Xt(e,...t){return xr(e,null,void 0)}const qd=fs("__translateVNode"),Yd=fs("__datetimeParts"),Xd=fs("__numberParts"),_A=fs("__setPluralRules"),hA=fs("__injectWithOption"),Qd=fs("__dispose");function xi(e){if(!lt(e))return e;for(const t in e)if(Uu(e,t))if(!t.includes("."))lt(e[t])&&xi(e[t]);else{const n=t.split("."),a=n.length-1;let s=e,r=!1;for(let i=0;i{if("locale"in o&&"resource"in o){const{locale:u,resource:l}=o;u?(i[u]=i[u]||{},du(l,i[u])):du(l,i)}else Ne(o)&&du(JSON.parse(o),i)}),s==null&&r)for(const o in i)Uu(i,o)&&xi(i[o]);return i}function SA(e){return e.type}function AA(e,t,n){let a=lt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=Jl(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const s=Object.keys(a);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,a[r])});{if(lt(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(lt(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Bm(e){return W(io,null,e,0)}const Gm="__INTLIFY_META__",Hm=()=>[],x7=()=>!1;let Vm=0;function Km(e){return(t,n,a,s)=>e(n,a,Ar()||void 0,s)}const B7=()=>{const e=Ar();let t=null;return e&&(t=SA(e)[Gm])?{[Gm]:t}:null};function vp(e={},t){const{__root:n,__injectWithOption:a}=e,s=n===void 0,r=e.flatJson,i=ku?de:ao,o=!!e.translateExistCompatible;let u=rt(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&u?n.locale.value:Ne(e.locale)?e.locale:br),c=i(n&&u?n.fallbackLocale.value:Ne(e.fallbackLocale)||Pt(e.fallbackLocale)||qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),p=i(Jl(l.value,e)),E=i(qe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(qe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let _=n?n.missingWarn:rt(e.missingWarn)||cs(e.missingWarn)?e.missingWarn:!0,O=n?n.fallbackWarn:rt(e.fallbackWarn)||cs(e.fallbackWarn)?e.fallbackWarn:!0,I=n?n.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,N=bt(e.missing)?e.missing:null,S=bt(e.missing)?Km(e.missing):null,A=bt(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const P=n?n.modifiers:qe(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,D;D=(()=>{s&&$m(null);const V={version:F7,locale:l.value,fallbackLocale:c.value,messages:p.value,modifiers:P,pluralRules:C,missing:S===null?void 0:S,missingWarn:_,fallbackWarn:O,fallbackFormat:g,unresolving:!0,postTranslation:A===null?void 0:A,warnHtmlMessage:v,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};V.datetimeFormats=E.value,V.numberFormats=f.value,V.__datetimeFormatters=qe(D)?D.__datetimeFormatters:void 0,V.__numberFormatters=qe(D)?D.__numberFormatters:void 0;const te=D7(V);return s&&$m(te),te})(),ni(D,l.value,c.value);function $(){return[l.value,c.value,p.value,E.value,f.value]}const F=M({get:()=>l.value,set:V=>{l.value=V,D.locale=l.value}}),Y=M({get:()=>c.value,set:V=>{c.value=V,D.fallbackLocale=c.value,ni(D,l.value,V)}}),se=M(()=>p.value),B=M(()=>E.value),Q=M(()=>f.value);function q(){return bt(A)?A:null}function oe(V){A=V,D.postTranslation=V}function Z(){return N}function Re(V){V!==null&&(S=Km(V)),N=V,D.missing=S}const ye=(V,te,Ue,ze,kt,Wt)=>{$();let Kt;try{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=n?C7():void 0),Kt=V(D)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=void 0)}if(Ue!=="translate exists"&&Bt(Kt)&&Kt===Zl||Ue==="translate exists"&&!Kt){const[sn,Ys]=te();return n&&I?ze(n):kt(sn)}else{if(Wt(Kt))return Kt;throw Xt(Ht.UNEXPECTED_RETURN_TYPE)}};function Me(...V){return ye(te=>Reflect.apply(Mm,null,[te,...V]),()=>Vd(...V),"translate",te=>Reflect.apply(te.t,te,[...V]),te=>te,te=>Ne(te))}function Vt(...V){const[te,Ue,ze]=V;if(ze&&!lt(ze))throw Xt(Ht.INVALID_ARGUMENT);return Me(te,Ue,Jt({resolvedMessage:!0},ze||{}))}function je(...V){return ye(te=>Reflect.apply(Wm,null,[te,...V]),()=>Kd(...V),"datetime format",te=>Reflect.apply(te.d,te,[...V]),()=>Pm,te=>Ne(te))}function ve(...V){return ye(te=>Reflect.apply(zm,null,[te,...V]),()=>jd(...V),"number format",te=>Reflect.apply(te.n,te,[...V]),()=>Pm,te=>Ne(te))}function Nt(V){return V.map(te=>Ne(te)||Bt(te)||rt(te)?Bm(String(te)):te)}const Se={normalize:Nt,interpolate:V=>V,type:"vnode"};function Oe(...V){return ye(te=>{let Ue;const ze=te;try{ze.processor=Se,Ue=Reflect.apply(Mm,null,[ze,...V])}finally{ze.processor=null}return Ue},()=>Vd(...V),"translate",te=>te[qd](...V),te=>[Bm(te)],te=>Pt(te))}function Pe(...V){return ye(te=>Reflect.apply(zm,null,[te,...V]),()=>jd(...V),"number format",te=>te[Xd](...V),Hm,te=>Ne(te)||Pt(te))}function it(...V){return ye(te=>Reflect.apply(Wm,null,[te,...V]),()=>Kd(...V),"datetime format",te=>te[Yd](...V),Hm,te=>Ne(te)||Pt(te))}function ft(V){C=V,D.pluralRules=C}function U(V,te){return ye(()=>{if(!V)return!1;const Ue=Ne(te)?te:l.value,ze=le(Ue),kt=D.messageResolver(ze,V);return o?kt!=null:Cr(kt)||xn(kt)||Ne(kt)},()=>[V],"translate exists",Ue=>Reflect.apply(Ue.te,Ue,[V,te]),x7,Ue=>rt(Ue))}function b(V){let te=null;const Ue=aA(D,c.value,l.value);for(let ze=0;ze{u&&(l.value=V,D.locale=V,ni(D,l.value,c.value))}),We(n.fallbackLocale,V=>{u&&(c.value=V,D.fallbackLocale=V,ni(D,l.value,c.value))}));const pe={id:Vm,locale:F,fallbackLocale:Y,get inheritLocale(){return u},set inheritLocale(V){u=V,V&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,ni(D,l.value,c.value))},get availableLocales(){return Object.keys(p.value).sort()},messages:se,get modifiers(){return P},get pluralRules(){return C||{}},get isGlobal(){return s},get missingWarn(){return _},set missingWarn(V){_=V,D.missingWarn=_},get fallbackWarn(){return O},set fallbackWarn(V){O=V,D.fallbackWarn=O},get fallbackRoot(){return I},set fallbackRoot(V){I=V},get fallbackFormat(){return g},set fallbackFormat(V){g=V,D.fallbackFormat=g},get warnHtmlMessage(){return v},set warnHtmlMessage(V){v=V,D.warnHtmlMessage=V},get escapeParameter(){return y},set escapeParameter(V){y=V,D.escapeParameter=V},t:Me,getLocaleMessage:le,setLocaleMessage:ae,mergeLocaleMessage:Ee,getPostTranslationHandler:q,setPostTranslationHandler:oe,getMissingHandler:Z,setMissingHandler:Re,[_A]:ft};return pe.datetimeFormats=B,pe.numberFormats=Q,pe.rt=Vt,pe.te=U,pe.tm=G,pe.d=je,pe.n=ve,pe.getDateTimeFormat=Ie,pe.setDateTimeFormat=L,pe.mergeDateTimeFormat=k,pe.getNumberFormat=x,pe.setNumberFormat=ce,pe.mergeNumberFormat=Te,pe[hA]=a,pe[qd]=Oe,pe[Yd]=it,pe[Xd]=Pe,pe}function G7(e){const t=Ne(e.locale)?e.locale:br,n=Ne(e.fallbackLocale)||Pt(e.fallbackLocale)||qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=bt(e.missing)?e.missing:void 0,s=rt(e.silentTranslationWarn)||cs(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=rt(e.silentFallbackWarn)||cs(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=rt(e.fallbackRoot)?e.fallbackRoot:!0,o=!!e.formatFallbackMessages,u=qe(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,c=bt(e.postTranslation)?e.postTranslation:void 0,p=Ne(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,E=!!e.escapeParameterHtml,f=rt(e.sync)?e.sync:!0;let _=e.messages;if(qe(e.sharedMessages)){const y=e.sharedMessages;_=Object.keys(y).reduce((C,D)=>{const z=C[D]||(C[D]={});return Jt(z,y[D]),C},_||{})}const{__i18n:O,__root:I,__injectWithOption:g}=e,N=e.datetimeFormats,S=e.numberFormats,A=e.flatJson,v=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:_,flatJson:A,datetimeFormats:N,numberFormats:S,missing:a,missingWarn:s,fallbackWarn:r,fallbackRoot:i,fallbackFormat:o,modifiers:u,pluralRules:l,postTranslation:c,warnHtmlMessage:p,escapeParameter:E,messageResolver:e.messageResolver,inheritLocale:f,translateExistCompatible:v,__i18n:O,__root:I,__injectWithOption:g}}function Zd(e={},t){{const n=vp(G7(e)),{__extender:a}=e,s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return rt(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=rt(r)?!r:r},get silentFallbackWarn(){return rt(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=rt(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[i,o,u]=r,l={};let c=null,p=null;if(!Ne(i))throw Xt(Ht.INVALID_ARGUMENT);const E=i;return Ne(o)?l.locale=o:Pt(o)?c=o:qe(o)&&(p=o),Pt(u)?c=u:qe(u)&&(p=u),Reflect.apply(n.t,n,[E,c||p||{},l])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[i,o,u]=r,l={plural:1};let c=null,p=null;if(!Ne(i))throw Xt(Ht.INVALID_ARGUMENT);const E=i;return Ne(o)?l.locale=o:Bt(o)?l.plural=o:Pt(o)?c=o:qe(o)&&(p=o),Ne(u)?l.locale=u:Pt(u)?c=u:qe(u)&&(p=u),Reflect.apply(n.t,n,[E,c||p||{},l])},te(r,i){return n.te(r,i)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,i){n.setLocaleMessage(r,i)},mergeLocaleMessage(r,i){n.mergeLocaleMessage(r,i)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,i){n.setDateTimeFormat(r,i)},mergeDateTimeFormat(r,i){n.mergeDateTimeFormat(r,i)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,i){n.setNumberFormat(r,i)},mergeNumberFormat(r,i){n.mergeNumberFormat(r,i)},getChoiceIndex(r,i){return-1}};return s.__extender=a,s}}const bp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function H7({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((a,s)=>[...a,...s.type===_e?s.children:[s]],[]):t.reduce((n,a)=>{const s=e[a];return s&&(n[a]=s()),n},{})}function OA(e){return _e}const V7=ee({name:"i18n-t",props:Jt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Bt(e)||!isNaN(e)}},bp),setup(e,t){const{slots:n,attrs:a}=t,s=e.i18n||$t({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(p=>p!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ne(e.plural)?+e.plural:e.plural);const o=H7(t,r),u=s[qd](e.keypath,o,i),l=Jt({},a),c=Ne(e.tag)||lt(e.tag)?e.tag:OA();return Nn(c,l,u)}}}),jm=V7;function K7(e){return Pt(e)&&!Ne(e[0])}function gA(e,t,n,a){const{slots:s,attrs:r}=t;return()=>{const i={part:!0};let o={};e.locale&&(i.locale=e.locale),Ne(e.format)?i.key=e.format:lt(e.format)&&(Ne(e.format.key)&&(i.key=e.format.key),o=Object.keys(e.format).reduce((E,f)=>n.includes(f)?Jt({},E,{[f]:e.format[f]}):E,{}));const u=a(e.value,i,o);let l=[i.key];Pt(u)?l=u.map((E,f)=>{const _=s[E.type],O=_?_({[E.type]:E.value,index:f,parts:u}):[E.value];return K7(O)&&(O[0].key=`${E.type}-${f}`),O}):Ne(u)&&(l=[u]);const c=Jt({},r),p=Ne(e.tag)||lt(e.tag)?e.tag:OA();return Nn(p,c,l)}}const j7=ee({name:"i18n-n",props:Jt({value:{type:Number,required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||$t({useScope:e.scope,__useComponent:!0});return gA(e,t,fA,(...a)=>n[Xd](...a))}}),qm=j7,q7=ee({name:"i18n-d",props:Jt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bp),setup(e,t){const n=e.i18n||$t({useScope:e.scope,__useComponent:!0});return gA(e,t,pA,(...a)=>n[Yd](...a))}}),Ym=q7;function Y7(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const a=n.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function X7(e){const t=i=>{const{instance:o,modifiers:u,value:l}=i;if(!o||!o.$)throw Xt(Ht.UNEXPECTED_ERROR);const c=Y7(e,o.$),p=Xm(l);return[Reflect.apply(c.t,c,[...Qm(p)]),c]};return{created:(i,o)=>{const[u,l]=t(o);ku&&e.global===l&&(i.__i18nWatcher=We(l.locale,()=>{o.instance&&o.instance.$forceUpdate()})),i.__composer=l,i.textContent=u},unmounted:i=>{ku&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:o})=>{if(i.__composer){const u=i.__composer,l=Xm(o);i.textContent=Reflect.apply(u.t,u,[...Qm(l)])}},getSSRProps:i=>{const[o]=t(i);return{textContent:o}}}}function Xm(e){if(Ne(e))return{path:e};if(qe(e)){if(!("path"in e))throw Xt(Ht.REQUIRED_VALUE,"path");return e}else throw Xt(Ht.INVALID_VALUE)}function Qm(e){const{path:t,locale:n,args:a,choice:s,plural:r}=e,i={},o=a||{};return Ne(n)&&(i.locale=n),Bt(s)&&(i.plural=s),Bt(r)&&(i.plural=r),[t,o,i]}function Q7(e,t,...n){const a=qe(n[0])?n[0]:{},s=!!a.useI18nComponentName;(rt(a.globalInstall)?a.globalInstall:!0)&&([s?"i18n":jm.name,"I18nT"].forEach(i=>e.component(i,jm)),[qm.name,"I18nN"].forEach(i=>e.component(i,qm)),[Ym.name,"I18nD"].forEach(i=>e.component(i,Ym))),e.directive("t",X7(t))}function Z7(e,t,n){return{beforeCreate(){const a=Ar();if(!a)throw Xt(Ht.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const r=s.i18n;if(s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root)this.$i18n=Zm(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Zd(r);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Zm(e,s);else{this.$i18n=Zd({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&AA(t,s,s),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,i)=>this.$i18n.te(r,i),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(a,this.$i18n)},mounted(){},unmounted(){const a=Ar();if(!a)throw Xt(Ht.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(a),delete this.$i18n}}}function Zm(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[_A](t.pluralizationRules||e.pluralizationRules);const n=Jl(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(a=>e.mergeLocaleMessage(a,n[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}const J7=fs("global-vue-i18n");function e9(e={},t){const n=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,a=rt(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[i,o]=t9(e,n),u=fs("");function l(E){return r.get(E)||null}function c(E,f){r.set(E,f)}function p(E){r.delete(E)}{const E={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(f,..._){if(f.__VUE_I18N_SYMBOL__=u,f.provide(f.__VUE_I18N_SYMBOL__,E),qe(_[0])){const g=_[0];E.__composerExtend=g.__composerExtend,E.__vueI18nExtend=g.__vueI18nExtend}let O=null;!n&&a&&(O=c9(f,E.global)),__VUE_I18N_FULL_INSTALL__&&Q7(f,E,..._),__VUE_I18N_LEGACY_API__&&n&&f.mixin(Z7(o,o.__composer,E));const I=f.unmount;f.unmount=()=>{O&&O(),E.dispose(),I()}},get global(){return o},dispose(){i.stop()},__instances:r,__getInstance:l,__setInstance:c,__deleteInstance:p};return E}}function $t(e={}){const t=Ar();if(t==null)throw Xt(Ht.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Xt(Ht.NOT_INSTALLED);const n=n9(t),a=s9(n),s=SA(t),r=a9(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Xt(Ht.NOT_AVAILABLE_IN_LEGACY_MODE);return u9(t,r,a,e)}if(r==="global")return AA(a,e,s),a;if(r==="parent"){let u=r9(n,t,e.__useComponent);return u==null&&(u=a),u}const i=n;let o=i.__getInstance(t);if(o==null){const u=Jt({},e);"__i18n"in s&&(u.__i18n=s.__i18n),a&&(u.__root=a),o=vp(u),i.__composerExtend&&(o[Qd]=i.__composerExtend(o)),o9(i,t,o),i.__setInstance(t,o)}return o}function t9(e,t,n){const a=J0();{const s=__VUE_I18N_LEGACY_API__&&t?a.run(()=>Zd(e)):a.run(()=>vp(e));if(s==null)throw Xt(Ht.UNEXPECTED_ERROR);return[a,s]}}function n9(e){{const t=Ct(e.isCE?J7:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Xt(e.isCE?Ht.NOT_INSTALLED_WITH_PROVIDE:Ht.UNEXPECTED_ERROR);return t}}function a9(e,t){return Xl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function s9(e){return e.mode==="composition"?e.global:e.global.__composer}function r9(e,t,n=!1){let a=null;const s=t.root;let r=i9(t,n);for(;r!=null;){const i=e;if(e.mode==="composition")a=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const o=i.__getInstance(r);o!=null&&(a=o.__composer,n&&a&&!a[hA]&&(a=null))}if(a!=null||s===r)break;r=r.parent}return a}function i9(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function o9(e,t,n){St(()=>{},t),pt(()=>{const a=n;e.__deleteInstance(t);const s=a[Qd];s&&(s(),delete a[Qd])},t)}function u9(e,t,n,a={}){const s=t==="local",r=ao(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Xt(Ht.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=rt(a.inheritLocale)?a.inheritLocale:!Ne(a.locale),o=de(!s||i?n.locale.value:Ne(a.locale)?a.locale:br),u=de(!s||i?n.fallbackLocale.value:Ne(a.fallbackLocale)||Pt(a.fallbackLocale)||qe(a.fallbackLocale)||a.fallbackLocale===!1?a.fallbackLocale:o.value),l=de(Jl(o.value,a)),c=de(qe(a.datetimeFormats)?a.datetimeFormats:{[o.value]:{}}),p=de(qe(a.numberFormats)?a.numberFormats:{[o.value]:{}}),E=s?n.missingWarn:rt(a.missingWarn)||cs(a.missingWarn)?a.missingWarn:!0,f=s?n.fallbackWarn:rt(a.fallbackWarn)||cs(a.fallbackWarn)?a.fallbackWarn:!0,_=s?n.fallbackRoot:rt(a.fallbackRoot)?a.fallbackRoot:!0,O=!!a.fallbackFormat,I=bt(a.missing)?a.missing:null,g=bt(a.postTranslation)?a.postTranslation:null,N=s?n.warnHtmlMessage:rt(a.warnHtmlMessage)?a.warnHtmlMessage:!0,S=!!a.escapeParameter,A=s?n.modifiers:qe(a.modifiers)?a.modifiers:{},v=a.pluralRules||s&&n.pluralRules;function y(){return[o.value,u.value,l.value,c.value,p.value]}const P=M({get:()=>r.value?r.value.locale.value:o.value,set:b=>{r.value&&(r.value.locale.value=b),o.value=b}}),C=M({get:()=>r.value?r.value.fallbackLocale.value:u.value,set:b=>{r.value&&(r.value.fallbackLocale.value=b),u.value=b}}),D=M(()=>r.value?r.value.messages.value:l.value),z=M(()=>c.value),$=M(()=>p.value);function F(){return r.value?r.value.getPostTranslationHandler():g}function Y(b){r.value&&r.value.setPostTranslationHandler(b)}function se(){return r.value?r.value.getMissingHandler():I}function B(b){r.value&&r.value.setMissingHandler(b)}function Q(b){return y(),b()}function q(...b){return r.value?Q(()=>Reflect.apply(r.value.t,null,[...b])):Q(()=>"")}function oe(...b){return r.value?Reflect.apply(r.value.rt,null,[...b]):""}function Z(...b){return r.value?Q(()=>Reflect.apply(r.value.d,null,[...b])):Q(()=>"")}function Re(...b){return r.value?Q(()=>Reflect.apply(r.value.n,null,[...b])):Q(()=>"")}function ye(b){return r.value?r.value.tm(b):{}}function Me(b,G){return r.value?r.value.te(b,G):!1}function Vt(b){return r.value?r.value.getLocaleMessage(b):{}}function je(b,G){r.value&&(r.value.setLocaleMessage(b,G),l.value[b]=G)}function ve(b,G){r.value&&r.value.mergeLocaleMessage(b,G)}function Nt(b){return r.value?r.value.getDateTimeFormat(b):{}}function ne(b,G){r.value&&(r.value.setDateTimeFormat(b,G),c.value[b]=G)}function Se(b,G){r.value&&r.value.mergeDateTimeFormat(b,G)}function Oe(b){return r.value?r.value.getNumberFormat(b):{}}function Pe(b,G){r.value&&(r.value.setNumberFormat(b,G),p.value[b]=G)}function it(b,G){r.value&&r.value.mergeNumberFormat(b,G)}const ft={get id(){return r.value?r.value.id:-1},locale:P,fallbackLocale:C,messages:D,datetimeFormats:z,numberFormats:$,get inheritLocale(){return r.value?r.value.inheritLocale:i},set inheritLocale(b){r.value&&(r.value.inheritLocale=b)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(l.value)},get modifiers(){return r.value?r.value.modifiers:A},get pluralRules(){return r.value?r.value.pluralRules:v},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:E},set missingWarn(b){r.value&&(r.value.missingWarn=b)},get fallbackWarn(){return r.value?r.value.fallbackWarn:f},set fallbackWarn(b){r.value&&(r.value.missingWarn=b)},get fallbackRoot(){return r.value?r.value.fallbackRoot:_},set fallbackRoot(b){r.value&&(r.value.fallbackRoot=b)},get fallbackFormat(){return r.value?r.value.fallbackFormat:O},set fallbackFormat(b){r.value&&(r.value.fallbackFormat=b)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:N},set warnHtmlMessage(b){r.value&&(r.value.warnHtmlMessage=b)},get escapeParameter(){return r.value?r.value.escapeParameter:S},set escapeParameter(b){r.value&&(r.value.escapeParameter=b)},t:q,getPostTranslationHandler:F,setPostTranslationHandler:Y,getMissingHandler:se,setMissingHandler:B,rt:oe,d:Z,n:Re,tm:ye,te:Me,getLocaleMessage:Vt,setLocaleMessage:je,mergeLocaleMessage:ve,getDateTimeFormat:Nt,setDateTimeFormat:ne,mergeDateTimeFormat:Se,getNumberFormat:Oe,setNumberFormat:Pe,mergeNumberFormat:it};function U(b){b.locale.value=o.value,b.fallbackLocale.value=u.value,Object.keys(l.value).forEach(G=>{b.mergeLocaleMessage(G,l.value[G])}),Object.keys(c.value).forEach(G=>{b.mergeDateTimeFormat(G,c.value[G])}),Object.keys(p.value).forEach(G=>{b.mergeNumberFormat(G,p.value[G])}),b.escapeParameter=S,b.fallbackFormat=O,b.fallbackRoot=_,b.fallbackWarn=f,b.missingWarn=E,b.warnHtmlMessage=N}return Et(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Xt(Ht.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const b=r.value=e.proxy.$i18n.__composer;t==="global"?(o.value=b.locale.value,u.value=b.fallbackLocale.value,l.value=b.messages.value,c.value=b.datetimeFormats.value,p.value=b.numberFormats.value):s&&U(b)}),ft}const l9=["locale","fallbackLocale","availableLocales"],Jm=["t","rt","d","n","tm","te"];function c9(e,t){const n=Object.create(null);return l9.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Xt(Ht.UNEXPECTED_ERROR);const i=Gt(r.value)?{get(){return r.value.value},set(o){r.value.value=o}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Jm.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Xt(Ht.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,Jm.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}z7();__INTLIFY_JIT_COMPILATION__?ym(k7):ym($7);R7(r7);N7(aA);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ua();e.__INTLIFY__=!0,f7(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const d9="Относно тази инстанция",E9="Връзка с администратор",p9="FitTrackee е self-hosted тракер за активности.",f9="под {0} лиценз ",T9="Сорс код",m9="Данни за времето от:",_9={ABOUT_THIS_INSTANCE:d9,CONTACT_ADMIN:E9,FITTRACKEE_DESCRIPTION:p9,FITTRACKEE_LICENSE:f9,SOURCE_CODE:T9,WEATHER_DATA_FROM:m9},h9={DESCRIPTION:"Всякаква допълнителна информация, която може да бъде полезна за вашите потребители. Може да се използва Markdown синтаксис.",TEXT:"Детайлна информация за инстанцията"},S9="Действие",A9="Активиране на акаунт",O9="Активен",g9="Администриране",I9="Администрация",R9="Добавяне/премахване на администраторски права, изтриване на потребителски акаунт.",N9="Приложение",v9={ADMIN_CONTACT:"Администраторски имейл за контакт",MAX_FILES_IN_ZIP_LABEL:"Макс. файлове в zip архив",MAX_USERS_HELP:"0 - без лимит за регистрация.",MAX_USERS_LABEL:"Макс. брой активни потребители",NO_CONTACT_EMAIL:"без имейл за връзка",SINGLE_UPLOAD_MAX_SIZE_LABEL:"Макс. големина на качените файлове (в Mb)",STATS_WORKOUTS_LIMIT_HELP:"0 - без лимит на броя тренировки.",STATS_WORKOUTS_LIMIT_LABEL:"Макс. тренировки за спортни статистики",TITLE:"Конфигурация на приложението",ZIP_UPLOAD_MAX_SIZE_LABEL:"Макс. размер на zip архива (в Mb)"},b9="Обратно към администрациата",C9="Сигурни ли сте, че искате да изтриете {0} акаунтa? Всички данни ще бъдат изтрити, и няма да могат да бъдат възстановени.",D9="Сигурни ли сте, че искате да зададете нова парола за {0}?",P9="Текущ имейл",L9="Изтрий потребител",y9="Изпращането на имейли е забранено.",$9="Позволи/забрани видеве оборудвания.",k9="Позволи/забрани спортове.",U9={TABLE:{ACTIVE:"Активно",HAS_EQUIPMENTS:"оборудването съществува",IMAGE:"Изображение",LABEL:"Етикет"},TITLE:"Администриране на оборудването"},w9="Нов имейл",M9="Не е въведен текст",W9="Паролата бе нулирана.",F9="Добавете своя собствена политика за поверителност или оставете празно, за да използвате тази по подразбиране. Може да се използва Markdown синтаксис.",z9="Регистрациите са забранени.",x9="Регистрациите са позволени.",B9="Нулиране на парола",G9={TABLE:{ACTIVE:"Активен",HAS_WORKOUTS:"съществуват тренировки",IMAGE:"Изображение",LABEL:"Етикет"},TITLE:"Администриране на спортове"},H9="Актуализиране на конфигурацията на приложението.",V9="Актуализиране на имейл",K9="потребител | потребители",j9={SELECTS:{ORDER_BY:{ADMIN:"административен статус",CREATED_AT:"регистриран на",IS_ACTIVE:"статус на акаунт",USERNAME:"потребителско име",WORKOUTS_COUNT:"брой тренировки"}},TABLE:{ADD_ADMIN_RIGHTS:"Добави административни права",REMOVE_ADMIN_RIGHTS:"Отстрани административни права"},TITLE:"Администриране - Потребители"},q9="Имейл адресът бе променен.",Y9={ABOUT:h9,ACTION:S9,ACTIVATE_USER_ACCOUNT:A9,ACTIVE:O9,ADMIN:g9,ADMINISTRATION:I9,ADMIN_RIGHTS_DELETE_USER_ACCOUNT:R9,APPLICATION:N9,APP_CONFIG:v9,BACK_TO_ADMIN:b9,CONFIRM_USER_ACCOUNT_DELETION:C9,CONFIRM_USER_PASSWORD_RESET:D9,CURRENT_EMAIL:P9,DELETE_USER:L9,EMAIL_SENDING_DISABLED:y9,ENABLE_DISABLE_EQUIPMENT_TYPES:$9,ENABLE_DISABLE_SPORTS:k9,EQUIPMENT_TYPES:U9,NEW_EMAIL:w9,NO_TEXT_ENTERED:M9,PASSWORD_RESET_SUCCESSFUL:W9,PRIVACY_POLICY_DESCRIPTION:F9,REGISTRATION_DISABLED:z9,REGISTRATION_ENABLED:x9,RESET_USER_PASSWORD:B9,SPORTS:G9,UPDATE_APPLICATION_DESCRIPTION:H9,UPDATE_USER_EMAIL:V9,USER:K9,USERS:j9,USER_EMAIL_UPDATE_SUCCESSFUL:q9},X9={"